/* ==========================================================================
   DESIGN SYSTEM - WALNUT NOIR & GOLD
   Roehampton Cultural Centre (RCC) - Premium CSS
   ========================================================================== */

/* Variables */
:root {
    --color-bg-primary: #170E0D;       /* Warmest darkest brown (walnut noir) */
    --color-bg-secondary: #221513;     /* Dark walnut */
    --color-bg-tertiary: #2D1D1A;      /* Rich medium walnut */
    --color-bg-card: rgba(45, 29, 26, 0.45); /* Glassmorphism card fill */
    --color-bg-input: #1C1110;         /* Input field background */
    --color-text-main: #F4EFE6;        /* Soft cream white */
    --color-text-muted: #A38F8A;       /* Warm muted taupe */
    --color-gold: #C5A880;             /* Champagne Gold */
    --color-gold-bright: #E5C05B;      /* Bright Accent Gold */
    --color-gold-dark: #8A6F27;        /* Deep gold shadow */
    --color-bronze: #5E4B43;           /* Darker walnut bronze accent */
    --color-success: #32D74B;          /* Soft bright green for verified badges */
    --color-error: #FF453A;            /* Crimson red for validation */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-fast: all 0.2s ease-out;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --box-shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.45);
    --box-shadow-glow: 0 0 25px rgba(197, 168, 128, 0.12);
}

/* Global Resets */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-bg-primary);
    color: var(--color-text-main);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    scrollbar-width: thin;
    scrollbar-color: var(--color-bronze) var(--color-bg-primary);
}

/* Custom Scrollbar */
html::-webkit-scrollbar {
    width: 8px;
}
html::-webkit-scrollbar-track {
    background: var(--color-bg-primary);
}
html::-webkit-scrollbar-thumb {
    background: var(--color-bronze);
    border-radius: var(--border-radius-sm);
}
html::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold);
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
}

/* Screen Reader Only Utility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(23, 14, 13, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(197, 168, 128, 0.1);
    transition: var(--transition-smooth);
}

.header-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo styling */
.logo-wrapper {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 1rem;
}

.site-logo {
    height: 48px;
    width: auto;
}

.logo-svg {
    height: 46px;
    width: 46px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-text-main);
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gold);
    font-weight: 500;
}

/* Desktop navigation links */
.desktop-nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 0.25rem;
    position: relative;
    transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: var(--color-gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-gold), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
    transform: scaleX(1);
}

/* Call to action button in Nav */
.btn-donate-nav {
    text-decoration: none;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: var(--color-bg-primary);
    padding: 0.65rem 1.35rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(197, 168, 128, 0.25);
    transition: var(--transition-smooth);
}

.btn-donate-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 168, 128, 0.4);
    background: linear-gradient(135deg, var(--color-gold-bright), var(--color-gold));
}

/* Hamburger mobile button */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 110;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: var(--color-text-main);
    transition: var(--transition-smooth);
}

/* Open states for hamburger icon lines */
.hamburger-btn.open .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger-btn.open .hamburger-line:nth-child(2) {
    opacity: 0;
}
.hamburger-btn.open .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   MOBILE DRAWER NAVIGATION
   ========================================================================== */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background-color: var(--color-bg-secondary);
    border-left: 1px solid rgba(197, 168, 128, 0.15);
    box-shadow: var(--box-shadow-premium);
    z-index: 105;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.mobile-drawer.open {
    transform: translateX(-320px);
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 104;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drawer-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-gold);
    font-weight: 600;
}

.drawer-close-btn {
    background: transparent;
    border: none;
    font-size: 2rem;
    color: var(--color-text-muted);
    cursor: pointer;
    line-height: 1;
}

.mobile-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.drawer-link {
    text-decoration: none;
    color: var(--color-text-main);
    font-size: 1.15rem;
    font-weight: 500;
    display: block;
    padding: 0.5rem 0;
    transition: var(--transition-fast);
}

.drawer-link:hover {
    color: var(--color-gold);
    padding-left: 8px;
}

.drawer-donate {
    color: var(--color-bg-primary);
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    text-align: center;
    border-radius: var(--border-radius-sm);
    padding: 0.75rem;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(197, 168, 128, 0.2);
}

