/* VARIABLES */
:root {
            --primary: #4361ee;
            --primary-light: #e0e5ff;
            --secondary: #3f37c9;
            --accent: #4895ef;
            --dark: #1e2a78;
            --light: #f8f9fa;
            --text: #212529;
            --text-light: #6c757d;
            --success: #4CAF50;
            --warning: #FFC107;
            --danger: #F44336;
            --orange: #ff7b25;
            --gray: #6c757d;
            --light-gray: #e9ecef;
            --border-radius: 8px;
            --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            --transition: all 0.3s ease;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            background-color: var(--light);
            color: var(--text);
            line-height: 1.6;
            overflow-x: hidden;
        }

        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        img {
            max-width: 100%;
            height: auto;
        }

        /* Animation Keyframes */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
            100% { transform: translateY(0px); }
        }

        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }

        @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); }
        }

        /* Header Styles */
.site-header {
    background-color: transparent;
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
    animation: fadeIn 0.8s ease-out;
    backdrop-filter: blur(5px); /* Optional: adds glass effect */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo img {
    height: 40px;
    transition: var(--transition);
}

.logo:hover img {
    transform: scale(1.05);
}

.main-nav {
    order: 3;
    width: 100%;
    margin-top: 15px;
    display: none;
}

.main-nav.active {
    display: block;
    animation: slideInLeft 0.4s ease-out;
}

.main-nav ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    background: rgba(255, 255, 255, 0.9); /* Semi-transparent white */
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 10px;
}

.main-nav li {
    margin: 5px 0;
}

.main-nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 12px;
    display: block;
    border-radius: var(--border-radius);
    position: relative;
}

.main-nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.main-nav a:hover {
    color: var(--primary);
    background: var(--primary-light);
}

.main-nav a:hover:after {
    width: 100%;
}

