:root {
    --brand: #0b8f43;
    --brand-dark: #0f6d3d;
    --gold: #f2c318;
    --red: #d8232a;
    --ink: #101828;
    --muted: #667085;
    --line: rgba(16, 24, 40, .09);
    --soft: #f7f9fb;
    --white: #fff;
    --shadow: 0 18px 50px rgba(16, 24, 40, .08);
    --shadow-soft: 0 10px 28px rgba(15, 23, 42, .08);
    --radius: 24px;
    --radius-lg: 30px;
    --radius-md: 20px;
    --radius-sm: 18px;
    --card-border: 1px solid rgba(15, 23, 42, .06);
    --card-shadow: 0 14px 32px rgba(15, 23, 42, .06);
    --card-shadow-hover: 0 18px 40px rgba(15, 23, 42, .10);
    --surface-muted: #f8fafc;
    --surface-light: #f8f9fa;
    --text-soft: #475467;
    --text-body: #5d6777;
    --heading: #152238;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--ink);
    background: #fff;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

.page-wrap {
    overflow: hidden;
}

/* =========================
   GENERIC UI
========================= */
section {
    padding: 3rem 0;
}

.section-kicker {
    color: var(--brand);
    font-size: .82rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: .9rem;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: 0;
    margin-bottom: 1rem;
}

.section-text {
    color: var(--muted);
    line-height: 1.8;
    font-size: 1.02rem;
}

.mini-title {
    font-size: 1.14rem;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: .7rem;
    color: var(--heading);
}

.note-chip,
.service-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    padding: .42rem .85rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    line-height: 1;
    background: rgba(25, 135, 84, .10);
    color: #198754;
}

.soft-section {
    background: var(--soft);
}

.visual-frame {
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    background: #fff;
}

.visual-frame img {
    display: block;
    width: 100%;
    height: auto;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 8rem 0 3.5rem;
    background:
            linear-gradient(135deg, rgba(11, 143, 67, .11), transparent 34%),
            linear-gradient(225deg, rgba(242, 195, 24, .16), transparent 32%),
            linear-gradient(180deg, #fff 0%, #f7faf8 100%);
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(11, 143, 67, .24), transparent);
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero .section-title {
    margin-bottom: .7rem;
    max-width: 900px;
    line-height: 1.12;
}

.page-hero .section-text {
    max-width: 820px;
}

.modern-page-hero .section-kicker {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .42rem .82rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(11, 143, 67, .14);
    box-shadow: 0 12px 28px rgba(16, 24, 40, .06);
    backdrop-filter: blur(12px);
}

.modern-page-section {
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.modern-filter-panel {
    padding: 1.25rem;
    border-radius: 1.25rem;
    background: #fff;
    border: var(--card-border);
    box-shadow: var(--card-shadow);
}

.modern-cta-card {
    position: relative;
    overflow: hidden;
    background:
            linear-gradient(145deg, rgba(242, 195, 24, .10), transparent 34%),
            #fff;
}

.modern-cta-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--brand), var(--gold));
}

.detail-back-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1rem;
    padding: .6rem .9rem;
    border-radius: 999px;
    background: #fff;
    color: var(--brand-dark);
    font-weight: 800;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(11, 143, 67, .10);
}

.detail-back-link:hover {
    color: var(--brand);
}

.page-banner {
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    border-radius: 28px;
    padding: 1.2rem;
}

/* CTA */
.cta-banner{
    background:
            radial-gradient(circle at top right, rgba(242,195,24,.18), transparent 30%),
            linear-gradient(135deg,#0f1720,#183b2b);
    color:#fff;
    border-radius:30px;
    padding:3rem;
    box-shadow:0 24px 60px rgba(0,0,0,.14);
}

.cta-banner p{
    color:rgba(255,255,255,.84);
}

/* =========================
   SHARED CARD SYSTEM
========================= */
.hero-card,
.soft-card,
.feature-card,
.contact-card,
.insight-card,
.stat-card,
.member-box,
.about-intro-card,
.about-identity-card,
.about-values-card,
.about-objectives-card,
.about-cta-card,
.contact-form-card,
.contact-side-card,
.contact-cta-card,
.directorate-card,
.directorate-cta-card,
.membership-card,
.membership-soft-card,
.membership-cta-card,
.service-feature-card,
.service-card,
.service-cta-card,
.service-detail-card,
.related-service-card {
    background: #fff;
    border: var(--card-border);
    box-shadow: var(--card-shadow);
}

.hero-card,
.soft-card,
.feature-card,
.contact-card,
.insight-card,
.stat-card,
.member-box,
.about-intro-card,
.about-identity-card,
.about-values-card,
.about-objectives-card,
.about-cta-card,
.contact-form-card,
.contact-side-card,
.contact-cta-card,
.directorate-card,
.directorate-cta-card,
.membership-card,
.membership-soft-card,
.membership-cta-card,
.service-feature-card,
.service-card,
.service-cta-card,
.service-detail-card,
.related-service-card {
    border-radius: 1.35rem;
}

.soft-card,
.feature-card,
.contact-card,
.member-box,
.about-intro-card,
.about-identity-card,
.about-values-card,
.about-objectives-card,
.contact-form-card,
.contact-side-card,
.directorate-card,
.membership-card,
.membership-soft-card {
    height: 100%;
}

.about-intro-card,
.about-identity-card,
.contact-card,
.directorate-card,
.membership-card,
.service-feature-card,
.service-card,
.related-service-card,
.feature-card {
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.about-intro-card:hover,
.about-identity-card:hover,
.contact-card:hover,
.directorate-card:hover,
.membership-card:hover,
.service-feature-card:hover,
.service-card:hover,
.related-service-card:hover,
.feature-card:hover,
.insight-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
    border-color: rgba(25, 135, 84, .18);
}

.soft-card {
    padding: 2rem;
}

.feature-card,
.contact-card {
    padding: 1.55rem;
}

.icon-badge,
.about-icon,
.contact-icon,
.directorate-icon {
    width: 62px;
    height: 62px;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    background: rgba(25, 135, 84, .10);
    box-shadow: inset 0 0 0 1px rgba(25, 135, 84, .08);
    background: linear-gradient(135deg, rgba(11, 143, 67, .12), rgba(242, 195, 24, .18));
    color: var(--brand);
    font-size: 1.45rem;
}

.icon-badge {
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(11, 143, 67, .12), rgba(242, 195, 24, .18));
    color: var(--brand);
    font-size: 1.45rem;
}