.drawer-donate:hover {
    color: var(--color-bg-primary);
    padding-left: 0;
    background: linear-gradient(135deg, var(--color-gold-bright), var(--color-gold));
}

/* ==========================================================================
   SPA ROUTER LAYOUTS & TRANSITIONS
   ========================================================================== */
.main-content {
    margin-top: 80px; /* Offset fixed header */
    flex-grow: 1;
}

.spa-section {
    display: none;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1), transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    padding-bottom: 5rem;
}

/* Active class dynamically appended by JS */
.spa-section.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem 1rem 2rem;
}

/* Section Headings */
.center-headings {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.section-badge {
    display: inline-block;
    color: var(--color-gold);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 0.75rem;
    position: relative;
    padding-bottom: 4px;
}

.section-badge::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 1px;
    background: var(--color-gold);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-text-main);
    line-height: 1.25;
    margin-bottom: 1.25rem;
}

.section-subtitle {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Grids and layout utilities */
.grid-two-cols {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.grid-two-cols.vertical-align {
    align-items: stretch;
}

.grid-three-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-primary-full {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: var(--color-bg-primary);
    box-shadow: 0 8px 25px rgba(197, 168, 128, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(197, 168, 128, 0.35);
    background: linear-gradient(135deg, var(--color-gold-bright), var(--color-gold));
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
}

.btn-secondary:hover {
    background: rgba(197, 168, 128, 0.08);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-glow);
}

.btn-primary-full {
    width: 100%;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: var(--color-bg-primary);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.btn-primary-full:hover {
    background: linear-gradient(135deg, var(--color-gold-bright), var(--color-gold));
    transform: translateY(-2px);
}

/* Button Loaders */
.btn-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
}

.spinner {
    animation: rotate-spinner 1.4s linear infinite;
    width: 100%;
    height: 100%;
}

.spinner circle {
    stroke-dasharray: 80, 150;
    stroke-dashoffset: 0;
    stroke-linecap: round;
    animation: dash-spinner 1.4s ease-in-out infinite;
}

@keyframes rotate-spinner {
    100% { transform: rotate(360deg); }
}

@keyframes dash-spinner {
    0% {
        stroke-dashoffset: 120;
    }
    50% {
        stroke-dashoffset: 30;
        transform: rotate(135deg);
    }
    100% {
        stroke-dashoffset: 120;
        transform: rotate(450deg);
    }
}

/* ==========================================================================
   IMAGE PLACEHOLDER FALLBACKS
   ========================================================================== */
.image-placeholder-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, var(--color-bg-tertiary), var(--color-bg-primary));
    border: 1px solid rgba(197, 168, 128, 0.15);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
    color: var(--color-text-muted);
}

.image-placeholder-fallback.active {
    display: flex;
}

.fallback-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    color: var(--color-gold);
    opacity: 0.7;
}

.svg-placeholder-icon {
    width: 100%;
    height: 100%;
}

.fallback-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.fallback-desc {
    font-size: 0.8rem;
    max-width: 280px;
    line-height: 1.4;
}

/* Mini image fallback for gallery card blocks */
.image-placeholder-fallback.mini {
    padding: 1rem;
}
.image-placeholder-fallback.mini .fallback-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 0.5rem;
}
.image-placeholder-fallback.mini .fallback-desc {
    display: none;
}

/* Lazy images */
.lazy-image {
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

.lazy-image.loaded {
    opacity: 1;
}

/* ==========================================================================
   SECTION 1: HOME (HERO & STATS)
   ========================================================================== */
.hero-section {
    position: relative;
    height: 80vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 0 4rem;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(23, 14, 13, 0.95) 0%, 
        rgba(23, 14, 13, 0.85) 45%, 
        rgba(23, 14, 13, 0.2) 100%);
    z-index: 2;
}

.hero-image-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    z-index: 1;
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    max-width: 650px;
    z-index: 3;
}

.hero-subtitle {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
    font-weight: 600;
    display: block;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-text-main);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-lead {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

/* Stats counter grid styling */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: -3rem; /* Lift onto the hero bottom area slightly */
    position: relative;
    z-index: 4;
}

.stat-card {
    background: var(--color-bg-card);
    border: 1px solid rgba(197, 168, 128, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--border-radius-md);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--box-shadow-premium);
    transition: var(--transition-smooth);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(197, 168, 128, 0.3);
    box-shadow: var(--box-shadow-glow);
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* ==========================================================================
   SECTION 2: ABOUT & TRUST/REGISTRY
   ========================================================================== */
