/* =====================================================
   RUSTIC Official Theme — 1:1 Shushilan Clone Stylesheet
   Color tokens: Deep forest green + Warm brass accent + Navy primary
===================================================== */

@import url('https://fonts.maateen.me/adorsho-lipi/font.css');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --nav-link-color: #1f5c3f;
    --nav-link-hover-color: #12402a;
    --nav-link-hover-bg: rgba(31, 92, 63, .08);
    --nav-active-color: #12402a;
    --nav-accent: #c8933f;
    --dropdown-hover-bg: rgba(31, 92, 63, .06);
    --brand-primary: rgb(30, 79, 124);
    --brand-dark-blue: #15395b;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
    font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #2b2b2b;
    background-color: #fcfcfc;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

a:hover {
    color: inherit;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

.bangla_font {
    font-family: 'AdorshoLipi', Arial, sans-serif;
}

.display-7 {
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.25;
}

.display-8 {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
}

.text-justify {
    text-align: justify;
}

/* =====================================================
   Top Address & Contact Header
===================================================== */
.address {
    font-size: 13.5px;
    line-height: 1.4;
}

.phone {
    text-decoration: none;
}

/* =====================================================
   Sticky Navigation Bar & Hover Dropdowns
===================================================== */
.navbar.stickly {
    position: relative;
    z-index: 1020;
    transition: all 0.3s ease;
}

.navbar.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background-color: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 22px rgba(0,0,0,0.09) !important;
    animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.navbar .navbar-nav {
    gap: 2px;
}

@media (min-width: 768px) {
    .navbar .navbar-nav.ms-auto {
        margin-right: -14px;
    }
}

.navbar-brand img {
    max-height: 52px;
    width: auto;
    transition: transform .2s ease;
}

.navbar-brand:hover img {
    transform: scale(1.03);
}

.navbar .nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #1a1a1a !important;
    font-weight: 500;
    font-size: .90rem;
    padding: .6rem .8rem !important;
    border-radius: 6px;
    transition: color .2s ease, background-color .2s ease;
}

.navbar .nav-link i {
    font-size: .95rem;
    line-height: 1;
    color: var(--nav-link-color);
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: var(--nav-link-hover-color) !important;
    background-color: var(--nav-link-hover-bg);
}

.navbar .nav-link.active {
    color: var(--nav-active-color) !important;
    font-weight: 700;
    font-size: .90rem;
    background-color: var(--nav-link-hover-bg);
}

/* Animated accent underline */
.navbar .nav-link.active::before,
.navbar .nav-link:hover::before {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 4px;
    height: 2px;
    border-radius: 2px;
    background-color: var(--nav-accent);
}

/* Dropdown items */
.navbar .dropdown-item {
    color: #1e4f7c;
    font-size: .88rem;
    padding: 8px 14px;
    border-radius: 6px;
    font-weight: 500;
    transition: background-color .15s ease, padding-left .15s ease, color .15s ease;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
    background-color: var(--dropdown-hover-bg);
    color: var(--nav-active-color);
    padding-left: 20px;
}

.navbar .dropdown-item.active {
    background-color: var(--nav-link-hover-bg);
    color: var(--nav-active-color);
    font-weight: 600;
}

@media (min-width: 768px) {
    .navbar .dropdown-menu {
        border: none;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
        padding: 8px;
        margin-top: 10px;
        min-width: 240px;
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(8px);
        transition: opacity .18s ease, transform .18s ease, visibility .18s;
    }

    .navbar .dropdown:hover > .dropdown-menu,
    .navbar .dropdown-menu.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

@media (max-width: 767.98px) {
    .navbar .dropdown-menu {
        border-left: 2px solid var(--nav-link-hover-bg);
        margin-left: 8px;
    }
}

/* =====================================================
   Ticker & Typewriter Bar
===================================================== */
.bg-time {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 52px;
}

.bg-date-time {
    background-color: #f1f5f9;
}

#text {
    display: inline-block;
    white-space: nowrap;
    border-right: 2.5px solid #166534;
    overflow: hidden;
    text-shadow: none !important;
    color: #12402a !important;
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    animation: typewriterBlink 0.8s step-end infinite;
}

