/* ===================================
   CSS Variables & Reset
   =================================== */
:root {
    /* Color Palette */
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #ffffff;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-dark: #111827;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    
    /* Typography */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: var(--font-size-base);
}

body {
    font-family: var(--font-primary);
    line-height: var(--line-height-base);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-base);
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ===================================
   Utility Classes
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    width: 100%;
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding: 0 20px;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
    animation: expandLine 1s ease-out 0.5s both;
}

@keyframes expandLine {
    from {
        width: 0;
    }
    to {
        width: 80px;
    }
}

.section-header h2 {
    font-size: clamp(2.2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
    background: linear-gradient(135deg, #1f2937, #4b5563);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    animation: slideDown 0.8s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 400;
    animation: slideDown 0.8s ease-out 0.2s both;
}

.highlight {
    color: var(--primary-color);
    position: relative;
}

.required {
    color: #ef4444;
}

/* ===================================
   Buttons
   =================================== */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-light);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: #1a202c;
    border-color: #1a202c;
    font-weight: 600;
}

.btn-secondary:hover {
    background: #1a202c;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 32, 44, 0.3);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* ===================================
   Header & Navigation
   =================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all var(--transition-base);
}

.navbar {
    padding: 0.5rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.5rem;
    border-radius: var(--radius-lg);
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.logo-text:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.logo:hover {
    background: rgba(37, 99, 235, 0.05);
    transform: translateY(-2px);
}

.logo-img {
    width: 180px;
    height: 70px;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.logo-img:hover {
    transform: scale(1.08) rotate(2deg);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
    border-radius: var(--radius-xl);
}

.logo i {
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-link {
    font-weight: 500;
    color: var(--text-primary);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-cta {
    padding: 0.625rem 1.5rem !important;
    border-radius: var(--radius-md) !important;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 0.375rem;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all var(--transition-base);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, #87CEEB 0%, #E0F6FF 70%, #90EE90 100%);
    padding: 8rem 0 4rem;
    overflow: hidden;
}

/* Add floating elements for visual enhancement */
.hero::after {
    content: '';
    position: absolute;
    top: 10%;
    right: 10%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 5%;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
}

/* Hero Animation Container */
.hero-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    max-width: 100vw;
}

/* Road */
.road {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(180deg, #555 0%, #333 100%);
    border-top: 8px solid #FFD700;
}

@media (max-width: 768px) {
    .road {
        height: 150px;
        border-top: 5px solid #FFD700;
    }
}

@media (max-width: 480px) {
    .road {
        height: 100px;
        border-top: 3px solid #FFD700;
    }
}

.road::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.3) 100%);
}

.road-lines {
    position: absolute;
    top: 50%;
    left: 0;
    width: 200%;
    height: 3px;
    background: repeating-linear-gradient(
        90deg,
        transparent 0px,
        transparent 20px,
        #fff 20px,
        #fff 50px
    );
    transform: translateY(-50%);
    animation: roadMove 2s linear infinite;
}

/* Car */
.car-container {
    position: absolute;
    bottom: 130px;
    animation: carDriveToFinish 10s ease-in-out infinite;
    z-index: 10;
}

@media (max-width: 768px) {
    .car-container {
        bottom: 50px;
    }
}

@media (max-width: 480px) {
    .car-container {
        bottom: 35px;
    }
}

.car {
    position: relative;
    width: 160px;
    height: 80px;
}

@media (max-width: 768px) {
    .car {
        width: 120px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .car {
        width: 90px;
        height: 45px;
    }
}

.car-body {
    position: relative;
    width: 100%;
    height: 100%;
}

.car-body::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 45px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border-radius: 15px 15px 8px 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.car-top {
    position: absolute;
    bottom: 35px;
    left: 25%;
    width: 55%;
    height: 40px;
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
    border-radius: 20px 20px 0 0;
    box-shadow: inset 0 -3px 8px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .car-top {
        bottom: 26px;
        height: 30px;
        border-radius: 15px 15px 0 0;
    }
}

@media (max-width: 480px) {
    .car-top {
        bottom: 20px;
        height: 22px;
        border-radius: 10px 10px 0 0;
    }
}

.car-window {
    position: absolute;
    bottom: 38px;
    left: 28%;
    width: 48%;
    height: 28px;
    background: linear-gradient(135deg, #5DADE2 0%, #3498DB 100%);
    border-radius: 15px 15px 0 0;
    box-shadow: inset 0 2px 5px rgba(255,255,255,0.3);
}

@media (max-width: 768px) {
    .car-window {
        bottom: 28px;
        height: 21px;
        border-radius: 10px 10px 0 0;
    }
}

@media (max-width: 480px) {
    .car-window {
        bottom: 21px;
        height: 16px;
        border-radius: 8px 8px 0 0;
    }
}

.car-window::before {
    content: '';
    position: absolute;
    top: 0;
    left: 48%;
    width: 3px;
    height: 100%;
    background: #2c3e50;
}

/* Learner Plate */
.learner-plate {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 25px;
    height: 25px;
    background: #FFD700;
    border: 2px solid #fff;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 16px;
    color: #c0392b;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    z-index: 10;
}

@media (max-width: 768px) {
    .learner-plate {
        width: 20px;
        height: 20px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .learner-plate {
        width: 15px;
        height: 15px;
        font-size: 9px;
    }
}

/* Car Branding Text */
.car-branding {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 8px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    white-space: nowrap;
    z-index: 5;
}

/* Wheels */
.car-wheels {
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
}

.wheel {
    position: absolute;
    bottom: 0;
    width: 28px;
    height: 28px;
    background: radial-gradient(circle, #2c3e50 40%, #1a1a1a 60%, #000 100%);
    border-radius: 50%;
    border: 3px solid #555;
    animation: wheelRotate 0.6s linear infinite;
    box-shadow: 0 3px 8px rgba(0,0,0,0.5);
}

.wheel::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    background: #888;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.wheel-front {
    right: 15px;
}

.wheel-back {
    left: 20px;
}

/* Background Scenery */
.background-scenery {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Clouds */
.cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 100px;
    animation: cloudMove 20s linear infinite;
}

.cloud::before,
.cloud::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 100px;
}

.cloud-1 {
    top: 10%;
    left: 10%;
    width: 100px;
    height: 40px;
    animation-duration: 25s;
}

.cloud-1::before {
    top: -20px;
    left: 15px;
    width: 50px;
    height: 50px;
}

.cloud-1::after {
    top: -25px;
    left: 40px;
    width: 60px;
    height: 35px;
}

.cloud-2 {
    top: 20%;
    left: 50%;
    width: 120px;
    height: 45px;
    animation-duration: 30s;
    animation-delay: -5s;
}

.cloud-2::before {
    top: -25px;
    left: 20px;
    width: 55px;
    height: 55px;
}

.cloud-2::after {
    top: -30px;
    left: 50px;
    width: 65px;
    height: 40px;
}

.cloud-3 {
    top: 15%;
    left: 80%;
    width: 90px;
    height: 35px;
    animation-duration: 22s;
    animation-delay: -10s;
    display: none; /* Hidden for cleaner look */
}

.cloud-3::before {
    top: -18px;
    left: 12px;
    width: 45px;
    height: 45px;
}

.cloud-3::after {
    top: -22px;
    left: 35px;
    width: 55px;
    height: 32px;
}

/* Trees */
.tree {
    position: absolute;
    bottom: 200px;
    animation: treeMove 8s linear infinite;
}

.tree::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 15px;
    height: 50px;
    background: #8B4513;
    border-radius: 3px;
}

.tree::after {
    content: '';
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 35px solid transparent;
    border-right: 35px solid transparent;
    border-bottom: 60px solid #228B22;
}

.tree-1 {
    left: 15%;
    animation-duration: 6s;
}

.tree-2 {
    left: 60%;
    animation-duration: 7s;
    animation-delay: -2s;
    display: none; /* Hidden for cleaner look */
}

.tree-3 {
    left: 85%;
    animation-duration: 5.5s;
    animation-delay: -4s;
    display: none; /* Hidden for cleaner look */
}

/* Buildings */
.building {
    position: absolute;
    bottom: 200px;
    background: linear-gradient(135deg, #7f8c8d 0%, #95a5a6 100%);
    animation: buildingMove 12s linear infinite;
}

.building::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 20px,
        rgba(255,255,255,0.1) 20px,
        rgba(255,255,255,0.1) 22px
    ),
    repeating-linear-gradient(
        90deg,
        transparent,
        transparent 25px,
        rgba(255,255,255,0.1) 25px,
        rgba(255,255,255,0.1) 27px
    );
}

.building-1 {
    left: 25%;
    width: 80px;
    height: 120px;
    animation-duration: 10s;
}

.building-2 {
    left: 70%;
    width: 100px;
    height: 150px;
    animation-duration: 11s;
    animation-delay: -3s;
    display: none; /* Hidden for cleaner look */
}

/* Road Signs */
.road-sign {
    position: absolute;
    bottom: 200px;
    animation: signMove 10s linear infinite;
    display: none; /* Hidden for cleaner professional look */
}

.sign-post {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 80px;
    background: #666;
    border-radius: 2px;
}

.sign-board {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.speed-limit {
    width: 60px;
    height: 60px;
    background: white;
    border: 5px solid #e74c3c;
    border-radius: 50%;
    font-size: 22px;
    color: #000;
}

.stop-sign {
    width: 60px;
    height: 60px;
    background: #e74c3c;
    color: white;
    font-size: 12px;
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
}

.yield-sign {
    width: 0;
    height: 0;
    border-left: 35px solid transparent;
    border-right: 35px solid transparent;
    border-bottom: 60px solid #FFD700;
    position: relative;
    background: transparent !important;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 10px;
    font-size: 28px;
}

.sign-1 {
    left: 20%;
    animation-duration: 8s;
}

.sign-2 {
    left: 55%;
    animation-duration: 9s;
    animation-delay: -3s;
}

.sign-3 {
    left: 80%;
    animation-duration: 7.5s;
    animation-delay: -5s;
}

/* Test Examiner */
.test-examiner {
    position: absolute;
    top: 25%;
    right: 10%;
    animation: examinerCheck 8s ease-in-out infinite;
    display: none; /* Hidden for cleaner professional look */
}

.examiner-clipboard {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.examiner-clipboard i {
    font-size: 2rem;
    color: #27ae60;
    animation: clipboardCheck 2s ease-in-out infinite;
}

/* Road Markings */
.road-marking {
    position: absolute;
    top: 30%;
    color: white;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 8px;
    opacity: 0.8;
    animation: roadMarkingMove 8s linear infinite;
    display: none; /* Hidden for cleaner look */
}

.road-marking-1 {
    left: 30%;
    animation-delay: 0s;
}

.road-marking-2 {
    left: 70%;
    animation-delay: -4s;
}

/* Finish Line */
.finish-line {
    position: absolute;
    right: -5%;
    top: 0;
    bottom: 0;
    width: 80px;
    background: repeating-linear-gradient(
        0deg,
        #000 0px,
        #000 15px,
        #fff 15px,
        #fff 30px
    );
    border-left: 5px solid #FFD700;
    border-right: 5px solid #FFD700;
    opacity: 1;
    box-shadow: -8px 0 20px rgba(0,0,0,0.4), inset 0 0 20px rgba(255,215,0,0.3);
}

@media (max-width: 768px) {
    .finish-line {
        width: 60px;
        border-left: 4px solid #FFD700;
        border-right: 4px solid #FFD700;
        background: repeating-linear-gradient(
            0deg,
            #000 0px,
            #000 12px,
            #fff 12px,
            #fff 24px
        );
    }
}

@media (max-width: 480px) {
    .finish-line {
        width: 45px;
        border-left: 3px solid #FFD700;
        border-right: 3px solid #FFD700;
        background: repeating-linear-gradient(
            0deg,
            #000 0px,
            #000 10px,
            #fff 10px,
            #fff 20px
        );
    }
}

.finish-flag {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 50px;
    background: repeating-linear-gradient(
        45deg,
        #000 0px,
        #000 10px,
        #fff 10px,
        #fff 20px
    );
    border: 3px solid #FFD700;
    border-radius: 5px;
    animation: flagWave 0.6s ease-in-out infinite;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}

.finish-flag::before {
    content: '';
    position: absolute;
    left: -8px;
    top: -3px;
    bottom: -3px;
    width: 8px;
    background: linear-gradient(180deg, #8B4513 0%, #654321 100%);
    border-radius: 3px 0 0 3px;
}

.finish-text {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 22px;
    font-weight: 900;
    color: #FFD700;
    text-shadow: 
        2px 2px 4px rgba(0,0,0,0.8),
        0 0 10px rgba(255,215,0,0.5);
    writing-mode: vertical-rl;
    letter-spacing: 3px;
}

/* Car Movement to Finish Line */
.car-container {
    position: absolute;
    bottom: 70px;
    animation: carDriveToFinish 10s ease-in-out infinite;
}

/* Success Celebration */
.success-celebration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 50;
    opacity: 0;
    animation: celebrationAppear 10s ease-in-out infinite;
}

/* Fireworks Display */
.celebration-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 45%; /* Position in front of finish line */
    transform: translate(-50%, -50%);
    text-align: center;
    animation: successPulse 10s ease-in-out infinite;
}

.banner-content::before,
.banner-content::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    animation: fireworkBurst 1s ease-out infinite;
}

.banner-content::before {
    top: -80px;
    left: -150px;
    background: radial-gradient(circle, rgba(255,215,0,0.8) 0%, transparent 70%);
    animation-delay: 7.2s;
}

.banner-content::after {
    top: -80px;
    right: -150px;
    background: radial-gradient(circle, rgba(46,204,113,0.8) 0%, transparent 70%);
    animation-delay: 7.4s;
}

.banner-text {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(45deg, #FFD700, #FFA500, #FF6347, #FFD700);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    animation: gradientShift 2s ease infinite;
    display: block;
    margin: 1rem 0;
    letter-spacing: 0.1em;
}

@media (max-width: 768px) {
    .banner-text {
        font-size: 2.2rem;
        letter-spacing: 0.08em;
        margin: 0.75rem 0;
    }
}

@media (max-width: 480px) {
    .banner-text {
        font-size: 1.5rem;
        letter-spacing: 0.05em;
        margin: 0.5rem 0;
    }
}

.banner-content i {
    font-size: 4rem;
    color: #FFD700;
    display: block;
    margin: 1rem auto;
    animation: iconSpin 2s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(255,215,0,0.8));
}

@media (max-width: 768px) {
    .banner-content i {
        font-size: 3rem;
        margin: 0.75rem auto;
    }
}

@media (max-width: 480px) {
    .banner-content i {
        font-size: 2rem;
        margin: 0.5rem auto;
    }
}

/* Confetti Particles */
.confetti-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.confetti-container::before,
.confetti-container::after {
    content: '✨';
    position: absolute;
    font-size: 3rem;
    animation: sparkleFloat 3s ease-in-out infinite;
}

.confetti-container::before {
    left: 35%;
    top: 10%;
    animation-delay: 7s;
    animation-duration: 2.5s;
}

.confetti-container::after {
    left: 55%;
    top: 15%;
    animation-delay: 7.3s;
    animation-duration: 2.8s;
}

/* Success Message */

/* Hero Overlay - subtle gradient */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, 
        rgba(103, 126, 234, 0.05) 0%, 
        rgba(118, 75, 162, 0.1) 100%
    );
    z-index: 5;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 10;
}