.about-paragraph {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.values-list {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.value-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.value-icon-wrapper {
    background: rgba(197, 168, 128, 0.08);
    border: 1px solid rgba(197, 168, 128, 0.2);
    border-radius: 50%;
    padding: 0.75rem;
    color: var(--color-gold);
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-svg {
    width: 24px;
    height: 24px;
}

.value-text {
    display: flex;
    flex-direction: column;
}

.value-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 0.25rem;
}

.value-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.about-visual-side {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.image-frame {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    height: 300px;
    box-shadow: var(--box-shadow-premium);
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Trust & Registry Official Card */
.trust-card {
    background: linear-gradient(135deg, rgba(45, 29, 26, 0.8), rgba(23, 14, 13, 0.9));
    border: 1px solid rgba(197, 168, 128, 0.25);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    box-shadow: var(--box-shadow-premium);
    position: relative;
    overflow: hidden;
}

/* Decorative subtle gold light glow */
.trust-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(197, 168, 128, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.trust-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(197, 168, 128, 0.15);
    padding-bottom: 1.25rem;
    margin-bottom: 1.5rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-gold);
    font-weight: 600;
    font-size: 0.95rem;
}

.trust-icon {
    width: 22px;
    height: 22px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-success);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-success);
    animation: status-pulse 2s infinite alternate;
}

@keyframes status-pulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    100% { transform: scale(1.2); opacity: 1; }
}

.status-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-success);
    font-weight: 700;
}

.trust-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    color: var(--color-text-main);
}

.trust-intro {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.trust-specs {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}

.spec-label {
    color: var(--color-text-muted);
}

.spec-val {
    font-weight: 500;
    color: var(--color-text-main);
}

.spec-val.highlight-gold {
    color: var(--color-gold-bright);
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   SECTION 3: SERVICES
   ========================================================================== */
.service-card {
    background: var(--color-bg-card);
    border: 1px solid rgba(197, 168, 128, 0.1);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--box-shadow-premium);
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(197, 168, 128, 0.35);
    box-shadow: var(--box-shadow-glow);
}

.service-image-placeholder {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.service-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-image-placeholder img {
    transform: scale(1.08);
}

.service-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-text-main);
}

.service-card-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   SECTION 4: PROJECTS (TIMELINE)
   ========================================================================== */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Central spine */
.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: linear-gradient(180deg, transparent 0%, var(--color-gold) 15%, var(--color-gold) 85%, transparent 100%);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 1.5rem 3rem;
}

/* Alternate sides */
.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

/* Badges / Nodes */
.timeline-badge {
    position: absolute;
    width: 60px;
    height: 32px;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-gold);
    border-radius: var(--border-radius-sm);
    color: var(--color-gold);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 2rem;
    z-index: 5;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.timeline-item:nth-child(odd) .timeline-badge {
    right: -30px;
}

.timeline-item:nth-child(even) .timeline-badge {
    left: -30px;
}

/* Panels */
.timeline-panel {
    background: var(--color-bg-card);
    border: 1px solid rgba(197, 168, 128, 0.1);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    box-shadow: var(--box-shadow-premium);
    transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-panel {
    border-color: rgba(197, 168, 128, 0.3);
    box-shadow: var(--box-shadow-glow);
    transform: translateY(-2px);
}

.timeline-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--color-gold);
}

.timeline-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   SECTION 5: GALLERY
   ========================================================================== */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.gallery-filter-btn {
    background: transparent;
    border: 1px solid rgba(197, 168, 128, 0.25);
    color: var(--color-text-muted);
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition-fast);
}

.gallery-filter-btn:hover, .gallery-filter-btn.active {
    border-color: var(--color-gold);
    color: var(--color-bg-primary);
    background: var(--color-gold);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: var(--box-shadow-premium);
    transition: var(--transition-smooth);
}

.gallery-img-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 30%, rgba(23, 14, 13, 0.95) 90%);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-cat-tag {
    font-size: 0.75rem;
    color: var(--color-gold-bright);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.gallery-item-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-text-main);
}

/* ==========================================================================
   SECTION 6: TEAM (GOVERNANCE / TRUSTEES)
   ========================================================================== */