@keyframes typewriterBlink {
    0%, 100% { border-right-color: #166534; }
    50% { border-right-color: transparent; }
}

/* =====================================================
   Corner Headers (Shushilan brand headers)
===================================================== */
.corner {
    border-radius: 4px;
    letter-spacing: 0.3px;
    font-size: 1.15rem;
    font-weight: 600;
}

/* Color overrides identical to Shushilan */
.bg-primary,
.bg-success,
.bg-danger,
.bg-dark {
    background-color: rgb(30, 79, 124) !important;
}

.bg-info {
    background-color: rgb(30, 79, 124) !important;
    line-height: 1.2;
    font-size: 1.25rem;
    color: white;
}

/* =====================================================
   Human Resource Stats
===================================================== */
.hr-stat-block {
    transition: transform 0.2s ease;
}

.hr-stat-block:hover {
    transform: translateY(-2px);
}

.hr-stat-icon {
    object-fit: contain;
}

.hr-stat-num {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e4f7c;
    margin-bottom: 0;
}

.hr-stat-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #4b4b4b;
    margin-top: 0;
}

/* =====================================================
   Contact Cards (Admin, HR, Complaint)
===================================================== */
.contact-card {
    border-radius: 12px;
    padding: 1.2rem 0.9rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.contact-card p {
    font-size: 0.85rem;
    color: #333;
    line-height: 1.35;
    margin-bottom: 3px;
    word-break: break-word;
}

.contact-icon {
    font-size: 38px;
    margin-bottom: 6px;
    display: inline-block;
}

.contact-admin { background-color: #EAF2FB; }
.contact-admin .contact-icon, .contact-admin h5 { color: #2471A3; }

.contact-hr { background-color: #EAF7EE; }
.contact-hr .contact-icon, .contact-hr h5 { color: #1E8449; }

.contact-complain { background-color: #FDEDEC; }
.contact-complain .contact-icon, .contact-complain h5 { color: #C0392B; }

/* =====================================================
   Quick Access & Programs
===================================================== */
.qa-img {
    width: 100%;
    max-width: 90px;
    height: 80px;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.qa-item:hover .qa-img {
    transform: scale(1.08);
}

.qa-item h5 {
    font-size: 0.88rem;
    font-weight: 600;
    color: #222;
    margin-top: 6px;
    line-height: 1.2;
}

.qa-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.program-img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
    transition: transform 0.25s ease;
}

.current_project:hover .program-img {
    transform: scale(1.04);
}

.current_project h5 {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.25;
    margin-top: 6px;
    color: #222;
}

.current_project a {
    text-decoration: none;
    color: inherit;
}

/* =====================================================
   Our Cell 12-Box Grid (Exact Shushilan HSL Colors)
===================================================== */
.cell-box {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    background-color: hsl(80, 55%, 92%);
    border-radius: 8px;
    min-height: 145px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 0.8rem;
}

.cell-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.16);
}

.cell-box a, .cell-box h2 {
    text-decoration: none;
}

.cell-box h2 {
    color: hsl(80, 55%, 26%);
    font-size: 1.02rem;
    font-weight: 600;
    margin-top: 8px;
    margin-bottom: 0;
}

.cell-box i.fa-big {
    font-size: 52px;
    color: hsl(80, 55%, 28%);
}

/* Individual Cell Variations */
.cell-1 i, .cell-1 h2 { color: hsl(80, 55%, 28%); }
.cell-2 i, .cell-2 h2 { color: hsl(150, 55%, 28%); }
.cell-3 i, .cell-3 h2 { color: hsl(200, 55%, 28%); }
.cell-4 i, .cell-4 h2 { color: hsl(220, 55%, 28%); }
.cell-5 i, .cell-5 h2 { color: hsl(260, 55%, 28%); }
.cell-6 i, .cell-6 h2 { color: hsl(120, 55%, 28%); }
.cell-7 i, .cell-7 h2 { color: hsl(180, 55%, 28%); }
.cell-8 i, .cell-8 h2 { color: hsl(30, 65%, 28%); }
.cell-9 i, .cell-9 h2 { color: hsl(210, 55%, 28%); }
.cell-10 i, .cell-10 h2 { color: hsl(350, 55%, 28%); }
.cell-11 i, .cell-11 h2 { color: hsl(160, 55%, 28%); }
.cell-12 i, .cell-12 h2 { color: hsl(45, 65%, 28%); }

/* =====================================================
   Footer
===================================================== */
.bg-footer {
    background-color: #15395b;
    color: #e9ecef;
    padding-top: 2.5rem;
    padding-bottom: 1.5rem;
    border-top: 4px solid var(--nav-accent);
}

.bg-footer h5 {
    color: #ffffff;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 8px;
    margin-bottom: 14px;
}

.bg-footer address p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.bg-footer .social ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 14px;
}

.bg-footer .social ul li a img {
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.bg-footer .social ul li a:hover img {
    transform: scale(1.1);
}

.copyright {
    background-color: #0f2740 !important;
    font-size: 0.88rem;
    padding: 10px 0;
}

/* =====================================================
   Mobile Media Query Optimizations
===================================================== */
@media (max-width: 575.98px) {
    .hr-stat-block > .row {
        margin-left: 0;
        margin-right: 0;
        flex-direction: column;
        align-items: center;
        text-align: center;
        row-gap: 1px;
    }
    .hr-stat-block > .row > div {
        width: 100%;
        max-width: 100%;
        flex: 0 0 auto;
        padding-left: 0;
        padding-right: 0;
    }
    .hr-stat-icon {
        width: 40px !important;
        height: 40px !important;
        object-fit: contain;
        margin-top: 2px;
    }
    .hr-stat-num {
        font-size: 1.05rem !important;
        font-weight: 700 !important;
        line-height: 1.1 !important;
        margin: 4px 0 0 0 !important;
        color: #1e4f7c;
    }
    .hr-stat-label {
        font-size: 0.7rem !important;
        font-weight: 500 !important;
        line-height: 1.1 !important;
        margin: 0 !important;
        color: #5b5b5b;
    }

    .complain_area {
        padding-left: 0.4rem !important;
        padding-right: 0.4rem !important;
    }
    .complain_area .row {
        --bs-gutter-x: 0.4rem;
        --bs-gutter-y: 0.4rem;
    }
    .contact-card {
        padding: 0.6rem 0.35rem !important;
        border-radius: 10px;
    }
    .contact-icon {
        font-size: 24px !important;
        margin-bottom: 2px !important;
    }
    .contact-card h5 {
        font-size: 0.75rem !important;
        margin-bottom: 4px !important;
    }
    .contact-card p {
        font-size: 0.62rem !important;
        line-height: 1.25 !important;
        margin-bottom: 2px !important;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .quickAccess .qa-img {
        height: 55px;
        max-width: 55px;
    }
    .qa-item {
        padding: 0.35rem !important;
    }
    .qa-item h5 {
        font-size: 0.7rem;
        line-height: 1.15;
        margin-top: 4px;
    }

    .program-img {
        height: 65px;
    }
    .current_project {
        padding: 0.35rem !important;
    }
    .current_project h5 {
        font-size: 0.65rem;
        line-height: 1.15;
    }

    .cell-box {
        padding: 0.8rem 0.5rem !important;
        min-height: 110px;
    }
    .cell-box .fa-big {
        font-size: 36px !important;
    }
    .cell-box h2.display-7 {
        font-size: 0.82rem !important;
        line-height: 1.15;
    }
}

/* =====================================================
   Universal Polished UI Enhancements
===================================================== */
.card {
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease;
}

.card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
}

.corner {
    border-radius: 6px;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

/* Back to Top Floating Button */
#backToTop {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1040;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #1f5c3f;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 14px rgba(31, 92, 63, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
    border: none;
    outline: none;
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#backToTop:hover {
    background: #12402a;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(18, 64, 42, 0.5);
    color: #fff;
}

/* =====================================================
   About Page Key Points Sticky Navigation Bar & Cards
===================================================== */
.about-nav-strip {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 74px;
    z-index: 1015;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.about-key-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px;
}

.about-key-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    font-size: 0.90rem;
    font-weight: 600;
    color: #1f5c3f;
    border-radius: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
    background: transparent;
}

.about-key-tab i {
    font-size: 1.15rem;
    color: #c8933f;
    transition: transform 0.2s ease;
}

.about-key-tab:hover, .about-key-tab.active {
    background: #1f5c3f;
    color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(31, 92, 63, 0.25);
}

.about-key-tab:hover i, .about-key-tab.active i {
    color: #ffda79;
    transform: scale(1.15);
}

.about-section-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    padding: 2rem 1.8rem;
    margin-bottom: 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-section-card:hover {
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.08);
}

.section-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #eaf7ee;
    color: #1f5c3f;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

/* =====================================================
   Shushilan Overlapping Split Feature Cards (User Spec)
   Matches Exact Reference: Serene coastal blue (#64b3d4),
   full-size uncropped photo on left, overlapping elevated
   pure white card with bold uppercase title on right.
===================================================== */
.overlap-feature-card {
    background-color: #64b3d4; /* Exact Serene coastal blue from user screenshot */
    border-radius: 4px;
    padding: 32px 28px 42px 28px;
    margin: 0 auto 55px auto;
    max-width: 1100px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.overlap-feature-card:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.overlap-card-flex {
    display: flex;
    align-items: center;
    position: relative;
}

.overlap-img-box {
    flex: 0 0 56%;
    max-width: 56%;
    position: relative;
    z-index: 1;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlap-img-box img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: contain; /* Full size image - never cut off or crop faces/bodies */
    display: block;
    margin: 0 auto;
    transition: transform 0.4s ease;
}

.overlap-feature-card:hover .overlap-img-box img {
    transform: scale(1.02);
}

.overlap-img-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px 14px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    color: #ffffff;
    font-size: 0.75rem;
    z-index: 2;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.overlap-content-box {
    flex: 0 0 50%;
    max-width: 50%;
    margin-left: -6%; /* Overlaps onto image as in reference screenshot */
    background: #ffffff;
    padding: 48px 44px 54px 44px;
    border-radius: 4px;
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.14);
    position: relative;
    z-index: 2;
}

.overlap-title {
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #0b132a;
    margin-bottom: 24px;
    line-height: 1.2;
    font-family: 'Poppins', 'Inter', -apple-system, sans-serif;
}

.overlap-text {
    font-size: 1.02rem;
    line-height: 1.78;
    color: #4b5563;
    margin-bottom: 0;
    text-align: left;
    font-family: 'Inter', -apple-system, sans-serif;
}

.overlap-badge {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 14px;
    background: #eef5f9;
    color: #1e4f7c;
}

/* Tablet & Mobile Responsive */
@media (max-width: 991.98px) {
    .overlap-feature-card {
        padding: 20px 16px 30px 16px;
        margin-bottom: 35px;
    }
    .overlap-card-flex {
        flex-direction: column !important;
    }
    .overlap-img-box {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }
    .overlap-img-box img {
        max-height: 360px;
    }
    .overlap-content-box {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
        margin-left: 0;
        margin-top: -25px;
        padding: 28px 20px;
    }
    .overlap-title {
        font-size: 1.5rem;
        margin-bottom: 16px;
    }
}

/* Background Card Dual Image Container */
.bg-dual-img-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
}

.bg-dual-img-container .bg-img-item {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bg-dual-img-container .bg-img-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.bg-dual-img-container .map-item {
    text-align: center;
    padding: 10px;
    background: #ffffff;
}

.bg-dual-img-container .map-item img {
    max-height: 250px;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    object-fit: contain;
    display: block;
}

.bg-dual-img-container .pond-item img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
}

.bg-dual-img-container .bg-img-badge {
    display: block;
    padding: 6px 10px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-align: center;
    background: #f8fafc;
    color: #1e4f7c;
    border-top: 1px solid #e2e8f0;
}

@media (max-width: 991.98px) {
    .bg-dual-img-container {
        flex-direction: row !important;
        gap: 12px !important;
        margin-bottom: 30px !important;
    }
    .bg-dual-img-container .bg-img-item {
        flex: 1 1 50%;
    }
    .bg-dual-img-container .map-item img,
    .bg-dual-img-container .pond-item img {
        height: 200px !important;
        max-height: 200px !important;
        object-fit: contain !important;
    }
}


/* =====================================================
   Universal Page Banner, Section Padding & Components
===================================================== */
:root {
    --primary: #1f5c3f;
    --primary-dark: #14442e;
    --primary-light: #eaf7ee;
    --accent: #c8933f;
    --accent-hover: #b07e32;
    --text-dark: #0f172a;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --bg-surface: #f8fafc;
    --bg-main: #ffffff;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 14px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
}

.page-banner {
    background: linear-gradient(135deg, #14442e 0%, #1f5c3f 100%);
    color: #ffffff;
    padding: 60px 0 50px;
    text-align: center;
    position: relative;
    border-bottom: 3px solid #c8933f;
}

.section-tag {
    display: inline-block;
    background: rgba(200, 147, 63, 0.2);
    color: #facc15;
    border: 1px solid rgba(200, 147, 63, 0.4);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.page-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
    line-height: 1.25;
}

@media (max-width: 768px) {
    .page-title {
        font-size: 1.8rem;
    }
}

.page-subtitle {
    font-size: 1.05rem;
    color: #cbd5e1;
    max-width: 820px;
    margin: 0 auto;
    line-height: 1.6;
}

.section-padding {
    padding: 60px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 35px 0;
    }
}

/* ------------------------------------------------------------------------------
   37-YEAR MILESTONE TIMELINE & MODERN CTA BANNER
   ------------------------------------------------------------------------------ */
.badge-category {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.badge-env {
    background: #dcfce7;
    color: #166534;
}

.section-title-modern {
    font-size: 1.85rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 18px;
    letter-spacing: -0.3px;
    position: relative;
    padding-bottom: 12px;
}

.section-title-modern::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 44px;
    height: 3px;
    background-color: #15803d;
    border-radius: 2px;
}

.text-center .section-title-modern::after {
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
}

.about-text-content p {
    color: #334155;
    font-size: 0.98rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.btn-blue-action {
    background-color: #0b4f8a;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 26px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(11, 79, 138, 0.25);
    transition: all 0.2s ease;
}

.btn-blue-action:hover {
    background-color: #083b68;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(11, 79, 138, 0.35);
    color: #ffffff !important;
}

.timeline-modern {
    position: relative;
    max-width: 860px;
    margin: 40px auto 0;
    padding: 20px 0;
}

.timeline-modern::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 24px;
    width: 3px;
    background: #e2e8f0;
}

@media (min-width: 768px) {
    .timeline-modern::before {
        left: 50%;
        transform: translateX(-50%);
    }
}

.timeline-item {
    position: relative;
    margin-bottom: 36px;
}

.timeline-item::after {
    content: '';
    display: table;
    clear: both;
}

.timeline-marker {
    position: absolute;
    left: 14px;
    top: 6px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #1a56db;
    border: 4px solid #ffffff;
    box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.2);
    z-index: 2;
}

@media (min-width: 768px) {
    .timeline-marker {
        left: 50%;
        transform: translateX(-50%);
    }
}

.timeline-content {
    margin-left: 54px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 22px 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.timeline-content:hover {
    border-color: #93c5fd;
    box-shadow: 0 8px 24px rgba(7, 33, 55, 0.08);
}

@media (min-width: 768px) {
    .timeline-item:nth-child(odd) .timeline-content {
        margin-left: 0;
        margin-right: 54%;
        text-align: right;
    }
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 54%;
        margin-right: 0;
    }
}

.timeline-year {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 9999px;
    background: #ebf5ff;
    color: #1a56db;
    font-weight: 800;
    font-size: 0.82rem;
    margin-bottom: 8px;
}

.timeline-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px 0;
}

