/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    background-color: var(--white);
    padding-top: 76px !important;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    /* For older IE/Edge */

    /* You can comment or remove this if no longer needed */
    /* Adjust this value based on your navbar's height */
}

.container-fluid {
    padding-left: 8% !important;
    padding-right: 8% !important;
}

:root {
    --primary: #b62b32;

    --secondary: #FBB12C;
    --black: #000000;
    --white: #ffffff;
}

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

.regular-price {
    color: var(--primary) !important;
}

/* Button styles */
.btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: var(--white) !important;
}


.btn-outline-primary {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
    background-color: transparent !important;
}

.btn-outline-primary:hover {
    color: var(--white) !important;
    border-color: var(--primary) !important;
    background-color: var(--primary) !important;
}

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

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

:hover {
    transition: all 0.3s ease-out;
}

/* Navbar styles */
.navbar {
    /* padding: 0.75rem 0rem; */
    height: auto;
}

.start-name {
    color: var(--primary) !important;
}

.end-name {
    color: var(--red) !important;
}

.navbar .search-input {
    border: 0.0625rem;
    border-radius: 0.3125rem;
    /* width: 100%;
    max-width: 33.0625rem; */
    height: 2.5rem;
}

.navbar .navbar-nav .nav-link {
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-style: normal;
    color: white !important;
    transition: color 0.3s ease;

}

.navbar .navbar-nav .nav-item .text-hover:hover {
    color: var(--white) !important;
}

.user-profile .text-hover:hover {
    color: var(--primary) !important;
}

.image-border {
    border-radius: 50%;
    border: 0.0625rem solid var(--primary);
}

.btn-hover:hover {
    color: var(--white) !important;
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    outline: none !important;
}

.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
    /* Optional: prevents slight jump */
}

.login-btn,
.signup-btn {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 93px;
    height: 36px;
    border-radius: 7px;
    border: 0.0625rem solid var(--primary);
    padding: 0.3125rem 0.625rem;
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 5%;
    text-transform: uppercase;
}

.login-btn {
    color: var(--primary) !important;
    background-color: transparent;
}

.login-btn:hover {
    color: var(--white) !important;
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.signup-btn {
    background-color: var(--primary);
    color: var(--white) !important;
}

.navbar-toggler-icon {
    color: #ffffff !important;
}


.search-input .form-control:focus {
    border-color: var(--primary);
    /* Bootstrap primary color */
    box-shadow: none;
    /* Remove default shadow */
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: none;
}

.search-input .input-group-text:focus {
    border-color: var(--primary);
    box-shadow: none;
}


.login-container {
    padding: 40px;
    padding-bottom: 0px;
    text-align: center;
}

.login-title {
    font-family: Roboto Flex;
    font-weight: 500;
    font-style: Medium;
    font-size: 28px;
    line-height: 100%;
    letter-spacing: -2%;
    text-align: center;
    vertical-align: middle;
}

/* Custom input styling */
.custom-input {
    border-radius: 8px;
    border: 1px solid #ccc;
    padding: 10px 14px;
    background-image: url('/frontend/assets/images/header-background.jpg');
    width: 100%;
    height: 56px;
    font-size: 16px;
    color: #333;
    transition: border-color 0.3s ease;
}

.custom-input:focus {
    border-color: var(--primary);
    outline: none;
}

.custom-input::placeholder {
    /* color: transparent; */
    /* Hide placeholder to avoid conflict with floating label */
}

/* Custom floating label container */
.input-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.custom-label,
.custom-phone-label {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: #7e7474;
    font-size: 16px;
    font-weight: 400;
    pointer-events: none;
    transition: all 0.2s ease;
    padding: 0 5px;
    z-index: 2;
    /* Ensure label is above input */
}

.custom-input:focus~.custom-label,
.custom-input:not(:placeholder-shown)~.custom-label,
.custom-input:focus~.custom-phone-label,
.custom-input:not(:placeholder-shown)~.custom-phone-label {
    top: 0;
    font-size: 16px;
    color: var(--primary);
    transform: translateY(-50%) scale(0.8);
    background-color: #fff;
}

/* Phone input specific styling */
.iti {
    width: 100%;
    position: relative;
}

.iti__flag-container {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 14px;
    z-index: 3;
    /* Ensure flag container is above input and label */
    padding: 0;
    cursor: pointer;
}

.iti .custom-input {
    padding-left: 60px;
    /* Space for flag and dial code */
}

.phone-input-wrapper .custom-phone-label {
    left: 60px;
    /* Align with input padding */
}

.phone-input-wrapper .custom-input:focus~.custom-phone-label,
.phone-input-wrapper .custom-input:not(:placeholder-shown)~.custom-phone-label {
    left: 14px;
    /* Move back to align with other labels when floating */
}

/* Ensure dropdown is visible */
.iti__country-list {
    z-index: 4;
    /* Ensure dropdown is above all other elements */
    width: 300px;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
}

/* Password toggle styling */
.input-wrapper.position-relative .custom-input {
    padding-right: 3rem;
}

.input-wrapper.position-relative .toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 3;
    background: transparent;
    border: none;
    padding: 5px;
}

