* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary-blue: #0066cc;
            --secondary-blue: #004499;
            --light-blue: #e6f2ff;
            --accent-blue: #3399ff;
            --white: #ffffff;
            --light-gray: #f8f9fa;
            --dark-gray: #2c3e50;
            --text-gray: #64748b;
            --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
            --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
            --shadow-light: 0 10px 40px rgba(0, 0, 0, 0.1);
            --shadow-medium: 0 20px 60px rgba(206, 122, 122, 0.15);
            --shadow-heavy: 0 30px 80px rgba(0, 0, 0, 0.2);
            --gradient-blue: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
            --shadow-soft: 0 8px 30px rgba(0,0,0,0.06);
            --shadow-glow: 0 18px 50px rgba(51,153,255,0.08);
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            line-height: 1.6;
            color: var(--dark-gray);
            background-color: var(--white);
            overflow-x: hidden;
        }

        /* Navigation */
        .nav-bar {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            z-index: 1000;
            padding: 1rem 0;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            border-bottom: 1px solid rgba(0, 102, 204, 0.1);
        }

        .nav-container {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 2rem;
        }

        .logo-section {
            display: flex;
            align-items: center;
            gap: 1rem;
            animation: slideInLeft 1s ease-out;
        }

        .logo-img {
            width: 60px;
            height: 60px;
            border-radius: 12px;
            box-shadow: var(--shadow-light);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .logo-img:hover {
            transform: scale(1.05);
            box-shadow: var(--shadow-medium);
        }

        .tagline {
            font-size: 0.95rem;
            color: var(--text-gray);
            font-weight: 500;
            opacity: 0;
            animation: fadeInUp 1s ease-out 0.5s forwards;
        }

        .nav-menu {
            display: flex;
            list-style: none;
            gap: 3rem;
            animation: slideInDown 1s ease-out 0.3s both;
        }

        .nav-menu a {
            text-decoration: none;
            color: var(--dark-gray);
            font-weight: 600;
            font-size: 0.95rem;
            transition: all 0.3s ease;
            position: relative;
            padding: 0.5rem 0;
        }

        .nav-menu a::before {
            content: '';
            position: absolute;
            width: 0;
            height: 3px;
            bottom: 0;
            left: 50%;
            background: linear-gradient(45deg, var(--primary-blue), var(--accent-blue));
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            border-radius: 2px;
            transform: translateX(-50%);
        }

        .nav-menu a:hover::before {
            width: 100%;
        }

        .nav-menu a:hover {
            color: var(--primary-blue);
            transform: translateY(-2px);
            /* Glassmorphic effect */
            background: rgba(255, 255, 255, 0.25);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            border-radius: 12px;
            border: 1px solid rgba(0, 102, 204, 0.12);
            box-shadow: 0 2px 12px rgba(0, 102, 204, 0.07);
        }

        .cta-buttons {
            display: flex;
            gap: 1rem;
            animation: slideInRight 1s ease-out 0.7s both;
        }

        .btn {
            padding: 1rem 2rem;
            border: none;
            border-radius: 50px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 0.7rem;
            position: relative;
            overflow: hidden;
            font-size: 0.95rem;
        }

        .btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            transition: left 0.5s;
        }

        .btn:hover::before {
            left: 100%;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
            color: var(--white);
            box-shadow: 0 8px 30px rgba(0, 102, 204, 0.3);
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 50px rgba(0, 102, 204, 0.4);
        }

        .btn-secondary {
            background: transparent;
            color: #fff; /* Make text white */
            border: 2px solid #fff; /* White border for contrast */
            backdrop-filter: blur(10px);
        }

        .btn-secondary:hover {
            background: rgba(255,255,255,0.15); /* Subtle white background on hover */
            color: var(--primary-blue);
            border-color: #fff;
            transform: translateY(-3px);
            box-shadow: 0 10px 40px rgba(0, 102, 204, 0.3);
        }

        /* Hero Section */
    .hero-content-wrapper {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 3rem;
    }

    .hero {
        padding: 15rem 0 10rem; /* Remove horizontal padding */
        text-align: center;
        /* Dark overlay + background image, image slightly zoomed and shifted left */
        background: linear-gradient(
        rgba(0, 0, 0, 0.55),
        rgba(0, 0, 0, 0.55)
          ),
          url('students.jpg');
          background-repeat: no-repeat;
          background-position: center center;
          background-size: cover;
        color: #fff;
        position: relative;
        overflow: hidden;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .hero::before {
        /* Remove SVG animation background */
        content: '';
        /* Remove SVG background and animation */
        /* background: url('data:image/svg+xml,...'); */
        /* animation: rotate 20s linear infinite; */
        display: none;
    }
    /* Remove floating-shape from hero */
    .floating-shape {
        display: none;
    }

    .hero-container {
        max-width: 900px; /* Reduce from 1000px */
        margin: 0 auto;
        position: relative;
        z-index: 2;
    }
    .hero-heading {
        text-align: center;
        margin-bottom: 3rem;
    }
    .hero-features-row {
        display: flex;
        gap: 2.5rem;
        justify-content: center;
        align-items: stretch;
        flex-wrap: wrap;
    }
    .hero-feature-col {
        background: rgba(255,255,255,0.13);
        border-radius: 18px;
        padding: 2rem 1.5rem 2rem 1.5rem;
        box-shadow: 0 4px 24px rgba(0,0,0,0.07);
        flex: 1 1 340px;
        min-width: 280px;
        max-width: 480px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 2rem;
    }
    .feature-icon {
        font-size: 2.2rem;
        color: #fff;
        background: var(--primary-blue);
        border-radius: 12px;
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1rem;
    }
    .hero-feature-col h4 {
        margin: 0 0 0.5rem 0;
        font-size: 1.1rem;
        color: #fff;
        font-weight: 700;
    }
    .hero-feature-col p {
        color: #e0e7ff;
        font-size: 1rem;
        margin: 0;
    }
    @media (max-width: 900px) {
        .hero {
            background-position: center center !important;
            background-size: cover !important;
            min-height: 100vh;
            padding: 10rem 0 6rem;
        }
        .hero-features-row {
        flex-direction: column;
        align-items: stretch;
        }
        .hero-feature-col {
        max-width: 100%;
        }
    }
    /* Floating elements */
    .floating-shape {
        position: absolute;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
        animation: float 6s ease-in-out infinite;
    }

    .floating-shape:nth-child(1) {
        width: 80px;
        height: 80px;
        top: 20%;
        left: 10%;
        animation-delay: 0s;
    }

    .floating-shape:nth-child(2) {
        width: 120px;
        height: 120px;
        top: 60%;
        right: 15%;
        animation-delay: 2s;
    }

    .floating-shape:nth-child(3) {
        width: 60px;
        height: 60px;
        bottom: 30%;
        left: 20%;
        animation-delay: 4s;
    }

    /* Vision & Mission */
    .vision-mission {
        padding: 8rem 2rem;
        background: var(--white);
        position: relative;
        /* Add relative for floating shapes and SVG background */
    }
    /* Add animated SVG background to vision-mission */
    .vision-mission::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 1000 1000"><circle cx="500" cy="500" r="300" fill="none" stroke="rgba(102,126,234,0.12)" stroke-width="2"/><circle cx="500" cy="500" r="200" fill="none" stroke="rgba(102,126,234,0.08)" stroke-width="1"/><circle cx="500" cy="500" r="100" fill="none" stroke="rgba(102,126,234,0.04)" stroke-width="0.5"/></svg>');
        animation: rotateCounterClockwise 25s linear infinite;
        z-index: 0;
    }
    .vision-mission::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 30% 20%, rgba(102, 126, 234, 0.06) 0%, transparent 50%),
            radial-gradient(circle at 70% 80%, rgba(118, 75, 162, 0.04) 0%, transparent 50%);
        animation: pulse 8s ease-in-out infinite;
        z-index: 0;
    }
    /* Add floating shapes to vision-mission */
    .vision-mission .floating-shape {
        position: absolute;
        border-radius: 50%;
        background: rgba(102, 126, 234, 0.08);
        animation: float 6s ease-in-out infinite;
        z-index: 1;
    }
    .vision-mission .floating-shape:nth-child(1) {
        width: 80px;
        height: 80px;
        top: 20%;
        left: 10%;
        animation-delay: 0s;
    }
    .vision-mission .floating-shape:nth-child(2) {
        width: 120px;
        height: 120px;
        top: 60%;
        right: 15%;
        animation-delay: 2s;
    }
    .vision-mission .floating-shape:nth-child(3) {
        width: 60px;
        height: 60px;
        bottom: 30%;
        left: 20%;
        animation-delay: 4s;
    }

    .container {
        max-width: 1400px;
        margin: 0 auto;
    }

    .section-title {
        text-align: center;
        font-size: clamp(2rem, 4vw, 3rem);
        color: var(--dark-gray);
        margin-bottom: 4rem;
        position: relative;
        font-weight: 800;
        opacity: 0;
        animation: fadeInUp 1s ease-out forwards;
    }

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -15px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
        border-radius: 2px;
    }

    .vision-mission-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        margin-top: 5rem;
    }

    .vision-card, .mission-card {
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
        padding: 3rem;
        border-radius: 24px;
        border: 1px solid rgba(102, 126, 234, 0.15);
        box-shadow: var(--shadow-light);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
        opacity: 0;
        transform: translateY(30px);
        backdrop-filter: blur(10px);
    }

    .vision-card::before, .mission-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
        transition: left 0.8s;
    }

    .vision-card:hover::before, .mission-card:hover::before {
        left: 100%;
    }

    .vision-card::after, .mission-card::after {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(45deg, transparent 40%, rgba(102,126,234,0.08) 50%, transparent 60%);
        opacity: 0;
        transition: opacity 0.6s ease;
        pointer-events: none;
    }

    .vision-card:hover::after, .mission-card:hover::after {
        opacity: 1;
        animation: shimmer 2s ease-in-out infinite;
    }

    .vision-card:hover, .mission-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-heavy);
    }

    .vision-card h3, .mission-card h3 {
        font-size: 1.8rem;
        color: var(--primary-blue);
        margin-bottom: 1.5rem;
        font-weight: 700;
    }

    @keyframes rotateCounterClockwise {
        from { transform: rotate(0deg); }
        to { transform: rotate(-360deg); }
    }

    @keyframes pulse {
        0%, 100% { opacity: 1; }
        50% { opacity: 0.7; }
    }

    @keyframes shimmer {
        0% { transform: rotate(0deg) scale(1); }
        50% { transform: rotate(180deg) scale(1.05); }
        100% { transform: rotate(360deg) scale(1); }
    }

        /* Who We Serve */
        .who-we-serve {
            padding: 8rem 2rem;
            background: linear-gradient(135deg, #f093fb 0%, #f5576c 10%, #4facfe 90%, #00f2fe 100%);
            position: relative;
        }

        .who-we-serve::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
        }

        .who-we-serve .container {
            position: relative;
            z-index: 1;
        }

        .serve-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 2rem;
            margin-top: 4rem;
        }

        .serve-card {
            background: rgba(255, 255, 255, 0.95); /* match .resource-card */
            backdrop-filter: blur(20px);           /* match .resource-card */
            border-radius: 20px;                   /* match .resource-card */
            overflow: hidden;
            box-shadow: var(--shadow-soft);
            border: 1px solid rgba(102, 126, 234, 0.1); /* match .resource-card */
            display: flex;
            flex-direction: column;
            transition: box-shadow 0.3s, transform 0.3s;
            position: relative;
            min-height: 100%;
        }

        .serve-card:hover {
            box-shadow: 0 8px 32px rgba(0,0,0,0.12);
            transform: translateY(-4px) scale(1.02);
        }

        .serve-image {
            width: 100%;
            aspect-ratio: 3 / 2;
            overflow: hidden;
            /* Use a gradient background similar to .resource-image for a smooth placeholder */
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            /* Optionally add a min-height fallback for older browsers */
            min-height: 180px;
        }

        .serve-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.3s;
            /* Remove aspect-ratio here, keep it on the container */
        }

        .serve-content {
            padding: 2rem;
            background: #fff; /* match .resource-content */
            flex: 1 1 auto;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            position: relative;
            min-height: 160px; /* optional: ensures content area is always visible */
        }

        .serve-content h3 {
            font-size: 1.15rem;
            font-weight: 700;
            color: #22223b;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .serve-arrow {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-left: 0.5rem;
            width: 28px;
            height: 28px;
            background: #22223b;
            color: #fff;
            border-radius: 50%;
            font-size: 1.1rem;
            transition: background 0.2s, transform 0.2s;
        }

        .serve-card:hover .serve-arrow {
            background: var(--primary-blue);
            transform: translateX(4px);
        }

        .serve-content p {
            color: var(--text-gray);
            font-size: 1rem;
            margin-bottom: 0;
            margin-top: 0.5rem;
            line-height: 1.6;
        }

        /* Services Section */
        .services {
            padding: 8rem 2rem;
            background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
            position: relative;
            overflow: hidden;
        }

        .services::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 30% 20%, rgba(0, 102, 204, 0.03) 0%, transparent 50%),
                        radial-gradient(circle at 70% 80%, rgba(51, 153, 255, 0.03) 0%, transparent 50%);
            pointer-events: none;
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

        .section-title {
            text-align: center;
            font-size: clamp(2.5rem, 5vw, 3.5rem);
            color: var(--dark-gray);
            margin-bottom: 1rem;
            font-weight: 800;
            background: var(--gradient-blue);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            opacity: 0;
            animation: fadeInUp 1s ease-out forwards;
        }

        .section-subtitle {
            text-align: center;
            font-size: 1.2rem;
            color: var(--text-gray);
            margin-bottom: 4rem;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
            opacity: 0;
            animation: fadeInUp 1s ease-out 0.2s forwards;
        }

        /* Modern Tab System */
        .services-tabs {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-bottom: 5rem;
            position: relative;
        }

        .tab-container {
            background: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(20px);
            border-radius: 60px;
            padding: 0.5rem;
            box-shadow: var(--shadow-soft);
            border: 1px solid rgba(0, 102, 204, 0.1);
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
        }

        .tab-btn {
            padding: 1rem 2rem;
            background: transparent;
            border: none;
            color: var(--text-gray);
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            font-weight: 600;
            font-size: 0.95rem;
            position: relative;
            white-space: nowrap;
            overflow: hidden;
        }

        .tab-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: var(--gradient-blue);
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: -1;
            border-radius: 50px;
        }

        .tab-btn:hover::before,
        .tab-btn.active::before {
            opacity: 1;
        }

        .tab-btn:hover,
        .tab-btn.active {
            color: var(--white);
            transform: translateY(-2px);
            box-shadow: var(--shadow-medium);
        }

        /* Modern Service Cards Grid */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
            gap: 2rem;
            opacity: 0;
            animation: fadeInUp 0.8s ease-out 0.5s forwards;
        }

        .service-card {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            border-radius: 24px;
            padding: 2.5rem;
            position: relative;
            overflow: hidden;
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            border: 1px solid rgba(0, 102, 204, 0.1);
            box-shadow: var(--shadow-soft);
            group: hover;
        }

        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 6px;
            background: var(--gradient-blue);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.5s ease;
        }

        .service-card::after {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 100%;
            height: 200%;
            background: conic-gradient(from 0deg, transparent 0%, rgba(0, 102, 204, 0.05) 50%, transparent 100%);
            opacity: 0;
            transition: all 0.6s ease;
            pointer-events: none;
        }

        .service-card:hover::before {
            transform: scaleX(1);
        }

        .service-card:hover::after {
            opacity: 1;
            animation: rotate 3s linear infinite;
        }

        .service-card:hover {
            transform: translateY(-12px) scale(1.02);
            box-shadow: var(--shadow-glow);
        }

        .service-header {
            display: flex;
            align-items: center;
            gap: 1.5rem;
            margin-bottom: 2rem;
        }

        .service-number {
            width: 70px;
            height: 70px;
            background: var(--gradient-blue);
            color: var(--white);
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 800;
            font-size: 1.5rem;
            box-shadow: var(--shadow-medium);
            position: relative;
            overflow: hidden;
        }

        .service-number::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
            transform: rotate(45deg);
            transition: all 0.6s ease;
            opacity: 0;
        }

        .service-card:hover .service-number::before {
            opacity: 1;
            animation: shine 1.5s ease-in-out infinite;
        }

        .service-icon {
            font-size: 2rem;
            color: var(--primary-blue);
            transition: all 0.3s ease;
        }

        .service-card:hover .service-icon {
            color: var(--accent-blue);
            transform: scale(1.1);
        }

        .service-content h4 {
            color: var(--dark-gray);
            margin-bottom: 1rem;
            font-size: 1.4rem;
            font-weight: 700;
            line-height: 1.3;
        }

        .how-it-works {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.how-it-works::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(102, 126, 234, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(51, 153, 255, 0.06) 0%, transparent 50%);
    animation: backgroundPulse 8s ease-in-out infinite;
    pointer-events: none;
}