.timeline-desc {
    font-size: 0.90rem;
    color: #475569;
    margin: 0;
    line-height: 1.6;
}

/* Call to Action Banner */
.cta-banner-modern {
    position: relative;
    padding: 65px 0;
    background-size: cover;
    background-position: center;
    color: #ffffff;
    overflow: hidden;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 33, 55, 0.88) 0%, rgba(13, 56, 36, 0.82) 100%);
}

.cta-container {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.cta-title {
    font-size: 1.95rem;
    font-weight: 800;
    margin: 0 0 6px 0;
    color: #ffffff;
}

.cta-subtitle {
    font-size: 1.05rem;
    color: #cbd5e1;
    margin: 0;
}

.btn-green-cta {
    background-color: #22c55e;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 13px 28px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-green-cta:hover {
    background-color: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.45);
}

/* ==========================================================================
   RUSTIC MASTER DESIGN SYSTEM & UNIFIED MOTION FRAMEWORK (WORLD-CLASS)
   Consistently applied across all 38+ pages of the web portal.
   ========================================================================== */

:root {
    --brand-forest-dark: #092617;
    --brand-forest: #12402a;
    --brand-forest-mid: #1f5c3f;
    --brand-emerald: #15803d;
    --brand-emerald-light: #22c55e;
    --brand-emerald-subtle: #ecfdf5;

    --brand-navy-dark: #071e33;
    --brand-navy: #0f2e48;
    --brand-navy-accent: #1e4f7c;
    --brand-blue: #2563eb;
    --brand-sky: #e0f2fe;

    --brand-gold: #c8933f;
    --brand-amber: #d97706;
    --brand-amber-light: #fef3c7;

    --bg-page: #f8fafc;
    --surface-card: #ffffff;
    --surface-muted: #f1f5f9;
    --surface-border: #e2e8f0;
    --surface-border-subtle: #cbd5e1;

    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --text-subtle: #94a3b8;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-pill: 9999px;

    --shadow-soft: 0 4px 20px rgba(15, 23, 42, 0.06);
    --shadow-hover: 0 16px 36px -6px rgba(15, 23, 42, 0.12), 0 6px 12px -3px rgba(15, 23, 42, 0.04);
    --shadow-brand: 0 10px 28px -4px rgba(18, 64, 42, 0.25);

    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.18s ease;
}

