
/* ===== PHILADELPHIA PREP CENTER - COMPLETE FIXED STYLES ===== */

/* ===== CSS RESET & BASE ===== */
:root {
    /* Philadelphia Brand Colors - Liberty Theme */
    --primary: #0a2540; /* Deep Navy - Professional */
    --primary-light: #2d5a91;
    --secondary: #ba0c2f; /* Liberty Red - Philadelphia */
    --accent: #ffd100; /* Philadelphia Gold */
    --success: #008148; /* Green */
    --warning: #ff6b35;
    --dark: #1a1a2e;
    --medium: #6c757d;
    --light: #f8f9fa;
    --white: #FFFFFF;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0a2540 0%, #2d5a91 100%);
    --gradient-secondary: linear-gradient(135deg, #ba0c2f 0%, #ff6b35 100%);
    --gradient-accent: linear-gradient(135deg, #ffd100 0%, #ffe55c 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #0a2540 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 12px rgba(10, 37, 64, 0.08);
    --shadow-md: 0 4px 24px rgba(10, 37, 64, 0.12);
    --shadow-lg: 0 8px 40px rgba(10, 37, 64, 0.16);
    --shadow-xl: 0 16px 60px rgba(10, 37, 64, 0.2);
    
    /* Borders */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    
    /* Transitions */
    --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.75rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2.75rem;
    color: var(--primary);
}

h3 {
    font-size: 2rem;
    color: var(--dark);
}

h4 {
    font-size: 1.5rem;
    color: var(--dark);
}

p {
    margin-bottom: 1.5rem;
    color: var(--medium);
    font-size: 1.125rem;
    line-height: 1.7;
}

.lead {
    font-size: 1.25rem;
    color: var(--primary);
    font-weight: 500;
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary);
}

.section-label {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gradient-secondary);
    color: white;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* ===== LAYOUT ===== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 120px 0;
}

.section-sm {
    padding: 80px 0;
}

.section-lg {
    padding: 160px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.page-header {
    background: var(--gradient-primary);
    color: white;
    padding: 160px 0 100px;
    text-align: center;
    margin-top: 80px;
}

.page-header h1 {
    background: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 36px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-large {
    padding: 20px 48px;
    font-size: 1.25rem;
}

.btn-small {
    padding: 12px 24px;
    font-size: 1rem;
}

/* ===== HEADER & NAVIGATION - FIXED ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--transition-normal);
}

.header.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-md);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    position: relative;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--primary);
    font-weight: 800;
    font-size: 1.5rem;
    z-index: 1001;
}

.logo i {
    font-size: 2rem;
    color: var(--secondary);
}

.logo-main {
    font-size: 1.8rem;
    font-weight: 800;
}

.logo-sub {
    font-size: 1.2rem;
    color: var(--secondary);
    font-weight: 600;
}

/* Navigation Container */
.nav-desktop {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 0;
    color: var(--dark);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: color var(--transition-fast);
    position: relative;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary);
}

/* ===== DROPDOWN MENUS - FIXED POSITIONING ===== */
/* Regular Dropdown */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all var(--transition-normal);
    z-index: 100;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    margin-top: 10px;
}

/* Dropdown arrow */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 30px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
}

.dropdown-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 25px;
    color: var(--dark);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.dropdown-menu a:hover {
    background: rgba(186, 12, 47, 0.05);
    color: var(--secondary);
    padding-left: 30px;
}

/* Mega Menu - FIXED CENTERED POSITIONING */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    width: calc(100vw - 40px);
    max-width: 1200px;
    padding: 30px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 100;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: var(--shadow-xl);
    background: white;
    border-radius: var(--radius-xl);
    margin-top: 10px;
}

/* Mega menu arrow */
.mega-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid white;
}

.mega-menu .container {
    padding: 0;
    max-width: 100%;
}

/* Mega menu grid */
.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.mega-menu-col {
    padding: 0 15px;
}

.mega-menu-col h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--primary);
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(186, 12, 47, 0.1);
}

.mega-menu-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-col li {
    margin-bottom: 8px;
}

.mega-menu-col a {
    display: block;
    padding: 8px 0;
    color: var(--dark);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    border-radius: var(--radius-sm);
}

.mega-menu-col a:hover {
    color: var(--secondary);
    padding-left: 8px;
    background: rgba(186, 12, 47, 0.05);
}

/* CTA column in mega menu */
.mega-menu-col.cta-col {
    padding: 20px;
    background: var(--gradient-secondary);
    border-radius: var(--radius-lg);
    color: white;
}

.mega-menu-cta h4 {
    color: white;
    border-bottom: none;
    margin-bottom: 10px;
}

.mega-menu-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* Hover effects for dropdowns */
.dropdown:hover .dropdown-menu,
.dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown:hover .mega-menu {
    transform: translateX(-50%) translateY(0);
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: color var(--transition-fast);
    white-space: nowrap;
}

.phone-link:hover {
    color: var(--secondary);
}

