/*==============================================================================
    Global System Settings & Variables
==============================================================================*/
:root {
    --primary-green: #0d382c;
    --primary-green-hover: #08251d;
    --beige-bg: #f9f6f0;
    --card-bg: #ffffff;
    --text-dark: #1c2826;
    --text-muted: #616b68;
    --gold-accent: #dcae5b;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --max-content-width: 1200px;
}

body {
    background-color: var(--beige-bg);
    color: var(--text-dark);
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.625;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    padding-top: 100px;
}

.container-custom {
    max-width: var(--max-content-width);
}

/* Custom Buttons styling */
.btn-dark-green {
    background-color: var(--primary-green);
    border: 1px solid var(--primary-green);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.25s ease-in-out;
}
.btn-dark-green:hover {
    background-color: var(--primary-green-hover);
    border-color: var(--primary-green-hover);
    color: #ffffff;
}

.btn-outline-dark {
    border: 1px solid #c0b9ad;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 4px;
    background-color: transparent;
    transition: all 0.25s ease-in-out;
    padding: 10px;
}
.btn-outline-dark:hover {
    background-color: rgba(13, 56, 44, 0.05);
    border-color: var(--primary-green);
}

/* Common Text Typography styling */
.italic-serif {
    font-family: var(--font-serif);
    font-style: italic;
    white-space: nowrap; /* Forces the text to stay on one line */
}

.section-heading-sm {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--primary-green);
}

.text-gold {
    color: var(--gold-accent) !important;
}

/*==============================================================================

    Navigation Bar Configuration (Updated)

==============================================================================*/

.navbar {
    background: transparent;
    /* Keeps the navbar frozen at the top during scrolling */
    position: fixed !important; 
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    /* Smooth transitions for moving between transparent and gradient states */
    transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

/* Dynamic State: Applied via JS only when the window scrolls down */
.navbar.scrolled {
    /* Sophisticated, subtle gradient matching your brand palette */
    background: linear-gradient(135deg, rgba(249, 246, 240, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%) !important;
    box-shadow: 0 4px 20px rgba(13, 56, 44, 0.08); /* Light branded drop shadow */
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

/* Increased brand identifier asset boundaries */
.navbar .brand-logo {
    height: 45px !important; /* Bumped up from 35px */
    width: auto;
    transition: transform 0.2s ease;
}

.brand-text-wrapper {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

/* Scaled up typographic treatments */
.brand-title {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.2rem; /* Bumped up from 1rem */
    letter-spacing: 0.04em;
    color: var(--primary-green);
}

.brand-subtitle {
    font-family: var(--font-sans);
    font-size: 0.85rem; /* Bumped up from 0.72rem */
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--text-dark);
}

.navbar-nav .nav-link {
    color: var(--text-dark);
    font-weight: 500; /* Slightly heavier for better legibility next to larger logo */
    font-size: 0.95rem;
    padding-left: 14px !important;
    padding-right: 14px !important;
    transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-green);
}
/*==============================================================================
    Mobile Navbar Toggler "X" Animation Configuration
==============================================================================*/
/*==============================================================================
    NAVBAR TOGGLER INTERACTION STATES
==============================================================================*/
/* 1. Target the navbar ONLY when the responsive sidebar is open */
.navbar:has(.offcanvas.show) {
    background-color: #ffffff !important;
    box-shadow: 0 8px 30px rgba(13, 56, 44, 0.08) !important;
}

/* 2. Style transformation for the menu icon toggle action */
.navbar-toggler {
    border: 1px solid transparent;
    padding: 0.25rem 0.5rem;
    transition: all 0.2s ease-in-out;
}

.navbar-toggler:focus,
.navbar-toggler:active {
    box-shadow: none !important;
    outline: none !important;
    border-color: rgba(13, 56, 44, 0.2);
}

/* 3. Smooth transition block for background alterations when scrolling */
.navbar.fixed-top {
    transition: background-color 0.3s cubic-bezier(0.25, 1, 0.5, 1), 
                padding 0.3s ease, 
                box-shadow 0.3s ease;
}

.navbar.fixed-top.scrolled {
    background-color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
}
/* Mobile Dropdown Menu Polish */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: rgba(255, 255, 255, 0.98);
        border-radius: 8px;
        padding: 1.5rem;
        margin-top: 1rem;
        box-shadow: 0 10px 30px rgba(13, 56, 44, 0.08);
        border: 1px solid rgba(13, 56, 44, 0.05);
    }
}

