/* ============================================================
   Chidambaram Nattukottai Nagarathar Sangam
   Front-end recode — Indigo · Saffron · Ivory
   ============================================================ */

:root {
    /* Palette */
    --ink-950: #0d1330;
    --ink-900: #111a3a;
    --ink-800: #17214a;
    --ink-700: #1e2a5c;
    --ink-600: #2a3a74;

    --saffron-300: #ffc857;
    --saffron-400: #f5a800;
    --saffron-500: #f59a00;
    --saffron-600: #e07b0e;
    --saffron-700: #b85f0a;

    --gold-100: #f5d76e;
    --gold-200: #f0ca5a;

    --ivory-50: #fdfaf2;
    --ivory-100: #f8f2e3;
    --ivory-200: #efe6cf;
    --ivory-300: #e3d5b6;

    --ink: #262238;
    --muted: #6a6480;

    /* Type */
    --font-display: 'Cormorant Garamond', 'Georgia', serif;
    --font-body: 'DM Sans', 'Segoe UI', sans-serif;

    /* Shape / shadow */
    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 22px;
    --r-pill: 999px;

    --sh-sm: 0 2px 10px rgba(13, 19, 48, 0.08);
    --sh-md: 0 14px 34px rgba(13, 19, 48, 0.12);
    --sh-lg: 0 30px 70px rgba(13, 19, 48, 0.2);

    --header-h: 82px;
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

    --grad-gold: linear-gradient(135deg, var(--saffron-300) 0%, var(--saffron-500) 55%, var(--saffron-600) 100%);
    --grad-indigo: linear-gradient(160deg, var(--ink-700) 0%, var(--ink-900) 70%, var(--ink-950) 100%);
}

/* ============================================================
   Reset & base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-color: var(--saffron-500) var(--ink-950); }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink);
    background: var(--ivory-100);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }

::selection { background: var(--saffron-500); color: #fff; }

h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }

.container { width: min(1180px, 100% - 3rem); margin-inline: auto; }
.section { position: relative; padding: 7.5rem 0; }

:focus-visible { outline: 3px solid var(--saffron-400); outline-offset: 3px; border-radius: 4px; }

/* ============================================================
   Shared components
   ============================================================ */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--saffron-600);
    margin-bottom: 1.1rem;
}
.eyebrow::before, .eyebrow::after {
    content: "";
    height: 1px;
    width: 34px;
    background: linear-gradient(90deg, transparent, var(--saffron-400));
}
.eyebrow::before { transform: scaleX(-1); }

.section-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2.1rem, 3.6vw, 3.1rem);
    line-height: 1.1;
    color: var(--ink-800);
    letter-spacing: 0.005em;
}
.section-head { max-width: 680px; margin-inline: auto; }
.section-head.center { text-align: center; }
.section-head.center .eyebrow { margin-bottom: 1.2rem; }
.section-lead { color: var(--muted); margin-top: 1.1rem; font-size: 1.06rem; }
.lede { font-size: 1.14rem; color: var(--muted); margin-top: 1.2rem; max-width: 60ch; line-height: 1.75; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 1.8rem;
    border-radius: var(--r-pill);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    position: relative;
    isolation: isolate;
    transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), color 0.28s var(--ease), border-color 0.28s var(--ease), background 0.28s var(--ease);
    will-change: transform;
}
.btn i { transition: transform 0.28s var(--ease); }
.btn:hover i { transform: translateX(4px); }
.btn:active { transform: scale(0.97); }

.btn-gold {
    background: var(--grad-gold);
    color: #fff;
    box-shadow: 0 12px 28px rgba(224, 123, 14, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(224, 123, 14, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35); }

.btn-ghost {
    border: 1.5px solid rgba(255, 255, 255, 0.65);
    color: #fff;
    background: rgba(13, 19, 48, 0.28);
    backdrop-filter: blur(6px);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); border-color: #fff; transform: translateY(-3px); }

.btn-indigo {
    background: var(--grad-indigo);
    color: var(--ivory-50);
    box-shadow: var(--sh-sm);
}
.btn-indigo:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }

.btn-outline-indigo {
    border: 2px solid var(--ink-600);
    color: var(--ink-800);
    background: transparent;
}
.btn-outline-indigo:hover { background: var(--ink-800); color: #fff; transform: translateY(-3px); box-shadow: var(--sh-sm); }

.btn-full { width: 100%; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), backdrop-filter 0.35s;
}
.site-header::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 2px;
    background: linear-gradient(90deg, transparent 4%, var(--saffron-400) 30%, var(--gold-100) 50%, var(--saffron-400) 70%, transparent 96%);
    opacity: 0;
    transition: opacity 0.35s var(--ease);
}
.site-header.scrolled {
    background: rgba(13, 19, 48, 0.9);
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 34px rgba(8, 12, 30, 0.35);
}
.site-header.scrolled::after { opacity: 1; }

.header-inner {
    width: min(1240px, 100% - 3rem);
    margin-inline: auto;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    color: #fff;
    min-width: 0;
}
.brand-mark {
    color: var(--saffron-400);
    flex: 0 0 auto;
    filter: drop-shadow(0 0 14px rgba(245, 154, 0, 0.45));
    transition: transform 0.5s var(--ease);
}
.brand:hover .brand-mark { transform: rotate(90deg); }
.brand-mark svg { width: 46px; height: 46px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.16; }
.brand-name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.32rem;
    letter-spacing: 0.01em;
    white-space: nowrap;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