.hero-content {
    text-align: center;
    color: #1a202c;
    margin-bottom: var(--spacing-2xl);
    position: relative;
    z-index: 10;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.9);
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 0.8s ease;
    color: #1a202c;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.9);
}

.hero-subtitle {
    font-size: clamp(1.125rem, 3vw, 1.25rem);
    margin-bottom: var(--spacing-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s backwards;
    color: #2d3748;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8);
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

/* ===================================
   Stats Section
   =================================== */
.stats-section {
    background: var(--bg-primary);
    padding: var(--spacing-xl) 0;
    margin-top: -50px;
    position: relative;
    z-index: 100;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    max-width: 900px;
    margin: 0 auto;
}

.stat-card {
    background: var(--bg-primary);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    transition: all var(--transition-base);
    animation: fadeInUp 0.8s ease 0.6s backwards;
    box-shadow: var(--shadow-md);
}

.stat-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-xl);
}

.stat-card i {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
}

.stat-number {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1.125rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ===================================
   Lessons Section
   =================================== */
.lessons {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-secondary);
}

.lessons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.lesson-card {
    background: var(--bg-primary);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
    border: 2px solid transparent;
}

.lesson-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.lesson-card.featured {
    border-color: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.2);
}

.featured-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--secondary-color);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
}

.lesson-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.lesson-icon i {
    font-size: 2rem;
    color: var(--text-light);
}

