:root {
    --navy: #0b3c53;
    --navy-dark: #082a3a;
    --teal: #0e5c56;
    --teal-dark: #0a4640;
    --green: #1c7f4e;
    --green-dark: #145d39;
    --gold: #e0a941;
    --red: #001A55;
    --ink: #1c2b30;
    --muted: #5c7079;
    --paper: #f6f9f8;
    --line: #e4ebe9;
    --radius-md: 14px;
    --radius-lg: 22px;
    --shadow-soft: 0 12px 30px -14px rgba(11, 60, 83, .25);
    --font-head: 'Poppins', sans-serif;
    --font-body: 'Hind Siliguri', 'Poppins', sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: #fff;
    padding-top: 0;
}

h1,
h2,
h3,
h4,
.font-head {
    font-family: var(--font-head);
}

a {
    text-decoration: none;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .78rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 8px;
}

.eyebrow::before {
    content: "";
    width: 26px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
    display: inline-block;
}

.btn-brand {
    background: var(--green);
    color: #fff;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .85rem;
    letter-spacing: .03em;
    padding: .7rem 1.5rem;
    border-radius: 8px;
    border: none;
    transition: .25s;
}

.btn-brand:hover {
    background: var(--green-dark);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-brand {
    border: 1.5px solid #0E5B55;
    color: #0E5B55;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .85rem;
    padding: .65rem 1.4rem;
    border-radius: 8px;
    transition: .25s;
}

.btn-outline-brand:hover {
    background: #fff;
    color: #0E5B55;
    text: #fff;
}

/* ===================== TOP BAR ===================== */
.topbar {
    background: linear-gradient(90deg, var(--teal-dark), var(--teal));
    color: #fff;
    font-size: .82rem;
    overflow: hidden;
    height: 38px;
    display: flex;
    align-items: center;
    transition: height .35s ease, opacity .35s ease;
}

.topbar.hide {
    height: 0;
    opacity: 0;
}

.notice-badge {
    background: var(--red);
    color: #fff;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .72rem;
    letter-spacing: .08em;
    padding: .35rem .9rem;
    flex: 0 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.notice-badge::after {
    content: "";
    position: absolute;
    right: -14px;
    top: 0;
    bottom: 0;
    width: 14px;
    background: var(--red);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.marquee-wrap {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding-left: 24px;
}

.marquee-track {
    display: inline-block;
    white-space: nowrap;
    animation: scrollLeft 26s linear infinite;
}

.marquee-track span {
    display: inline-flex;
    align-items: center;
    margin-right: 48px;
    font-weight: 500;
}

.marquee-track span i {
    color: var(--gold);
    margin-right: 8px;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ===================== HEADER ===================== */
.site-header {
    background: #fff;
    box-shadow: 0 2px 18px -8px rgba(11, 60, 83, .18);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: padding .3s ease;
}

.navbar {
    padding-top: .4rem !important;
    padding-bottom: .4rem !important;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo img {
    height: 84px;
    width: 84px;
    object-fit: contain;
    transition: .3s;
}

.brand-logo .brand-text {
    line-height: 1.2;
    display: flex;
    flex-direction: column;
}

.brand-logo .brand-text b {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--navy);
    letter-spacing: .02em;
}

.brand-logo .brand-text small {
    display: block;
    font-size: .72rem;
    font-weight: 600;
    color: var(--green);
    letter-spacing: .01em;
    max-width: 220px;
    white-space: normal;
    line-height: 1.25;
}

.main-nav .nav-link {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: .02em;
    color: var(--navy) !important;
    padding: 1.2rem .95rem !important;
    position: relative;
    transition: color .2s;
    display: flex;
    align-items: center;
}

.main-nav .nav-item.active .nav-link,
.main-nav .nav-link:hover {
    color: var(--green) !important;
}

/* dropdown caret icon */
.main-nav .dropdown-toggle::after {
    content: "\f282";
    font-family: "bootstrap-icons" !important;
    border: none;
    width: auto;
    height: auto;
    font-size: .65rem;
    margin-left: 6px;
    vertical-align: 0;
    transition: transform .25s;
}

.main-nav .dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
    color: var(--green);
}

.main-nav .dropdown-menu {
    border: none;
    border-radius: 10px;
    box-shadow: 0 18px 40px -16px rgba(11, 60, 83, .35);
    padding: .5rem;
    margin-top: 0;
    border-top: 3px solid var(--gold);
    min-width: 210px;
}

.main-nav .dropdown-item {
    font-family: var(--font-head);
    font-size: .88rem;
    font-weight: 500;
    padding: .6rem .9rem;
    border-radius: 6px;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav .dropdown-item::before {
    content: "\f285";
    font-family: "bootstrap-icons" !important;
    font-size: .55rem;
    color: var(--gold);
}

.main-nav .dropdown-item:hover {
    background: var(--paper);
    color: var(--green);
}

@media(min-width:992px) {
    .main-nav .dropdown:hover>.dropdown-menu {
        display: block;
        animation: fadeDown .2s ease;
    }

    @keyframes fadeDown {
        from {
            opacity: 0;
            transform: translateY(-6px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

.header-cta-btn {
    background: var(--green);
    color: #fff !important;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .85rem;
    padding: .62rem 1.3rem;
    border-radius: 8px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: .25s;
}

.header-cta-btn:hover {
    background: var(--green-dark);
    color: #fff !important;
}

.navbar-toggler {
    border: none;
    padding: 0;
    font-size: 1.5rem;
    color: var(--navy);
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Offcanvas mobile sidebar */
.offcanvas-brand {
    background: var(--navy);
    color: #fff;
}

.offcanvas-body .nav-link {
    color: var(--navy);
    font-family: var(--font-head);
    font-weight: 600;
    padding: .75rem .5rem;
    border-bottom: 1px solid var(--line);
}

.offcanvas-body .dropdown-menu {
    position: static !important;
    transform: none !important;
    border: none;
    box-shadow: none;
    background: var(--paper);
    border-radius: 8px;
}

/* ===================== HERO / BANNER SLIDER ===================== */
.hero-slider {
    position: relative;
    overflow: hidden;
    height: min(78vh, 560px);
    min-height: 340px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
}

.hero-slide .container {
    position: relative;
    z-index: 2;
}

.hero-slide .eyebrow {
    color: var(--gold);
}

.hero-slide .eyebrow::before {
    background: #fff;
}

.hero-slide h1 {
    color: #fff;
    font-weight: 800;
    font-size: clamp(1.8rem, 4vw, 3.1rem);
    line-height: 1.15;
    max-width: 640px;
}

.hero-slide p {
    color: #dfeaea;
    max-width: 520px;
    font-size: 1.02rem;
    margin: 1rem 0 1.6rem;
}

.hero-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
}

.hero-dots button {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: transparent;
    padding: 0;
    transition: .25s;
}

.hero-dots button.active {
    background: var(--gold);
    border-color: var(--gold);
    width: 30px;
    border-radius: 6px;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    border: 1.5px solid rgba(255, 255, 255, .5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .25s;
}

.hero-arrow:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy-dark);
}

.hero-arrow.prev {
    left: 24px;
}

.hero-arrow.next {
    right: 24px;
}

@media(max-width:767px) {
    .hero-arrow {
        display: none;
    }

    .hero-slider {
        height: min(60vh, 420px);
        min-height: 280px;
    }
}

@media(max-width:480px) {
    .hero-slider {
        height: min(50vh, 340px);
        min-height: 240px;
    }

    .hero-slide h1 {
        font-size: clamp(1.4rem, 6vw, 1.9rem);
    }

    .hero-slide p {
        font-size: .92rem;
        margin: .7rem 0 1.2rem;
    }
}

/* ===================== ABOUT ===================== */
/* future medical about start css */
.fm-about-section {
    padding: 57px 0 60px;
    position: relative;
    overflow: hidden;
    font-family: var(--font-body);
}

.fm-about-section::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -180px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(11, 60, 83, .08) 0%, transparent 70%);
    pointer-events: none;
}

.fm-about-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -120px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(28, 127, 78, .06) 0%, transparent 70%);
    pointer-events: none;
}

/* ═══ IMAGE BLOCK ═══ */
.fm-img-col {
    position: relative;
}

.fm-img-frame {
    position: relative;
    z-index: 2;
    margin-right: 40px;
}

.fm-img-frame::before {
    content: '';
    position: absolute;
    top: -18px;
    left: -18px;
    width: 120px;
    height: 120px;
    border-top: 3px solid var(--navy);
    border-left: 3px solid var(--navy);
    border-radius: 2px;
    z-index: 3;
    pointer-events: none;
}

.fm-img-frame::after {
    content: '';
    position: absolute;
    bottom: -18px;
    right: -18px;
    width: 120px;
    height: 120px;
    border-bottom: 3px solid var(--gold);
    border-right: 3px solid var(--gold);
    border-radius: 2px;
    z-index: 3;
    pointer-events: none;
}

.fm-main-img {
    width: 100%;
    height: 580px;
    object-fit: cover;
    border-radius: var(--radius-md);
    display: block;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-soft);
}

.fm-vertical-label {
    position: absolute;
    left: -46px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--navy);
    opacity: .45;
    white-space: nowrap;
    z-index: 4;
    font-family: var(--font-head);
}

/* ── FLOAT CARD ── */
.fm-float-card {
    position: absolute;
    bottom: 36px;
    right: -36px;
    background: var(--navy);
    border-radius: var(--radius-md);
    padding: 18px 22px;
    z-index: 5;
    box-shadow: 0 16px 48px rgba(11, 60, 83, .38);
    min-width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fm-fc-logo {
    width: 130px;
    height: auto;
    object-fit: contain;
    display: block;
}

.fm-mini-badge {
    position: absolute;
    top: 28px;
    right: -28px;
    background: var(--gold);
    color: var(--ink);
    border-radius: 6px;
    padding: 10px 18px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    box-shadow: 0 8px 24px rgba(224, 169, 65, .35);
    z-index: 5;
    text-align: center;
    line-height: 1.4;
    font-family: var(--font-head);
}

/* ═══ CONTENT BLOCK ═══ */
.fm-content-col {
    padding-left: 20px;
}

.fm-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 18px;
    font-family: var(--font-head);
}

.fm-eyebrow::before {
    content: '';
    width: 28px;
    height: 2px;
    background: var(--green);
    flex-shrink: 0;
}

.fm-about-title {
    font-family: var(--font-head);
    font-size: clamp(2rem, 3.4vw, 3.1rem);
    font-weight: 700;
    color: var(--ink);
    line-height: 1.15;
    margin-bottom: 6px;
}

.fm-about-title em {
    font-style: normal;
    color: var(--navy);
}

.fm-typewriter-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.fm-tw-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--navy);
    opacity: .55;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-family: var(--font-head);
}