.brand-sub {
    font-size: 0.72rem;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--saffron-300);
    font-weight: 600;
}

/* Desktop nav */
.site-nav ul { display: flex; align-items: center; gap: 0.15rem; }
.nav-list > li { position: relative; }
.nav-list > li > a {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.62rem 0.9rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.92);
    border-radius: var(--r-pill);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
    transition: color 0.25s var(--ease), background 0.25s var(--ease);
}
.nav-list > li > a:hover { color: var(--saffron-300); background: rgba(255, 255, 255, 0.08); }

.has-drop > a::after {
    content: "\f107";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.7rem;
    color: var(--saffron-400);
}

.drop {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    min-width: 240px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: var(--r-md);
    box-shadow: var(--sh-lg);
    border-top: 3px solid var(--saffron-500);
    padding: 0.6rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
}
.drop li a {
    display: block;
    padding: 0.62rem 0.9rem;
    border-radius: var(--r-sm);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink-800);
    transition: background 0.2s var(--ease), color 0.2s var(--ease), padding-left 0.2s var(--ease);
}
.drop li a:hover { background: var(--ivory-100); color: var(--saffron-600); padding-left: 1.15rem; }
.has-drop:hover .drop { opacity: 1; visibility: visible; transform: translateY(0); }

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.6rem;
    z-index: 102;
}
.nav-toggle span {
    width: 26px; height: 2.5px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.32s var(--ease), opacity 0.32s var(--ease);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    height: min(100svh, 920px);
    min-height: 660px;
    background: var(--ink-950);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.1s var(--ease), visibility 1.1s;
    display: flex;
    align-items: center;
}
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }

/* Image + readability treatment */
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(1.12) saturate(1.32) contrast(1.05);
    transform: scale(1.1);
    transition: transform 8s var(--ease), filter 0.6s var(--ease);
    will-change: transform;
}
.hero-slide.is-active .hero-bg { transform: scale(1.02); }

.hero-overlay-shade {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(8, 11, 26, 0.6) 0%, rgba(9, 12, 30, 0.38) 32%, rgba(9, 12, 30, 0.12) 62%, rgba(9, 12, 30, 0.02) 100%),
        linear-gradient(180deg, rgba(8, 11, 26, 0.28) 0%, rgba(8, 11, 26, 0.02) 42%, rgba(8, 11, 26, 0.42) 100%);
}
.hero-vignette {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: radial-gradient(120% 90% at 30% 45%, transparent 60%, rgba(8, 11, 26, 0.26) 100%);
}

/* Content */
.hero-content {
    position: relative;
    z-index: 3;
    width: min(1180px, 100% - 3rem);
    margin-inline: auto;
    padding-top: calc(var(--header-h) + 1rem);
    color: #fff;
    max-width: 780px;
}
/* Localized scrim — darkens only behind the caption, keeps image bright */
.hero-content::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -4rem -5rem -3rem -5.5rem;
    background:
        radial-gradient(85% 100% at 24% 45%, rgba(8, 11, 26, 0.82) 0%, rgba(8, 11, 26, 0.55) 55%, transparent 82%);
    filter: blur(2px);
    pointer-events: none;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.86rem;
    font-weight: 900;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--saffron-300);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.95), 0 2px 16px rgba(0, 0, 0, 0.85);
    opacity: 0;
    transform: translateY(22px);
}
.hero-kicker::before {
    content: "";
    width: 48px; height: 3px;
    background: var(--grad-gold);
    border-radius: 2px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}
.hero-slide.is-active .hero-kicker {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s 0.15s var(--ease), transform 0.8s 0.15s var(--ease);
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.8rem, 6vw, 4.9rem);
    line-height: 1.02;
    letter-spacing: 0.01em;
    margin: 1.15rem 0 1.25rem;
    color: #ffffff;
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.9),
        0 3px 8px rgba(0, 0, 0, 0.8),
        0 10px 34px rgba(0, 0, 0, 0.7);
    opacity: 0;
    transform: translateY(28px);
}
.hero-title span {
    display: block;
    color: var(--saffron-300);
    font-style: italic;
    font-weight: 700;
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.9),
        0 3px 8px rgba(0, 0, 0, 0.8),
        0 10px 34px rgba(0, 0, 0, 0.7);
}
.hero-slide.is-active .hero-title {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.9s 0.3s var(--ease), transform 0.9s 0.3s var(--ease);
}

.hero-sub {
    font-size: clamp(1.05rem, 1.5vw, 1.22rem);
    font-weight: 500;
    color: #ffffff;
    max-width: 56ch;
    margin-bottom: 2.1rem;
    line-height: 1.75;
    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.95),
        0 3px 10px rgba(0, 0, 0, 0.85),
        0 6px 24px rgba(0, 0, 0, 0.7);
    opacity: 0;
    transform: translateY(28px);
}
.hero-slide.is-active .hero-sub {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.9s 0.45s var(--ease), transform 0.9s 0.45s var(--ease);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; opacity: 0; transform: translateY(28px); }
.hero-slide.is-active .hero-actions {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.9s 0.6s var(--ease), transform 0.9s 0.6s var(--ease);
}

