body {
    font-family: Arial, sans-serif;
}

h2,
h3 {
    color: #333;
}

h2 {
    font-weight: 700;
    color: #007bff;
}

h1 {
    font-size: 45px !important;
}

img {
    width: 200px;
}

.carousel-item img {
    height: 43vh;
    object-fit: cover;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: rgba(0, 0, 0, 0.5); */
}

/* Static Banner */
.static-banner {
    height: 40vh;
    /* Set height for static banner */
    position: relative;
}

.static-banner img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.static-banner .overlay {
    /* background: rgba(0, 0, 0, 0.6); */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.static-banner .content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    z-index: 2;
    text-align: center;
}

.study-resources-section .glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.2);
    border: 1px solid rgba(0, 123, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.study-resources-section .glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 123, 255, 0.3);
}

.study-resources-section i {
    color: #007bff;
}

.study-resources-section p {
    color: #444;
    flex-grow: 1;
}

.study-resources-section .btn-outline-primary {
    border-color: #007bff;
    color: #007bff;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.study-resources-section .btn-outline-primary:hover {
    background-color: #007bff;
    color: #fff;
}

/* Avatar image size */
.testimonial-avatar {
    width: 36px;
    height: 36px;
    object-fit: cover;
}

/* Increase gap between image and text */
.testimonial-user {
    gap: 15px;
    /* default was around 8px with Bootstrap's .mr-3 */
    display: flex;
    align-items: center;
    margin-top: 1rem;
}

/* Increase space between cards */
.testimonial-card {
    width: 300px;
    min-width: 300px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    margin-right: 24px;
    /* increased from 16px (mr-3) to 24px */
}

.testimonial-slider {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
    overflow-x: auto;
    scroll-behavior: smooth;
}

.testimonial-slider::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-avatar {
    width: 36px;
    height: 36px;
    object-fit: cover;
}

.test-series-section {
    background: linear-gradient(135deg, #f0f4ff, #ffffff);
}

.test-series-card {
    background: white;
    border: 1px solid #e6ecf5;
    border-radius: 16px;
    transition: all 0.3s ease-in-out;
    overflow: hidden;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
}

.test-series-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.08);
}

.test-series-image {
    max-height: 100px;
    width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.batch-card {
    background: white;
    border: 1px solid #e6ecf5;
    border-radius: 16px;
    transition: all 0.3s ease-in-out;
    overflow: hidden;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
}

.batch-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.08);
}

.batch-image {
    max-height: 100px;
    width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.enroll-btn {
    background-color: #0d6efd;
    color: #fff;
    border-radius: 30px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.enroll-btn:hover {
    background-color: #084cdf;
    transform: scale(1.05);
}

footer {
    background: linear-gradient(to right, #007bff, #0056b3);
    color: white;
    padding-top: 40px;
    padding-bottom: 20px;
}

footer a {
    color: #ffffff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

footer hr {
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.success-section h2 {
    font-size: 36px;
}

.success-section .col-md-3 h3 {
    font-size: 40px;
    font-weight: bold;
    color: #007bff;
}

.success-section .col-md-3 p {
    font-size: 18px;
    color: #555;
}

.glass-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.exam-categories-section {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.exam-categories-section h2 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.exam-categories-section p {
    margin-bottom: 2rem;
    color: #333;
    font-size: 1rem;
}

.categories-wrapper {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.category-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    width: 320px;
    display: flex;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    top: -40px;
    right: -60px;
    background: #ffeaea;
    z-index: 0;
}

.category-info {
    z-index: 1;
    text-align: left;
    flex: 1;
}

.category-info h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.tags {
    margin-bottom: 1rem;
}

.tag {
    display: inline-block;
    border: 1.5px solid #ccc;
    border-radius: 20px;
    padding: 6px 14px;
    margin-right: 8px;
    font-size: 0.9rem;
    color: #555;
    cursor: default;
    user-select: none;
    transition: background-color 0.3s;
}

.tag:hover {
    background-color: #f0f0f0;
}

.explore-link {
    font-weight: 600;
    font-size: 1rem;
    color: #007bff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s;
}

.explore-link:hover {
    color: #0056b3;
}

.arrow {
    font-size: 1.4rem;
}

.category-icon {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    z-index: 1;
}

.category-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.overflow-auto {
    scroll-behavior: smooth;
    padding-bottom: 10px;
}

.scrolling-banner {
    background: linear-gradient(to right, #007bff, #0056b3);
    font-weight: 500;
    font-size: 16px;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    margin-right: auto;
}

.navbar-nav {
    margin-left: auto;
}

.navbar .btn-primary {
    margin-left: 10px;
    padding: 8px 20px;
}

.navbar-toggler {
    border: none;
    padding: 4px;
}

.navbar-toggler-icon {
    background-size: contain;
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    height: 100vh;
    width: 250px;
    background: #fff;
    z-index: 1050;
    transition: left 0.3s ease;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.mobile-nav.active {
    left: 0;
}

.contact-form-container {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
}

.contact-info {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
}

.contact-info h5 {
    margin-bottom: 15px;
}

.contact-info p {
    margin-bottom: 5px;
}

.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    padding: 15px;
    font-size: 24px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}


@media (min-width: 992px) {
    #mobileNav {
        display: none !important;
    }
}

@media (max-width: 768px) {

    .navbar .btn-primary {
        font-size: 13px;
        padding: 6px 15px;
    }

    marquee {
        font-size: 13px;
    }

    .navbar-brand img {
        width: 130px;
    }

    h1 {
        font-size: 22px !important;
    }

    p {
        font-size: 14px !important;
    }

    h2 {
        font-size: 24px !important;
        font-weight: 700;
    }

    h3 {
        font-size: 18px !important;
    }

    a {
        font-size: 14px !important;
    }

    .carousel-item img {
        height: 22vh !important;
        object-fit: cover;
    }

    .hero-slide {
        height: 22vh !important;
    }

    .carousel-item {
        height: 22vh !important;
    }
}