.lesson-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.lesson-card > p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.lesson-features {
    margin-bottom: var(--spacing-md);
}

.lesson-features li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.lesson-features i {
    color: var(--secondary-color);
    font-size: 1rem;
}

.lesson-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: var(--spacing-md) 0;
}

.lesson-card .btn-primary {
    width: 100%;
}

/* ===================================
   Enhanced About Section
   =================================== */
.about {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    animation: rotate 25s linear infinite;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

/* About Image Container */
.about-image-container {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-image-wrapper:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.about-car-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    transition: transform 0.4s ease;
}

.about-image-wrapper:hover .about-car-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-10px);
    opacity: 0;
    transition: all 0.4s ease;
}

.about-image-wrapper:hover .image-overlay {
    transform: translateY(0);
    opacity: 1;
}

.overlay-content {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1f2937;
    font-weight: 600;
    font-size: 0.9rem;
}

.overlay-content i {
    color: #3b82f6;
    font-size: 1.1rem;
}

/* Instructor Stats */
.instructor-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    padding: 25px 15px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: #3b82f6;
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #3b82f6;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* About Text Content */
.about-text {
    padding-left: 20px;
}

.instructor-intro {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e2e8f0;
}

.instructor-intro h3 {
    font-size: 2.2rem;
    color: #1f2937;
    margin-bottom: 10px;
    font-weight: 800;
}

.instructor-title {
    font-size: 1.2rem;
    color: #3b82f6;
    font-weight: 600;
    margin-bottom: 20px;
}

.certification-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    animation: pulse 3s infinite;
}

.certification-badge i {
    font-size: 1.1rem;
}

/* Story Items */
.about-story {
    margin-top: 35px;
}

.story-item {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border-left: 4px solid #3b82f6;
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInLeft 0.8s ease forwards;
}

.story-item:nth-child(1) { animation-delay: 0.2s; }
.story-item:nth-child(2) { animation-delay: 0.4s; }
.story-item:nth-child(3) { animation-delay: 0.6s; }

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.story-item:hover {
    transform: translateX(5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
    border-left-width: 6px;
}

.story-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    transition: transform 0.3s ease;
}

.story-item:hover .story-icon {
    transform: scale(1.1) rotate(5deg);
}

.story-icon i {
    font-size: 1.5rem;
    color: white;
}

.story-content h4 {
    color: #1f2937;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.story-content p {
    color: #6b7280;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Mobile Responsiveness for About Section */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .about-text {
        padding-left: 0;
    }
    
    .instructor-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .stat-item {
        padding: 20px 10px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .story-item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        transform: none;
        animation: none;
        opacity: 1;
    }
    
    .story-icon {
        align-self: center;
    }
    
    .instructor-intro h3 {
        font-size: 1.8rem;
    }
    
    .certification-badge {
        font-size: 0.8rem;
        padding: 10px 15px;
    }
    
    .about-image-wrapper {
        border-radius: 15px;
    }
    
    .image-overlay {
        top: 15px;
        right: 15px;
        padding: 10px 15px;
    }
}

.image-placeholder {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    gap: var(--spacing-md);
}

.image-placeholder p {
    font-size: 1.25rem;
    font-weight: 600;
}

/* ===================================
   Booking Section
   =================================== */
.booking {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-secondary);
}

.booking-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-xl);
}

.booking-form {
    background: var(--bg-primary);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color var(--transition-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ef4444;
}

.error-message {
    display: block;
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: var(--spacing-xs);
    min-height: 1.25rem;
}

.checkbox-group {
    margin: var(--spacing-md) 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-label .link {
    color: var(--primary-color);
    text-decoration: underline;
}

.booking-form .btn-primary {
    width: 100%;
    margin-top: var(--spacing-md);
}

.booking-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.info-card {
    background: var(--bg-primary);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.info-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.info-card h3 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.info-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    padding: var(--spacing-2xl) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.contact-card {
    background: var(--bg-primary);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
}

.contact-icon i {
    font-size: 1.75rem;
    color: var(--text-light);
}

.contact-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.contact-card p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
}

.contact-link {
    color: var(--primary-color);
    font-weight: 600;
    display: block;
    margin-top: var(--spacing-xs);
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
    width: 100%;
    line-height: 1.4;
    white-space: normal;
    text-align: center;
}

.contact-link:hover {
    text-decoration: underline;
}

/* ===================================
   Service Area Map
   =================================== */
.service-area-map {
    margin-top: var(--spacing-2xl);
    padding-top: var(--spacing-2xl);
    border-top: 1px solid var(--border-color);
}

.map-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--bg-secondary);
}