/* --- Per-slide caption tones --- */
.hero-slide.tone-blue .hero-kicker { color: #9ad8ff; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.95), 0 2px 16px rgba(0, 0, 0, 0.9); }
.hero-slide.tone-blue .hero-kicker::before { background: linear-gradient(90deg, #2f8bff, #9ad8ff); }
.hero-slide.tone-blue .hero-title { color: #4da6ff; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9), 0 3px 8px rgba(0, 0, 0, 0.8), 0 10px 34px rgba(0, 0, 0, 0.75); }
.hero-slide.tone-blue .hero-title span { color: #8ccbff; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9), 0 3px 8px rgba(0, 0, 0, 0.8), 0 10px 34px rgba(0, 0, 0, 0.75); }
.hero-slide.tone-blue .hero-sub { color: #f2f9ff; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95), 0 3px 10px rgba(0, 0, 0, 0.85), 0 6px 24px rgba(0, 0, 0, 0.7); }
.hero-slide.tone-blue .btn-gold { background: linear-gradient(135deg, #6fc3ff 0%, #3b82f6 60%, #2563eb 100%); box-shadow: 0 12px 28px rgba(37, 99, 235, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.hero-slide.tone-blue .btn-gold:hover { box-shadow: 0 18px 38px rgba(37, 99, 235, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.hero-slide.tone-blue .hero-scroll i,
.hero-slide.tone-blue .slider-dots button.active { color: #4da6ff; background: #4da6ff; }

.hero-slide.tone-red .hero-kicker { color: #ffb3ad; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.95), 0 2px 16px rgba(0, 0, 0, 0.9); }
.hero-slide.tone-red .hero-kicker::before { background: linear-gradient(90deg, #ff2d1f, #ffb3ad); }
.hero-slide.tone-red .hero-title { color: #ff4538; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9), 0 3px 8px rgba(0, 0, 0, 0.8), 0 10px 34px rgba(0, 0, 0, 0.75); }
.hero-slide.tone-red .hero-title span { color: #ff9a92; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9), 0 3px 8px rgba(0, 0, 0, 0.8), 0 10px 34px rgba(0, 0, 0, 0.75); }
.hero-slide.tone-red .hero-sub { color: #ffe9e6; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95), 0 3px 10px rgba(0, 0, 0, 0.85), 0 6px 24px rgba(0, 0, 0, 0.7); }
.hero-slide.tone-red .btn-gold { background: linear-gradient(135deg, #ff8a80 0%, #ff3b30 60%, #d92c22 100%); box-shadow: 0 12px 28px rgba(217, 44, 34, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.hero-slide.tone-red .btn-gold:hover { box-shadow: 0 18px 38px rgba(217, 44, 34, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.hero-slide.tone-red .hero-scroll i,
.hero-slide.tone-red .slider-dots button.active { color: #ff4538; background: #ff4538; }

/* Slider controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 54px; height: 54px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(13, 19, 48, 0.4);
    color: #fff;
    font-size: 1rem;
    display: grid;
    place-items: center;
    backdrop-filter: blur(6px);
    transition: background 0.28s var(--ease), transform 0.28s var(--ease), border-color 0.28s;
    opacity: 0;
}
.hero:hover .slider-arrow { opacity: 1; }
.slider-arrow:hover { background: var(--grad-gold); border-color: transparent; transform: translateY(-50%) scale(1.08); }
.slider-prev { left: 2rem; }
.slider-next { right: 2rem; }

.slider-dots {
    position: absolute;
    left: 50%;
    bottom: 2.6rem;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 0.7rem;
    background: rgba(13, 19, 48, 0.4);
    padding: 0.55rem 0.9rem;
    border-radius: var(--r-pill);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.14);
}
.slider-dots button {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    padding: 0;
    transition: all 0.32s var(--ease);
}
.slider-dots button.active { width: 30px; border-radius: var(--r-pill); background: var(--saffron-400); }

.hero-scroll {
    position: absolute;
    right: 2.6rem;
    bottom: 2.4rem;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}
.hero-scroll i { color: var(--saffron-400); animation: bounceDown 1.9s infinite; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9); }
@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(7px); }
}

/* ============================================================
   SEVA STRIP
   ============================================================ */
.seva-strip {
    background: linear-gradient(100deg, var(--ink-800) 0%, var(--ink-600) 50%, var(--ink-700) 100%);
    position: relative;
    overflow: hidden;
}
.seva-strip::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 15% 50%, rgba(245, 154, 0, 0.12) 0 1px, transparent 1.6px);
    background-size: 30px 30px;
}
.seva-strip-inner {
    position: relative;
    width: min(1180px, 100% - 3rem);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1rem, 3vw, 2.8rem);
    padding: 1.3rem 0;
    flex-wrap: wrap;
}
.seva-word {
    color: var(--gold-100);
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    display: inline-flex;
    align-items: baseline;
    gap: 0.6rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
.seva-word small {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(245, 215, 110, 0.7);
}
.seva-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--saffron-400);
    box-shadow: 0 0 0 4px rgba(245, 154, 0, 0.18);
}

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--ivory-100); }
.about-grid {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: center;
}

.about-media { position: relative; }
.about-frame {
    position: relative;
    padding: 1.5rem;
    border: 1px solid var(--ivory-300);
    border-radius: var(--r-lg);
    background: #fff;
    box-shadow: var(--sh-md);
}
.about-img {
    border-radius: var(--r-md);
    overflow: hidden;
    aspect-ratio: 4 / 4.6;
    position: relative;
}
.about-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(13, 19, 48, 0.35) 100%);
    pointer-events: none;
}
.about-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.9s var(--ease);
}
.about-media:hover .about-img img { transform: scale(1.06); }

.about-kolam {
    position: absolute;
    top: -2.6rem;
    right: -2.6rem;
    width: 136px; height: 136px;
    color: var(--saffron-500);
    filter: drop-shadow(0 6px 18px rgba(245, 154, 0, 0.35));
    animation: rotateSlow 44s linear infinite;
}
.about-kolam svg { width: 100%; height: 100%; }
@keyframes rotateSlow { to { transform: rotate(360deg); } }

.about-stamp {
    position: absolute;
    bottom: 2rem;
    left: -1.7rem;
    background: var(--grad-indigo);
    color: var(--ivory-50);
    border-radius: var(--r-md);
    padding: 1.1rem 1.5rem;
    box-shadow: var(--sh-lg);
    display: flex;
    flex-direction: column;
    border-left: 4px solid var(--saffron-400);
}
.stamp-year { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; line-height: 1; color: var(--saffron-300); }
.stamp-caption { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.78); margin-top: 0.32rem; }

.vision {
    margin: 1.9rem 0 1.6rem;
    padding: 1.5rem 1.7rem;
    border-radius: var(--r-md);
    background: var(--grad-indigo);
    color: var(--ivory-50);
    position: relative;
    overflow: hidden;
    box-shadow: var(--sh-md);
}
.vision::after {
    content: "\201C";
    position: absolute;
    right: 0.8rem;
    top: -2rem;
    font-family: var(--font-display);
    font-size: 8rem;
    color: rgba(245, 154, 0, 0.2);
    line-height: 1;
    pointer-events: none;
}
.vision-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--saffron-300);
    margin-bottom: 0.6rem;
}
.vision-label::before { content: ""; width: 22px; height: 2px; background: var(--saffron-400); }
.vision p {
    font-family: var(--font-display);
    font-size: 1.34rem;
    font-style: italic;
    line-height: 1.5;
    color: var(--gold-100);
}

.objectives-heading {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ink-800);
    margin-bottom: 0.9rem;
}
.objectives-list { display: grid; gap: 0.6rem; margin-bottom: 1.9rem; }
.objectives-list li {
    position: relative;
    padding-left: 1.8rem;
    color: var(--muted);
    font-size: 0.97rem;
}
.objectives-list li::before {
    content: "";
    position: absolute;
    left: 0; top: 0.5em;
    width: 10px; height: 10px;
    transform: rotate(45deg);
    background: var(--grad-gold);
    border-radius: 2px;
    box-shadow: 0 0 0 3px rgba(245, 154, 0, 0.16);
}

/* ============================================================
   HELP (dark)
   ============================================================ */
.help { background: var(--grad-indigo); overflow: hidden; }
.help::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(90% 70% at 85% 0%, rgba(245, 154, 0, 0.14) 0%, transparent 60%);
    pointer-events: none;
}
.help .eyebrow { color: var(--saffron-300); }
.help .section-title { color: var(--ivory-50); }
.help .section-lead { color: rgba(255, 255, 255, 0.72); }

.help-bg-motif {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 12% 18%, rgba(245, 215, 110, 0.12) 0 1px, transparent 1.7px),
        radial-gradient(circle at 90% 70%, rgba(245, 215, 110, 0.1) 0 1px, transparent 1.7px);
    background-size: 38px 38px, 52px 52px;
}

.help-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3.4rem;
}

.help-card {
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--r-lg);
    padding: 2.2rem 1.6rem 2rem;
    text-align: center;
    transition: transform 0.38s var(--ease), background 0.38s var(--ease), border-color 0.38s var(--ease), box-shadow 0.38s var(--ease);
    position: relative;
    overflow: hidden;
}
.help-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--grad-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s var(--ease);
}
.help-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(80% 60% at 50% 0%, rgba(245, 154, 0, 0.14), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
    pointer-events: none;
}
.help-card:hover { transform: translateY(-10px); background: rgba(255, 255, 255, 0.09); border-color: rgba(245, 154, 0, 0.45); box-shadow: 0 24px 50px rgba(6, 9, 24, 0.4); }
.help-card:hover::before { transform: scaleX(1); }
.help-card:hover::after { opacity: 1; }