/*==============================================================================
    Hero Layout Structure
==============================================================================*/
.hero-section {
    position: relative;
    padding-top: 3rem;
    padding-bottom: 5rem;
    min-height: 520px;
    overflow: hidden;
}

.hero-title {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    line-height: 1.15;
    color: var(--primary-green);
}

.hero-lead {
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    color: black;
    max-width: 520px;
    font-weight: 300;
}

.hero-img-wrapper {
    width: 50%;
    z-index: -1;
    mask-image: linear-gradient(to left, rgba(0,0,0,1) 75%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 75%, rgba(0,0,0,0) 100%);
}

/*==============================================================================
    Our Story Content Setup
==============================================================================*/
.story-body-text p {
    font-size: 0.95rem;
    color: black;
    text-align: justify;
}

/*==============================================================================
    Why This Platform Matters Container Block (Updated with Feature Image)
==============================================================================*/
.card-dark-green {
    background-color: var(--primary-green);
}

.text-white-85 {
    color: rgba(255, 255, 255, 0.85);
}

.text-white-85 p {
    font-size: 0.95rem;
    font-weight: 300;
}

/* Feature Image Presentation Logic */
.why-matters-img-wrap {
    display: inline-block;
    width: 100%;
    max-width: 420px; /* Restricts excessive layout inflation on large widths */
    overflow: hidden;
    border-radius: 12px; /* Smooth corners matching the master card style */
}

.why-matters-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    /* Since your graphic shares the same background color, mix-blend-mode 
       ensures seamless edge transitions into the background card color */
    mix-blend-mode: multiply; 
    display: block;
}
/*==============================================================================
    Our Story Typography & Heading Layout Updates (Serif & Custom Green)
==============================================================================*/

.story-heading {
    font-family: var(--font-serif); /* Changed to Playfair Display */
    font-weight: 700;
    font-size: 1.5rem;              /* Adjusted slightly up; looks elegant in serif */
    letter-spacing: 0.02em;         /* Slightly tighter letter-spacing for serif elegance */
    color: var(--primary-green);    /* Uses your defined #0d382c theme color variable */
    line-height: 1;            
}

.story-heading-icon {
    height: 1.5rem;               /* Kept in perfect 1:1 scale with the new text height */
    width: auto;               
    object-fit: contain;
    vertical-align: middle;    
}
/*==============================================================================
    Our Vision Cards Grid Element (Updated)
==============================================================================*/

/* Replaced color with a luxury light golden shade */
.dash-line {
    display: inline-block;
    width: 30px;
    height: 1px;
    background-color: #e5c185; 
}

.tracking-wide {
    letter-spacing: 0.25em !important;
}

/* Updated Heading Style: 0.95rem, pure black, bold sans-serif */
.section-heading-sm {
    font-family: var(--font-serif); /* Changed to Playfair Display */
    font-weight: 700;
    font-size: 1.5rem;              /* Adjusted slightly up; looks elegant in serif */
    letter-spacing: 0.02em;         /* Slightly tighter letter-spacing for serif elegance */
    color: var(--primary-green);    /* Uses your defined #0d382c theme color variable */
    line-height: 1;      
}

.vision-card {
    background: var(--card-bg);
    border: 1px solid #f0eade;
    border-radius: 8px;
    position: relative; /* CRITICAL: Allows absolute child icons to baseline off this grid */
    margin-top: 24px;   /* Adds overhead buffer to compensate for the shifted icon space */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vision-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(13, 56, 44, 0.04);
}

/* Centers the icon block right on top of the box's upper border line */
.vision-icon-wrap {
    position: absolute !important;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%); /* Shifts element 50% upwards and backwards to absolute center */
    color: var(--primary-green);
    height: 48px;
    width: 48px;
    background: var(--card-bg);        /* Masks out the underlying border line cleanly */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.vision-icon-wrap .icon-sub {
    position: absolute;
    bottom: 2px;
    right: 0px;
    color: var(--gold-accent);
    background: var(--card-bg);
    border-radius: 50%;
    padding: 1px;
}

.vision-text {
    font-size: 0.92rem;
    line-height: 1.55;
    padding-top: 1.5rem; /* Pushes content down down so it doesn't collide with the new shifted icon location */
}
/*==============================================================================
    Statistics Strip Metrics Row (Expanded Depth Setup)
==============================================================================*/
.bg-dark-green {
    background-color: var(--primary-green) !important;
    /* Added hefty inner structural padding to expand the background block container height */
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
}