.fm-tw-text {
    font-family: var(--font-head);
    font-size: clamp(1rem, 1.8vw, 1.35rem);
    font-weight: 600;
    color: var(--green);
    border-right: 2px solid var(--green);
    padding-right: 3px;
    animation: fmCaret .75s step-end infinite;
    min-height: 1.5em;
}

@keyframes fmCaret {

    0%,
    100% {
        border-color: var(--green);
    }

    50% {
        border-color: transparent;
    }
}

.fm-rule-double {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 28px;
}

.fm-rule-double span:first-child {
    display: block;
    width: 56px;
    height: 3px;
    background: var(--navy);
    border-radius: 2px;
}

.fm-rule-double span:last-child {
    display: block;
    width: 32px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
}

.fm-about-body p {
    font-size: clamp(.87rem, 1.1vw, .97rem);
    color: var(--muted);
    line-height: 1.9;
    margin-bottom: 14px;
    text-align: justify;
}

/* ═══ WHAT WE DO ═══ */
.fm-what-we-do {
    margin: 30px 0 32px;
}

.fm-wwd-label {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 18px;
    font-family: var(--font-head);
}

.fm-wwd-label::before,
.fm-wwd-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--line);
}

.fm-wwd-row {
    display: flex;
    align-items: flex-start;
    gap: 0;
}

.fm-wwd-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 18px 10px 14px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    gap: 10px;
    transition: box-shadow .25s, transform .25s, border-color .25s;
    cursor: default;
    flex: 1;
}

.fm-wwd-card:hover {
    box-shadow: var(--shadow-soft);
    transform: translateY(-3px);
    border-color: var(--navy);
}

.fm-wwd-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .25s;
}

.fm-wwd-card:hover .fm-wwd-icon {
    background: var(--navy);
}

.fm-wwd-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--navy);
    fill: none;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke .25s;
}

.fm-wwd-card:hover .fm-wwd-icon svg {
    stroke: #fff;
}