.help-icon {
    position: relative;
    z-index: 1;
    width: 70px; height: 70px;
    margin: 0 auto 1.3rem;
    border-radius: 20px;
    display: grid;
    place-items: center;
    font-size: 1.55rem;
    color: var(--saffron-300);
    background: rgba(245, 154, 0, 0.13);
    border: 1px solid rgba(245, 154, 0, 0.35);
    transition: transform 0.4s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease);
}
.help-card:hover .help-icon { transform: rotate(-6deg) scale(1.08); background: var(--grad-gold); color: #fff; }

.help-card h3 { position: relative; z-index: 1; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--ivory-50); margin-bottom: 0.6rem; }
.help-card p { position: relative; z-index: 1; font-size: 0.91rem; color: rgba(255, 255, 255, 0.7); margin-bottom: 1.2rem; }
.help-card a {
    position: relative;
    z-index: 1;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--saffron-300);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}
.help-card a i { transition: transform 0.28s var(--ease); }
.help-card a:hover i { transform: translateX(4px); }

/* ============================================================
   PRESIDENT
   ============================================================ */
.president { background: var(--ivory-50); }
.president-grid {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: center;
}

.president-media { position: relative; }
.president-card {
    border-radius: var(--r-lg);
    background: var(--grad-indigo);
    padding: 3rem 2.3rem 2.6rem;
    text-align: center;
    box-shadow: var(--sh-lg);
    position: relative;
    overflow: hidden;
}
.president-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 82% 12%, rgba(245, 154, 0, 0.2) 0 1px, transparent 1.8px);
    background-size: 28px 28px;
    pointer-events: none;
}
.president-corner {
    position: absolute;
    top: 1.1rem; left: 1.1rem;
    width: 26px; height: 26px;
    border-top: 2px solid var(--saffron-400);
    border-left: 2px solid var(--saffron-400);
    border-top-left-radius: 6px;
}
.president-corner::after {
    content: "";
    position: absolute;
    bottom: -2.1rem; right: -2.1rem;
    width: 26px; height: 26px;
    border-top: 2px solid var(--saffron-400);
    border-left: 2px solid var(--saffron-400);
    border-top-left-radius: 6px;
}
.president-avatar {
    position: relative;
    z-index: 1;
    width: 152px; height: 152px;
    margin: 0 auto 1.5rem;
    color: var(--gold-100);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    border: 1px dashed rgba(245, 154, 0, 0.55);
    display: grid;
    place-items: center;
    box-shadow: inset 0 0 0 8px rgba(255, 255, 255, 0.04), 0 18px 40px rgba(6, 9, 24, 0.5);
}
.president-avatar svg { width: 112px; height: 112px; }
.president-id { position: relative; z-index: 1; }
.president-name { display: block; font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; color: var(--ivory-50); }
.president-role { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--saffron-300); margin-top: 0.4rem; }

