/* Zeron Accounting - About Page Professional Design */

/* ===== SHARED STYLES (Import from home page) ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Professional Blue Color Palette */
    --primary-blue: #1e40af;
    --primary-blue-dark: #1e3a8a;
    --primary-blue-light: #3b82f6;
    --secondary-blue: #1d4ed8;
    --accent-blue: #2563eb;
    --light-blue: #dbeafe;
    --ultra-light-blue: #eff6ff;
    
    /* Supporting Colors */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --container-max-width: 1280px;
    --section-padding: 120px 0;
    --card-padding: 32px;
    
    /* Animations */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== DESKTOP NAVIGATION ===== */
.navbar-desktop {
    display: block;
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    max-width: none;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.navbar-desktop.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.navbar-desktop.hidden {
    transform: translateX(-50%) translateY(-120px);
    opacity: 0;
}

/* ===== MOBILE NAVIGATION ===== */
.navbar-mobile {
    display: none;
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: none;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.navbar-mobile.hidden {
    transform: translateX(-50%) translateY(-120px);
    opacity: 0;
}

.nav-container {
    width: 100%;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #000000;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    box-shadow: var(--shadow-md);
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #000000;
    letter-spacing: -0.5px;
}

.logo-subtitle {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-500);
    margin-left: -8px;
}

.logo-image {
    height: 45px;
    width: auto;
    transition: all 0.3s ease;
    filter: brightness(1.1) contrast(1.1);
}

.nav-logo:hover .logo-image {
    transform: scale(1.05);
    filter: brightness(1.2) contrast(1.2);
}

/* Desktop Menu Styles */
.nav-menu-desktop {
    display: flex;
    list-style: none;
    gap: 4px;
    margin: 0;
    padding: 0;
}

.nav-link-desktop {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 15px;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    background: transparent;
    border: 1px solid transparent;
}

/* Mobile Menu Styles */
.nav-menu-mobile {
    display: flex;
    list-style: none;
    gap: 4px;
    margin: 0;
    padding: 0;
}

.nav-link-mobile {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 14px 24px;
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 15px;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    background: transparent;
    border: 1px solid transparent;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.05) 0%, rgba(37, 99, 235, 0.08) 100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.8);
    border-radius: 16px;
}

.nav-link::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(30, 64, 175, 0.1) 0%, transparent 70%);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.nav-link:hover {
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.15);
    border-color: rgba(30, 64, 175, 0.2);
}

.nav-link:hover::before {
    opacity: 1;
    transform: scale(1);
}

.nav-link:hover::after {
    width: 120px;
    height: 120px;
}

.nav-link:active {
    transform: translateY(-1px);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link.active {
    color: var(--primary-blue);
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.08) 0%, rgba(37, 99, 235, 0.12) 100%);
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(30, 64, 175, 0.12);
    border-color: rgba(30, 64, 175, 0.15);
    transform: translateY(-1px);
}

.nav-link.active::before {
    opacity: 1;
    transform: scale(1);
}

.nav-text {
    position: relative;
    z-index: 2;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-indicator {
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-blue));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    opacity: 0;
}

.nav-link:hover .nav-indicator {
    transform: translateX(-50%) scaleX(1);
    opacity: 0.6;
}

.nav-link.active .nav-indicator {
    transform: translateX(-50%) scaleX(1);
    opacity: 1;
    width: 30px;
}

/* ===== DROPDOWN MENU STYLES ===== */
.nav-item {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px) scale(0.95);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 16px 8px;
    min-width: 220px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 10px 20px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.8);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1001;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid rgba(255, 255, 255, 0.98);
    filter: drop-shadow(0 -2px 4px rgba(0, 0, 0, 0.1));
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.08), transparent);
    transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-item:hover {
    color: var(--primary-blue);
    background: rgba(59, 130, 246, 0.05);
    transform: translateX(8px);
}

.dropdown-item:hover::before {
    left: 100%;
}

.dropdown-item i {
    width: 16px;
    text-align: center;
    color: var(--primary-blue);
    font-size: 14px;
    transition: all 0.3s ease;
}

.dropdown-item:hover i {
    transform: scale(1.2) rotate(5deg);
    color: var(--accent-blue);
}

.dropdown-item span {
    flex: 1;
    transition: all 0.3s ease;
}

.dropdown-item:hover span {
    transform: translateX(4px);
}

/* Main navigation item styling */
.dropdown-item.main-nav-item {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.1) 0%, rgba(37, 99, 235, 0.15) 100%);
    border-bottom: 1px solid rgba(30, 64, 175, 0.2);
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.dropdown-item.main-nav-item:hover {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.15) 0%, rgba(37, 99, 235, 0.2) 100%);
    color: var(--primary-blue-dark);
}