.fm-wwd-name {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--ink);
    line-height: 1.35;
    font-family: var(--font-head);
}

.fm-wwd-row .fm-wwd-sep {
    flex: 0 0 22px;
    text-align: center;
    font-size: 1.4rem;
    color: var(--gold);
    align-self: center;
    line-height: 1;
    margin-top: -6px;
}

/* ═══ CTA ═══ */
.fm-cta-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.fm-btn-primary-about {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--navy);
    color: #fff;
    font-weight: 700;
    font-size: .85rem;
    letter-spacing: .07em;
    text-transform: uppercase;
    padding: 14px 36px;
    border-radius: 6px;
    text-decoration: none;
    border: 2px solid var(--navy);
    transition: background .3s, color .3s, transform .2s;
    font-family: var(--font-head);
}

.fm-btn-primary-about:hover {
    background: transparent;
    color: var(--navy);
    transform: translateY(-2px);
}

.fm-btn-primary-about svg {
    transition: transform .3s;
}

.fm-btn-primary-about:hover svg {
    transform: translateX(5px);
}

/* ═══════════════════════════════
     RESPONSIVE
═══════════════════════════════ */
@media (min-width: 1600px) {
    .fm-main-img {
        height: 700px;
    }

    .fm-about-section {
        padding: 120px 0 110px;
    }
}

@media (max-width: 1199px) {
    .fm-float-card {
        right: -10px;
    }

    .fm-mini-badge {
        right: -10px;
    }

    .fm-vertical-label {
        display: none;
    }

    .fm-img-frame {
        margin-right: 20px;
    }
}

@media (max-width: 991px) {
    .fm-about-section {
        padding: 60px 0;
    }

    .fm-content-col {
        padding-left: 0;
        margin-top: 60px;
    }

    .fm-main-img {
        height: 420px;
    }

    .fm-img-frame {
        margin-right: 0;
    }

    .fm-float-card {
        right: 16px;
        bottom: 20px;
    }

    .fm-mini-badge {
        right: 16px;
        top: 20px;
    }

    .fm-img-frame::before,
    .fm-img-frame::after {
        width: 70px;
        height: 70px;
    }
}

/* ─── MOBILE ≤ 767px: content comes FIRST ─── */
@media (max-width: 767px) {
    .fm-about-section {
        padding: 40px 0 50px;
    }

    .row.fm-about-row {
        display: flex;
        flex-direction: column;
    }

    .fm-col-img-mob {
        order: 2;
    }

    .fm-col-text-mob {
        order: 1;
    }

    .fm-content-col {
        padding-left: 0;
        margin-top: 0;
        margin-bottom: 40px;
        text-align: center;
    }

    .fm-eyebrow {
        justify-content: center;
    }

    .fm-typewriter-row {
        justify-content: center;
    }

    .fm-rule-double {
        align-items: center;
    }

    .fm-img-frame {
        margin-right: 0;
        margin-bottom: 90px;
    }

    .fm-main-img {
        height: 240px;
        border-radius: 8px;
    }

    .fm-img-frame::before {
        top: -10px;
        left: -10px;
        width: 50px;
        height: 50px;
        border-width: 2px;
    }

    .fm-img-frame::after {
        bottom: -10px;
        right: -10px;
        width: 50px;
        height: 50px;
        border-width: 2px;
    }

    .fm-float-card {
        right: 50%;
        transform: translateX(50%);
        bottom: -62px;
        min-width: 130px;
        padding: 14px 20px;
    }

    .fm-fc-logo {
        width: 90px;
    }

    .fm-mini-badge {
        display: none;
    }

    .fm-about-title {
        font-size: 1.7rem;
    }

    .fm-typewriter-row {
        gap: 6px;
    }

    .fm-tw-text {
        font-size: 1rem;
    }

    .fm-wwd-row {
        flex-wrap: wrap;
        gap: 10px;
    }

    .fm-wwd-row .fm-wwd-sep {
        display: none;
    }

    .fm-wwd-row .fm-wwd-card {
        flex: 1 1 calc(50% - 5px);
        min-width: 0;
    }

    .fm-wwd-label {
        font-size: 0.65rem;
    }

    .fm-cta-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .fm-btn-primary-about {
        width: 100%;
        justify-content: center;
        font-size: .8rem;
        padding: 12px 24px;
    }
}

@media (max-width: 375px) {
    .fm-main-img {
        height: 200px;
    }

    .fm-about-title {
        font-size: 1.5rem;
    }

    .fm-wwd-row .fm-wwd-card {
        flex: 1 1 100%;
    }
}

/* future medical about end css */
/* ===================== COURSES ===================== */
.courses-section {
    padding: 5px 0;
    background: var(--paper);
}

.section-head-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 2.6rem;
}

.section-head-row h2 {
    font-weight: 800;
    color: var(--navy);
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}

.btn-view-all {
    border: 1.5px solid var(--green);
    color: var(--green);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .83rem;
    padding: .6rem 1.3rem;
    border-radius: 8px;
    transition: .25s;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-view-all:hover {
    background: var(--green);
    color: #fff;
}

.course-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 14px -6px rgba(11, 60, 83, .14);
    transition: .3s;
    height: 100%;
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 32px -16px rgba(11, 60, 83, .28);
}

.course-thumb {
    height: 140px;
    overflow: hidden;
    position: relative;
}

.course-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s;
    display: block;
}

.course-card:hover .course-thumb img {
    transform: scale(1.08);
}

.course-body {
    padding: 1.05rem 1.1rem 1.1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.course-body h5 {
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--navy);
    font-size: .92rem;
    line-height: 1.4;
    margin-bottom: .65rem;
    min-height: 52px;
}

.course-duration {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: .78rem;
    margin-bottom: .9rem;
}

.course-duration i {
    color: var(--green);
}

.btn-course {
    margin-top: auto;
    display: block;
    text-align: center;
    background: var(--green);
    color: #fff;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .75rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: .58rem;
    border-radius: 7px;
    transition: .25s;
}

.btn-course:hover {
    background: var(--green-dark);
    color: #fff;
}

/* ===================== RESULT CHECK ===================== */
.result-section {
    padding: 40px 0 88px;
}

.result-card {
    position: relative;
    background: linear-gradient(135deg, #ecf7f1, #f5faf7);
    border-radius: var(--radius-lg);
    padding: 2.8rem 2.6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.6rem;
    flex-wrap: wrap;
    border: 1px solid #d7ece1;
    box-shadow: 0 30px 60px -32px rgba(16, 40, 30, .4);
    overflow: hidden;
}

.result-card::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(28, 127, 78, .14), transparent 70%);
    pointer-events: none;
}