.trustees-grid {
    max-width: 950px;
    margin: 0 auto;
}

.trustee-featured-card {
    background: var(--color-bg-card);
    border: 1px solid rgba(197, 168, 128, 0.15);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    box-shadow: var(--box-shadow-premium);
    align-items: center;
}

.trustee-profile-img {
    position: relative;
    height: 100%;
    min-height: 380px;
}

.trustee-profile-img img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trustee-details {
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.trustee-name {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-text-main);
}

.trustee-title {
    font-size: 1rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.trustee-bio {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.trustee-compliance-indicators {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.indicator-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-gold);
    background: rgba(197, 168, 128, 0.08);
    border: 1px solid rgba(197, 168, 128, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 30px;
}

.pill-svg {
    width: 14px;
    height: 14px;
    color: var(--color-gold-bright);
}

/* ==========================================================================
   SECTION 7: BLOG & NEWSLETTER
   ========================================================================== */
.blog-featured {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-lead-text {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
}

.blog-post-card {
    background: var(--color-bg-card);
    border: 1px solid rgba(197, 168, 128, 0.1);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--box-shadow-premium);
    transition: var(--transition-smooth);
}

.blog-post-card:hover {
    border-color: rgba(197, 168, 128, 0.25);
    transform: translateY(-3px);
}

.blog-post-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-post-info {
    padding: 2rem;
}

.post-date {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-gold);
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: block;
}

.post-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.85rem;
    line-height: 1.3;
    color: var(--color-text-main);
}

.post-summary {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.55;
}

/* Newsletter Card */
.newsletter-card {
    background: linear-gradient(145deg, rgba(45, 29, 26, 0.85), rgba(23, 14, 13, 0.95));
    border: 1px solid rgba(197, 168, 128, 0.2);
    border-radius: var(--border-radius-lg);
    padding: 3.5rem;
    box-shadow: var(--box-shadow-premium);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.newsletter-icon {
    width: 64px;
    height: 64px;
    background: rgba(197, 168, 128, 0.08);
    border: 1px solid rgba(197, 168, 128, 0.2);
    color: var(--color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
}

.newsletter-svg {
    width: 32px;
    height: 32px;
}

.newsletter-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.newsletter-desc {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.5;
}

/* Forms & inputs style */
.interactive-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
    position: relative;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-input, .form-textarea {
    width: 100%;
    background-color: var(--color-bg-input);
    border: 1px solid rgba(197, 168, 128, 0.2);
    border-radius: var(--border-radius-sm);
    color: var(--color-text-main);
    padding: 0.9rem 1.25rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 15px rgba(197, 168, 128, 0.1);
}

.form-error-msg {
    color: var(--color-error);
    font-size: 0.8rem;
    margin-top: 0.35rem;
    display: none;
}

.form-input.input-error, .form-textarea.input-error {
    border-color: var(--color-error);
}

.form-input.input-error + .form-error-msg, 
.form-textarea.input-error + .form-error-msg,
.input-prefix-wrapper + .form-error-msg {
    display: block;
}

/* Success screens */
.newsletter-success-box, .contact-success-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: rgba(50, 215, 75, 0.08);
    border: 1px solid rgba(50, 215, 75, 0.25);
    border-radius: var(--border-radius-sm);
}

.success-checkmark {
    width: 36px;
    height: 36px;
    color: var(--color-success);
}

.success-msg {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-success);
    line-height: 1.4;
}

/* ==========================================================================
   SECTION 8: FAQ (ACCORDION)
   ========================================================================== */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.faq-item {
    background: var(--color-bg-card);
    border: 1px solid rgba(197, 168, 128, 0.1);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: rgba(197, 168, 128, 0.25);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.75rem 2rem;
    text-align: left;
    color: var(--color-text-main);
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    font-family: var(--font-heading);
}

.faq-icon-arrow {
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--color-gold);
    border-bottom: 2px solid var(--color-gold);
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active {
    border-color: rgba(197, 168, 128, 0.35);
    background: rgba(45, 29, 26, 0.6);
}

