/* ==========================================================================
   LIGHT MODE OVERRIDES FOR REINFORCE CIVILTECH
   ========================================================================== */

/* Theme color variables mapped to light mode */
body.light-theme {
    --atf-theme-bg: #ffffff;
    --atf-grey-1: #ffffff;
    --atf-grey-2: #f8f9fa;
    --atf-grey-3: #f1f3f5;
    --atf-grey-4: #e9ecef;
    --atf-grey-5: #ffffff;
    --atf-grey-6: #ffffff;
    --atf-grey-7: #ffffff;
    --atf-grey-8: #ffffff;
    --atf-text-body: #475569; /* Slate grey body text */
    --atf-border-1: rgba(0, 0, 0, 0.08);
    --atf-thm-black: #0f172a;
}

/* Global Base Theme Overrides */
body.light-theme,
body.light-theme .page-wrapper {
    background-color: #ffffff !important;
    color: #475569 !important;
}

/* Base text selection in light mode */
body.light-theme ::selection {
    background: var(--atf-thm-color);
    color: #ffffff;
}

/* Prevent flat colors overriding images */
body.light-theme .atf_attach_bg,
body.light-theme .atf_attach_bg_1,
body.light-theme .bg-image-right,
body.light-theme .atf-cover-bg,
body.light-theme .jarallax {
    background-color: transparent !important;
}

/* Section and Container backgrounds */
body.light-theme .bg-light,
body.light-theme .bg-white,
body.light-theme .gray-bg-1,
body.light-theme .gray-bg-2,
body.light-theme .gray-bg-3,
body.light-theme .gray-bg-4 {
    background-color: #ffffff !important;
}

/* Headings text color override */
body.light-theme h1,
body.light-theme h2,
body.light-theme h3,
body.light-theme h4,
body.light-theme h5,
body.light-theme h6,
body.light-theme .title,
body.light-theme .atf-section-title .title,
body.light-theme .testimonial-title,
body.light-theme .sidebar-widget-title,
body.light-theme .breadcrumb-title,
body.light-theme .event-title a,
body.light-theme .sinlge_post .title a,
body.light-theme .atf-course-inner-title h3 a,
body.light-theme .pricing-title,
body.light-theme .atf-single-team .title {
    color: #0f172a !important;
}

/* Section title background shape text fix */
body.light-theme .atf-section-title .sub-title {
    color: #ffffff !important;
    background: var(--atf-thm-color) !important;
}

/* Description and Body Text elements */
body.light-theme .describtion,
body.light-theme .description,
body.light-theme .atf-hamburger-sm-title,
body.light-theme .atf-single-skill .describtion,
body.light-theme .testimonial .description,
body.light-theme .sinlge_post .post-review p,
body.light-theme .atf-course-lesson span,
body.light-theme .atf-single-team .description,
body.light-theme .accordion-body {
    color: #475569 !important;
}

/* Highlight elements */
body.light-theme .atf-course-price span {
    color: #0f172a !important;
}

body.light-theme .atf-contact-form.main-contact-form {
    background: #ffffff !important;
}

/* Cards & containers that used dark grey background */
body.light-theme .testimonial,
body.light-theme .atf-contact-form,
body.light-theme .atf-single-skill,
body.light-theme .atf-single-course,
body.light-theme .atf-single-team,
body.light-theme .atf-post-single,
body.light-theme .sinlge_post,
body.light-theme .atf-pricing-box,
body.light-theme .pricing-card,
body.light-theme .atf-about-inner {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05) !important;
}