.result-left {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 1.1rem;
    max-width: 250px;
    z-index: 1;
}

.result-icon {
    flex: 0 0 auto;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: linear-gradient(150deg, var(--green), #146b45);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    box-shadow: 0 14px 28px -12px rgba(28, 127, 78, .55);
}

.eyebrow {
    display: inline-block;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: .3rem;
    position: relative;
    padding-left: 1.4rem;
}

.eyebrow::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 2px;
    background: var(--green);
}

.result-title h4 {
    font-family: var(--font-head);
    font-weight: 800;
    color: var(--navy);
    font-size: 1.12rem;
    line-height: 1.3;
    margin-bottom: .3rem;
}

.result-title p {
    color: var(--muted);
    font-size: .82rem;
    margin: 0;
    line-height: 1.4;
}

.result-box {
    flex: 1 1 460px;
    max-width: 560px;
    background: #fff;
    border: 1.5px solid #d7ece1;
    border-radius: 18px;
    padding: 1.8rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.6rem;
    box-shadow: 0 20px 45px -26px rgba(16, 40, 30, .3);
    z-index: 1;
}

.fields-column {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: .9rem;
    min-width: 0;
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.field-group label {
    font-size: .76rem;
    font-weight: 700;
    color: var(--navy);
    padding-left: .3rem;
}

.input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 50px;
    border: 1.5px solid #cfe4da;
    transition: .25s;
}

.input-wrap:focus-within {
    border-color: var(--green);
    box-shadow: 0 0 0 .18rem rgba(28, 127, 78, .15);
}

.input-wrap i {
    padding-left: 1rem;
    color: var(--green);
    font-size: .92rem;
}

.input-wrap input {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    padding: .68rem .9rem;
    font-size: .86rem;
    color: var(--navy);
}

.btn-check {
    flex: 0 0 auto;
    align-self: stretch;
    background: linear-gradient(150deg, var(--navy), #16283f);
    color: #fff;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .86rem;
    padding: .9rem 1.7rem;
    border-radius: 12px;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    transition: .25s;
    white-space: nowrap;
}

.btn-check i {
    font-size: 1.05rem;
}

.btn-check:hover {
    background: linear-gradient(150deg, var(--green), #146b45);
    transform: translateY(-3px);
    box-shadow: 0 18px 32px -14px rgba(28, 127, 78, .55);
}

@media (max-width: 992px) {
    .result-card {
        padding: 2.2rem 1.8rem;
    }

    .result-left {
        max-width: 100%;
        flex: 1 1 100%;
        justify-content: center;
        text-align: center;
        flex-direction: column;
    }

    .result-box {
        flex: 1 1 100%;
        max-width: 100%;
        flex-wrap: wrap;
    }

    .btn-check {
        width: 100%;
        flex-direction: row;
    }
}

@media (max-width: 576px) {
    .result-section {
        padding: 0 0 56px;
    }

    .result-card {
        padding: 1.8rem 1.2rem;
        border-radius: 20px;
        gap: 1.4rem;
    }

    .result-left {
        gap: .8rem;
    }

    .result-icon {
        width: 58px;
        height: 58px;
        font-size: 1.4rem;
    }

    .result-title h4 {
        font-size: 1rem;
    }

    .result-title p {
        font-size: .8rem;
    }

    .result-box {
        padding: 1.4rem 1.2rem;
        border-radius: 16px;
    }

    .input-wrap input {
        padding: .65rem .9rem;
        font-size: .84rem;
    }

    .btn-check {
        padding: .75rem 1.4rem;
    }
}

/* ===================== STATS ===================== */
.stats-section {
    background: linear-gradient(120deg, var(--green-dark), var(--green));
    padding: 56px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, .08) 1.5px, transparent 1.5px);
    background-size: 20px 20px;
    opacity: .5;
}

.stat-item {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    color: #fff;
}

.stat-item i {
    font-size: 2.1rem;
    color: var(--gold);
}

.stat-item b {
    display: block;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.9rem;
    line-height: 1;
}

.stat-item span {
    font-size: .82rem;
    font-weight: 500;
    opacity: .9;
}

.stats-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}

.stats-row .stat-col {
    flex: 1 1 180px;
}

@media(max-width:767px) {
    .stats-row .stat-col {
        flex: 1 1 45%;
    }
}

/* ===================== GALLERY (generic / branch pages) ===================== */
.gallery-section {
    padding: 88px 0;
    background: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-auto-rows: 220px;
    gap: 16px;
}

.gallery-item {
    display: block;
    overflow: hidden;
    border-radius: var(--radius-md);
    position: relative;
    box-shadow: 0 6px 20px rgba(11, 60, 83, .08);
    border: 1px solid rgba(11, 60, 83, .06);
}

.gallery-feature {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(35%);
    transition: transform .6s cubic-bezier(.25, .8, .25, 1), filter .6s;
}

.gallery-item:hover img {
    transform: scale(1.08);
    filter: grayscale(0%);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    background: linear-gradient(to top, rgba(11, 30, 45, .85) 0%, rgba(11, 30, 45, .15) 55%, transparent 100%);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .4s ease, transform .4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-cat {
    color: #d9c98a;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.gallery-title {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.3;
}

.gallery-expand {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity .35s ease .05s, transform .35s ease .05s;
}

.gallery-item:hover .gallery-expand {
    opacity: 1;
    transform: translateY(0);
}

@media(max-width:991px) and (min-width:768px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-feature {
        grid-column: span 2;
        grid-row: span 2;
    }
}

@media(max-width:767px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 160px;
        gap: 10px;
    }

    .gallery-feature {
        grid-column: span 2;
        grid-row: span 1;
        height: 220px;
    }

    .gallery-overlay {
        opacity: 1;
        transform: none;
        background: linear-gradient(to top, rgba(11, 30, 45, .8) 0%, transparent 65%);
        padding: 14px;
    }

    .gallery-title {
        font-size: .8rem;
    }

    .gallery-expand {
        display: none;
    }
}

/* ===================== SEND YOUR INQUIRY (base) ===================== */
.inquiry-section {
    padding: 20px 0;
    background: var(--paper);
}

.inquiry-card {
    display: flex;
    align-items: stretch;
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}