/* Hover effects for dropdown - only on desktop */
@media (min-width: 1025px) {
    .nav-item:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(8px) scale(1);
    }
    
    /* Ensure dropdown items animate on desktop hover */
    .nav-item:hover .dropdown-item {
        animation: dropdownItemSlideIn 0.4s ease forwards;
    }
    
    .nav-item:hover .dropdown-item:nth-child(1) { animation-delay: 0.1s; }
    .nav-item:hover .dropdown-item:nth-child(2) { animation-delay: 0.15s; }
    .nav-item:hover .dropdown-item:nth-child(3) { animation-delay: 0.2s; }
    .nav-item:hover .dropdown-item:nth-child(4) { animation-delay: 0.25s; }
    .nav-item:hover .dropdown-item:nth-child(5) { animation-delay: 0.3s; }
}

/* Animation keyframes for dropdown items */
@keyframes dropdownItemSlideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Desktop-only dropdown item animations */
@media (min-width: 1025px) {
    .dropdown-item {
        opacity: 0;
        transform: translateX(-40px);
    }
    
    /* Hide main navigation items in desktop dropdowns */
    .dropdown-item.main-nav-item {
        display: none !important;
    }
    
    /* Ensure desktop dropdowns reset mobile styles */
    .dropdown-menu {
        position: absolute !important;
        top: 100% !important;
        left: 50% !important;
        transform: translateX(-50%) translateY(-10px) scale(0.95) !important;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        border-radius: 20px !important;
        padding: 16px 8px !important;
        min-width: 220px !important;
        max-height: none !important;
        overflow: visible !important;
        margin-top: 0 !important;
        box-shadow: 
            0 20px 40px rgba(0, 0, 0, 0.15),
            0 10px 20px rgba(0, 0, 0, 0.1),
            0 0 0 1px rgba(255, 255, 255, 0.8) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
        z-index: 1001 !important;
        border: 1px solid rgba(59, 130, 246, 0.1) !important;
    }
    
    .dropdown-item {
        padding: 12px 20px !important;
        font-size: 14px !important;
        min-height: auto !important;
        margin-bottom: 0 !important;
        border-radius: 12px !important;
    }
}

.nav-cta {
    margin-left: 24px;
}

.btn-nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary-blue);
    color: var(--white);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-md);
}

.btn-nav-cta:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 8px;
}

.bar {
    width: 24px;
    height: 3px;
    background: var(--gray-600);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;

}

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

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: none;
}

.hero-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--light-blue);
    color: var(--primary-blue);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--gray-900);
    margin-bottom: 24px;
}

.title-line {
    display: block;
}

.highlight {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.hero-description {
    font-size: 20px;
    color: var(--gray-600);
    margin-bottom: 48px;
    line-height: 1.7;
}

.hero-metrics {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 48px;
}

.metric-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.metric-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
}

.metric-content {
    text-align: left;
}

.metric-number {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-blue);
    display: block;
}

.metric-label {
    font-size: 14px;
    color: var(--gray-500);
    font-weight: 500;
}

/* ===== MISSION & VISION ===== */
.mission-vision {
    padding: var(--section-padding);
    background: var(--white);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.mission-card, .vision-card {
    background: var(--white);
    padding: var(--card-padding);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.mission-card::before, .vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-blue));
}

.mission-card:hover, .vision-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
}

.card-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.card-content p {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ===== COMPANY STORY ===== */
.company-story {
    padding: var(--section-padding);
    background: var(--gray-50);
}

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

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--light-blue);
    color: var(--primary-blue);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 32px;
    line-height: 1.2;
}

.story-paragraphs p {
    font-size: 16px;
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.7;
}

.story-highlights {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    font-weight: 500;
    color: var(--gray-700);
}

.highlight-item i {
    color: var(--primary-blue);
    font-size: 16px;
}

/* ===== TIMELINE ===== */
.timeline-container {
    position: relative;
    padding: 40px 0;
}

.timeline-line {
    display: none;
}

.timeline-item {
    position: relative;
    margin-bottom: 48px;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: right;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: var(--primary-blue);
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
    margin: 0 40px;
}

.timeline-content {
    background: var(--white);
    padding: 20px 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    max-width: 250px;
}

.timeline-content::before {
    content: attr(data-year);
    position: absolute;
    top: -12px;
    left: 16px;
    background: var(--primary-blue);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: 16px;
    left: auto;
}

.timeline-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.5;
}

/* ===== VALUES SECTION ===== */
.values-section {
    padding: var(--section-padding);
    background: var(--white);
}

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

.section-description {
    font-size: 18px;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.value-card {
    background: var(--white);
    padding: var(--card-padding);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition-smooth);
    text-align: center;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-blue);
}

.value-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    margin: 0 auto 24px;
    box-shadow: var(--shadow-md);
}

.value-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.value-card p {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.6;
}









