/* 
Premium Dark Blue Theme for The Guiding Hand
This file overrides breadcrumb and footer styles to a premium dark blue look.
*/

:root {
    --premium-dark: #082a5e;
    --premium-blue: #071169;
    --premium-accent: #007bff;
    --text-light: #ffffff;
    --text-muted: #d1d8e0;
}

/* --- Breadcrumb Section --- */
.breadcrumb-wrapper {
    background-color: var(--premium-dark) !important;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* Use the existing image but add a premium dark gradient overlay */
.breadcrumb-wrapper.bg-cover::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(8, 42, 94, 0.9) 0%, rgba(43, 103, 246, 0.7) 100%) !important;
    z-index: -1;
}

.breadcrumb-wrapper .page-heading h1 {
    color: var(--text-light) !important;
    font-weight: 800 !important;
    letter-spacing: -1px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.breadcrumb-wrapper .page-heading .breadcrumb-items {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.breadcrumb-wrapper .page-heading .breadcrumb-items li,
.breadcrumb-wrapper .page-heading .breadcrumb-items li a,
.breadcrumb-wrapper .page-heading .breadcrumb-items li i {
    color: var(--text-light) !important;
    font-weight: 500 !important;
}

/* --- Home Banner (Hero Section) --- */
.ed-hero-1 {
    position: relative;
    overflow: hidden;
    background-color: var(--premium-dark) !important;
}

.ed-hero-1::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(8, 42, 94, 0.9) 0%, rgba(43, 103, 246, 0.8) 100%) !important;
    z-index: 0;
}

.ed-hero-1 .container {
    position: relative;
    z-index: 2;
}

/* Float bob items should be above overlay */
.ed-hero-1 [class*="hero-shape-"],
.ed-hero-1 .client-counter-box,
.ed-hero-1 .counter-box {
    z-index: 1;
}

.ed-hero-1 .ed-hero-content h1,
.ed-hero-1 .ed-hero-content p {
    color: var(--text-light) !important;
}

.ed-hero-1 .ed-hero-content span {
    background: rgba(255, 255, 255, 0.1) !important;
    color: var(--text-light) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px);
}