.inquiry-media {
    position: relative;
    flex: 0 0 42%;
    min-height: 480px;
}

.inquiry-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.media-badge {
    position: absolute;
    bottom: 22px;
    left: 22px;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(11, 60, 83, .82);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: .78rem;
    font-weight: 600;
    padding: .55rem 1rem;
    border-radius: 50px;
}

.media-badge i {
    color: var(--gold);
}

.inquiry-form-wrap {
    flex: 1 1 58%;
    padding: 3rem 3.2rem;
}

.inquiry-head {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-bottom: .6rem;
}

.inquiry-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: linear-gradient(150deg, var(--teal), var(--teal-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 12px 22px -10px rgba(14, 92, 86, .5);
    flex-shrink: 0;
}

.inquiry-head h3 {
    font-family: var(--font-head);
    font-weight: 800;
    color: var(--navy);
    font-size: 1.5rem;
    margin: 0;
}

.pulse-divider {
    width: 100%;
    height: 20px;
    margin-bottom: 1.8rem;
}

.pulse-divider path {
    fill: none;
    stroke: var(--teal);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: .5;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.form-group.full {
    margin-bottom: 1.6rem;
}

.form-group label {
    font-family: var(--font-body);
    font-size: .82rem;
    font-weight: 700;
    color: var(--navy);
}

.form-group label span {
    color: var(--gold);
}

.input-wrap {
    display: flex;
    align-items: center;
    background: var(--paper);
    border: 1.5px solid var(--line);
    border-radius: var(--radius-md);
    transition: .25s;
}

.input-wrap:focus-within {
    border-color: var(--teal);
    background: #fff;
    box-shadow: 0 0 0 .18rem rgba(14, 92, 86, .14);
}

.input-wrap i {
    padding-left: 1rem;
    color: var(--teal);
    font-size: .95rem;
}

.input-wrap input,
.input-wrap textarea {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    padding: .78rem .9rem;
    font-size: .88rem;
    font-family: var(--font-body);
    color: var(--ink);
}

.textarea-wrap {
    align-items: flex-start;
}

.textarea-wrap i {
    margin-top: .78rem;
}

.textarea-wrap textarea {
    resize: none;
}

.form-footer {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    flex-wrap: wrap;
}

.btn-send {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    background: linear-gradient(150deg, var(--teal), var(--teal-dark));
    color: #fff;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .9rem;
    padding: .9rem 1.9rem;
    border: none;
    border-radius: 50px;
    box-shadow: 0 16px 30px -14px rgba(14, 92, 86, .55);
    transition: .25s;
}

.btn-send:hover {
    background: linear-gradient(150deg, var(--green), var(--green-dark));
    transform: translateY(-3px);
}

.privacy-note {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-family: var(--font-body);
    font-size: .8rem;
    color: var(--muted);
}

.privacy-note i {
    color: var(--teal);
}

@media (max-width: 992px) {
    .inquiry-card {
        flex-direction: column;
    }

    .inquiry-media {
        flex: 0 0 auto;
        min-height: 260px;
    }

    .inquiry-form-wrap {
        padding: 2.2rem 2rem;
    }
}

@media (max-width: 576px) {
    .inquiry-section {
        padding: 64px 0;
    }

    .inquiry-card {
        border-radius: var(--radius-md);
    }

    .inquiry-media {
        min-height: 200px;
    }

    .inquiry-form-wrap {
        padding: 1.8rem 1.3rem;
    }

    .inquiry-head h3 {
        font-size: 1.25rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: .9rem;
    }

    .form-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: .8rem;
    }

    .btn-send {
        width: 100%;
        justify-content: center;
    }
}

/* ---- Select / Course dropdown ---- */
.select-wrap {
    position: relative;
}

.select-wrap select {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    padding: .78rem 2.4rem .78rem .9rem;
    font-size: .88rem;
    font-family: var(--font-body);
    color: var(--ink);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

.select-wrap select:invalid {
    color: var(--muted);
}

.select-arrow {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    padding-left: 0 !important;
    font-size: .75rem !important;
    pointer-events: none;
    color: var(--teal) !important;
}

.select-wrap option {
    color: var(--ink);
    background: #fff;
}

/* ===== PAGE HEADER (Breadcrumb + Title) ===== */
.fm-page-header {
    background: var(--paper);
    border-top: 3px solid var(--navy-dark);
    border-bottom: 1px solid var(--line);
}

.fm-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: .84rem;
    font-weight: 500;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 26px;
}

.fm-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--teal);
    text-decoration: none;
    transition: color .2s ease;
}

.fm-breadcrumb a:hover {
    color: var(--navy-dark);
}

.fm-breadcrumb .fm-crumb-sep {
    color: var(--muted);
    font-size: .78rem;
}

.fm-breadcrumb .active {
    color: var(--navy-dark);
    font-weight: 700;
}

.fm-page-title {
    font-family: var(--font-head);
    font-weight: 800;
    color: var(--navy-dark);
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    margin: 0 0 14px;
    line-height: 1.2;
}

.fm-status-badge {
    display: inline-block;
    background: var(--navy-dark);
    color: #fff;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .7rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 5px;
}

.fm-wrap {
    max-width: 1160px;
    margin: 0 auto;
    padding: 26px 16px 12px;
}

/* ===== HERO (course details) ===== */
.fm-hero-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 22px;
    align-items: stretch;
}

@media (max-width: 991px) {
    .fm-hero-grid {
        grid-template-columns: 1fr;
    }
}

.fm-hero {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 340px;
    box-shadow: var(--shadow-soft);
    background: var(--navy-dark);
}

.fm-hero-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.fm-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(115deg, rgba(8, 42, 58, .94) 0%, rgba(11, 60, 83, .85) 40%, rgba(10, 70, 64, .55) 75%, rgba(10, 70, 64, .35) 100%);
}

.fm-hero-cross {
    position: absolute;
    z-index: 1;
    color: rgba(255, 255, 255, .10);
    font-size: clamp(160px, 22vw, 260px);
    right: -20px;
    bottom: -40px;
    line-height: 1;
    pointer-events: none;
}

.fm-hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(20px, 3.5vw, 40px);
}

.fm-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(224, 169, 65, .16);
    border: 1px solid rgba(224, 169, 65, .45);
    color: var(--gold);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .78rem;
    letter-spacing: .04em;
    padding: 6px 14px;
    border-radius: 100px;
    width: fit-content;
}

