/* ============================================================
   SIA SRC Main Stylesheet
   Colors: Primary #165426 | Accent #FAA349
   ============================================================ */

/* ── Variables ─────────────────────────────────────────── */
:root {
    --green:        #165426;
    --green-dark:   #0f3a1b;
    --green-light:  #1e6e34;
    --gold:         #FAA349;
    --gold-dark:    #e8893a;
    --white:        #ffffff;
    --off-white:    #f8f9fa;
    --light:        #f2f4f0;
    --border:       #e0e7e3;
    --text:         #1a1a1a;
    --text-muted:   #6c757d;
    --shadow-sm:    0 2px 8px rgba(22, 84, 38, 0.08);
    --shadow:       0 4px 20px rgba(22, 84, 38, 0.12);
    --shadow-lg:    0 8px 40px rgba(22, 84, 38, 0.16);
    --shadow-gold:  0 4px 20px rgba(250, 163, 73, 0.20);
    --radius:       10px;
    --radius-lg:    16px;
    --transition:   all 0.3s ease;
    --font:         'Poppins', 'Segoe UI', Tahoma, sans-serif;
}

/* ── Reset & Base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background-color: var(--off-white);
    color: var(--text);
    padding-top: 76px;
    overflow-x: hidden;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--green);
    line-height: 1.3;
}

a {
    color: var(--green);
    text-decoration: none;
    transition: var(--transition);
}

a:hover { color: var(--gold); }

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

/* ── Skip Navigation ────────────────────────────────────── */
.skip-nav {
    position: absolute;
    top: -100px;
    left: 10px;
    background: var(--green);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius);
    z-index: 9999;
    font-weight: 600;
    transition: top 0.3s;
}
.skip-nav:focus { top: 10px; color: var(--white); }

/* ── Page Loader ────────────────────────────────────────── */
#page-loader {
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
#page-loader.hidden { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; }
.loader-inner img {
    animation: loaderPulse 1s ease-in-out infinite alternate;
    margin-bottom: 16px;
}
.loader-bar {
    width: 180px;
    height: 4px;
    background: var(--border);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
}
.loader-progress {
    height: 100%;
    background: var(--green);
    border-radius: 10px;
    animation: loaderSlide 1.2s ease-in-out infinite;
}
@keyframes loaderPulse {
    from { transform: scale(0.95); opacity: 0.8; }
    to   { transform: scale(1.05); opacity: 1; }
}
@keyframes loaderSlide {
    0%   { width: 0%; transform: translateX(0); }
    50%  { width: 70%; }
    100% { width: 0%; transform: translateX(300px); }
}

/* ── Navbar ─────────────────────────────────────────────── */
#mainNav {
    background: var(--green);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}
#mainNav.scrolled {
    background: var(--green-dark);
    padding: 6px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.navbar-brand img {
    border-radius: 50%;
    border: 2px solid var(--gold);
    transition: var(--transition);
}
.navbar-brand:hover img { transform: scale(1.05); }
.brand-text {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 1px;
}
.brand-text span { color: var(--gold); }

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    font-size: 0.92rem;
    padding: 8px 12px !important;
    border-radius: var(--radius);
    position: relative;
    transition: var(--transition);
    letter-spacing: 0.3px;
}
.navbar-nav .nav-link .nav-icon {
    font-size: 0.8rem;
    margin-right: 4px;
    opacity: 0.8;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--gold) !important;
    background: rgba(255, 255, 255, 0.08);
}
.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}

/* Dropdown */
.dropdown-menu {
    background: var(--white);
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 10px;
    min-width: 220px;
    animation: dropdownFade 0.2s ease;
    border-top: 3px solid var(--gold);
}
@keyframes dropdownFade {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.dropdown-item {
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 9px 14px;
    border-radius: 8px;
    transition: var(--transition);
}
.dropdown-item:hover {
    background: var(--light);
    color: var(--green);
    padding-left: 20px;
}
.dropdown-item i { color: var(--green); width: 18px; }
.dropdown-divider { border-color: var(--border); margin: 6px 0; }

/* Dropdown on hover (desktop only) */
@media (min-width: 992px) {
    .navbar-nav .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
        animation: dropdownFade 0.2s ease;
    }
}

