:root {
    --brand-green: #0f6a3e;
    --brand-green-dark: #09482b;
    --brand-green-soft: #eaf6ef;
    --brand-gold: #f3b308;
    --brand-gold-dark: #d89a00;
    --text-main: #162032;
    --text-muted: #64748b;
    --body-bg: #f5f7fb;
    --white: #ffffff;
    --border-color: rgba(15, 106, 62, .10);
    --shadow-sm: 0 8px 24px rgba(15, 23, 42, .06);
    --shadow-md: 0 16px 40px rgba(15, 23, 42, .08);
    --radius-lg: 1.25rem;
    --radius-md: .9rem;
}

html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background: var(--body-bg);
}

a { text-decoration: none; }
img { max-width: 100%; display: block; }

.section-space { padding: 30px 0; }
.section-space-sm { padding: 70px 0; }
.section-light { background: #fff; }
.section-soft { background: #f7faf8; }

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border: 1px solid rgba(15,106,62,.15);
    border-radius: 999px;
    padding: .42rem .9rem;
    font-size: .78rem;
    font-weight: 700;
    color: var(--brand-green);
    background: #fff;
    margin-bottom: 1rem;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, .7rem);
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: .5rem;
    color: #0f172a;
}

.section-subtitle {
    color: var(--text-muted);
    max-width: 720px;
    margin: 0;
}

.btn-brand,
.btn-brand-outline,
.btn-gold {
    border-radius: 999px;
    font-weight: 700;
    padding: .8rem 1.25rem;
}

.btn-brand {
    background: var(--brand-green);
    color: #fff;
    border: 1px solid var(--brand-green);
}
.btn-brand:hover { background: var(--brand-green-dark); color: #fff; }

.btn-brand-outline {
    background: #fff;
    border: 1px solid rgba(15,106,62,.24);
    color: var(--brand-green);
}
.btn-brand-outline:hover { background: var(--brand-green-soft); color: var(--brand-green-dark); }

.btn-gold {
    background: var(--brand-gold);
    border: 1px solid var(--brand-gold);
    color: #1f2937;
}
.btn-gold:hover { background: var(--brand-gold-dark); border-color: var(--brand-gold-dark); color: #1f2937; }

.topbar {
    background: linear-gradient(90deg, #08361f 0%, #0f6a3e 60%, #0b5a35 100%);
    color: rgba(255,255,255,.9);
    font-size: .9rem;
}

.topbar-inner {
    min-height: 44px;
}

.topbar-link,
.social-link,
.language-link {
    color: rgba(255,255,255,.86);
    transition: all .2s ease;
}

.topbar-link:hover,
.social-link:hover,
.language-link:hover,
.language-link.active {
    color: #fff;
}

.topbar-sep {
    width: 1px;
    height: 14px;
    background: rgba(255,255,255,.2);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255,255,255,.96);
    backdrop-filter: saturate(180%) blur(14px);
    transition: box-shadow .2s ease, background .2s ease;
}

.site-header.is-sticky {
    box-shadow: 0 10px 30px rgba(2, 22, 15, .08);
}

.header-main {
    padding: 1rem 0;
    background: #fff;
}

.brand-wrap {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
}

.brand-logo {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid rgba(15,106,62,.12);
    padding: .35rem;
    object-fit: contain;
    box-shadow: var(--shadow-sm);
}

.brand-center h1,
.brand-center .brand-title {
    font-size: clamp(1.15rem, 2vw, 1.65rem);
    font-weight: 800;
    color: var(--brand-green-dark);
    margin: 0;
}

.brand-center .brand-subtitle {
    margin: .2rem 0 0;
    color: #475569;
    font-size: .95rem;
}

.main-navbar {
    background: var(--brand-green);
    box-shadow: inset 0 -1px 0 rgba(255,255,255,.08);
}

.main-navbar .navbar-nav { gap: .25rem; }
.main-navbar .nav-link {
    color: rgba(255,255,255,.92);
    font-weight: 600;
    padding: 1rem .95rem;
    border-radius: .5rem;
}
.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
    background: rgba(255,255,255,.10);
    color: #fff;
}

.header-search {
    min-width: 260px;
}

.search-pill {
    background: #fff;
    border-radius: 999px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,.08);
}
.search-pill .form-control,
.search-pill .btn {
    border: none;
    box-shadow: none !important;
}

.hero-section {
    position: relative;
    overflow: hidden;
    background: #0a1f16;
}

.hero-stage {
    position: relative;
    min-height: 680px;
}

.hero-slider {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .7s ease, visibility .7s ease;
    background-size: cover;
    background-position: center;
}

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(3,14,9,.84) 0%, rgba(4,21,14,.60) 45%, rgba(4,21,14,.18) 100%);
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 110px 0 100px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    background: rgba(255,255,255,.12);
    color: #fff;
    padding: .5rem .85rem;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,.16);
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(2.3rem, 5vw, 4.2rem);
    line-height: 1.08;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    max-width: 720px;
}

.hero-text {
    color: rgba(255,255,255,.88);
    font-size: 1.08rem;
    line-height: 1.8;
    max-width: 650px;
    margin-bottom: 1.5rem;
}

.hero-actions {
    display: flex;
    gap: .85rem;
    flex-wrap: wrap;
}

.hero-side-card {
    position: relative;
    z-index: 2;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(8px);
    border-radius: 1.35rem;
    box-shadow: var(--shadow-md);
    padding: 1.25rem;
    overflow: hidden;
}

.post-mini-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.post-mini-slider {
    position: relative;
    min-height: 275px;
}

.post-mini-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease;
}
.post-mini-slide.active {
    opacity: 1;
    visibility: visible;
}

.post-mini-card {
    height: 100%;
    border: 1px solid rgba(148,163,184,.18);
    border-radius: 1rem;
    overflow: hidden;
    background: #fff;
}

.post-mini-image {
    height: 160px;
    object-fit: cover;
    width: 100%;
}

.post-mini-body {
    padding: 1rem;
}

.post-mini-meta {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    font-size: .82rem;
    color: #64748b;
    margin-bottom: .55rem;
}

.post-mini-title {
    font-size: 1.15rem;
    line-height: 1.35;
    font-weight: 800;
    margin-bottom: .55rem;
    color: #0f172a;
}

.hero-controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 28px;
    z-index: 5;
}

.hero-control-btn,
.slider-control-btn {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,.2);
    background: rgba(255,255,255,.12);
    color: #fff;
    border-radius: 50%;
    transition: all .2s ease;
}
.hero-control-btn:hover,
.slider-control-btn:hover {
    background: rgba(255,255,255,.24);
}

.hero-dots {
    display: flex;
    align-items: center;
    gap: .55rem;
}
.hero-dot {
    width: 12px;
    height: 12px;
    border: none;
    border-radius: 999px;
    background: rgba(255,255,255,.35);
    transition: all .2s ease;
}
.hero-dot.active {
    width: 34px;
    background: var(--brand-gold);
}

.feature-box {
    background: #fff;
    border-radius: 1rem;
    padding: 1.2rem;
    height: 100%;
    border: 1px solid rgba(15,106,62,.08);
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease;
}
.feature-box:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.content-card,
.sidebar-card,
.service-card,
.news-card,
.project-card,
.contact-card,
.form-card {
    border: 1px solid var(--border-color);
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.image-panel {
    min-height: 520px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.image-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-card,
.sidebar-card,
.contact-card,
.form-card {
    padding: 1.6rem;
    height: 100%;
}

.sidebar-widget + .sidebar-widget {
    margin-top: 1.1rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(148,163,184,.18);
}

.widget-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .85rem;
}
.widget-title h4 {
    font-size: 1.05rem;
    margin: 0;
    font-weight: 800;
}

.bullet-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.bullet-links li {
    position: relative;
    padding-left: 1.1rem;
    margin-bottom: .85rem;
}
.bullet-links li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .58rem;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand-gold);
}
.bullet-links a {
    color: #0f172a;
    font-weight: 600;
}
.bullet-links a:hover { color: var(--brand-green); }
.bullet-links small { display: block; color: var(--text-muted); }

.carousel-shell { position: relative; }
.carousel-shell .slider-actions {
    display: flex;
    gap: .55rem;
}

.carousel-viewport {
    overflow: hidden;
}

.carousel-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 72px) / 4);
    gap: 24px;
    transition: transform .4s ease;
    will-change: transform;
}

[data-items-desktop="5"] .carousel-track {
    grid-auto-columns: calc((100% - 96px) / 5);
}

@media (max-width: 1199.98px) {
    .carousel-track {
        grid-auto-columns: calc((100% - 24px) / 2);
    }
}

@media (max-width: 767.98px) {
    .carousel-track {
        grid-auto-columns: 100%;
    }
}

.service-card,
.news-card,
.project-card {
    overflow: hidden;
    height: 100%;
    transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover,
.news-card:hover,
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.service-card .card-body,
.news-card .card-body,
.project-card .card-body {
    padding: 1.3rem;
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-green-soft);
    color: var(--brand-green);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.news-image,
.project-image {
    width: 100%;
    object-fit: cover;
}
.news-image { height: 210px; }
.project-image { height: 220px; }

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    color: #64748b;
    font-size: .82rem;
    margin-bottom: .8rem;
}

.badge-soft {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: .35rem .7rem;
    font-size: .78rem;
    font-weight: 700;
    background: var(--brand-green-soft);
    color: var(--brand-green);
}

.news-card .card-title,
.project-card .card-title,
.service-card .card-title {
    font-size: 1.08rem;
    line-height: 1.42;
    font-weight: 800;
}

.news-card .card-text,
.project-card .card-text,
.service-card .card-text {
    color: var(--text-muted);
    line-height: 1.75;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.contact-list li {
    display: flex;
    gap: .95rem;
    align-items: flex-start;
    padding: .95rem 0;
    border-bottom: 1px solid rgba(148,163,184,.18);
}
.contact-list li:last-child { border-bottom: 0; }

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-green-soft);
    color: var(--brand-green);
    flex: 0 0 auto;
}

.form-card .form-control,
.form-card .form-select {
    min-height: 52px;
    border-radius: .85rem;
    border-color: rgba(148,163,184,.32);
}
.form-card textarea.form-control {
    min-height: 170px;
}
.form-card .form-control:focus,
.form-card .form-select:focus {
    border-color: rgba(15,106,62,.55);
    box-shadow: 0 0 0 .25rem rgba(15,106,62,.10);
}

.logo-strip {
    overflow: hidden;
    background: #fff;
    border-top: 1px solid rgba(148,163,184,.12);
    border-bottom: 1px solid rgba(148,163,184,.12);
}
.logo-track {
    display: flex;
    gap: 3rem;
    align-items: center;
    width: max-content;
    animation: logoTicker 30s linear infinite;
    padding: 1.35rem 0;
}
.logo-item img {
    height: 44px;
    width: auto;
    opacity: .8;
    filter: grayscale(100%);
    transition: all .2s ease;
}
.logo-item:hover img {
    opacity: 1;
    filter: grayscale(0);
}

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

.footer-section {
    background: linear-gradient(180deg, #07170f 0%, #0a2317 100%);
    color: rgba(255,255,255,.78);
}

.footer-top {
    padding: 75px 0 32px;
}
.footer-brand img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #fff;
    padding: .35rem;
}
.footer-title {
    color: #fff;
    font-weight: 800;
    font-size: 1.08rem;
    margin-bottom: 1rem;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li { margin-bottom: .7rem; }
.footer-links a,
.footer-contact a {
    color: rgba(255,255,255,.74);
}
.footer-links a:hover,
.footer-contact a:hover { color: #fff; }

.footer-bottom {
    padding: 1rem 0 1.4rem;
    border-top: 1px solid rgba(255,255,255,.08);
    color: rgba(255,255,255,.6);
    font-size: .92rem;
}

.back-to-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--brand-green);
    color: #fff;
    box-shadow: 0 12px 30px rgba(15,106,62,.28);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all .25s ease;
    z-index: 1050;
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 1399.98px) {
    .hero-stage { min-height: 640px; }
}

@media (max-width: 1199.98px) {
    .hero-content { padding: 95px 0 95px; }
    .projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .header-search { min-width: 220px; }
}

@media (max-width: 991.98px) {
    .section-space { padding: 72px 0; }
    .brand-wrap {
        grid-template-columns: auto 1fr;
    }
    .brand-wrap .brand-logo:last-child {
        display: none;
    }
    .hero-stage { min-height: auto; }
    .hero-content { padding: 80px 0 70px; }
    .hero-side-card { margin-top: 1.5rem; }
    .main-navbar .nav-link { padding: .75rem 0; }
}

@media (max-width: 767.98px) {
    .topbar-inner,
    .section-head {
        display: block !important;
    }
    .section-head > div:last-child { margin-top: 1rem; }
    .brand-logo {
        width: 60px;
        height: 60px;
    }
    .hero-title { font-size: 2rem; }
    .hero-text { font-size: 1rem; }
    .projects-grid { grid-template-columns: 1fr; }
    .image-panel { min-height: 320px; }
    .news-image,
    .project-image { height: 200px; }
    .header-search { min-width: 100%; }
}
.main-navbar .navbar-nav {
    align-items: stretch;
}

.main-navbar .nav-item,
.main-navbar .dropdown-submenu {
    position: relative;
}

.main-navbar .nav-link {
    display: flex;
    align-items: center;
    min-height: 58px;
    padding: 1rem 1rem;
    font-weight: 600;
}

.main-navbar .dropdown-menu {
    min-width: 260px;
    padding: .5rem 0;
    margin-top: 0;
    border-radius: 1rem;
    display: none;
    z-index: 1050;
}

.main-navbar .dropdown-menu.show {
    display: block;
}

.main-navbar .dropdown-item {
    padding: .75rem 1rem;
    font-weight: 500;
    color: #1f2937;
    white-space: nowrap;
}

.main-navbar .dropdown-item:hover,
.main-navbar .dropdown-item:focus {
    background: #f4f8f5;
    color: #0b6b3a;
}

.main-navbar .dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -.5rem;
    margin-left: .15rem;
}

.main-navbar .dropdown-submenu > .dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main-navbar .dropdown-submenu > .dropdown-toggle::after {
    content: "";
    border-top: .3em solid transparent;
    border-bottom: .3em solid transparent;
    border-left: .35em solid currentColor;
    margin-left: .75rem;
}

@media (min-width: 1200px) {
    .main-navbar .nav-item.dropdown:hover > .dropdown-menu,
    .main-navbar .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }
}