.form-check-input:active {
    color: var(--primary);
}

.form-check-input:focus {
    box-shadow: none;
    border-color: var(--primary);
}

.form-check-label {
    font-weight: 300;
    font-size: 18px;
    line-height: 25px;
    letter-spacing: 2%;
    color: var(--primary);
}

.custom-btn-primary {
    background-color: var(--primary);
    border: none;
    padding: 10px;
    border-radius: 10px;
    font-weight: bold;
    width: 280px;
    max-width: 100%;
    color: #FFFFFF;
}

.custom-btn-primary:hover {
    background-color: var(--primary);
    color: #FFFFFF;
}

.register-text {
    font-weight: 300;
    font-size: 14px;
    line-height: 30px;
    letter-spacing: 2%;
}

.register-text a {
    font-weight: 500;
    font-size: 14px;
    line-height: 30px;
    letter-spacing: 2%;
    text-decoration: underline;
    text-decoration-style: solid;
    text-decoration-thickness: 1px;
    text-decoration-skip-ink: auto;
}



.custom1-btn-primary {
    background-image: url('/frontend/assets/images/header-background.jpg');
    border: none;
    padding: 10px;
    border-radius: 0px;
    max-width: 100%;
    color: #FFFFFF;
    text-decoration: none;
}

/* Ensure error state doesn't break layout */
.iti .is-invalid {
    border-color: #dc3545;
}


.otp-input-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.otp-digit {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    text-align: center;
    border: 2px solid #ccc;
    border-radius: 10px;
    transition: border-color 0.3s;
    background-image: url('/frontend/assets/images/header-background.jpg');
}

.otp-digit:focus {
    border-color: var(--primary);
    outline: none;
}

.otp-digit.error {
    border-color: #dc3545;
}


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