/* Navbar Buttons */
.btn-icon-nav {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.btn-icon-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--gold);
}
.btn-nav-action {
    background: var(--gold);
    color: var(--green);
    font-weight: 600;
    font-size: 0.88rem;
    padding: 8px 18px;
    border-radius: 50px;
    border: none;
    box-shadow: var(--shadow-gold);
    transition: var(--transition);
}
.btn-nav-action:hover {
    background: var(--gold-dark);
    color: var(--green);
    transform: translateY(-1px);
}

/* Toggler */
.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 6px 10px;
    border-radius: 8px;
}
.toggler-icon { color: var(--white); font-size: 1.1rem; }

/* ── Search Overlay ─────────────────────────────────────── */
.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 9998;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 100px;
}
.search-overlay.active { display: flex; }
.search-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 620px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: searchFade 0.25s ease;
}
@keyframes searchFade {
    from { opacity: 0; transform: translateY(-20px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.search-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--green);
    color: var(--white);
    padding: 14px 20px;
    font-weight: 600;
}
#searchInput {
    border: none;
    border-bottom: 2px solid var(--border);
    border-radius: 0;
    padding: 16px 20px;
    font-size: 1rem;
    font-family: var(--font);
    box-shadow: none !important;
}
#searchInput:focus { border-color: var(--green); }
#searchResults { max-height: 350px; overflow-y: auto; }
.search-result-item {
    padding: 12px 20px;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
    cursor: pointer;
}
.search-result-item:hover { background: var(--light); }
.search-result-item h6 {
    color: var(--green);
    margin-bottom: 2px;
    font-size: 0.92rem;
}
.search-result-item p {
    color: var(--text-muted);
    font-size: 0.82rem;
    margin: 0;
}
.search-no-results {
    padding: 20px;
    text-align: center;
    color: var(--text-muted);
}

/* ── Buttons ────────────────────────────────────────────── */
.btn-primary-src {
    background: var(--green);
    color: var(--gold);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 50px;
    border: 2px solid var(--green);
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}
.btn-primary-src:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--green);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-outline-src {
    background: transparent;
    color: var(--green);
    font-weight: 600;
    padding: 10px 26px;
    border-radius: 50px;
    border: 2px solid var(--green);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}
.btn-outline-src:hover {
    background: var(--green);
    color: var(--gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-gold {
    background: var(--gold);
    color: var(--green);
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 50px;
    border: 2px solid var(--gold);
    box-shadow: var(--shadow-gold);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-gold:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    color: var(--green);
    transform: translateY(-2px);
}

/* ── Section Titles ─────────────────────────────────────── */
.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 12px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gold);
    border-radius: 3px;
}
.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-top: 16px;
    margin-bottom: 0;
}

/* ── Hero Section ───────────────────────────────────────── */
.hero-section {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #0a2812;
}
.hero-section .hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/srcheropicture.jpg');
    background-size: cover;
    background-position: center top;
    opacity: 1;
    z-index: 0;
}
.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 58, 27, 0.52);
    z-index: 1;
}
.hero-section .container { position: relative; z-index: 2; }
.hero-section h1 {
    color: var(--white);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}
.hero-section .hero-sub {
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(1rem, 2vw, 1.2rem);
    max-width: 640px;
    margin: 0 auto 30px;
}
.hero-section.hero-sm { min-height: 45vh; }
.hero-section.hero-sm .hero-bg {
    background-position: center 25%;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(250, 163, 73, 0.15);
    border: 1px solid rgba(250, 163, 73, 0.4);
    color: var(--gold);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}
.hero-scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    gap: 6px;
    animation: scrollHint 2s ease-in-out infinite;
}
@keyframes scrollHint {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
    50%       { transform: translateX(-50%) translateY(6px); opacity: 1; }
}