/* Card custom borders & spacing overrides */
body.light-theme .testimonial {
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

/* Pricing List Item Overrides */
body.light-theme .pricing-feature-list li {
    color: #475569 !important;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.08) !important;
}

/* Course card specific items */
body.light-theme .atf-course-lesson {
    border-color: rgba(0, 0, 0, 0.08) !important;
}

body.light-theme .atf-course-lesson span {
    border-color: rgba(0, 0, 0, 0.08) !important;
}

body.light-theme .atf-course-teacher img {
    border-color: #ffffff !important;
}

/* Form Inputs */
body.light-theme input[type="text"],
body.light-theme input[type="email"],
body.light-theme input[type="tel"],
body.light-theme input[type="number"],
body.light-theme input[type="password"],
body.light-theme input[type="url"],
body.light-theme textarea,
body.light-theme .atf_contact_input input,
body.light-theme .atf_contact_input textarea {
    background-color: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid #cbd5e1 !important;
}

body.light-theme input[type="text"]:focus,
body.light-theme input[type="email"]:focus,
body.light-theme input[type="tel"]:focus,
body.light-theme input[type="number"]:focus,
body.light-theme input[type="password"]:focus,
body.light-theme input[type="url"]:focus,
body.light-theme textarea:focus {
    border-color: var(--atf-thm-color) !important;
    background-color: #ffffff !important;
}

/* Input placeholder support */
body.light-theme ::placeholder {
    color: #94a3b8 !important;
}

/* Form error messages text readability */
body.light-theme .text-danger,
body.light-theme .error-text,
body.light-theme label.error {
    color: #dc2626 !important;
}

/* Navigation Header links visibility (Sticky and Non-sticky states) */
body.light-theme .atf-main-menu>nav>ul>li>a {
    color: #1e293b !important;
}

body.light-theme .atf-main-menu>nav>ul>li>a:hover {
    color: var(--atf-thm-color) !important;
}

body.light-theme .atf-site-header.atf-style1 {
    background-color: #ffffff !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

body.light-theme .atf-site-header.atf-style1.atf-sticky-active {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 8px 32px 0 rgba(15, 23, 42, 0.08) !important;
}

body.light-theme .atf-site-header.atf-style1.atf-sticky-active .atf-main-menu>nav>ul>li>a {
    color: #1e293b !important;
}

/* Dropdown sub-menus in light theme */
body.light-theme .sub-menu,
body.light-theme .atf-main-menu>nav>ul>li .sub-menu {
    background: #ffffff !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-top: 4px solid var(--atf-thm-color) !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1) !important;
}

body.light-theme .atf-nav-list li ul li a,
body.light-theme .atf-nav-list li ul a,
body.light-theme .atf-nav-list li .sub-menu a,
body.light-theme .atf-nav-list li .sub-menu li a,
body.light-theme .sub-menu li a,
body.light-theme .sub-menu a,
body.light-theme .sub-menu *,
body.light-theme .atf-nav-list .sub-menu * {
    color: #1e293b !important;
}

body.light-theme .atf-nav-list li ul li a:hover,
body.light-theme .atf-nav-list li ul a:hover,
body.light-theme .atf-nav-list li .sub-menu a:hover,
body.light-theme .atf-nav-list li .sub-menu li a:hover,
body.light-theme .sub-menu li a:hover,
body.light-theme .sub-menu a:hover,
body.light-theme .sub-menu a:hover *,
body.light-theme .sub-menu li:hover>a {
    color: var(--atf-thm-color) !important;
    background-color: rgba(0, 0, 0, 0.03) !important;
}

/* Hamburger sidebar menu (mobile/desktop drawer) */
body.light-theme .atf-hamburger {
    background: #ffffff !important;
    border-left: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: -10px 0 40px rgba(15, 23, 42, 0.06) !important;
}

body.light-theme .atf-hamburger-close button {
    color: #0f172a !important;
}

body.light-theme .atf-hamburger-menu ul li>a {
    color: #475569 !important;
}

body.light-theme .atf-hamburger-menu ul li>a:hover {
    color: #0f172a !important;
    background: rgba(0, 0, 0, 0.03) !important;
}

body.light-theme .atf-hamburger-menu ul li.active>a {
    color: #ffffff !important;
}

/* Search overlay area */
body.light-theme .atf-searching-area {
    background: rgba(255, 255, 255, 0.96) !important;
}

body.light-theme .atf-searching-form input {
    border-bottom: 2px solid rgba(0, 0, 0, 0.1) !important;
    color: #0f172a !important;
}

body.light-theme .atf-searching-form input:focus {
    border-bottom: 2px solid var(--atf-thm-color) !important;
}

body.light-theme .atf-searching-close-btn {
    color: #0f172a !important;
}

/* Preloader light theme */
body.light-theme .atf_book_preload {
    background-color: #ffffff !important;
}

body.light-theme .loader {
    box-shadow: 0 0.25em 0.5em rgba(0, 0, 0, 0.05), 0 0 0 0.25em var(--atf-thm-color) inset !important;
}

/* Modals (login/signup overlay) */
body.light-theme .modal-content {
    background-color: #ffffff !important;
    color: #475569 !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1) !important;
}

body.light-theme .modal-header,
body.light-theme .modal-footer {
    border-color: rgba(0, 0, 0, 0.08) !important;
}

body.light-theme .modal-title,
body.light-theme .modal-header h4 {
    color: #0f172a !important;
}

body.light-theme .btn-close {
    filter: none !important;
}

/* Accordion for FAQ page */
body.light-theme .accordion-item {
    background-color: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}

body.light-theme .accordion-button {
    background-color: #ffffff !important;
    color: #0f172a !important;
}

body.light-theme .accordion-button:not(.collapsed) {
    background-color: #f1f5f9 !important;
    color: #0f172a !important;
}

body.light-theme .accordion-button::after {
    filter: none !important;
}

/* Event Category Tags */
body.light-theme .event-categories {
    color: #0f172a !important;
    background-color: #f1f5f9 !important;
}

/* Scroll to Top button visibility */
body.light-theme #scroll_to_top {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 5px 15px rgba(15, 23, 42, 0.08) !important;
}

body.light-theme #scroll_to_top i {
    color: #0f172a !important;
}