.map-container iframe {
    display: block;
    width: 100%;
    min-height: 480px;
    border: none;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--spacing-2xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-section h3,
.footer-section h4 {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

.footer-section h3 {
    font-size: 1.5rem;
}

.footer-section p {
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links li,
.footer-contact li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    transition: color var(--transition-base);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.footer-contact i {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-legal {
    display: flex;
    gap: var(--spacing-sm);
}

.footer-legal a:hover {
    color: var(--primary-light);
}

.developer-link {
    color: var(--primary-light);
    font-weight: 600;
    transition: all var(--transition-base);
}

.developer-link:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* ===================================
   WhatsApp Floating Button
   =================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all var(--transition-base);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    font-size: 2rem;
    color: var(--text-light);
}

/* ===================================
   Modal
   =================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-primary);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.close-modal:hover {
    color: var(--text-primary);
}

.modal-icon {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
}

.modal-content h2 {
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.modal-content p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
}

/* ===================================
   Animations
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes roadMove {
    0% {
        transform: translateX(0) translateY(-50%);
    }
    100% {
        transform: translateX(-70px) translateY(-50%);
    }
}

@keyframes wheelRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes carBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

@keyframes cloudMove {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(100vw);
    }
}

@keyframes treeMove {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-120vw);
        opacity: 0;
    }
}

@keyframes buildingMove {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-130vw);
        opacity: 0;
    }
}

@keyframes signMove {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-120vw);
        opacity: 0;
    }
}

@keyframes roadMarkingMove {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-150vw);
    }
}

@keyframes examinerCheck {
    0%, 70% {
        opacity: 1;
        transform: scale(1);
    }
    75%, 85% {
        opacity: 0;
        transform: scale(0.8);
    }
    90%, 100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes clipboardCheck {
    0%, 50% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.2);
    }
}

@keyframes celebrationAppear {
    0%, 60% {
        opacity: 0;
        visibility: hidden;
    }
    65% {
        opacity: 1;
        visibility: visible;
    }
    95% {
        opacity: 1;
        visibility: visible;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes bannerSlide {
    0%, 60% {
        transform: rotate(-3deg) translateX(-100%);
    }
    65% {
        transform: rotate(-3deg) translateX(0);
    }
    90% {
        transform: rotate(-3deg) translateX(0);
    }
    100% {
        transform: rotate(-3deg) translateX(100%);
    }
}

@keyframes bannerScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes iconBounce {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.2);
    }
}

@keyframes confettiFall {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg) scale(0.5);
        opacity: 0;
    }
}

@keyframes finishLineAppear {
    0%, 55% {
        opacity: 0;
        right: -10%;
    }
    60% {
        opacity: 1;
        right: -5%;
    }
    95% {
        opacity: 1;
        right: -5%;
    }
    100% {
        opacity: 0;
        right: -10%;
    }
}

@keyframes flagWave {
    0%, 100% {
        transform: translateX(-50%) rotateZ(0deg);
    }
    25% {
        transform: translateX(-50%) rotateZ(-5deg);
    }
    75% {
        transform: translateX(-50%) rotateZ(5deg);
    }
}

/* Car drives smoothly to finish line, then stops */
@keyframes carDriveToFinish {
    0% {
        left: 20%;
    }
    70% {
        left: 73%; /* Smoothly reaches finish line */
    }
    75% {
        left: 73%;
        transform: translateY(-5px) scale(1.05); /* Celebration bounce */
    }
    80% {
        left: 73%;
        transform: translateY(0) scale(1);
    }
    85% {
        left: 73%;
        transform: translateY(-3px) scale(1.03);
    }
    90%, 100% {
        left: 73%;
        transform: translateY(0) scale(1);
    }
}

/* Celebration appears after car reaches finish */
@keyframes celebrationAppear {
    0%, 68% {
        opacity: 0;
        visibility: hidden;
    }
    70% {
        opacity: 0;
        visibility: visible;
    }
    72% {
        opacity: 1;
    }
    98% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

/* Success message pulse */
@keyframes successPulse {
    0%, 68% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0;
    }
    70% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0;
    }
    75% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
    80% {
        transform: translate(-50%, -50%) scale(1);
    }
    85% {
        transform: translate(-50%, -50%) scale(1.05);
    }
    90%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

/* Firework burst effect */
@keyframes fireworkBurst {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        transform: scale(3);
        opacity: 0;
    }
}

/* Gradient color shift */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Icon spin */
@keyframes iconSpin {
    0%, 70% {
        transform: rotate(0deg) scale(1);
    }
    75% {
        transform: rotate(0deg) scale(1);
    }
    80% {
        transform: rotate(180deg) scale(1.3);
    }
    85% {
        transform: rotate(360deg) scale(1.1);
    }
    90%, 100% {
        transform: rotate(360deg) scale(1);
    }
}

/* Sparkle float effect */
@keyframes sparkleFloat {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-200px) rotate(360deg);
        opacity: 0;
    }
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 968px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .image-placeholder {
        height: 350px;
    }
    
    .booking-wrapper {
        grid-template-columns: 1fr;
    }
    
    .map-container iframe {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .car-container {
        bottom: 100px !important;
    }
    
    .road {
        height: 200px !important;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 400px;
        background: var(--bg-primary);
        flex-direction: column;
        padding: 5rem 2rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right var(--transition-base);
        align-items: flex-start;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero {
        padding: 6rem 0 3rem;
        min-height: 100vh;
    }
    
    .hero-content {
        padding: 1.5rem 1rem;
        z-index: 20;
        position: relative;
        margin-bottom: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-cta .btn-primary,
    .hero-cta .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    /* Simplify animations on tablet */
    .car {
        width: 120px;
        height: 60px;
    }
    
    .car-body::before {
        height: 28px;
        border-radius: 12px 12px 6px 6px;
    }
    
    .car-top {
        height: 30px;
        bottom: 24px;
        border-radius: 15px 15px 0 0;
    }
    
    .car-window {
        height: 21px;
        bottom: 26px;
        border-radius: 12px 12px 0 0;
    }
    
    .car-window::before {
        width: 2px;
    }
    
    .learner-plate {
        width: 20px;
        height: 20px;
        font-size: 12px;
    }
    
    .wheel {
        width: 20px;
        height: 20px;
        border: 2px solid #000;
    }
    
    .wheel-front {
        right: 15px;
    }
    
    .wheel-back {
        left: 19px;
    }
    
    .road {
        height: 200px !important;
        border-top: 6px solid #FFD700;
    }
    
    .road-lines {
        height: 5px;
    }    .car-container {
        bottom: 100px;
    }    .cloud {
        transform: scale(0.7);
    }
    
    .tree {
        transform: scale(0.7);
    }
    
    .building {
        transform: scale(0.7);
    }
    
    .road-sign {
        transform: scale(0.7);
    }
    
    .test-examiner {
        transform: scale(0.8);
    }
    
    .car-branding {
        font-size: 6px;
        letter-spacing: 0.3px;
    }
    
    .finish-line {
        width: 60px;
        border-left: 4px solid #FFD700;
        border-right: 4px solid #FFD700;
        background: repeating-linear-gradient(
            0deg,
            #000 0px,
            #000 12px,
            #fff 12px,
            #fff 24px
        );
    }
    
    .finish-flag {
        width: 45px;
        height: 38px;
    }
    
    .finish-text {
        font-size: 18px;
    }
    
    .banner-text {
        font-size: 2.2rem;
    }
    
    .banner-content i {
        font-size: 3rem;
    }
    
    .banner-content::before,
    .banner-content::after {
        width: 150px;
        height: 150px;
    }
    
    .confetti-container::before,
    .confetti-container::after {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .lessons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .logo-img {
        width: 140px;
        height: 60px;
    }
    
    .logo {
        padding: 0.3rem;
    }
}

@media (max-width: 480px) {
    .hero-animation {
        height: 100%;
        min-height: 350px;
    }
    
    .service-area-map .section-header {
        display: none; /* Hide map header on mobile */
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }
    
    .lessons-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .logo-container {
        gap: 10px;
    }
    
    .logo-text {
        font-size: 0.95rem;
    }
    
    .logo-img {
        width: 140px;
        height: 55px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 15px;
    }
    
    .whatsapp-float i {
        font-size: 1.5rem;
    }
    
    .map-container iframe {
        min-height: 250px;
    }
    
    /* Simplify car animation on small screens */
    .car {
        width: 90px;
        height: 45px;
    }
    
    .car-body::before {
        height: 20px;
        border-radius: 8px 8px 4px 4px;
    }
    
    .car-top {
        bottom: 18px;
        height: 22px;
        border-radius: 10px 10px 0 0;
    }
    
    .car-window {
        bottom: 19px;
        height: 16px;
        border-radius: 8px 8px 0 0;
    }
    
    .car-window::before {
        width: 2px;
    }
    
    .learner-plate {
        width: 15px;
        height: 15px;
        font-size: 9px;
        border: 1.5px solid #fff;
        top: 3px;
        left: 3px;
    }
    
    .wheel {
        width: 15px;
        height: 15px;
        border: 2px solid #000;
        bottom: -6px;
    }
    
    .wheel-front {
        right: 11px;
    }
    
    .wheel-back {
        left: 14px;
    }
    
    .road {
        height: 180px !important;
        border-top: 3px solid #FFD700;
    }    .road-lines {
        height: 4px;
    }
    
    .car-container {
        bottom: 95px;
    }    .cloud {
        transform: scale(0.5);
    }
    
    .tree {
        transform: scale(0.5);
    }
    
    .building {
        transform: scale(0.5);
    }
    
    .road-sign {
        transform: scale(0.5);
    }
    
    .test-examiner {
        transform: scale(0.6);
    }
    
    .car-branding {
        font-size: 4.5px;
        letter-spacing: 0.2px;
        bottom: 6px;
    }
    
    .logo-img {
        width: 120px;
        height: 50px;
    }
    
    .logo {
        padding: 0.25rem;
    }
    
    .logo-img:hover {
        transform: scale(1.05);
    }
    
    .finish-line {
        width: 45px;
        border-left: 3px solid #FFD700;
        border-right: 3px solid #FFD700;
        background: repeating-linear-gradient(
            0deg,
            #000 0px,
            #000 10px,
            #fff 10px,
            #fff 20px
        );
    }
    
    .finish-flag {
        width: 30px;
        height: 25px;
        border: 2px solid #FFD700;
    }
    
    .finish-text {
        font-size: 12px;
        letter-spacing: 1px;
    }
    
    .banner-text {
        font-size: 1.5rem;
        letter-spacing: 0.05em;
    }
    
    .banner-content i {
        font-size: 2rem;
    }
    
    .banner-content::before,
    .banner-content::after {
        width: 120px;
        height: 120px;
    }
    
    .confetti-container::before,
    .confetti-container::after {
        font-size: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .footer-bottom-links a {
        font-size: 0.85rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .btn-primary {
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* ===================================
   Accessibility
   =================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* Skip to content link for screen readers */
.skip-to-content {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--primary-color);
    color: var(--text-light);
    padding: var(--spacing-sm) var(--spacing-md);
    z-index: 9999;
}

.skip-to-content:focus {
    top: 0;
}

/* ===================================
   SCROLL TO TOP BUTTON
   =================================== */

.scroll-to-top {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, #0056b3, #003d82);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:active {
    transform: translateY(0);
}

/* Responsive adjustments for scroll to top */
@media (max-width: 768px) {
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 15px;
        left: 15px;
        font-size: 18px;
    }
}

/* ===================================
   WHY CHOOSE US SECTION
   =================================== */

.why-choose-us {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.why-choose-us::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.05) 30%, rgba(236, 72, 153, 0.03) 60%, transparent 70%);
    animation: rotate 25s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.why-choose-us .section-header {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 70px;
}

.why-choose-us .section-header h2,
.why-choose-us .section-header p {
    color: var(--text-primary);
}

.why-choose-us .section-header h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: none;
    color: var(--text-primary);
}

/* Promise Section Styling */
.promise-section {
    margin-top: 60px;
}

.promise-header {
    text-align: center;
    margin-bottom: 50px;
}

.promise-header h3 {
    font-size: 2.2rem;
    color: #1e293b;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #1e293b, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.promise-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.promise-decoration .decoration-line {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
}

.promise-decoration i {
    color: #3b82f6;
    font-size: 1.3rem;
}

.promises-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

/* Large screens - 2x3 layout */
@media (min-width: 1200px) {
    .promises-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px;
        max-width: 1400px;
        margin: 60px auto 0;
    }
}

/* Medium screens - 2x3 layout */
@media (min-width: 900px) and (max-width: 1199px) {
    .promises-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

.promise-item {
    background: rgba(255, 255, 255, 0.95);
    padding: 35px 25px;
    border-radius: 20px;
    text-align: left;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    min-height: 180px;
}

.promise-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.promise-icon i {
    color: white;
    font-size: 1.5rem;
}

.promise-content {
    flex: 1;
}

.promise-content h4 {
    color: #1e293b;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.promise-content p {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

.promise-number {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1f2937;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.8rem;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.promise-item:hover .promise-number {
    opacity: 1;
    transform: scale(1);
}

.promise-item:hover .promise-icon {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.4);
}

.promises-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

/* Large screens - 2x3 layout */
@media (min-width: 1200px) {
    .promises-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px;
        max-width: 1400px;
        margin: 60px auto 0;
    }
}

/* Medium screens - 2x3 layout */
@media (min-width: 900px) and (max-width: 1199px) {
    .promises-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

.promise-item {
    background: rgba(255, 255, 255, 0.95);
    padding: 35px 25px;
    border-radius: 20px;
    text-align: left;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    min-height: 180px;
}

.promise-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.promise-icon i {
    color: white;
    font-size: 1.5rem;
}

.promise-content {
    flex: 1;
}

.promise-content h4 {
    color: #1e293b;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.promise-content p {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

.promise-number {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1f2937;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.8rem;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.promise-item:hover .promise-number {
    opacity: 1;
    transform: scale(1);
}

.promise-item:hover .promise-icon {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.4);
}

.promise-item:nth-child(1) { animation-delay: 0.1s; }
.promise-item:nth-child(2) { animation-delay: 0.2s; }
.promise-item:nth-child(3) { animation-delay: 0.3s; }
.promise-item:nth-child(4) { animation-delay: 0.4s; }
.promise-item:nth-child(5) { animation-delay: 0.5s; }
.promise-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.promise-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.promise-item:hover::before {
    transform: scaleX(1);
}

.promise-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(59, 130, 246, 0.25), 0 0 30px rgba(139, 92, 246, 0.3);
    border-color: rgba(59, 130, 246, 0.5);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(248, 250, 252, 1) 100%);
}

.promise-item i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
    display: inline-block;
}

.promise-item:hover i {
    transform: scale(1.2) rotate(5deg);
}

.promise-item h4 {
    color: #1e293b;
    margin-bottom: 18px;
    font-size: 1.4rem;
    font-weight: 700;
}

.promise-item p {
    color: #64748b;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* What Makes Us Different Section - Match Why Choose Us */
.what-makes-different-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    position: relative;
    overflow: hidden;
}

.what-makes-different-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    animation: float 20s ease-in-out infinite;
    z-index: 1;
}

.what-makes-different-section .container {
    position: relative;
    z-index: 2;
}

.what-makes-different-section .section-header {
    text-align: center;
    margin-bottom: 80px;
}

.what-makes-different-section .section-header h2 {
    color: var(--text-primary);
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: none;
}

.what-makes-different-section .section-header p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: none;
}

/* What Makes Us Different Grid */
.differences-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

/* Large screens - 3x2 layout */
@media (min-width: 1200px) {
    .differences-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        max-width: 1400px;
        margin: 0 auto 60px;
    }
}