/* ── Cards ──────────────────────────────────────────────── */
.src-card {
    background: var(--white);
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
}
.src-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.src-card .card-img-wrapper {
    overflow: hidden;
    height: 200px;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
}
.src-card .card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.src-card:hover .card-img-wrapper img { transform: scale(1.06); }
.src-card .card-body { padding: 22px; }
.src-card .card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 10px;
}
.card-icon-box {
    width: 56px;
    height: 56px;
    background: var(--light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    font-size: 1.4rem;
    margin-bottom: 16px;
    transition: var(--transition);
}
.src-card:hover .card-icon-box {
    background: var(--green);
    color: var(--gold);
}

/* ── Status Badges ──────────────────────────────────────── */
.badge-upcoming {
    background: #e8f5e9;
    color: #2e7d32;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.78rem;
}
.badge-past {
    background: #f5f5f5;
    color: #757575;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.78rem;
}
.badge-planned {
    background: #e3f2fd;
    color: #1565c0;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.78rem;
}
.badge-ongoing {
    background: #fff8e1;
    color: #e65100;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.78rem;
}
.badge-completed {
    background: #e8f5e9;
    color: #2e7d32;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.78rem;
}

/* ── Filter Buttons ─────────────────────────────────────── */
.filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 36px;
}
.filter-btn {
    background: var(--white);
    border: 2px solid var(--border);
    color: var(--text);
    font-weight: 500;
    padding: 8px 22px;
    border-radius: 50px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
    background: var(--green);
    border-color: var(--green);
    color: var(--gold);
    box-shadow: var(--shadow);
}

/* ── Executive Cards ────────────────────────────────────── */
.executive-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 28px 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
    height: 100%;
}
.executive-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}
.executive-card .exec-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold);
    margin: 0 auto 16px;
    display: block;
}
.executive-card .exec-icon {
    width: 80px;
    height: 80px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--gold);
    margin: 0 auto 16px;
    border: 3px solid var(--border);
    transition: var(--transition);
}
.executive-card:hover .exec-icon {
    background: var(--green);
    border-color: var(--green);
}
.executive-card .exec-position {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.executive-card .exec-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 8px;
}
.executive-card .exec-quote {
    font-style: italic;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 12px;
}
.executive-card .exec-desc {
    font-size: 0.88rem;
    color: #555;
    line-height: 1.6;
}

/* ── Stats Counter ──────────────────────────────────────── */
.stats-section {
    background: var(--green);
    padding: 60px 0;
}
.stat-item { text-align: center; }
.stat-item .stat-number {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    display: block;
}
.stat-item .stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 8px;
    display: block;
}
.stat-item .stat-icon {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 8px;
}

/* ── Announcement Cards ─────────────────────────────────── */
.announcement-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 24px;
    border-left: 4px solid var(--gold);
    transition: var(--transition);
    height: 100%;
}
.announcement-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-left-color: var(--green);
}
.announcement-card .ann-icon {
    color: var(--gold);
    font-size: 1.4rem;
    margin-bottom: 12px;
}
.announcement-card h5 {
    color: var(--green);
    font-size: 1rem;
    margin-bottom: 8px;
}
.announcement-card p { color: #555; font-size: 0.9rem; }
.announcement-card .ann-meta {
    font-size: 0.82rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}
.announcement-card .ann-meta i { color: var(--green); }

/* ── Gallery Grid ───────────────────────────────────────── */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    aspect-ratio: 4 / 3;
    background: var(--light);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(22, 84, 38, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay i { color: var(--white); font-size: 2rem; }

/* ── Store Cards ────────────────────────────────────────── */
.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border);
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.product-img {
    height: 220px;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-img img { transform: scale(1.06); }
.product-img .product-icon {
    font-size: 3.5rem;
    color: var(--gold);
    opacity: 0.7;
}
.product-info { padding: 18px; }
.product-name { font-weight: 700; color: var(--green); font-size: 1rem; }
.product-price { font-weight: 700; color: var(--gold); font-size: 1.1rem; }
.product-desc { font-size: 0.88rem; color: #555; margin: 6px 0 14px; }

/* ── Forms ──────────────────────────────────────────────── */
.form-control, .form-select {
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 16px;
    font-family: var(--font);
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--white);
}
.form-control:focus, .form-select:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(22, 84, 38, 0.12);
    outline: none;
}
.form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--green);
    margin-bottom: 6px;
}
.input-icon-wrapper { position: relative; }
.input-icon-wrapper .form-control { padding-left: 42px; }
.input-icon-wrapper .input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ── Contact Page ───────────────────────────────────────── */
.contact-info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 28px;
    border-top: 4px solid var(--gold);
}
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-icon {
    width: 44px;
    height: 44px;
    background: var(--light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    font-size: 1.1rem;
    flex-shrink: 0;
}
.contact-form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 36px;
}