.list-check,
.topic-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: grid;
    gap: .9rem;
}

.list-check li,
.topic-list li {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
}

.list-check i,
.topic-list i {
    color: #198754;
    font-size: 1rem;
    margin-top: .2rem;
    flex-shrink: 0;
}

.list-check span,
.topic-list span {
    color: #475467;
    line-height: 1.75;
}

/* =========================
   NAVBAR
========================= */
.navbar {
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 10px 35px rgba(16, 24, 40, .05);
}

.navbar-brand img {
    height: 54px;
    width: auto;
}

.brand-stack {
    line-height: 1.1;
}

.brand-stack small {
    color: var(--muted);
}

.nav-link {
    font-weight: 600;
    color: #132238 !important;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand) !important;
}

/* =========================
   BUTTONS
========================= */
.btn-brand {
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: .55rem 1rem;
    font-size: .9rem;
    font-weight: 600;
    box-shadow: 0 6px 14px rgba(11, 143, 67, .18);
}

.btn-brand:hover {
    color: #fff;
    transform: translateY(-1px);
}

.btn-outline-brand {
    border: 2px solid var(--brand);
    color: var(--brand);
    background: #fff;
    border-radius: 999px;
    padding: .5rem .95rem;
    font-size: .9rem;
    font-weight: 600;
}

.btn-outline-brand:hover {
    background: var(--brand);
    color: #fff;
}

/* =========================
   HERO
========================= */
.hero {
    position: relative;
    padding: 8.8rem 0 5.4rem;
    background:
            linear-gradient(135deg, rgba(11, 143, 67, .09), transparent 34%),
            linear-gradient(225deg, rgba(242, 195, 24, .16), transparent 32%),
            linear-gradient(180deg, #fff 0%, #f7faf8 100%);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../../../assets/images/pattern-islamic.svg') right -120px top -70px / 340px auto no-repeat;
    opacity: .55;
    pointer-events: none;
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: 0;
    margin: .65rem 0 1rem;
    max-width: 680px;
}

.hero-title .accent {
    color: var(--brand);
}

.hero-sub {
    font-size: 1.08rem;
    color: var(--text-soft);
    max-width: 650px;
    line-height: 1.8;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(11, 143, 67, .16);
    padding: .58rem 1rem;
    border-radius: 999px;
    box-shadow: 0 12px 30px rgba(16, 24, 40, .08);
    backdrop-filter: blur(12px);
    color: var(--brand);
    font-weight: 800;
    max-width: 100%;
}

.hero-card {
    padding: 1rem;
}

.home-hero-copy {
    position: relative;
    z-index: 2;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    margin-top: 1.75rem;
}

.home-hero-actions .btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.home-hero-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow: 0 28px 70px rgba(16, 24, 40, .13);
    background:
            linear-gradient(145deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .72)),
            #fff;
}

.home-hero-card::before {
    content: "";
    position: absolute;
    inset: .7rem;
    border: 1px solid rgba(255, 255, 255, .62);
    border-radius: calc(var(--radius) - 2px);
    pointer-events: none;
    z-index: 2;
}

.hero-visual {
    display: block;
    border-radius: calc(var(--radius) - 4px);
}

#heroCarousel img {
    height: 460px;
    object-fit: cover;
}

.home-hero-caption {
    position: absolute;
    left: 1.6rem;
    right: 1.6rem;
    bottom: 1.6rem;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .9rem 1rem;
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: 1.1rem;
    background: rgba(15, 23, 42, .68);
    color: #fff;
    backdrop-filter: blur(12px);
}

.home-hero-caption span {
    color: rgba(255, 255, 255, .78);
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
}

.home-hero-caption strong {
    font-size: .98rem;
    text-align: right;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, .35);
    border-radius: 50%;
    padding: 18px;
}

/* =========================
   TRUST PILLS
========================= */
.trust-row {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    margin-top: 1.6rem;
}

.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .55rem .8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(15, 23, 42, .07);
    box-shadow: 0 10px 24px rgba(16, 24, 40, .06);
    font-size: .78rem;
    font-weight: 700;
    color: #223;
}

.trust-pill i {
    font-size: .9rem;
}