.president-theme {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.55rem;
    color: var(--saffron-600);
    margin: 0.5rem 0 1.3rem;
}
.president-message {
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.8;
    white-space: pre-line;
    margin-bottom: 1.5rem;
    max-width: 62ch;
}
.president-sign {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--ink-800);
    margin-bottom: 1.7rem;
}

/* ============================================================
   OFFICE BEARERS
   ============================================================ */
.officers { background: var(--ivory-100); }
.officers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3.4rem;
}
.officer-card {
    background: #fff;
    border: 1px solid var(--ivory-300);
    border-radius: var(--r-lg);
    padding: 2.5rem 1.5rem 2.1rem;
    text-align: center;
    box-shadow: var(--sh-sm);
    transition: transform 0.38s var(--ease), box-shadow 0.38s var(--ease), border-color 0.38s var(--ease);
    position: relative;
    overflow: hidden;
}
.officer-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--grad-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s var(--ease);
}
.officer-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(90% 60% at 50% 0%, rgba(245, 154, 0, 0.08), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
    pointer-events: none;
}
.officer-card:hover { transform: translateY(-8px); box-shadow: var(--sh-md); border-color: var(--saffron-400); }
.officer-card:hover::before { transform: scaleX(1); }
.officer-card:hover::after { opacity: 1; }

.officer-medallion {
    position: relative;
    display: grid;
    place-items: center;
    width: 88px; height: 88px;
    margin: 0 auto 1.25rem;
    color: var(--saffron-500);
}
.officer-medallion svg { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 6px 16px rgba(245, 154, 0, 0.3)); }
.officer-medallion b {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--ink-800);
}
.officer-card:hover .officer-medallion { animation: medallionSpin 0.7s var(--ease); }
@keyframes medallionSpin {
    0% { transform: rotate(0deg); }
    40% { transform: rotate(90deg); }
    100% { transform: rotate(0deg); }
}
.officer-card h3 {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--ink-800);
    margin-bottom: 0.45rem;
}
.officer-role {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--saffron-600);
    background: rgba(245, 154, 0, 0.12);
    padding: 0.32rem 0.9rem;
    border-radius: var(--r-pill);
}

/* ============================================================
   EXECUTIVE COMMITTEE
   ============================================================ */
.executive { background: var(--ivory-50); }
.exec-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.1rem;
    margin-top: 3.4rem;
}
.exec-card {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.2rem 0.85rem;
    background: #fff;
    border: 1px solid var(--ivory-300);
    border-left: 4px solid var(--grad-gold);
    border-radius: var(--r-md);
    padding: 1.05rem 1.35rem;
    box-shadow: var(--sh-sm);
    transition: transform 0.38s var(--ease), box-shadow 0.38s var(--ease), border-color 0.38s var(--ease);
    position: relative;
}
.exec-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sh-md);
    border-color: var(--saffron-400);
}
.exec-dot {
    width: 10px; height: 10px;
    transform: rotate(45deg);
    background: var(--grad-gold);
    border-radius: 2px;
    align-self: center;
    flex: 0 0 auto;
}
.exec-honor {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--saffron-600);
    margin-top: 0.35rem;
}
.exec-name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--ink-800);
    margin: 0;
    width: 100%;
    line-height: 1.3;
}