/* ===== TEAM SECTION ===== */
.team-section {
    padding: var(--section-padding);
    background: #73B9EE; /* Match the gradient transition end color */
    position: relative;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(30, 64, 175, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(37, 99, 235, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* ===== DESKTOP TEAM SECTION ===== */
.team-desktop {
    display: block;
}

.team-mobile {
    display: none;
}

@media (max-width: 1025px) {
    .team-mobile {
        display: block !important;
    }
}

/* Gradient Transition Section */
.gradient-transition {
    position: relative;
    height: 370px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: linear-gradient(180deg, 
        #FFFFFF 0%,
        #FFFFFF 8%,
        #F7FBFE 12%,
        #F0F7FC 16%,
        #E8F3FB 22%,
        #E0EFFA 28%,
        #D8EBF9 34%,
        #D1E7F8 40%,
        #C8E3F6 46%,
        #BAD9F4 52%,
        #ACCFF2 58%,
        #A4CCF1 64%,
        #96C9F1 72%,
        #8CC3F0 78%,
        #82BFEF 84%,
        #78BCEF 90%,
        #73B9EE 100%
    );
    padding-bottom: 60px;
}

.gradient-section-header {
    text-align: center;
    margin-bottom: 0;
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
}

.gradient-section-header .section-badge {
    background: rgba(255, 255, 255, 0.1);
    color: black;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    margin-bottom: 24px;
}

.gradient-section-header .section-title {
    color: black;
    font-size: 42px;
    margin-bottom: 16px;
    font-weight: 800;
    text-shadow: none;
}

.gradient-section-header .section-description {
    color: rgba(0, 0, 0, 0.8);
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    font-weight: 400;
    line-height: 1.7;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px; /* Reduced from 80px since header is now in gradient section */
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 60px 20px;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
}

.team-card {
    position: relative;
    height: 637.5px; /* Reduced by 25% from original 850px */
    perspective: 2000px;
    -webkit-perspective: 2000px;
    -moz-perspective: 2000px;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    border-radius: 24px;
    margin: 20px;
}





.team-card:hover {
    filter: drop-shadow(0 30px 60px rgba(30, 64, 175, 0.3));
}

.team-card.tilt-active {
    transition: transform 0.1s ease-out;
}

.team-card.tilt-active .card-inner {
    box-shadow: 
        0 40px 80px rgba(30, 64, 175, 0.25),
        0 20px 40px rgba(30, 64, 175, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Enhanced 3D effect for back card when tilted */
.team-card.tilt-active .card-back {
    box-shadow: 
        0 50px 100px rgba(30, 64, 175, 0.3),
        0 25px 50px rgba(30, 64, 175, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    border-radius: 24px;
}

.team-card.tilt-active .card-inner {
    transition: transform 0.1s ease-out;
}

.team-card:hover .card-inner,
.team-card.keyboard-hover .card-inner {
    transform: rotateY(-180deg);
    -webkit-transform: rotateY(-180deg);
    -moz-transform: rotateY(-180deg);
}

/* 3D flip relies on backface-visibility and transform only */

.card-front, .card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    border-radius: 24px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 10px 20px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.card-front {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 30px 24px 24px; /* Reduced padding for reduced height */
    border: 1px solid rgba(226, 232, 240, 0.8);
    transform: rotateY(0deg);
    -webkit-transform: rotateY(0deg);
    -moz-transform: rotateY(0deg);
}

.card-front::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(147, 51, 234, 0.03) 0%, transparent 50%);
    pointer-events: none;
    border-radius: 24px;
}

.card-front::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: rotate(45deg);
    animation: shimmer 3s ease-in-out infinite;
    pointer-events: none;
    opacity: 0.6;
    border-radius: 24px;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    50% { transform: translateX(-50%) translateY(-50%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.card-back {
    background: #00316E;
    color: var(--white);
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px 20px 20px; /* Reduced padding for reduced height */
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.card-back::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 90%, rgba(147, 51, 234, 0.1) 0%, transparent 60%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    border-radius: 24px;
}

.card-back::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(255, 255, 255, 0.03) 90deg, transparent 180deg, rgba(255, 255, 255, 0.03) 270deg, transparent 360deg);
    animation: rotate 20s linear infinite;
    pointer-events: none;
    opacity: 0.6;
    border-radius: 24px;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.member-image {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid rgba(255, 255, 255, 0.9);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 10px 20px rgba(0, 0, 0, 0.1),
        inset 0 2px 4px rgba(255, 255, 255, 0.8);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.team-card:hover .member-image {
    transform: scale(1.15) translateY(-15px);
    box-shadow: 
        0 40px 80px rgba(30, 64, 175, 0.25),
        0 25px 50px rgba(0, 0, 0, 0.15),
        inset 0 2px 4px rgba(255, 255, 255, 0.9);
    border-color: rgba(59, 130, 246, 0.4);
}

.member-image::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(147, 51, 234, 0.2));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.team-card:hover .member-image::before {
    opacity: 1;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1.1) contrast(1.1) saturate(1.1);
}

.team-card:hover .member-image img {
    transform: scale(1.12);
    filter: brightness(1.2) contrast(1.15) saturate(1.2);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at center, rgba(59, 130, 246, 0.1) 0%, rgba(30, 64, 175, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    mix-blend-mode: multiply;
}

.team-card:hover .image-overlay {
    opacity: 1;
}

.member-info {
    position: relative;
    z-index: 2;
    text-align: center;
}

.member-info h3 {
    font-size: 24px; /* Reduced from 28px */
    font-weight: 700; /* Slightly reduced weight */
    color: var(--gray-900);
    margin-bottom: 12px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    transition: all 0.3s ease;
}

.team-card:hover .member-info h3 {
    transform: translateY(-5px);
    color: var(--primary-blue);
}

.member-info p {
    font-size: 14px; /* Reduced from 16px */
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 18px; /* Reduced from 24px */
    opacity: 0.8;
    transition: all 0.3s ease;
}

.team-card:hover .member-info p {
    opacity: 1;
    transform: translateY(-3px);
}

.member-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 0;
}

.specialty {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(147, 51, 234, 0.05));
    color: var(--primary-blue);
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.specialty::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.team-card:hover .specialty {
    transform: translateY(-8px) scale(1.05);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(147, 51, 234, 0.1));
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
}

.team-card:hover .specialty::before {
    left: 100%;
}

.member-details {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
    gap: 20px;
}

.details-header {
    margin-bottom: 16px;
    flex-shrink: 0;
}

.details-header h3 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.details-header p {
    font-size: 16px;
    opacity: 0.9;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.member-bio {
    flex: 1;
    display: flex;
    align-items: center;
}

.member-bio p {
    font-size: 14px; /* Reduced from 16px */
    line-height: 1.5; /* Reduced from 1.7 */
    opacity: 0.95;
    text-align: center;
    font-weight: 400;
}

.member-achievements {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    flex-shrink: 0;
}

.achievement {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    padding: 16px 20px;
    border-radius: 16px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.achievement::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.8s ease;
}

.achievement:hover::before {
    left: 100%;
}

.achievement:hover {
    transform: translateX(8px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
}

.achievement i {
    font-size: 18px;
    width: 24px;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
}

.achievement span {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.member-contact {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: auto;
    padding: 16px;
    margin-bottom: 0;
}

.contact-btn {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.contact-btn:hover::before {
    width: 100px;
    height: 100px;
}

.contact-btn:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.2));
    transform: translateY(-8px) scale(1.1);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.contact-btn i {
    font-size: 20px;
    position: relative;
    z-index: 2;
}

/* Front card social buttons */
.member-contact-front {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}

.contact-btn-front {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 12px rgba(59, 130, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.contact-btn-front:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 
        0 8px 20px rgba(59, 130, 246, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.contact-btn-front::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.contact-btn-front:hover::before {
    width: 100%;
    height: 100%;
}

/* ===== MOBILE/TABLET TEAM SECTION ===== */
.team-grid-mobile {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 20px; /* Reduced since header is now in gradient section */
    justify-items: center;
    max-width: 100%;
}

.team-card-mobile {
    position: relative;
    height: clamp(465px, 67.5vw + 150px, 562.5px); /* Reduced by 25% from original values */
    width: clamp(240px, 85vw, 400px);
    max-width: 90vw;
    margin: 0 auto;
    perspective: 1000px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card-mobile:hover {
    transform: translateY(-4px);
}

.card-inner-mobile {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
}

.team-card-mobile.flipped .card-inner-mobile {
    transform: rotateY(180deg);
}

/* Mobile 3D flip relies on backface-visibility and transform only */

.card-front-mobile, .card-back-mobile {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.card-front-mobile {
    background: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: clamp(12px, 3vw, 18px); /* Reduced by 25% */
    padding: clamp(24px, 6vw, 33px) clamp(15px, 4.5vw, 24px); /* Reduced by 25% */
    transform: rotateY(0deg);
    -webkit-transform: rotateY(0deg);
    -moz-transform: rotateY(0deg);
}

.card-back-mobile {
    background: #00316E;
    color: var(--white);
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: clamp(18px, 4.5vw, 24px) clamp(13.5px, 3.75vw, 22.5px) clamp(15px, 3vw, 18px) clamp(13.5px, 3.75vw, 22.5px); /* Reduced by 25% */
    overflow: visible;
    gap: clamp(10.5px, 2.25vw, 12px); /* Reduced by 25% */
}

.card-back-mobile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    border-radius: 24px;
}

.member-image-mobile {
    position: relative;
    width: clamp(60px, 15vw, 105px); /* Reduced by 25% */
    height: clamp(60px, 15vw, 105px); /* Reduced by 25% */
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-lg);
    margin-bottom: clamp(9px, 2.25vw, 15px); /* Reduced by 25% */
}

.member-image-mobile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-overlay-mobile {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.2), rgba(37, 99, 235, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.member-info-mobile {
    text-align: center;
    width: 100%;
}

.member-info-mobile h3 {
    font-size: clamp(18px, 5vw, 28px);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: clamp(6px, 2vw, 10px);
    line-height: 1.2;
}

.member-info-mobile p {
    font-size: clamp(14px, 3.5vw, 18px);
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: clamp(12px, 3vw, 18px);
}

.member-specialties-mobile {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
}

.specialty-mobile {
    background: var(--light-blue);
    color: var(--primary-blue);
    padding: clamp(6px, 2vw, 10px) clamp(10px, 3vw, 16px);
    border-radius: clamp(10px, 2.5vw, 14px);
    font-size: clamp(11px, 2.8vw, 14px);
    font-weight: 600;
    letter-spacing: 0.3px;
}

.flip-btn-mobile {
    display: inline-flex;
    align-items: center;
    gap: clamp(8px, 2vw, 12px);
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: clamp(10px, 3vw, 14px) clamp(16px, 4vw, 24px);
    border-radius: clamp(20px, 5vw, 28px);
    font-size: clamp(13px, 3.2vw, 16px);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
}

.flip-btn-mobile:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.flip-btn-mobile i {
    font-size: 12px;
}

.member-details-mobile {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.details-header-mobile {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.details-header-mobile h3 {
    font-size: clamp(16px, 4vw, 22px);
    font-weight: 700;
    margin-bottom: clamp(4px, 1.5vw, 8px);
}

.details-header-mobile p {
    font-size: clamp(12px, 3vw, 16px);
    opacity: 0.9;
    margin-bottom: clamp(6px, 2vw, 10px);
}

.flip-back-btn-mobile {
    display: inline-flex;
    align-items: center;
    gap: clamp(8px, 2vw, 12px);
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: clamp(10px, 3vw, 14px) clamp(18px, 4vw, 24px);
    border-radius: clamp(20px, 5vw, 28px);
    font-size: clamp(13px, 3.2vw, 16px);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    margin-top: auto;
    align-self: center;
}

.flip-back-btn-mobile:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.member-bio-mobile p {
    font-size: clamp(13px, 3.2vw, 16px);
    line-height: 1.6;
    opacity: 0.95;
    margin-bottom: clamp(16px, 4vw, 22px);
    text-align: center;
}

.member-achievements-mobile {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 18px;
}

.achievement-mobile {
    display: flex;
    align-items: center;
    gap: clamp(6px, 2vw, 10px);
    background: rgba(255, 255, 255, 0.1);
    padding: clamp(5px, 1.5vw, 8px) clamp(8px, 2.5vw, 12px);
    border-radius: clamp(6px, 2vw, 10px);
    backdrop-filter: blur(10px);
}

.achievement-mobile i {
    font-size: clamp(12px, 3vw, 16px);
    width: clamp(14px, 3.5vw, 18px);
    text-align: center;
}

.achievement-mobile span {
    font-size: clamp(11px, 2.8vw, 14px);
    font-weight: 600;
}

.member-contact-mobile {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
}

.contact-btn-mobile {
    display: inline-flex;
    align-items: center;
    gap: clamp(6px, 1.5vw, 10px);
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    text-decoration: none;
    padding: clamp(8px, 2vw, 12px) clamp(12px, 3vw, 18px);
    border-radius: clamp(14px, 3vw, 20px);
    font-size: clamp(11px, 2.5vw, 14px);
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex: 1;
    justify-content: center;
}

.contact-btn-mobile:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.4);
}

.contact-btn-mobile i {
    font-size: clamp(10px, 2.2vw, 13px);
}

/* ===== CERTIFICATIONS ===== */
.certifications-section {
    padding: var(--section-padding);
    background: var(--white);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition-smooth);
}

.cert-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-blue);
}

.cert-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    flex-shrink: 0;
}

.cert-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.cert-content p {
    font-size: 14px;
    color: var(--gray-600);
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    color: var(--white);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 32px;
    backdrop-filter: blur(10px);
}

.cta-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
}

.cta-description {
    font-size: 18px;
    margin-bottom: 48px;
    opacity: 0.9;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.btn-primary-white {
    background: var(--white);
    color: var(--primary-blue);
    border-color: var(--white);
}

.btn-primary-white:hover {
    background: var(--gray-100);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* ===== ABOUT PAGE FOOTER ===== */
.about-footer {
    position: relative;
    background: linear-gradient(135deg, #0a0f1a 0%, #0d1421 50%, #0a0f1a 100%);
    color: var(--gray-300);
    padding: 80px 0 0;
    overflow: hidden;
}

/* Animated Glow Effect */
.about-footer-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.03) 0%, transparent 70%);
    transform: translateX(-50%);
    animation: aboutFooterGlow 8s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes aboutFooterGlow {
    0% {
        transform: translateX(-50%) scale(0.8);
        opacity: 0.3;
    }
    100% {
        transform: translateX(-50%) scale(1.2);
        opacity: 0.6;
    }
}

/* Main Footer Content */
.about-footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 80px;
    align-items: start;
    padding-bottom: 60px;
    position: relative;
    z-index: 2;
}

/* Brand Section */
.about-footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.about-brand-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    animation: aboutLogoFloat 6s ease-in-out infinite;
}

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

.about-logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-logo-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(-45deg);
    animation: aboutLogoShine 3s linear infinite;
}

@keyframes aboutLogoShine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(-45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(-45deg); }
}

.about-logo-text {
    font-size: 32px;
    font-weight: 800;
    color: white;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff, #e2e8f0);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-brand-tagline {
    font-size: 14px;
    color: var(--gray-400);
    font-weight: 500;
    letter-spacing: 0.5px;
    opacity: 0.8;
    animation: fadeInUp 1s ease-out 0.5s both;
}

/* Navigation Section */
.about-footer-nav {
    display: flex;
    gap: 60px;
}

.about-nav-section {
    min-width: 120px;
}

.about-nav-title {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
    position: relative;
    animation: fadeInUp 1s ease-out 0.7s both;
}

.about-nav-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-blue));
    border-radius: 1px;
    animation: aboutExpandLine 1s ease-out 1.2s both;
}

