/* ================= VARIABLES & BASE ================= */
:root {
    --deep-blue: #020813;
    --royal-blue: #07152c;
    --metallic-gold: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
    --gold-solid: #c5a059;
    --white: #ffffff;
    --crimson: #630a10;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;
    --glass-bg: rgba(7, 21, 44, 0.6);
    --glass-border: rgba(197, 160, 89, 0.2);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; } /* Makes #contact-form links glide smoothly */
body { font-family: var(--font-body); background-color: var(--deep-blue); color: var(--white); line-height: 1.6; overflow-x: hidden; }
h1, h2, h3, h4, h5 { font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; }
a { text-decoration: none; color: inherit; transition: 0.3s ease; }
.container { max-width: 1300px; margin: 0 auto; padding: 0 25px; position: relative; z-index: 2; }
.section-padding { padding: 120px 0; }
.text-center { text-align: center; }

/* ================= TYPOGRAPHY & FX ================= */
.gold-text { background: var(--metallic-gold); -webkit-background-clip: text; -webkit-text-fill-color: transparent; display: inline-block; }
.glow-effect { text-shadow: 0 0 20px rgba(197, 160, 89, 0.4); }
.section-title { font-size: 42px; margin-bottom: 20px; }
.section-subtitle { font-family: var(--font-body); font-size: 12px; letter-spacing: 4px; margin-bottom: 30px; text-transform: uppercase; }
.glass-card { background: var(--glass-bg); backdrop-filter: blur(10px); border: 1px solid var(--glass-border); padding: 40px; transition: all 0.4s ease; }
.glass-card:hover { border-color: var(--gold-solid); transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }

/* ================= BUTTONS ================= */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 16px 35px; font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; transition: all 0.4s ease; border-radius: 2px; }
.btn-gold { background: var(--metallic-gold); color: var(--deep-blue); border: none; }
.btn-gold:hover { box-shadow: 0 0 25px rgba(252, 246, 186, 0.6); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--gold-solid); border: 1px solid var(--gold-solid); }
.btn-outline:hover { background: rgba(197, 160, 89, 0.1); }

/* ================= HEADER ================= */
header { background: rgba(2, 8, 19, 0.95); backdrop-filter: blur(15px); padding: 20px 0; position: fixed; width: 100%; top: 0; z-index: 1000; border-bottom: 1px solid var(--glass-border); }
.navbar { display: flex; justify-content: space-between; align-items: center; }
.logo-text { font-family: var(--font-heading); font-size: 26px; display: flex; align-items: center; gap: 15px; }
.logo-text span { font-family: var(--font-body); font-size: 9px; letter-spacing: 3px; display: block; color: var(--white); }
.nav-links { display: flex; gap: 20px; align-items: center; }
.nav-links a { font-size: 11px; text-transform: uppercase; font-weight: 600; letter-spacing: 1.5px; }
.nav-links a:hover, .nav-links a.active { color: var(--gold-solid); text-shadow: 0 0 10px rgba(197, 160, 89, 0.5); }
.menu-toggle { display: none; color: var(--gold-solid); font-size: 24px; cursor: pointer; }
main { padding-top: 100px; min-height: 80vh; }