/* Medium screens - 2x3 layout */
@media (min-width: 768px) and (max-width: 1199px) {
    .differences-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* Small screens - single column */
@media (max-width: 767px) {
    .differences-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.difference-item {
    background: white;
    border-radius: 20px;
    padding: 35px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 200px;
    transform: translateY(30px);
    opacity: 0;
    animation: slideInUp 0.8s ease forwards;
}

.difference-item:nth-child(1) { animation-delay: 0.1s; }
.difference-item:nth-child(2) { animation-delay: 0.2s; }
.difference-item:nth-child(3) { animation-delay: 0.3s; }
.difference-item:nth-child(4) { animation-delay: 0.4s; }
.difference-item:nth-child(5) { animation-delay: 0.5s; }
.difference-item:nth-child(6) { animation-delay: 0.6s; }

.difference-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.difference-item:hover::before {
    transform: scaleX(1);
}

.difference-item:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 60px rgba(59, 130, 246, 0.2), 0 0 40px rgba(139, 92, 246, 0.3), 0 0 60px rgba(236, 72, 153, 0.2);
    border-color: rgba(59, 130, 246, 0.5);
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 30%, #fef3f2 60%, #fffbeb 100%);
}

.item-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6, #ec4899, #10b981, #f59e0b);
    background-size: 500% 500%;
    animation: wobble 4s ease-in-out infinite, rainbowShift 6s ease infinite;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4), 0 0 30px rgba(139, 92, 246, 0.3);
}