@keyframes aboutExpandLine {
    0% { width: 0; }
    100% { width: 24px; }
}

.about-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-nav-link {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 4px 0;
    animation: fadeInUp 1s ease-out calc(0.9s + var(--delay, 0)) both;
}

.about-nav-links li:nth-child(1) .about-nav-link { --delay: 0.1s; }
.about-nav-links li:nth-child(2) .about-nav-link { --delay: 0.2s; }
.about-nav-links li:nth-child(3) .about-nav-link { --delay: 0.3s; }

.about-nav-link::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    width: 0;
    height: 0;
    border-left: 4px solid var(--primary-blue);
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
}

.about-nav-link:hover {
    color: var(--primary-blue);
    transform: translateX(12px);
}

.about-nav-link:hover::before {
    opacity: 1;
}

/* Contact Section */
.about-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-end;
}

.about-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--gray-400);
    animation: fadeInLeft 1s ease-out calc(1.1s + var(--delay, 0)) both;
}

.about-contact-item:nth-child(1) { --delay: 0.1s; }
.about-contact-item:nth-child(2) { --delay: 0.2s; }
.about-contact-item:nth-child(3) { --delay: 0.3s; }

.about-contact-item i {
    width: 32px;
    height: 32px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 14px;
    transition: all 0.3s ease;
}

