/********** Template CSS **********/

* {
    font-family: "Poppins", serif;
}


/* ✅ Ensure the page takes full height */

html,
body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    padding-top: 38px;
}


/* ✅ Main content container */

.main-content {
    flex: 1;
    /* Pushes footer to the bottom */
}

:root {
    --primary: #269b87;
    --light: #FFFFFf;
    --dark: #071a33;
    --secondary: #F5F6F6;
    --text_primary: #083f88;
    --hover_primary: #46e4c9;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 700 !important;
}


/* back to top arrow button */

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/* primary text style */

.text-primary {
    color: var(--text_primary) !important;
}


/* border & radius for all cards */

.common-border {
    border: 0.5px solid #269b87;
    border-radius: 30px !important
}


/* common btn */

.btn-checkout {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}


/* hover style for common button */

.btn-checkout:hover {
    color: white;
    background-color: var(--hover_primary);
}


/* ordered list style */

ol {
    list-style-type: decimal;
}


/* Spinner */


/* ✅ Ensure spinner fully covers the screen */

#spinner {
    opacity: 1;
    visibility: visible;
    background-color: white !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    margin-top: 75px;
    transition: opacity 0.1s ease-out, visibility 0.1s ease-out;
}


/* ✅ Centered content (spinner + text) */

.spinner-content {
    text-align: center;
}


/* ✅ Custom Spinner Color */

.spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 4px;
    color: var(--primary) !important;
    /* Change color using CSS variables */
}


/* ✅ Override Bootstrap Spinner Color */

.spinner-border::after {
    border-color: var(--primary) transparent transparent transparent !important;
}


/* ✅ Loading text */

.loading-text {
    margin-top: 10px;
    font-size: 18px;
    color: var(--primary);
    font-weight: bold;
}


/* ✅ Hide spinner smoothly after page load */

#spinner.hide {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease-out, visibility 0.2s ease-out;
}


/*** Button ***/

.btn {
    font-weight: 600;
    transition: .2s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

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

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 0px;
}


/* Navbar */


/* ✅ Fix: Make Navbar Sticky */

.top-navbar {
    position: fixed;
    /* Fix navbar to the top */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: white;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: none !important;
}


/* ✅ Mobile Navbar Styling */

.mobile-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    /* Ensures it's always on top */
}


/* ✅ Left side (Logo) */

.mobile-nav-left .mobile-logo {
    font-size: 22px;
    font-weight: bold;
    color: white;
    text-decoration: none;
}


/* ✅ Right side (Icons) */

.mobile-nav-right {
    display: flex;
    gap: 15px;
    /* Space between icons */
}


/* ✅ Icons */

.mobile-icon {
    font-size: 22px;
    color: white;
    text-decoration: none;
    position: relative;
}


/* ✅ Hover effect */

.mobile-icon:hover {
    color: white;
}


/* ✅ Hide Mobile Navbar on Desktop */

@media (min-width: 992px) {
    .mobile-navbar {
        display: none;
    }
}


/* bottom nav bar for mobile */

.bottom-navbar {
    display: none !important;
    /* Hidden by default */
    position: fixed;
    bottom: 0;
    width: 95%;
    border-radius: 16px;
    margin-bottom: 10px;
    background: var(--primary);
    padding: 10px 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
}

.bottom-navbar a {
    color: white;
    text-decoration: none;
    text-align: center;
    font-size: 14px;
}

.bottom-navbar i {
    font-size: 20px;
    /* Icons size */
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 25px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .2s;
}


/* alert */

.alert-card {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    width: 300px;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
}

.alert-card.show {
    opacity: 1;
    transform: translateX(0);
}

.alert-card.hide {
    opacity: 0;
    transform: translateX(100%);
}

.alert-card i {
    font-size: 1.5rem;
}


/* banner in service */

.banner-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.banner {
    display: inline-block;
    animation: scrollBanner 20s linear infinite;
}