.faq-item.active .faq-icon-arrow {
    transform: rotate(-135deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out;
}

.faq-answer p {
    padding: 0 2rem 1.75rem 2rem;
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* ==========================================================================
   SECTION 9: CONTACT & ADDRESS
   ========================================================================== */
.contact-details-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-lead-text {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-info-item {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    background: rgba(197, 168, 128, 0.08);
    border: 1px solid rgba(197, 168, 128, 0.2);
    border-radius: var(--border-radius-sm);
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-svg {
    width: 22px;
    height: 22px;
}

.contact-info-text {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    margin-bottom: 0.25rem;
}

.contact-val {
    font-size: 1rem;
    font-weight: 500;
}

/* Compliance statement card block */
.status-compliance-card {
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid var(--color-gold);
    padding: 1.5rem;
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
}

.compliance-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-gold-bright);
    margin-bottom: 0.5rem;
}

.compliance-card-desc {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.contact-form-card {
    background: var(--color-bg-card);
    border: 1px solid rgba(197, 168, 128, 0.15);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--box-shadow-premium);
}

.form-textarea {
    resize: vertical;
}

/* ==========================================================================
   SECTION 10: DONATIONS
   ========================================================================== */
.donate-text-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.donate-lead-text {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.donate-illustration-wrapper {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    height: 250px;
    box-shadow: var(--box-shadow-premium);
    margin-bottom: 2.5rem;
}

.donate-illustration-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.giftaid-info-panel {
    background: rgba(197, 168, 128, 0.04);
    border: 1px solid rgba(197, 168, 128, 0.15);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
}

.giftaid-badge {
    display: inline-block;
    background: rgba(197, 168, 128, 0.1);
    color: var(--color-gold);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.35rem 0.85rem;
    border-radius: 4px;
    border: 1px solid rgba(197, 168, 128, 0.2);
    margin-bottom: 0.75rem;
}

.giftaid-desc {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* Widget Card */
.donate-widget-card {
    background: var(--color-bg-card);
    border: 1px solid rgba(197, 168, 128, 0.2);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--box-shadow-premium);
    position: relative;
}

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1.25rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.widget-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
}

/* Toggle Switch */
.frequency-toggle-wrapper {
    display: flex;
    background: var(--color-bg-input);
    border: 1px solid rgba(197, 168, 128, 0.15);
    border-radius: 30px;
    padding: 4px;
}

.freq-btn {
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.freq-btn.active {
    background: var(--color-gold);
    color: var(--color-bg-primary);
}

/* Amount Buttons */
.preset-amounts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.preset-amt-btn {
    background: var(--color-bg-input);
    border: 1px solid rgba(197, 168, 128, 0.2);
    border-radius: var(--border-radius-sm);
    color: var(--color-text-main);
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1rem 0.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.preset-amt-btn:hover {
    border-color: var(--color-gold);
}

.preset-amt-btn.active {
    background: rgba(197, 168, 128, 0.08);
    border-color: var(--color-gold);
    color: var(--color-gold-bright);
    box-shadow: 0 0 15px rgba(197, 168, 128, 0.1);
}

/* Custom amount prefix block */
.custom-amt-group {
    margin-bottom: 1.5rem;
}

.input-prefix-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.currency-prefix {
    position: absolute;
    left: 1.25rem;
    color: var(--color-gold);
    font-size: 1.1rem;
    font-weight: 600;
    pointer-events: none;
}

.input-prefix-wrapper .form-input {
    padding-left: 2.25rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Checkbox group */
.form-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 2rem;
    text-align: left;
}

.form-checkbox {
    width: 18px;
    height: 18px;
    accent-color: var(--color-gold);
    margin-top: 0.15rem;
    cursor: pointer;
}

.form-checkbox-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.4;
    cursor: pointer;
    user-select: none;
}

/* Credit card inputs */
.mock-card-details {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.card-details-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-gold);
    font-weight: 600;
    margin-bottom: 0.25rem;
    text-align: left;
}

/* Summary Box */
.donation-summary-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(197, 168, 128, 0.15);
    border-radius: var(--border-radius-sm);
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.summary-line {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    display: flex;
    justify-content: space-between;
}

.summary-line strong {
    color: var(--color-text-main);
}

.summary-line.highlight-gold strong {
    color: var(--color-gold-bright);
}

.summary-total {
    border-top: 1px dashed rgba(197, 168, 128, 0.2);
    padding-top: 0.75rem;
    margin-top: 0.25rem;
    font-size: 1.05rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
}

.summary-total strong {
    color: var(--color-gold-bright);
    font-size: 1.25rem;
}

.btn-donate-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: var(--color-bg-primary);
    padding: 1.1rem;
    border-radius: var(--border-radius-sm);
    font-weight: 700;
    font-size: 1.05rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(197, 168, 128, 0.2);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.btn-donate-submit:hover {
    background: linear-gradient(135deg, var(--color-gold-bright), var(--color-gold));
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(197, 168, 128, 0.4);
}

/* Success panel screen for widget */
.donation-success-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem 0;
    animation: fade-in-panel 0.5s ease-out forwards;
}

@keyframes fade-in-panel {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.success-icon-wrapper {
    width: 72px;
    height: 72px;
    background: rgba(50, 215, 75, 0.08);
    border: 1px solid rgba(50, 215, 75, 0.25);
    color: var(--color-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px rgba(50, 215, 75, 0.15);
}

.success-big-svg {
    width: 36px;
    height: 36px;
}

.success-panel-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
    color: var(--color-text-main);
}

.success-panel-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.success-cert-box {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(197, 168, 128, 0.3);
    border-radius: var(--border-radius-sm);
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: left;
}

.cert-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

.cert-label {
    color: var(--color-text-muted);
}

.cert-val {
    font-weight: 600;
    color: var(--color-text-main);
}

#tx-ref {
    color: var(--color-gold-bright);
    letter-spacing: 0.5px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    background-color: #110A09;
    border-top: 1px solid rgba(197, 168, 128, 0.15);
    padding-top: 5rem;
    padding-bottom: 2rem;
    color: var(--color-text-muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.7fr 0.7fr 1.4fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-text-main);
    margin-bottom: 1rem;
}

.footer-brand-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.legal-badge-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.legal-badge-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.75rem;
    color: var(--color-text-main);
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    width: fit-content;
}