.about-contact-item:hover i {
    background: rgba(59, 130, 246, 0.2);
    transform: scale(1.1);
}

.about-contact-item a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.3s ease;
}

.about-contact-item:hover a {
    color: var(--primary-blue);
}

/* Footer Bottom */
.about-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 0;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out 1.5s both;
}

.about-copyright span {
    font-size: 14px;
    color: var(--gray-500);
    font-weight: 500;
}

.about-certifications {
    display: flex;
    gap: 24px;
}

.about-cert-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 20px;
    font-size: 12px;
    color: var(--gray-400);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: aboutCertFloat calc(4s + var(--delay, 0)) ease-in-out infinite alternate;
}

.about-certifications .about-cert-badge:nth-child(1) { --delay: 0s; }
.about-certifications .about-cert-badge:nth-child(2) { --delay: 2s; }

@keyframes aboutCertFloat {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-4px); }
}

.about-cert-badge:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

.about-cert-badge i {
    color: var(--primary-blue);
    font-size: 14px;
}

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

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

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

/* ===== SCROLL ANIMATIONS ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ===== CONTACT SECTION STYLES ===== */
/* Contact Hero */
.contact-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 80px;
}

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

.contact-hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--ultra-light-blue) 0%, var(--white) 50%, var(--light-blue) 100%);
}