/* ============================================================
   GET HELP
   ============================================================ */
.gethelp { background: var(--ivory-100); }
.gethelp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3.4rem;
}
.gethelp-card {
    background: #fff;
    border: 1px solid var(--ivory-300);
    border-radius: var(--r-lg);
    padding: 2.1rem 1.6rem;
    box-shadow: var(--sh-sm);
    transition: transform 0.38s var(--ease), box-shadow 0.38s var(--ease), border-color 0.38s var(--ease);
    position: relative;
    overflow: hidden;
}
.gethelp-card::before {
    content: "";
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--grad-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s var(--ease);
}
.gethelp-card:hover { transform: translateY(-8px); box-shadow: var(--sh-md); border-color: var(--saffron-400); }
.gethelp-card:hover::before { transform: scaleX(1); }

.gethelp-icon {
    width: 60px; height: 60px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 1.35rem;
    color: #fff;
    background: var(--grad-indigo);
    margin-bottom: 1.2rem;
    box-shadow: 0 10px 22px rgba(13, 19, 48, 0.22);
    transition: transform 0.4s var(--ease);
}
.gethelp-card:hover .gethelp-icon { transform: rotate(-6deg) scale(1.06); }
.gethelp-card h3 { font-family: var(--font-display); font-size: 1.42rem; font-weight: 600; color: var(--ink-800); margin-bottom: 0.5rem; }
.gethelp-card p { font-size: 0.91rem; color: var(--muted); margin-bottom: 1.1rem; }
.gethelp-card a {
    font-size: 0.83rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--saffron-600);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.gethelp-card a i { transition: transform 0.28s var(--ease); }
.gethelp-card a:hover i { transform: translateX(4px); }

/* ============================================================
   CULTURE
   ============================================================ */
.culture { background: var(--ink-950); overflow: hidden; }
.culture::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(70% 60% at 8% 20%, rgba(245, 154, 0, 0.12) 0%, transparent 55%);
    pointer-events: none;
}
.culture .eyebrow { color: var(--saffron-300); }
.culture .section-title { color: var(--ivory-50); }
.culture p { color: rgba(255, 255, 255, 0.74); margin-top: 1.15rem; max-width: 62ch; }

.culture-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: center;
}

.culture-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem 1.4rem;
    margin: 1.9rem 0 2.1rem;
}
.culture-values li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gold-100);
    font-size: 0.95rem;
    font-weight: 500;
}
.culture-values i {
    width: 38px; height: 38px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    font-size: 0.85rem;
    color: var(--saffron-300);
    background: rgba(245, 154, 0, 0.13);
    border: 1px solid rgba(245, 154, 0, 0.32);
}

.culture-art {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--sh-lg);
    outline: 1px solid rgba(245, 154, 0, 0.2);
    outline-offset: 8px;
}
.culture-art svg { width: 100%; height: auto; display: block; }
.culture-caption {
    position: absolute;
    left: 1.3rem; bottom: 1.1rem;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
    background: rgba(8, 11, 26, 0.78);
    padding: 0.5rem 1rem;
    border-radius: var(--r-pill);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 200, 87, 0.5);
}

/* ============================================================
   EVENTS
   ============================================================ */
.events { background: var(--ivory-50); }
.events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.6rem;
    margin-top: 3.4rem;
}
.event-card {
    display: flex;
    gap: 1.5rem;
    background: #fff;
    border: 1px solid var(--ivory-300);
    border-radius: var(--r-lg);
    padding: 1.6rem;
    box-shadow: var(--sh-sm);
    transition: transform 0.38s var(--ease), box-shadow 0.38s var(--ease), border-color 0.38s var(--ease);
}
.event-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); border-color: var(--saffron-400); }

.event-date {
    flex: 0 0 96px;
    height: 118px;
    border-radius: var(--r-md);
    background: var(--grad-indigo);
    color: var(--ivory-50);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: var(--sh-sm);
}
.event-date::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 5px;
    background: var(--grad-gold);
    border-radius: 0 0 var(--r-md) var(--r-md);
}
.event-day { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; line-height: 1; color: var(--saffron-300); }
.event-month { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.82); }

.event-body { flex: 1; }
.event-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--saffron-700);
    background: rgba(245, 154, 0, 0.13);
    padding: 0.24rem 0.75rem;
    border-radius: var(--r-pill);
    margin-bottom: 0.6rem;
}
.event-title { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; color: var(--ink-800); line-height: 1.2; margin-bottom: 0.35rem; }
.event-venue { font-size: 0.82rem; font-weight: 500; color: var(--muted); display: flex; align-items: center; gap: 0.45rem; margin-bottom: 0.55rem; }
.event-venue i { color: var(--saffron-600); font-size: 0.75rem; }
.event-excerpt { font-size: 0.9rem; color: var(--muted); }
.event-more {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.8rem;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--ink-600);
}
.event-more i { transition: transform 0.28s var(--ease); }
.event-card:hover .event-more i { transform: translateX(5px); }