/* =========================
   HOME MODERN SECTIONS
========================= */
.home-about-section {
    background: #fff;
}

.home-about-frame {
    position: relative;
}

.home-about-frame img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.home-image-badge {
    position: absolute;
    left: 1.2rem;
    bottom: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    max-width: calc(100% - 2.4rem);
    padding: .7rem .9rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, .9);
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow: 0 16px 34px rgba(15, 23, 42, .10);
    color: var(--heading);
    font-weight: 800;
    backdrop-filter: blur(12px);
}

.home-image-badge i {
    color: var(--brand);
}

.home-about-copy {
    max-width: 620px;
}

.home-rich-text p:last-child {
    margin-bottom: 0;
}

.home-highlights-section {
    background:
            linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.home-highlight-card,
.home-feature-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, .06);
    box-shadow: var(--card-shadow);
}

.home-highlight-card {
    padding: 1.75rem;
}

.home-highlight-card::before,
.home-feature-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--brand), var(--gold));
}

.home-card-number {
    position: absolute;
    top: 1.35rem;
    right: 1.35rem;
    color: rgba(15, 23, 42, .13);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.home-services-preview {
    background: #fff;
}

.home-service-media {
    isolation: isolate;
}

.home-service-media::after {
    content: "";
    position: absolute;
    inset: 1rem;
    border: 1px solid rgba(255, 255, 255, .48);
    border-radius: 18px;
    pointer-events: none;
}

.home-services-content {
    padding-left: .75rem;
}

.home-feature-card {
    height: 100%;
    padding: 1.35rem;
    border-radius: 1.15rem;
    background:
            linear-gradient(145deg, rgba(11, 143, 67, .05), transparent 36%),
            #fff;
}

.home-feature-card .icon-badge {
    width: 54px;
    height: 54px;
    border-radius: .95rem;
    font-size: 1.25rem;
}

.home-partners-section {
    background:
            linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.home-partner-panel {
    padding: .4rem 0;
}

.home-section-head {
    padding-bottom: .9rem;
    border-bottom: 1px solid rgba(15, 23, 42, .07);
}

.home-insights-section {
    background:
            linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.home-insight-card {
    border-top: 3px solid rgba(11, 143, 67, .18);
}

.home-insight-card .mini-title {
    margin-top: .6rem;
}

.home-cta-banner {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .08);
}

.home-cta-banner::after {
    content: "";
    position: absolute;
    inset: 1rem;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 22px;
    pointer-events: none;
}

.home-cta-banner > .row {
    position: relative;
    z-index: 2;
}

.home-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .7rem;
}

/* =========================
   STATS
========================= */
.stats-section {
    padding: 70px 0;
    background: #f8fbf9;
}

.stat-modern {
    background: #fff;
    padding: 28px 20px;
    border-radius: 16px;
    transition: all .25s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .05);
    height: 100%;
}

.stat-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, .08);
}

.stat-icon {
    font-size: 1.6rem;
    color: var(--brand);
    margin-bottom: 10px;
}

.stat-number,
.metric {
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand);
    line-height: 1;
}

.stat-modern .stat-number {
    color: #0f172a;
    font-weight: 700;
}

.stat-text,
.stat-label {
    color: #64748b;
    font-size: .9rem;
    margin-top: 4px;
}

.stat-card {
    padding: 1.35rem;
    text-align: center;
    height: 100%;
}

/* =========================
   HIGHLIGHT BANNER
========================= */
.highlite {
    background: linear-gradient(135deg, #0f1720, #183b2b);
    color: #fff;
    border-radius: 30px;
    padding: 2.1rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, .14);
}

.highlite p,
.highlite li {
    color: rgba(255, 255, 255, .83);
}

.highlite .list-check i {
    color: var(--gold);
}

/* =========================
   WHAT WE DO HOME SECTION
========================= */
.what-we-do-section .what-visual {
    position: relative;
    min-height: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(16, 24, 40, .08);
}

.what-we-do-section .what-visual img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    display: block;
}

.what-we-do-section .what-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* =========================
   PARTNERS
========================= */
.partners-strip-section {
    padding: 4.5rem 0;
    background: #fff;
}

.partners-marquee {
    position: relative;
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: max-content;
    animation: partners-scroll 28s linear infinite;
}

.partners-marquee:hover .partners-track {
    animation-play-state: paused;
}

.partner-item {
    position: relative;
    flex: 0 0 auto;
    width: 200px;
    min-height: 96px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.25rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(16, 24, 40, .04);
    transition: transform .25s ease, box-shadow .25s ease;
}

.partner-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
}

.partner-item img {
    max-width: 100%;
    max-height: 52px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: .85;
    transition: all .25s ease;
}

.partner-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes partners-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* =========================
   INSIGHTS SHARED