.contact-hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(30, 64, 175, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(37, 99, 235, 0.1) 0%, transparent 50%);
}

.contact-hero-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.contact-hero-content {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

.contact-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--light-blue);
    color: var(--primary-blue);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.contact-hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--gray-900);
    margin-bottom: 24px;
}

.contact-hero-description {
    font-size: 20px;
    color: var(--gray-600);
    margin-bottom: 48px;
    line-height: 1.7;
}

.contact-hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 48px;
}

/* Contact Methods */
.contact-methods {
    padding: var(--section-padding);
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.contact-card {
    background: var(--white);
    padding: var(--card-padding);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--gray-200);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-blue));
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

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

.contact-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-blue);
}

.contact-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
}

.contact-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.contact-content p {
    font-size: 16px;
    color: var(--gray-600);
    margin-bottom: 24px;
    line-height: 1.6;
}

.contact-details {
    margin-bottom: 24px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--gray-600);
}

.detail-item i {
    color: var(--primary-blue);
    width: 16px;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary-blue);
    color: var(--white);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition-smooth);
}

.btn-contact:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-2px);
}

/* Contact Form Section */
.contact-form-section {
    padding: var(--section-padding);
    background: var(--gray-50);
}

.form-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    align-items: flex-start;
}

.form-header {
    margin-bottom: 48px;
}

.form-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.form-header p {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.6;
}

.contact-form {
    background: var(--white);
    padding: 48px;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--gray-700);
    font-weight: 600;
    font-size: 14px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 16px;
    color: var(--gray-400);
    font-size: 14px;
    z-index: 2;
}