.banner img {
    height: 250px;
    /* Adjust height as needed */
    margin-right: 10px;
    /* Add spacing between images */
    display: inline-block;
    vertical-align: middle;
}


/* Animation for scrolling */

@keyframes scrollBanner {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}


/*** Hero Section Styling ***/


/* Base styles for all screen sizes */

.carousel-item-new {
    height: 100vh;
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
}


/* Mobile View Adjustments */

@media (max-width: 768px) {
    .carousel-item-new {
        height: 500px;
        /* Reduce height on smaller screens */
    }
}


/* Desktop View Adjustments */

@media (min-width: 1024px) {
    .carousel-item-new {
        height: 90vh;
        /* Slightly smaller for desktop */
        background-position: center 25% !important;
        /* Crop from top and bottom */
    }
}


/* Specific Image Background Adjustments */

.slide1 {
    background-image: url('https://ik.imagekit.io/dae4tuoyb/web/gotojobs/hero_pic/a3.jpeg?updatedAt=1738607587332');
    background-position: center top;
    /* Adjust to focus on subject */
}

.slide2 {
    background-image: url('https://ik.imagekit.io/dae4tuoyb/web/gotojobs/hero_pic/a4.jpeg?updatedAt=1738607587542');
    background-position: center center;
}

.slide3 {
    background-image: url('https://ik.imagekit.io/dae4tuoyb/web/gotojobs/hero_pic/a5.1.jpg?updatedAt=1738607587334');
    background-position: center center;
}


/* Dark Overlay for Better Text Visibility */

.carousel-item-new::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Adjusted overlay */
}


/* Center text */

.hero-text {
    position: relative;
    text-align: left;
    padding: 20px;
    color: white;
    max-width: 80%;
}

.hero-text p {
    font-size: 1.5rem;
}


/* Adjust text size for mobile */

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    .hero-text p {
        font-size: 1rem;
    }
}


/* Make text visible on all backgrounds */

.hero-text h1,
.hero-text p {
    color: #ffffff;
}


/* Improve button styles */

.hero-text a.btn {
    background: var(--primary);
    color: white;
    border: none;
}

.hero-text a.btn:hover {
    background: var(--hover_primary);
}


/*Carousel Dots Below the Images*/

.header-carousel .owl-dots {
    position: absolute;
    bottom: 20px;
    /* Move dots below the images */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Style for carousel dots */

.header-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 1px solid #CCCCCC;
    transition: .5s;
    border-radius: 50%;
}

.header-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}


/* ✅ User Profile Container */

.user-profile-container {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-right: 20px;
    cursor: pointer;
}

.user-profile-container img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    /* Prevents empty box appearance */
}


/* ✅ User Name */

.user-name {
    font-weight: 600;
    font-size: 16px;
    color: var(--dark);
}


/* ✅ Dropdown Button */

.profile-dropdown {
    padding: 0px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: var(--dark);
}

.profile-dropdown i {
    transition: 0.3s;
}


/* ✅ Hover Effect */

.profile-dropdown:hover i {
    color: var(--primary);
}


/* ✅ Dropdown Menu */

.dropdown-menu {
    right: 0;
    left: auto;
}

#signInBtn {
    display: block;
    padding: 25px;
    background-color: var(--primary);
    color: white;
    margin: 0px;
}

.user-logged-in #signInBtn {
    display: none !important;
    /* Hide when logged in */
}


/* ✅ Remove Bootstrap's Default Dropdown Arrow */

.user-profile-container .dropdown-toggle::after {
    display: none !important;
    /* Hides the default Bootstrap dropdown caret */
}


/* create impact style */

.card-impact {
    border-radius: 16px;
    overflow: hidden;
    height: 400px;
}


/*** Section Title ***/

.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    background-color: #F5F6F6 !important;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 4px;
    left: -40px;
    background: var(--primary);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 5px;
    left: -60px;
    background: var(--primary);
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}


/*** Service ***/


/* books */


/* Book container - Horizontal scroll */

