:root {
    --emind-primary: #a9012b;
    --emind-primary-dark: #70001c;
    --emind-ink: #141416;
    --emind-muted: #5f6670;
    --emind-soft: #fff3f6;
    --emind-line: #ead7dc;
}

body {
    color: var(--emind-ink);
}

.emind-hide-nav,
.about-text.second-about,
.emind-hidden-original-program,
.emind-hidden-home-extra {
    display: none !important;
}

.header-three .menu-area {
    border-bottom: 1px solid rgba(169, 1, 43, 0.12);
    box-shadow: 0 10px 35px rgba(20, 20, 22, 0.06);
}

.header-three .second-header {
    background: linear-gradient(90deg, #a9012b 0%, #870023 54%, #680019 100%) !important;
}

.header-three .second-header::before {
    opacity: 0.18;
}

.header-three .header-social span,
.header-three .header-cta .text span,
.header-three .header-cta .text strong,
.header-three .header-cta .text strong a {
    color: #ffffff !important;
}

.header-three .header-cta .text strong a:hover,
.header-three .second-header a:hover {
    color: #ffdce5 !important;
}

.header-three .header-cta ul li {
    border-right-color: rgba(255, 255, 255, 0.18) !important;
}

.header-three .header-cta .call-box .icon {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
}

.header-three .header-cta .call-box .icon img {
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.header-three .header-social a {
    background: transparent !important;
    border-color: rgba(255, 255, 255, 0.32) !important;
    color: #ffffff !important;
}

.header-three .header-social a:hover {
    background: transparent !important;
    border-color: rgba(255, 255, 255, 0.32) !important;
    color: #ffb3c3 !important;
}

.header-three .main-menu ul li > a {
    color: #101a30 !important;
    position: relative;
}

.header-three .main-menu ul li:hover > a,
.header-three .main-menu ul li.active > a,
.header-three .main-menu ul li.current > a {
    color: var(--emind-primary) !important;
}

.header-three .main-menu ul li > a::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    height: 2px;
    background: var(--emind-primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.header-three .main-menu ul li:hover > a::before,
.header-three .main-menu ul li.active > a::before,
.header-three .main-menu ul li.current > a::before {
    transform: scaleX(1);
}

.header-three .main-menu .has-sub ul li > a::before {
    display: none;
}

.second-header,
.footer-bg,
.copyright-wrap,
.class-area[style*="#01409f"],
.steps-area {
    background-color: var(--emind-primary-dark) !important;
}

.second-header::before,
.btn,
.btn::before,
.top-btn,
.slider-active .slick-dots li button,
.slider-active .slick-dots li.slick-active button,
.header-social a,
.footer-social a,
.courses-item .icon,
.readmore::before {
    background: var(--emind-primary) !important;
}

.main-menu ul li:hover > a,
.main-menu ul li.active a,
.section-title h5,
.about-title h5,
.section-title h5 i,
.about-title h5 i,
.courses-content .cat,
.courses-content h4 a:hover,
.readmore,
.footer-widget a:hover,
.breadcrumb-title h2,
.breadcrumb li a {
    color: var(--emind-primary) !important;
}

.btn,
.btn:hover,
.header-social a,
.footer-social a {
    border-color: var(--emind-primary) !important;
}

.btn:hover::before,
.second-header-btn .btn:hover {
    background: var(--emind-primary-dark) !important;
}

.about-area {
    background: var(--emind-soft) !important;
}

.slider-active {
    background: var(--emind-ink) !important;
}

.single-slider {
    position: relative;
}

.single-slider::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(20, 20, 22, 0.78), rgba(20, 20, 22, 0.32));
    pointer-events: none;
}

.single-slider .container {
    position: relative;
    z-index: 1;
}

.slider-content h5 {
    color: #fff;
}

.slider-content h2 {
    color: #fff;
    max-width: 780px;
}

.slider-content p,
.steps-area p {
    color: rgba(255, 255, 255, 0.86);
}

.emind-programs {
    background: #fff;
}

.emind-program-card {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 42px;
    align-items: center;
    padding: 34px;
    border: 1px solid var(--emind-line);
    border-radius: 8px;
    box-shadow: 0 20px 45px rgba(20, 20, 22, 0.07);
}

.emind-program-card img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 8px;
}

.emind-program-card h2 {
    color: var(--emind-ink);
    margin-bottom: 18px;
}

.emind-program-card p {
    color: var(--emind-muted);
}

.f-widget-title img,
.logo img,
.auth-logo img,
.navbar-brand-box img {
    object-fit: contain;
}

.footer-bg .f-widget-title img {
    max-width: 220px;
    padding: 12px;
    border-radius: 8px;
}

.footer-bg,
.footer-bg p,
.footer-bg li,
.footer-bg span,
.footer-bg .copy-text,
.footer-bg .copyright-wrap,
.footer-bg .footer-widget,
.footer-bg .f-contact,
.footer-bg .footer-link {
    color: rgba(255, 255, 255, 0.92) !important;
}

.footer-bg .f-widget-title h2,
.footer-bg .footer-widget h2,
.footer-bg .copy-text {
    color: #ffffff !important;
}

.footer-bg a,
.footer-bg .footer-widget a,
.footer-bg .footer-link a,
.footer-bg .f-contact a,
.footer-bg .copyright-wrap a {
    color: #ffffff !important;
}

.footer-bg a:hover,
.footer-bg .footer-widget a:hover,
.footer-bg .footer-link a:hover,
.footer-bg .f-contact a:hover,
.footer-bg .copyright-wrap a:hover {
    color: #ffdce5 !important;
}

.footer-bg .footer-widget h2::before,
.footer-bg .f-widget-title h2::before {
    background: #ff385f !important;
}

@media (max-width: 991px) {
    .emind-program-card {
        grid-template-columns: 1fr;
        padding: 22px;
    }

    .emind-program-card img {
        height: 280px;
    }
}

@media (max-width: 575px) {
    .emind-program-card img {
        height: 220px;
    }
}