.events-more { text-align: center; margin-top: 3rem; }

/* ============================================================
   MEMBERSHIP CTA
   ============================================================ */
.membership-cta {
    background: linear-gradient(115deg, var(--ink-700) 0%, var(--ink-600) 55%, var(--ink-800) 100%);
    padding: 0;
    position: relative;
    overflow: hidden;
}
.membership-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 15% 85%, rgba(245, 154, 0, 0.14) 0 1px, transparent 1.7px);
    background-size: 34px 34px;
}
.membership-glow {
    position: absolute;
    top: -55%;
    right: -8%;
    width: 560px; height: 560px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 154, 0, 0.38), transparent 65%);
    pointer-events: none;
}
.membership-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    padding: 5rem 0;
    flex-wrap: wrap;
}
.membership-box .eyebrow { color: var(--saffron-300); }
.membership-title {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3vw, 2.7rem);
    font-weight: 600;
    color: var(--ivory-50);
    max-width: 32ch;
    line-height: 1.15;
}
.membership-sub { color: rgba(255, 255, 255, 0.75); margin-top: 0.9rem; max-width: 56ch; }
.membership-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }

/* ============================================================
   DONATE
   ============================================================ */
.donate { background: var(--ivory-100); }
.donate-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: center;
}
.donate-uses { margin: 1.7rem 0 2.1rem; display: grid; gap: 0.65rem; }
.donate-uses li { display: flex; align-items: center; gap: 0.75rem; color: var(--muted); font-size: 0.97rem; }
.donate-uses i {
    width: 26px; height: 26px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.72rem;
    color: #fff;
    background: var(--grad-gold);
    box-shadow: 0 4px 10px rgba(224, 123, 14, 0.3);
}
.donate-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }

.donate-card-inner {
    background: var(--grad-indigo);
    border-radius: var(--r-lg);
    padding: 2.5rem 2.3rem;
    color: var(--ivory-50);
    box-shadow: var(--sh-lg);
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--saffron-400);
}
.donate-card-inner::before {
    content: "\f0c0";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: -1rem; bottom: -2rem;
    font-size: 9rem;
    color: rgba(245, 154, 0, 0.09);
    pointer-events: none;
}
.donate-card-label {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--saffron-300);
}
.donate-card-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0.55rem 0 1.5rem;
}
.bank-details { display: grid; gap: 0.7rem; margin-bottom: 1.4rem; }
.bank-details li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.92rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.18);
}
.bank-details li span {
    color: rgba(245, 215, 110, 0.68);
    font-size: 0.76rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
    flex: 0 0 auto;
}
.donate-note { font-size: 0.82rem; color: rgba(255, 255, 255, 0.62); position: relative; z-index: 1; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--ivory-50); }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.12fr;
    gap: clamp(2.5rem, 5vw, 4rem);
    margin-top: 3.4rem;
    align-items: start;
}
.contact-info { display: grid; gap: 1.6rem; }
.contact-item {
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--ivory-300);
    border-radius: var(--r-md);
    padding: 1.1rem 1.2rem;
    box-shadow: var(--sh-sm);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.contact-item:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--saffron-400); }
.contact-icon {
    flex: 0 0 52px;
    width: 52px; height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    color: var(--saffron-600);
    background: rgba(245, 154, 0, 0.12);
    border: 1px solid rgba(245, 154, 0, 0.3);
}
.contact-item h4 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--ink-800); }
.contact-item p { color: var(--muted); font-size: 0.94rem; margin-top: 0.12rem; }

.contact-map {
    border-radius: var(--r-md);
    overflow: hidden;
    border: 1px solid var(--ivory-300);
    box-shadow: var(--sh-sm);
    line-height: 0;
}
.contact-map iframe { display: block; width: 100%; filter: saturate(0.85) sepia(0.08); }