/* --- Footer Section --- */
.codex-footer-section.footer-bg-2,
.codex-footer-bottom.footer-bg-2 {
    background-color: #000814 !important;
    /* Extremely dark blue for premium feel */
    background-image: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.codex-footer-widget-items .codex-widget-head h3 {
    color: var(--text-light) !important;
    font-size: 20px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 15px;
}

.codex-footer-widget-items .codex-widget-head h3::after {
    background-color: var(--premium-accent) !important;
    width: 40px;
    height: 2px;
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
}

.codex-footer-widget-items .codex-footer-content p,
.codex-footer-widget-items .list-items li a,
.codex-footer-widget-items .contact-info li,
.codex-footer-widget-items .contact-info li a,
.codex-footer-bottom-wrapper p {
    color: var(--text-muted) !important;
    font-size: 15px;
}

.codex-footer-widget-items .list-items li a:hover {
    color: var(--text-light) !important;
    padding-left: 8px;
}

/* Footer Social Icons */
.codex-footer-content .social-icon {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.codex-footer-content .social-icon a {
    width: 40px !important;
    height: 40px !important;
    line-height: 40px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    color: var(--text-light) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.codex-footer-content .social-icon a:hover {
    background: var(--premium-accent) !important;
    border-color: var(--premium-accent) !important;
    color: #fff !important;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

/* Contact Info Fixes */
.codex-footer-widget-items .contact-info li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}

.codex-footer-widget-items .contact-info li i {
    color: var(--premium-accent) !important;
    margin-right: 10px;
    margin-top: 5px;
}

/* Footer Bottom Copyright */
.codex-footer-bottom-wrapper p a {
    color: var(--premium-accent) !important;
    font-weight: 600;
}

/* Header Top Section */
.header-top-section {
    background-color: var(--premium-dark) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-top-wrapper ul li,
.header-top-wrapper ul li a,
.header-top-wrapper .social-icon a {
    color: var(--text-muted) !important;
    font-size: 14px;
}

.header-top-wrapper ul li i {
    color: var(--premium-accent) !important;
}

/* Marquee Section */
.theme-green-bg-1 {
    background: var(--premium-blue) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cmn-textslide.text-color-2 {
    color: var(--text-light) !important;
    font-weight: 600 !important;
}

/* Smooth transition for all links */
a {
    transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

/* Specific Footer Fixes */
.codex-footer-bottom-wrapper {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

/* General Link Hover */
a:hover {
    color: var(--premium-accent);
}

/* Sticky Header & Main Header - Reverted to White as requested */
.header-1,
.sticky {
    background: #ffffff !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.sticky {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Header Text & Icon visibility on White Background */
.header-main .main-menu ul li a,
.header-1 .header-right .search-toggler i,
.header-1 .header-right .sidebar__toggle i,
.header-1 .header-right .sidebar__toggle,
.header-1 .header-right .search-toggler {
    color: #141519 !important;
    /* Dark color for visibility on white */
}

.header-1 .header-right .search-toggler {
    border-color: rgba(0, 0, 0, 0.1) !important;
}

.header-main .main-menu ul li a:hover {
    color: var(--premium-accent) !important;
}

/* Submenu Styling - Keep it clean for white header */
.main-menu ul li .submenu {
    background: #ffffff !important;
    border-top: 3px solid var(--premium-accent) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.main-menu ul li .submenu li a {
    color: #141519 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.main-menu ul li .submenu li a:hover {
    background: rgba(0, 122, 255, 0.05) !important;
    color: var(--premium-accent) !important;
}

/* --- FAQ Section Premium light blue theme --- */
.ed-faq-wrapper-3 .faq-content .accordion-item {
    border: none !important;
    margin-bottom: 20px !important;
}

/* For Active FAQ Item (Expanded) */
.ed-faq-wrapper-3 .faq-content .accordion-item .accordion-header .accordion-button {
    background: linear-gradient(90deg, #082a5e 0%, #2b67f6 100%) !important;
    color: #ffffff !important;
    border-radius: 12px 12px 0 0 !important;
    padding: 20px 25px !important;
    box-shadow: 0 10px 30px rgba(43, 103, 246, 0.2) !important;
}

/* For Collapsed FAQ Item */
.ed-faq-wrapper-3 .faq-content .accordion-item .accordion-header .accordion-button.collapsed {
    background: #f0f7ff !important;
    /* Premium Light Blue */
    color: #082a5e !important;
    border-radius: 12px !important;
    border: 1px solid rgba(43, 103, 246, 0.1) !important;
}

/* Icon styling for Collapsed state */
.ed-faq-wrapper-3 .faq-content .accordion-item .accordion-header .accordion-button::after {
    background-color: #082a5e !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Icon styling for Active state */
.ed-faq-wrapper-3 .faq-content .accordion-item .accordion-header .accordion-button:not(.collapsed)::after {
    background-color: #ffffff !important;
    color: #2b67f6 !important;
}

/* Clean up the body text area */
.ed-faq-wrapper-3 .faq-content .accordion-item .accordion-collapse .accordion-body {
    background-color: #ffffff !important;
    border-radius: 0 0 12px 12px !important;
    border: 1px solid rgba(43, 103, 246, 0.05) !important;
    border-top: none !important;
    padding: 25px 30px !important;
    color: #44566c !important;
    line-height: 1.8;
}

/* Logo Shape for White Theme */
.logo-shape {
    display: none !important;
    /* Hide logo background shape if it interferes */
}

/* --- Premium Button Overrides --- */
.theme-btn {
    background: linear-gradient(90deg, #082a5e 0%, #071169 100%) !important;
    color: var(--text-light) !important;
    box-shadow: 0 4px 15px rgba(8, 42, 94, 0.3) !important;
    transition: all 0.4s ease-in-out !important;
}

.theme-btn i {
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: var(--text-light) !important;
    backdrop-filter: blur(5px);
}

.theme-btn::before {
    background-color: #2b67f6 !important;
    /* Premium light blue on hover */
}

.theme-btn:hover {
    color: var(--text-light) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(8, 42, 94, 0.4) !important;
}

/* --- Discount Section Specific Refinements --- */
.ed-discount-section {
    position: relative;
    z-index: 1;
    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

@media (max-width: 767px) {
    .ed-discount-section {
        background-attachment: scroll !important;
        /* Disable parallax on mobile for better visibility */
        background-position: center !important;
        padding: 80px 0 !important;
        /* Adjust padding for mobile */
    }

    .ed-discount-section .discount-box-items h2 {
        font-size: 28px !important;
        line-height: 1.3 !important;
    }
}

/* Ensure text is clearly visible on the dark image background */
.ed-discount-section .discount-box-items h2,
.ed-discount-section .discount-box-items p {
    color: var(--text-light) !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Make buttons pop in the Discount Section (High Contrast Premium Look) */
.ed-discount-section .theme-btn {
    background: linear-gradient(90deg, #ffd700 0%, #ffcc00 100%) !important;
    /* Premium Gold for High Visibility */
    color: #141519 !important;
    font-weight: 800 !important;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3) !important;
    border: none !important;
}

.ed-discount-section .theme-btn i {
    background-color: #141519 !important;
    color: #ffd700 !important;
}

.ed-discount-section .theme-btn:hover {
    background: #ffffff !important;
    color: #141519 !important;
    transform: translateY(-5px) scale(1.02) !important;
}

.ed-discount-section .theme-btn:hover i {
    background-color: #ffd700 !important;
    color: #141519 !important;
}

/* Secondary Button in Discount Section (Become a Teacher) */
.ed-discount-section .theme-btn.style-2 {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 2px solid #ffffff !important;
    color: #ffffff !important;
    backdrop-filter: blur(5px);
    margin-left: 15px;
}

.ed-discount-section .theme-btn.style-2 i {
    background-color: #ffffff !important;
    color: #141519 !important;
}

.ed-discount-section .theme-btn.style-2:hover {
    background: #ffffff !important;
    color: #141519 !important;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2) !important;
}

/* Secondary Button Styles if any */
.theme-btn.style-2 {
    background: transparent !important;
    border: 2px solid var(--premium-dark) !important;
    color: var(--premium-dark) !important;
}

.theme-btn.style-2:hover {
    background: var(--premium-dark) !important;
    color: var(--text-light) !important;
}

/* Fix for any other green elements */
.theme-green-bg-1,
.bg-2 {
    background-color: var(--premium-dark) !important;
}

/* --- About Section Image Responsiveness --- */
.about-main-img {
    height: 500px;
    width: auto;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

@media (max-width: 1199px) {
    .about-main-img {
        height: 400px;
    }
}

@media (max-width: 991px) {
    .about-main-img {
        height: 350px;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .about-main-img {
        height: 300px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .about-main-img {
        height: 250px;
    }
}

/* --- Hero Section Image 2 Responsiveness --- */
.hero-main-img-2 {
    height: 550px;
    width: 100%;
    max-width: 700px;
    margin-left: 200px;
    object-fit: cover;
    display: block;
    margin: 40px auto 0;
    border-radius: 20px 100px 20px 100px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

@media (max-width: 1440px) {
    .hero-main-img-2 {
        max-width: 100%;
        height: 450px;
        margin-left: 180px;
    }
}

@media (max-width: 2560px) {
    .hero-main-img-2 {
        max-width: 100%;
        height: 450px;
        margin-left: 300px;
    }
}

@media (max-width: 1399px) {
    .hero-main-img-2 {
        max-width: 100%;
        height: 450px;
        margin-left: 150px;
    }
}

@media (max-width: 1199px) {
    .hero-main-img-2 {
        height: 400px;
        border-radius: 20px 60px 20px 60px;
    }
}

@media (max-width: 991px) {
    .hero-main-img-2 {
        height: 380px;
        width: 100%;
        border-radius: 20px 40px 20px 40px;
    }
}

@media (max-width: 767px) {
    .hero-main-img-2 {
        height: 320px;
        width: 100%;
        border-radius: 15px 30px 15px 30px;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .hero-main-img-2 {
        height: 250px;
        border-radius: 10px 20px 10px 20px;
        margin-left: 0px;
    }
}