========================= */
.insight-card-link,
.related-service-link,
.service-card-link {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.insight-card-link:hover,
.related-service-link:hover,
.service-card-link:hover {
    color: inherit;
}

.insight-card {
    background: #fff;
    border-radius: 1.25rem;
    overflow: hidden;
    border: var(--card-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
    transition: all .25s ease;
    height: 100%;
}

.insight-image {
    position: relative;
    overflow: hidden;
    border-radius: 1rem 1rem 0 0;
    aspect-ratio: 3 / 2;
    background: #f4f6f8;
}

.insight-image img,
.insight-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s ease;
}

.insight-card:hover .insight-image img,
.insight-card:hover .insight-card-image {
    transform: scale(1.04);
}

.insight-body {
    padding: 1.25rem 1.25rem 1.35rem;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: .65rem;
    color: #6c757d;
    font-size: .92rem;
}

.empty-insights-state {
    background: #fff;
    border-radius: 1.25rem;
    padding: 3rem 1.5rem;
    border: var(--card-border);
    box-shadow: 0 14px 32px rgba(15, 23, 42, .05);
}

.empty-insights-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(25, 135, 84, .10);
    color: #198754;
    font-size: 1.6rem;
}

/* =========================
   INSIGHTS LISTING
========================= */
.insights-page-section {
    padding: 0 0 5rem;
}

.insights-toolbar {
    margin-bottom: 2rem;
}

.insights-toolbar .row {
    margin-top: 0 !important;
}

.insights-toolbar .form-control,
.insights-toolbar .form-select {
    min-height: 52px;
    border-radius: 1rem;
    border-color: rgba(15, 23, 42, .08);
    box-shadow: none;
}

.insights-toolbar .input-group > .btn {
    min-width: 132px;
    border-top-right-radius: 1rem;
    border-bottom-right-radius: 1rem;
}

.insight-card {
    display: flex;
    flex-direction: column;
    padding: 1.1rem;
    box-shadow: var(--card-shadow);
    position: relative;
}

.modern-insight-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--brand), var(--gold));
    opacity: .75;
}

.insight-card-media {
    position: relative;
    width: 100%;
    height: 220px;
    border-radius: 1rem;
    overflow: hidden;
    background: var(--surface-light);
    margin-bottom: 1rem;
}

.insight-chip-floating {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .10);
    backdrop-filter: blur(4px);
}

.insights-pagination .pagination {
    gap: .35rem;
    flex-wrap: wrap;
}

.insights-pagination .page-link {
    border: none;
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: .9rem !important;
    background: #fff;
    color: #344054;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .05);
}

.insights-pagination .page-item.active .page-link {
    background: #198754;
    color: #fff;
}

.insights-pagination .page-item.disabled .page-link {
    background: #f3f4f6;
    color: #98a2b3;
    box-shadow: none;
}

/* =========================
   INSIGHT DETAIL
========================= */
.insight-detail-section {
    padding: 0 0 5rem;
}

.insight-detail-wrap {
    max-width: 980px;
    margin: 0 auto;
}

.insight-back-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    text-decoration: none;
    color: #198754;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.insight-back-link:hover {
    color: #146c43;
}

.insight-detail-card {
    background: #fff;
    border: var(--card-border);
    border-radius: 1.5rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .06);
    overflow: hidden;
    position: relative;
}

.insight-detail-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--brand), var(--gold));
    z-index: 3;
}

.insight-detail-media {
    position: relative;
    width: 100%;
    min-height: 320px;
    max-height: 520px;
    overflow: hidden;
    background: var(--surface-light);
}

.insight-detail-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.insight-chip-floating {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    z-index: 2;
}

.insight-detail-body {
    padding: 2rem;
}

.insight-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.25rem;
    margin-bottom: 1rem;
    color: var(--muted);
    font-size: .95rem;
}

.insight-meta span {
    display: inline-flex;
    align-items: center;
}

.insight-detail-title {
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 1.2;
    font-weight: 800;
    color: var(--heading);
    margin-bottom: 1rem;
}

.insight-detail-excerpt {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.insight-author-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border: var(--card-border);
    border-radius: 1rem;
    background: var(--surface-muted);
    margin-bottom: 2rem;
}

.insight-author-box .label {
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #98a2b3;
    margin-bottom: .2rem;
}

.insight-author-box .value {
    color: var(--heading);
    font-weight: 600;
}

.insight-content {
    color: #344054;
    line-height: 1.95;
    font-size: 1rem;
}

.insight-content p:last-child {
    margin-bottom: 0;
}

.insight-content h2,
.insight-content h3,
.insight-content h4 {
    color: var(--heading);
    margin-top: 2rem;
    margin-bottom: .9rem;
    line-height: 1.35;
    font-weight: 700;
}

.insight-content img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
}

.insight-content a {
    color: #198754;
    text-decoration: underline;
}

.insight-content ul,
.insight-content ol {
    padding-left: 1.2rem;
}

.insight-content blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    border-left: 4px solid #198754;
    background: var(--surface-muted);
    border-radius: 0 1rem 1rem 0;
    color: #475467;
}

.insight-footer-actions {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(15, 23, 42, .08);
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
}

.insight-footer-actions .btn {
    border-radius: .9rem;
    padding: .75rem 1.15rem;
}

/* =========================
   ABOUT
========================= */
.about-section {
    padding: 0 0 5rem;
}

.about-block {
    margin-bottom: 2rem;
}

.about-intro-card,
.about-identity-card {
    padding: 1.6rem;
    position: relative;
    overflow: hidden;
    border-top: 3px solid rgba(11, 143, 67, .18);
}

.about-identity-card {
    display: flex;
    flex-direction: column;
}

.about-identity-card .section-text {
    flex-grow: 1;
}

.about-values-card,
.about-objectives-card,
.about-cta-card {
    padding: 1.9rem;
    position: relative;
    overflow: hidden;
}