@media (max-width: 1199.98px) {
    .main-navbar .navbar-collapse {
        padding-bottom: 1rem;
    }

    .main-navbar .nav-link {
        min-height: auto;
        padding: .9rem 1rem;
    }

    .main-navbar .dropdown-menu {
        position: static !important;
        transform: none !important;
        min-width: 100%;
        margin: .35rem 0 0 0;
        box-shadow: none !important;
        border: 1px solid rgba(0,0,0,.08) !important;
        border-radius: .85rem;
    }

    .main-navbar .dropdown-submenu > .dropdown-menu {
        left: 0;
        margin-left: 0;
        margin-top: .35rem;
        padding-left: .75rem;
    }

    .main-navbar .dropdown-submenu > .dropdown-toggle::after {
        border-left: 0;
        border-top: .35em solid currentColor;
        border-right: .3em solid transparent;
        border-left: .3em solid transparent;
    }
}

@media (max-width: 1199.98px) {
    .main-navbar .navbar-collapse {
        background: #0f5e3b;
        padding: 0 1rem 1rem;
        border-top: 1px solid rgba(255,255,255,.08);
    }

    .main-navbar .navbar-nav {
        padding-top: .5rem;
    }

    .main-navbar .nav-item {
        width: 100%;
    }

    .main-navbar .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: .9rem 0;
    }

    .main-navbar .dropdown-menu {
        position: static !important;
        transform: none !important;
        min-width: 100%;
        margin: .35rem 0 .5rem;
        box-shadow: none !important;
        border: 1px solid rgba(255,255,255,.08) !important;
        border-radius: .75rem;
    }

    .main-navbar .dropdown-item {
        white-space: normal;
    }
}

/* ===== Missing layout helpers and improved government cards ===== */
.hero-modern {
    background: linear-gradient(180deg, #ffffff 0%, #f3f7f5 100%);
}
.hero-composite {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(320px, .8fr);
    min-height: 640px;
}
.hero-left,
.hero-right {
    min-width: 0;
}
.hero-right {
    background: #f8fbf9;
    border-left: 1px solid rgba(15,106,62,.08);
}
.hero-side-slider {
    border-radius: 0;
}
#heroCarousel,
#heroCarousel .carousel-inner,
#heroCarousel .carousel-item,
#heroCarousel .hero-slide {
    height: 100%;
    min-height: 640px;
}
#heroCarousel .hero-slide {
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}
.three-column-feature .card,
.feature-photo {
    border-radius: 1.25rem;
}
.feature-photo {
    background: linear-gradient(135deg, #dcefe4, #f3f7f5);
}
.bullet-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.bullet-link-list li {
    position: relative;
    padding-left: 1.05rem;
    margin-bottom: .85rem;
}
.bullet-link-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .62rem;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand-gold);
}
.bullet-link-list a {
    color: #0f172a;
    font-weight: 600;
}
.bullet-link-list a:hover {
    color: var(--brand-green);
}
.placeholder-block {
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #dfe7ec, #cbd5e1);
}
.placeholder-block::after {
    content: "Image";
    font-size: .9rem;
    font-weight: 700;
    color: rgba(15,23,42,.55);
    letter-spacing: .08em;
    text-transform: uppercase;
}
.clickable-card {
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.clickable-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
}
.carousel-shell { 
    position: relative;
    height: 100%;
}
.carousel-track {
    display: grid;
    grid-auto-flow: column;
    gap: 24px;
    will-change: transform;
}
.carousel-shell .custom-carousel-item,
.carousel-shell .carousel-item {
    display: block;
    min-width: 0;
}
[data-items-desktop="5"] .carousel-track {
    grid-auto-columns: calc((100% - 96px) / 5);
}
[data-items-desktop="4"] .carousel-track {
    grid-auto-columns: calc((100% - 72px) / 4);
}
[data-items-desktop="3"] .carousel-track {
    grid-auto-columns: calc((100% - 48px) / 3);
}
[data-items-desktop="1"] .carousel-track {
    grid-auto-columns: 100%;
}
.service-card-gov {
    position: relative;
    border-radius: 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(15, 23, 42, 0.08);
}
.service-card-gov::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-green), #15803d);
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}
.service-card-gov .card-body {
    min-height: 320px;
    align-items: center;
    justify-content: flex-start;
}
.service-icon {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    color: var(--brand-green);
    border: 1px solid rgba(22, 163, 74, 0.14);
    box-shadow: 0 8px 18px rgba(22, 163, 74, 0.10);
    font-size: 1.7rem;
    transition: transform .3s ease, box-shadow .3s ease;
}
.service-card-gov:hover .service-icon {
    transform: scale(1.08) rotate(3deg);
}
.service-title {
    font-size: 1.08rem;
    line-height: 1.5;
    font-weight: 800;
    color: #0f172a;
    text-align: center;
    min-height: 52px;
}
.service-text {
    color: #475569;
    line-height: 1.8;
    text-align: center;
    font-size: .96rem;
}
.service-link,
.news-link,
.project-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .72rem 1rem;
    border-radius: 999px;
    background: rgba(22, 163, 74, 0.08);
    color: var(--brand-green);
    font-weight: 800;
    font-size: .92rem;
    transition: all .25s ease;
}
.service-link i,
.news-link i,
.project-link i {
    transition: transform .25s ease;
}
.service-link:hover,
.news-card-gov:hover .news-link,
.project-card-gov:hover .project-link {
    background: var(--brand-green);
    color: #fff;
    box-shadow: 0 10px 24px rgba(22, 163, 74, 0.18);
}
.service-link:hover i,
.news-card-gov:hover .news-link i,
.project-card-gov:hover .project-link i {
    transform: translateX(5px);
}
.news-card-gov,
.project-card-gov {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(15, 23, 42, 0.08);
}
.news-image-wrap,
.project-image-wrap {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
}
.news-image,
.project-image {
    width: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.news-image { height: 240px; }
.project-image { height: 235px; }
.news-card-gov:hover .news-image,
.project-card-gov:hover .project-image {
    transform: scale(1.06);
}
.news-image-wrap::after,
.project-image-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.08) 0%, rgba(2, 6, 23, 0.12) 35%, rgba(2, 6, 23, 0.58) 100%);
    pointer-events: none;
}
.news-category-badge,
.project-status-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    padding: .45rem .85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--brand-green-dark);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .02em;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}
.news-meta-overlay,
.project-meta-overlay {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
}
.news-meta-chip,
.project-meta-chip {
    display: inline-flex;
    align-items: center;
    padding: .45rem .75rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: .76rem;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,.16);
}
.news-title,
.project-title {
    font-size: 1.08rem;
    line-height: 1.5;
    font-weight: 800;
    color: #0f172a;
}
.news-text,
.project-text {
    color: #475569;
    line-height: 1.8;
    font-size: .95rem;
}
.project-card-gov .card-body,
.news-card-gov .card-body {
    min-height: 235px;
}
@media (max-width: 1399.98px) {
    .hero-composite {
        grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr);
    }
}
@media (max-width: 1199.98px) {
    .carousel-track {
        grid-auto-columns: calc((100% - 24px) / 2) !important;
    }
    .hero-composite {
        grid-template-columns: 1fr;
    }
    .hero-right {
        border-left: 0;
        border-top: 1px solid rgba(15,106,62,.08);
    }
}
@media (max-width: 767.98px) {
    .carousel-track {
        grid-auto-columns: 100% !important;
    }
    #heroCarousel,
    #heroCarousel .carousel-inner,
    #heroCarousel .carousel-item,
    #heroCarousel .hero-slide {
        min-height: 500px;
    }
    .news-image { height: 220px; }
    .project-image { height: 215px; }
    .news-category-badge,
    .project-status-badge {
        top: .85rem;
        left: .85rem;
        font-size: .74rem;
        padding: .4rem .72rem;
    }
    .news-meta-overlay,
    .project-meta-overlay {
        left: .85rem;
        bottom: .85rem;
        gap: .45rem;
    }
    .news-meta-chip,
    .project-meta-chip {
        font-size: .72rem;
        padding: .38rem .68rem;
    }
    .project-card-gov .card-body,
    .news-card-gov .card-body,
    .service-card-gov .card-body {
        min-height: auto;
    }
}
.brand-header-grid {
    display: grid;
    grid-template-columns: 110px 1fr 110px;
    align-items: center;
    gap: 1rem;
}

.brand-side {
    display: flex;
    align-items: center;
    height: 100%;
}

.brand-side-left {
    justify-content: flex-start;
}

.brand-side-right {
    justify-content: center;
}

.brand-center-text {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.brand-center-text .brand-title {
    margin-bottom: .25rem;
}

@media (max-width: 991.98px) {
    .brand-header-grid {
        grid-template-columns: 80px 1fr 80px;
        gap: .75rem;
    }

    .brand-center-text .brand-title {
        font-size: 1.35rem;
    }
}

@media (max-width: 767.98px) {
    .brand-header-grid {
        grid-template-columns: 64px 1fr 64px;
        gap: .5rem;
    }

    .brand-center-text .text-uppercase {
        font-size: .65rem;
    }

    .brand-center-text .brand-title {
        font-size: 1.05rem;
        line-height: 1.2;
    }

    .brand-center-text .text-secondary {
        font-size: .75rem;
    }

    .brand-emblem,
    .secondary-logo-wrap {
        max-width: 56px;
    }

    .secondary-logo {
        max-height: 56px;
        width: auto;
    }
}

.site-header {
    position: relative;
    z-index: 1030;
}

.site-header-hero {
    background: #fff;
}

/* .site-header-top {
    position: relative;
    width: 100%;
    background-image: url('../images/header/header-bgd.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(255,255,255,0.92) 0%,
        rgba(255,255,255,0.85) 30%,
        rgba(255,255,255,0.82) 70%,
        rgba(255,255,255,0.92) 100%
    );
    pointer-events: none;
} */

.site-header-top {
    position: relative;
    width: 100%;
    /*background-image: url('../images/header/header-bgd.jpg');*/
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(255,255,255,0.28) 0%,
        rgba(255,255,255,0.16) 30%,
        rgba(255,255,255,0.14) 70%,
        rgba(255,255,255,0.28) 100%
    );
    pointer-events: none;
}

.site-header-top .container {
    position: relative;
    z-index: 2;
}

.brand-row {
    width: 100%;
}

.brand-header-grid {
    display: grid;
    grid-template-columns: 110px 1fr 110px;
    align-items: center;
    gap: 1rem;
    min-height: 68px;
}

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

.brand-side-left {
    justify-content: flex-start;
}

.brand-side-right {
    justify-content: flex-end;
}