/* 1. Global Baseline Typography & Antialiasing */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--bg-page);
}

h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.02em;
}

/* Modern Ticker Banner */
.rustic-modern-ticker {
    background: linear-gradient(90deg, #072517 0%, #0d3822 50%, #0c2b48 100%);
    color: #e2e8f0;
    font-size: 0.88rem;
    padding: 9px 0;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rustic-ticker-track {
    display: flex;
    white-space: nowrap;
    animation: ticker-slide 42s linear infinite;
}

.rustic-ticker-track:hover {
    animation-play-state: paused;
}

.rustic-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding-right: 48px;
    font-weight: 500;
}

.ticker-chip {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #4ade80;
    padding: 2px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.4px;
}

@keyframes ticker-slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Slogan & Time Bar - Clean Sleek Look */
.slogan-time-strip {
    background: #ffffff;
    border-bottom: 1px solid var(--surface-border);
    padding: 10px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.slogan-heading {
    font-size: 1.08rem;
    font-weight: 700;
    margin: 0;
    min-height: 28px;
    display: flex;
    align-items: center;
    color: #12402a;
}

@media (max-width: 768px) {
    #text {
        font-size: 0.95rem;
        white-space: normal;
        border-right: none;
    }
    .slogan-heading {
        min-height: 44px;
        justify-content: center;
        text-align: center;
    }
}

.time-display-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 700;
    color: #1e293b;
    border: 1px solid #e2e8f0;
}