.contact-form {
    background: #fff;
    border: 1px solid var(--ivory-300);
    border-radius: var(--r-lg);
    padding: 2.4rem;
    box-shadow: var(--sh-sm);
    display: grid;
    gap: 1.15rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.form-group { display: grid; gap: 0.4rem; }
.form-group label { font-size: 0.84rem; font-weight: 600; color: var(--ink-800); letter-spacing: 0.02em; }
.form-group label span { color: var(--saffron-600); }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--ivory-300);
    border-radius: var(--r-sm);
    background: var(--ivory-50);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--ink);
    transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
}
.form-group textarea { resize: vertical; min-height: 112px; }
.form-group input::placeholder, .form-group textarea::placeholder { color: #a89fb8; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--saffron-500);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(245, 154, 0, 0.16);
}
.form-group input.error-field,
.form-group select.error-field,
.form-group textarea.error-field { border-color: #d64545; box-shadow: 0 0 0 4px rgba(214, 69, 69, 0.12); }
.error { font-size: 0.78rem; color: #d64545; min-height: 1em; font-weight: 500; }

.form-success {
    display: none;
    align-items: center;
    gap: 0.85rem;
    background: rgba(46, 125, 50, 0.1);
    border: 1px solid rgba(46, 125, 50, 0.35);
    color: #2c6e31;
    padding: 1rem 1.2rem;
    border-radius: var(--r-sm);
    font-size: 0.94rem;
}
.form-success i { font-size: 1.5rem; }
.form-success.show { display: flex; animation: fadeUp 0.5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.form-error {
    display: none;
    align-items: center;
    gap: 0.85rem;
    background: rgba(214, 69, 69, 0.1);
    border: 1px solid rgba(214, 69, 69, 0.35);
    color: #a13232;
    padding: 1rem 1.2rem;
    border-radius: var(--r-sm);
    font-size: 0.94rem;
}
.form-error i { font-size: 1.5rem; }
.form-error.show { display: flex; animation: fadeUp 0.5s var(--ease); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--ink-950);
    color: rgba(255, 255, 255, 0.72);
    position: relative;
    overflow: hidden;
}
.site-footer::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--grad-gold);
}
.footer-motif {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(circle at 88% 12%, rgba(245, 154, 0, 0.12) 0 1px, transparent 1.8px);
    background-size: 36px 36px;
}
.footer-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
    gap: 2.6rem;
    padding: 4.5rem 0 3.4rem;
}
.brand-footer { margin-bottom: 1.2rem; }
.footer-about { font-size: 0.92rem; color: rgba(255, 255, 255, 0.58); max-width: 36ch; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
    width: 42px; height: 42px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    font-size: 1rem;
    color: var(--gold-100);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.3s var(--ease);
}
.footer-social a:hover { background: var(--grad-gold); color: #fff; transform: translateY(-4px); border-color: transparent; box-shadow: 0 10px 22px rgba(224, 123, 14, 0.35); }

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--ivory-50);
    margin-bottom: 1.2rem;
    letter-spacing: 0.05em;
}
.footer-col ul { display: grid; gap: 0.6rem; }
.footer-col a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.62);
    transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
    position: relative;
}
.footer-col a:hover { color: var(--saffron-300); padding-left: 0.55rem; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 0;
    position: relative;
}
.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.85rem; color: rgba(255, 255, 255, 0.5); }
.footer-motto { font-family: var(--font-display); font-size: 1.1rem; font-style: italic; color: var(--saffron-300) !important; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
    position: fixed;
    right: 1.7rem;
    bottom: 1.7rem;
    z-index: 90;
    width: 54px; height: 54px;
    border-radius: 50%;
    background: var(--grad-gold);
    color: #fff;
    font-size: 1.05rem;
    box-shadow: 0 14px 30px rgba(224, 123, 14, 0.45);
    display: grid;
    place-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(18px);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-5px); }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(38px);
    transition: opacity 0.95s var(--ease), transform 0.95s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
    .help-grid, .gethelp-grid, .officers-grid, .exec-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (max-width: 992px) {
    .section { padding: 5.5rem 0; }

    .site-nav {
        position: fixed;
        top: 0; right: 0; bottom: 0;
        width: min(360px, 86vw);
        background: var(--ink-950);
        padding: calc(var(--header-h) + 1.2rem) 1.5rem 2rem;
        transform: translateX(105%);
        transition: transform 0.45s var(--ease);
        overflow-y: auto;
        box-shadow: -24px 0 70px rgba(5, 8, 22, 0.6);
    }
    .site-nav.open { transform: translateX(0); }
    .nav-list { flex-direction: column; align-items: stretch; gap: 0.15rem; }
    .nav-list > li > a { padding: 0.95rem 1rem; font-size: 1.02rem; border-radius: var(--r-sm); }
    .drop {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.05);
        border: none;
        border-left: 2px solid var(--saffron-500);
        border-radius: var(--r-sm);
        margin: 0.2rem 0 0.6rem;
        padding: 0.4rem;
        display: none;
    }
    .has-drop.open-drop .drop { display: flex; }
    .drop li a { color: var(--gold-100); padding: 0.75rem 1rem; }
    .drop li a:hover { background: rgba(255, 255, 255, 0.08); color: var(--saffron-300); }

    .nav-toggle { display: flex; }

    .about-grid, .culture-grid, .donate-grid, .president-grid { grid-template-columns: 1fr; }
    .about-media { max-width: 460px; }
    .culture-media { order: -1; max-width: 460px; margin-inline: auto; }
    .donate-card { max-width: 460px; }
    .president-media { max-width: 420px; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .events-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .membership-box { flex-direction: column; align-items: flex-start; }
    .slider-prev { left: 0.9rem; }
    .slider-next { right: 0.9rem; }
    .slider-arrow { width: 46px; height: 46px; }
    .hero-scroll { display: none; }
    .brand-name { font-size: 1.06rem; }
    .brand-sub { font-size: 0.64rem; }
    .brand-mark svg { width: 38px; height: 38px; }
    .about-stamp { left: 0.7rem; }
    .about-kolam { right: -0.4rem; top: -1.5rem; width: 100px; height: 100px; }
    .hero-content { padding-top: calc(var(--header-h) + 0.5rem); }
}

@media (max-width: 560px) {
    .help-grid, .gethelp-grid, .officers-grid, .exec-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
    .culture-values { grid-template-columns: 1fr; }
    .contact-form { padding: 1.6rem; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.001s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001s !important;
    }
    .reveal { opacity: 1; transform: none; }
    .hero-slide { transition: none; }
    .hero-bg { transform: none; }
}