.resend-section {
    margin-top: 1.5rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.resend-link {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    font-size: 16px;
}

.resend-link:disabled {
    color: #999;
    cursor: not-allowed;
}

.back-to-login {
    display: inline-block;
    margin-top: 0.5rem;
    color: var(--primary);
    font-size: 1rem;
    text-decoration: none;
}

.back-to-login i {
    margin-right: 5px;
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: none;
}

.error-message.show {
    display: block;
}

@media (max-width: 768px) {
    .otp-digit {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .login-container {
        padding: 2rem;
    }
}

@media screen and (max-width: 1090px) {
    .about-nav {
        display: none;
    }

}




@media (max-width: 1250px) {
    .display-none {
        display: none;
    }
}

@media (max-width: 900px) {
    .training-nav {
        display: none;
    }
}

@media (max-width: 803px) {
    .library-nav {
        display: none;
    }
}


@media (max-width: 992px) {


    .notice-nav {
        display: none;
    }
}



@media (max-width: 767.99px) {

    .about-nav {
        display: block;
    }

    .training-nav {
        display: block;
    }

    .library-nav {
        display: block;
    }

    .notice-nav {
        display: block;
    }

    .navbar {
        padding: 0.5rem;
    }

    .navbar .search-input {
        height: 2.25rem;
    }

    .navbar .navbar-nav .nav-link {
        font-size: 16px;
        /* padding: 0.5rem 0; */
    }
}

@media (max-width: 575.98px) {
    .signupBtn {
        margin-right: 0 !important;
    }

    .navbar-toggler {
        padding: 0.25rem 0.5rem;
    }

    .search-input .input-group {
        height: 2rem;
    }

    .search-input .form-control {
        font-size: 0.875rem;
        height: 2rem;
    }

    .search-input .input-group-text {
        height: 2rem;
    }
}

@media screen and (max-width: 490px) {
    .auth-buttons .signupBtn {
        display: none !important;
    }
}

@media screen and (max-width: 363px) {
    .search-icon-responsive {
        display: none !important;
    }
}

/* .navbar-top {
    background-image: url('/frontend/assets/images/header-background.jpg');
    background-size: cover;
    background-position: center;
    height: 60px;
    z-index: 9998;
    position: fixed;
    top: 0;
    width: 100%;
}

.navbar-bottom {
    background-color: #dc3545;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    z-index: 9997;
} */


/* Top navbar */
.navbar-top {
    background-image: url('/frontend/assets/images/header-background.jpg');
    background-size: cover;
    background-position: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9998;
}

/* Bottom navbar / button row under top navbar */
.navbar-bottom {
    background-color: #dc3545;
    position: fixed;
    top: var(--navbar-top-height, 60px);
    /* fallback 60px */
    left: 0;
    right: 0;
    z-index: 9997;
}

/* Main content */
main {
    margin-top: var(--navbar-total-height, 120px);
    /* fallback if JS not loaded */
}



.nav-link:hover {
    transform: scale(1.1);


}

.active_nav {
    font-weight: bold;
    border-bottom: 2px solid white;
}

.dropdown-menu {
    background-image: url('/frontend/assets/images/header-background.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    border: none;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    min-width: 180px;
    padding: 8px 12px;
    z-index: 1000 !important;
    display: none;
    transition: all 0.3s ease;

    /* for smooth appearance */
}

.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

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

.dropdown-item {
    padding: 8px 12px;
    color: #333;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 8px;
    /* Remove margin here */
}

.dropdown-item:hover,
.dropdown-item.active {
    background-color: #E2DFCF;
    color: #333;
}


.search-input {
    border: 1px solid #dc3545;
    border-radius: 5px;
}

.fa-chevron-down {
    transition: transform 0.3s ease;
}

.fa-chevron-down.rotate {
    transform: rotate(180deg);
}

/* Navbar styles end */

/* slider section */

.custom-indicators button {
    background-color: #000000 !important;
    color: white !important;
    width: 7px !important;
    height: 6px !important;
    border: none !important;
    border-radius: 7px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.custom-indicators button.active {
    width: 28px !important;
    height: 6px !important;
    border-radius: 7px;
    background-color: #000000;
    /* dark blue (active) */
}

/* slider section */
/* Hero section start */

.row.align-items-stretch {
    min-height: 450px;
}

.hero-video-container {
    border-radius: 47px;
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    aspect-ratio: 16 / 9;
    /* maintain a 16:9 aspect ratio */
}

.hero-video {
    border-radius: 10px;
    object-fit: cover;
}

.hero-content {
    border-radius: 47px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    text-align: justify;
}

.hero-title {
    font-size: 2rem;
    font-weight: 500;
    line-height: 3rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.hero-buttons .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
}

/* Media queries for responsive design */
/* Media queries */
@media (max-width: 991.98px) {
    .row.align-items-stretch {
        flex-direction: column;
    }

    .hero-video-container {
        aspect-ratio: auto;
        height: 300px;
    }

    .hero-content {
        padding: 2rem;
        height: auto;
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 2.25rem;
    }
}

@media (max-width: 576px) {
    .hero-video-container {
        height: 200px;
    }

    .hero-title {
        font-size: 1.5rem;
        line-height: 2rem;
    }
}

/* hero section end */

/* courses category */
/* Course Category Section Styles */
.course-category-section,
.live-classes-section,
.mock-test-section,
.testimonials-section,
.mobile-app-section,
.slider-section,
.hero-section {
    padding: 1rem 0;
}

.section-title {
    font-size: 25px;
    margin: 0;
    font-family: Lato;
    color: #333;
    font-weight: 600;
}

/* .view-more {
    color: var(--primary);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    line-height: 22px;
    letter-spacing: 2%;

} */
.view-more {
    background: var(--primary);
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 22px;
    letter-spacing: 0.5px;
    text-decoration: none;
    /* keeps <a> clean */
}

/* Hover effect */
.view-more:hover {
    background: var(--white) !important;
    /* darker shade of primary */
    color: var(--primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Optional: focus/active */
.view-more:active {
    transform: scale(0.95);
}


/* .view-more:hover {
    color: var(--hover-primary);
} */

.view-more i {
    margin-left: 0.5rem;
}

.category-card {
    transition: all 0.3s ease;
    background-color: #fff;
    height: auto;
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    transform: translateY(-5px);
    /* box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12); */
}

/* .category-image-container {
    height: 230px;
    overflow: hidden;
    background-color: #f5f5f5;
} */

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 13px !important;
    transition: transform 0.5s ease;
}

.category-card:hover .category-image {
    transform: scale(1.05);
}

.category-title {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 48px;
    letter-spacing: 2%;
    color: #000;
    padding: 0.2rem 0.5rem;
    margin: 0;
}

/* Responsive Adjustments */
/* @media (max-width: 1199.98px) {
    .category-image-container {
        height: 200px;
    }
} */

@media (max-width: 991.98px) {
    .section-title {
        font-size: 1.75rem;
    }
}

/* @media (max-width: 767.98px) {
    .category-image-container {
        height: 220px;
    }

} */

@media (max-width: 575.98px) {
    .section-title {
        font-size: 1.5rem;
    }


    .view-more {
        font-size: 0.875rem;
    }

    /* .category-image-container {
        height: 200px;
    } */

    .category-title {
        font-size: 1.125rem;
        padding: 0.875rem;
    }
}

/* courses category end */

/* live class */
.class-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 13px !important;
    transition: transform 0.5s ease;
}

.one-line-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.class-card:hover .class-image {
    transform: scale(1.05);
}

.class-details {
    padding: 1rem 0.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.rating {
    width: 48;
    height: 32;
}

.rating i {
    color: var(--secondary);
    font-size: 1rem;
    margin-right: 0.125rem;
}

.class-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--black);
    /* margin-bottom: 10px; */
}

.class-description {
    font-weight: 400;
    font-size: 14px;
    vertical-align: middle;
    color: #5a5454;
}

.class-price {
    font-size: 20px;
    font-weight: 500;
    color: var(--black);

    /* margin-bottom: 0.5rem; */
}

.class-date {
    font-size: 15px;
    color: var(--primary);
    margin-top: auto;
    margin-bottom: -1rem !important;
}

/* live class end */

/* testimomials */

/* Base testimonial styles */

.testimonial-item {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 15px;
    transition: transform 0.3s ease;
    height: 100%;
}

.testimonial-item:hover {
    transform: translateY(-5px);
}

.profile-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.testimonial-text {
    max-height: 100px;
    overflow-y: auto;
    scrollbar-width: thin;
    /* For Firefox */
    scrollbar-color: #ccc transparent;
    /* For Firefox */
}

/* For Webkit-based browsers like Chrome, Safari */
.testimonial-text::-webkit-scrollbar {
    width: 6px;
}

.testimonial-text::-webkit-scrollbar-track {
    background: transparent;
}

.testimonial-text::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 4px;
}

/* footer starts here */
.footer {
    color: var(--black);
    padding: 40px 0 0 0;
    font-weight: 500;
    font-size: 20px;
    background: url('../images/footer-bg.jpg') no-repeat center center / cover;
    display: flex;
    justify-content: space-between;

}

.footer a {
    color: var(--black);
    text-decoration: none;
    font-weight: 400;
    font-size: 16px;
}

.footer a:hover {
    color: var(--primary);
    text-decoration: none !important;
}

.footer-bottom {
    padding: 10px 0;
    font-weight: 400;
    font-size: 16px;
}

.social-icon {
    font-size: 24px;
    margin-right: 15px;
    color: white;
}

.footer h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.footer ul li {
    margin-bottom: 5px;
}

.footer ul li a {
    color: #000;
    font-size: 16px;
    text-decoration: none;
}

.footer .social-links a {
    margin-right: 10px;
    color: #000;
    font-size: 20px;
}

.footer .social-links a:hover {
    color: var(--primary);
    text-decoration: none !important;
}

.app-button {
    /* background-color: white; */
    border-radius: 8px;
    padding: 8px 15px 8px 0px;
    margin-bottom: 10px;
    display: inline-block;
    color: #333 !important;
    text-align: left;
}

.app-icon {
    font-size: 24px;
    margin-right: 10px;
    vertical-align: middle;
}

.app-text {
    display: inline-block;
    vertical-align: middle;
}

.small-text {
    font-size: 12px;
    margin: 0;
}

.large-text {
    font-size: 16px;
    font-weight: bold;
    margin: 0;
}

.line {
    max-width: 66px;
    margin: 10px 0;
    border: 2px solid #000;
}

@media screen and (max-width: 515px) {
    .responnsive {
        display: block;
        width: 100%;
    }
}

/* footer ends here */
/* Scroll-to-top button styles */
.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    display: none;
    /* Initially hidden */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Hover Effect */
.scroll-top:hover {
    background-color: white;
    color: var(--primary);
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.5);
}

/* Show button when active */
.scroll-top.active {
    display: flex;
    opacity: 1;
}


/* courses category starts */

.section-title-1 {
    color: var(--primary) !important;
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 100%;
    letter-spacing: 0%;
}

.view-more-home {
    color: #00000066;
    font-size: 18px;
    border: 0.3px solid #00000066;
    border-radius: 50%;
    padding: 5px;
    background-color: #ececec;
}

/* courses category ends */

/* breadcrumb starts */

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 0;
    margin-bottom: 0;
    background-color: transparent;
}