.fm-hero-title {
    font-family: var(--font-head);
    font-weight: 800;
    color: #fff;
    font-size: clamp(1.6rem, 3.4vw, 2.5rem);
    line-height: 1.15;
    margin: 18px 0 10px;
    max-width: 560px;
}

.fm-hero-title span {
    color: var(--gold);
}

.fm-hero-sub {
    color: rgba(255, 255, 255, .78);
    font-size: clamp(.92rem, 1.3vw, 1.02rem);
    max-width: 480px;
    margin-bottom: 20px;
}

.fm-ekg {
    width: 100%;
    height: 34px;
    opacity: .85;
}

.fm-ekg path {
    fill: none;
    stroke: var(--gold);
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.fm-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 14px;
}

.fm-hero-meta div {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #fff;
    font-size: .85rem;
    font-weight: 500;
}

.fm-hero-meta i {
    color: var(--gold);
}

/* ===== ADVISOR CARD ===== */
.fm-advisor {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.fm-advisor-head {
    background: linear-gradient(120deg, var(--navy) 0%, var(--teal) 100%);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.fm-advisor-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-weight: 700;
    flex-shrink: 0;
}

.fm-advisor-head h6 {
    color: #fff;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .92rem;
    margin: 0;
}

.fm-advisor-head small {
    color: rgba(255, 255, 255, .75);
    font-size: .74rem;
}

.fm-advisor-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.fm-label {
    font-size: .74rem;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 5px;
    display: block;
}

.fm-advisor-body .form-control,
.fm-advisor-body .form-select {
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: .88rem;
    padding: 9px 12px;
    font-family: var(--font-body);
}

.fm-advisor-body .form-control:focus,
.fm-advisor-body .form-select:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(14, 92, 86, .12);
}

.fm-btn-primary {
    background: var(--red);
    border: none;
    color: #fff;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .9rem;
    padding: 11px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background .2s ease, transform .15s ease;
}

.fm-btn-primary:hover {
    background: var(--navy-dark);
    transform: translateY(-1px);
    color: #fff;
}

.fm-contact-row {
    display: flex;
    gap: 10px;
}

.fm-btn-outline {
    flex: 1;
    border: 1px solid var(--line);
    background: var(--paper);
    color: var(--navy);
    font-weight: 600;
    font-size: .82rem;
    padding: 9px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: border-color .2s ease, color .2s ease;
}

.fm-btn-outline:hover {
    border-color: var(--teal);
    color: var(--teal);
}

.fm-btn-outline.whatsapp:hover {
    border-color: var(--green);
    color: var(--green);
}

/* ===== OVERVIEW CARD ===== */
.fm-overview {
    margin-top: 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: clamp(20px, 3vw, 34px);
}

.fm-overview-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(1.1rem, 1.6vw, 1.35rem);
    color: var(--navy-dark);
    margin-bottom: 6px;
}

.fm-overview-title::before {
    content: "";
    width: 5px;
    height: 22px;
    background: var(--gold);
    border-radius: 4px;
    display: inline-block;
}

.fm-overview-intro {
    color: var(--muted);
    font-size: .96rem;
    line-height: 1.75;
    padding-bottom: 18px;
    border-bottom: 1px dashed var(--line);
    margin-bottom: 20px;
}

.fm-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 24px;
}

@media (max-width: 576px) {
    .fm-info-grid {
        grid-template-columns: 1fr;
    }
}

.fm-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
}

.fm-info-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--teal), var(--navy));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.fm-info-item h6 {
    font-family: var(--font-head);
    font-size: .8rem;
    font-weight: 600;
    color: var(--muted);
    margin: 0 0 2px;
}

.fm-info-item p {
    font-size: .92rem;
    font-weight: 600;
    color: var(--ink);
    margin: 0;
}

.fm-divider-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 26px 0 16px;
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--navy-dark);
    font-size: 1rem;
}

.fm-divider-label i {
    color: var(--gold);
}

.fm-divider-label::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
}

.fm-price-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

@media (max-width: 768px) {
    .fm-price-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.fm-price-card {
    border-radius: 14px;
    padding: 16px;
    text-align: center;
    border: 1px solid var(--line);
    background: var(--paper);
}

.fm-price-card.offer {
    background: linear-gradient(150deg, var(--green), var(--green-dark));
    border-color: transparent;
}

.fm-price-card span.tag {
    display: block;
    font-size: .72rem;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 6px;
}

.fm-price-card.offer span.tag {
    color: rgba(255, 255, 255, .85);
}

.fm-price-card .amount {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--navy-dark);
}

.fm-price-card.offer .amount {
    color: #fff;
}

.fm-price-card .old {
    font-size: .78rem;
    color: var(--muted);
    text-decoration: line-through;
}

.fm-price-card.offer .old {
    color: rgba(255, 255, 255, .7);
}

.fm-note {
    margin-top: 22px;
    background: rgba(224, 169, 65, .1);
    border: 1px dashed var(--gold);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: .86rem;
    color: var(--navy-dark);
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.fm-note i {
    color: var(--gold);
    margin-top: 2px;
}

/* ===================== BRANCH DETAIL SECTION ===================== */
.branch-detail-section {
    padding: 20px 0 10px;
    background: var(--paper);
}

.branch-breadcrumb {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--font-body);
    font-size: .85rem;
    color: var(--muted);
    margin-bottom: 1.8rem;
    flex-wrap: wrap;
}

.branch-breadcrumb a {
    color: var(--teal);
    text-decoration: none;
    font-weight: 600;
    transition: color .2s ease;
}

.branch-breadcrumb a:hover {
    color: var(--navy);
}

.branch-breadcrumb i {
    font-size: .7rem;
    color: var(--muted);
}

.branch-breadcrumb span {
    color: var(--navy);
    font-weight: 700;
}

.branch-hero-img {
    position: relative;
    height: 100%;
    min-height: 420px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.branch-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.branch-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(11, 60, 83, .85);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: .78rem;
    font-weight: 600;
    padding: .55rem 1rem;
    border-radius: 50px;
}

.branch-badge i {
    color: var(--gold);
}

.branch-info-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 2.2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.branch-title {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--navy);
    margin: 0 0 .3rem;
}

.branch-subtitle {
    font-family: var(--font-body);
    font-size: .88rem;
    color: var(--teal);
    font-weight: 600;
    margin-bottom: 1.6rem;
}

.branch-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: .9rem 0;
    border-top: 1px solid var(--line);
}