.about-cta-card {
    text-align: center;
}

.about-values-card::before,
.about-objectives-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--brand), var(--gold));
}

.about-lead-title {
    font-size: clamp(1.5rem, 2.5vw, 2.05rem);
    font-weight: 800;
    color: var(--heading);
    line-height: 1.25;
    margin-bottom: .85rem;
}

.value-pill-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    margin-top: 1.15rem;
}

.value-pill {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1rem;
    border-radius: 999px;
    background: rgba(25, 135, 84, .08);
    color: #198754;
    font-weight: 700;
    line-height: 1;
    border: 1px solid rgba(25, 135, 84, .10);
}

.about-objectives-content ul,
.about-objectives-content ol {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    display: grid;
    gap: .9rem;
}

.about-objectives-content li {
    position: relative;
    padding-left: 1.6rem;
    color: #475467;
    line-height: 1.75;
}

.about-objectives-content li::before {
    content: "\f26a";
    font-family: "Bootstrap-icons";
    position: absolute;
    left: 0;
    top: .15rem;
    color: #198754;
    font-size: 1rem;
}

.about-objectives-content p {
    color: var(--muted);
    line-height: 1.8;
}

.about-objectives-content p:last-child {
    margin-bottom: 0;
}

.about-objectives-content a {
    color: #198754;
    text-decoration: underline;
}

.about-objectives-content strong,
.about-objectives-content b {
    color: var(--heading);
    font-weight: 700;
}

/* =========================
   CONTACT
========================= */
.contact-section {
    padding: 0 0 5rem;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.contact-block {
    margin-bottom: 2rem;
}

.contact-card {
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    border-top: 3px solid rgba(11, 143, 67, .24);
}

.contact-card::after {
    content: "";
    position: absolute;
    inset: auto 1.5rem 0;
    height: 3px;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(90deg, var(--brand), var(--gold));
    opacity: .22;
}

.contact-card .section-text {
    overflow-wrap: anywhere;
}

.contact-form-card,
.contact-side-card,
.contact-cta-card {
    padding: 1.9rem;
}

.contact-cta-card {
    text-align: center;
}

.contact-action-block {
    margin-top: .35rem;
}

.contact-action-card {
    position: relative;
    overflow: hidden;
}

.contact-action-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--brand), var(--gold));
}

.contact-action-block .contact-cta-card {
    text-align: left;
    background:
            linear-gradient(145deg, rgba(242, 195, 24, .10), transparent 34%),
            #fff;
}

.contact-card-label {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-bottom: 1rem;
    padding: .42rem .78rem;
    border-radius: 999px;
    background: rgba(11, 143, 67, .10);
    color: var(--brand-dark);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.contact-card-label i {
    font-size: .95rem;
}

.contact-card-label-gold {
    background: rgba(242, 195, 24, .18);
    color: #7a5b00;
}

.contact-lead-title {
    font-size: clamp(1.5rem, 2.5vw, 2.05rem);
    font-weight: 800;
    color: var(--heading);
    line-height: 1.25;
    margin-bottom: .85rem;
}

.contact-form .form-label {
    font-weight: 600;
    color: #344054;
    margin-bottom: .5rem;
}

.contact-form .form-control,
.contact-form .form-select {
    min-height: 52px;
    border-radius: 1rem;
    border-color: rgba(15, 23, 42, .08);
    box-shadow: none;
}

.contact-form textarea.form-control {
    min-height: 160px;
    resize: vertical;
}

.contact-topic-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem;
    margin-top: 1.25rem;
}

.contact-topic-list li {
    padding: .8rem .9rem;
    border: 1px solid rgba(15, 23, 42, .06);
    border-radius: 1rem;
    background: rgba(248, 250, 252, .86);
}

.contact-topic-list span {
    line-height: 1.55;
}

.contact-note {
    margin-top: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    background: rgba(11, 143, 67, .07);
    border: 1px solid rgba(11, 143, 67, .10);
    color: #475467;
    line-height: 1.75;
}

.contact-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    padding: .75rem 1.15rem;
}

.contact-cta-details {
    display: grid;
    gap: .8rem;
    margin-top: 1.45rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(15, 23, 42, .08);
}

.contact-cta-details a {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    color: var(--heading);
    font-weight: 700;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.contact-cta-details i {
    width: 2rem;
    height: 2rem;
    border-radius: .85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    background: rgba(11, 143, 67, .10);
    color: var(--brand);
}

/* =========================
   DIRECTORATES
========================= */
.directorates-section {
    padding: 0 0 5rem;
}

.directorates-intro {
    margin-bottom: 2rem;
}

.directorate-card {
    padding: 1.6rem;
    position: relative;
    overflow: hidden;
    border-top: 3px solid rgba(11, 143, 67, .18);
}

.directorate-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.directorate-code-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3.5rem;
    padding: .45rem .65rem;
    border-radius: 999px;
    background: rgba(242, 195, 24, .18);
    color: #7a5b00;
    font-size: .76rem;
    font-weight: 800;
    line-height: 1;
}

.directorate-cta-card {
    padding: 2rem 1.5rem;
    text-align: center;
}

.directorate-lead-title {
    font-size: clamp(1.5rem, 2.5vw, 2.05rem);
    font-weight: 800;
    color: var(--heading);
    line-height: 1.25;
    margin-bottom: .8rem;
}