.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
    width: 100%;
    padding: 16px 16px 16px 48px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 16px;
    font-family: var(--font-primary);
    transition: var(--transition-smooth);
    background: var(--white);
}

.input-wrapper textarea {
    padding-top: 16px;
    resize: vertical;
    min-height: 120px;
}

.input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.input-wrapper input:focus + i,
.input-wrapper select:focus + i,
.input-wrapper textarea:focus + i {
    color: var(--primary-blue);
}

/* Radio Group */
.radio-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 12px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 12px 16px;
    border-radius: 10px;
    transition: var(--transition-smooth);
}

.radio-label:hover {
    background: var(--ultra-light-blue);
}

.radio-label input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-300);
    border-radius: 50%;
    position: relative;
    transition: var(--transition-smooth);
}

.radio-label input[type="radio"]:checked + .radio-custom {
    border-color: var(--primary-blue);
    background: var(--primary-blue);
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 50%;
}

.radio-text {
    font-size: 14px;
    color: var(--gray-700);
    font-weight: 500;
}

/* Checkbox Group */
.checkbox-group {
    margin-bottom: 32px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-300);
    border-radius: 4px;
    position: relative;
    transition: var(--transition-smooth);
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-weight: bold;
    font-size: 12px;
}

.checkbox-text {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.5;
}

.checkbox-text a {
    color: var(--primary-blue);
    text-decoration: none;
}

.checkbox-text a:hover {
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    padding: 20px 32px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    font-family: var(--font-primary);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.btn-submit:hover {
    background: linear-gradient(135deg, var(--primary-blue-dark), var(--primary-blue));
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* Form Sidebar */
.form-sidebar {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.sidebar-card {
    background: var(--white);
    padding: var(--card-padding);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    margin-bottom: 20px;
}

.sidebar-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.guarantee-list,
.hours-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--gray-600);
}

.guarantee-item i {
    color: var(--primary-blue);
    font-size: 14px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.day {
    font-weight: 600;
    color: var(--gray-700);
}

.time {
    color: var(--gray-600);
}

.hours-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 16px;
    padding: 12px;
    background: var(--ultra-light-blue);
    border-radius: 8px;
    font-size: 12px;
    color: var(--gray-600);
}

.hours-note i {
    color: var(--primary-blue);
    margin-top: 1px;
}

.emergency-card p {
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--gray-600);
}

.emergency-number {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-blue);
    text-decoration: none;
    margin-bottom: 8px;
}

.emergency-number:hover {
    color: var(--primary-blue-dark);
}

.emergency-note {
    font-size: 12px;
    color: var(--gray-500);
    font-style: italic;
}

/* FAQ Section */
.faq-section {
    padding: var(--section-padding);
    background: #73B9EE; /* Match the team section color */
}

.faq-grid {
    display: grid;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-blue);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    cursor: pointer;
    background: var(--gray-50);
    transition: var(--transition-smooth);
}

.faq-question:hover {
    background: var(--ultra-light-blue);
}

.faq-question h3 {
    color: var(--gray-900);
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.faq-question i {
    color: var(--primary-blue);
    transition: transform 0.3s ease;
    font-size: 16px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 32px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 24px 32px 32px;
    max-height: 200px;
}

.faq-answer p {
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

/* Location Section */
.location-section {
    padding: var(--section-padding);
    background: var(--gray-50);
}

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

.location-info h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.location-info p {
    font-size: 16px;
    color: var(--gray-600);
    margin-bottom: 32px;
    line-height: 1.6;
}

.address-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    margin-bottom: 32px;
}

.address-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    flex-shrink: 0;
}

.address-details h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.address-details p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.5;
    margin: 0;
}

.location-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.location-actions {
    display: flex;
    gap: 16px;
}

.location-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.map-placeholder {
    width: 100%;
    max-width: 500px;
    height: 400px;
    background: linear-gradient(135deg, var(--ultra-light-blue), var(--light-blue));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
}

.map-content {
    text-align: center;
    padding: 40px;
}

.map-content i {
    font-size: 48px;
    color: var(--primary-blue);
    margin-bottom: 16px;
}

.map-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.map-content p {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.5;
}