.brand-center-text {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.brand-text-wrap {
    max-width: 100%;
    color: #0f172a;
}

.header-topline {
    color: #334155 !important;
    letter-spacing: .08em;
    margin-bottom: .15rem;
}

.brand-title {
    line-height: 1.05;
    text-shadow: none;
    margin-bottom: .15rem !important;
}

.text-white {
    color: #fff !important;
}

.text-black {
    color: #000 !important;
}

.text-primary {
    color: var(--brand-green) !important;
}

.text-title {
    font-size: .95rem;
    font-weight: 700;
    color: #14532d;
    line-height: 1.1;
    letter-spacing: .04em;
}

.brand-emblem,
.secondary-logo-wrap {
    width: 72px;
    height: 72px;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-emblem img,
.secondary-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.main-navbar {
    background: linear-gradient(90deg, #0f6b35 0%, #14532d 100%);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.10);
}

@media (max-width: 991.98px) {
    .site-header-top {
        background-position: center top;
    }

    .brand-header-grid {
        grid-template-columns: 76px 1fr 76px;
        min-height: 74px;
        gap: .75rem;
    }

    .brand-emblem,
    .secondary-logo-wrap {
        width: 58px;
        height: 58px;
    }

    .brand-title {
        font-size: 1.15rem;
    }

    .text-title {
        font-size: .82rem;
    }
}

@media (max-width: 767.98px) {
    .header-overlay {
        background: linear-gradient(
            180deg,
            rgba(255,255,255,0.22) 0%,
            rgba(255,255,255,0.18) 100%
        );
    }

    .brand-header-grid {
        grid-template-columns: 52px 1fr 52px;
        min-height: 66px;
        gap: .45rem;
    }

    .brand-emblem,
    .secondary-logo-wrap {
        width: 42px;
        height: 42px;
    }

    .header-topline {
        font-size: .52rem;
        line-height: 1.1;
    }

    .brand-title {
        font-size: .88rem;
        line-height: 1.05;
    }

    .text-title {
        font-size: .66rem;
        line-height: 1.05;
    }
}

@media (max-width: 480px) {
    .brand-header-grid {
        grid-template-columns: 40px 1fr 40px;
        gap: .3rem;
        min-height: 58px;
    }

    .brand-emblem,
    .secondary-logo-wrap {
        width: 34px;
        height: 34px;
    }

    .brand-title {
        font-size: .76rem;
    }

    .text-title,
    .header-topline {
        font-size: .48rem;
    }
}

.hero-government {
    background: linear-gradient(180deg, #eef5f1 0%, #f8fbf9 100%);
}

.hero-composite-government {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(0, 3fr);
    min-height: 620px;
    background: #fff;
}

.hero-leader-panel {
    background: linear-gradient(180deg, #f4f8f5 0%, #eaf3ed 100%);
    border-right: 1px solid rgba(15,106,62,.08);
    display: flex;
}

.hero-leader-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.hero-leader-image-wrap {
    position: relative;
    min-height: 360px;
    background: linear-gradient(135deg, #dfe8e3, #c9d7cf);
    overflow: hidden;
}

.hero-leader-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-leader-body {
    padding: 1.5rem 1.25rem 1.6rem;
    display: flex;
    flex-direction: column;
    gap: .65rem;
}

.hero-leader-label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: .42rem .8rem;
    border-radius: 999px;
    background: rgba(15,106,62,.08);
    color: var(--brand-green);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.hero-leader-name {
    font-size: 1.35rem;
    line-height: 1.25;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.hero-leader-title {
    font-size: .95rem;
    font-weight: 700;
    color: var(--brand-green-dark);
}

.hero-leader-text {
    color: #475569;
    line-height: 1.8;
    font-size: .95rem;
    margin: 0;
}

.hero-leader-link {
    margin-top: .35rem;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .8rem 1rem;
    border-radius: 999px;
    background: var(--brand-green);
    color: #fff;
    font-weight: 800;
    transition: all .25s ease;
}

.hero-leader-link:hover {
    background: var(--brand-green-dark);
    color: #fff;
}

.hero-leader-link i {
    transition: transform .25s ease;
}

.hero-leader-link:hover i {
    transform: translateX(5px);
}

.hero-slider-panel {
    min-width: 0;
    position: relative;
    background: #0b1f15;
}

.hero-slider-stage {
    position: relative;
    height: 100%;
    min-height: 620px;
}

.hero-slider {
    position: relative;
    height: 100%;
    min-height: 620px;
}

.hero-slider .hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .7s ease, visibility .7s ease, transform .7s ease;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}

.hero-slider .hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(4, 20, 13, 0.82) 0%, rgba(4, 20, 13, 0.56) 38%, rgba(4, 20, 13, 0.22) 100%),
        linear-gradient(180deg, rgba(4,20,13,.05) 0%, rgba(4,20,13,.28) 100%);
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    padding: 86px 72px 120px;
}

.hero-slide-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .48rem .88rem;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.16);
    color: #fff;
    font-size: .8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    backdrop-filter: blur(6px);
}

.hero-slide-title {
    font-size: clamp(2rem, 3.2vw, 3.4rem);
    line-height: 1.08;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    max-width: 720px;
}

.hero-slide-text {
    font-size: 1.02rem;
    line-height: 1.85;
    color: rgba(255,255,255,.88);
    max-width: 640px;
    margin-bottom: 1.5rem;
}

.hero-readmore-btn {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .9rem 1.2rem;
    border-radius: 999px;
    background: var(--brand-gold);
    color: #1f2937;
    font-weight: 800;
    transition: all .25s ease;
    box-shadow: 0 14px 28px rgba(0,0,0,.16);
}

.hero-readmore-btn:hover {
    background: #ffd04a;
    color: #111827;
    transform: translateY(-2px);
}

.hero-readmore-btn i {
    transition: transform .25s ease;
}

.hero-readmore-btn:hover i {
    transform: translateX(5px);
}

.hero-slider-controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 28px;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 2rem;
}

.hero-dots {
    display: flex;
    align-items: center;
    gap: .55rem;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border: none;
    border-radius: 999px;
    background: rgba(255,255,255,.35);
    transition: all .2s ease;
}

.hero-dot.active {
    width: 34px;
    background: var(--brand-gold);
}

.hero-nav-buttons {
    display: flex;
    gap: .75rem;
}

.hero-nav-btn {
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .25s ease;
    backdrop-filter: blur(6px);
}

.hero-nav-btn:hover {
    background: rgba(255,255,255,.22);
    color: #fff;
}

@media (max-width: 1199.98px) {
    .hero-composite-government {
        grid-template-columns: 1fr;
    }

    .hero-leader-panel {
        border-right: 0;
        border-bottom: 1px solid rgba(15,106,62,.08);
    }

    .hero-leader-card {
        display: grid;
        grid-template-columns: 280px 1fr;
    }

    .hero-leader-image-wrap {
        min-height: 100%;
    }

    .hero-slider-stage,
    .hero-slider {
        min-height: 560px;
    }

    .hero-slide-content {
        padding: 72px 48px 110px;
    }
}

@media (max-width: 767.98px) {
    .hero-leader-card {
        grid-template-columns: 1fr;
    }

    .hero-leader-image-wrap {
        min-height: 300px;
    }

    .hero-slider-stage,
    .hero-slider {
        min-height: 470px;
    }

    .hero-slide-content {
        padding: 42px 22px 92px;
    }

    .hero-slide-title {
        font-size: 1.65rem;
    }

    .hero-slide-text {
        font-size: .95rem;
    }

    .hero-slider-controls {
        padding: 0 1rem;
        bottom: 18px;
    }

    .hero-nav-btn {
        width: 40px;
        height: 40px;
    }
}

.hero-contained-section {
    background: #fff;
    padding-top: 0.5rem;
}

.hero-contained-wrap {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(0, 3fr);
    gap: 24px;
    align-items: stretch;
}

.hero-leader-col,
.hero-slider-col {
    min-width: 0;
}

.hero-leader-card-gov,
.hero-post-slider-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 1.25rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    height: 100%;
}

.hero-leader-card-gov {
    display: flex;
    flex-direction: column;
}

.hero-leader-card-image {
    position: relative;
    min-height: 320px;
    background: linear-gradient(135deg, #dfe8e3, #c9d7cf);
    overflow: hidden;
}

.hero-leader-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-leader-card-body {
    padding: 1.35rem 1.2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-leader-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .42rem .8rem;
    border-radius: 999px;
    background: rgba(15,106,62,.08);
    color: var(--brand-green);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
    margin-bottom: .9rem;
}

.hero-leader-card-name {
    font-size: 1.25rem;
    line-height: 1.3;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: .35rem;
}

.hero-leader-card-title {
    color: var(--brand-green-dark);
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: .85rem;
}

.hero-leader-card-text {
    color: #475569;
    line-height: 1.8;
    font-size: .94rem;
    margin-bottom: 1rem;
    text-align: center;
}

.hero-leader-card-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .8rem 1rem;
    border-radius: 999px;
    background: var(--brand-green);
    color: #fff;
    font-weight: 800;
    transition: all .25s ease;
}

.hero-leader-card-link:hover {
    background: var(--brand-green-dark);
    color: #fff;
}

.hero-leader-card-link i {
    transition: transform .25s ease;
}

.hero-leader-card-link:hover i {
    transform: translateX(5px);
}

.hero-post-slider-card {
    position: relative;
    padding: 0;
}

.hero-post-slider {
    position: relative;
    min-height: 100%;
}

.hero-post-slide {
    display: none;
    height: 100%;
}

.hero-post-slide.active {
    display: block;
}

.hero-post-image-wrap {
    position: relative;
    min-height: 420px;
    background: linear-gradient(135deg, #dfe7ec, #cbd5e1);
    overflow: hidden;
}

.hero-post-image {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    display: block;
}

.hero-post-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    padding: .45rem .85rem;
    border-radius: 999px;
    background: rgba(255,255,255,.95);
    color: var(--brand-green-dark);
    font-size: .78rem;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.hero-post-body {
    padding: 1.4rem 1.5rem 1.6rem;
}

.hero-post-title {
    font-size: clamp(1.5rem, 2.5vw, 2.3rem);
    line-height: 1.2;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: .8rem;
}

.hero-post-text {
    color: #475569;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.1rem;
    max-width: 900px;
}

.hero-post-link {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .88rem 1.15rem;
    border-radius: 999px;
    background: var(--brand-gold);
    color: #1f2937;
    font-weight: 800;
    transition: all .25s ease;
}

.hero-post-link:hover {
    background: var(--brand-gold-dark);
    color: #1f2937;
    transform: translateY(-2px);
}

.hero-post-link i {
    transition: transform .25s ease;
}

.hero-post-link:hover i {
    transform: translateX(5px);
}

.hero-post-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 1.5rem 1.4rem;
}

.hero-post-nav {
    display: flex;
    gap: .75rem;
}

.hero-post-nav-btn {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(15,106,62,.16);
    border-radius: 50%;
    background: #fff;
    color: var(--brand-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .25s ease;
}

.hero-post-nav-btn:hover {
    background: var(--brand-green);
    color: #fff;
}

.hero-dots {
    display: flex;
    align-items: center;
    gap: .55rem;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border: none;
    border-radius: 999px;
    background: rgba(15,106,62,.22);
    transition: all .2s ease;
}

.hero-dot.active {
    width: 34px;
    background: var(--brand-gold);
}

@media (max-width: 1199.98px) {
    .hero-contained-wrap {
        grid-template-columns: 1fr;
    }

    .hero-leader-card-gov {
        display: grid;
        grid-template-columns: 280px 1fr;
    }

    .hero-leader-card-image {
        min-height: 100%;
    }

    .hero-leader-card-body {
        justify-content: center;
    }

    .hero-post-image-wrap,
    .hero-post-image {
        min-height: 360px;
    }
}

@media (max-width: 767.98px) {
    .hero-leader-card-gov {
        display: flex;
    }

    .hero-leader-card-image {
        min-height: 260px;
    }

    .hero-post-image-wrap,
    .hero-post-image {
        min-height: 240px;
    }

    .hero-post-body {
        padding: 1.1rem 1rem 1.2rem;
    }

    .hero-post-controls {
        padding: 0 1rem 1rem;
    }

    .hero-post-title {
        font-size: 1.35rem;
    }

    .hero-post-text {
        font-size: .95rem;
    }

    .hero-post-nav-btn {
        width: 40px;
        height: 40px;
    }
}

.hero-post-slider-overlay-card {
    position: relative;
    overflow: hidden;
    padding: 0;
    min-height: 100%;
}

.hero-post-slider {
    position: relative;
    min-height: 100%;
}

.hero-post-slide {
    display: none;
}

.hero-post-slide.active {
    display: block;
}

.hero-post-slide-overlay .hero-post-image-wrap {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    border-radius: 1.25rem;
    background: linear-gradient(135deg, #dfe7ec, #cbd5e1);
}

.hero-post-slide-overlay .hero-post-image {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform .8s ease;
}

.hero-post-slide-overlay.active .hero-post-image {
    transform: scale(1.03);
}

.hero-post-image-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(3, 15, 10, 0.82) 0%, rgba(3, 15, 10, 0.58) 38%, rgba(3, 15, 10, 0.22) 100%),
        linear-gradient(180deg, rgba(3,15,10,.08) 0%, rgba(3,15,10,.32) 100%);
    z-index: 1;
}

.hero-post-content-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 2rem 2rem 5.2rem;
    max-width: 760px;
}

.hero-post-badge-overlay {
    display: inline-flex;
    align-items: center;
    padding: .48rem .9rem;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.18);
    color: #fff;
    font-size: .8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

.hero-post-title-overlay {
    font-size: clamp(1.7rem, 3vw, 3rem);
    line-height: 1.1;
    font-weight: 800;
    color: #fff;
    margin-bottom: .95rem;
    text-shadow: 0 2px 10px rgba(0,0,0,.18);
}

.hero-post-text-overlay {
    font-size: 1rem;
    line-height: 1.85;
    color: rgba(255,255,255,.9);
    margin-bottom: 1.25rem;
    max-width: 640px;
}

.hero-post-link-overlay {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .9rem 1.2rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand-gold) 0%, #ffd04a 100%);
    color: #1f2937;
    font-weight: 800;
    box-shadow: 0 16px 32px rgba(0,0,0,.18);
    transition: all .25s ease;
}

.hero-post-link-overlay:hover {
    transform: translateY(-2px);
    color: #111827;
    box-shadow: 0 18px 34px rgba(0,0,0,.22);
}

.hero-post-link-overlay i {
    transition: transform .25s ease;
}

.hero-post-link-overlay:hover i {
    transform: translateX(5px);
}

.hero-post-controls-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1.15rem;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0 1.5rem;
    pointer-events: none;
}

.hero-dots-overlay,
.hero-post-nav-overlay {
    pointer-events: auto;
}

.hero-dots-overlay {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .55rem .8rem;
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.16);
    backdrop-filter: blur(8px);
}

.hero-dot {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.38);
    transition: all .25s ease;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.hero-dot:hover {
    background: rgba(255,255,255,.68);
    transform: scale(1.05);
}

.hero-dot.active {
    width: 36px;
    background: linear-gradient(90deg, var(--brand-gold) 0%, #ffd04a 100%);
    box-shadow: 0 6px 18px rgba(243,179,8,.35);
}

.hero-post-nav-overlay {
    display: flex;
    gap: .7rem;
}

.hero-post-nav-btn-overlay {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 24px rgba(0,0,0,.16);
    transition: all .25s ease;
}

.hero-post-nav-btn-overlay:hover {
    background: rgba(255,255,255,.22);
    color: #fff;
    transform: translateY(-2px);
}

.hero-post-nav-btn-overlay i {
    font-size: 1rem;
}

@media (max-width: 1199.98px) {
    .hero-post-slide-overlay .hero-post-image-wrap,
    .hero-post-slide-overlay .hero-post-image {
        min-height: 430px;
        height: 430px;
    }

    .hero-post-content-overlay {
        padding: 1.5rem 1.5rem 4.8rem;
    }
}

@media (max-width: 767.98px) {
    .hero-post-slide-overlay .hero-post-image-wrap,
    .hero-post-slide-overlay .hero-post-image {
        min-height: 290px;
        height: 290px;
    }

    .hero-post-content-overlay {
        padding: 1rem 1rem 4.6rem;
        max-width: 100%;
    }

    .hero-post-title-overlay {
        font-size: 1.35rem;
    }

    .hero-post-text-overlay {
        font-size: .94rem;
        line-height: 1.7;
    }

    .hero-post-controls-overlay {
        padding: 0 .85rem;
        bottom: .85rem;
    }

    .hero-post-nav-btn-overlay {
        width: 40px;
        height: 40px;
    }

    .hero-dot.active {
        width: 28px;
    }
}

/* ===== HERO V2 IMPROVEMENT ===== */
.hero-contained-wrap-v2 {
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
    gap: 28px;
    align-items: stretch;
}

.hero-leader-card-v2,
.hero-post-slider-card-v2 {
    border-radius: 0.35rem;
    overflow: hidden;
    border: 1px solid rgba(15, 106, 62, 0.10);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    background: #fff;
}

.hero-leader-card-v2 {
    height: 100%;
    position: relative;
}

.hero-leader-card-v2 .hero-leader-card-image {
    min-height: 430px;
    background: linear-gradient(135deg, #dfe8e3, #c9d7cf);
}

.hero-leader-card-v2 .hero-leader-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform .6s ease;
}

.hero-leader-card-v2:hover .hero-leader-photo {
    transform: scale(1.03);
}

.hero-leader-image-shade {
    position: absolute;
    inset: auto 0 0 0;
    height: 90px;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(0,0,0,.18) 100%);
    pointer-events: none;
}

.hero-leader-card-v2 .hero-leader-card-body {
    padding: 1.25rem 1.2rem 1.35rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbf9 100%);
}

.hero-leader-card-v2 .hero-leader-card-name {
    font-size: 1.18rem;
    font-weight: 800;
    color: #0f172a;
}

.hero-leader-card-v2 .hero-leader-card-title {
    color: var(--brand-green);
    font-size: .95rem;
    font-weight: 700;
}

.hero-leader-card-v2 .hero-leader-card-text {
    max-width: 280px;
    color: #5b6778;
    font-size: .92rem;
    line-height: 1.7;
}