/* Custom Scrollbar for Light Theme */
body.light-theme ::-webkit-scrollbar-track {
    background: #ffffff;
}

body.light-theme ::-webkit-scrollbar-thumb {
    background: #e2e8f0;
}

/* Pagination overrides */
body.light-theme .pagination li a.page-link {
    color: #475569 !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
}

body.light-theme .pagination li.active a.page-link,
body.light-theme .pagination li a.page-link:hover,
body.light-theme .pagination li a.page-link:focus {
    color: #ffffff !important;
    border-color: var(--atf-thm-color) !important;
}

/* Page Headers (Breadcrumbs) & Gallery Page Headers Overrides - Dark background and white text for high contrast */
body.light-theme .breadcrumb-cover-bg::before,
body.light-theme .gallery-hero-overlay {
    background-color: #000000 !important;
    opacity: 0.65 !important;
}

body.light-theme .breadcrumb-area,
body.light-theme .breadcrumb-area h1,
body.light-theme .breadcrumb-area h2,
body.light-theme .breadcrumb-area h3,
body.light-theme .breadcrumb-area h4,
body.light-theme .breadcrumb-area h5,
body.light-theme .breadcrumb-area h6,
body.light-theme .breadcrumb-area .breadcrumb-title,
body.light-theme .breadcrumb-area span,
body.light-theme .breadcrumb-area a,
body.light-theme .breadcrumb-area i,
body.light-theme .gallery-hero-area,
body.light-theme .gallery-hero-area h1,
body.light-theme .gallery-hero-area h2,
body.light-theme .gallery-hero-area h3,
body.light-theme .gallery-hero-area .gallery-hero-title,
body.light-theme .gallery-hero-area span,
body.light-theme .gallery-hero-area a,
body.light-theme .gallery-hero-area i {
    color: #ffffff !important;
}

body.light-theme .breadcrumb-area span.breadcrumb-sub-title,
body.light-theme .breadcrumb-area .breadcrumb-single-content span,
body.light-theme .gallery-hero-area .gallery-breadcrumb span.active {
    color: #e2e8f0 !important;
    font-weight: 600 !important;
}

body.light-theme .breadcrumb-area .breadcrumb-single-content a,
body.light-theme .gallery-hero-area .gallery-breadcrumb a {
    color: #ffffff !important;
    font-weight: 600 !important;
}

body.light-theme .breadcrumb-area .breadcrumb-single-content a:hover,
body.light-theme .gallery-hero-area .gallery-breadcrumb a:hover {
    color: var(--atf-thm-color) !important;
}

/* Restore white text for sections with dark/image backgrounds */
body.light-theme #hero,
body.light-theme #hero h1,
body.light-theme #hero h2,
body.light-theme #hero h3,
body.light-theme #hero h4,
body.light-theme #hero h5,
body.light-theme #hero h6,
body.light-theme #hero .title,
body.light-theme #hero p,
body.light-theme #hero span,
body.light-theme #hero a:not(.atf-themes-btn),
body.light-theme #hero .describtion,
body.light-theme #hero .description,
body.light-theme #hero .atf-slider-content * {
    color: #ffffff !important;
}

body.light-theme .atf-cta-section,
body.light-theme .atf-cta-section h1,
body.light-theme .atf-cta-section h2,
body.light-theme .atf-cta-section h3,
body.light-theme .atf-cta-section h4,
body.light-theme .atf-cta-section h5,
body.light-theme .atf-cta-section h6,
body.light-theme .atf-cta-section .title,
body.light-theme .atf-cta-section p,
body.light-theme .atf-cta-section span,
body.light-theme .atf-cta-section .description {
    color: #ffffff !important;
}

body.light-theme .atf-newsletter,
body.light-theme .atf-newsletter h1,
body.light-theme .atf-newsletter h2,
body.light-theme .atf-newsletter h3,
body.light-theme .atf-newsletter h4,
body.light-theme .atf-newsletter h5,
body.light-theme .atf-newsletter h6,
body.light-theme .atf-newsletter .title,
body.light-theme .atf-newsletter p,
body.light-theme .atf-newsletter span,
body.light-theme .atf-newsletter .description {
    color: #ffffff !important;
}

/* Accordion headings visibility in light theme */
body.light-theme .atf-faq-accordion .card .card-header button {
    color: #0f172a !important;
}

body.light-theme .atf-faq-accordion .card .card-header button::before {
    color: #0f172a !important;
}

body.light-theme .atf-faq-accordion .card .card-header button:hover,
body.light-theme .atf-faq-accordion .card .card-header button:focus {
    color: var(--atf-thm-color) !important;
}

body.light-theme .atf-faq-accordion .card-body p {
    color: #475569 !important;
}

