/* ==========================================================================
   Psycho-verse — Shared Chrome (header / footer / typography)
   --------------------------------------------------------------------------
   These rules used to live in an inline <style> block inside the standalone
   template ("Webstite forntend/index.html") and in nothing else, so every
   page that reused the header/footer partials rendered them unstyled.
   Extracted here so the shared chrome is styled site-wide.
   Also defines the handful of classes the partials use that main.css
   never shipped: .container-two, .bottom-footer, .footer-item__title.
   ========================================================================== */

:root {
    --heading-font: 'Montserrat Alternates', sans-serif;
    --heading-font-two: 'Montserrat Alternates', sans-serif;
    --pv-body-font: 'Montserrat', sans-serif;
    --pv-main-600: #E4302C;
    --pv-main-25: #fdfdff;
    --pv-neutral-500: #475569;
    --pv-neutral-700: #0f172a;
    --pv-border: #e2e8f0;
}

/* ── Base typography ───────────────────────────────────────────────────── */
html { overflow-x: clip; }
body {
    overflow-x: clip;
    /* frontend_style.css sets `font-family: var(--font_family2) !important` on
       body and that variable resolves to nothing, which is what made every
       inner page fall back to Times. This has to outrank it. */
    font-family: var(--pv-body-font) !important;
}

h1, h2, h3, h4, h5, h6,
.display2, .display-four,
.breadcrumb__title,
.section-heading__title,
.banner__title,
.course-item__title,
.blog-item__title,
.instructor-item__name,
.footer-item__title {
    font-family: var(--heading-font) !important;
}

/* ── Layout container & Grid Fallbacks ─────────────────────────────────── */
.container-two {
    width: 100%;
    max-width: 1296px;
    margin-inline: auto;
    padding-inline: 24px;
}

@media (max-width: 575.98px) {
    .container-two { padding-inline: 16px; }
}

/* Cross-Bootstrap 4/5 Grid Utility Fallbacks */
.pv-footer-row {
    display: flex;
    flex-wrap: wrap;
}

@media (min-width: 1200px) {
    .pv-footer-row > .col,
    .pv-footer-row > [class*="col-"] {
        flex: 0 0 25% !important;
        max-width: 25% !important;
        width: 25% !important;
    }
}
@media (min-width: 768px) and (max-width: 1199.98px) {
    .pv-footer-row > .col,
    .pv-footer-row > [class*="col-"] {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
    }
}
@media (max-width: 767.98px) {
    .pv-footer-row > .col,
    .pv-footer-row > [class*="col-"] {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
}

.flex-align {
    display: flex;
    align-items: center;
}

/* ── Sticky glass-frost header ─────────────────────────────────────────── */
.header {
    position: sticky !important;
    top: 0 !important;
    z-index: 1050;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(20px) saturate(1.6);
    -webkit-backdrop-filter: blur(20px) saturate(1.6);
    border-bottom: 1px solid rgba(210, 210, 225, 0.35);
    box-shadow: 0 2px 18px rgba(0, 0, 0, 0.07);
    transition: background 0.3s ease, box-shadow 0.3s ease;
    padding: 10px 0;
}

.header.fixed-header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(24px) saturate(1.8);
    -webkit-backdrop-filter: blur(24px) saturate(1.8);
    box-shadow: 0 4px 28px rgba(0, 0, 0, 0.11);
}

.header nav.header-inner {
    align-items: center;
    padding-block: 0;
    padding-inline: 24px;
    min-height: 68px;
}

/* ── Logos ─────────────────────────────────────────────────────────────── */
.logo img {
    height: 64px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    display: block;
}

.mobile-menu__logo img {
    height: 56px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block;
}

.footer-item__logo img {
    height: 60px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block;
    background: #fff;
    border-radius: 8px;
    padding: 6px 10px;
}

/* ── Footer ────────────────────────────────────────────────────────────── */
.pv-footer,
footer.footer {
    background-color: #f8fafc !important;
    border-top: 1px solid #e2e8f0;
    position: relative;
    z-index: 10;
    width: 100%;
}

.pv-footer-top,
footer.footer .py-120 {
    padding-top: 70px !important;
    padding-bottom: 60px !important;
}

.footer-item {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.footer-item__title {
    font-family: var(--heading-font) !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin-bottom: 20px !important;
    position: relative;
}

.footer-menu {
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.footer-menu li {
    margin-bottom: 12px !important;
}

.footer-menu a {
    color: #475569 !important;
    text-decoration: none !important;
    font-size: 14.5px !important;
    font-weight: 500;
    transition: all 0.2s ease !important;
    display: inline-block;
}

.footer-menu a:hover {
    color: #E4302C !important;
    transform: translateX(4px);
}

.social-list {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.pv-social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    color: #475569 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
}

.pv-social-link:hover {
    background-color: #E4302C !important;
    border-color: #E4302C !important;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(228, 48, 44, 0.3);
}

.pv-footer-contact-item {
    display: flex !important;
    align-items: flex-start !important;
    margin-bottom: 16px;
}

.pv-footer-contact-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background-color: rgba(228, 48, 44, 0.08);
    color: #E4302C;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    margin-right: 12px;
}

.pv-footer-contact-text {
    font-size: 14px;
    color: #475569;
    line-height: 1.5;
}

.pv-footer-contact-text a {
    color: #475569;
    text-decoration: none;
    transition: color 0.2s ease;
    word-break: break-all;
}

.pv-footer-contact-text a:hover {
    color: #E4302C;
}

/* ── Bottom Footer ─────────────────────────────────────────────────────── */
.bottom-footer {
    border-top: 1px solid #e2e8f0 !important;
    background-color: #f1f5f9 !important;
    padding: 20px 0 !important;
}

.bottom-footer__text {
    margin-bottom: 0;
    color: #64748b !important;
    font-size: 14px;
}

.bottom-footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #64748b !important;
    text-decoration: none !important;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #E4302C !important;
}

@media (max-width: 767.98px) {
    .bottom-footer__inner {
        justify-content: center !important;
        text-align: center;
    }
}

/* ── Shared Psycho-verse Breadcrumb Banner ─────────────────────────────── */
.pv-breadcrumb-banner,
.breadcrumb_area {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    padding: 60px 0 50px !important;
    position: relative;
    overflow: hidden;
}

.pv-breadcrumb-banner::before,
.breadcrumb_area::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(228, 48, 44, 0.15) 0%, rgba(228, 48, 44, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.breadcam_wrap h3,
.pv-breadcrumb-title {
    font-family: var(--heading-font) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: clamp(26px, 3.5vw, 38px) !important;
    margin-bottom: 10px !important;
}

.breadcam_wrap p,
.pv-breadcrumb-subtitle {
    color: #94a3b8 !important;
    font-size: 15px !important;
    margin-bottom: 0 !important;
}

.breadcam_wrap p a,
.pv-breadcrumb-subtitle a {
    color: #cbd5e1 !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.breadcam_wrap p a:hover,
.pv-breadcrumb-subtitle a:hover {
    color: #E4302C !important;
}

/* ── Media sizing shared across pages ──────────────────────────────────── */
.banner-thumb__img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    object-position: center 20%;
    display: block;
    border-radius: 12px;
}

.course-item__img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center;
}