/* ===== MOBILE NAVIGATION ===== */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-toggle span {
    width: 30px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation Overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu */
.nav-mobile {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100%;
    background: white;
    z-index: 999;
    transition: right var(--transition-normal);
    padding: 100px 30px 30px;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}

.nav-mobile.active {
    right: 0;
}

.nav-mobile .nav-menu {
    flex-direction: column;
    gap: 0;
}

.nav-mobile .nav-item {
    width: 100%;
}

.nav-mobile .nav-link {
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    width: 100%;
    font-size: 1.1rem;
}

/* Mobile dropdown adjustments */
.nav-mobile .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding-left: 20px;
    margin-top: 5px;
    margin-bottom: 15px;
}

.nav-mobile .dropdown-menu a {
    padding: 8px 0;
    color: var(--medium);
}

.nav-mobile .dropdown-menu a:hover {
    padding-left: 5px;
    background: transparent;
}

/* Hide mega menu on mobile */
.nav-mobile .mega-menu {
    display: none;
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 180px 0 120px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(10, 37, 64, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(186, 12, 47, 0.05) 0%, transparent 50%);
    opacity: 0.5;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.9);
    padding: 12px 24px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: var(--shadow-sm);
}

.hero-badge i {
    color: var(--accent);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 30px;
}

.hero-line-1, .hero-line-2 {
    display: block;
}