@keyframes rainbowShift {
    0% { background-position: 0% 50%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 50% 100%; }
    75% { background-position: 0% 50%; }
    100% { background-position: 50% 0%; }
}

@keyframes wobble {
    0%, 100% { transform: rotate(0deg); }
    15% { transform: rotate(2deg); }
    30% { transform: rotate(-2deg); }
    45% { transform: rotate(1deg); }
    60% { transform: rotate(-1deg); }
    75% { transform: rotate(0deg); }
}

.difference-item:hover .item-icon {
    transform: scale(1.2) rotate(20deg);
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.6), 0 0 60px rgba(139, 92, 246, 0.5), 0 0 80px rgba(236, 72, 153, 0.4), 0 0 100px rgba(16, 185, 129, 0.3);
    animation-duration: 2s;
}

.item-icon i {
    color: white;
    font-size: 1.8rem;
}

.item-content h4 {
    color: #1e293b;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.item-content p {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

.item-highlight {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1f2937;
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.difference-item:hover .item-highlight {
    opacity: 1;
    transform: translateY(0);
}



.card-background {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    transform: rotate(45deg);
    transition: transform 0.6s ease;
}

.value-card:hover .card-background {
    transform: rotate(45deg) scale(1.2);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.value-card:hover .card-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.4);
}

.card-icon i {
    font-size: 2rem;
    color: white;
    z-index: 1;
}

.card-content {
    position: relative;
    z-index: 2;
}

.card-content h4 {
    color: #1e293b;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.card-content p {
    color: #64748b;
    line-height: 1.6;
    font-size: 1rem;
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1f2937;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 3;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.value-card:hover .card-badge {
    opacity: 1;
    transform: translateY(0);
}

/* Excellence Section */
.excellence-section {
    position: relative;
    z-index: 2;
    padding-top: 40px;
    border-top: 2px solid rgba(59, 130, 246, 0.1);
}

.excellence-header {
    text-align: center;
    margin-bottom: 40px;
}

.excellence-header h4 {
    color: #1e293b;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.excellence-header p {
    color: #64748b;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.excellence-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 4px solid #3b82f6;
}

.feature-card:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.15);
    border-left-width: 6px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: rgba(59, 130, 246, 0.2);
    transform: scale(1.1);
}

.feature-icon i {
    color: #3b82f6;
    font-size: 1.3rem;
}

.feature-content h5 {
    color: #1e293b;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-content p {
    color: #64748b;
    line-height: 1.5;
    margin: 0;
    font-size: 0.95rem;
}

/* Scroll-triggered animations */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Enhanced mobile responsiveness */
@media (max-width: 768px) {
    .promises-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .promises-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .promise-item {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
        min-height: auto;
    }
    
    .promise-icon {
        margin-bottom: 15px;
    }
    
    .differences-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .difference-item {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
        min-height: auto;
    }
    
    .difference-icon {
        margin-bottom: 15px;
    }
    
    .what-makes-different-section .section-header h2 {
        font-size: 2rem;
    }
    
    .excellence-features {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .what-makes-different {
        padding: 30px 20px;
    }
    
    .different-header h3 {
        font-size: 2rem;
    }
    
    .promise-item {
        padding: 30px 25px;
    }
    
    .promise-item i {
        font-size: 2.5rem;
    }
    
    .promise-item h4 {
        font-size: 1.2rem;
    }
    
    .lesson-price {
        font-size: 2rem;
    }
    
    .why-choose-us .section-header h2 {
        font-size: 2.2rem;
    }
}

/* ===================================
   TEST CENTRES SECTION
   =================================== */

.test-centres {
    margin-top: 40px;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.test-centres h3 {
    text-align: center;
    color: #1e293b;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.centres-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.centre-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    border-left: 4px solid #3b82f6;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.centre-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s;
}

.centre-item:hover::before {
    left: 100%;
}

.centre-item:hover {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    transform: translateX(8px) translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
    border-left-width: 6px;
}

.centre-item i {
    color: #3b82f6;
    font-size: 1.2rem;
}

.centre-item span {
    color: #1e293b;
    font-weight: 500;
}

.test-centre-note {
    text-align: center;
    color: #64748b;
    font-style: italic;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

/* ===================================
   PAYMENT METHODS SECTION
   =================================== */

.payment-methods {
    padding: 100px 0;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
}

.payment-methods::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="payment-pattern" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23payment-pattern)"/></svg>') repeat;
    animation: floatPattern 25s linear infinite;
}

.payment-methods .section-header h2,
.payment-methods .section-header p {
    color: var(--text-primary);
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.payment-option {
    background: white;
    color: #1e293b;
    padding: 35px 30px;
    border-radius: 16px;
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(20px);
    opacity: 0;
    animation: slideInUp 0.6s ease forwards;
    border: 2px solid transparent;
    overflow: hidden;
}

.payment-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.payment-option:hover::before {
    transform: scaleX(1);
}

.payment-option:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 50px rgba(59, 130, 246, 0.2), 0 0 30px rgba(16, 185, 129, 0.3);
    border-color: rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 50%, #ecfdf5 100%);
}

.payment-option:nth-child(1) { animation-delay: 0.1s; }
.payment-option:nth-child(2) { animation-delay: 0.2s; }
.payment-option:nth-child(3) { animation-delay: 0.3s; }

.payment-option.featured {
    border: 3px solid #fbbf24;
}

.payment-option .featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #fbbf24;
    color: #1e293b;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.payment-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8, #10b981, #f59e0b);
    background-size: 400% 400%;
    animation: gradientPulse 4s ease infinite, pulse 3s ease-in-out infinite;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4), 0 0 20px rgba(16, 185, 129, 0.2);
}