.hero-post-slider-card-v2 {
    position: relative;
    min-height: 100%;
    background: #0f172a;
}

.hero-post-slider-card-v2 .hero-post-slider,
.hero-post-slider-card-v2 .hero-post-slide,
.hero-post-slider-card-v2 .hero-post-image-wrap {
    height: 100%;
}

.hero-post-slider-card-v2 .hero-post-slide {
    position: absolute;
    inset: 0;
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .7s ease, visibility .7s ease;
}

.hero-post-slider-card-v2 .hero-post-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
}

.hero-post-slider-card-v2 .hero-post-image-wrap {
    min-height: 520px;
    border-radius: 0;
}

.hero-post-slider-card-v2 .hero-post-image {
    width: 100%;
    height: 520px;
    min-height: 520px;
    object-fit: cover;
    transition: transform 6s ease;
}

.hero-post-slider-card-v2 .hero-post-slide.active .hero-post-image {
    transform: scale(1.06);
}

.hero-post-slider-card-v2 .hero-post-image-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(4,13,10,.10) 0%, rgba(4,13,10,.22) 35%, rgba(4,13,10,.76) 100%),
        linear-gradient(90deg, rgba(4,13,10,.14) 0%, rgba(4,13,10,.05) 100%);
    z-index: 1;
}

.hero-post-caption-glass {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    z-index: 3;
    padding: 1.15rem 1.2rem 1.25rem;
    border-radius: 1rem;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.22);
    backdrop-filter: blur(10px);
    box-shadow: 0 12px 30px rgba(0,0,0,.16);
}

.hero-post-title-overlay {
    color: #fff;
    font-size: clamp(1.35rem, 2.3vw, 2.1rem);
    line-height: 1.22;
    margin-bottom: .65rem;
    max-width: 900px;
}

.hero-post-text-overlay {
    color: rgba(255,255,255,.92);
    font-size: .98rem;
    line-height: 1.75;
    margin-bottom: .95rem;
    max-width: 880px;
}

.hero-post-badge-overlay {
    position: static;
    display: inline-flex;
    margin-bottom: .8rem;
    background: rgba(255,255,255,.94);
    color: var(--brand-green-dark);
    box-shadow: none;
}

.hero-post-link-overlay {
    background: var(--brand-gold);
    color: #1f2937;
    border: none;
    box-shadow: 0 10px 24px rgba(243, 179, 8, .28);
}

.hero-post-link-overlay:hover {
    background: var(--brand-gold-dark);
    color: #1f2937;
}

.hero-post-controls-v2 {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 18px;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0;
    pointer-events: none;
}

.hero-post-controls-v2 .hero-dots,
.hero-post-controls-v2 .hero-post-nav-btn {
    pointer-events: auto;
}

.hero-post-controls-v2 .hero-dots {
    justify-content: center;
    flex: 1;
    gap: .45rem;
}

.hero-post-controls-v2 .hero-dot {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,.48);
    border-radius: 999px;
    transition: all .25s ease;
}

.hero-post-controls-v2 .hero-dot.active {
    width: 28px;
    background: #fff;
}

.hero-post-controls-v2 .hero-post-nav-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.26);
    background: rgba(255,255,255,.14);
    color: #fff;
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 20px rgba(0,0,0,.12);
}

.hero-post-controls-v2 .hero-post-nav-btn:hover {
    background: rgba(255,255,255,.26);
    color: #fff;
    transform: translateY(-1px);
}

@media (max-width: 1199.98px) {
    .hero-contained-wrap-v2 {
        grid-template-columns: 1fr;
    }

    .hero-leader-card-v2 {
        display: grid;
        grid-template-columns: 280px 1fr;
    }

    .hero-leader-card-v2 .hero-leader-card-image {
        min-height: 100%;
    }

    .hero-leader-card-v2 .hero-leader-card-body {
        justify-content: center;
    }

    .hero-post-slider-card-v2 .hero-post-image-wrap,
    .hero-post-slider-card-v2 .hero-post-image {
        min-height: 460px;
        height: 460px;
    }
}

@media (max-width: 767.98px) {
    .hero-contained-section {
        padding-top: 1rem;
    }

    .hero-contained-wrap-v2 {
        gap: 18px;
    }

    .hero-leader-card-v2 {
        display: flex;
        flex-direction: column;
    }

    .hero-leader-card-v2 .hero-leader-card-image {
        min-height: 300px;
    }

    .hero-post-slider-card-v2 .hero-post-image-wrap,
    .hero-post-slider-card-v2 .hero-post-image {
        min-height: 320px;
        height: 320px;
    }

    .hero-post-caption-glass {
        left: 14px;
        right: 14px;
        bottom: 14px;
        padding: .95rem .95rem 1rem;
        border-radius: .9rem;
    }

    .hero-post-title-overlay {
        font-size: 1.15rem;
    }

    .hero-post-text-overlay {
        font-size: .9rem;
        line-height: 1.6;
        margin-bottom: .8rem;
    }

    .hero-post-controls-v2 {
        left: 14px;
        right: 14px;
        bottom: 12px;
    }

    .hero-post-controls-v2 .hero-post-nav-btn {
        width: 40px;
        height: 40px;
    }

    .hero-post-controls-v2 .hero-dot.active {
        width: 22px;
    }
}

/* ===== RIGHT HERO SLIDER REDESIGN ONLY ===== */
.hero-banner-side-v2 {
    position: relative;
    min-height: 100%;
    border-radius: 1.35rem;
    overflow: hidden;
    background: #08130d;
    border: 1px solid rgba(15, 106, 62, 0.10);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
}

.hero-post-slider-banner-side {
    position: relative;
    min-height: 560px;
    height: 100%;
}

.hero-post-slide-banner-side {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .8s ease, visibility .8s ease;
}

.hero-post-slide-banner-side.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
}

.hero-post-image-wrap-banner-side {
    position: relative;
    min-height: 560px;
    height: 100%;
    overflow: hidden;
}

.hero-post-image-banner-side {
    width: 100%;
    height: 100%;
    min-height: 560px;
    object-fit: cover;
    object-position: center center;
    transform: scale(1);
    transition: transform 7s ease;
}

.hero-post-slide-banner-side.active .hero-post-image-banner-side {
    transform: scale(1.06);
}

.hero-post-image-overlay-banner-side {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(6, 17, 11, .76) 0%, rgba(6, 17, 11, .52) 34%, rgba(6, 17, 11, .28) 62%, rgba(6, 17, 11, .15) 100%),
        linear-gradient(180deg, rgba(6, 17, 11, .12) 0%, rgba(6, 17, 11, .32) 100%);
    z-index: 1;
}

.hero-post-content-banner-side {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 2rem 2.2rem 4.5rem;
}

.hero-post-content-inner-banner-side {
    max-width: 980px;
}

.hero-post-badge-banner-side {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: 1.1rem;
    background: transparent;
    color: #f8fafc;
    font-size: .95rem;
    font-weight: 700;
    padding: 0;
    border: 0;
    box-shadow: none;
}

.hero-post-badge-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--brand-gold);
    display: inline-block;
}

.hero-post-title-banner-side {
    font-size: clamp(2rem, 4vw, 4.2rem);
    line-height: 1.06;
    font-weight: 800;
    color: #ffffff;
    max-width: 1000px;
    margin-bottom: 1.1rem;
    letter-spacing: -.02em;
    text-shadow: 0 10px 30px rgba(0,0,0,.18);
}

.hero-post-title-banner-side::after {
    content: "";
    display: block;
    width: 160px;
    height: 5px;
    border-radius: 999px;
    margin-top: .95rem;
    background: linear-gradient(90deg, var(--brand-green) 0%, #21b15b 100%);
}

.hero-post-text-banner-side {
    font-size: clamp(1rem, 1.35vw, 1.18rem);
    line-height: 1.8;
    color: rgba(255,255,255,.94);
    max-width: 930px;
    margin-bottom: 0;
    text-shadow: 0 6px 18px rgba(0,0,0,.14);
    border-left: 5px solid var(--brand-green);
    padding-left: 1rem;
}

.hero-post-controls-banner-side {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 18px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.hero-dots-banner-side {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    flex: 1;
}

.hero-dots-banner-side .hero-dot {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    border: none;
    background: rgba(255,255,255,.42);
    transition: all .25s ease;
}

.hero-dots-banner-side .hero-dot.active {
    width: 32px;
    background: var(--brand-green);
}

.hero-post-nav-btn-banner-side {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(255,255,255,.10);
    color: #fff;
    backdrop-filter: blur(8px);
    box-shadow: 0 12px 24px rgba(0,0,0,.14);
    transition: all .25s ease;
}

.hero-post-nav-btn-banner-side:hover {
    background: rgba(15,106,62,.92);
    border-color: rgba(15,106,62,.92);
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 1199.98px) {
    .hero-post-slider-banner-side,
    .hero-post-image-wrap-banner-side,
    .hero-post-image-banner-side {
        min-height: 500px;
    }

    .hero-post-content-banner-side {
        padding: 1.75rem 1.75rem 4.25rem;
    }

    .hero-post-title-banner-side {
        font-size: clamp(1.8rem, 4.4vw, 3.2rem);
    }
}

@media (max-width: 991.98px) {
    .hero-post-slider-banner-side,
    .hero-post-image-wrap-banner-side,
    .hero-post-image-banner-side {
        min-height: 460px;
    }

    .hero-post-content-banner-side {
        align-items: flex-end;
        padding: 1.5rem 1.25rem 4rem;
    }

    .hero-post-title-banner-side {
        font-size: 2rem;
    }

    .hero-post-text-banner-side {
        font-size: .98rem;
        max-width: 100%;
    }
}

@media (max-width: 767.98px) {
    .hero-post-slider-banner-side,
    .hero-post-image-wrap-banner-side,
    .hero-post-image-banner-side {
        min-height: 360px;
    }

    .hero-post-content-banner-side {
        padding: 1rem 1rem 3.6rem;
    }

    .hero-post-badge-banner-side {
        font-size: .85rem;
        margin-bottom: .7rem;
    }

    .hero-post-title-banner-side {
        font-size: 1.45rem;
        line-height: 1.12;
        margin-bottom: .8rem;
    }

    .hero-post-title-banner-side::after {
        width: 95px;
        height: 4px;
        margin-top: .7rem;
    }

    .hero-post-text-banner-side {
        font-size: .9rem;
        line-height: 1.65;
        border-left-width: 4px;
        padding-left: .8rem;
    }

    .hero-post-controls-banner-side {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }

    .hero-post-nav-btn-banner-side {
        width: 40px;
        height: 40px;
    }

    .hero-dots-banner-side .hero-dot.active {
        width: 22px;
    }
}

/* ===== PREMIUM RIGHT HERO SLIDER ===== */
.hero-contained-wrap {
    align-items: stretch;
}

.hero-leader-col,
.hero-slider-col {
    min-width: 0;
}

.hero-premium-slider-card {
    position: relative;
    height: 100%;
    min-height: 450px;
    border-radius: 0.35rem;
    overflow: hidden;
    border: 1px solid rgba(15, 106, 62, .10);
    background: #08130d;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .12);
}

.hero-post-slider-premium {
    position: relative;
    min-height: 450px;
    height: 100%;
}

.hero-post-slide-premium {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .85s ease, visibility .85s ease;
}

.hero-post-slide-premium.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
}

.hero-post-image-wrap-premium {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 450px;
    overflow: hidden;
}

.hero-post-image-premium {
    width: 100%;
    height: 100%;
    min-height: 450px;
    object-fit: cover;
    object-position: center center;
    transform: scale(1);
    transition: transform 7s ease;
}

.hero-post-slide-premium.active .hero-post-image-premium {
    transform: scale(1.05);
}

.hero-post-image-overlay-premium {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(5, 16, 10, .42) 0%, rgba(5, 16, 10, .20) 35%, rgba(5, 16, 10, .08) 60%, rgba(5, 16, 10, .10) 100%),
        linear-gradient(180deg, rgba(5, 16, 10, .10) 0%, rgba(5, 16, 10, .20) 45%, rgba(5, 16, 10, .46) 100%);
}

.hero-post-content-premium {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    padding: 0 3rem 3.0rem 3rem;
}

.hero-post-content-inner-premium {
    max-width: 980px;
}

.hero-post-badge-premium {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: 1.35rem;
    padding: .55rem .9rem;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    color: #fff;
    font-size: .9rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

.hero-post-badge-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--brand-gold);
    display: inline-block;
}

.hero-post-title-premium {
    font-size: clamp(2.1rem, 4.2vw, 4.6rem);
    line-height: 1.06;
    font-weight: 800;
    color: #ffffff;
    max-width: 1050px;
    margin-bottom: 1.15rem;
    letter-spacing: -.025em;
    text-shadow: 0 12px 30px rgba(0,0,0,.18);
}

.hero-post-title-premium::after {
    content: "";
    display: block;
    width: 170px;
    height: 5px;
    margin-top: 1rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand-green) 0%, #21b15b 100%);
    box-shadow: 0 8px 20px rgba(15, 106, 62, .22);
}

.hero-post-text-premium {
    font-size: clamp(1rem, 1.25vw, 1.16rem);
    line-height: 1.82;
    color: rgba(255,255,255,.95);
    max-width: 900px;
    margin: 0;
    padding-left: 1rem;
    border-left: 4px solid var(--brand-green);
    text-shadow: 0 8px 18px rgba(0,0,0,.14);
}

.hero-post-nav-btn-premium {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.20);
    background: rgba(255,255,255,.10);
    color: #fff;
    backdrop-filter: blur(10px);
    box-shadow: 0 14px 30px rgba(0,0,0,.16);
    transform: translateY(-50%);
    transition: all .25s ease;
}

.hero-post-nav-btn-premium:hover {
    background: rgba(15,106,62,.95);
    border-color: rgba(15,106,62,.95);
    color: #fff;
    transform: translateY(-50%) scale(1.04);
}

.hero-post-nav-btn-premium-prev {
    left: 18px;
}

.hero-post-nav-btn-premium-next {
    right: 18px;
}

.hero-post-controls-premium {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    z-index: 5;
    display: flex;
    justify-content: center;
    padding: 0 1rem;
}

.hero-dots-premium {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .45rem .75rem;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.10);
}

.hero-dots-premium .hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: none;
    background: rgba(255,255,255,.42);
    transition: all .25s ease;
}