/* Global text-white bootstrap class overrides for correct contrast */
body.light-theme h1.text-white,
body.light-theme h2.text-white,
body.light-theme h3.text-white,
body.light-theme h4.text-white,
body.light-theme h5.text-white,
body.light-theme h6.text-white,
body.light-theme .title.text-white,
body.light-theme .sub-title.text-white {
    color: #0f172a !important;
}

body.light-theme p.text-white,
body.light-theme span.text-white,
body.light-theme li.text-white,
body.light-theme a.text-white {
    color: #475569 !important;
}

/* Footer light theme overrides */
body.light-theme .atf-footer-area {
    background-color: #f8f9fa !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
}

body.light-theme .atf-footer-area h1,
body.light-theme .atf-footer-area h2,
body.light-theme .atf-footer-area h3,
body.light-theme .atf-footer-area h4,
body.light-theme .atf-footer-area h5,
body.light-theme .atf-footer-area h6,
body.light-theme .atf-footer-area .footer-title,
body.light-theme .atf-footer-area .widget-title,
body.light-theme .atf-footer-area .atf-footer-link h5 {
    color: #0f172a !important;
}

body.light-theme .atf-footer-area p,
body.light-theme .atf-footer-area span,
body.light-theme .atf-footer-area li,
body.light-theme .atf-footer-area a {
    color: #475569 !important;
}

body.light-theme .atf-footer-area a:hover {
    color: var(--atf-thm-color) !important;
}

/* Footer social icons colors */
body.light-theme .atf-footer-social-icon li a,
body.light-theme .atf-footer-social-icon li a.atf-facebook,
body.light-theme .atf-footer-social-icon li a.atf-youtube,
body.light-theme .atf-footer-social-icon li a.atf-instagram,
body.light-theme .atf-footer-social-icon li a.atf-linkedin,
body.light-theme .atf-footer-social-icon li a.atf-x-twitter {
    color: #0f172a !important;
}

body.light-theme .atf-footer-social-icon li a:hover,
body.light-theme .atf-footer-social-icon li a.atf-facebook:hover,
body.light-theme .atf-footer-social-icon li a.atf-youtube:hover,
body.light-theme .atf-footer-social-icon li a.atf-instagram:hover,
body.light-theme .atf-footer-social-icon li a.atf-linkedin:hover,
body.light-theme .atf-footer-social-icon li a.atf-x-twitter:hover {
    color: #ffffff !important;
    background-color: var(--atf-thm-color) !important;
}

/* Nice Select custom elements */
body.light-theme .atf-choose-country.nice-select,
body.light-theme .atf-choose-input .nice-select {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
}

body.light-theme .atf-choose-input .nice-select::after {
    border-color: #475569 !important;
}

body.light-theme .atf-choose-input .nice-select .current {
    color: #0f172a !important;
}

body.light-theme .atf-choose-input .nice-select .list {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
}

body.light-theme .atf-choose-input .nice-select .option {
    color: #475569 !important;
    background-color: #ffffff !important;
}

body.light-theme .atf-choose-input .nice-select .option.selected.focus,
body.light-theme .atf-choose-input .nice-select .option:hover {
    background-color: #f1f5f9 !important;
    color: #0f172a !important;
}

/* Hamburger toggle menu icon button color in header (mobile view) */
body.light-theme .atf-hamburger-toogle {
    color: #0f172a !important;
    background: transparent !important;
    border: none !important;
}

body.light-theme .atf-main-menu-bars button {
    color: #0f172a !important;
}

/* Course details tab overrides on mobile */
@media only screen and (max-width: 991px) {
    body.light-theme .course-tabs-wrapper {
        background: #ffffff !important;
        border: 1px solid rgba(0, 0, 0, 0.08) !important;
    }
    
    body.light-theme .atf-course-details-tab-nav .nav-tabs {
        background: #ffffff !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
        border: 1px solid #cbd5e1 !important;
    }

    body.light-theme .atf-course-details-tab-nav .nav-tabs .nav-link {
        color: #475569 !important;
    }

    body.light-theme .atf-course-details-tab-nav .nav-tabs .nav-link:hover {
        color: var(--atf-thm-color) !important;
        background: rgba(137, 42, 124, 0.08) !important;
    }

    body.light-theme .atf-course-details-tab-nav .nav-tabs .nav-link.active {
        color: #ffffff !important;
        background: var(--atf-thm-color) !important;
    }
}

/* ==========================================================================
   THEME TOGGLE BUTTON & HEADER ALIGNMENT STYLING
   ========================================================================== */

/* Prevent Book a Demo button text wrapping */
.atf-themes-btn {
    white-space: nowrap !important;
}

/* Adjust header column widths on desktop to accommodate the new button */
@media (min-width: 1200px) {
    .atf-site-header .row > .col-xl-2:last-of-type {
        width: 24% !important;
        flex: 0 0 24% !important;
        max-width: 24% !important;
    }
    .atf-site-header .row > .col-xl-8 {
        width: 59.33% !important;
        flex: 0 0 59.33% !important;
        max-width: 59.33% !important;
    }
}

