body {
    box-sizing: border-box;
}

:root {
    --heritage-beige: #F6E8C3;
    --deep-brown: #3E2C00;
    --gold: #D4AF37;
    --black: #000000;
}

.heritage-bg {
    background: linear-gradient(135deg, #F6E8C3 0%, #E8D5A3 100%);
}

.manuscript-texture {
    background-image:
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(62, 44, 0, 0.05) 0%, transparent 50%),
        linear-gradient(45deg, transparent 49%, rgba(212, 175, 55, 0.03) 50%, transparent 51%);
}

.gold-glow {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.gold-glow:hover {
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
}

.scroll-smooth {
    scroll-behavior: smooth;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-video-bg {
    position: relative;
    /* allow absolutely positioned video inside */
    overflow: hidden;
    background: linear-gradient(rgba(62, 44, 0, 0.7), rgba(62, 44, 0, 0.5)),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><pattern id="manuscript" patternUnits="userSpaceOnUse" width="100" height="100"><rect width="100" height="100" fill="%23F6E8C3"/><path d="M10,10 Q50,30 90,10 Q50,50 10,90 Q30,50 10,10" fill="none" stroke="%23D4AF37" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="1200" height="800" fill="url(%23manuscript)"/><g opacity="0.1"><circle cx="200" cy="150" r="80" fill="%23D4AF37"/><circle cx="800" cy="300" r="60" fill="%23D4AF37"/><circle cx="400" cy="600" r="100" fill="%23D4AF37"/></g></svg>');
    background-size: cover;
    background-position: center;
    animation: subtle-float 20s ease-in-out infinite;
}

/* Video element styles for the standalone video section */
.video-frame {
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.hero-video {
    display: block;
    width: 100%;
    height: 56vh;
    /* adjust height as desired */
    min-height: 240px;
    object-fit: contain;
    /* fit inside the padded frame */
    background: black;
    z-index: 0;
    filter: brightness(0.9) saturate(0.98);
}

/* Optional overlay (ensures text readability) for standalone video */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(62, 44, 0, 0.15), rgba(62, 44, 0, 0.15));
    z-index: 1;
    pointer-events: none;
}

/* Mobile: show the video on small screens (no play overlay) */
.mobile-play-overlay {
    display: none;
}

@media (max-width: 767px) {
    .hero-video {
        display: block;
    }

    .mobile-play-overlay {
        display: none;
    }
}

@keyframes subtle-float {

    0%,
    100% {
        background-position: center center;
    }

    50% {
        background-position: center 10px;
    }
}

.palm-leaf-icon {
    background: linear-gradient(45deg, #D4AF37, #B8941F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.open {
    transform: translateX(0);
}

.stats-counter {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--gold);
}
.bg-img{
    background-image: url('/assets/img/volunteerbg.jpg');
    background-color: hsl(42.58deg 100% 12.16% / 50.2%);
    background-blend-mode: overlay;
            background-size: cover;
            background-repeat: no-repeat;
            background-position: center;
            background-attachment: fixed;
            
}

.volunteer-card {
    background: rgba(246, 232, 195, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.volunteer-card:hover {
    background: rgba(246, 232, 195, 0.95);
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateY(-5px);
}