.footer-col-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-gold);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    text-decoration: none;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-link:hover {
    color: var(--color-gold);
    padding-left: 4px;
}

.font-weight-bold {
    font-weight: 700;
}

.registry-footer-desc {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.registry-date {
    font-size: 0.8rem;
    color: var(--color-gold);
    font-weight: 600;
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.8rem;
}

/* ==========================================================================
   RESPONSIVENESS / MEDIA QUERIES
   ========================================================================== */

/* Large screens and Laptops */
@media (max-width: 1100px) {
    .grid-two-cols {
        gap: 2.5rem;
    }
    .hero-title {
        font-size: 3.2rem;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

/* Tablets (Portrait) */
@media (max-width: 850px) {
    /* Layout overrides */
    .grid-two-cols {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-section {
        height: auto;
        padding: 6rem 2rem 8rem 2rem;
        min-height: auto;
    }

    .hero-image-wrapper {
        width: 100%;
        opacity: 0.15; /* Push to back as atmospheric bg */
    }

    .hero-overlay {
        background: radial-gradient(circle, rgba(23, 14, 13, 0.8) 0%, rgba(23, 14, 13, 0.95) 100%);
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .stats-grid {
        margin-top: 2rem;
    }

    .trustee-featured-card {
        grid-template-columns: 1fr;
    }

    .trustee-profile-img {
        min-height: 300px;
    }

    .trustee-details {
        padding: 2.5rem;
    }

    /* Show hamburger, hide desktop links */
    .desktop-nav {
        display: none;
    }

    .hamburger-btn {
        display: flex;
    }

    /* Timeline stack */
    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 5rem;
        padding-right: 0;
    }

    .timeline-item:nth-child(odd) {
        text-align: left;
    }

    .timeline-item:nth-child(odd) .timeline-badge,
    .timeline-item:nth-child(even) .timeline-badge {
        left: 0;
    }
}

/* Mobile Screens */
@media (max-width: 480px) {
    .header-container {
        padding: 1rem 1.5rem;
    }

    .section-container {
        padding: 3rem 1.5rem 1rem 1.5rem;
    }

    .hero-title {
        font-size: 2.3rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .section-title {
        font-size: 1.85rem;
    }

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

    .contact-form-card, .donate-widget-card, .newsletter-card {
        padding: 2rem 1.5rem;
    }

    .form-group-row {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .faq-question {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }

    .faq-answer p {
        padding: 0 1.5rem 1.25rem 1.5rem;
    }
}