#book-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 15px;
    gap: 20px;
    /* Increased spacing between cards */
    white-space: nowrap;
    /* Prevent wrapping */
}


/* Hide scrollbar */

#book-container::-webkit-scrollbar {
    display: none;
}

#book-container {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}


/* Book Card */

.book-card {
    flex: 0 0 auto;
    width: 320px;
    max-width: 320px;
    height: fit-content;
    border: 0.5px solid #269b87;
    border-radius: 30px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    scroll-snap-align: start;
}


/* Hover Effect */

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}


/* Image */

.book-card img {
    width: 60%;
    height: 250px;
    /* Adjusted for proportion */
    object-fit: cover;
}


/* Card Body */

.book-card .card-body {
    padding: 20px;
    text-align: center;
}


/* Title */

.book-card .card-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 10px;
}


/* Text */

.book-card .card-text {
    font-size: 1rem;
    color: #555;
    margin-bottom: 10px;
    word-wrap: break-word;
    /* Ensures long words break properly */
    overflow-wrap: break-word;
    /* Breaks long words to next line */
    white-space: normal;
    /* Allows text to wrap */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* discount */

.book-card .discount {
    background: #ff4d4d;
    color: white;
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
    display: inline-block;
    animation: pulse 1.5s infinite;
}


/* Price */

.book-card .price {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary);
}