.atf-theme-toggle {
    order: 2 !important;
    display: flex;
    align-items: center;
}

.atf-menu-btn {
    order: 1 !important;
}

.atf-main-menu-bars {
    order: 3 !important;
}

/* Responsive gap adjustments for header container on mobile/tablet */
@media (max-width: 991px) {
    .atf-header-bottom-right {
        gap: 15px !important;
    }
}

.theme-toggle-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
    font-size: 16px;
    color: #ffffff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.theme-toggle-btn:active {
    transform: translateY(0);
}

/* Icons styling inside toggle btn */
.theme-toggle-btn i {
    transition: transform 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle-btn:hover i {
    transform: rotate(15deg);
}

/* Toggle light-theme styling for the button */
body.light-theme .theme-toggle-btn {
    color: #0f172a;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

body.light-theme .theme-toggle-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.15);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* Icon visibility transitions */
body.light-theme .theme-toggle-btn .sun-icon {
    display: none !important;
}

body.light-theme .theme-toggle-btn .moon-icon {
    display: flex !important;
}

body:not(.light-theme) .theme-toggle-btn .sun-icon {
    display: flex !important;
}

body:not(.light-theme) .theme-toggle-btn .moon-icon {
    display: none !important;
}

/* ==========================================================================
   CUSTOM LIGHT THEME COMPATIBILITY FIXES
   ========================================================================== */

/* 1. Header floating badges */
body.light-theme #hero .floating-badge,
body.light-theme #hero .floating-badge span,
body.light-theme .floating-badge,
body.light-theme .floating-badge span {
    color: #0f172a !important;
    background: #ffffff !important;
}
body.light-theme .floating-badge .icon-box {
    color: var(--atf-thm-color) !important;
}

/* 2 & 4. Outline buttons (.atf-themes-btn.v2) on light backgrounds (not inside hero section) */
body.light-theme :not(#hero) .atf-themes-btn.v2,
body.light-theme :not(#hero) .atf-themes-btn.v2 *,
body.light-theme :not(#hero) .atf-themes-btn.v2:hover,
body.light-theme :not(#hero) .atf-themes-btn.v2:focus,
body.light-theme :not(#hero) .atf-themes-btn.v2:hover *,
body.light-theme :not(#hero) .atf-themes-btn.v2:focus * {
    color: var(--atf-thm-base) !important;
    border-color: var(--atf-thm-base) !important;
}

/* 3. "Why Reinforce" section image & cards border */
body.light-theme #about .atf-about-one-img img {
    border: 2px solid #000000 !important;
}
body.light-theme #about .atf-about-inner {
    border: 2px solid #000000 !important;
}

/* 5. "Upcoming Batches" section process card & image border and text contrast */
body.light-theme .process-card {
    border: 2px solid #000000 !important;
    background: #ffffff !important;
}
body.light-theme .process-card .process-title,
body.light-theme .process-card .process-title a {
    color: #0f172a !important;
}
body.light-theme .process-card .process-title a:hover {
    color: var(--atf-thm-color) !important;
}
body.light-theme .process-card .process-text {
    color: #475569 !important;
}
body.light-theme .process-card .batch-meta strong {
    color: #0f172a !important;
}
body.light-theme .process-card .batch-meta i {
    color: #475569 !important;
}
body.light-theme .atf-how-img img {
    border: 2px solid #000000 !important;
}

/* 6. Sub-title text color readability */
body.light-theme .atf-section-title .sub-title,
body.light-theme .sub-title,
body.light-theme .sub-title * {
    color: #ffffff !important;
}

/* 7. "Join Our Free Courses" section background overlay and text contrast */
body.light-theme .atf__overlay_2.atf-cover-bg::before {
    background: rgba(0, 0, 0, 0.45) !important;
}
body.light-theme #contact .text-white,
body.light-theme #contact h2.text-white,
body.light-theme #contact h2.text-white *,
body.light-theme #contact p.text-white {
    color: #ffffff !important;
}

/* 8. CTA Section title contrast (keep white text on dark background) */
body.light-theme .atf-cta-section .text-white,
body.light-theme .atf-cta-section h2.title,
body.light-theme .atf-cta-section h2.text-white,
body.light-theme .atf-cta-section .title.text-white {
    color: #ffffff !important;
}

/* 9. Footer: Popular Courses heading & View All Courses button text */
body.light-theme .footer-sub-heading {
    color: #0f172a !important;
}
body.light-theme .atf-footer-area .atf-themes-btn,
body.light-theme .atf-footer-area .atf-themes-btn * {
    color: #ffffff !important;
}

/* 10. "Building Careers" section background overlay and text contrast in light theme */
body.light-theme .atf__overlay_1.fact.atf-cover-bg::before {
    background: rgba(0, 0, 0, 0.45) !important;
}
body.light-theme #fact h2.title,
body.light-theme #fact h2.title *,
body.light-theme #fact p.text-white {
    color: #ffffff !important;
}

/* 11. Course Author Meta span visibility in light theme */
body.light-theme .atf-course-author-meta span {
    color: #475569 !important;
}

/* 12. Course Details page Sidebar box styling & text visibility in light theme */
body.light-theme .course_contact_box {
    background: #f8f9fa !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

body.light-theme .course_contact_box h3 {
    color: #0f172a !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}

body.light-theme .atf_course-details-contact_info ul li {
    border-color: rgba(0, 0, 0, 0.08) !important;
    color: #475569 !important;
}

body.light-theme .atf_course-details-contact_info ul li span {
    color: #0f172a !important;
}

body.light-theme .atf_course-details-contact_info ul li span.batch-details {
    color: #475569 !important;
}

/* 13. Course Details page Reviews Tab light theme styling */
body.light-theme .premium-reviews-container {
    color: #475569 !important;
}

body.light-theme .premium-rating-box,
body.light-theme .premium-rating-distribution,
body.light-theme .premium-review-card,
body.light-theme .premium-empty-state,
body.light-theme .premium-review-form-container {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05) !important;
}

body.light-theme .premium-empty-state {
    border-style: dashed !important;
}

body.light-theme .giant-rating-number {
    background: linear-gradient(135deg, var(--atf-thm-color) 0%, #ff7300 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

body.light-theme .total-reviews-text,
body.light-theme .review-date,
body.light-theme .form-label-custom,
body.light-theme .premium-reviews-container p {
    color: #475569 !important;
}

body.light-theme .star-label,
body.light-theme .percent-label,
body.light-theme .student-name,
body.light-theme .section-title-sm {
    color: #0f172a !important;
}

body.light-theme .progress-container {
    background: #e9ecef !important;
}

body.light-theme .review-text {
    color: #475569 !important;
}

body.light-theme .form-control-custom {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    color: #0f172a !important;
}

body.light-theme .form-control-custom:focus {
    border-color: var(--atf-thm-color) !important;
    box-shadow: 0 0 8px rgba(255, 153, 36, 0.3) !important;
}

body.light-theme .form-control-custom::placeholder {
    color: #94a3b8 !important;
    opacity: 1 !important;
}

body.light-theme .form-control-custom::-webkit-input-placeholder {
    color: #94a3b8 !important;
}

body.light-theme .form-control-custom::-moz-placeholder {
    color: #94a3b8 !important;
}

body.light-theme .star-rating-badges i.text-muted {
    color: rgba(0, 0, 0, 0.15) !important;
}

/* 14. Enroll Page light theme overrides */
body.light-theme .enroll-container {
    background-color: #f8f9fa !important;
}

body.light-theme .enroll-title {
    color: #0f172a !important;
}

body.light-theme .enroll-subtitle {
    color: #475569 !important;
}

body.light-theme .course-preview-card,
body.light-theme .payment-form-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05) !important;
    color: #475569 !important;
}

body.light-theme .course-preview-title {
    color: #0f172a !important;
}

body.light-theme .course-preview-desc {
    color: #475569 !important;
}

body.light-theme .course-preview-meta {
    border-color: rgba(0, 0, 0, 0.08) !important;
}

body.light-theme .course-preview-meta-item {
    color: #475569 !important;
}

body.light-theme .course-preview-price-label {
    color: #64748b !important;
}

body.light-theme .course-preview-price-val {
    color: #0f172a !important;
}

body.light-theme .secure-banner-text {
    color: #007bff !important;
    opacity: 0.8;
}

body.light-theme .form-section-title {
    color: #0f172a !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}

body.light-theme .input-group-custom label,
body.light-theme .atf-choose-input label {
    color: #475569 !important;
}

body.light-theme .input-group-custom input,
body.light-theme .input-group-custom select {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    color: #0f172a !important;
}

body.light-theme .input-group-custom input::placeholder {
    color: #94a3b8 !important;
}

body.light-theme .input-group-custom input::-webkit-input-placeholder {
    color: #94a3b8 !important;
}

body.light-theme .input-group-custom input:focus,
body.light-theme .input-group-custom select:focus {
    border-color: var(--atf-thm-color) !important;
    box-shadow: 0 0 5px rgba(255, 153, 36, 0.3) !important;
}

body.light-theme .input-group-custom select option {
    background: #ffffff !important;
    color: #0f172a !important;
}

/* Nice Select Overrides for Enroll Page in Light Theme */
body.light-theme .input-group-custom .nice-select {
    background-color: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    color: #0f172a !important;
    line-height: 44px !important;
}

body.light-theme .input-group-custom .nice-select .current {
    color: #0f172a !important;
}

body.light-theme .input-group-custom .nice-select .list {
    background-color: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08) !important;
}

body.light-theme .input-group-custom .nice-select .option {
    color: #475569 !important;
}

body.light-theme .input-group-custom .nice-select .option:hover,
body.light-theme .input-group-custom .nice-select .option.focus,
body.light-theme .input-group-custom .nice-select .option.selected.focus {
    background-color: var(--atf-thm-color) !important;
    color: #ffffff !important;
}

body.light-theme .input-group-custom .nice-select .option.selected {
    color: var(--atf-thm-color) !important;
}

/* Payment Type Selector Card Overrides */
body.light-theme .payment-type-card {
    background: #ffffff !important;
    border: 2px solid rgba(0, 0, 0, 0.08) !important;
}

body.light-theme .payment-type-card.active {
    border-color: #28a745 !important;
    background: rgba(40, 167, 69, 0.03) !important;
}

body.light-theme .payment-type-name {
    color: #0f172a !important;
}

body.light-theme .payment-type-price {
    color: #475569 !important;
}

body.light-theme .payment-type-card.active .payment-type-price {
    color: #28a745 !important;
}

body.light-theme .checkbox-item-custom {
    color: #475569 !important;
}

/* 15. Gallery Page light theme overrides */
body.light-theme .gallery-filter-wrap {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06) !important;
}

body.light-theme .gallery-filter-btn {
    color: #475569 !important;
}

body.light-theme .gallery-filter-btn:hover {
    color: #0f172a !important;
    background: rgba(0, 0, 0, 0.04) !important;
}

body.light-theme .gallery-filter-btn.active {
    background: var(--brand-purple, #892a7c) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(137, 42, 124, 0.4) !important;
}

body.light-theme .gallery-card {
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04) !important;
    background: #ffffff !important;
}

body.light-theme .atf-gallery-page-section {
    background-color: #ffffff !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
}

/* 16. Contact Us Page light theme overrides */
body.light-theme .atf-contact-form label {
    color: #0f172a !important;
}

body.light-theme .atf-contact-form .atf_contact_input input::placeholder,
body.light-theme .atf-contact-form .atf_contact_input textarea::placeholder {
    color: #94a3b8 !important;
}

body.light-theme .atf-contact-form .atf_contact_input input:focus,
body.light-theme .atf-contact-form .atf_contact_input textarea:focus {
    border-color: var(--atf-thm-color) !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(255, 153, 36, 0.15) !important;
}

body.light-theme .atf-choose-input .nice-select,
body.light-theme .atf-choose-country.nice-select {
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    box-shadow: none !important;
}

body.light-theme .atf-choose-input .nice-select::after {
    border-color: #475569 !important;
}

body.light-theme .atf-choose-input .nice-select .current {
    color: #0f172a !important;
}

body.light-theme .atf-choose-input .nice-select .list {
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08) !important;
}

body.light-theme .atf-choose-input .nice-select .option {
    color: #475569 !important;
    background-color: #ffffff !important;
}

body.light-theme .atf-choose-input .nice-select .option:hover,
body.light-theme .atf-choose-input .nice-select .option.focus {
    background-color: #f1f5f9 !important;
    color: #0f172a !important;
}

body.light-theme .atf-choose-input .nice-select .option.selected {
    background-color: var(--atf-thm-color) !important;
    color: #ffffff !important;
}

body.light-theme .atf-choose-input .nice-select .list::-webkit-scrollbar-track {
    background: #f1f5f9 !important;
}

body.light-theme .atf-choose-input .nice-select .list::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1) !important;
}