/* ================= MODULES ================= */
.hero { padding: 140px 0 100px; background: radial-gradient(circle at center, var(--royal-blue) 0%, var(--deep-blue) 100%); min-height: 90vh; display: flex; align-items: center; }
.hero h1 { font-size: 64px; line-height: 1.1; margin-bottom: 30px; }
.hero p { font-size: 16px; margin-bottom: 25px; color: #d1d5db; max-width: 800px; }
.team-grid, .logo-grid, .visual-grid { display: grid; gap: 40px; }
.team-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.logo-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); align-items: center; }
.visual-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.team-photo { width: 100%; height: 350px; background-color: rgba(255,255,255,0.05); border-bottom: 3px solid var(--gold-solid); margin-bottom: 20px; background-size: cover; background-position: center; }
.logo-box { background: rgba(255,255,255,0.02); height: 120px; display: flex; align-items: center; justify-content: center; border: 1px dashed var(--glass-border); padding: 20px; }
.logo-box img { max-width: 100%; max-height: 100%; object-fit: contain; }
.stewardship-statement { font-size: 24px; font-weight: 300; text-align: center; max-width: 900px; margin: 0 auto 40px; border-left: 4px solid var(--gold-solid); border-right: 4px solid var(--gold-solid); padding: 20px; }
.testimonial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.testimonial-card { display: flex; gap: 20px; align-items: flex-start; }
.test-photo { width: 80px; height: 80px; border-radius: 50%; background-color: #333; border: 2px solid var(--gold-solid); flex-shrink: 0; background-size: cover; background-position: center;}
.involved-split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.involved-img { width: 100%; height: 500px; border: 1px solid var(--gold-solid); background-size: cover; background-position: center; background-color: rgba(255,255,255,0.05); }
.pathway { display: block; padding: 25px; border: 1px solid var(--glass-border); margin-bottom: 15px; cursor: pointer; }
.pathway:hover { background: var(--metallic-gold); color: var(--deep-blue); transform: translateX(10px); }
.contact-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 50px; }
.form-control { width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--glass-border); color: var(--white); padding: 15px 0; margin-bottom: 25px; font-family: var(--font-body); font-size: 16px;}
.form-control:focus { outline: none; border-bottom: 1px solid var(--gold-solid); }

/* ================= FOOTER ================= */
.custom-footer { background-color: var(--deep-blue); position: relative; overflow: hidden; border-top: 1px solid var(--glass-border); border-bottom: 8px solid var(--gold-solid); padding: 50px 0; margin-top: 50px; }
.custom-footer-inner { display: flex; align-items: center; max-width: 1300px; margin: 0 auto; padding: 0 25px; }
.footer-logo-placeholder { width: 100px; height: 100px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 40px; border: 1px dashed var(--gold-solid); color: var(--gold-solid); overflow: hidden; }
.footer-logo-placeholder img { width: 100%; height: 100%; object-fit: contain; }
.footer-content-area { flex-grow: 1; }
.footer-org-name { font-family: var(--font-body); font-size: 22px; font-weight: 700; color: var(--gold-solid); margin-bottom: 10px; }
.footer-divider { height: 1px; background: var(--metallic-gold); border: none; margin-bottom: 15px; width: 100%; }
.footer-values-row { display: flex; align-items: center; gap: 15px; font-size: 12px; font-weight: 700; letter-spacing: 2px; }
.red-dot { color: var(--crimson); font-size: 24px; line-height: 1; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; font-size: 12px; color: #888; }
.footer-bottom a:hover { color: var(--gold-solid); }

@media (max-width: 1024px) { .contact-layout, .involved-split, .testimonial-grid { grid-template-columns: 1fr; } }
@media (max-width: 768px) {
    .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: rgba(2,8,19,0.98); padding: 30px; }
    .nav-links.active { display: flex; }
    .menu-toggle { display: block; }
    .hero h1 { font-size: 40px; }
    .custom-footer-inner { flex-direction: column; text-align: center; }
    .footer-logo-placeholder { margin: 0 auto 20px; }
    .footer-bottom { flex-direction: column; gap: 10px; }
}








/* ================= EXACT FOOTER RECREATION (Ref: 1000043026_2.jpg) ================= */
.hrvg-exact-footer {
    position: relative;
    background-color: #040b18; /* Dark corporate navy */
    /* Adds a subtle depth to the background mimicking a map/texture */
    background-image: radial-gradient(circle at center, rgba(255,255,255,0.03) 0%, transparent 60%);
    border-bottom: 6px solid #c5a059; /* Solid gold bottom border */
    overflow: hidden;
    padding: 35px 0;
    font-family: var(--font-body, 'Montserrat', sans-serif);
    color: white;
    margin-top: 50px;
}