/* 2. Reading Progress Bar */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3.5px;
    background: linear-gradient(90deg, #22c55e, #38bdf8, #f59e0b);
    width: 0%;
    z-index: 99999;
    transition: width 0.1s linear;
    pointer-events: none;
}

/* 3. Universal Scroll-Reveal & Stagger Engine */
.rustic-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.rustic-reveal.is-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.stagger-1 { transition-delay: 60ms; }
.stagger-2 { transition-delay: 130ms; }
.stagger-3 { transition-delay: 200ms; }
.stagger-4 { transition-delay: 270ms; }

.reveal-fade {
    opacity: 0;
    transition: opacity 0.6s ease;
}
.reveal-fade.is-visible {
    opacity: 1 !important;
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale.is-visible {
    opacity: 1 !important;
    transform: scale(1) !important;
}

/* 4. Universal Card Polish across All Pages */
.card,
.program-card,
.project-card-item,
.highlight-feature-card,
.contact-card,
.cell-box,
.about-section-card {
    border-radius: var(--radius-md) !important;
    border: 1px solid var(--surface-border) !important;
    background-color: var(--surface-card);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease !important;
}

.card:hover,
.program-card:hover,
.project-card-item:hover,
.highlight-feature-card:hover,
.contact-card:hover,
.about-section-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover) !important;
    border-color: rgba(31, 92, 63, 0.25) !important;
}