.directorate-summary {
    color: #344054;
    font-weight: 600;
    line-height: 1.8;
    margin-bottom: .8rem;
}

.directorate-card .section-text p {
    margin-bottom: 1rem;
}

.directorate-card .section-text p:last-child {
    margin-bottom: 0;
}

.directorate-card .section-text ul,
.directorate-card .section-text ol {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    display: grid;
    gap: .85rem;
}

.directorate-card .section-text ul li,
.directorate-card .section-text ol li {
    position: relative;
    padding-left: 1.6rem;
    color: #475467;
    line-height: 1.75;
}

.directorate-card .section-text ul li::before,
.directorate-card .section-text ol li::before {
    content: "\f26a";
    font-family: "Bootstrap-icons";
    position: absolute;
    left: 0;
    top: .15rem;
    font-size: 1rem;
    color: #198754;
}

.directorate-card .section-text ul li:hover,
.directorate-card .section-text ol li:hover {
    color: var(--heading);
}

.directorate-card .section-text a {
    color: #198754;
    text-decoration: underline;
}

.directorate-card .section-text strong,
.directorate-card .section-text b {
    color: var(--heading);
    font-weight: 700;
}

.directorate-card .section-text h2,
.directorate-card .section-text h3,
.directorate-card .section-text h4 {
    color: var(--heading);
    font-weight: 700;
    line-height: 1.35;
    margin: 1.25rem 0 .65rem;
}

.directorate-card .section-text blockquote {
    margin: 1rem 0;
    padding: 1rem 1.15rem;
    border-left: 4px solid #198754;
    border-radius: 0 1rem 1rem 0;
    background: var(--surface-muted);
    color: #475467;
}

/* =========================
   MEMBERSHIP
========================= */
.membership-section {
    padding: 0 0 5rem;
}

.membership-block {
    margin-bottom: 1.75rem;
}

.membership-card {
    padding: 1.6rem;
    position: relative;
    overflow: hidden;
    border-top: 3px solid rgba(11, 143, 67, .18);
}

.membership-soft-card {
    padding: 1.85rem;
    position: relative;
    overflow: hidden;
}

.membership-cta-card {
    padding: 2rem 1.5rem;
    text-align: center;
}

.membership-lead-title {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 800;
    color: var(--heading);
    line-height: 1.25;
    margin-bottom: 1rem;
}

.membership-highlight {
    background:
            linear-gradient(135deg, rgba(25, 135, 84, .08), rgba(242, 195, 24, .10)),
            #fff;
    border: 1px solid rgba(25, 135, 84, .10);
    border-radius: 1.1rem;
}

.membership-highlight strong {
    color: #198754;
}

.support-grid-card {
    height: 100%;
    padding: 1.4rem;
    border-radius: 1.15rem;
    background: #fff;
    border: var(--card-border);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .05);
    position: relative;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.support-grid-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, var(--brand), var(--gold));
    opacity: .72;
}

.support-grid-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
    border-color: rgba(25, 135, 84, .18);
}

.support-grid-card .icon-badge {
    width: 56px;
    height: 56px;
    margin-bottom: .85rem;
    font-size: 1.2rem;
}

.membership-divider-title {
    font-size: clamp(1.5rem, 2.5vw, 2.1rem);
    font-weight: 800;
    color: var(--heading);
    margin-bottom: .75rem;
}

/* =========================
   SERVICES LISTING
========================= */
.whatwedo-section {
    padding: 0 0 5rem;
}

.service-grid-intro {
    margin-bottom: 2rem;
}

.service-feature-card,
.service-card {
    overflow: hidden;
    position: relative;
}

.whatwedo-section .service-card-link {
    display: flex;
    height: 100%;
}

.whatwedo-section .service-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.modern-service-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--brand), var(--gold));
    opacity: .75;
    z-index: 2;
}

.service-feature-media,
.service-card-media,
.related-service-media {
    position: relative;
    overflow: hidden;
    background: var(--surface-light);
}

.service-feature-media {
    min-height: 270px;
}

.service-card-media {
    height: 220px;
}

.service-feature-media img,
.service-card-media img,
.related-service-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .35s ease;
}

.service-feature-card:hover .service-feature-media img,
.service-card:hover .service-card-media img,
.related-service-card:hover .related-service-media img {
    transform: scale(1.05);
}

.service-feature-body {
    padding: 1.6rem;
}

.service-card-body {
    padding: 1.35rem;
}

.whatwedo-section .service-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.modern-service-card .service-card-body {
    background:
            linear-gradient(180deg, rgba(248, 250, 252, .68), #fff 42%);
}

.service-icon-badge,
.related-service-icon,
.service-icon-floating {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #198754;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .12);
    backdrop-filter: blur(6px);
}

.service-icon-badge {
    width: 58px;
    height: 58px;
    border-radius: 1rem;
    font-size: 1.2rem;
}

.service-floating-icon {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 2;
}

.service-title {
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.45;
    margin: 0 0 .75rem;
    color: var(--heading);
}

.service-title-lg {
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 800;
    line-height: 1.25;
    margin: .95rem 0 .85rem;
    color: var(--heading);
}

.service-cta-card {
    padding: 2rem 1.5rem;
    text-align: center;
}

.service-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
}