/* ── Application & Nomination Forms ────────────────────── */
.form-page-wrapper {
    max-width: 780px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 40px;
}
.form-step-indicator {
    display: flex;
    gap: 0;
    margin-bottom: 36px;
    counter-reset: step;
}
.form-step {
    flex: 1;
    text-align: center;
    position: relative;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
}
.form-step::before {
    content: counter(step);
    counter-increment: step;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: var(--border);
    border-radius: 50%;
    margin: 0 auto 8px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
}
.form-step.active { color: var(--green); }
.form-step.active::before { background: var(--green); color: var(--gold); }
.form-step.done::before { background: var(--gold); color: var(--green); content: '✓'; }
.form-step::after {
    content: '';
    position: absolute;
    top: 17px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: var(--border);
    z-index: -1;
}
.form-step:last-child::after { display: none; }

/* ── Constitution ───────────────────────────────────────── */
.constitution-viewer {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.constitution-toolbar {
    background: var(--green);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
.constitution-toolbar h5 { color: var(--white); margin: 0; font-size: 0.95rem; }

/* ── Modals ─────────────────────────────────────────────── */
.modal-content {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}
.modal-header {
    background: var(--green);
    color: var(--white);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 18px 24px;
}
.modal-header .modal-title { color: var(--gold); font-weight: 700; }
.modal-header .btn-close { filter: invert(1) brightness(1.5); }
.modal-body { padding: 24px; }
.modal-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.93rem;
}
.modal-detail-item:last-child { border-bottom: none; }
.modal-detail-item i {
    color: var(--green);
    width: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ── Back to Top ────────────────────────────────────────── */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 46px;
    height: 46px;
    background: var(--green);
    color: var(--gold);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 900;
    font-size: 0.9rem;
}
.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--gold);
    color: var(--green);
    transform: translateY(-3px);
}

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
    background: var(--green-dark);
    color: rgba(255, 255, 255, 0.85);
    padding: 70px 0 0;
    margin-top: 80px;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}
.footer-brand img {
    border-radius: 50%;
    border: 2px solid var(--gold);
}
.footer-brand h4 { color: var(--white); margin: 0; font-size: 1.3rem; }
.footer-desc { font-size: 0.9rem; line-height: 1.7; opacity: 0.8; margin-bottom: 24px; }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--transition);
}
.footer-socials a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--green);
    transform: translateY(-3px);
}
.footer-heading {
    color: var(--gold);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gold);
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-links a i { color: var(--gold); font-size: 0.7rem; }
.footer-links a:hover { color: var(--gold); padding-left: 6px; }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li {
    display: flex;
    gap: 14px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    margin-bottom: 14px;
    align-items: flex-start;
}
.footer-contact li i { color: var(--gold); margin-top: 3px; flex-shrink: 0; width: 16px; }
.footer-contact a {
    color: rgba(255, 255, 255, 0.75);
    transition: var(--transition);
}
.footer-contact a:hover { color: var(--gold); }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    margin-top: 50px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}
.footer-bottom a {
    color: var(--gold);
    font-weight: 600;
}
.footer-bottom a:hover { color: var(--white); }