.branch-info-item:first-of-type {
    border-top: none;
}

.branch-info-item i {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(150deg, var(--teal), var(--teal-dark));
    color: #fff;
    border-radius: 10px;
    font-size: .9rem;
}

.info-label {
    display: block;
    font-family: var(--font-body);
    font-size: .75rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .03em;
    margin-bottom: .2rem;
}

.branch-info-item p {
    font-family: var(--font-body);
    font-size: .88rem;
    color: var(--ink);
    margin: 0;
    line-height: 1.5;
}

.branch-btn-primary {
    margin-top: 1.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    background: var(--red);
    color: #fff;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .9rem;
    padding: .9rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    transition: .25s;
}

.branch-btn-primary:hover {
    background: var(--navy-dark);
    color: #fff;
    transform: translateY(-3px);
}

.branch-divider {
    border: none;
    border-top: 1px solid var(--line);
    margin: 3rem 0;
}

.branch-section-title {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--navy);
    margin-bottom: 1.2rem;
}

.branch-about-text {
    font-family: var(--font-body);
    font-size: .95rem;
    line-height: 1.85;
    color: var(--ink);
}

.branch-map-frame {
    width: 100%;
    height: 100%;
    min-height: 260px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--line);
}

.branch-video-frame {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--line);
    aspect-ratio: 16 / 10;
}

.branch-video-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #000;
}

.branch-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .8rem;
}

.gallery-more::after {
    content: attr(data-more);
    position: absolute;
    inset: 0;
    background: rgba(11, 60, 83, .72);
    color: #fff;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

@media (max-width: 992px) {
    .branch-hero-img {
        min-height: 300px;
    }

    .branch-info-card {
        padding: 1.8rem;
    }
}

@media (max-width: 576px) {
    .branch-detail-section {
        padding: 40px 0 60px;
    }

    .branch-hero-img {
        min-height: 220px;
    }

    .branch-title {
        font-size: 1.5rem;
    }

    .branch-info-card {
        padding: 1.5rem;
    }

    .branch-section-title {
        font-size: 1.2rem;
    }

    .branch-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .branch-btn-primary {
        width: 100%;
    }
}

/* ===================== FOOTER ===================== */
.site-footer {
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: #fff;
    border-top: 3px solid var(--gold);
}

.footer-logo-box {
    display: inline-block;
    padding: 10px;
    border-radius: var(--radius-md);
    background: var(--navy-dark);
    border: 1px solid rgba(224, 169, 65, .25);
    box-shadow: var(--shadow-soft);
}

.footer-logo-box img {
    height: 92px;
    width: auto;
    object-fit: contain;
    display: block;
}

.footer-brand-name {
    color: #fff;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.4;
}

.footer-muted {
    color: #9fb3ba;
    font-family: var(--font-body);
}

.footer-heading {
    color: #fff;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(1.1rem, 1.5vw, 1.4rem);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.footer-heading i {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(224, 169, 65, .15);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    flex-shrink: 0;
}

.footer-contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #9fb3ba;
    text-decoration: none;
    transition: color .25s;
}

.footer-contact-link:hover {
    color: var(--gold);
}

.footer-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .85rem;
    flex-shrink: 0;
}

.icon-teal {
    background: var(--teal);
}

.icon-green {
    background: var(--green);
}

.icon-gold {
    background: var(--gold);
    color: var(--navy-dark);
}

.icon-navy {
    background: var(--navy-dark);
    border: 1px solid var(--teal);
}

.footer-nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #9fb3ba;
    text-decoration: none;
    font-family: var(--font-body);
    transition: color .25s, transform .25s;
}

.footer-nav-link i {
    font-size: .7rem;
    color: var(--gold);
}

.footer-nav-link:hover {
    color: #fff;
    transform: translateX(4px);
}

.footer-map-box {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(224, 169, 65, .2);
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, .25);
    text-decoration: none;
    font-size: 1rem;
    transition: all .3s;
}

.social-icon:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy-dark);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.footer-copyright {
    color: #7d92a0;
    font-size: .875rem;
    font-family: var(--font-body);
}

.footer-copyright a {
    color: #fff;
    text-decoration: none;
}

.footer-copyright a:hover {
    color: var(--gold);
}

@media (max-width: 991px) {
    .footer-logo-box img {
        height: 78px;
    }
}

@media (max-width: 767px) {
    .site-footer .row {
        text-align: center;
    }

    .footer-contact-link,
    .footer-nav-link {
        justify-content: center;
    }

    .footer-heading {
        justify-content: center;
    }

    .d-flex.align-items-center.gap-3.pt-2 {
        justify-content: center;
    }

    .footer-map-box iframe {
        height: 150px;
    }
}


/* =====================================================================
   HOMEPAGE-SPECIFIC ADDITIONS
   (moved out of resources/views/frontend/index.blade.php inline <style>)

   Everything below is scoped under .gallery-section / .toast-inquiry /
   .gallery-lightbox-overlay / .fm-col-img-mob so it only affects the
   homepage and never touches the generic .gallery-item / .inquiry-media
   rules above (which branch pages and other views still rely on).
   ===================================================================== */

/* ---- Inquiry success toast ---- */
.toast-inquiry {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    padding: 14px 18px;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
    font-size: 0.92rem;
    font-weight: 500;
    max-width: 360px;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity .3s ease, transform .3s ease;
}

.toast-inquiry.show {
    opacity: 1;
    transform: translateX(0);
}

.toast-inquiry i.bi-check-circle-fill {
    color: #059669;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.toast-inquiry .toast-close {
    margin-left: auto;
    background: none;
    border: none;
    color: #065f46;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    padding: 2px 6px;
}

@media (max-width: 480px) {
    .toast-inquiry {
        left: 16px;
        right: 16px;
        max-width: none;
    }
}

/* ---- About Us image: hide on mobile only ---- */
@media (max-width: 767px) {
    .fm-about-section .fm-col-img-mob {
        display: none !important;
    }
}

/* ---- Homepage Gallery Grid — Professional Responsive Layout ----
   Scoped with ".gallery-section" so this overrides the generic
   .gallery-grid / .gallery-item rules above ONLY on the homepage,
   never on branch pages (which use .branch-gallery-grid instead). */
.gallery-section .gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
    gap: 16px;
    max-width: 720px;
    margin: 0 auto;
}

.gallery-section .gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(10, 22, 40, 0.10);
    aspect-ratio: 1 / 1;
    background: #eef0f5;
}