/* 5. Image Subtle Zoom on Card Hover */
.program-img-wrapper,
.card-img-wrapper,
.highlight-feature-card .position-relative,
.project-card-item .program-img-wrapper {
    overflow: hidden;
    border-radius: var(--radius-sm);
}

.program-img-wrapper img,
.highlight-feature-card img,
.project-card-item img,
.card img.card-img-top {
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.program-card:hover .program-img-wrapper img,
.highlight-feature-card:hover img,
.project-card-item:hover img,
.card:hover img.card-img-top {
    transform: scale(1.035);
}

/* 6. Button Micro-interactions */
.btn {
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-success,
.btn-primary,
.btn-blue-action,
.btn-green-cta {
    box-shadow: 0 4px 14px rgba(18, 64, 42, 0.2);
}

.btn-success:hover,
.btn-primary:hover,
.btn-blue-action:hover,
.btn-green-cta:hover {
    box-shadow: 0 8px 22px rgba(18, 64, 42, 0.3);
}

/* 7. Back to Top Modern Floating Button */
#backToTop,
#back-to-top {
    position: fixed;
    bottom: 26px;
    right: 26px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #12402a 0%, #15803d 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(18, 64, 42, 0.35);
    cursor: pointer;
    z-index: 1045;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, background-color 0.2s;
    border: 2px solid rgba(255, 255, 255, 0.2);
    outline: none;
}

#backToTop.show,
#back-to-top.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

#backToTop:hover,
#back-to-top:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 10px 26px rgba(21, 128, 61, 0.45);
    background: linear-gradient(135deg, #15803d 0%, #16a34a 100%);
    color: #ffffff;
}

/* 8. Reduced Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        transform: none !important;
    }
    .rustic-reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}