.hero-dots-premium .hero-dot.active {
    width: 28px;
    background: var(--brand-green);
}

/* optional: make left card and right slider feel balanced */
.hero-leader-card-v2,
.hero-premium-slider-card {
    height: 100%;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1399.98px) {
    .hero-premium-slider-card,
    .hero-post-slider-premium,
    .hero-post-image-wrap-premium,
    .hero-post-image-premium {
        min-height: 560px;
    }

    .hero-post-content-premium {
        padding: 0 2.5rem 5rem 2.5rem;
    }
}

@media (max-width: 1199.98px) {
    .hero-premium-slider-card,
    .hero-post-slider-premium,
    .hero-post-image-wrap-premium,
    .hero-post-image-premium {
        min-height: 520px;
    }

    .hero-post-content-premium {
        padding: 0 2rem 4.5rem 2rem;
    }

    .hero-post-title-premium {
        font-size: clamp(1.9rem, 4vw, 3.4rem);
    }

    .hero-post-text-premium {
        max-width: 100%;
    }
}

@media (max-width: 991.98px) {
    .hero-premium-slider-card,
    .hero-post-slider-premium,
    .hero-post-image-wrap-premium,
    .hero-post-image-premium {
        min-height: 470px;
    }

    .hero-post-content-premium {
        padding: 0 1.5rem 4.2rem 1.5rem;
    }

    .hero-post-title-premium {
        font-size: 2rem;
        line-height: 1.1;
        margin-bottom: .9rem;
    }

    .hero-post-title-premium::after {
        width: 120px;
        margin-top: .75rem;
    }

    .hero-post-text-premium {
        font-size: .98rem;
        line-height: 1.7;
    }

    .hero-post-nav-btn-premium {
        width: 46px;
        height: 46px;
    }

    .hero-post-nav-btn-premium-prev {
        left: 14px;
    }

    .hero-post-nav-btn-premium-next {
        right: 14px;
    }
}

@media (max-width: 767.98px) {
    .hero-premium-slider-card,
    .hero-post-slider-premium,
    .hero-post-image-wrap-premium,
    .hero-post-image-premium {
        min-height: 380px;
    }

    .hero-post-content-premium {
        padding: 0 1rem 3.7rem 1rem;
    }

    .hero-post-badge-premium {
        font-size: .8rem;
        margin-bottom: .8rem;
        padding: .45rem .75rem;
    }

    .hero-post-title-premium {
        font-size: 1.45rem;
        margin-bottom: .7rem;
    }

    .hero-post-title-premium::after {
        width: 85px;
        height: 4px;
    }

    .hero-post-text-premium {
        font-size: .9rem;
        line-height: 1.6;
        padding-left: .8rem;
        border-left-width: 3px;
    }

    .hero-post-nav-btn-premium {
        width: 40px;
        height: 40px;
    }

    .hero-post-controls-premium {
        bottom: 10px;
    }

    .hero-dots-premium .hero-dot.active {
        width: 22px;
    }
}

/* ===== PROFESSIONAL HERO SLIDER ANIMATION ===== */
.hero-post-slider-card,
.hero-premium-slider-card,
.hero-banner-side-v2 {
    position: relative;
    overflow: hidden;
}

.hero-post-slide,
.hero-post-slide-premium,
.hero-post-slide-banner-side {
    position: absolute;
    inset: 0;
    display: block !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(18px) scale(1.015);
    transition:
        opacity .9s ease,
        visibility .9s ease,
        transform .9s ease;
    z-index: 1;
}

.hero-post-slide.active,
.hero-post-slide-premium.active,
.hero-post-slide-banner-side.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    z-index: 2;
}

.hero-post-image,
.hero-post-image-premium,
.hero-post-image-banner-side {
    transform: scale(1);
    transition: transform 7s ease, filter .8s ease;
    will-change: transform;
}

.hero-post-slide.active .hero-post-image,
.hero-post-slide-premium.active .hero-post-image-premium,
.hero-post-slide-banner-side.active .hero-post-image-banner-side {
    transform: scale(1.08);
    filter: saturate(1.03);
}

/* overlay cinematic feel */
.hero-post-image-overlay,
.hero-post-image-overlay-premium,
.hero-post-image-overlay-banner-side {
    transition: opacity .8s ease;
}

/* text staged animation */
.hero-post-badge,
.hero-post-badge-premium,
.hero-post-badge-banner-side,
.hero-post-title,
.hero-post-title-premium,
.hero-post-title-banner-side,
.hero-post-text,
.hero-post-text-premium,
.hero-post-text-banner-side {
    opacity: 0;
    transform: translateY(28px);
    will-change: transform, opacity;
}

.hero-post-slide.active .hero-post-badge,
.hero-post-slide-premium.active .hero-post-badge-premium,
.hero-post-slide-banner-side.active .hero-post-badge-banner-side {
    animation: heroTextReveal .75s ease forwards;
    animation-delay: .15s;
}

.hero-post-slide.active .hero-post-title,
.hero-post-slide-premium.active .hero-post-title-premium,
.hero-post-slide-banner-side.active .hero-post-title-banner-side {
    animation: heroTextReveal .85s ease forwards;
    animation-delay: .28s;
}

.hero-post-slide.active .hero-post-text,
.hero-post-slide-premium.active .hero-post-text-premium,
.hero-post-slide-banner-side.active .hero-post-text-banner-side {
    animation: heroTextReveal .95s ease forwards;
    animation-delay: .42s;
}

/* nav polish */
.hero-post-nav-btn,
.hero-post-nav-btn-premium,
.hero-post-nav-btn-banner-side {
    transition: transform .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.hero-post-nav-btn:hover,
.hero-post-nav-btn-premium:hover,
.hero-post-nav-btn-banner-side:hover {
    box-shadow: 0 14px 28px rgba(0,0,0,.18);
}

/* dot animation */
.hero-dots .hero-dot {
    position: relative;
    overflow: hidden;
    transition: all .3s ease;
}

.hero-dots .hero-dot.active {
    transform: scale(1.02);
}

/* progress bar */
.hero-slider-progress {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    z-index: 6;
    background: rgba(255,255,255,.12);
}

.hero-slider-progress-bar {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--brand-green) 0%, #2dbb66 100%);
    box-shadow: 0 4px 14px rgba(15,106,62,.28);
}

.hero-slider-progress-bar.is-animating {
    animation: heroProgress 6.5s linear forwards;
}

@keyframes heroTextReveal {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroProgress {
    from { width: 0; }
    to { width: 100%; }
}

/* mobile still smooth */
@media (max-width: 767.98px) {
    .hero-post-slide,
    .hero-post-slide-premium,
    .hero-post-slide-banner-side {
        transform: translateY(10px) scale(1.01);
    }

    .hero-post-slide.active .hero-post-title,
    .hero-post-slide-premium.active .hero-post-title-premium,
    .hero-post-slide-banner-side.active .hero-post-title-banner-side {
        animation-duration: .7s;
    }

    .hero-post-slide.active .hero-post-text,
    .hero-post-slide-premium.active .hero-post-text-premium,
    .hero-post-slide-banner-side.active .hero-post-text-banner-side {
        animation-duration: .8s;
    }
}

/* ===== HERO HEIGHT REDUCTION ===== */
.hero-contained-section {
    padding-top: .5rem;
    padding-bottom: 1.0rem;
}

.hero-contained-wrap {
    align-items: stretch;
}

/* left leader card */
.hero-leader-card-v2,
.hero-leader-card-gov {
    height: 100%;
}

.hero-leader-card-v2 .hero-leader-card-image,
.hero-leader-card-gov .hero-leader-card-image {
    min-height: 280px;
}

/* right premium slider */
.hero-premium-slider-card {
    min-height: 520px;
}

.hero-post-slider-premium,
.hero-post-image-wrap-premium,
.hero-post-image-premium {
    min-height: 520px;
    height: 520px;
}

.hero-post-content-premium {
    padding: 0 3rem 4.2rem 3rem;
}

.hero-post-content-inner-premium {
    max-width: 820px;
}

.hero-post-title-premium {
    font-size: clamp(1.9rem, 3.6vw, 3.8rem);
    margin-bottom: .95rem;
}

.hero-post-title-premium::after {
    width: 130px;
    margin-top: .8rem;
}

.hero-post-text-premium {
    font-size: clamp(.96rem, 1.1vw, 1.08rem);
    line-height: 1.72;
    max-width: 760px;
}

/* tablet */
@media (max-width: 1199.98px) {
    .hero-premium-slider-card,
    .hero-post-slider-premium,
    .hero-post-image-wrap-premium,
    .hero-post-image-premium {
        min-height: 460px;
        height: 460px;
    }

    .hero-post-content-premium {
        padding: 0 2rem 3.8rem 2rem;
    }

    .hero-leader-card-v2 .hero-leader-card-image,
    .hero-leader-card-gov .hero-leader-card-image {
        min-height: 230px;
    }
}

/* mobile */
@media (max-width: 767.98px) {
    .hero-contained-section {
        padding-top: .35rem;
        padding-bottom: .35rem;
    }

    .hero-premium-slider-card,
    .hero-post-slider-premium,
    .hero-post-image-wrap-premium,
    .hero-post-image-premium {
        min-height: 320px;
        height: 320px;
    }

    .hero-post-content-premium {
        padding: 0 1rem 3rem 1rem;
    }

    .hero-post-content-inner-premium {
        max-width: 100%;
    }

    .hero-post-title-premium {
        font-size: 1.35rem;
        line-height: 1.1;
        margin-bottom: .65rem;
    }

    .hero-post-title-premium::after {
        width: 70px;
        height: 4px;
        margin-top: .55rem;
    }

    .hero-post-text-premium {
        font-size: .88rem;
        line-height: 1.58;
        max-width: 100%;
    }

    .hero-leader-card-v2 .hero-leader-card-image,
    .hero-leader-card-gov .hero-leader-card-image {
        min-height: 160px;
    }
}

/* ===== About Us Section Improvement ===== */
.about-us-section .about-main-card,
.about-us-section .about-side-card,
.about-us-section .about-photo-card {
    border-radius: .35rem !important;
}

.about-us-section .about-main-card,
.about-us-section .about-side-card {
    border: 1px solid rgba(15, 106, 62, .09);
    box-shadow: 0 10px 26px rgba(15, 23, 42, .06);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
}

.about-us-section .about-main-card:hover,
.about-us-section .about-side-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(15, 23, 42, .10);
    border-color: rgba(15, 106, 62, .18);
}

.about-us-section .about-photo-card {
    position: relative;
    min-height: 100%;
    border: 1px solid rgba(15, 106, 62, .10);
    background: linear-gradient(135deg, #eef5f0 0%, #f8fbf9 100%);
    box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
    transition: transform .3s ease, box-shadow .3s ease;
}

.about-us-section .about-photo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 42px rgba(15, 23, 42, .12);
}

.about-us-section .about-photo-inner {
    height: 100%;
    min-height: 420px;
    overflow: hidden;
    border-radius: .35rem;
    background: linear-gradient(135deg, #dfe7ec, #cbd5e1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-us-section .about-photo-image {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: contain;
    object-position: center;
    background: #f8fafc;
    padding: .35rem;
    transition: transform .4s ease;
}

.about-us-section .about-photo-card:hover .about-photo-image {
    transform: scale(1.02);
}

.about-us-section .about-side-stack {
    gap: 1rem !important;
}

.about-us-section .about-side-card .card-body {
    padding: 1rem 1rem 1.05rem !important;
}

.about-us-section .about-side-card-head h3 {
    font-size: 1rem;
    line-height: 1.2;
}

.about-us-section .about-side-icon {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: .35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 106, 62, .08);
    font-size: .95rem;
    transition: transform .25s ease, background-color .25s ease;
}

.about-us-section .about-side-card:hover .about-side-icon {
    transform: scale(1.08);
    background: rgba(15, 106, 62, .14);
}

.about-us-section .about-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-us-section .about-link-list li {
    position: relative;
    padding-left: .9rem;
    margin-bottom: .55rem;
}

.about-us-section .about-link-list li:last-child {
    margin-bottom: 0;
}

.about-us-section .about-link-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .55rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-gold);
    transition: transform .25s ease, background-color .25s ease;
}

.about-us-section .about-link-list li:hover::before {
    transform: scale(1.35);
    background: var(--brand-green);
}

.about-us-section .about-link-list a {
    display: inline-block;
    font-size: .75rem;
    line-height: 1.45;
    font-weight: 600;
    color: #1e293b;
    transition: color .25s ease, transform .25s ease;
}

.about-us-section .about-link-list a:hover {
    color: var(--brand-green);
    transform: translateX(4px);
}

.about-us-section .about-main-card .text-secondary {
    line-height: 1.8;
}

@media (max-width: 991.98px) {
    .about-us-section .about-photo-inner,
    .about-us-section .about-photo-image {
        min-height: 340px;
    }
}

@media (max-width: 767.98px) {
    .about-us-section .about-photo-inner,
    .about-us-section .about-photo-image {
        min-height: 280px;
    }

    .about-us-section .about-link-list a {
        font-size: .82rem;
    }

    .about-us-section .about-side-card .card-body,
    .about-us-section .about-main-card {
        padding: 1rem !important;
    }
}

/* ===== Contact Section Modern UI/UX ===== */
.contact-section-modern {
    position: relative;
    background:
        radial-gradient(circle at top right, rgba(15,106,62,.06), transparent 28%),
        linear-gradient(180deg, #f8fbf9 0%, #ffffff 100%);
}

.contact-shell {
    position: relative;
}

.contact-info-panel,
.contact-form-panel {
    background: #fff;
    border: 1px solid rgba(15,106,62,.10);
    border-radius: 1rem;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
    padding: 1.6rem;
    height: 100%;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.contact-info-panel:hover,
.contact-form-panel:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 44px rgba(15, 23, 42, .11);
    border-color: rgba(15,106,62,.16);
}

.contact-subtitle {
    max-width: 100%;
}

.contact-info-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: .9rem;
    border: 1px solid rgba(148,163,184,.18);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, .08);
    border-color: rgba(15,106,62,.16);
}

.contact-info-icon {
    width: 56px;
    height: 56px;
    border-radius: .95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    font-size: 1.15rem;
    transition: transform .28s ease, box-shadow .28s ease;
}

.contact-info-card:hover .contact-info-icon {
    transform: scale(1.06) rotate(2deg);
}

.contact-info-icon-success {
    background: rgba(25,135,84,.12);
    color: #198754;
}