/* Native fallback select overrides */
body.light-theme .atf-choose-input select.atf-choose-country {
    background-color: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid #cbd5e1 !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f172a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
}

body.light-theme .atf-choose-input select.atf-choose-country:focus {
    background-color: #ffffff !important;
    border-color: var(--atf-thm-color) !important;
}

body.light-theme .atf-choose-input select.atf-choose-country option {
    background-color: #ffffff !important;
    color: #0f172a !important;
}

/* Contact Info Overrides */
body.light-theme .atf-contact-info {
    color: #475569 !important;
}

body.light-theme .atf-contact-address h3 {
    color: #0f172a !important;
}

body.light-theme .atf-contact-address p {
    color: #475569 !important;
}

body.light-theme .atf-contact-details {
    border-color: rgba(0, 0, 0, 0.08) !important;
}

body.light-theme .atf-contact-area .atf-section-title .title {
    color: #0f172a !important;
}

body.light-theme .atf-contact-area .atf-section-title p {
    color: #475569 !important;
}

body.light-theme .atf-contact-area .atf-section-title .sub-title {
    color: #ffffff !important;
    background: var(--atf-thm-color) !important;
}

/* Map border in light theme */
body.light-theme #atf-map-area iframe {
    border: 3px solid #000000 !important;
}