.how-it-works .container {
    position: relative;
    z-index: 1;
}

/* Progress Line */
.progress-line-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 6px;
    z-index: 0;
    max-width: 1000px;
}

.progress-line {
    width: 100%;
    height: 100%;
    background: rgba(0, 102, 204, 0.2);
    border-radius: 3px;
    position: relative;
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border-radius: 3px;
    width: 0%;
    transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px rgba(0, 102, 204, 0.5);
}

/* Steps Container */
.steps-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    margin-top: 5rem;
    position: relative;
    z-index: 2;
}

.step {
    text-align: center;
    position: relative;
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.step.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Step Number Container */
.step-number-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px rgba(0, 102, 204, 0.3);
}

.progress-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border: 3px solid transparent;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--primary-blue), var(--accent-blue), var(--primary-blue));
    background-clip: padding-box;
    opacity: 0;
    animation: rotate 3s linear infinite;
    transition: opacity 0.5s ease;
}

.step.active .progress-indicator {
    opacity: 0.7;
}

/* Step Icon */
.step-icon {
    position: absolute;
    top: -15px;
    right: -10px;
    width: 35px;
    height: 35px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--primary-blue);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.2);
    z-index: 3;
    opacity: 0;
    transform: scale(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.step.animate-in .step-icon {
    opacity: 1;
    transform: scale(1);
    transition-delay: 0.3s;
}

/* Step Content */
.step-content {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 102, 204, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.step:hover .step-content {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 102, 204, 0.15);
}

.step-content h4 {
    color: var(--dark-gray);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.step-content p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Step Details */
.step-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.step-details span {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-weight: 600;
}

.duration {
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary-blue);
}

.action {
    background: rgba(51, 153, 255, 0.1);
    color: var(--accent-blue);
}

/* Step Decoration */
.step-decoration {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(45deg, transparent 30%, rgba(0, 102, 204, 0.03) 50%, transparent 70%);
    border-radius: 25px;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.step:hover .step-decoration {
    opacity: 1;
    animation: shimmer 2s ease-in-out infinite;
}

/* Enhanced Hover Effects */
.step:hover .step-number {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 50px rgba(0, 102, 204, 0.4);
}

.step:hover .step-number-container {
    transform: scale(1.05);
}

/* Call to Action */
.how-it-works-cta {
    text-align: center;
    margin-top: 5rem;
}

.cta-pulse {
    animation: pulse-glow 3s ease-in-out infinite;
}

/* Animations */
@keyframes backgroundPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes shimmer {
    0% { background-position: -100% 0; }
    100% { background-position: 100% 0; }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 8px 30px rgba(0, 102, 204, 0.3);
    }
    50% {
        box-shadow: 0 8px 30px rgba(0, 102, 204, 0.6), 0 0 40px rgba(0, 102, 204, 0.3);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .steps-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .progress-line-container {
        display: none;
    }
}

@media (max-width: 900px) {
    .cta-buttons {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .steps-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .step-content {
        padding: 1.5rem;
        min-height: auto;
    }
    
    .step-number {
        width: 70px;
        height: 70px;
        font-size: 1.5rem;
    }
    
    .progress-indicator {
        width: 90px;
        height: 90px;
    }
}

@media (max-width: 600px) {
    .footer-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.5rem !important;
        width: 100vw !important;
        max-width: 100vw !important;
        padding: 0 !important;
    }
    .footer-section {
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
        border-bottom: 1px solid rgba(255,255,255,0.12);
        width: 100% !important;
        max-width: 100vw !important;
        text-align: left !important;
        align-items: flex-start !important;
        display: flex;
        flex-direction: column;
    }
    .footer-section:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
        width: 100%;
        text-align: left;
        word-break: break-word;
    }
    .footer-section a,
    .footer-section p {
        font-size: 0.98rem;
        word-break: break-word;
        white-space: normal;
        text-align: left;
        width: 100%;
        display: flex;
        align-items: center;
    }
    .footer {
        padding: 2rem 0.5rem 1rem;
    }
    .footer-bottom {
        font-size: 0.95rem;
        padding-top: 1rem;
        margin-top: 2rem;
        text-align: center;
    }
}

/* About Section */
        .about {
            padding: 8rem 2rem;
            background: linear-gradient(135deg, var(--white) 0%, var(--soft-blue) 100%);
            position: relative;
            overflow: hidden;
        }

        .about::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%233b82f6' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
            pointer-events: none;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

        .section-title {
            font-size: 3rem;
            font-weight: 700;
            text-align: center;
            margin-bottom: 4rem;
            background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 1s ease-out forwards;
        }

        .about-wrapper {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 5rem;
            align-items: start;
            margin-top: 3rem;
        }

        .about-image-container {
            position: sticky;
            top: 2rem;
            opacity: 0;
            transform: translateX(-50px);
            animation: slideInLeft 1s ease-out 0.3s forwards;
        }

        .about-image-wrapper {
            position: relative;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 
                0 20px 40px rgba(30, 64, 175, 0.2),
                0 0 0 1px rgba(59, 130, 246, 0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .about-image-wrapper:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 
                0 30px 60px rgba(30, 64, 175, 0.3),
                0 0 0 1px rgba(59, 130, 246, 0.2);
        }

        .about-image-wrapper::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, var(--accent-blue) 0%, transparent 50%);
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: 2;
        }

        .about-image-wrapper:hover::before {
            opacity: 0.1;
        }

        .about-image {
            width: 100%;
            height: auto;
            max-width: 400px;
            display: block;
            transition: transform 0.3s ease;
        }

        .about-content {
            opacity: 0;
            transform: translateX(50px);
            animation: slideInRight 1s ease-out 0.5s forwards;
        }

        .about-text {
            font-size: 1.1rem;
            line-height: 1.8;
            margin-bottom: 2rem;
            color: var(--text-gray);
            text-align: justify;
            position: relative;
            padding-left: 1.5rem;
            border-left: 4px solid transparent;
            transition: all 0.3s ease;
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInUp 0.8s ease-out forwards;
        }

        .about-text:nth-child(1) { animation-delay: 0.7s; }
        .about-text:nth-child(2) { animation-delay: 0.9s; }
        .about-text:nth-child(3) { animation-delay: 1.1s; }
        .about-text:nth-child(4) { animation-delay: 1.3s; }
        .about-text:nth-child(5) { animation-delay: 1.5s; }
        .about-text:nth-child(6) { animation-delay: 1.7s; }

        .about-text:hover {
            border-left-color: var(--accent-blue);
            transform: translateX(10px);
            background: rgba(59, 130, 246, 0.02);
            padding: 1rem 1rem 1rem 2rem;
            border-radius: 0 10px 10px 0;
        }

        .highlight-quote {
            background: linear-gradient(135deg, var(--soft-blue), var(--white));
            padding: 2.5rem;
            border-radius: 15px;
            border-left: 5px solid var(--primary-blue);
            margin: 3rem 0;
            position: relative;
            box-shadow: 0 10px 30px rgba(30, 64, 175, 0.1);
        }

        .highlight-quote::before {
            content: '"';
            position: absolute;
            top: -10px;
            left: 20px;
            font-size: 4rem;
            color: var(--accent-blue);
            font-weight: bold;
            opacity: 0.3;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
            margin: 3rem 0;
        }

        .stat-card {
            background: var(--white);
            padding: 2rem;
            border-radius: 15px;
            text-align: center;
            box-shadow: 0 5px 20px rgba(30, 64, 175, 0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border: 2px solid transparent;
        }

        .stat-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(30, 64, 175, 0.2);
            border-color: var(--accent-blue);
        }

        .stat-number {
            font-size: 2.5rem;
            font-weight: bold;
            color: var(--primary-blue);
            margin-bottom: 0.5rem;
        }

        .stat-label {
            color: var(--text-gray);
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        /* Animations */
        @keyframes fadeInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes slideInLeft {
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes slideInRight {
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        }

        .pulse-animation {
            animation: pulse 2s ease-in-out infinite;
        }

        /* Responsive Design */
        @media (max-width: 968px) {
            .about-wrapper {
                grid-template-columns: 1fr;
                gap: 3rem;
                text-align: center;
            }

            .about-image-container {
                position: static;
                max-width: 350px;
                margin: 0 auto;
            }

            .about-content {
                transform: none;
                animation: fadeInUp 1s ease-out 0.5s forwards;
            }

            .section-title {
                font-size: 2.5rem;
            }
        }

        @media (max-width: 640px) {
            .about {
                padding: 4rem 1rem;
            }

            .section-title {
                font-size: 2rem;
            }

            .about-text {
                font-size: 1rem;
                text-align: left;
                padding-left: 1rem;
            }

            .stats-grid {
                grid-template-columns: 1fr;
            }
        }

        /* Scroll-triggered animations */
        .scroll-reveal {
            opacity: 0;
            transform: translateY(50px);
            transition: all 0.8s ease-out;
        }

        .scroll-reveal.revealed {
            opacity: 1;
            transform: translateY(0);
        }
        
        /* Footer */
        .footer {
            background: linear-gradient(135deg, var(--dark-gray) 0%, var(--secondary-blue) 100%);
            color: var(--white);
            padding: 5rem 2rem 2rem;
        }

        .footer-content {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 4rem;
        }

        .footer-section h4 {
            color: var(--white);
            margin-bottom: 2rem;
            font-size: 1.3rem;
            font-weight: 700;
        }

        .footer-section a {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            transition: all 0.3s ease;
            display: block;
            margin-bottom: 1rem;
            padding: 0.5rem 0;
        }

        .footer-section a:hover {
            color: var(--white);
            transform: translateX(5px);
        }

        .footer-bottom {
            text-align: center;
            margin-top: 4rem;
            padding-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.2);
            color: rgba(255, 255, 255, 0.7);
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes slideInLeft {
            from {
                opacity: 0;
                transform: translateX(-50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes slideInRight {
            from {
                opacity: 0;
                transform: translateX(50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes slideInDown {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-20px); }
        }

        @keyframes rotate {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        /* Intersection Observer Animation Classes */
        .animate-in {
            opacity: 1 !important;
            transform: translateY(0) !important;
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            .nav-menu {
                display: none;
            }
            
            .vision-mission-grid {
                grid-template-columns: 1fr;
                gap: 3rem;
            }
            
            .services-grid {
                grid-template-columns: 1fr;
            }
            
            .steps-container {
                grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
                gap: 2rem;
            }
        }

        @media (max-width: 768px) {
            .hero {
                padding: 12rem 1rem 8rem;
            }
            
            .hero-cta {
                flex-direction: column;
                align-items: center;
            }
            
            .serve-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            
            .services-tabs {
                flex-direction: column;
                align-items: center;
                gap: 1rem;
            }
        }

        /* Focus styles for accessibility */
        .btn:focus,
        .tab-btn:focus,
        .nav-menu a:focus {
            outline: 3px solid var(--accent-blue);
            outline-offset: 3px;
        }
        /* Mobile Menu Button */

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem 1rem;
  z-index: 1200;
}

@media (max-width: 1024px) {
  .mobile-menu-btn {
    display: block;
  }
}

/* Modern Animated Hamburger Menu */
.hamburger {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    z-index: 1201;
    background: linear-gradient(135deg, var(--primary-blue, #0066cc), #004d99);
    border: none;
    padding: 12px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.hamburger:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 102, 204, 0.4);
    background: linear-gradient(135deg, #0052a3, var(--primary-blue, #0066cc));
}

.hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: white;
    border-radius: 1px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    margin: 0 auto;
    transform-origin: center;
}

.hamburger span:nth-child(1) {
    margin-bottom: 5px;
    animation: breathe-top 2s ease-in-out infinite;
}

.hamburger span:nth-child(2) {
    margin-bottom: 5px;
    animation: breathe-middle 2s ease-in-out infinite 0.2s;
}

.hamburger span:nth-child(3) {
    animation: breathe-bottom 2s ease-in-out infinite 0.4s;
}

/* Breathing animation for idle state */
@keyframes breathe-top {
    0%, 100% { transform: scaleX(1); }
    50% { transform: scaleX(0.8); }
}

@keyframes breathe-middle {
    0%, 100% { transform: scaleX(1); }
    50% { transform: scaleX(0.9); }
}

@keyframes breathe-bottom {
    0%, 100% { transform: scaleX(1); }
    50% { transform: scaleX(0.7); }
}

/* Active state - morphs into X with rotation */
.hamburger.active {
    transform: rotate(180deg) scale(1.05);
    background: linear-gradient(135deg, #ff4757, #ff3742);
    box-shadow: 0 6px 25px rgba(255, 71, 87, 0.4);
}

.hamburger.active span {
    animation: none;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background: white;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background: white;
}

/* Pulse effect on click */
.hamburger::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    transition: transform 0.3s ease;
}

.hamburger:active::before {
    transform: scale(1.2);
}

/* Responsive display */
@media (max-width: 1024px) {
    .hamburger {
        display: block;
    }
}

/* Enhanced mobile menu styles */
@media (max-width: 1024px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: linear-gradient(135deg, #ffffff, #f8fafc);
        backdrop-filter: blur(20px);
        box-shadow: -10px 0 50px rgba(0, 102, 204, 0.15);
        flex-direction: column;
        gap: 0;
        padding: 5rem 2rem 2rem 2rem;
        z-index: 1200;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        transform: translateX(100%);
        border-left: 3px solid var(--primary-blue, #0066cc);
    }

    .nav-menu.show {
        display: flex;
        transform: translateX(0);
    }

    .nav-menu li {
        margin: 0 0 1.5rem 0;
        opacity: 0;
        transform: translateX(30px);
        animation: slideInRight 0.4s ease forwards;
    }

    .nav-menu li:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu li:nth-child(2) { animation-delay: 0.15s; }
    .nav-menu li:nth-child(3) { animation-delay: 0.2s; }
    .nav-menu li:nth-child(4) { animation-delay: 0.25s; }
    .nav-menu li:nth-child(5) { animation-delay: 0.3s; }
    .nav-menu li:nth-child(6) { animation-delay: 0.35s; }
    .nav-menu li:nth-child(7) { animation-delay: 0.4s; }

    @keyframes slideInRight {
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .nav-menu a {
        font-size: 1.1rem;
        color: #333;
        padding: 1rem 1.5rem;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.7);
        margin-bottom: 0.5rem;
        transition: all 0.3s ease;
        border: 1px solid transparent;
        position: relative;
        overflow: hidden;
    }

    .nav-menu a:hover {
        background: var(--primary-blue, #0066cc);
        color: white;
        transform: translateX(5px);
        border-color: var(--primary-blue, #0066cc);
    }

    .nav-menu a::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.5s;
    }

    .nav-menu a:hover::before {
        left: 100%;
    }

    .cta-buttons {
        display: none !important;
    }
}

/* Enhanced overlay */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 102, 204, 0.1);
    backdrop-filter: blur(5px);
    z-index: 1199;
    transition: all 0.4s ease;
    opacity: 0;
}

.overlay.show {
    display: block;
    opacity: 1;
}

@media (min-width: 1025px) {
    .overlay {
        display: none !important;
    }
}

/* Testimonials Section - Fixed CSS */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 255, 0.95));
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 183, 77, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.testimonials-slider {
    position: relative;
    height: 400px; /* Fixed height to prevent layout shifts */
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    box-sizing: border-box;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 3;
}

.testimonial-card.prev {
    opacity: 0;
    transform: translateX(-100px);
    z-index: 1;
}

.testimonial-content {
    text-align: center;
    max-width: 800px;
    width: 100%;
}

.quote-icon {
    margin-bottom: 30px;
}

.quote-icon i {
    font-size: 48px;
    color: #6366f1;
    opacity: 0.8;
}

.testimonial-content p {
    font-size: 20px;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 40px;
    font-style: italic;
    position: relative;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-info h4 {
    font-size: 18px;
    color: #6366f1;
    margin-bottom: 5px;
    font-weight: 600;
}

.author-info p {
    font-size: 14px;
    color: #718096;
    margin: 0;
    font-style: normal;
}

.testimonials-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.testimonial-nav {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: #6366f1;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.testimonial-nav:hover {
    background: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.4);
}

.testimonial-nav i {
    font-size: 18px;
}

.testimonial-dots {
    display: flex;
    gap: 15px;
    align-items: center;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot.active {
    background: #6366f1;
    transform: scale(1.2);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4);
}

.dot:hover {
    background: rgba(99, 102, 241, 0.6);
    transform: scale(1.1);
}

/* Animation classes for JavaScript */
.testimonial-card.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .testimonials-slider {
        height: 450px;
    }
    
    .testimonial-card {
        padding: 40px 30px;
    }
    
    .testimonial-content p {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .testimonials {
        padding: 80px 0;
    }
    
    .testimonials-slider {
        height: 500px;
        margin: 0 20px;
    }
    
    .testimonial-card {
        padding: 30px 25px;
    }
    
    .testimonial-content p {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 30px;
    }
    
    .quote-icon i {
        font-size: 36px;
    }
    
    .testimonials-controls {
        gap: 20px;
        margin-top: 40px;
    }
    
    .testimonial-nav {
        width: 45px;
        height: 45px;
    }
    
    .testimonial-nav i {
        font-size: 16px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .testimonials-slider {
        height: 550px;
        margin: 0 15px;
    }
    
    .testimonial-card {
        padding: 25px 20px;
    }
    
    .testimonial-content p {
        font-size: 15px;
        margin-bottom: 25px;
    }
    
    .author-info h4 {
        font-size: 16px;
    }
    
    .author-info p {
        font-size: 13px;
    }
    
    .quote-icon {
        margin-bottom: 20px;
    }
    
    .quote-icon i {
        font-size: 32px;
    }
}

/* Loading state */
.testimonial-card.loading {
    opacity: 0;
    transform: translateY(30px);
}

/* Smooth transitions for all states */
.testimonial-card * {
    transition: inherit;
}

/* Enhanced hover effects */
.testimonials-slider:hover .testimonial-card.active {
    transform: translateX(0) scale(1.02);
}

/* Accessibility improvements */
.testimonial-nav:focus,
.dot:focus {
    outline: 2px solid #6366f1;
    outline-offset: 2px;
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .testimonial-card {
        transition: opacity 0.3s ease;
        transform: none !important;
    }
    
    .testimonial-nav:hover {
        transform: none;
    }
    
    .dot:hover,
    .dot.active {
        transform: none;
    }
}
/* Modal Styles */
.testimonial-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-modal.show {
    display: flex;
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-container {
    position: relative;
    margin: auto;
    background: white;
    border-radius: 24px;
    max-width: 800px;
    max-height: 80vh;
    width: 90%;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(50px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.modal-header {
    padding: 2rem 3rem 1rem;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
}

.modal-header h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.modal-header p {
    color: var(--text-gray);
    margin: 0;
    font-size: 1.1rem;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-gray);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary-blue);
    transform: rotate(90deg);
}

.modal-content {
    padding: 2rem 3rem;
    max-height: 50vh;
    overflow-y: auto;
}

.modal-quote-icon {
    font-size: 4rem;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.modal-testimonial-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--dark-gray);
    font-style: italic;
    text-align: center;
}

.modal-navigation {
    padding: 1.5rem 3rem 2rem;
    border-top: 1px solid rgba(102, 126, 234, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-blue);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.modal-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.modal-nav:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.modal-dots {
    display: flex;
    gap: 0.8rem;
}

.modal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-dot.active, .modal-dot:hover {
    background: var(--primary-blue);
    transform: scale(1.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .testimonials-slider {
        height: 500px;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
    
    .testimonial-card p {
        font-size: 1.1rem;
        -webkit-line-clamp: 5;
    }
    
    .modal-container {
        width: 95%;
        max-height: 90vh;
    }
    
    .modal-header, .modal-content, .modal-navigation {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .modal-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .modal-nav {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Resources Section */
.resources {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.resources::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(102, 126, 234, 0.04) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(118, 75, 162, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.resources .container {
    position: relative;
    z-index: 1;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.resource-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

.resource-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-glow);
}

.resource-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.resource-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.resource-card:hover .resource-image img {
    transform: scale(1.05);
}

.resource-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-blue);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.resource-content {
    padding: 2rem;
}

.resource-content h3 {
    color: var(--dark-gray);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.resource-content p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.resource-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.read-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.resource-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.resource-link:hover {
    color: var(--accent-blue);
    transform: translateX(5px);
}

.resources-cta {
    text-align: center;
    margin-top: 5rem;
}

/* Animations for resources */
@keyframes slideInResource {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.resource-card.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
    animation: slideInResource 0.8s ease-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    
    
    .resources-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .resource-image {
        height: 180px;
    }
}

@media (max-width: 480px) {
    
    .resource-content {
        padding: 1.5rem;
    }
}

/* Update the existing mobile responsive section */

@media (max-width: 768px) {
    .testimonials-slider {
        height: auto;
        min-height: 450px; /* Further increased to accommodate full author info */
    }
    
    .testimonial-card {
        padding: 2rem 1.5rem;
        /* Ensure author info is visible */
        min-height: 400px; /* Increased minimum height */
        display: flex;
        flex-direction: column;
        justify-content: space-between; /* Changed to space-between for better distribution */
    }
    
    .testimonial-content {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
    }
    
    .testimonial-card p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
        flex-grow: 0; /* Don't let the quote grow too much */
    }
    
    /* Make sure author info is always visible and has enough space */
    .testimonial-author {
        display: flex !important;
        opacity: 1 !important;
        margin-top: 1.5rem;
        flex-shrink: 0; /* Prevent author section from shrinking */
    }
    
    .author-info {
        text-align: center;
        width: 100%;
        padding: 0 0.5rem; /* Add padding to prevent text from hitting edges */
    }
    
    .author-info h4 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
        white-space: normal; /* Allow name to wrap if needed */
        line-height: 1.3;
    }
    
    .author-info p {
        font-size: 0.9rem;
        line-height: 1.4; /* Better line height for job title */
        white-space: normal; /* Allow job title to wrap */
        word-wrap: break-word; /* Break long words if necessary */
    }
    
    .testimonials-controls {
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .testimonial-nav {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .testimonial-card {
        padding: 1.5rem;
        min-height: 320px; /* Adequate space for content + author */
    }
    
    .testimonial-card p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .author-info h4 {
        font-size: 1rem;
    }
    
    .author-info p {
        font-size: 0.85rem;
    }
    
    .quote-icon {
        font-size: 2.5rem; /* Slightly smaller quote icon */
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 600px) {
  .hero {
    padding: 6rem 0 1rem !important;
    min-height: unset !important;
    display: block !important;      /* Remove flex centering on mobile */
    align-items: unset !important;
    justify-content: unset !important;
  }
}


.resource-card.in-view {
    opacity: 1 !important;
    transform: translateY(0);
}