.border-end-custom {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-title {
    font-family: var(--font-sans);
    font-size: 0.92rem;
    font-weight: 500;
    color: #ffffff;
}

.stat-desc {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive adjustment: removes side lines on mobile views where rows break vertically */
@media (max-width: 767.98px) {
    .border-end-custom {
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 1.5rem;
    }
}

/*==============================================================================
    Footer Block Configuration (Full-Height Framing & Aesthetics)
==============================================================================*/
.footer-section {
    background-color: var(--beige-bg);
    border-top: 1px solid #ebdcc5; /* The top line section of the footer */
    position: relative;
    overflow: hidden; /* Prevents background graphics from causing unwanted page overflow */
}

/* 
   Master layout rules for the decorative side border assets.
   Locks them tightly from the very top line edge down to the absolute bottom.
*/
.footer-decoration {
    position: absolute;
    top: 0;                /* Aligns perfectly to the very top line section */
    bottom: 0;             /* Extends down to the absolute bottom */
    height: 100% !important; 
    width: auto;
    object-fit: contain;   /* Scales graphics beautifully without distorting proportions */
    pointer-events: none;  /* Allows user interactions to pass cleanly through the images */
    z-index: 0;            /* Keeps graphics layered safely behind the text content */
    display: none;         /* Responsive default: Hidden on mobile/tablets to protect text layout space */
}

/* Desktop viewport protection rules */
@media (min-width: 1200px) {
    .footer-decoration {
        display: block;    /* Safely reveals the border images on spacious monitors */
    }
    
    .decoration-left {
        left: 0;           /* Flushes the graphic up against the left viewport edge */
    }

    .decoration-right {
        right: 0;          /* Flushes the graphic up against the right viewport edge */
    }
    
    /* 
       Forces a physical layout buffer inside the central container. 
       This guarantees your text content columns can never touch or cross the side graphics.
    */
    .footer-section .container-custom {
        padding-left: 90px;
        padding-right: 90px;
    }
}

/* High-Z-Index Content Wrapper Container */
.footer-section .z-1 {
    position: relative;
    z-index: 2; /* Forces text to always stack crisp and readable above the graphics canvas */
}

/*------------------------------------------------------------------------------
    Footer Typographic & Internal Layout Elements
------------------------------------------------------------------------------*/
.footer-link-heading {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.footer-links-list li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s ease;
}

.footer-links-list li a:hover {
    color: var(--primary-green);
}

/* Social Media Channels Icons Layout setup */
.social-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid #e1dacb;
    border-radius: 50%;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.social-icon-btn:hover {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    color: #ffffff;
}

/* Newsletter Subscription Form Container Elements */
.newsletter-form {
    background-color: #ffffff;
    border-color: #e1dacb !important;
}

.newsletter-form .form-control:focus {
    box-shadow: none;
    outline: none;
}

.newsletter-form .form-control {
    font-size: 0.85rem;
}

/*==============================================================================
    Responsive Layout Media Queries Overrides
==============================================================================*/
@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 2rem;
        padding-bottom: 3rem;
    }
    .hero-content-col {
        text-align: center;
    }
    .hero-lead {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-btns {
        justify-content: center;
    }
    .border-end-custom {
        border-right: none;
    }
    .text-start-md {
        text-align: left !important;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 2rem;
    }
    .stat-title {
        font-size: 0.82rem;
    }
}


.hero-title-underline::after {
    content: "";
    display: block;
    width: 70px;
    height: 3px;
    background: #d8c16a;
    border-radius: 999px;
    margin-top: 10px;
}
html {
    scroll-behavior: smooth;
    /* Since your navbar is fixed, this adds a safe offset so your heading isn't covered */
    scroll-padding-top: 100px; 
}







/*==============================================================================
    SUBPAGE SYSTEM MODULES: NAMESPACED OVERRIDES (.subpage-initiatives)
==============================================================================*/
:root {
    --subpage-tech-bg: #e8f4f1;
    --subpage-tech-txt: #0d382c;
    --subpage-culture-bg: #fdf0e6;
    --subpage-culture-txt: #d96a26;
    --subpage-edu-bg: #e8effa;
    --subpage-edu-txt: #2663d9;
    --subpage-comm-bg: #f4e8fa;
    --subpage-comm-txt: #8826d9;
}

/* Typography & Utility Helpers */
.font-sm { font-size: 0.9rem; }
.font-xs { font-size: 0.82rem; }
.tracking-sm { letter-spacing: 0.05em; }
.init-search-max-w { max-width: 480px; }
.init-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}
/* Category Accent Badge Tags */
.subpage-initiatives .init-tag-tech { background-color: var(--subpage-tech-bg); color: var(--subpage-tech-txt) !important; }
.subpage-initiatives .init-tag-culture { background-color: var(--subpage-culture-bg); color: var(--subpage-culture-txt) !important; }
.subpage-initiatives .init-tag-edu { background-color: var(--subpage-edu-bg); color: var(--subpage-edu-txt) !important; }
.subpage-initiatives .init-tag-comm { background-color: var(--subpage-comm-bg); color: var(--subpage-comm-txt) !important; }