.contact-info-icon-primary {
    background: rgba(13,110,253,.12);
    color: #0d6efd;
}

.contact-info-icon-warning {
    background: rgba(255,193,7,.16);
    color: #d39e00;
}

.contact-info-label {
    font-size: .8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #64748b;
    margin-bottom: .22rem;
}

.contact-info-value {
    display: inline-block;
    font-size: 1.02rem;
    line-height: 1.5;
    font-weight: 800;
    color: #0f172a;
    transition: color .25s ease, transform .25s ease;
}

.contact-info-card:hover .contact-info-value {
    color: var(--brand-green);
}

.contact-info-text {
    display: block;
}

.contact-info-meta {
    margin-top: .22rem;
    font-size: .88rem;
    color: #64748b;
    line-height: 1.6;
}

.contact-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.contact-mini-card {
    padding: 1rem;
    border-radius: .9rem;
    border: 1px solid rgba(148,163,184,.16);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbf9 100%);
    transition: transform .28s ease, box-shadow .28s ease;
}

.contact-mini-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(15,23,42,.08);
}

.contact-mini-title {
    font-size: .92rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: .4rem;
}

.contact-mini-text {
    font-size: .9rem;
    color: #64748b;
    line-height: 1.65;
}

.contact-mini-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-top: .45rem;
    font-size: .9rem;
    font-weight: 700;
    color: var(--brand-green);
    transition: transform .25s ease, color .25s ease;
}

.contact-mini-link:hover {
    transform: translateX(4px);
    color: var(--brand-green-dark);
}

.contact-form-panel {
    background:
        linear-gradient(180deg, rgba(15,106,62,.03) 0%, rgba(255,255,255,1) 16%),
        #fff;
}

.contact-form-head {
    border-bottom: 1px solid rgba(148,163,184,.16);
    padding-bottom: 1rem;
}

.contact-form-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem .85rem;
    border-radius: 999px;
    background: rgba(15,106,62,.08);
    color: var(--brand-green);
    font-size: .82rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.contact-form-title {
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    line-height: 1.2;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: .6rem;
}

.contact-form-text {
    color: #64748b;
    line-height: 1.75;
}

.contact-label {
    font-weight: 700;
    color: #334155;
    margin-bottom: .45rem;
}

.contact-input {
    min-height: 54px;
    border-radius: .85rem;
    border: 1px solid rgba(148,163,184,.28);
    box-shadow: none;
    transition: border-color .25s ease, box-shadow .25s ease, transform .2s ease;
}

.contact-input:focus {
    border-color: rgba(15,106,62,.55);
    box-shadow: 0 0 0 .25rem rgba(15,106,62,.10);
}

.contact-textarea {
    min-height: 180px;
    resize: vertical;
    padding-top: .9rem;
}

.contact-form-actions {
    margin-top: .5rem;
    padding-top: .75rem;
}

.contact-form-note {
    font-size: .9rem;
    color: #64748b;
    line-height: 1.6;
}

.contact-submit-btn {
    min-height: 52px;
    padding-inline: 1.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    box-shadow: 0 12px 28px rgba(15,106,62,.18);
    transition: transform .25s ease, box-shadow .25s ease;
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(15,106,62,.24);
}

@media (max-width: 991.98px) {
    .contact-info-panel,
    .contact-form-panel {
        padding: 1.25rem;
    }
}

@media (max-width: 767.98px) {
    .contact-mini-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-card {
        padding: .9rem;
    }

    .contact-info-icon {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }

    .contact-info-value {
        font-size: .96rem;
    }

    .contact-form-note {
        font-size: .84rem;
    }
}

/* ===== FIX: hero slider is collapsing ===== */
.hero-contained-wrap-v2 {
    display: grid;
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
    gap: 28px;
    align-items: stretch;
}

.hero-leader-col,
.hero-slider-col {
    min-width: 0;
}

.hero-leader-col {
    display: flex;
}

.hero-slider-col {
    display: block; /* usiache flex hapa */
}

.hero-leader-card-gov,
.hero-leader-card-v2 {
    width: 100%;
    height: 450px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero-post-slider-card,
.hero-premium-slider-card {
    width: 100%;
    height: 450px;
    min-height: 450px;
    display: block;
    position: relative;
    overflow: hidden;
}

.hero-post-slider,
.hero-post-slider-premium,
.hero-post-slide,
.hero-post-slide-premium,
.hero-post-image-wrap,
.hero-post-image-wrap-premium,
.hero-post-image,
.hero-post-image-premium {
    width: 100%;
    height: 100%;
}

.hero-leader-card-image {
    flex: 0 0 280px;
    min-height: 280px;
    overflow: hidden;
}

.hero-leader-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.hero-leader-card-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.25rem 1rem 1.35rem;
}

@media (max-width: 991.98px) {
    .hero-contained-wrap-v2 {
        grid-template-columns: 1fr;
    }

    .hero-leader-card-gov,
    .hero-leader-card-v2,
    .hero-post-slider-card,
    .hero-premium-slider-card {
        height: 400px;
        min-height: 400px;
    }

    .hero-leader-card-image {
        flex-basis: 230px;
        min-height: 230px;
    }
}

@media (max-width: 767.98px) {
    .hero-leader-card-gov,
    .hero-leader-card-v2,
    .hero-post-slider-card,
    .hero-premium-slider-card {
        height: 320px;
        min-height: 320px;
    }

    .hero-leader-card-image {
        flex-basis: 180px;
        min-height: 180px;
    }
}
/* Reduce slider title size */
.hero-post-title,
.hero-post-title-premium {
    font-size: clamp(1.45rem, 2.3vw, 2.4rem);
    line-height: 1.15;
}

/* mobile */
@media (max-width: 767.98px) {
    .hero-post-title,
    .hero-post-title-premium {
        font-size: 1.35rem;
        line-height: 1.2;
    }
}

/* Move title + description up, but keep badge in place */
.hero-post-content,
.hero-post-content-premium {
    align-items: flex-end;
    padding: 2rem 2rem 4.4rem;
}

.hero-post-content-inner-premium {
    transform: none;
}

.hero-post-badge,
.hero-post-badge-premium {
    margin-bottom: 1rem;
}

.hero-post-title,
.hero-post-title-premium,
.hero-post-text,
.hero-post-text-premium {
    position: relative;
    top: -18px;
}

.hero-post-text,
.hero-post-text-premium {
    font-size: .98rem;
    line-height: 1.65;
    max-width: 700px;
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .hero-post-content,
    .hero-post-content-premium {
        padding: 1.75rem 1.5rem 4rem;
    }

    .hero-post-title,
    .hero-post-title-premium,
    .hero-post-text,
    .hero-post-text-premium {
        top: -12px;
    }

    .hero-post-text,
    .hero-post-text-premium {
        font-size: .92rem;
        line-height: 1.6;
    }
}

@media (max-width: 767.98px) {
    .hero-post-content,
    .hero-post-content-premium {
        padding: 1.25rem 1.1rem 3.5rem;
    }

    .hero-post-title,
    .hero-post-title-premium,
    .hero-post-text,
    .hero-post-text-premium {
        top: -8px;
    }

    .hero-post-text,
    .hero-post-text-premium {
        font-size: .88rem;
        line-height: 1.55;
    }
}

/* ===== Hero stay in one row on tablet + mobile ===== */
@media (max-width: 1199.98px) {
    .hero-contained-wrap-v2 {
        grid-template-columns: minmax(220px, 30%) minmax(0, 70%) !important;
        gap: 16px;
        align-items: stretch;
    }

    .hero-leader-col,
    .hero-slider-col {
        min-width: 0;
    }

    .hero-leader-card-gov,
    .hero-leader-card-v2,
    .hero-post-slider-card,
    .hero-premium-slider-card,
    .hero-post-slider,
    .hero-post-slider-premium,
    .hero-post-slide,
    .hero-post-slide-premium,
    .hero-post-image-wrap,
    .hero-post-image-wrap-premium,
    .hero-post-image,
    .hero-post-image-premium {
        height: 360px !important;
    }

    .hero-leader-card-gov,
    .hero-leader-card-v2 {
        display: flex !important;
        flex-direction: column !important;
    }

    .hero-leader-card-image {
        flex: 0 0 230px;
        min-height: 230px;
    }

    .hero-post-title,
    .hero-post-title-premium {
        font-size: clamp(1.35rem, 2.2vw, 2rem) !important;
    }

    .hero-post-text,
    .hero-post-text-premium {
        font-size: .9rem;
        line-height: 1.5;
    }

    .hero-post-content,
    .hero-post-content-premium {
        padding: 1rem 1rem 2.6rem;
    }
}

@media (max-width: 767.98px) {
    .hero-contained-wrap-v2 {
        grid-template-columns: minmax(120px, 34%) minmax(0, 66%) !important;
        gap: 10px;
    }

    .hero-leader-card-gov,
    .hero-leader-card-v2,
    .hero-post-slider-card,
    .hero-premium-slider-card,
    .hero-post-slider,
    .hero-post-slider-premium,
    .hero-post-slide,
    .hero-post-slide-premium,
    .hero-post-image-wrap,
    .hero-post-image-wrap-premium,
    .hero-post-image,
    .hero-post-image-premium {
        height: 250px !important;
    }

    .hero-leader-card-image {
        flex: 0 0 150px;
        min-height: 150px;
    }

    .hero-leader-card-body {
        padding: .75rem .6rem .8rem;
    }

    .hero-leader-card-name {
        font-size: 1rem;
        line-height: 1.2;
    }

    .hero-leader-card-title {
        font-size: .85rem;
    }

    .hero-leader-badge {
        font-size: .68rem;
        padding: .35rem .6rem;
        margin-bottom: .6rem;
    }

    .hero-post-title,
    .hero-post-title-premium {
        font-size: 1.05rem !important;
        line-height: 1.12;
        margin-bottom: .45rem;
    }

    .hero-post-text,
    .hero-post-text-premium {
        font-size: .78rem;
        line-height: 1.4;
        max-width: 100%;
    }

    .hero-post-badge,
    .hero-post-badge-premium {
        font-size: .68rem;
        padding: .35rem .6rem;
        margin-bottom: .55rem;
    }

    .hero-post-content,
    .hero-post-content-premium {
        padding: .8rem .8rem 2.1rem;
    }

    .hero-post-nav-btn-premium {
        width: 34px;
        height: 34px;
    }

    .hero-post-controls,
    .hero-post-controls-premium {
        bottom: .6rem;
    }

    .hero-dot {
        width: 8px;
        height: 8px;
    }

    .hero-dot.active {
        width: 20px;
    }
}

/* ===== Sticky nav only on scroll ===== */
.site-header {
    position: relative !important;
    top: auto !important;
    z-index: auto !important;
}

.main-navbar {
    position: sticky;
    top: 0;
    z-index: 1040;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    transition: box-shadow .25s ease, background .25s ease;
}

.site-header.is-sticky .main-navbar {
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
}
/* ===== Make only nav sticky ===== */
.site-header {
    position: relative !important;
    top: auto !important;
    z-index: 1030;
    background: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
}

.site-header-top {
    position: relative;
    z-index: 1;
}

.main-navbar {
    position: sticky;
    top: 0;
    z-index: 1045;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.site-header.is-sticky .main-navbar {
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
}

/* ===== Premium animated government nav dropdown ===== */

/* Main nav links */
.main-navbar .nav-link {
    position: relative;
    overflow: hidden;
    transition: color .25s ease, background-color .25s ease, transform .25s ease;
}

.main-navbar .nav-link::before {
    content: "";
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: .7rem;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #f3b308, #ffd54a);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .28s ease;
}

.main-navbar .nav-item:hover > .nav-link::before,
.main-navbar .nav-item:focus-within > .nav-link::before,
.main-navbar .nav-link.active::before {
    transform: scaleX(1);
}

.main-navbar .nav-item:hover > .nav-link,
.main-navbar .nav-item:focus-within > .nav-link {
    background: rgba(255,255,255,.12);
    color: #fff;
}

/* Dropdown panel */
.main-navbar .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(14px) scale(.98);
    transform-origin: top center;
    transition:
        opacity .26s ease,
        transform .26s ease,
        visibility .26s ease;
    margin-top: 0;
    min-width: 270px;
    padding: 0;
    border: 0 !important;
    border-radius: 1rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.18);
}

/* top colored strip */
.main-navbar .dropdown-menu::before {
    content: "";
    display: block;
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, #0f6a3e 0%, #149253 55%, #f3b308 100%);
}

/* Show state desktop */
@media (min-width: 1200px) {
    .main-navbar .nav-item.dropdown:hover > .dropdown-menu,
    .main-navbar .nav-item.dropdown:focus-within > .dropdown-menu,
    .main-navbar .dropdown-submenu:hover > .dropdown-menu,
    .main-navbar .dropdown-submenu:focus-within > .dropdown-menu,
    .main-navbar .dropdown-menu.show {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }
}

/* Dropdown inner spacing */
.main-navbar .dropdown-menu > li {
    position: relative;
}

.main-navbar .dropdown-item {
    position: relative;
    padding: .9rem 1.05rem;
    font-weight: 600;
    color: #1f2937;
    background: #fff;
    transition:
        background-color .22s ease,
        color .22s ease,
        padding-left .22s ease;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.main-navbar .dropdown-menu > li:last-child > .dropdown-item,
.main-navbar .dropdown-menu > li:last-child > .dropdown-toggle {
    border-bottom: 0;
}

.main-navbar .dropdown-item::before {
    content: "";
    position: absolute;
    left: .8rem;
    top: 50%;
    width: 0;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, #0f6a3e, #f3b308);
    transform: translateY(-50%);
    transition: width .22s ease;
}

.main-navbar .dropdown-item:hover,
.main-navbar .dropdown-item:focus,
.main-navbar .dropdown-submenu:hover > .dropdown-toggle,
.main-navbar .dropdown-submenu:focus-within > .dropdown-toggle {
    background: linear-gradient(90deg, rgba(15,106,62,.08), rgba(243,179,8,.08));
    color: #0b6b3a;
    padding-left: 1.45rem;
}

.main-navbar .dropdown-item:hover::before,
.main-navbar .dropdown-item:focus::before,
.main-navbar .dropdown-submenu:hover > .dropdown-toggle::before,
.main-navbar .dropdown-submenu:focus-within > .dropdown-toggle::before {
    width: 10px;
}

/* submenu position + animation */
.main-navbar .dropdown-submenu {
    position: relative;
}

.main-navbar .dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: 0;
    margin-left: .4rem;
    transform: translateX(12px) scale(.98);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    min-width: 260px;
}