/* The exact diagonal stripes on the right side */
.footer-stripes-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 45%; 
    background: linear-gradient(
        115deg, 
        transparent 45%, 
        #5e0912 45%, /* Thick red */
        #5e0912 70%, 
        #c5a059 70%, /* Thin gold */
        #c5a059 72%, 
        #040b18 72%, /* Thin navy gap */
        #040b18 75%, 
        #c5a059 75%, /* Thin gold */
        #c5a059 77%, 
        #5e0912 77%, /* Thick red */
        #5e0912 100%
    );
    z-index: 1;
    pointer-events: none;
}

.footer-content-wrapper {
    position: relative;
    z-index: 2; /* Keeps text above the background stripes */
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo img {
    width: 140px; 
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.5));
}

.footer-text {
    flex-grow: 1;
    padding-right: 50px; /* Keeps text from touching the stripes */
}

.footer-title {
    font-family: var(--font-heading, 'Cinzel', serif);
    color: #c5a059;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.footer-divider-line {
    border: none;
    height: 2px;
    background-color: #c5a059;
    margin-bottom: 12px;
    width: 100%;
}

.footer-core-values {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-dot {
    width: 5px;
    height: 5px;
    background-color: #b0111a; /* Exact bright red dot */
    border-radius: 50%;
    display: inline-block;
}

.footer-powered-text {
    font-size: 13px;
    color: #ffffff;
    margin-bottom: 15px;
}

/* The newly added extra information */
.footer-extra-info {
    font-size: 11px;
    color: #888888;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    border-top: 1px dashed rgba(197, 160, 89, 0.2); /* Subtle separation line */
    padding-top: 12px;
}

.footer-extra-info a {
    color: #888888;
    text-decoration: none;
    transition: 0.3s;
}

.footer-extra-info a:hover {
    color: #c5a059;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .footer-content-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .footer-text {
        padding-right: 0;
    }
    .footer-core-values {
        justify-content: center;
        font-size: 12px;
        gap: 10px;
        flex-wrap: wrap;
    }
    .footer-stripes-bg {
        opacity: 0.2; /* Fades stripes on mobile so text remains readable */
    }
}




/* ==========================================
   HRVG CUSTOM PRELOADER
   ========================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #071026; /* HRVG Deep Blue */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.preloader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 50%;
    animation: pulseLogo 1.5s ease-in-out infinite alternate;
}

.loader-spinner {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 3px solid rgba(197, 160, 89, 0.15); /* Soft Gold Ring */
    border-top: 3px solid #c5a059; /* HRVG Solid Gold Accent */
    border-radius: 50%;
    animation: spinLoader 1s linear infinite;
}

@keyframes spinLoader {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulseLogo {
    0% { transform: scale(0.92); opacity: 0.85; }
    100% { transform: scale(1.05); opacity: 1; }
}






/* ==========================================
   HRVG DRAGGABLE AUDIO MEDALLION (ALWAYS VISIBLE)
   ========================================== */
#hrvg-audio-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    border: 2px solid #c5a059; /* HRVG Gold */
    z-index: 999999; /* Ensures it stays above absolutely everything */
    cursor: grab;
    user-select: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    overflow: hidden;
    touch-action: none; /* Prevents screen scrolling while dragging on mobile */
}

#hrvg-audio-widget:active {
    cursor: grabbing;
    transform: scale(0.95);
}

/* Pulsating Red Heart Glow when Playing */
#hrvg-audio-widget.is-playing {
    animation: hrvgHeartbeat 2s infinite;
}

@keyframes hrvgHeartbeat {
    0% { box-shadow: 0 0 5px rgba(180, 20, 20, 0.4); }
    50% { box-shadow: 0 0 20px rgba(180, 20, 20, 0.9); border-color: #ff3333; }
    100% { box-shadow: 0 0 5px rgba(180, 20, 20, 0.4); }
}

/* Logo Background */
.audio-logo-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Dark Overlay for Icon Status */
.audio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    transition: background 0.3s ease, color 0.3s ease;
}

.audio-overlay.play-state {
    background: rgba(7, 16, 38, 0.35); /* Subtle deep blue tint */
    color: #ffffff;
    text-shadow: 0px 0px 5px #000;
}

.audio-overlay.mute-state {
    background: rgba(7, 16, 38, 0.75); /* Darker overlay when muted */
    color: #c5a059;
}