@keyframes gradientPulse {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.payment-option:hover .payment-icon {
    transform: scale(1.2) rotate(10deg);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.5), 0 0 50px rgba(16, 185, 129, 0.4), 0 0 70px rgba(245, 158, 11, 0.3);
    animation-duration: 2s;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3); }
    50% { box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6); }
}

.payment-icon i {
    font-size: 2rem;
    color: white;
}

.payment-option h3 {
    color: #1e293b;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.payment-features {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.payment-features li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #64748b;
}

.payment-features i {
    color: #10b981;
    font-size: 0.9rem;
}

/* Cancellation Policy */
.cancellation-policy {
    margin-top: 60px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.1), 0 0 30px rgba(139, 92, 246, 0.1);
    position: relative;
    overflow: hidden;
}

.cancellation-policy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899, #10b981);
    background-size: 300% 300%;
    animation: gradientShift 3s ease infinite;
}

.cancellation-policy h3 {
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.cancellation-policy h3 i {
    margin-right: 10px;
    color: #fbbf24;
}

.policy-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
    text-align: center;
}

.policy-highlight {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
    padding: 18px 25px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    border-radius: 15px;
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    transition: all 0.3s ease;
    animation: pulse 4s ease-in-out infinite;
}

.policy-highlight:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.2);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(16, 185, 129, 0.15) 100%);
}

.policy-highlight i {
    color: #fbbf24;
    font-size: 1.3rem;
    animation: bounce 2s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

.policy-highlight:first-child i {
    color: #10b981;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.policy-highlight:last-child i {
    color: #ef4444;
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

.policy-highlight span {
    color: var(--text-primary);
    font-weight: 500;
}

@media (max-width: 768px) {
    .centres-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .payment-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .policy-highlight {
        flex-direction: column;
        text-align: center;
        gap: 8px;
        padding: 15px;
    }
    
    .section-header {
        margin-bottom: 40px;
        padding: 0 15px;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .section-header p {
        font-size: 1.1rem;
    }
    
    .payment-option {
        padding: 25px 20px;
    }
    
    .cancellation-policy {
        padding: 25px 20px;
    }
}

/* ===================================
   SCROLL-TRIGGERED ANIMATIONS
   =================================== */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays */
.animate-on-scroll:nth-child(1) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(2) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.4s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.5s; }
.animate-on-scroll:nth-child(6) { transition-delay: 0.6s; }

/* Glowing effect on scroll */
@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(59, 130, 246, 0.3); }
    50% { box-shadow: 0 0 40px rgba(59, 130, 246, 0.6); }
}

/* Bounce effect for special elements */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Enhanced loading states */
.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Add colorful border animation */
.colorful-border {
    position: relative;
    overflow: hidden;
}

.colorful-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899, #10b981, #f59e0b);
    animation: borderSlide 3s ease-in-out infinite;
}

@keyframes borderSlide {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: -100%; }
}

/* ===================================
   FAQ Section
   =================================== */
.faq {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.faq::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, rgba(139, 92, 246, 0.03) 50%, transparent 70%);
    animation: rotate 30s linear infinite;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e1e8ed;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.faq-header {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transition: all 0.3s ease;
    user-select: none;
}

.faq-header:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

.faq-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    flex: 1;
    padding-right: 20px;
    line-height: 1.4;
}

.faq-icon {
    font-size: 24px;
    font-weight: bold;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-item.open .faq-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(180deg);
}

.faq-content {
    padding: 0;
    display: none;
    background: #fff;
}

.faq-content p {
    margin: 0;
    padding: 25px 30px;
    line-height: 1.7;
    color: #555;
    font-size: 16px;
    border-top: 1px solid #f0f0f0;
}

/* Mobile responsiveness for FAQ */
@media (max-width: 768px) {
    .faq-container {
        padding: 0 15px;
    }
    
    .faq-header {
        padding: 20px;
    }
    
    .faq-header h3 {
        font-size: 16px;
        padding-right: 15px;
    }
    
    .faq-content p {
        padding: 20px;
        font-size: 15px;
    }
    
    .faq-icon {
        width: 30px;
        height: 30px;
        font-size: 20px;
    }
}

/* ===================================
   SERVICE AREAS SECTION
   =================================== */

.service-areas-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-top: 1px solid #e1e8ed;
}

.service-areas-header {
    text-align: center;
    margin-bottom: 50px;
}

.service-areas-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.service-areas-header p {
    font-size: 1.2rem;
    color: #64748b;
    font-weight: 500;
}

.service-areas-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.service-area-tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

/* Staggered animation delays */
.service-area-tag:nth-child(1) { animation-delay: 0.1s; }
.service-area-tag:nth-child(2) { animation-delay: 0.15s; }
.service-area-tag:nth-child(3) { animation-delay: 0.2s; }
.service-area-tag:nth-child(4) { animation-delay: 0.25s; }
.service-area-tag:nth-child(5) { animation-delay: 0.3s; }
.service-area-tag:nth-child(6) { animation-delay: 0.35s; }
.service-area-tag:nth-child(7) { animation-delay: 0.4s; }
.service-area-tag:nth-child(8) { animation-delay: 0.45s; }
.service-area-tag:nth-child(9) { animation-delay: 0.5s; }
.service-area-tag:nth-child(10) { animation-delay: 0.55s; }
.service-area-tag:nth-child(11) { animation-delay: 0.6s; }
.service-area-tag:nth-child(12) { animation-delay: 0.65s; }
.service-area-tag:nth-child(13) { animation-delay: 0.7s; }
.service-area-tag:nth-child(14) { animation-delay: 0.75s; }
.service-area-tag:nth-child(15) { animation-delay: 0.8s; }
.service-area-tag:nth-child(16) { animation-delay: 0.85s; }
.service-area-tag:nth-child(17) { animation-delay: 0.9s; }
.service-area-tag:nth-child(18) { animation-delay: 0.95s; }
.service-area-tag:nth-child(19) { animation-delay: 1s; }
.service-area-tag:nth-child(20) { animation-delay: 1.05s; }
.service-area-tag:nth-child(21) { animation-delay: 1.1s; }
.service-area-tag:nth-child(22) { animation-delay: 1.15s; }
.service-area-tag:nth-child(23) { animation-delay: 1.2s; }
.service-area-tag:nth-child(24) { animation-delay: 1.25s; }

.service-area-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.service-area-tag:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

.service-area-tag:hover::before {
    left: 100%;
}

.service-area-tag:active {
    transform: translateY(-2px) scale(1.02);
}

/* Mobile responsiveness for service areas */
@media (max-width: 768px) {
    .service-areas-section {
        padding: 40px 0;
    }
    
    .service-areas-header h2 {
        font-size: 2rem;
    }
    
    .service-areas-header p {
        font-size: 1rem;
    }
    
    .service-areas-grid {
        gap: 10px;
        padding: 0 20px;
    }
    
    .service-area-tag {
        padding: 10px 18px;
        font-size: 14px;
    }
}

/* ===================================
   TESTIMONIALS PAGE
   =================================== */

.testimonials-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.testimonials-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 25s linear infinite;
}

.testimonials-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.testimonials-hero .hero-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
    color: #ffffff !important;
    opacity: 1 !important;
}

.testimonials-hero .hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 1 !important;
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* Ensure social media icons maintain proper colors */
.social-links a i {
    color: #667eea !important;
    transition: color 0.3s ease;
}

.social-links a:hover i {
    color: #764ba2 !important;
}