@media (min-width: 1200px) {
    .main-navbar .dropdown-submenu:hover > .dropdown-menu,
    .main-navbar .dropdown-submenu:focus-within > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(0) scale(1);
    }
}

/* Arrow style */
.main-navbar .dropdown-submenu > .dropdown-toggle::after,
.main-navbar .nav-item.dropdown > .nav-link.dropdown-toggle::after {
    transition: transform .22s ease;
}

.main-navbar .nav-item.dropdown:hover > .nav-link.dropdown-toggle::after,
.main-navbar .nav-item.dropdown:focus-within > .nav-link.dropdown-toggle::after {
    transform: rotate(180deg);
}

.main-navbar .dropdown-submenu:hover > .dropdown-toggle::after,
.main-navbar .dropdown-submenu:focus-within > .dropdown-toggle::after {
    transform: translateX(2px);
}

/* Mobile/tablet menu improved */
@media (max-width: 1199.98px) {
    .main-navbar .navbar-collapse {
        background: linear-gradient(180deg, #0f6a3e 0%, #0b5a35 100%);
        border-top: 1px solid rgba(255,255,255,.08);
        border-bottom-left-radius: 1rem;
        border-bottom-right-radius: 1rem;
        box-shadow: 0 18px 40px rgba(2, 22, 15, .18);
        margin-top: 0;
        padding: .6rem 1rem 1rem;
    }

    .main-navbar .nav-link {
        border-radius: .8rem;
        padding: .9rem 1rem;
    }

    .main-navbar .nav-link::before {
        left: .9rem;
        right: .9rem;
        bottom: .45rem;
    }

    .main-navbar .dropdown-menu {
        display: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        border-radius: .9rem;
        margin: .3rem 0 .7rem;
        background: rgba(255,255,255,.98);
        box-shadow: inset 0 0 0 1px rgba(15,106,62,.08), 0 10px 25px rgba(15,23,42,.10);
    }

    .main-navbar .dropdown-menu.show {
        display: block;
    }

    .main-navbar .dropdown-submenu > .dropdown-menu {
        left: 0;
        margin-left: 0;
        margin-top: .35rem;
        transform: none;
        min-width: 100%;
    }

    .main-navbar .dropdown-item,
    .main-navbar .dropdown-submenu > .dropdown-toggle {
        font-size: .95rem;
    }

    .main-navbar .dropdown-item:hover,
    .main-navbar .dropdown-item:focus,
    .main-navbar .dropdown-submenu:hover > .dropdown-toggle,
    .main-navbar .dropdown-submenu:focus-within > .dropdown-toggle {
        padding-left: 1.2rem;
    }
}

/* subtle nav entrance when sticky */
.site-header.is-sticky .main-navbar {
    animation: navSlideDown .28s ease;
}

@keyframes navSlideDown {
    from {
        transform: translateY(-10px);
        opacity: .92;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.main-navbar .navbar-nav {
    gap: .35rem;
}

.main-navbar .nav-link {
    min-height: 56px;
    font-size: .98rem;
    letter-spacing: .01em;
}
/* ===== Dropdown behavior fix ===== */
@media (min-width: 1200px) {
    .main-navbar .dropdown-menu {
        overflow: visible !important;
    }

    .main-navbar .nav-item.dropdown > .dropdown-menu,
    .main-navbar .dropdown-submenu > .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .main-navbar .nav-item.dropdown.menu-hover-open > .dropdown-menu,
    .main-navbar .dropdown-submenu.submenu-open > .dropdown-menu,
    .main-navbar .dropdown-menu.show {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .main-navbar .nav-item.dropdown:hover > .dropdown-menu,
    .main-navbar .dropdown-submenu:hover > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .main-navbar .dropdown-submenu {
        position: relative;
    }

    .main-navbar .dropdown-submenu > .dropdown-menu {
        top: -4px;
        left: calc(100% + 8px);
        margin-left: 0;
        min-width: 260px;
    }
}

@media (max-width: 1199.98px) {
    .main-navbar .nav-item.dropdown > .dropdown-menu.show,
    .main-navbar .dropdown-submenu > .dropdown-menu.show {
        display: block !important;
    }

    .main-navbar .dropdown-submenu.submenu-open > .dropdown-toggle,
    .main-navbar .nav-item.dropdown > .nav-link.dropdown-toggle[aria-expanded="true"] {
        background: rgba(15, 106, 62, 0.08);
        color: #0b6b3a;
    }

    .main-navbar .dropdown-submenu > .dropdown-menu {
        padding-left: .75rem;
        margin-top: .35rem;
    }
}

/* ===== MOBILE/TABLET submenu visibility fix ===== */
@media (max-width: 1199.98px) {
    .main-navbar .dropdown-menu {
        display: none;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: none !important;
        position: static !important;
        overflow: hidden;
    }

    .main-navbar .dropdown-menu.show {
        display: block !important;
    }

    /* item iliyoclickiwa ibaki ionekane */
    .main-navbar .dropdown-submenu > .dropdown-toggle {
        position: relative;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: #f8fafc;
        color: #1f2937;
        font-weight: 700;
        border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    }

    .main-navbar .dropdown-submenu.submenu-open > .dropdown-toggle {
        background: linear-gradient(90deg, rgba(15,106,62,.10), rgba(243,179,8,.10));
        color: #0b6b3a;
    }

    /* submenu ya level ya ndani ionekane chini ya item iliyoclickiwa */
    .main-navbar .dropdown-submenu > .dropdown-menu {
        display: none;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: none !important;
        position: static !important;
        min-width: 100% !important;
        margin: 0 !important;
        padding: .35rem 0 .35rem .85rem;
        background: #ffffff;
        border: 0 !important;
        border-top: 1px solid rgba(15, 23, 42, 0.06) !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .main-navbar .dropdown-submenu > .dropdown-menu.show {
        display: block !important;
    }

    /* inner items zisionekane plain tupu */
    .main-navbar .dropdown-submenu > .dropdown-menu > li > .dropdown-item,
    .main-navbar .dropdown-submenu > .dropdown-menu > li > .dropdown-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: .8rem .95rem;
        color: #334155;
        background: #fff;
        border-bottom: 1px solid rgba(15, 23, 42, 0.05);
        white-space: normal;
    }

    .main-navbar .dropdown-submenu > .dropdown-menu > li:last-child > .dropdown-item,
    .main-navbar .dropdown-submenu > .dropdown-menu > li:last-child > .dropdown-toggle {
        border-bottom: 0;
    }

    /* third level */
    .main-navbar .dropdown-submenu .dropdown-submenu > .dropdown-menu {
        display: none;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: none !important;
        position: static !important;
        margin: 0 !important;
        padding: .35rem 0 .35rem .75rem;
        background: #f8fafc;
        border-top: 1px solid rgba(15, 23, 42, 0.05) !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .main-navbar .dropdown-submenu .dropdown-submenu > .dropdown-menu.show {
        display: block !important;
    }

    .main-navbar .dropdown-submenu .dropdown-submenu.submenu-open > .dropdown-toggle {
        background: rgba(15,106,62,.08);
        color: #0b6b3a;
    }
}

/* ===== Topbar social white + language dropdown flags ===== */
.topbar-social,
.topbar-social:link,
.topbar-social:visited {
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    transition: all .22s ease;
}

.topbar-social:hover,
.topbar-social:focus {
    color: #ffffff !important;
    background: rgba(255,255,255,.12);
    transform: translateY(-1px);
}

.language-switcher {
    color: #fff !important;
    border-color: rgba(255,255,255,.45) !important;
}

.language-switcher:hover,
.language-switcher:focus {
    color: #fff !important;
    background: rgba(255,255,255,.08) !important;
    border-color: rgba(255,255,255,.7) !important;
}

.language-menu {
    min-width: 180px;
    padding: .35rem 0;
    overflow: hidden;
}

.language-menu .dropdown-item {
    font-weight: 600;
    padding: .7rem .95rem;
}

.language-menu .dropdown-item.active,
.language-menu .dropdown-item:hover,
.language-menu .dropdown-item:focus {
    background: linear-gradient(90deg, rgba(15,106,62,.08), rgba(243,179,8,.08));
    color: #0b6b3a;
}

.flag-emoji {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.4rem;
    font-size: 1rem;
    line-height: 1;
}

/* ===== Topbar language dropdown fix ===== */
.topbar {
    position: relative;
    z-index: 1100;
    overflow: visible !important;
}

.topbar .dropdown {
    position: relative;
}

.topbar .dropdown-menu,
.language-menu {
    z-index: 1200 !important;
    min-width: 190px;
    margin-top: .45rem;
    overflow: hidden;
    border-radius: .75rem;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
}

.language-switcher {
    position: relative;
    z-index: 1201;
}

.flag-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 22px;
    padding: 0 .45rem;
    border-radius: .45rem;
    background: rgba(255,255,255,.14);
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .03em;
}

.language-menu .flag-badge {
    background: rgba(15,106,62,.10);
    color: #0b6b3a;
}

.language-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .72rem .95rem;
    font-weight: 600;
}

.language-menu .dropdown-item.active,
.language-menu .dropdown-item:hover,
.language-menu .dropdown-item:focus {
    background: linear-gradient(90deg, rgba(15,106,62,.08), rgba(243,179,8,.08));
    color: #0b6b3a;
}

.topbar-social,
.topbar-social:link,
.topbar-social:visited {
    color: #fff !important;
}

/* ===== Language dropdown with flag images ===== */
.topbar,
.topbar .container,
.topbar .dropdown {
    overflow: visible !important;
}

.topbar {
    position: relative;
    z-index: 1200;
}

.language-switcher {
    color: #fff !important;
    border-color: rgba(255,255,255,.45) !important;
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: .38rem .8rem;
    border-radius: .5rem;
    background: rgba(255,255,255,.04);
}

.language-switcher:hover,
.language-switcher:focus,
.language-switcher.show {
    color: #fff !important;
    background: rgba(255,255,255,.08) !important;
    border-color: rgba(255,255,255,.7) !important;
    box-shadow: none !important;
}

.language-menu {
    min-width: 210px;
    margin-top: .45rem !important;
    border-radius: .8rem !important;
    overflow: hidden;
    border: 0 !important;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18) !important;
    z-index: 1300 !important;
}

.language-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .78rem 1rem;
    font-weight: 600;
}

.language-menu .dropdown-item.active,
.language-menu .dropdown-item:hover,
.language-menu .dropdown-item:focus {
    background: linear-gradient(90deg, rgba(15,106,62,.08), rgba(243,179,8,.08));
    color: #0b6b3a;
}

.language-flag-image {
    width: 22px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0,0,0,.08);
    flex: 0 0 auto;
}

/* ===== Final topbar language dropdown ===== */

/* topbar ibaki ndogo */
.topbar {
    font-size: .9rem;
    line-height: 1.2;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    position: relative;
    z-index: 1200;
    overflow: visible !important;
}

.topbar .container,
.topbar .dropdown,
.topbar .dropdown-menu {
    overflow: visible !important;
}

.topbar .py-2 {
    padding-top: .42rem !important;
    padding-bottom: .42rem !important;
}

/* social ziwe nyeupe na ndogo */
.topbar-social,
.topbar-social:link,
.topbar-social:visited {
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    font-size: .95rem;
    transition: all .2s ease;
}

.topbar-social:hover,
.topbar-social:focus {
    color: #fff !important;
    transform: translateY(-1px);
}

/* language dropdown wrapper */
.topbar-language-dropdown {
    position: relative;
}

/* button isiwe kubwa */
.language-switcher {
    color: #fff !important;
    border-color: rgba(255,255,255,.38) !important;
    background: rgba(255,255,255,.03) !important;
    display: inline-flex;
    align-items: center;
    gap: .42rem;
    min-height: 30px;
    padding: .22rem .62rem !important;
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.1;
    border-radius: .38rem;
    box-shadow: none !important;
}

.language-switcher:hover,
.language-switcher:focus,
.language-switcher.show {
    color: #fff !important;
    background: rgba(255,255,255,.08) !important;
    border-color: rgba(255,255,255,.62) !important;
    box-shadow: none !important;
}

.language-switcher::after {
    margin-left: .35rem;
    vertical-align: middle;
}

.language-switcher-label {
    white-space: nowrap;
}

/* flag image yako 24x18 */
.language-flag-image {
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 2px;
    flex: 0 0 auto;
    box-shadow: 0 0 0 1px rgba(0,0,0,.10);
}

/* dropdown menu */
.language-menu {
    min-width: 200px;
    margin-top: .35rem !important;
    padding: .35rem 0;
    border-radius: .7rem !important;
    overflow: hidden;
    border: 0 !important;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.16) !important;
    z-index: 1300 !important;
}

.language-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .68rem .9rem;
    font-size: .92rem;
    font-weight: 600;
}

.language-menu .dropdown-item.active,
.language-menu .dropdown-item:hover,
.language-menu .dropdown-item:focus {
    background: linear-gradient(90deg, rgba(15,106,62,.08), rgba(243,179,8,.08));
    color: #0b6b3a;
}

/* mobile topbar balance */
@media (max-width: 767.98px) {
    .topbar {
        font-size: .82rem;
    }

    .topbar .py-2 {
        padding-top: .35rem !important;
        padding-bottom: .35rem !important;
    }

    .language-switcher {
        min-height: 28px;
        padding: .18rem .52rem !important;
        font-size: .82rem;
    }

    .language-flag-image {
        width: 20px;
        height: 15px;
    }

    .language-menu {
        min-width: 180px;
    }

    .language-menu .dropdown-item {
        font-size: .86rem;
        padding: .62rem .8rem;
    }
}