/* ── Welcome Message Section ────────────────────────────── */
.welcome-section { padding: 80px 0; }
.welcome-img-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}
.welcome-img-wrapper img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}
.welcome-img-placeholder {
    width: 100%;
    height: 380px;
    background: var(--light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.welcome-img-placeholder i { font-size: 3rem; color: var(--border); }
.welcome-role {
    display: inline-block;
    background: var(--gold);
    color: var(--green);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 4px 14px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.welcome-name { font-size: 1.2rem; font-weight: 700; color: var(--green); margin-top: 8px; }
blockquote.welcome-quote {
    border-left: 4px solid var(--gold);
    padding-left: 20px;
    margin: 16px 0;
    color: #555;
    font-style: italic;
    line-height: 1.8;
}

/* ── Quick Link Cards ───────────────────────────────────── */
.quick-link-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    height: 100%;
}
.quick-link-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}
.quick-link-card .ql-icon {
    width: 64px;
    height: 64px;
    background: var(--light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--green);
    margin: 0 auto 18px;
    transition: var(--transition);
}
.quick-link-card:hover .ql-icon {
    background: var(--green);
    color: var(--gold);
}
.quick-link-card h5 { font-size: 1rem; color: var(--green); margin-bottom: 8px; }
.quick-link-card p { font-size: 0.88rem; color: #666; margin-bottom: 18px; }

/* ── Breadcrumb ─────────────────────────────────────────── */
.page-breadcrumb {
    background: var(--light);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}
.breadcrumb {
    margin: 0;
    background: transparent;
    padding: 0;
    font-size: 0.88rem;
}
.breadcrumb-item a { color: var(--green); }
.breadcrumb-item.active { color: var(--text-muted); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--text-muted); }

/* ── Alert Styles ───────────────────────────────────────── */
.alert {
    border: none;
    border-radius: var(--radius);
    font-size: 0.93rem;
}
.alert-success { background: #e8f5e9; color: #2e7d32; }
.alert-danger  { background: #ffebee; color: #c62828; }
.alert-warning { background: #fff8e1; color: #e65100; }
.alert-info    { background: #e3f2fd; color: #1565c0; }

/* ── Print Styles ───────────────────────────────────────── */
@media print {
    #page-loader, #mainNav, .search-overlay, .back-to-top, .site-footer,
    .btn-primary-src, .btn-outline-src, .btn-gold { display: none !important; }
    body { padding-top: 0; background: white; }
    h1, h2, h3, h4, h5, h6 { color: #000 !important; print-color-adjust: exact; }
    .src-card, .executive-card { box-shadow: none; border: 1px solid #ddd; }
}

/* ── Accessibility ──────────────────────────────────────── */
:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 991px) {
    #navbarContent {
        background: var(--green-dark);
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
        padding: 16px;
        margin-top: 10px;
        box-shadow: var(--shadow-lg);
    }
    .navbar-nav .nav-link.active::after { display: none; }
    .navbar-actions { padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.1); }
}
@media (max-width: 768px) {
    body { padding-top: 68px; }
    .hero-section { min-height: 60vh; }
    .hero-section.hero-sm { min-height: 38vh; }
    .hero-section h1 { font-size: 1.8rem; }
    .form-page-wrapper { padding: 24px; }
    .welcome-img-wrapper img { height: 280px; }
    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
    .contact-form-card { padding: 24px; }
}
@media (max-width: 576px) {
    .filter-group { gap: 6px; }
    .filter-btn { padding: 6px 16px; font-size: 0.85rem; }
    .section-title { font-size: 1.5rem; }
    .stats-section .stat-number { font-size: 2rem; }
}

/* ============================================================
   GLASSMORPHISM & MOTION ENHANCEMENTS
   (no gradients — translucent solids + backdrop blur only)
   Palette preserved: green #165426 / gold #FAA349
   ============================================================ */
:root {
    --glass-bg:        rgba(255, 255, 255, 0.65);
    --glass-bg-strong: rgba(255, 255, 255, 0.82);
    --glass-border:    rgba(255, 255, 255, 0.45);
    --glass-green:     rgba(15, 58, 27, 0.72);
    --glass-green-2:   rgba(22, 84, 38, 0.55);
    --glass-blur:      blur(14px) saturate(140%);
    --ease-soft:       cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Glass Navbar ───────────────────────────────────────── */
#mainNav {
    background: var(--glass-green);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid rgba(250, 163, 73, 0.18);
    transition: background 0.4s var(--ease-soft), padding 0.3s var(--ease-soft), box-shadow 0.3s ease;
}
#mainNav.scrolled {
    background: rgba(15, 58, 27, 0.88);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    backdrop-filter: blur(18px) saturate(160%);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.22);
}
/* Animated underline on hover */
.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: 0;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width 0.3s var(--ease-soft);
}
.navbar-nav .nav-link:hover::before { width: 22px; }
.navbar-nav .nav-link.active::before { width: 0; }

/* ── Glass Dropdown + smooth hover reveal ───────────────── */
.dropdown-menu {
    background: var(--glass-bg-strong);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    backdrop-filter: blur(16px) saturate(160%);
    border: 1px solid var(--glass-border);
    border-top: 3px solid var(--gold);
}
.dropdown-item:hover {
    background: rgba(22, 84, 38, 0.08);
}
.dropdown-toggle::after { transition: transform 0.3s var(--ease-soft); }
@media (min-width: 992px) {
    .navbar-nav .dropdown:hover > .dropdown-toggle::after,
    .navbar-actions .dropdown:hover > .dropdown-toggle::after { transform: rotate(180deg); }
    /* Smooth fade-in/out reveal on hover (instead of abrupt display toggle) */
    .navbar-nav .dropdown-menu,
    .navbar-actions .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: opacity 0.28s var(--ease-soft), transform 0.28s var(--ease-soft), visibility 0.28s;
        margin-top: 0;
        pointer-events: none;
        animation: none;
    }
    .navbar-nav .dropdown:hover > .dropdown-menu,
    .navbar-actions .dropdown:hover > .dropdown-menu,
    .navbar-nav .dropdown-menu.show,
    .navbar-actions .dropdown-menu.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
}