/* Isolated Element Navigation & Utility Interface Overrides */
.subpage-initiatives .subpage-active-link {
    color: var(--primary-green) !important;
    font-weight: 600;
}
.subpage-initiatives .init-text-primary {
    color: var(--primary-green) !important;
}
/* Custom variables (add these if they aren't defined in your main stylesheet) */
:root {
    --primary-green: #0d382c;
    --text-dark: #333;
    --font-serif: Georgia, serif; 
    --subpage-tech-bg: #e0f2f1;
    --subpage-tech-txt: #00695c;
}

/* Category Accent Badge Tags */
.subpage-initiatives .init-tag-tech { background-color: var(--subpage-tech-bg); color: var(--subpage-tech-txt) !important; }
.subpage-initiatives .init-tag-culture { background-color: var(--subpage-culture-bg); color: var(--subpage-culture-txt) !important; }
.subpage-initiatives .init-tag-edu { background-color: var(--subpage-edu-bg); color: var(--subpage-edu-txt) !important; }
.subpage-initiatives .init-tag-comm { background-color: var(--subpage-comm-bg); color: var(--subpage-comm-txt) !important; }

/* Isolated Element Navigation & Utility Interface Overrides */
.subpage-initiatives .subpage-active-link {
    color: var(--primary-green) !important;
    font-weight: 600;
}
.subpage-initiatives .init-text-primary {
    color: var(--primary-green) !important;
}

/* Subpage Main Hero Blocks UI */
.subpage-initiatives .init-hero-banner {
    background-color: #07221a; /* Clean solid dark emerald base color */
    min-height: 380px;
    position: relative;
    overflow: hidden;
    padding-top: 5.5rem;
    z-index: 1;
}

/* Restricted Canvas Container: Dynamic execution strictly for the upper region */
.subpage-initiatives .init-hero-bg-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%; /* Constrained horizontally away from the left text */
    height: 100%; /* Constrains the image exactly to the upper area, leaving the bottom solid dark */
    z-index: 0;
    pointer-events: none;
}

.subpage-initiatives .init-hero-bg-img {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: luminosity; 
    opacity: 0.6; /* Higher opacity for clear visibility in the allowed quadrant */
}