.auth-buttons {
    display: flex;
    gap: 10px;
}
        /* Mobile menu toggle */
        .menu-toggle {
            display: block;
            background: none;
            border: none;
            font-size: 1.5rem;
            color: var(--primary);
            cursor: pointer;
            padding: 5px;
            transition: transform 0.3s ease;
        }

        .menu-toggle:hover {
            transform: rotate(90deg);
        }

        /* Button Styles */
        .btn {
            padding: 12px 25px;
            border-radius: 50px;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            text-decoration: none;
            display: inline-block;
            font-size: 1rem;
            border: 2px solid transparent;
            text-align: center;
            position: relative;
            overflow: hidden;
            z-index: 1;
        }

        .btn:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(255,255,255,0.1);
            z-index: -2;
        }

        .btn:before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0%;
            height: 100%;
            background-color: rgba(255,255,255,0.2);
            transition: all 0.3s;
            z-index: -1;
        }

        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        }

        .btn:hover:before {
            width: 100%;
        }

        .btn-login-signup {
            background: linear-gradient(135deg, #ff7f50, #ff6533);
            color: #ffffff;
            border: none;
            padding: 12px 25px;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .btn-login-signup:hover {
            background: linear-gradient(135deg, #ff6533, #ff7f50);
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(255, 127, 80, 0.3);
        }

        .btn-orange { 
            background: linear-gradient(135deg, #ff7b25, #ff9a52);
            color: #ffffff;
        }

        .btn-blue { 
            background: linear-gradient(135deg, #B3DCF3, #8FC9E8);
            color: #1E88C7;
        }

        .btn-outline {
            background: transparent;
            border: 2px solid var(--primary);
            color: var(--primary);
        }

        .btn-outline:hover {
            background: var(--primary);
            color: white;
        }

        /* Hero Section */
        .hero-section {
            padding: 80px 0 60px;
            background: linear-gradient(135deg, #eef2fa 0%, #f0f5ff 100%);
            position: relative;
            overflow: hidden;
        }

        .hero-section:before {
            content: "";
            position: absolute;
            top: -100px;
            right: -100px;
            width: 300px;
            height: 300px;
            border-radius: 50%;
            background: linear-gradient(135deg, rgba(67, 97, 238, 0.1) 0%, rgba(63, 55, 201, 0.1) 100%);
            z-index: 0;
        }

        .hero-section:after {
            content: "";
            position: absolute;
            bottom: -100px;
            left: -100px;
            width: 400px;
            height: 400px;
            border-radius: 50%;
            background: linear-gradient(135deg, rgba(255, 123, 37, 0.1) 0%, rgba(255, 149, 79, 0.1) 100%);
            z-index: 0;
        }

        .hero-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            position: relative;
            z-index: 2;
        }

        .hero-text {
            max-width: 800px;
            margin-bottom: 40px;
            animation: fadeIn 0.8s ease-out;
        }

        .hero-text h1 {
            font-size: 2.8rem;
            margin-bottom: 1rem;
            color: var(--dark);
            line-height: 1.2;
            font-weight: 700;
            letter-spacing: -0.5px;
        }

        .hero-text .blue {
            color: var(--primary);
            position: relative;
        }

        .hero-text .blue:after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 100%;
            height: 5px;
            background: linear-gradient(to right, transparent, var(--primary), transparent);
            border-radius: 2px;
        }

        .hero-text .purple {
            color: var(--secondary);
        }

        .hero-text p {
            font-size: 1.2rem;
            margin-bottom: 2rem;
            color: var(--text-light);
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .cta-buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            justify-content: center;
            margin-bottom: 2rem;
        }

        @media only screen and (max-width: 768px) {
  .cta-buttons {
    flex-wrap: nowrap;
    flex-direction: row;
    overflow-x: auto; /* Optional: enables scrolling if buttons overflow */
    justify-content: center;
  }
}


             @media only screen and (max-width: 768px) {
  .badges {
    display: none !important;
  }
}
        .badges {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            justify-content: center;
            margin-bottom: 2rem;
        }

        .badges span {
            background: rgba(255, 255, 255, 0.8);
            padding: 10px 18px;
            border-radius: 20px;
            font-size: 0.95rem;
            box-shadow: var(--box-shadow);
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 8px;
            backdrop-filter: blur(5px);
        }

        .badges span:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.12);
            background: white;
        }

        .students-count {
            font-size: 1.1rem;
            margin-bottom: 2rem;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            animation: fadeIn 1s ease-out;
        }

        .students-count strong {
            color: var(--primary);
            font-size: 1.3rem;
            font-weight: 700;
        }

        @media only screen and (max-width: 768px) {
  .brands {
    display: none !important;
  }
}


        .brands {
    display: flex;
    flex-wrap: wrap; /* allow wrapping on smaller screens */
    gap: 30px; /* spacing between items */
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    animation: fadeIn 1.2s ease-out;
}

.brands img {
    height: 35px;
    opacity: 0.7;
    transition: var(--transition);
    filter: grayscale(100%);
}

.brands img:hover {
    opacity: 1;
    transform: translateY(-3px);
    filter: grayscale(0);
}


        /* Hero Image with Floating Badges */
        .hero-image-wrapper {
            position: relative;
            width: 350px;
            margin-top: 30px;
            animation: fadeIn 1s ease-out;
        }

        .circle-image {
            width: 500px;
            height: 500px;
            border-radius: 50%;
            overflow: hidden;
            background: linear-gradient(135deg, #e3ecfd, #d0dbf9);
            border: 10px solid #ffffff;
            box-shadow: 0 15px 30px rgba(67, 97, 238, 0.15);
            transition: var(--transition);
            animation: pulse 4s infinite ease-in-out;
        }

        .circle-image:hover {
            transform: scale(1.02);
            box-shadow: 0 20px 40px rgba(67, 97, 238, 0.2);
        }

        .circle-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }

        /* Floating badges */
        .floating-badge {
            position: absolute;
            display: flex;
            align-items: center;
            gap: 10px;
            background: #fff;
            padding: 12px 18px;
            border-radius: 15px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
            transition: var(--transition);
            animation: float 4s infinite ease-in-out;
            z-index: 3;
        }

        .floating-badge:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
        }

        .floating-badge img {
            width: 40px;
            height: 40px;
            transition: var(--transition);
        }

        .floating-badge:hover img {
            transform: scale(1.1);
        }

        .floating-badge h4 {
            margin: 0;
            font-size: 1.1rem;
            color: #2b2b2b;
            font-weight: 700;
        }

        .floating-badge p {
            margin: 0;
            font-size: 0.85rem;
            color: #666;
        }

        .badge-materials {
            top: 30px;
            left: -80px;
            animation-delay: 0.2s;
        }

        .badge-mock {
            top: -40px;
            right: -60px;
            animation-delay: 0.4s;
        }

        .badge-tutors {
            bottom: 10px;
            right: -70px;
            animation-delay: 0.6s;
        }

        /* Featured Courses Section */
        .featured-courses {
            padding: 80px 0;
            background-color: white;
            position: relative;
            overflow: hidden;
        }

        .section-header {
            text-align: center;
            margin-bottom: 3rem;
            animation: fadeIn 0.6s ease-out;
        }

        .section-header h2 {
            font-size: 2.3rem;
            color: var(--dark);
            margin-bottom: 1rem;
            font-weight: 700;
            position: relative;
            display: inline-block;
        }

        .section-header h2:after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: var(--primary);
            border-radius: 2px;
        }

        .section-header p {
            color: var(--text-light);
            max-width: 700px;
            margin: 1.5rem auto 0;
            font-size: 1.1rem;
        }

        .courses-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
            margin-top: 2rem;
        }

        .course-card {
            background: white;
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--box-shadow);
            transition: var(--transition);
            display: flex;
            flex-direction: column;
            height: 100%;
            position: relative;
            animation: fadeIn 0.8s ease-out;
        }

        .course-card:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: var(--primary);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.5s ease;
        }

        .course-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.12);
        }

        .course-card:hover:before {
            transform: scaleX(1);
        }

        .course-image {
            height: 200px;
            overflow: hidden;
            position: relative;
        }

        .course-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }

        .course-card:hover .course-image img {
            transform: scale(1.1);
        }

        .course-category {
            position: absolute;
            top: 15px;
            left: 15px;
            background: var(--primary);
            color: white;
            padding: 6px 18px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
            z-index: 2;
        }

        .course-content {
            padding: 1.8rem;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .course-title {
            font-size: 1.3rem;
            margin-bottom: 0.5rem;
            color: var(--dark);
            font-weight: 600;
            transition: var(--transition);
        }

        .course-card:hover .course-title {
            color: var(--primary);
        }

        .course-instructor {
            color: var(--text-light);
            font-size: 0.95rem;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .course-instructor i {
            color: var(--accent);
        }

        .course-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: auto;
        }

        .course-rating {
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .course-rating i {
            color: var(--warning);
            font-size: 0.95rem;
        }

        .course-rating span {
            color: var(--text-light);
            font-size: 0.95rem;
        }

        .course-price {
            font-weight: 700;
            font-size: 1.2rem;
            color: var(--dark);
        }

        .view-all {
            text-align: center;
            margin-top: 3rem;
            animation: fadeIn 0.8s ease-out;
        }

        /* Categories Section */
        .categories {
            padding: 80px 0;
            background-color: var(--light);
            position: relative;
            overflow: hidden;
        }

        .categories-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 25px;
            margin-top: 2rem;
        }

        .category-card {
            background: white;
            border-radius: var(--border-radius);
            padding: 1.8rem 1.2rem;
            text-align: center;
            box-shadow: var(--box-shadow);
            transition: var(--transition);
            cursor: pointer;
            animation: fadeIn 0.8s ease-out;
            position: relative;
            overflow: hidden;
            z-index: 1;
        }

        .category-card:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 0;
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            z-index: -1;
            transition: height 0.4s ease;
        }

        .category-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.12);
            color: white;
        }

        .category-card:hover:before {
            height: 100%;
        }

        .category-card:hover .category-icon {
            background: rgba(255, 255, 255, 0.2);
            color: white;
        }

        .category-card:hover .category-title,
        .category-card:hover .category-count {
            color: white;
        }

        .category-icon {
            width: 70px;
            height: 70px;
            background: rgba(67, 97, 238, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            font-size: 1.8rem;
            color: var(--primary);
            transition: var(--transition);
        }

        .category-title {
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: var(--dark);
            transition: var(--transition);
        }

        .category-count {
            color: var(--text-light);
            font-size: 0.9rem;
            transition: var(--transition);
        }

        /* Stats Section */
        .stats {
            padding: 80px 0;
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            color: white;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .stats:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><polygon points="0,0 100,100 0,100" fill="rgba(255,255,255,0.05)"/></svg>');
            background-size: 100% 100%;
        }

        .stats-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 30px;
        }

        .stat-item {
            padding: 1.5rem;
            position: relative;
            z-index: 2;
            animation: fadeIn 0.8s ease-out;
        }

        .stat-number {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            position: relative;
            display: inline-block;
        }

        .stat-number:after {
            /* content: '+'; */
            position: absolute;
            top: 0;
            right: -15px;
        }

        .stat-label {
            font-size: 1.1rem;
            opacity: 0.9;
        }

        /* Testimonials */
        .testimonials {
            padding: 80px 0;
            background-color: white;
            position: relative;
            overflow: hidden;
        }

        .testimonial-container {
            max-width: 800px;
            margin: 0 auto;
            position: relative;
        }

        .testimonial-card {
            background: var(--light);
            border-radius: var(--border-radius);
            padding: 2rem;
            box-shadow: var(--box-shadow);
            margin: 2.5rem 0;
            position: relative;
            animation: fadeIn 0.8s ease-out;
            transition: var(--transition);
        }

        .testimonial-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.12);
        }

        .testimonial-card::before {
            content: '"';
            position: absolute;
            top: -30px;
            left: 20px;
            font-size: 6rem;
            color: rgba(67, 97, 238, 0.1);
            font-family: Georgia, serif;
            line-height: 1;
            z-index: 0;
        }

        .testimonial-content {
            font-style: italic;
            margin-bottom: 1.8rem;
            line-height: 1.8;
            font-size: 1.1rem;
            position: relative;
            z-index: 1;
        }

        .testimonial-author {
            display: flex;
            align-items: center;
        }

        .author-avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            overflow: hidden;
            margin-right: 15px;
            border: 3px solid var(--primary-light);
            transition: var(--transition);
        }

        .testimonial-card:hover .author-avatar {
            transform: scale(1.1);
            border-color: var(--primary);
        }

        .author-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .author-info h4 {
            margin-bottom: 0.2rem;
            color: var(--dark);
            font-weight: 600;
        }

        .author-role {
            color: var(--text-light);
            font-size: 0.95rem;
        }

        /* Footer */
        .site-footer {
            background: linear-gradient(135deg, #19267a 0%, #1e2a78 100%);
            color: white;
            padding: 80px 0 30px;
            position: relative;
        }

        .site-footer:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 10px;
            background: linear-gradient(90deg, var(--primary), var(--accent), var(--orange));
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 40px;
            margin-bottom: 2rem;
        }

        .footer-section h3 {
            font-size: 1.5rem;
            margin-bottom: 1.8rem;
            color: white;
            position: relative;
            display: inline-block;
        }

        .footer-section h3:after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 0;
            width: 50px;
            height: 3px;
            background: var(--accent);
            border-radius: 2px;
        }

        .footer-section p {
            color: #ddd;
            margin-bottom: 1.5rem;
            line-height: 1.7;
            font-size: 0.95rem;
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 1rem;
        }

        .footer-links a {
            color: #ddd;
            text-decoration: none;
            transition: var(--transition);
            display: flex;
            align-items: center;
            font-size: 0.95rem;
            position: relative;
        }

        .footer-links a i {
            margin-right: 12px;
            width: 15px;
            font-size: 0.9rem;
            transition: var(--transition);
        }

        .footer-links a:hover {
            color: var(--accent);
            transform: translateX(5px);
        }

        .footer-links a:hover i {
            color: var(--accent);
            transform: scale(1.2);
        }

        .social-links {
            display: flex;
            gap: 12px;
            margin-top: 1.8rem;
        }

        .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            color: white;
            transition: var(--transition);
            font-size: 1rem;
        }

        .social-links a:hover {
            background: var(--accent);
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(72, 149, 239, 0.4);
        }

        .newsletter-form {
            display: flex;
            margin-top: 1.5rem;
        }

        .newsletter-form input {
            flex: 1;
            padding: 12px 20px;
            border: none;
            border-radius: 50px 0 0 50px;
            outline: none;
            font-size: 0.95rem;
            background: rgba(255, 255, 255, 0.1);
            color: white;
        }

        .newsletter-form input::placeholder {
            color: rgba(255, 255, 255, 0.7);
        }

        .newsletter-form button {
            background: var(--accent);
            color: white;
            border: none;
            padding: 0 22px;
            border-radius: 0 50px 50px 0;
            cursor: pointer;
            transition: var(--transition);
            font-size: 1rem;
        }

        .newsletter-form button:hover {
            background: var(--primary);
        }

        .copyright {
            text-align: center;
            padding-top: 2.5rem;
            border-top: 1px solid rgba(255,255,255,0.1);
            color: #aaa;
            font-size: 0.9rem;
            position: relative;
            z-index: 2;
        }

        /* Responsive Styles */
        @media (min-width: 576px) {
            .hero-text h1 {
                font-size: 3.2rem;
            }
            
            .hero-image-wrapper {
                width: 420px;
            }
            
            .floating-badge {
                padding: 15px 22px;
            }
        }

        @media (min-width: 768px) {
            .menu-toggle {
                display: none;
            }
            
            .main-nav {
                order: 0;
                width: auto;
                margin-top: 0;
                display: block;
            }
            
            .main-nav ul {
                flex-direction: row;
                background: transparent;
                box-shadow: none;
                padding: 0;
            }
            
            .main-nav li {
                margin: 0 12px;
            }
            
            .main-nav a {
                padding: 8px 12px;
            }
            
            .hero-container {
                flex-direction: row;
                text-align: left;
                align-items: center;
            }
            
            .hero-text {
                margin-bottom: 0;
                padding-right: 40px;
                max-width: 50%;
                animation: slideInLeft 0.8s ease-out;
            }
            
            .cta-buttons, .badges {
                justify-content: flex-start;
            }
            
            .hero-image-wrapper {
                margin: 0;
                animation: slideInRight 0.8s ease-out;
            }
            
            .section-header h2 {
                font-size: 2.6rem;
            }
            
            .categories-container {
                grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            }

            /* Adjust floating badges for desktop */
            .badge-materials {
                top: 30px;
                left: -90px;
            }

            .badge-mock {
                top: -40px;
                right: -70px;
            }

            .badge-tutors {
                bottom: 10px;
                right: -80px;
            }
        }

        @media (min-width: 992px) {
            .hero-text h1 {
                font-size: 3.5rem;
            }
            
            .hero-text p {
                font-size: 1.25rem;
            }
            
            .section-header h2 {
                font-size: 2.8rem;
            }
            
            .categories-container {
                grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            }
            
            .footer-content {
                grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            }

            /* Move the student image to the right */
            .hero-image-wrapper {
                margin-left: 150px;
            }
        }

        @media (max-width: 767px) {
            .hero-image-wrapper {
                width: 320px;
                margin: 30px auto 0;
            }

            .circle-image {
                width: 300px;
                height: 300px;
            }

            /* Adjust floating badges for mobile */
            .floating-badge {
                transform: scale(1.2);
            }
            
            .badge-materials {
                top: 120px;
                left: -30px;
            
            }
            
            .badge-mock {
                top:-30px;
                right: -20px;
            }
            
            .badge-tutors {
                bottom: 1px;
                right: -15px;
            }
        }

        /* Responsive adjustments */

/* Added to prevent horizontal scrolling */
html, body {
    width: 100%;
    overflow-x: hidden;
}