/* Testimonials page star styling - ensure always visible */
.star-rating i,
.review-stars i {
    color: #fbbc04 !important;
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
}

.star-rating i {
    font-size: 20px !important;
    margin: 0 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: twinkle 4s ease-in-out infinite;
}

.review-stars i {
    font-size: 12px !important;
    margin: 0 1px;
}

/* Call to Action Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.btn-lg {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

@media (max-width: 768px) {
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-lg {
        width: 100%;
        max-width: 280px;
    }
}

.google-rating-summary {
    background: rgba(255, 255, 255, 0.2) !important;
    padding: 40px 30px;
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    margin-top: 30px;
}

.rating-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.stars {
    display: flex;
    gap: 5px;
}

.stars {
    display: flex;
    gap: 3px;
    align-items: center;
    justify-content: center;
}

.stars i {
    color: #fbbc04 !important;
    font-size: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: twinkle 4s ease-in-out infinite;
    display: inline-block;
    filter: drop-shadow(0 0 3px rgba(251, 188, 4, 0.6));
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.stars i:nth-child(1) { animation-delay: 0s; }
.stars i:nth-child(2) { animation-delay: 0.2s; }
.stars i:nth-child(3) { animation-delay: 0.4s; }
.stars i:nth-child(4) { animation-delay: 0.6s; }
.stars i:nth-child(5) { animation-delay: 0.8s; }

@keyframes twinkle {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1); 
        filter: drop-shadow(0 0 2px rgba(255, 193, 7, 0.6));
    }
    25% { 
        opacity: 0.8; 
        transform: scale(1.05); 
        filter: drop-shadow(0 0 4px rgba(255, 193, 7, 0.8));
    }
    50% { 
        opacity: 0.9; 
        transform: scale(1.1); 
        filter: drop-shadow(0 0 6px rgba(255, 193, 7, 1));
    }
    75% { 
        opacity: 0.8; 
        transform: scale(1.05); 
        filter: drop-shadow(0 0 4px rgba(255, 193, 7, 0.8));
    }
}

.rating-score {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.rating-source {
    margin-bottom: 20px;
    opacity: 1 !important;
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: 500;
}

.google-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.25) !important;
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #ffffff !important;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.google-link:hover {
    background: white !important;
    color: #667eea !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-color: white;
    text-shadow: none;
}

.google-link i {
    color: inherit !important;
}

/* Testimonials Section - Google Style */
.testimonials-section {
    padding: 60px 0;
    background: #ffffff;
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-card {
    background: white;
    border-radius: 0;
    padding: 24px 0;
    box-shadow: none;
    border: none;
    border-bottom: 1px solid #e8eaed;
    transition: background-color 0.2s ease;
    position: relative;
    overflow: visible;
    transform: none;
    opacity: 1;
    animation: none;
}

.testimonial-card:last-child {
    border-bottom: none;
}

.testimonial-card:hover {
    background-color: #f8f9fa;
    transform: none;
    box-shadow: none;
    border-color: #e8eaed;
}

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }
.testimonial-card:nth-child(4) { animation-delay: 0.4s; }
.testimonial-card:nth-child(5) { animation-delay: 0.5s; }
.testimonial-card:nth-child(6) { animation-delay: 0.6s; }

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.testimonial-card:hover::before {
    transform: scaleX(1);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.testimonial-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 16px;
}

.reviewer-info {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    background: #1a73e8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    font-weight: 500;
    box-shadow: none;
    flex-shrink: 0;
}

.reviewer-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.reviewer-name {
    color: #202124;
    font-size: 14px;
    font-weight: 400;
    margin: 0;
    line-height: 20px;
}

.review-rating {
    display: flex;
    gap: 1px;
    align-items: center;
}

.review-rating i {
    color: #fbbc04 !important;
    font-size: 12px;
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.review-date {
    color: #5f6368;
    font-size: 12px;
    margin-left: 8px;
}

.google-logo {
    color: #4285f4;
    font-size: 16px;
    margin-left: auto;
}

.testimonial-content {
    margin-left: 56px;
    margin-top: 8px;
}

.testimonial-content p {
    color: #3c4043;
    line-height: 20px;
    font-size: 14px;
    margin: 0;
    font-style: normal;
    word-wrap: break-word;
}

.testimonial-footer {
    display: none;
}

.verified-badge {
    display: none;
}

/* Testimonials CTA */
.testimonials-cta {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: 25px;
    border: 2px solid rgba(59, 130, 246, 0.2);
}

.cta-content h3 {
    font-size: 2.2rem;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .testimonials-grid {
        margin: 0 16px;
    }
    
    .testimonial-card {
        padding: 20px 0;
    }
    
    .testimonial-content {
        margin-left: 56px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn-lg {
        width: 100%;
        max-width: 300px;
    }
    
    .google-rating-summary {
        padding: 20px;
    }
    
    .rating-display {
        flex-direction: column;
        gap: 10px;
    }
}

/* ===================================
   BREATHING ANIMATION FOR DEVELOPER LINK
   =================================== */

.breathing-link {
    animation: breathe 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

.breathing-link:hover {
    animation-play-state: paused;
    transform: scale(1.1);
    text-shadow: 0 0 8px rgba(59, 130, 246, 0.6);
}

@keyframes breathe {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

/* ===================================
   FAQ PAGE STYLES
   =================================== */

.faq-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 120px 0 80px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.faq-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="60" cy="40" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="40" cy="70" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.3;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    animation: fadeInUp 0.8s ease forwards;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 8px;
    animation: countUp 2s ease;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: #f8fafc;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(20px);
    opacity: 0;
    animation: slideInUp 0.6s ease forwards;
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.15s; }
.faq-item:nth-child(3) { animation-delay: 0.2s; }
.faq-item:nth-child(4) { animation-delay: 0.25s; }
.faq-item:nth-child(5) { animation-delay: 0.3s; }
.faq-item:nth-child(6) { animation-delay: 0.35s; }
.faq-item:nth-child(7) { animation-delay: 0.4s; }
.faq-item:nth-child(8) { animation-delay: 0.45s; }
.faq-item:nth-child(9) { animation-delay: 0.5s; }
.faq-item:nth-child(10) { animation-delay: 0.55s; }

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.faq-question {
    padding: 24px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-item.active .faq-question {
    background: #f0f9ff;
    border-bottom-color: #e0f2fe;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    flex: 1;
    line-height: 1.4;
}

.faq-toggle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: 20px;
}

.faq-toggle i {
    color: white;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    background: #10b981;
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fafbfc;
    padding: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 20px 30px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    padding-top: 16px;
}

/* FAQ CTA Section */
.faq-cta {
    text-align: center;
    margin-top: 80px;
    padding: 60px;
    background: linear-gradient(135deg, var(--primary-gradient));
    border-radius: 20px;
    color: white;
    position: relative;
    overflow: hidden;
}

.faq-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shine 3s ease-in-out infinite;
}

.faq-cta h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.faq-cta p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* FAQ Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes countUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    50% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* FAQ Mobile Responsiveness */
@media (max-width: 768px) {
    .faq-hero {
        padding: 100px 0 60px;
    }
    
    .hero-stats {
        gap: 40px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .faq-section {
        padding: 60px 0;
    }
    
    .faq-question {
        padding: 20px 24px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 24px 20px;
    }
    
    .faq-cta {
        padding: 40px 30px;
        margin-top: 60px;
    }
    
    .faq-cta h3 {
        font-size: 1.5rem;
    }
}