/* 2-Way Edge Dissolve Mask Configuration */
.subpage-initiatives .init-hero-bg-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 
       Combines two custom gradient paths:
       1. Fades out toward the left (protecting text layout)
       2. Drops off completely into the solid background color before reaching the bottom edge
    */
    background: 
        linear-gradient(to bottom, rgba(7, 34, 26, 0) 40%, #07221a 100%),
        linear-gradient(to right, #07221a 0%, rgba(7, 34, 26, 0.8) 40%, rgba(7, 34, 26, 0) 100%);
    background-blend-mode: multiply;
}

.subpage-initiatives .init-breadcrumb .breadcrumb-item,
.subpage-initiatives .init-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.82rem;
}
.subpage-initiatives .init-breadcrumb .breadcrumb-item.active {
    color: #ffffff;
}
.subpage-initiatives .init-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.4);
}
.subpage-initiatives .init-display-title {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.15;
}
.subpage-initiatives .init-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    font-weight: 300;
    max-width: 580px;
}
.subpage-initiatives .init-search-input {
    border: none;
    border-radius: 4px;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Specific class to keep the mosaic image sharp */
.highlight-image img {
    opacity: 1.0 !important;
}

/* Filter Strip Interface Design */
.subpage-initiatives .init-filter-card {
    border-color: #ebdcc5 !important;
}
.subpage-initiatives .init-filter-label {
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 1px;
}
.subpage-initiatives .init-icon-accent {
    color: var(--primary-green) !important;
}

/* Feeds Card Component Grid */
.subpage-initiatives .init-feed-card {
    box-shadow: 0 4px 15px rgba(13, 56, 44, 0.02);
    border: 1px solid #f2edd3;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.subpage-initiatives .init-feed-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 56, 44, 0.05);
}
.subpage-initiatives .init-readmore {
    color: var(--primary-green);
}
.subpage-initiatives .init-readmore i {
    transition: transform 0.2s ease;
    display: inline-block;
}
.subpage-initiatives .init-readmore:hover i {
    transform: translateX(4px);
}

/* Custom Subpage Pagination Module */
.subpage-initiatives .init-pagination .page-link {
    border: 1px solid #ebdcc5;
    background-color: #ffffff;
    color: var(--text-dark);
    font-size: 0.88rem;
    padding: 0.5rem 0.9rem;
    border-radius: 4px;
}
.subpage-initiatives .init-pagination .page-item.active .page-link {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    color: #ffffff;
}

/* Sidebar Component Elements */
.subpage-initiatives .init-sidebar-widget {
    border: 1px solid #ebdcc5;
}
.subpage-initiatives .init-widget-title {
    color: var(--primary-green);
    font-size: 0.95rem;
}
.subpage-initiatives .init-mini-title a,
.subpage-initiatives .init-event-title a {
    font-size: 0.88rem;
    line-height: 1.3;
    display: block;
    transition: color 0.2s ease;
}
.subpage-initiatives .init-mini-title a:hover,
.subpage-initiatives .init-event-title a:hover {
    color: var(--primary-green) !important;
}

/* Inline Email Banner Box */
.subpage-initiatives .init-inline-cta-box {
    background-color: #f5f0e4;
    border: 1px solid #e2d9c6;
}

/* Dedicated Alternate Dark Footer Styles Override */
/* Dedicated Alternate Dark Footer Styles Override */
.subpage-initiatives .init-dark-footer {
    background-color: #16201e;
    color: #ffffff;
}
.subpage-initiatives .init-footer-dim-text {
    color: #a4b3b0;
}
.subpage-initiatives .init-footer-links li a {
    color: #a4b3b0;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}
.subpage-initiatives .init-footer-links li a:hover {
    color: #ffffff;
}
.subpage-initiatives .init-footer-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: #a4b3b0;
    text-decoration: none;
    font-size: 0.82rem;
    transition: all 0.2s ease;
}
.subpage-initiatives .init-footer-social:hover {
    background-color: var(--primary-green);
    color: #ffffff;
    border-color: var(--primary-green);
}
.subpage-initiatives .init-footer-hr {
    border-color: rgba(255, 255, 255, 0.08);
}

/* Absolute Positioning matching total Footer height */
.subpage-initiatives .footer-bottom-img {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100%;       /* Forces the image height to match the footer exactly */
    width: auto;        /* Maintains the original aspect ratio */
    object-fit: contain;/* Ensures no cropping occurs */
    pointer-events: none; /* Prevents the graphic from blocking link clicks */
    z-index: 0;         /* Keeps it behind text overlays if they ever collide */
}

/* Responsive Adaptive Adjustments Override */
@media (max-width: 991.98px) {
    .subpage-initiatives .init-hero-banner {
        padding-top: 4.5rem;
    }
    .subpage-initiatives .hero-text-align {
        text-align: center;
    }
    .subpage-initiatives .init-hero-bg-wrapper {
        width: 100%;
        height: 100%;
    }
    .subpage-initiatives .init-hero-bg-mask {
        background: rgba(7, 34, 26, 0.92);
    }
}

/* Base styling for nav links */
.navbar-nav .nav-link {
    position: relative;
    padding-bottom: 6px; /* Space between text and the underline */
}

/* The thicker, richer gold underline blueprint */
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px; /* Slightly thicker line */
    background-color: #d4af37; /* Richer, distinct metallic gold */
    transform: scaleX(0); /* Hidden by default */
    transform-origin: bottom left;
    transition: transform 0.25s ease-out;
}

/* Active state: Make underline permanently visible on the current page */
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}