.hero-line-2 {
    color: var(--primary);
    -webkit-text-fill-color: var(--primary);
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 40px;
    color: var(--medium);
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.stat {
    text-align: center;
    padding: 25px 20px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.stat:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-label {
    color: var(--medium);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Dashboard Preview */
.dashboard-preview {
    background: white;
    border-radius: var(--radius-xl);
    padding: 40px;
    margin-top: 60px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.dashboard-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-secondary);
}

.dashboard-header {
    margin-bottom: 30px;
}

.dashboard-header h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
}

.dashboard-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.dashboard-metric {
    background: var(--light);
    padding: 25px 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: transform var(--transition-fast);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.dashboard-metric:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: var(--shadow-md);
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 5px;
    line-height: 1;
}

.metric-label {
    font-size: 0.9rem;
    color: var(--medium);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== TRUST BAR ===== */
.trust-bar {
    background: var(--light);
    padding: 60px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.trust-label {
    text-align: center;
    color: var(--medium);
    margin-bottom: 40px;
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.logo-item {
    padding: 18px 30px;
    background: white;
    border-radius: var(--radius-md);
    font-weight: 700;
    color: var(--dark);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
    border: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 1.1rem;
}

.logo-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    color: var(--secondary);
}

/* ===== SERVICES ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: transform var(--transition-normal);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-icon i {
    font-size: 2.5rem;
    color: var(--primary);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-card p {
    flex-grow: 1;
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    transition: gap var(--transition-fast);
}

.service-link:hover {
    gap: 12px;
    color: var(--primary);
}

/* ===== GLOBAL NETWORK ===== */
.global-network {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.network-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.network-features {
    margin-top: 40px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast);
}

.feature:hover {
    transform: translateX(10px);
}

.feature i {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-content h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.feature-content p {
    font-size: 1rem;
    margin-bottom: 0;
    color: var(--medium);
}

/* Map Visualization */
.map-container {
    position: relative;
    height: 400px;
    background: 
        radial-gradient(circle at 30% 40%, rgba(10, 37, 64, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(186, 12, 47, 0.05) 0%, transparent 50%);
    border-radius: var(--radius-xl);
    border: 2px solid var(--light);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-pin {
    position: absolute;
    cursor: pointer;
    transition: transform var(--transition-fast);
    animation: pulse 2s infinite;
}

.map-pin:hover {
    transform: scale(1.2);
    animation: none;
}

.map-pin .pin {
    width: 60px;
    height: 60px;
    background: var(--gradient-secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(186, 12, 47, 0.3);
}

.map-pin .pin-label {
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transition: opacity var(--transition-fast);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.map-pin:hover .pin-label {
    opacity: 1;
}

.map-text {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.map-text h4 {
    margin-bottom: 5px;
    color: var(--primary);
}

.map-text p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* ===== TECHNOLOGY/PROCESS ===== */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.tech-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform var(--transition-normal);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.tech-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.tech-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    transition: transform var(--transition-normal);
}

.tech-card:hover .tech-icon {
    transform: scale(1.1);
}

.tech-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.tech-card p {
    font-size: 1rem;
    margin-bottom: 0;
}

/* ===== INDUSTRIES ===== */
.industries {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.industry-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.industry-tab {
    padding: 16px 32px;
    background: white;
    border: 2px solid var(--light);
    border-radius: var(--radius-lg);
    font-weight: 600;
    color: var(--medium);
    cursor: pointer;
    transition: all var(--transition-fast);
    flex: 1;
    min-width: 150px;
    text-align: center;
    font-size: 1rem;
}

.industry-tab.active,
.industry-tab:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.industry-content {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: white;
    padding: 60px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.industry-content.active {
    display: grid;
    animation: fadeInUp 0.5s ease;
}

.industry-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.industry-content p {
    font-size: 1.125rem;
    margin-bottom: 25px;
}

.industry-content ul {
    list-style: none;
    margin: 20px 0 30px;
}

.industry-content li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
}

.industry-content i {
    color: var(--success);
    font-size: 1.2rem;
}

.industry-image {
    height: 350px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-direction: column;
    gap: 20px;
}

.industry-visual i {
    font-size: 5rem;
    opacity: 0.9;
}

.industry-visual h4 {
    font-size: 1.5rem;
    color: white;
    text-align: center;
    font-weight: 600;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slide {
    background: white;
    border-radius: var(--radius-xl);
    padding: 60px;
    box-shadow: var(--shadow-lg);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-slide::before {
    content: '"';
    position: absolute;
    top: 30px;
    left: 30px;
    font-size: 6rem;
    color: var(--secondary);
    opacity: 0.1;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--dark);
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.author-info h4 {
    margin-bottom: 5px;
    color: var(--primary);
    font-size: 1.3rem;
}

.author-info p {
    color: var(--medium);
    margin-bottom: 0;
    font-size: 1rem;
}

.author-logo {
    font-weight: 700;
    color: var(--secondary);
    font-size: 1.3rem;
    padding: 10px 20px;
    background: rgba(186, 12, 47, 0.1);
    border-radius: var(--radius-md);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2,
.cta-content p {
    color: white;
}

.cta-content h2 {
    font-size: 3rem;
    background: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    font-size: 1.4rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 40px 0;
    flex-wrap: wrap;
}

.cta-actions .btn-outline {
    color: white;
    border-color: white;
}

.cta-actions .btn-outline:hover {
    background: white;
    color: var(--primary);
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 500;
}

.cta-feature i {
    color: var(--accent);
    font-size: 1.8rem;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--gradient-dark);
    color: white;
    padding: 100px 0 40px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.footer-logo i {
    font-size: 2rem;
    color: var(--secondary);
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all var(--transition-fast);
    font-size: 1.2rem;
}

.footer-social a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(186, 12, 47, 0.3);
}

.footer-col h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all var(--transition-fast);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-contact i {
    color: var(--secondary);
    margin-top: 5px;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a:hover {
    color: white;
}

.footer-contact span {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color var(--transition-fast);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: white;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 70px;
    height: 70px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: all var(--transition-normal);
    animation: pulse-whatsapp 2s infinite;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-xl);
    animation: none;
}

.whatsapp-tooltip {
    position: absolute;
    right: 80px;
    background: var(--dark);
    color: white;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(20px);
    transition: all var(--transition-normal);
    pointer-events: none;
    font-weight: 500;
    box-shadow: var(--shadow-md);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.animate-fadeInUp {
    animation: fadeInUp 1s ease both;
}

.animate-fadeInLeft {
    animation: fadeInLeft 1s ease both;
}

.animate-fadeInRight {
    animation: fadeInRight 1s ease both;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== UTILITY CLASSES ===== */
.hidden { display: none !important; }
.visible { display: block !important; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }

/* ===== RESPONSIVE DESIGN - FIXED DROPDOWNS ===== */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 40px;
    }
    
    .mega-menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.25rem;
    }
    
    .network-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .industry-content {
        grid-template-columns: 1fr;
        padding: 40px;
    }
    
    .mega-menu {
        width: calc(100vw - 60px);
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-slide {
        padding: 40px 30px;
    }
    
    /* Mobile navigation show/hide */
    .nav-desktop {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    /* Hide mega menu on mobile */
    .mega-menu {
        display: none !important;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .industry-tabs {
        flex-direction: column;
    }
    
    .industry-tab {
        width: 100%;
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Mobile dropdowns */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0;
        margin: 10px 0 0 20px;
        background: transparent;
    }
}

@media (max-width: 640px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .dashboard-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .dashboard-metric {
        padding: 20px;
    }
    
    .metric-value {
        font-size: 2rem;
    }
    
    .trust-logos {
        gap: 15px;
    }
    
    .logo-item {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .feature {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .feature i {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
    
    .industry-content {
        padding: 30px;
    }
    
    .industry-image {
        height: 250px;
    }
    
    .industry-visual i {
        font-size: 3rem;
    }
    
    .industry-visual h4 {
        font-size: 1.2rem;
    }
}

@media print {
    .header,
    .whatsapp-float,
    .hero-actions,
    .footer-social,
    .mobile-toggle {
        display: none !important;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    a {
        text-decoration: underline;
        color: #000;
    }
    
    .btn {
        border: 1px solid #000;
        background: none !important;
        color: #000 !important;
    }
}




/* FIX: Center Services mega menu */
.nav-item.dropdown {
    position: static; /* important for centering */
}

.dropdown-menu.mega-menu {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 100%;
    width: 100%;
    max-width: 1200px;
    z-index: 999;
}



.header,
.navbar {
    overflow: visible;
}

/* =========================
   FAQ SECTION
========================= */

.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.faq-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px 25px;
    margin-bottom: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: 0.3s ease;
}

.faq-card:hover {
    box-shadow: 0 6px 25px rgba(0,0,0,0.08);
}

.faq-question {
    font-weight: 600;
    font-size: 17px;
}

.faq-answer {
    margin-top: 12px;
    display: none;
    color: #555;
    line-height: 1.6;
}

.faq-card.active .faq-answer {
    display: block;
}