.map-features {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.map-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.map-feature i {
    font-size: 20px !important;
    color: var(--primary-blue);
    margin-bottom: 0 !important;
}

.map-feature span {
    font-size: 12px;
    color: var(--gray-600);
    font-weight: 500;
}

/* Form Validation Styles */
.form-group.error .input-wrapper input,
.form-group.error .input-wrapper select,
.form-group.error .input-wrapper textarea {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-group.error .input-wrapper i {
    color: #e74c3c;
}

.form-message {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.error-message {
    background-color: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.success-message {
    background-color: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

/* ===== RESPONSIVE DESIGN ===== */

/* ===== TEAM SECTION RESPONSIVE CONTROLS ===== */
@media (max-width: 1024px) {
    .team-desktop {
        display: none !important;
    }
    
    .team-mobile {
        display: block !important;
    }
    
    .team-grid-mobile {
        gap: clamp(16px, 4vw, 24px);
    }
}

@media (max-width: 900px) {
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        gap: 24px;
    }
    
    .team-card {
        height: 750px;
    }
    
    .story-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .hero-metrics {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    
    /* Mobile team section adjustments handled by clamp() functions */
}

@media (max-width: 768px) {
    /* Most mobile styling handled by clamp() functions */
    
    .navbar {
        top: 12px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: none;
        border-radius: 16px;
    }
    
    .navbar.hidden {
        transform: translateX(-50%) translateY(-120px);
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -120%;
        right: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 20px 0;
        transition: left 0.3s ease;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    /* Mobile menu styles - clean click-based approach */
    .nav-item {
        width: 100%;
        border-bottom: 1px solid var(--gray-200);
    }
    
    .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 16px 20px;
        color: var(--gray-700);
        text-decoration: none;
        font-size: 16px;
        font-weight: 500;
        background: transparent;
        border: none;
        text-align: left;
    }
    
    .nav-link.active {
        color: var(--primary-blue);
        background: var(--light-blue);
    }
    
    .dropdown-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 18px 40px;
        color: var(--gray-600);
        text-decoration: none;
        font-size: 15px;
        border-bottom: 1px solid var(--gray-200);
        transition: all 0.2s ease;
        opacity: 1;
        transform: none;
        min-height: 48px;
    }
    
    .dropdown-item:last-child {
        border-bottom: none;
    }
    
    .dropdown-item i {
        width: 16px;
        color: var(--primary-blue);
        text-align: center;
    }
    
    .dropdown-item.main-nav-item {
        background: linear-gradient(135deg, rgba(30, 64, 175, 0.1) 0%, rgba(37, 99, 235, 0.15) 100%);
        border-bottom: 1px solid rgba(30, 64, 175, 0.2);
        font-weight: 600;
        color: var(--primary-blue);
        margin-bottom: 8px;
        border-radius: 8px;
        min-height: 52px;
    }
    
    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .nav-cta {
        display: none;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .cta-title {
        font-size: 32px;
    }
    
    .timeline-line {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: row !important;
    }
    
    .timeline-item .timeline-content {
        text-align: left !important;
    }
    
    .timeline-dot {
        margin: 0 20px 0 0;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    

    
    .certifications-grid {
        grid-template-columns: 1fr;
    }
    
    .about-footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .about-footer-nav {
        gap: 40px;
        justify-content: center;
    }
    
    .about-footer-contact {
        align-items: center;
    }
    
    .about-footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .about-certifications {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    /* Mobile team section responsive sizing handled by clamp() functions */
    
    .container {
        padding: 0 16px;
    }
    
    .nav-container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .cta-title {
        font-size: 28px;
    }
    
    .btn {
        padding: 14px 24px;
        font-size: 14px;
    }
    
    .mission-card, .vision-card {
        padding: 24px;
    }
    
    .value-card {
        padding: 24px;
    }
}

@media (max-width: 320px) {
    /* Mobile team section adjustments for ultra small screens */
    .team-card-mobile {
        width: 240px !important;
        max-width: 240px !important;
        height: 465px !important; /* Reduced by 25% from original 620px */
    }
    
    .card-front-mobile {
        padding: 10px 8px; /* Reduced by ~25% */
        gap: 12px; /* Reduced by 25% */
    }
    
    .card-back-mobile {
        padding: 18px 13px 15px 13px; /* Reduced by 25% */
        gap: 10px; /* Reduced by ~28% */
    }
    
    .member-image-mobile {
        width: 52px; /* Reduced by 25% from 70px */
        height: 52px; /* Reduced by 25% from 70px */
        margin-bottom: 8px; /* Reduced from 10px */
    }
    
    .member-info-mobile h3 {
        font-size: 16px;
        margin-bottom: 4px;
    }
    
    .member-info-mobile p {
        font-size: 12px;
        margin-bottom: 10px;
    }
    
    .specialty-mobile {
        padding: 4px 8px;
        font-size: 10px;
    }
    
    .flip-btn-mobile {
        padding: 6px 14px;
        font-size: 12px;
    }
    
    .details-header-mobile h3 {
        font-size: 16px;
        margin-bottom: 4px;
    }
    
    .details-header-mobile p {
        font-size: 12px;
        margin-bottom: 6px;
    }
    
    .member-bio-mobile p {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 16px;
    }
    
    .achievement-mobile {
        padding: 5px 8px;
        gap: 6px;
    }
    
    .achievement-mobile i {
        font-size: 12px;
        width: 14px;
    }
    
    .achievement-mobile span {
        font-size: 11px;
    }
    
    .contact-btn-mobile {
        padding: 8px 12px;
        font-size: 11px;
        gap: 6px;
    }
    
    .contact-btn-mobile i {
        font-size: 11px;
    }
    
    .flip-back-btn-mobile {
        padding: 8px 16px;
        font-size: 12px;
        margin-top: 12px;
    }
}