.breadcrumb-item {
    font-size: 16px;
    color: #555;
    text-decoration: none;
}

.breadcrumb-item:hover {
    text-decoration: none;
}

.breadcrumb-separator {
    margin: 0 10px;
    display: inline-flex;
    align-items: center;
}

.breadcrumb-item.active {
    color: var(--primary);
    font-weight: 500;
}

.nav-title-1 {
    color: #000000;
    font-weight: 400;
    font-size: 24px;
    line-height: 100%;
}

.nav-title-2 {
    color: var(--primary);
    font-weight: 400;
    font-size: 24px;
    line-height: 48px;
    letter-spacing: 2%;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Responsive Breakpoints */
/* Extra small devices (phones, less than 576px) */
@media (max-width: 575.98px) {

    .nav-title-1,
    .nav-title-2 {
        font-size: 16px;
        line-height: 1.4;
    }

    .nav-title-2 {
        line-height: 24px;
    }

    .breadcrumb-separator img {
        width: 6px;
        height: 10px;
    }

    .breadcrumb {
        margin-right: 10px;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {

    .nav-title-1,
    .nav-title-2 {
        font-size: 18px;
        line-height: 1.5;
    }

    .nav-title-2 {
        line-height: 32px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {

    .nav-title-1,
    .nav-title-2 {
        font-size: 20px;
        line-height: 1.5;
    }

    .nav-title-2 {
        line-height: 38px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {

    .nav-title-1,
    .nav-title-2 {
        font-size: 24px;
        line-height: 1.5;
    }

    .nav-title-2 {
        line-height: 48px;
    }
}

/* Fix for breadcrumb on very small screens */
@media (max-width: 359.98px) {
    .breadcrumb-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-link {
        margin-top: 10px;
        align-self: flex-end;
    }

    .nav-title-1,
    .nav-title-2 {
        font-size: 14px;
        line-height: 1.3;
    }

    .nav-title-2 {
        line-height: 20px;
    }
}

/* breadcrumb ends */
/* Courses details */
.course-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.course-price {
    font-weight: bold;
    margin-bottom: 10px;
}

.course-details {
    margin-bottom: 15px;
    font-weight: bold;
    font-size: 16px;
    line-height: 48px;
    letter-spacing: 2%;
}

.course-description {
    font-size: 16px;
    font-weight: 400;
    line-height: 30px;
    letter-spacing: 0;
    text-align: justify;
}

.syllabus-card {
    border: none;
    margin-bottom: 30px;
}

.syllabus-button {
    background-color: #f0f0f0;
    border: 0.3px solid #e0e0e0;
    padding: 10px 15px;
    margin: 5px;
    text-align: center;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    height: 70px;
    font-size: 18px;
    line-height: 24px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    /* Added smooth transition */
}

.syllabus-button:hover {
    background-color: #e9ecef !important;
    /* Yellow color on hover */
}

.review-stars {
    color: #f8bd00;
    margin-bottom: 10px;
}

.review-comment {
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.reviewer-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.enroll-button {
    background-color: #17a2b8;
    color: white;
    border: 2px solid var(--primary);
    padding: 8px 16px;
    border-radius: 20px;
}

.enroll-button:hover {
    background-color: #138496;
    color: #fff;
}

.sidebar-card {
    margin-bottom: 20px;
}

.mock-test-card {
    text-align: center;
}

.articles-sidebar {
    background-color: #17a2b8;
    color: white;
    padding: 15px;
    border-radius: 5px;
}

.custom-card-title {
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Shadow effect */
    padding: 0.5rem 1rem;
    /* p-2 and px-3 equivalent */
    border: 0.5px solid #e0e0e0;
    /* Custom border width */
    border-radius: 7px;
    /* rounded equivalent */
}

.position-left {
    position: relative;
}

.position-right {
    position: sticky;
    top: 120px;
    /* Distance from top when sticky */
    height: fit-content;
    /* Ensure it only takes the needed space */
}

/* Courses detaiks ends */

/* Mock test */
.mock-test-title {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.mock-test-subtitle {
    font-size: 15px;

    margin-bottom: 20px;
    text-align: justify;
}

.tag {
    background-color: #e0e0e0;
    padding: 8px 12px;
    border-radius: 15px;
    display: inline-block;
    margin-bottom: 25px;
    font-weight: 500;
    font-size: 22px;
    letter-spacing: 2%;
}

.test-button {
    display: block;
    width: 100%;
    text-align: left;
    border: 0.8px solid #000000;
    border-radius: 10px;
    padding: 15px;
    padding-left: 25px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    color: #333;
    text-decoration: none;
    text-align: justify;
}

.test-button:hover {
    background-color: #f8f9fa;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Mock test results */
.result-card {
    background-color: #b9e6f333;
    border-radius: 0.625rem;
    /* 10px */
    padding: 1.5rem;
    /* Increased padding for better spacing */
    border: 0.0625rem solid #000000;
    /* 1px */
}

.action-btn {
    width: 100%;
    /* Makes button responsive */
    max-width: 14.1875rem;
    /* 227px */
    border: 0.0625rem solid #ececec !important;
    /* 1px */
    border-radius: 0.625rem;
    /* 10px */
    box-shadow: 0rem 0.25rem 0.25rem 0rem rgba(0, 0, 0, 0.25);
    /* 0px 4px 4px 0px */
    font-size: 1rem;
    /* 16px */
    font-weight: 500;
}

.score {
    font-size: 1.375rem;
    /* 22px */
    font-weight: 500;
    line-height: 2.5rem;
    /* 40px */
}

.total-score {
    font-size: 1.625rem;
    /* 26px */
    font-weight: 600;
    line-height: 2.5rem;
    /* 40px */
}

/* Responsive Text */
@media (max-width: 768px) {
    .score {
        font-size: 1.25rem;
        /* 20px */
        line-height: 2rem;
        /* 32px */
    }

    .total-score {
        font-size: 1.5rem;
        /* 24px */
        line-height: 2.2rem;
    }

    .action-btn {
        font-size: 0.875rem;
        /* 14px */
        padding: 0.75rem;
        /* Better touch targets */
    }
}

/* mock question */
.vertical-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    border-left: 1px dashed #ccc;
    transform: translateX(-50%);
    z-index: 1;
}

.question-section {
    border: 1px solid #000000;
    border-radius: 10px;
    padding: 15px;
    margin-left: 20px;
    margin-bottom: 25px;
}

.question {
    font-weight: 500;
    margin-bottom: 15px;
}

.option {
    flex: 1;
    border: 1px solid #ddd;
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option:hover {
    background-color: #f8f9fa;
}

.quiz-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding: 0 20px;
}

.btn-back {
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px 25px;
}

.btn-submit {
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px 25px;
}

.dimensions {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--primary);
    color: white;
    border-radius: 5px;
    padding: 5px 15px;
}

.horizontal-divider {
    border-top: 1px dashed #ccc;
    margin: 20px 0;
}

/* ncendsjfvsdjf */
/* Base styling */
.main-content {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-top: 30px;
    padding: 30px;
}

/* Breadcrumb styling */
.breadcrumb-wrapper {
    margin-bottom: 20px;
}

.breadcrumb {
    margin-bottom: 0;
}

.view-more-home {
    color: var(--primary);
    font-size: 18px;
}

/* Course image and details */
.course-image-container {
    position: relative;
    margin-bottom: 25px;
    border-radius: 12px;
    overflow: hidden;
}

.course-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.course-image:hover {
    transform: scale(1.02);
}

.course-instructors {
    color: #555;
    font-size: 16px;
}

.instructor-name {
    font-weight: 500;
}

/* Enrollment section */
.enrollment-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

/* Schedule card */
.schedule-card {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.video-icon {
    background-color: #80d0f1;
    padding: 15px;
    border-radius: 8px;
    color: white;
    font-size: 24px;
    margin-bottom: 15px;
}

.video-icon:hover {
    background-color: #0090c5;
    transform: scale(1.1);
}

.schedule-heading {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.time-slot {
    color: #555;
    font-size: 16px;
    margin-bottom: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
}

.time-slot:last-child {
    border-bottom: none;
}

.time-slot-label {
    font-weight: 600;
    color: #333;
    width: 100px;
    display: inline-block;
}

/* Review section */
.review-section {
    margin-top: 40px;
}

.review-heading {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.review-form {
    margin-bottom: 30px;
}

.star-container {
    margin-bottom: 15px;
}

.star-rating {
    color: #ffc107;
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.star-rating:hover {
    transform: scale(1.2);
}

.gray-star {
    color: #e0e0e0;
}

.review-textarea {
    border-radius: 8px;
    padding: 12px;
    border: 1px solid #ced4da;
    resize: none;
    background: url('/frontend/assets/images/header-background.jpg') no-repeat center center;
    background-size: cover;
}

.review-card {
    border-left: 4px solid var(--primary);
    padding: 15px 20px;
    margin-bottom: 20px;
    background-color: #f9f9f9;
    border-radius: 0 8px 8px 0;
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.reviewer-name {
    font-weight: 600;
    font-size: 16px;
    color: #333;
}

.review-stars {
    margin-left: 10px;
}

.review-text {
    font-size: 15px;
    color: #555;
    line-height: 1.5;
    margin-top: 8px;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary);
    border-color: var(--primary);
}

.pagination .page-link {
    color: var(--primary);
}

.day-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.day-block {
    flex: 1;
    min-width: 220px;
}

.day-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 15px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background-color: #fff;

    cursor: pointer;
}

.time-slot {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.time-icon {
    color: #999;
    margin-right: 10px;
}

.btn-join {
    width: 100%;
    margin-top: 15px;
    padding: 8px;
    border-radius: 8px;
    border: none;
    color: white;
    cursor: pointer;
}

.active-day .btn-join {
    background-color: #0099cc;
}

.inactive-day .btn-join {
    background-color: #aaaaaa;
}

.active-day {
    border-radius: 8px;
}

.today-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #ffc107;
    border-radius: 50%;
    margin-left: 8px;
    animation: pulse 1.5s infinite;
}

.live-indicator {
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    margin-left: 8px;
    animation: pulse 1.5s infinite;
}

.expired-indicator {
    width: 10px;
    height: 10px;
    background: #ff4d4d;
    border-radius: 50%;
    margin-left: 8px;
    animation: pulse 1.5s infinite;
}

.expired-text {
    color: #ff4d4d;
}

.status-text {
    margin-left: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    vertical-align: middle;
}

.live-text {
    color: var(--primary);
}

.today-text {
    color: #ffc107;
}

.current-time-slot {
    color: var(--primary);
    font-weight: bold;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
    }

    70% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(0.95);
    }
}

.category-scroller,
.subcategory-scroller,
.childcategory-scroller,
.all-scroller {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.category-btn,
.subcategory-btn,
.childcategory-btn,
.all-btn {
    white-space: nowrap;
    border-radius: 10px;
    padding: 8px 20px;
    transition: all 0.3s ease;
    border: 1px solid var(--primary);
    color: var(--primary);
    background: white;
}

.category-btn.active,
.subcategory-btn.active,
.childcategory-btn.active,
.all-btn.active {
    background: var(--primary);
    color: white;
}

.category-btn:hover,
.subcategory-btn:hover,
.childcategory-btn:hover,
.all-btn:hover {
    background: var(--primary);
    color: white;
}

.childcategory-btn {
    border-color: var(--primary);
    color: #6c757d;
    font-size: 0.9rem;
}

/* Custom Scrollbar Styles */
/* For WebKit browsers (Chrome, Safari) */
::-webkit-scrollbar {
    width: 12px;
    /* Vertical scrollbar width */
    height: 12px;
    /* Horizontal scrollbar height */
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    /* Track color */
    border-radius: 10px;
    /* Rounded track */
}

::-webkit-scrollbar-thumb {
    background: #888;
    /* Thumb color */
    border-radius: 10px;
    /* Rounded thumb */
    border: 3px solid #f1f1f1;
    /* Creates padding around thumb */
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
    /* Hover state color */
}

/* For Firefox */
* {
    scrollbar-width: thin;
    /* "auto" | "thin" | "none" */
    scrollbar-color: #888 #f1f1f1;
    /* thumb track */
}

/* Optional: Specific element scrolling */
.scroll-container {
    overflow: auto;
    max-height: 400px;
    /* Example fixed height */
    scroll-behavior: smooth;
    /* Smooth scrolling */
}

.faq-header p {
    font-size: 18px;
    margin-bottom: 30px;
}

.faq-item {
    border-bottom: 1px solid #e5e5e5;
    padding: 20px 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h4 {
    margin: 0;
}

.toggle-icon {
    font-size: 18px;
    color: var(--primary);
}

.faq-answer {
    text-align: start !important;
    margin-top: 10px;
    display: none;
    font-size: 16px;
    color: #333;
}

.faq-answer p,
ul,
li,
ol {
    margin: 0;
}

.faq-answer ul {
    padding-left: 20px;
    margin-top: 10px;
}

.faq-answer ul li {
    list-style-type: disc;
}

.faq-answer ol {
    padding-left: 20px;
    margin-top: 10px;
}

.faq-answer ol li {
    list-style-type: decimal;
}

#__vconsole .vc-switch {
    display: none !important;
}

.hero-section-line {
    border-bottom: 3px solid #d9d9d9;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 34px;
}

.footer-section-line {
    border-bottom: 5px solid #d9d9d9;
    width: 100%;
    margin-top: 10px;
    /* margin-bottom: 34px; */
}

.custom-search-input {
    width: 295px;
    height: 36px;
    border: 1px solid #1c5a31;
    border-radius: 7px;
}

.custom-btn {
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1c5a31;
    color: white;
    border-radius: 7px;
}

.custom-search-icon {
    border: 1px solid #1c5a31;
    border-left: none;
    height: 36px;
    border-radius: 0 7px 7px 0;
}

.average-rating {
    font-family: Roboto Flex !important;
    font-weight: 500;
    font-size: 14px;
    color: #000000;
}

.discount-row {
    display: inline-flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    align-items: center;
    gap: 1rem;
    /* optional for even spacing */
}

/* Content Section */
.app-content {
    flex: 1;
}

.app-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.app-description {
    font-size: 1.1rem;
    color: #5a6c7d;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.features-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #2c3e50;
}

.feature-checkmark {
    width: 20px;
    height: 20px;
    background: #28a745;
    border-radius: 3px;
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-checkmark::after {
    content: "✓";
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.download-buttons {
    display: flex;
    gap: 1rem;
}

.download-btn {
    display: inline-block;
    transition: transform 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
}

.download-btn img {
    height: 50px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@media (max-width: 768px) {
    .app-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        /* padding: 2rem 1.5rem; */
    }

    .phone-frame {
        width: 220px;
        height: 440px;
    }

    .app-title {
        font-size: 1.8rem;
    }

    .app-description {
        font-size: 1rem;
    }

    .download-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .mobile-app-section {
        padding: 0 1rem;
    }

    .phone-frame {
        width: 200px;
        height: 400px;
    }

    .app-title {
        font-size: 1.6rem;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
}

.live-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--primary);
    /* Blue background with slight transparency */
    color: white;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    z-index: 10;
}

.live-badge-1 {
    background-color: var(--primary);
    /* Blue background with slight transparency */
    color: white;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    z-index: 10;
}

.blink {
    animation: blinker 2s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

.pagination .page-link {
    border-radius: 5px !important;
    margin: 12px 8px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
}

.course-card {
    background: url('/frontend/assets/images/header-background.jpg') no-repeat center center;
    background-size: cover;
    border-radius: 15px;
    padding: 10px;
    height: auto;
    transition: transform 0.3s ease;

}

.class-title-training {
    font-size: 1.2rem;
    font-weight: bold;
}

.article-card {
    /* position: relative;
    background: url('/frontend/assets/images/header-background.jpg') no-repeat center center;
    background-size: cover;
    border-radius: 15px;
    height: auto;
    display: flex;
    flex-direction: row;

    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    padding: 1rem; */
    background: url('/frontend/assets/images/header-background.jpg') no-repeat center center;
    background-size: cover;
    border-radius: 15px;
    padding: 10px;
    height: auto;
    transition: transform 0.3s ease;
}


.article-card img.article-img {
    width: 100%;
    height: auto;
    border-radius: 13px;
    object-fit: cover;
}

/* .arrow-circle {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #ffffff;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
}

.arrow-circle:hover {
    background-color: var(--primary);
    color: #fff;
}

.arrow-circle i {
    font-size: 14px;
} */

.article-card-description {
    position: relative;
    background: url('/frontend/assets/images/header-background.jpg') no-repeat center center;
    background-size: cover;
    border-radius: 15px;
    height: auto;

}

/* @media (max-width: 576px) {
    .article-card {
        display: flex;
        /* must be flex to use flex-direction
        flex-direction: column;
        align-items: center;
        center content horizontally

    }

    .article-card .d-flex {
        flex-direction: column;
        /* stack image above text
        align-items: center;
        /* center image and text
        gap: 0.5rem;
        /* spacing between image and content
    }

    .article-card .article-img {
        width: 100% !important;
        height: auto;

    }
} */

.audio-card {
    background-image: url('/frontend/assets/images/header-background.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    padding: 10px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: transform 0.2s;
    position: relative;

}

.audio-card:hover,
.article-card:hover,
.course-card:hover,
.podcast-card:hover {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
}


.audio-icon {
    /* background: #fff;
                                padding: 0.5rem; */
    width: 100px;
    height: 100%;
    /* object-fit: cover; */
}

.play-btn {
    font-size: 20px;
    color: #000;
}

.play-btn-custom {
    position: absolute;
    top: 18px;
    right: 10px;
}

.podcast-card {
    background: url('/frontend/assets/images/header-background.jpg') no-repeat center center;
    background-size: cover;
    border-radius: 15px;
    padding: 10px;
    height: auto;
    transition: transform 0.3s ease;
}

.podcast-card:hover {
    transform: translateY(-3px);
}

.podcast-img {
    width: 100%;
    height: auto;
    border-radius: 13px;
    object-fit: cover;
}

.podcast-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #333;
    margin-bottom: 0.25rem;
}

.podcast-subtitle {
    font-size: 15px;
    color: #333;
    opacity: 0.85;
    margin-bottom: 10px;
    text-align: justify;
    line-height: 1.5;
    word-break: break-word;
}

/* Base testimonial styles */
.testimonial-quote {
    font-size: 13px;
    line-height: 22px;
    font-weight: bold;
    letter-spacing: 2%;
    color: #000000;
    padding: 12px;
    padding-bottom: 0px;
}

.testimonial-text {
    padding: 0px 12px;
    font-size: 11px;
    line-height: 22px;
    letter-spacing: 2%;
}

.stars {
    color: #ffc107;
    font-size: 18px;
    padding: 0px 12px;
    margin-bottom: 8px;
    display: flex;
}

.stars i {
    margin-right: 2px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    position: relative;
    padding: 8px 12px;
    min-height: 60px;
    /* Ensure minimum height for author section */
}

.testimonials-user {
    background-color: #D9D9D9;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
    margin: 4px;
    position: relative;
    padding-bottom: 10px;
}

.author-details {
    width: 60%;
    /* Allow space for the image */
}

.author-name {
    color: var(--primary);
    font-size: 11px;
    line-height: 22px;
    font-weight: bold;
    letter-spacing: 2%;
}

.author-info {
    font-size: 12px;
    color: #666;
}

.author-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    position: absolute;
    top: -40px;
    right: 12px;
    /* Using right instead of left percentage for better control */
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 3px solid #FFFFFF;
    border-radius: 50%;
}

/* Testimonial card border styling */
.testimonial-card {
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    height: 100%;
    /* Make cards equal height */
    display: flex;
    flex-direction: column;
}

.testimonial-content {
    flex-grow: 1;
    /* Allow content to expand */
}

/* Responsive breakpoints */
/* Extra small devices (phones) */
@media (max-width: 575.98px) {
    .author-image {
        width: 70px;
        height: 70px;
        top: -35px;
        right: 10px;
    }

    .testimonial-quote {
        font-size: 12px;
    }

    .testimonial-text {
        font-size: 10px;
        line-height: 18px;
    }

    .author-details {
        width: 65%;
    }
}

/* Small devices (landscape phones) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .author-image {
        width: 70px;
        height: 70px;
        top: -37px;
        right: 2%;
    }
}

.course-card-1 {
    background: url('/frontend/assets/images/header-background.jpg') no-repeat center center;
    background-size: cover;
    text-align: center;
    height: 232px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 15px !important;
    padding: 10px;
    transition: transform 0.3s ease;
}


.class-title {
    font-size: 1.1rem;
    color: #333;
}

/* ✅ Position nav buttons in the vertical center of each carousel */
.courses-carousel .owl-nav,
.bundle-courses-carousel .owl-nav,
.popular-courses-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    /* only buttons clickable */
}

/* ✅ Style nav buttons */
.courses-carousel .owl-nav button.owl-prev,
.courses-carousel .owl-nav button.owl-next,
.bundle-courses-carousel .owl-nav button.owl-prev,
.bundle-courses-carousel .owl-nav button.owl-next,
.popular-courses-carousel .owl-nav button.owl-prev,
.popular-courses-carousel .owl-nav button.owl-next {
    background: rgba(0, 0, 0, 0.5) !important;
    color: #fff !important;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px !important;
    pointer-events: auto;
    /* allow click */
    transition: background 0.3s ease;
}

/* ✅ Hover effect */
.courses-carousel .owl-nav button:hover,
.bundle-courses-carousel .owl-nav button:hover,
.popular-courses-carousel .owl-nav button:hover {
    background: #dc3545 !important;
    /* bootstrap red */
}

.social .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    /* Circle size */
    height: 40px;
    border-radius: 50%;
    /* Makes it circular */
    font-size: 20px;
    color: var(--primary);
    border: 1px solid var(--primary);
    transition: all 0.3s ease;
    text-decoration: none;
    /* Removes underline */
}

.social .icon:hover {
    background: var(--primary);
    color: #fff;
    /* White icon on hover */
    border-color: var(--primary);
}