/* ── Glass Search Overlay ───────────────────────────────── */
.search-overlay { background: rgba(10, 40, 18, 0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.search-box {
    background: var(--glass-bg-strong);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid var(--glass-border);
}

/* ── Glass cards & hover lift ───────────────────────────── */
.src-card, .quick-link-card, .executive-card, .product-card,
.announcement-card, .contact-info-card {
    background: var(--glass-bg-strong);
    -webkit-backdrop-filter: blur(10px) saturate(130%);
    backdrop-filter: blur(10px) saturate(130%);
    border: 1px solid var(--glass-border);
    transition: transform 0.4s var(--ease-soft), box-shadow 0.4s var(--ease-soft), border-color 0.4s ease;
}
.src-card:hover, .quick-link-card:hover, .executive-card:hover,
.product-card:hover { box-shadow: 0 14px 44px rgba(15, 58, 27, 0.20); }

/* Icon boxes pop on hover */
.card-icon-box, .ql-icon, .contact-info-icon {
    transition: transform 0.4s var(--ease-soft), background 0.4s ease, color 0.4s ease;
}
.quick-link-card:hover .ql-icon,
.src-card:hover .card-icon-box { transform: translateY(-4px) scale(1.06); }

/* ── Hero glass badge + buttons ─────────────────────────── */
.hero-badge {
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.hero-section h1 { animation: heroRise 0.9s var(--ease-soft) both; }
.hero-section .hero-sub { animation: heroRise 0.9s 0.12s var(--ease-soft) both; }
.hero-section .d-flex { animation: heroRise 0.9s 0.24s var(--ease-soft) both; }
@keyframes heroRise {
    from { opacity: 0; transform: translateY(26px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Button press + lift micro-interactions */
.btn-primary-src, .btn-outline-src, .btn-gold, .btn-nav-action, .filter-btn {
    transition: transform 0.25s var(--ease-soft), background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.btn-primary-src:active, .btn-outline-src:active,
.btn-gold:active, .btn-nav-action:active { transform: translateY(0) scale(0.97); }

/* ── Glass Back-to-Top ──────────────────────────────────── */
.back-to-top {
    background: var(--glass-green);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(250, 163, 73, 0.35);
}

/* ── Glass Modal & Footer socials ───────────────────────── */
.modal-content {
    background: var(--glass-bg-strong);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    backdrop-filter: blur(18px) saturate(150%);
}
.footer-socials a { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

/* ── Scroll-reveal helper (used by AOS-less elements) ───── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Stat items subtle hover ────────────────────────────── */
.stat-item { transition: transform 0.4s var(--ease-soft); }
.stat-item:hover { transform: translateY(-6px); }

/* Respect reduced-motion: disable blur-heavy transitions */
@media (prefers-reduced-motion: reduce) {
    .hero-section h1, .hero-section .hero-sub, .hero-section .d-flex { animation: none; }
}

/* Graceful fallback when backdrop-filter is unsupported */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    #mainNav { background: var(--green); }
    #mainNav.scrolled { background: var(--green-dark); }
    .dropdown-menu, .search-box, .modal-content,
    .src-card, .quick-link-card, .executive-card,
    .product-card, .announcement-card, .contact-info-card { background: var(--white); }
    .back-to-top { background: var(--green); }
}