.gallery-section .gallery-item.gallery-feature {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
}

.gallery-section .gallery-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
    filter: none;
}

.gallery-section .gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-section .gallery-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.88) 0%, rgba(10, 22, 40, 0.35) 55%, transparent 100%);
    padding: 18px 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    opacity: 1;
    transform: none;
}

.gallery-section .gallery-cat {
    color: #f0a832;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.gallery-section .gallery-title {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
}

.gallery-section .gallery-expand {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.82rem;
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.gallery-section .gallery-item:hover .gallery-expand {
    opacity: 1;
    transform: scale(1);
}

/* Desktop: big feature on left (2 rows tall) + 3x2 grid on right */
@media (min-width: 992px) {
    .gallery-section .gallery-grid {
        max-width: 100%;
        grid-template-columns: 1.6fr repeat(3, 1fr);
        grid-auto-rows: 1fr;
        gap: 10px;
    }

    .gallery-section .gallery-item.gallery-feature {
        grid-column: 1;
        grid-row: 1 / span 2;
        aspect-ratio: auto;
        height: 100%;
    }

    .gallery-section .gallery-item:not(.gallery-feature) {
        aspect-ratio: 1 / 1;
    }
}

/* Mobile: feature image centered with side gutter, rest 2-column */
@media (max-width: 767px) {
    .gallery-section .gallery-grid {
        max-width: 92%;
        margin: 0 auto;
        gap: 12px;
    }

    .gallery-section .gallery-item.gallery-feature {
        aspect-ratio: 16 / 10;
        margin: 0 auto;
    }

    .gallery-section .gallery-item img {
        object-position: center;
    }
}

@media (max-width: 400px) {
    .gallery-section .gallery-item.gallery-feature {
        aspect-ratio: 4 / 3;
    }
}

/* ---- Homepage Gallery Lightbox (unique class names, safe globally) ---- */
.gallery-lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 30, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

.gallery-lightbox-overlay .lightbox-box {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: lightboxZoom 0.25s ease;
}

@keyframes lightboxZoom {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.gallery-lightbox-overlay .lightbox-box img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.gallery-lightbox-overlay .lightbox-caption {
    text-align: center;
    color: #fff;
    margin-top: 16px;
}

.gallery-lightbox-overlay .lightbox-cat {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #9fb3ff;
    margin-bottom: 4px;
}

.gallery-lightbox-overlay .lightbox-title {
    display: block;
    font-size: 18px;
    font-weight: 700;
}

.gallery-lightbox-overlay .lightbox-counter {
    margin-top: 8px;
    color: rgba(255,255,255,0.6);
    font-size: 13px;
}

.lightbox-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.lightbox-close-btn:hover {
    background: rgba(255,255,255,0.2);
}

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.lightbox-nav-btn:hover {
    background: rgba(255,255,255,0.2);
}

.lightbox-prev-btn { left: 20px; }
.lightbox-next-btn { right: 20px; }

@media (max-width: 576px) {
    .lightbox-nav-btn { width: 40px; height: 40px; font-size: 16px; }
    .lightbox-prev-btn { left: 8px; }
    .lightbox-next-btn { right: 8px; }
    .lightbox-close-btn { top: 10px; right: 10px; }
}








/* ---- Homepage Notice Section (bigger, eye-catching cards + click-to-popup) ---- */
.home-notice-section {
    padding: 90px 0;
    background: var(--paper);
}

.home-notice-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.home-notice-card {
    display: block;
    cursor: pointer;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(11, 60, 83, .10);
    transition: transform .3s ease, box-shadow .3s ease;
}

.home-notice-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 40px -18px rgba(11, 60, 83, .32);
}

.home-notice-img {
    position: relative;
    height: 360px;
    overflow: hidden;
    background: #eef0f5;
}

@media (max-width: 991px) {
    .home-notice-img { height: 300px; }
}

@media (max-width: 480px) {
    .home-notice-img { height: 320px; }
}

.home-notice-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
    display: block;
}

.home-notice-card:hover .home-notice-img img {
    transform: scale(1.08);
}

.home-notice-noimg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #b7bdd0;
}

.home-notice-date-ribbon {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--red);
    color: #fff;
    border-radius: 10px;
    padding: 9px 14px;
    text-align: center;
    line-height: 1.1;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .28);
    z-index: 2;
}

.home-notice-date-ribbon .hnd-day {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
}

.home-notice-date-ribbon .hnd-month {
    display: block;
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    opacity: .9;
}

/* Eye-catching hover overlay, matches the full Notice Board page's card interaction */
.home-notice-view-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 22, 40, .6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .3px;
    opacity: 0;
    transition: opacity .3s ease;
}

.home-notice-view-overlay i {
    font-size: 1.8rem;
    color: var(--gold);
}

.home-notice-card:hover .home-notice-view-overlay {
    opacity: 1;
}

.home-notice-body {
    padding: 22px 24px 26px;
}

.home-notice-body h5 {
    font-family: var(--font-head);
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
    line-height: 1.15;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 991px) {
    .home-notice-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }
}

@media (max-width: 480px) {
    .home-notice-grid {
        grid-template-columns: 1fr;
    }

    .home-notice-section {
        padding: 56px 0;
    }

    .home-notice-body {
        padding: 18px 20px 20px;
    }
}

/* ---- Homepage Notice Lightbox Popup (click a card → see that notice) ---- */
.home-notice-lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(6, 11, 24, 0.96);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.home-notice-lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

.home-notice-lightbox-box {
    max-width: 640px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: homeNlZoom 0.25s ease;
}

@keyframes homeNlZoom {
    from { transform: scale(0.92); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.home-notice-lightbox-img-wrap {
    width: 100%;
    max-height: 65vh;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,0.5);
    background: #10182b;
}

.home-notice-lightbox-img-wrap img {
    width: 100%;
    height: 100%;
    max-height: 65vh;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.home-notice-lightbox-info {
    text-align: center;
    color: #fff;
    margin-top: 20px;
}

.hnl-date-badge {
    display: inline-block;
    background: var(--red);
    color: #fff;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.home-notice-lightbox-info h4 {
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
}

.home-notice-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.home-notice-lightbox-close:hover {
    background: rgba(255,255,255,0.2);
}

@media (max-width: 576px) {
    .home-notice-lightbox-close { top: 10px; right: 10px; width: 40px; height: 40px; }
}