.service-stat {
    padding: 1rem;
    border-radius: 1rem;
    background: var(--surface-muted);
    border: 1px solid rgba(15, 23, 42, .05);
    text-align: center;
}

.service-stat strong {
    display: block;
    font-size: 1.25rem;
    color: var(--heading);
    line-height: 1.2;
}

.service-stat span {
    display: block;
    margin-top: .35rem;
    color: var(--muted);
    font-size: .92rem;
}

/* =========================
   SERVICE DETAIL
========================= */
.service-detail-section {
    padding: 0 0 5rem;
}

.service-detail-wrap {
    max-width: 1060px;
    margin: 0 auto;
}

.service-detail-card {
    border-radius: 1.5rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .06);
    overflow: hidden;
    position: relative;
    border: var(--card-border);
}

.service-detail-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--brand), var(--gold));
    z-index: 3;
}

.service-detail-media {
    position: relative;
    width: 100%;
    min-height: 320px;
    max-height: 520px;
    overflow: hidden;
    background: var(--surface-light);
}

.service-detail-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-icon-floating {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    z-index: 2;
    width: 60px;
    height: 60px;
    border-radius: 1rem;
    font-size: 1.3rem;
}

.service-detail-body {
    padding: 2rem;
}

.service-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.25rem;
    margin-bottom: 1rem;
    color: var(--muted);
    font-size: .95rem;
}

.service-meta span {
    display: inline-flex;
    align-items: center;
}

.service-detail-title {
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 1.2;
    font-weight: 800;
    color: var(--heading);
    margin-bottom: 1rem;
}

.service-detail-excerpt {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.service-summary-box {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border: var(--card-border);
    border-radius: 1rem;
    background: var(--surface-muted);
    margin-bottom: 2rem;
}

.service-summary-item {
    flex: 1 1 220px;
}

.service-summary-item .label {
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #98a2b3;
    margin-bottom: .2rem;
}

.service-summary-item .value {
    color: var(--heading);
    font-weight: 600;
    line-height: 1.6;
}

.service-content {
    color: #344054;
    line-height: 1.95;
    font-size: 1rem;
}

.service-content p:last-child {
    margin-bottom: 0;
}

.service-content h2,
.service-content h3,
.service-content h4 {
    color: var(--heading);
    margin-top: 2rem;
    margin-bottom: .9rem;
    line-height: 1.35;
    font-weight: 700;
}

.service-content img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
}

.service-content a {
    color: #198754;
    text-decoration: underline;
}

.service-content ul,
.service-content ol {
    padding-left: 1.2rem;
}

.service-content blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    border-left: 4px solid #198754;
    background: var(--surface-muted);
    border-radius: 0 1rem 1rem 0;
    color: #475467;
}

.service-footer-actions {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(15, 23, 42, .08);
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
}

.service-footer-actions .btn {
    border-radius: .9rem;
    padding: .75rem 1.15rem;
}

.related-services-block {
    margin-top: 2.5rem;
}

.related-services-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--heading);
    margin-bottom: 1rem;
}

.related-service-card {
    border-radius: 1.2rem;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .05);
    overflow: hidden;
}

.related-service-media {
    height: 180px;
}

.related-service-icon {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 2;
    width: 52px;
    height: 52px;
    border-radius: .9rem;
    font-size: 1.1rem;
}

.related-service-body {
    padding: 1.1rem;
}

.related-service-title-text {
    font-size: 1.04rem;
    font-weight: 700;
    line-height: 1.45;
    margin: 0 0 .6rem;
    color: var(--heading);
}