.book-card .offer-price {
    color: var(--primary);
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.book-card .original-price {
    text-decoration: line-through;
    color: #888;
    margin-right: 10px;
}


/* Countdown */

.book-card .countdown {
    font-size: 1rem;
    color: #e74c3c;
    margin-bottom: 15px;
}


/* Checkout Button */

.book-card .btn-checkout {
    width: 100%;
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.book-card .btn-checkout:hover {
    background-color: #1e806e;
}


/* Download Button */

.book-card .btn-download {
    position: absolute;
    top: 10px;
    right: 10px;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: gray;
    cursor: not-allowed;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.book-card .btn-download.enabled {
    background-color: var(--primary);
    cursor: pointer;
}

.book-card .btn-download i {
    color: #dee2e6;
    font-size: 23px;
}

.book-card .btn-download.enabled i {
    color: #fff;
}


/* Responsive Grid System */

@media (min-width: 1200px) {
    /* 4 cards for large screens */
    .book-card {
        flex: 0 0 calc(25% - 20px);
        max-width: calc(25% - 20px);
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    /* 3 cards for medium screens */
    .book-card {
        flex: 0 0 calc(33.33% - 20px);
        max-width: calc(33.33% - 20px);
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    /* 2 cards for small screens */
    .book-card {
        flex: 0 0 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 767px) {
    /* 1 card for mobile */
    .book-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
}


/* Batch card */


/* Batch Container */

.batch-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 15px;
    gap: 20px;
    /* Increased spacing between cards */
    white-space: nowrap;
    /* Prevent wrapping */
}


/* Batch status */

.batch-header {
    color: var(--text_primary);
    font-size: 32px;
    text-decoration: underline;
    margin-bottom: 20px;
}


/* Hide scrollbar */

.batch-container::-webkit-scrollbar {
    display: none;
}

.batch-container {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}


/* Batch Card */

.batch-card {
    flex: 0 0 auto;
    /* Prevent shrinking */
    width: 320px;
    /* Increased width */
    max-width: 320px;
    /* Ensure uniform width */
    border: 0.5px solid #269b87;
    border-radius: 30px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    scroll-snap-align: start;
    background: #fff;
}


/* Hover Effect */

.batch-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}


/* Card Header */

.batch-card .card-header {
    background: #269b87;
    color: white;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    border-radius: 10px 10px 0 0;
}


/* Card Body */

.batch-card .card-body {
    padding: 20px;
    text-align: center;
}


/* Batch Description */

.batch-card .batch-desc {
    font-size: 1rem;
    color: #555;
    margin-bottom: 10px;
    word-wrap: break-word;
    /* Ensures long words break properly */
    overflow-wrap: break-word;
    /* Breaks long words to next line */
    white-space: normal;
    /* Allows text to wrap */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* Pricing */

.batch-card .batch-pricing {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 15px;
}

.batch-card .original-price {
    text-decoration: line-through;
    color: #888;
    margin-right: 10px;
}

.batch-card .offer-price {
    color: var(--primary);
    font-size: 23px;
    font-weight: bold;
}

.batch-card .discount {
    background: #ff4d4d;
    color: white;
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 18px;
    margin-left: 5px;
    font-weight: bold;
    display: inline-block;
    animation: pulse 1.5s infinite;
}


/* Enrollment Info */

.batch-card .enrollment-info {
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: 15px;
    margin-bottom: 15px;
}

.batch-card .text-danger {
    color: red !important;
}

.batch-card .text-success {
    color: green !important;
}

.batch-card .pulse {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}


/* Buttons */

.batch-card .btn-read-more,
.batch-card .btn-enroll {
    width: 100%;
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.batch-card .btn-enroll {
    background: #269b87;
    color: white;
}

.batch-card .btn-enroll:hover {
    background: #1e806e;
}


/* Responsive Grid System */

@media (min-width: 1200px) {
    /* 4 cards for large screens */
    .batch-card {
        flex: 0 0 calc(25% - 20px);
        max-width: calc(25% - 20px);
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    /* 3 cards for medium screens */
    .batch-card {
        flex: 0 0 calc(33.33% - 20px);
        max-width: calc(33.33% - 20px);
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    /* 2 cards for small screens */
    .batch-card {
        flex: 0 0 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 767px) {
    /* 1 card for mobile */
    .batch-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .batch-header {
        color: var(--text_primary);
        font-size: 25px;
        text-decoration: underline;
        margin-bottom: 20px;
    }
}


/* Professional Container */

.professional-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 15px;
    gap: 20px;
    /* Increased spacing between cards */
    white-space: nowrap;
    /* Prevent wrapping */
}


/* Hide scrollbar */

.professional-container::-webkit-scrollbar {
    display: none;
}

.professional-container {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}


/* Professional Card */

.professional-card {
    flex: 0 0 auto;
    /* Prevent shrinking */
    width: 320px;
    /* Increased width */
    max-width: 320px;
    /* Ensure uniform width */
    border: 0.5px solid #269b87;
    border-radius: 30px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    scroll-snap-align: start;
    background: #fff;
}


/* Hover Effect */

.professional-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}


/* Card Header */

.professional-card .card-header {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    height: 380px;
    padding: 0px;
    background-color: white;
    border: none;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.professional-card .card-header img {
    flex: 0 0 auto;
    width: 98%;
    height: 98%;
    object-fit: cover;
    scroll-snap-align: start;
}


/* Card Body */

.professional-card .card-body {
    padding: 20px;
    text-align: center;
}


/* Professional Description */

.professional-card .professional-desc {
    font-size: 1rem;
    color: #555;
    margin-bottom: 10px;
    word-wrap: break-word;
    /* Ensures long words break properly */
    overflow-wrap: break-word;
    /* Breaks long words to next line */
    white-space: normal;
    /* Allows text to wrap */
    overflow: hidden;
}


/* Pricing */

.professional-card .professional-pricing {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 15px;
}

.professional-card .original-price {
    text-decoration: line-through;
    color: #888;
    margin-right: 10px;
}

.professional-card .offer-price {
    color: var(--primary);
    font-size: 23px;
    font-weight: bold;
}

.professional-card .discount {
    background: #ff4d4d;
    color: white;
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 18px;
    margin-left: 5px;
    font-weight: bold;
    display: inline-block;
    animation: pulse 1.5s infinite;
}


/* Buttons */

.professional-card .btn-read-more,
.professional-card .btn-enroll {
    width: 100%;
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.professional-card .btn-read-more {
    background: #ddd;
    color: black;
}

.professional-card .btn-enroll {
    background: #269b87;
    color: white;
}

.professional-card .btn-enroll:hover {
    background: #1e806e;
}


/* Responsive Grid System */

@media (min-width: 1200px) {
    /* 4 cards for large screens */
    .professional-card {
        flex: 0 0 calc(25% - 20px);
        max-width: calc(25% - 20px);
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    /* 3 cards for medium screens */
    .professional-card {
        flex: 0 0 calc(33.33% - 20px);
        max-width: calc(33.33% - 20px)
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    /* 2 cards for small screens */
    .professional-card {
        flex: 0 0 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 767px) {
    /* 1 card for mobile */
    .professional-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .professional-card .card-header {
        height: 250px;
        -ms-overflow-style: none;
        /* IE and Edge */
        scrollbar-width: none;
        /* Firefox */
    }
}


/* index html service style */

.service-item {
    transition: .5s;
    border-radius: 16px;
}

.service-item:hover {
    margin-top: -10px;
    background: var(--primary);
}

.service-item * {
    transition: .5s;
}

.service-item:hover * {
    color: var(--light) !important;
}

.service-upcoming-img {
    height: 600px !important;
}


/*** Categories & Courses ***/

.category img,
.course-item img {
    transition: .5s;
}

.category a:hover img,
.course-item:hover img {
    transform: scale(1.1);
}

.category-card-text {
    background-color: #CCCCCC;
}

.course-item img {
    height: 300px;
}


/* Scrollable container */

.scroll-container {
    overflow-x: auto;
    white-space: nowrap;
    padding: 10px;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 10px;
    /* Keep first card visible */
}


/* Hide scrollbar (optional) */

.scroll-container::-webkit-scrollbar {
    display: none;
}


/* Ensure cards have equal width and spacing */

.scroll-wrapper {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    /* Add space between cards */
}


/* Ensure cards are equal in size */

.course-card {
    flex: 0 0 90%;
    /* Ensures uniform size */
    max-width: 90%;
    scroll-snap-align: start;
}


/* Make all course items equal size */

.course-item {
    width: 100%;
    height: 100%;
}


/* Fix width on different screen sizes */

@media (min-width: 768px) {
    .course-card {
        flex: 0 0 30%;
        max-width: 30%;
    }
}


/*** Team ***/

.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}


/*** Testimonial ***/

.testimonial-carousel::before {
    position: absolute;
    overflow: hidden;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    overflow: hidden;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel .owl-item .testimonial-text,
.testimonial-carousel .owl-item.center .testimonial-text * {
    transition: .5s;
    overflow: hidden;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 1px solid #CCCCCC;
    transition: .5s;
    border-radius: 50%;
}

.testimonial-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

@media (max-width: 768px) {
    html,
    body {
        padding-top: 30px;
    }
    #spinner {
        margin-top: 60px;
    }
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .hero-text h5 {
        font-size: 18px;
    }
    .hero-text h1 {
        font-size: 30px;
    }
    .hero-text p {
        font-size: 16px;
    }
    .hero-text {
        margin-left: 0px !important;
    }
    .top-navbar {
        display: none;
        /* Hide top navbar */
    }
    .bottom-navbar {
        display: flex !important;
        /* Show bottom navbar */
    }
    .back-to-top {
        display: none !important;
    }
    .banner img {
        height: 150px;
        /* Smaller height for mobile */
    }
    .book-card img {
        width: 50%;
        height: 250px;
        object-fit: cover;
    }
    .card-impact {
        height: 100%;
        width: fit-content;
    }
    .card-impact img {
        width: 100% !important;
        height: 70%;
    }
    .service-upcoming-img {
        height: 300px !important;
    }
    .course-item img {
        height: 230px;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }
    .navbar .dropdown-menu.fade-down {
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
    }
    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }
    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.disabled-link {
    pointer-events: none;
    /* Prevent clicking */
    opacity: 0.5;
    /* Make the button look disabled */
}