/* ===== Footer logo center improvement ===== */
.footer-logo-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-main-logo {
    max-width: 120px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* ===== Partner logos improved ===== */
.partner-slider-viewport {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 15px 0;
    /* Effect ya kufifia mwanzoni na mwishoni mwa slider */
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.partner-logo-track {
    display: flex;
    width: max-content;
    gap: 4rem;
    align-items: center;
    /* Nimeongeza muda kuwa 40s ili iwe slow, na nimebadili jina la animation */
    animation: partnerTickerStep 40s ease-in-out infinite;
    will-change: transform;
}

/* Inasimama pale mtumiaji anapoweka mshale (mouse) */
.partner-logo-track:hover {
    animation-play-state: paused;
}

.partner-logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 90px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.partner-logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.partner-logo-item:hover {
    transform: translateY(-5px) scale(1.05);
}

/* ===== HAPA NDIYO KUNA MAAJABU YA KUSLIDE NA KUPAUSE ===== */
@keyframes partnerTickerStep {
    0%, 12%  { transform: translateX(0%); }      /* Inasimama */
    18%, 32% { transform: translateX(-10%); }    /* Inaslide na kusimama */
    38%, 52% { transform: translateX(-20%); }    /* Inaslide na kusimama */
    58%, 72% { transform: translateX(-30%); }    /* Inaslide na kusimama */
    78%, 92% { transform: translateX(-40%); }    /* Inaslide na kusimama */
    98%, 100%{ transform: translateX(-50%); }    /* Inamalizia mzunguko tayari kurudia */
}

/* Mpangilio wa kwenye Simu */
@media (max-width: 768px) {
    .partner-logo-track { gap: 2.5rem; }
    .partner-logo-item { width: 130px; height: 65px; }
}

.about-photo-card {
    display: flex;
    min-height: 100%;
}

.about-photo-inner {
    width: 100%;
    min-height: 100%;
    display: flex;
}

.about-photo-image {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.about-us-section .col-lg-4,
.about-us-section .col-lg-5,
.about-us-section .col-lg-3 {
    display: flex;
}

.about-main-card,
.about-side-stack,
.about-photo-card {
    width: 100%;
}

.about-side-stack {
    min-height: 100%;
}

.about-side-card {
    flex: 1 1 auto;
}

/* ===== Safe fix for card clipping without breaking sliders ===== */
.service-card,
.service-card-gov,
.news-card,
.news-card-gov,
.project-card,
.project-card-gov {
    overflow: hidden;
    /*padding-top: 6px;*/
    padding-bottom: 6px;
    box-sizing: border-box;
}

.service-card .card-body,
.service-card-gov .card-body,
.news-card .card-body,
.news-card-gov .card-body,
.project-card .card-body,
.project-card-gov .card-body {
    padding-bottom: 1.25rem;
}

.service-icon,
.news-image-wrap,
.project-image-wrap {
    position: relative;
    z-index: 1;
}

.service-card:hover,
.service-card-gov:hover,
.news-card:hover,
.news-card-gov:hover,
.project-card:hover,
.project-card-gov:hover {
    transform: translateY(-2px);
}

#services .service-card-gov {
    border-top: 4px solid #198754;
}

#services .custom-carousel-item {
    padding-top: 4px;
    padding-bottom: 4px;
}

#news .news-card-gov {
    border-top: 4px solid #198754;
}

#news .custom-carousel-item {
    padding-top: 4px;
    padding-bottom: 4px;
}

#projects .project-card-gov {
    border-top: 4px solid #198754;
}

#projects .custom-carousel-item {
    padding-top: 4px;
    padding-bottom: 4px;
}

/* ===== Documents module ===== */
.documents-page .documents-hero {
    margin-bottom: 2rem;
}

.document-category-card,
.document-list-card {
    border-radius: 1rem;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    border-top: 4px solid rgba(25, 135, 84, 0.9);
    background: #fff;
}

.gov-animated-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.10) !important;
}

.document-category-icon {
    width: 54px;
    height: 54px;
    border-radius: 1rem;
    background: rgba(25, 135, 84, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.document-count-badge {
    min-width: 40px;
    height: 40px;
    border-radius: 999px;
    background: #eef7f1;
    color: #198754;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 .75rem;
}

.document-category-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-weight: 600;
    color: #198754;
}

.document-file-badge {
    min-width: 58px;
    height: 58px;
    border-radius: 1rem;
    background: linear-gradient(135deg, #198754, #0f5132);
    color: #fff;
    font-size: .82rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 .6rem;
    letter-spacing: .04em;
    box-shadow: 0 12px 24px rgba(25, 135, 84, 0.20);
}

.document-download-btn {
    min-width: 150px;
    border-radius: .75rem;
    box-shadow: 0 10px 20px rgba(25, 135, 84, 0.18);
}

@media (max-width: 767.98px) {
    .document-file-badge {
        min-width: 50px;
        height: 50px;
        border-radius: .85rem;
        font-size: .76rem;
    }

    .document-download-btn {
        width: 100%;
    }
}

.structure-category-card,
.structure-profile-card {
    border-radius: 1.15rem;
    border-top: 4px solid rgba(25, 135, 84, 0.95);
    transition: transform .25s ease, box-shadow .25s ease;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbfa 100%);
}

.gov-animated-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.10) !important;
}

.structure-profile-photo-wrap {
    width: 128px;
    height: 128px;
    margin: 0 auto;
    border-radius: 50%;
    padding: 6px;
    background: linear-gradient(135deg, #198754, #4fd1c5);
    box-shadow: 0 16px 28px rgba(25, 135, 84, 0.18);
}

.structure-profile-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
}

.structure-department-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .4rem .8rem;
    border-radius: 999px;
    background: rgba(25, 135, 84, 0.10);
    color: #198754;
    font-size: .8rem;
    font-weight: 700;
}

.structure-tree-card {
    position: relative;
}

@media (max-width: 767.98px) {
    .structure-profile-photo-wrap {
        width: 108px;
        height: 108px;
    }
}

/* ===== Organization tree view ===== */
/* ===== Improved organization tree layout ===== */
.structure-page .container {
    overflow: visible;
}

.org-tree-wrap {
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    padding: 1.5rem 2rem 2.5rem;
}

.org-tree-wrap::-webkit-scrollbar {
    height: 10px;
}

.org-tree-wrap::-webkit-scrollbar-thumb {
    background: rgba(25, 135, 84, 0.25);
    border-radius: 999px;
}

.org-tree,
.org-tree ul {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.org-tree {
    min-width: max-content;
    display: flex;
    justify-content: center;
}

.org-tree ul {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 1.5rem;
    padding-top: 3rem;
    min-width: max-content;
}

.org-tree li {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 250px;
    padding: 0 .5rem;
}

/* vertical line from current card down to children area */
.org-tree li > ul::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 1.5rem;
    background: #cfd8d3;
    transform: translateX(-50%);
}

/* top horizontal line across child row */
.org-tree li > ul::after {
    content: '';
    position: absolute;
    top: 1.5rem;
    left: 50%;
    width: 0;
    height: 2px;
    background: #cfd8d3;
    /* We'll refine the width/position using child selectors or just keep it robust */
}

/* Adjustments for horizontal connector width */
.org-tree li > ul > li:first-child::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 2px;
    background: #cfd8d3;
}

.org-tree li > ul > li:last-child::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 2px;
    background: #cfd8d3;
}

.org-tree li > ul > li:not(:first-child):not(:last-child)::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #cfd8d3;
}

/* vertical connectors from horizontal line to each child card */
.org-tree li > ul > li::before {
    content: '';
    position: absolute;
    top: -1.5rem;
    left: 50%;
    width: 2px;
    height: 1.5rem;
    background: #cfd8d3;
    transform: translateX(-50%);
}

/* no horizontal line if only one child */
.org-tree li > ul:has(> li:only-child)::after {
    display: none;
}

.org-tree li > ul > li:only-child::before {
    top: -1.5rem;
}

/* root list should not add fake connectors above */
.org-tree > li::before,
.org-tree > li::after {
    display: none;
}

/* card */
.org-node-card {
    width: 250px;
    border-radius: 1.15rem;
    border-top: 4px solid rgba(25, 135, 84, 0.95);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbf9 100%);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    transition: transform .25s ease, box-shadow .25s ease;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.org-node-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
}

.org-node-photo-wrap {
    width: 110px;
    height: 110px;
    margin: 1.2rem auto .75rem;
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(135deg, #198754, #4fd1c5);
    box-shadow: 0 12px 24px rgba(25, 135, 84, 0.18);
}

.org-node-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background: #fff;
    display: block;
}

.org-node-body {
    padding: 0 1rem 1.2rem;
    text-align: center;
}

.org-node-department {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .55rem;
    padding: .35rem .75rem;
    border-radius: 999px;
    background: rgba(25, 135, 84, 0.10);
    color: #198754;
    font-size: .76rem;
    font-weight: 700;
}

.org-node-name {
    font-size: 1.02rem;
    font-weight: 800;
    margin: 0 0 .2rem;
    color: #0f172a;
}

.org-node-title {
    font-size: .9rem;
    font-weight: 600;
    color: #198754;
    margin-bottom: .55rem;
}

.org-node-bio {
    font-size: .85rem;
    color: #475569;
    margin: 0;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.org-node-card:hover .org-node-photo-wrap {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(25, 135, 84, 0.25);
}

.org-node-photo-wrap {
    transition: transform .3s ease, box-shadow .3s ease;
}

.org-tree li > ul::after {
    left: 0;
    right: 0;
}

.org-tree li > ul > li:first-child::after {
    display: none;
}

/* Custom styles for grid layout profile cards */
.structure-profile-card {
    transition: all .35s cubic-bezier(0.4, 0, 0.2, 1);
}

.structure-profile-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12) !important;
}

.structure-profile-photo-wrap {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    transition: transform .35s ease;
}

.structure-profile-card:hover .structure-profile-photo-wrap {
    transform: scale(1.08) rotate(2deg);
}

.structure-profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-title-divider {
    width: 60px;
    height: 4px;
    background: var(--brand-gold);
    border-radius: 999px;
}

/* make top/root node slightly bigger */
.org-tree > li > .org-node-card {
    width: 280px;
}

.org-tree > li > .org-node-card .org-node-photo-wrap {
    width: 120px;
    height: 120px;
}

@media (max-width: 991.98px) {
    .org-tree-wrap {
        padding: 1rem 1rem 2rem;
    }

    .org-tree li {
        min-width: 220px;
    }

    .org-node-card {
        width: 220px;
    }

    .org-tree > li > .org-node-card {
        width: 250px;
    }
}

@media (max-width: 767.98px) {
    .org-tree ul {
        gap: 1rem;
    }

    .org-tree li {
        min-width: 190px;
        padding: 0 .25rem;
    }

    .org-node-card {
        width: 190px;
    }

    .org-tree > li > .org-node-card {
        width: 220px;
    }

    .org-node-photo-wrap {
        width: 92px;
        height: 92px;
    }

    .org-tree > li > .org-node-card .org-node-photo-wrap {
        width: 102px;
        height: 102px;
    }
}

.gov-functions-card {
    border-radius: 1.2rem;
    border-top: 4px solid rgba(25, 135, 84, 0.95);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbf9 100%);
}

.cbt-function-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    height: 100%;
    padding: 1rem 1rem 1rem 1rem;
    border-radius: 1rem;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.cbt-function-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
    border-color: rgba(25, 135, 84, 0.18);
}

.cbt-function-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(25, 135, 84, 0.10);
    color: #198754;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-top: .1rem;
}

.cbt-function-text {
    color: #334155;
    line-height: 1.65;
    font-size: .97rem;
}

@media (max-width: 767.98px) {
    .cbt-function-item {
        padding: .9rem;
    }

    .cbt-function-text {
        font-size: .93rem;
    }
}

/* Container inayoruhusu tree ku-scroll upande upande kwenye simu */
.org-tree-outer-wrap {
    width: 100%;
    overflow-x: auto;
    text-align: center;
    padding: 40px 0;
}

/* Format za msingi za list zikilazimishwa kutumia Flexbox */
.org-tree, .org-tree ul {
    display: flex;
    justify-content: center;
    position: relative;
    padding-top: 30px; /* Nafasi ya mstari wa wima unaoshuka */
    list-style: none;
    padding-left: 0;
    margin: 0;
}

/* Kila node itumie Flexbox kujipanga kwenda chini */
.org-tree li {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 30px 10px 0 10px;
}

/* MSTARI WA ULALO WA JUU (Inaunganisha ndugu) */
.org-tree li::before,
.org-tree li::after {
    content: '';
    position: absolute;
    top: 0;
    width: 50%;
    height: 30px;
    border-top: 2px solid #a3a3a3; /* Rangi ya Mstari */
}

/* Mstari wa kushoto na kulia */
.org-tree li::before {
    left: 0;
    border-right: 1px solid #a3a3a3;
}
.org-tree li::after {
    right: 0;
    border-left: 1px solid #a3a3a3;
}

/* Futa mistari inayozidi mwanzoni na mwishoni */
.org-tree li:first-child::before,
.org-tree li:last-child::after {
    border: 0 none;
}

/* Kama kuna mtoto mmoja tu, asipewe mistari ya ulalo */
.org-tree li:only-child::before,
.org-tree li:only-child::after {
    display: none;
}
.org-tree li:only-child {
    padding-top: 0;
}

/* MSTARI WA WIMA (Unatoka kwa mzazi kushuka chini) */
.org-tree ul::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    border-left: 2px solid #a3a3a3;
    width: 0;
    height: 30px;
    transform: translateX(-50%);
}

/* Muonekano wa Kadi */
.org-node-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    min-width: 200px;
    max-width: 250px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    position: relative;
    z-index: 2; /* Inahakikisha kadi ipo juu ya mistari */
    border: 1px solid #eef2f5;
}

/* Kuhakikisha picha haiharibiwi */
.org-node-photo-wrap img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #00a980; /* Rangi ya kijani inayoendana na design yako */
    margin-bottom: 12px;
}

/* Kusafisha maandishi */
.org-node-name {
    font-size: 16px;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 5px;
}
.org-node-title {
    font-size: 13px;
    font-weight: 600;
    color: #00a980;
    margin-bottom: 8px;
}
.org-node-department {
    display: inline-block;
    background: #e0f2ec;
    color: #00a980;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    margin-bottom: 10px;
    font-weight: bold;
}

.service-section-image {
    /* color | image | repeat | attachment | position */
    background: linear-gradient(
            rgba(10, 35, 23, 0.9),
            rgba(10, 35, 23, 0.9)
    ),
    url("/images/service.jpg") no-repeat center;
    background-size: cover;
}

.project-section-image {
    /* color | image | repeat | attachment | position */
    background: linear-gradient(
            rgba(10, 35, 23, 0.9),
            rgba(10, 35, 23, 0.9)
    ),
    url("/images/service.jpg") no-repeat center;
    background-size: cover;
}

.contact-section-image {
    /* color | image | repeat | attachment | position */
    background: linear-gradient(
            rgba(10, 35, 23, 0.9),
            rgba(10, 35, 23, 0.9)
    ),
    url("/images/service.jpg") no-repeat center;
    background-size: cover;
}