/* =========================
   MEMBERSHIP SIMPLE BOXES
========================= */
.member-box {
    background: linear-gradient(180deg, #fff, #fcfdfd);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    border-radius: 26px;
    padding: 1.8rem;
}

/* =========================
   FORMS
========================= */
.form-control,
.form-select,
.form-control:focus,
.form-select:focus {
    box-shadow: none;
    border-color: #d0d5dd;
}

/* =========================
   FOOTER
========================= */
.footer {
    background:
            radial-gradient(circle at top right, rgba(242, 195, 24, .18), transparent 30%),
            linear-gradient(135deg, #183b2b, #0f1720);
    color: #fff;
    padding: 4rem 0 2rem;
}

.footer-logo {
    height: 50px;
    width: auto;
}

.footer-text,
.footer-contact,
.footer-bottom,
.footer-links a {
    font-size: .9rem;
    color: #94a3b8;
}

.footer-text {
    line-height: 1.6;
}

.footer-tagline {
    color: #fff;
    font-weight: 600;
}

.footer-title {
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a:hover,
.footer-social a:hover {
    color: #fff;
}

.footer-contact i {
    margin-right: 8px;
}

.footer-social a {
    color: #94a3b8;
    font-size: 1.2rem;
    margin-right: 14px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    margin-top: 2rem;
    padding-top: 1.2rem;
    font-size: .85rem;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 991.98px) {
    .hero {
        padding: 7.5rem 0 4rem;
    }

    .page-hero {
        padding: 7rem 0 3rem;
    }

    .navbar-brand img {
        height: 48px;
    }

    .cta-banner {
        padding: 2rem;
    }

    #heroCarousel img {
        height: 360px;
    }

    .what-we-do-section .what-visual img {
        min-height: 320px;
    }

    .home-services-content {
        padding-left: 0;
    }

    .home-cta-actions {
        justify-content: flex-start;
    }

    .insight-image img {
        height: 190px;
    }

    .partners-strip {
        grid-template-columns: repeat(3, 1fr);
    }

    .insights-toolbar .row > div:last-child {
        max-width: 220px;
    }

    .service-stats {
        grid-template-columns: 1fr;
    }

    .contact-topic-list {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 767.98px) {
    .about-intro-card,
    .about-identity-card,
    .about-values-card,
    .about-objectives-card,
    .about-cta-card,
    .contact-card,
    .contact-form-card,
    .contact-side-card,
    .contact-cta-card,
    .directorate-card,
    .directorate-cta-card,
    .membership-card,
    .membership-soft-card,
    .membership-cta-card,
    .service-feature-card,
    .service-card,
    .service-cta-card {
        border-radius: 1.15rem;
    }

    .hero-title {
        font-size: clamp(2rem, 10vw, 2.7rem);
    }

    .page-hero {
        padding: 6.5rem 0 2.5rem;
    }

    .page-hero .section-title {
        font-size: clamp(1.85rem, 8vw, 2.45rem);
        line-height: 1.08;
    }

    .page-hero .section-text {
        font-size: .98rem;
        line-height: 1.65;
    }

    .home-hero-actions .btn {
        flex: 1 1 190px;
    }

    .home-hero-caption {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        align-items: flex-start;
        flex-direction: column;
    }

    .home-hero-caption strong {
        text-align: left;
    }

    .home-highlight-card,
    .home-feature-card {
        border-radius: 1.15rem;
    }

    .about-intro-card,
    .about-identity-card,
    .about-values-card,
    .about-objectives-card,
    .contact-card,
    .contact-form-card,
    .contact-side-card,
    .directorate-card,
    .membership-card,
    .membership-soft-card {
        padding: 1.25rem;
    }

    .about-cta-card,
    .contact-cta-card,
    .directorate-cta-card,
    .membership-cta-card {
        padding: 1.5rem 1.15rem;
    }

    .insight-card {
        padding: 1rem;
    }

    .insight-card-media {
        height: 210px;
    }

    .insights-toolbar .row > div:last-child {
        max-width: none;
    }

    .contact-card-label {
        margin-bottom: .85rem;
    }

    .contact-cta-details a {
        font-size: .95rem;
    }

    .home-image-badge {
        left: .9rem;
        right: .9rem;
        bottom: .9rem;
        max-width: none;
    }

    .insight-detail-body,
    .service-detail-body {
        padding: 1.25rem;
    }

    .insight-detail-media,
    .service-detail-media {
        min-height: 240px;
    }

    .insight-author-box,
    .service-summary-box {
        padding: 1rem;
    }

    .service-feature-body,
    .service-card-body,
    .service-cta-card {
        padding: 1.2rem;
    }

    .service-feature-media {
        min-height: 230px;
    }

    .service-card-media {
        height: 200px;
    }
}

@media (max-width: 575.98px) {
    .hero-badge,
    .trust-pill {
        width: 100%;
        justify-content: flex-start;
    }

    .home-hero-card {
        padding: .7rem;
    }

    #heroCarousel img {
        height: 300px;
    }

    .home-hero-caption {
        position: static;
        margin-top: .75rem;
        background: #102319;
    }

    .home-cta-actions .btn {
        flex: 1 0 100%;
        width: 100%;
    }

    .partners-strip {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================
   NAVBAR MOBILE/TABLET ROW FIX
========================= */
.navbar .container,
.navbar .container-fluid {
    display: flex;
    align-items: center;
    flex-wrap: wrap; /* allow collapse to move below */
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    min-height: 52px; /* same visual row height */
    margin-right: auto;
    flex: 1 1 auto;
    min-width: 0;
}

.navbar-brand img {
    height: 52px;
    width: auto;
    flex: 0 0 auto;
}

.brand-stack {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    line-height: 1.1;
}

.brand-stack .fw-bold {
    margin: 0;
    font-size: 1.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-stack small {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.8rem
}

.navbar-toggler {
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.75rem;
    border-radius: 0.9rem;
}

.navbar-collapse {
    flex-basis: 100%; /* forces menu below first row */
    width: 100%;
}

/* desktop / large screens */
@media (min-width: 1200px) {
    .navbar-collapse {
        flex-basis: auto;
        width: auto;
    }
}

/* tablet and below */
@media (max-width: 1199.98px) {
    .navbar-brand {
        max-width: calc(100% - 68px);
    }

    .navbar-collapse {
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 1rem;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
    }

    .navbar-nav {
        align-items: flex-start;
        gap: 0.35rem;
    }

    .navbar .nav-link {
        white-space: normal;
        padding: 0.7rem 0;
    }

    .navbar .btn-brand {
        margin-top: 0.65rem;
        width: 100%;
        justify-content: center;
    }
}

/* phones */
@media (max-width: 767.98px) {
    .navbar-brand img {
        height: 48px;
    }

    .navbar-brand {
        min-height: 48px;
        gap: 0.7rem;
        max-width: calc(100% - 60px);
    }

    .navbar-toggler {
        width: 48px;
        height: 48px;
        margin-left: 0.5rem;
    }

    .brand-stack .fw-bold {
        font-size: 0.98rem;
    }

    .brand-stack small {
        font-size: 0.72rem;
    }
}