/* 17. Connect With Us (Social Timelines) light theme overrides */
body.light-theme .atf-social-section {
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

body.light-theme .social-timeline-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05) !important;
}

body.light-theme .social-timeline-card:hover {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08) !important;
}

body.light-theme .social-timeline-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

body.light-theme .social-timeline-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
}

body.light-theme .social-timeline-card .text-white,
body.light-theme .social-timeline-card h4.text-white,
body.light-theme .social-timeline-card h3.text-white {
    color: #0f172a !important;
}

body.light-theme .social-timeline-card p.text-white {
    color: #475569 !important;
    opacity: 1 !important;
}

body.light-theme .social-handle {
    color: #475569 !important;
}

body.light-theme .video-embed-container {
    border-color: rgba(0, 0, 0, 0.08) !important;
}

/* Hiring Partners Logo Box Hover border and shadow overrides */
body.light-theme .partner-logo-box:hover {
    border-color: var(--atf-thm-color) !important;
    background: #ffffff !important;
    box-shadow: 0 8px 24px rgba(255, 153, 36, 0.15) !important;
}

/* 18. Gray borders for specific cards on light theme */
body.light-theme .gallery-video-card,
body.light-theme .gallery-video-card:hover,
body.light-theme .social-timeline-card,
body.light-theme .social-timeline-card:hover,
body.light-theme .testimonial,
body.light-theme .testimonial:hover,
body.light-theme .atf-single-course,
body.light-theme .atf-single-course:hover,
body.light-theme .atf-certificate-item,
body.light-theme .atf-certificate-item:hover {
    border: 1px solid #cbd5e1 !important;
}

body.light-theme .atf-single-skill,
body.light-theme .atf-single-skill:hover {
    border: 1px solid #cbd5e1 !important;
    border-left: 5px solid var(--atf-thm-color) !important;
}

/* 19. Course details page tab navigation light theme overrides */
body.light-theme .atf-course-details-tab-nav .nav-tabs {
    border: 1px solid #cbd5e1 !important;
}

body.light-theme .atf-course-details-tab-nav .nav-tabs .nav-link {
    color: #475569 !important;
    transition: all 0.3s ease !important;
}

body.light-theme .atf-course-details-tab-nav .nav-tabs .nav-link:hover {
    color: var(--atf-thm-color) !important;
    background-color: rgba(137, 42, 124, 0.08) !important;
    border-radius: 6px !important;
}

body.light-theme .atf-course-details-tab-nav .nav-tabs .nav-link.active {
    color: #ffffff !important;
    background-color: var(--atf-thm-color) !important;
    border-radius: 6px !important;
}

body.light-theme .atf-course-details-tab-line {
    background-color: var(--atf-thm-color) !important;
    height: 2px !important;
}

body.light-theme .atf-course-details-tab-nav .nav-tabs .nav-link::after {
    display: none !important;
}

/* 20. Equalize Social Timeline Card Heights on Mobile Screens (max-width: 991px) */
@media (max-width: 991px) {
    .social-slider-active .social-timeline-body {
        height: 400px !important;
        min-height: 400px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
    }
}

/* Light Theme Card Elements */
body.light-theme .yt-video-title,
body.light-theme .yt-list-title {
    color: #0f172a !important;
}
body.light-theme .yt-video-stats,
body.light-theme .yt-list-stats {
    color: #64748b !important;
}
body.light-theme .youtube-channel-stats {
    background: rgba(0, 0, 0, 0.02) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}
body.light-theme .youtube-recent-list {
    border-top-color: rgba(0, 0, 0, 0.08) !important;
}
body.light-theme .youtube-subscribe-btn {
    background: #0f0f0f !important;
    color: #ffffff !important;
}
body.light-theme .youtube-subscribe-btn:hover {
    background: rgba(15, 15, 15, 0.8) !important;
}
body.light-theme .instagram-profile-header {
    border-bottom-color: rgba(0, 0, 0, 0.08) !important;
}
body.light-theme .instagram-avatar {
    border-color: #ffffff !important;
}
body.light-theme .youtube-feed-scrollable,
body.light-theme .instagram-feed-scrollable {
    scrollbar-color: rgba(0, 0, 0, 0.15) transparent !important;
}
body.light-theme .youtube-feed-scrollable::-webkit-scrollbar-thumb,
body.light-theme .instagram-feed-scrollable::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.15) !important;
}
body.light-theme .youtube-feed-scrollable:hover::-webkit-scrollbar-thumb,
body.light-theme .instagram-feed-scrollable:hover::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.3) !important;
}

/* Course search light mode overrides */
body.light-theme .course-search-wrap i {
    color: #892a7c !important;
}

body.light-theme .course-search-wrap input {
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #0f172a !important;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.05) !important;
}

body.light-theme .course-search-wrap input::placeholder {
    color: #94a3b8 !important;
}

body.light-theme .course-search-wrap input:focus {
    background: #ffffff !important;
    border-color: #892a7c !important;
    box-shadow: 0 4px 20px rgba(137, 42, 124, 0.15) !important;
}
