/* ==========================================================================
   DESIGN SYSTEM, MODERN PALETTE & GLASSMORPHISM TOKENS
   ========================================================================== */
:root {
    /* Upgraded Modern Cultural Palette */
    --color-saffron: #E65F00;
    --color-saffron-light: #FFF2E6;
    --color-saffron-gradient: linear-gradient(135deg, #FF9B26 0%, #E65F00 100%);
    --color-maroon: #5C0612; /* Rich Velvet Maroon */
    --color-maroon-light: #F7EAEC;
    --color-maroon-gradient: linear-gradient(135deg, #7C0A1A 0%, #40020A 100%);
    --color-gold: #D4AF37;
    --color-gold-light: #FBF9F0;
    --color-gold-dark: #A68015;
    --color-navy: #0B132B;
    --color-navy-light: #1C2541;
    --color-bg-cream: #FAF9F5; /* Warm Elegant Cream */
    --color-bg-white: #FFFFFF;
    --color-text-dark: #0F172A;
    --color-text-muted: #475569;
    --color-border: rgba(226, 232, 240, 0.8);
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #5C0612 0%, #0B132B 100%);
    --gradient-saffron-maroon: linear-gradient(135deg, #E65F00 0%, #5C0612 100%);
    --gradient-gold-saffron: linear-gradient(135deg, #D4AF37 0%, #E65F00 100%);
    
    /* Premium Glassmorphism Properties */
    --glass-bg: rgba(255, 255, 255, 0.82);
    --glass-border: 1px solid rgba(255, 255, 255, 0.6);
    --glass-shadow: 0 10px 30px -10px rgba(92, 6, 18, 0.06), 0 4px 6px -4px rgba(0, 0, 0, 0.03);
    --glass-shadow-hover: 0 20px 45px -12px rgba(230, 95, 0, 0.16), 0 8px 12px -6px rgba(92, 6, 18, 0.05);
    
    /* Typography Scales (Larger & More Readable) */
    --font-gujarati: 'Noto Sans Gujarati', sans-serif;
    --font-english: 'Outfit', sans-serif;
    --font-body: 'Montserrat', sans-serif;

    /* Transitions & Borders */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 32px;
}

/* ==========================================================================
   RESET & BASE UTILITIES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    background-color: var(--color-bg-cream);
    color: var(--color-text-dark);
    line-height: 1.8; /* Increased line-height for better readability */
    overflow-x: hidden;
    transition: var(--transition-smooth);
    font-size: 1.05rem; /* Slightly larger base text */
}

/* Dual Language Settings */
body.lang-gu {
    font-family: var(--font-gujarati), var(--font-body), sans-serif;
}
body.lang-en {
    font-family: var(--font-english), var(--font-body), sans-serif;
}

body.lang-en [data-lang="gu"] {
    display: none !important;
}
body.lang-gu [data-lang="en"] {
    display: none !important;
}

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

ul {
    list-style: none;
}

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

/* Premium Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg-cream);
}
::-webkit-scrollbar-thumb {
    background: var(--color-maroon-gradient);
    border-radius: var(--border-radius-sm);
    border: 3px solid var(--color-bg-cream);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-saffron);
}

/* ==========================================================================
   REUSABLE UTILITIES & PREMIUM BUTTONS
   ========================================================================== */
.container {
    max-width: 1240px; /* Wider container */
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 24px; /* Generous spacing */
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-subtitle {
    color: var(--color-saffron);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.95rem;
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.6rem; /* Expanded visibility */
    color: var(--color-maroon);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.section-title.font-gold {
    color: var(--color-navy);
}

.title-underline {
    width: 100px;
    height: 4px;
    background: var(--color-saffron-gradient);
    margin: 18px auto 0;
    border-radius: var(--border-radius-sm);
    position: relative;
}

.title-underline::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: var(--color-gold);
    border: 2.5px solid var(--color-bg-cream);
    transform: rotate(45deg);
    top: -4px;
    left: calc(50% - 6px);
}

.title-underline.gold::after {
    background-color: var(--color-saffron);
}

/* Button Component */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 34px; /* Larger CTA buttons */
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    border: 2.5px solid transparent;
    box-shadow: var(--glass-shadow);
}

.btn-primary {
    background: var(--color-saffron-gradient);
    color: var(--color-bg-white);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(230, 95, 0, 0.25);
    background: var(--color-maroon-gradient);
}

.btn-primary.white {
    background: var(--color-bg-white);
    color: var(--color-maroon);
}

.btn-primary.white:hover {
    background: var(--color-gold);
    color: var(--color-navy);
}

.btn-secondary {
    background: rgba(255,255,255,0.08);
    color: var(--color-bg-white);
    border-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: var(--color-bg-white);
    color: var(--color-maroon);
    transform: translateY(-3px);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.4);
    color: var(--color-maroon);
    border-color: var(--color-maroon);
}

.btn-outline:hover {
    background: var(--color-maroon);
    color: var(--color-bg-white);
    transform: translateY(-3px);
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.9rem;
}

/* Floating Action Button (Back to Top) */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-saffron-gradient);
    color: var(--color-bg-white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--color-maroon-gradient);
    transform: translateY(-4px);
}

.back-to-top svg {
    width: 22px;
    height: 22px;
}

/* ==========================================================================
   1. FULL-WIDTH HEADER & NAVBAR
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%; /* Spans full width */
    z-index: 1000;
    background-color: rgba(250, 249, 245, 0.85); /* Frosty glass theme */
    backdrop-filter: blur(16px);
    border-bottom: 1.5px solid rgba(226, 232, 240, 0.6);
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
    padding: 2px 0;
}

.header-container {
    width: 100%;
    max-width: none; /* Full width edge to edge */
    padding: 12px 40px; /* Generous side padding */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-logo {
    width: 65px;
    height: 65px;
    object-fit: contain;
    border-radius: 50%;
    border: 2px solid var(--color-gold);
    box-shadow: var(--shadow-sm);
    background-color: #fff;
}

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

.org-slogan {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--color-saffron);
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.org-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-maroon);
    line-height: 1.2;
}

/* Desktop Nav Menu */
.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-menu a {
    font-size: 0.95rem; /* Expanded visibility */
    font-weight: 700;
    color: var(--color-navy-light);
    padding: 10px 4px;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3.5px;
    background: var(--color-saffron-gradient);
    border-radius: 5px;
    transition: var(--transition-smooth);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--color-saffron);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Header Action Buttons & Glowing WhatsApp CTA */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-header-wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-saffron-gradient);
    color: var(--color-bg-white);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(230, 95, 0, 0.35);
    animation: headerWaPulse 2s infinite;
}

.btn-header-wa:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(230, 95, 0, 0.5);
    background: var(--color-maroon-gradient);
}

@keyframes headerWaPulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(230, 95, 0, 0.3); }
    50% { box-shadow: 0 4px 22px rgba(230, 95, 0, 0.6); }
}

.lang-switcher {
    display: flex;
    background-color: var(--color-border);
    padding: 4px;
    border-radius: 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.lang-btn {
    border: none;
    background: transparent;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    color: var(--color-text-muted);
    transition: var(--transition-smooth);
}

.lang-btn.active {
    background-color: var(--color-maroon);
    color: var(--color-bg-white);
    box-shadow: var(--shadow-sm);
}

/* Hamburger menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-menu .bar {
    width: 100%;
    height: 3px;
    background-color: var(--color-maroon);
    border-radius: 5px;
    transition: var(--transition-smooth);
}

.hamburger-menu.active .bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger-menu.active .bar:nth-child(2) { opacity: 0; }
.hamburger-menu.active .bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile Overlay menu */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-bg-cream);
    z-index: 998;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-nav-menu ul {
    text-align: center;
}

.mobile-nav-menu li {
    margin: 22px 0;
}

.mobile-nav-menu a {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-maroon);
}

.mobile-nav-menu a:hover {
    color: var(--color-saffron);
}

/* ==========================================================================
   2. HERO SECTION & ROTATING MANDALA
   ========================================================================== */
.hero-section {
    position: relative;
    padding-top: 170px;
    padding-bottom: 120px;
    background-image: linear-gradient(135deg, rgba(92, 6, 18, 0.96) 0%, rgba(11, 19, 43, 0.96) 100%), url('images/hero/hero_bg_blend.jpg');
    background-size: cover;
    background-position: center;
    color: var(--color-bg-white);
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 95vh;
}

/* Rotating Cultural Mandala Backdrop */
.hero-bg-pattern {
    position: absolute;
    width: 650px;
    height: 650px;
    right: -100px;
    top: -50px;
    opacity: 0.08;
    background-image: radial-gradient(circle, #FFF 2px, transparent 2px), 
                      repeating-conic-gradient(from 0deg, transparent 0deg, rgba(255,255,255,0.1) 15deg, transparent 30deg);
    border: 8px dashed rgba(255,255,255,0.4);
    border-radius: 50%;
    pointer-events: none;
    transform-origin: center center;
    animation: rotateMandala 80s linear infinite;
}

@keyframes rotateMandala {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-content {
    animation: slideUp 0.8s ease-out;
}

.hero-tagline {
    display: inline-block;
    color: var(--color-gold);
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 18px;
    border-left: 5px solid var(--color-saffron);
    padding-left: 14px;
}

.hero-title {
    font-size: 3.6rem; /* Enriched Title Visibility */
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 25px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.hero-desc {
    font-size: 1.2rem; /* Enlarged text */
    margin-bottom: 40px;
    opacity: 0.92;
    max-width: 650px;
    line-height: 1.8;
}

.hero-ctas {
    display: flex;
    gap: 18px;
}

.hero-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: fadeIn 1s ease-out 0.2s both;
    width: 100%;
}

.banner-frame {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 4px solid var(--color-gold);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    width: 100%;
    aspect-ratio: 4/3;
    background-color: var(--color-navy-light);
}

/* Image carousel slider rules */
.banner-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

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

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 22px 28px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    color: var(--color-bg-white);
    font-weight: 700;
    font-size: 1.05rem;
    text-align: center;
    letter-spacing: 0.5px;
    z-index: 10;
}

.carousel-dots {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.carousel-dots .dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.carousel-dots .dot.active {
    background-color: var(--color-saffron);
    transform: scale(1.3);
    box-shadow: 0 0 8px rgba(230, 95, 0, 0.9);
}

/* ==========================================================================
   3. ABOUT SANGATHAN & GLASSMORPHISM UPGRADES
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text-content h3 {
    font-size: 2rem;
    color: var(--color-navy);
    margin-bottom: 20px;
    font-weight: 800;
}

.about-text-content p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 35px;
}

.mission-vision {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.mv-card {
    display: flex;
    gap: 20px;
    background: var(--glass-bg);
    border: var(--glass-border);
    backdrop-filter: blur(12px);
    box-shadow: var(--glass-shadow);
    padding: 24px;
    border-radius: var(--border-radius-md);
    border-left: 5px solid var(--color-maroon);
    transition: var(--transition-smooth);
}

.mv-card:hover {
    transform: translateX(5px);
    box-shadow: var(--glass-shadow-hover);
    border-left-width: 8px;
}

.mv-card:nth-child(2) {
    border-left-color: var(--color-saffron);
}

.mv-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mv-icon.maroon {
    background-color: var(--color-maroon-light);
    color: var(--color-maroon);
}

.mv-icon.saffron {
    background-color: var(--color-saffron-light);
    color: var(--color-saffron);
}

.mv-icon svg {
    width: 24px;
    height: 24px;
}

.mv-text h4 {
    font-size: 1.25rem;
    color: var(--color-navy);
    margin-bottom: 8px;
    font-weight: 700;
}

.mv-text p {
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-muted);
}

/* Values Grid Glass Panel Upgrades */
.about-values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.value-card {
    background: var(--glass-bg);
    border: var(--glass-border);
    backdrop-filter: blur(12px);
    box-shadow: var(--glass-shadow);
    padding: 30px 24px;
    border-radius: var(--border-radius-md);
    text-align: center;
    border-bottom: 4px solid transparent;
    transition: var(--transition-smooth);
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--glass-shadow-hover);
    border-bottom-color: var(--color-saffron);
}

.value-icon {
    width: 55px;
    height: 55px;
    background-color: var(--color-saffron-light);
    color: var(--color-saffron);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.value-card:nth-child(even) .value-icon {
    background-color: var(--color-maroon-light);
    color: var(--color-maroon);
}

.value-card:hover .value-icon {
    background-color: var(--color-saffron);
    color: var(--color-bg-white);
    transform: rotate(360deg);
}

.value-card:nth-child(even):hover .value-icon {
    background-color: var(--color-maroon);
    color: var(--color-bg-white);
}

.value-icon svg {
    width: 26px;
    height: 26px;
    transition: var(--transition-smooth);
}

.value-card h4 {
    font-size: 1.25rem;
    color: var(--color-navy);
    margin-bottom: 10px;
    font-weight: 700;
}

.value-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   4. PRESIDENT MESSAGE SECTION (Glassmorphism Frame)
   ========================================================================== */
.message-section {
    background: linear-gradient(180deg, var(--color-bg-cream) 0%, var(--color-gold-light) 100%);
}

.message-card {
    background: var(--glass-bg);
    border: var(--glass-border);
    backdrop-filter: blur(12px);
    box-shadow: var(--glass-shadow);
    border-radius: var(--border-radius-lg);
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.message-card:hover {
    box-shadow: var(--glass-shadow-hover);
}

.message-photo-area {
    background: var(--color-maroon-gradient);
    color: var(--color-bg-white);
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    border-right: 4px solid var(--color-gold);
}

.photo-frame {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    border: 4px solid var(--color-gold);
    box-shadow: var(--shadow-md);
    background-color: var(--color-bg-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 22px;
}

.avatar-placeholder {
    color: var(--color-text-muted);
    width: 85px;
    height: 85px;
}

.president-name {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}

.president-title {
    font-size: 0.85rem;
    color: var(--color-gold);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

.message-content {
    padding: 65px 55px;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 9rem;
    color: rgba(92, 6, 18, 0.05);
    font-family: serif;
    line-height: 1;
}

.message-heading {
    font-size: 2rem;
    color: var(--color-maroon);
    margin-bottom: 30px;
    font-weight: 800;
}

.message-text p {
    color: var(--color-text-dark);
    margin-bottom: 22px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.signature-area {
    margin-top: 40px;
    border-top: 1.5px solid rgba(226, 232, 240, 0.8);
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.sig-title {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 700;
}

.signature-text {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-saffron);
    letter-spacing: -0.5px;
    margin-top: 6px;
}

/* ==========================================================================
   8. ACTIVITIES / WORK SECTION (Navy Blocks)
   ========================================================================== */
.activities-section {
    background-color: var(--color-navy);
    color: var(--color-bg-white);
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.activity-card {
    background-color: var(--color-navy-light);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 40px 30px;
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
}

.activity-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-gold);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

.act-icon-wrap {
    width: 65px;
    height: 65px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.act-icon-wrap.saffron { background-color: rgba(230, 95, 0, 0.2); color: var(--color-saffron); }
.act-icon-wrap.maroon { background-color: rgba(112, 15, 28, 0.25); color: #FF6B7F; }
.act-icon-wrap.gold { background-color: rgba(212, 175, 55, 0.2); color: var(--color-gold); }
.act-icon-wrap.navy { background-color: rgba(56, 189, 248, 0.15); color: #38BDF8; }

.act-icon-wrap svg {
    width: 30px;
    height: 30px;
}

.activity-card h3 {
    font-size: 1.35rem;
    margin-bottom: 14px;
    font-weight: 700;
}

.activity-card p {
    font-size: 0.95rem;
    color: #94A3B8;
    line-height: 1.7;
}

/* ==========================================================================
   5. COMMITTEE / LEADERSHIP (Glassmorphic Profiles)
   ========================================================================== */
.committee-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.member-card {
    background: var(--glass-bg);
    border: var(--glass-border);
    backdrop-filter: blur(12px);
    box-shadow: var(--glass-shadow);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
    text-align: center;
}

.member-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--glass-shadow-hover);
    border-color: var(--color-maroon);
}

.member-img-box {
    height: 245px;
    background-color: var(--color-bg-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 4px solid var(--color-gold);
    overflow: hidden;
}

.member-placeholder {
    color: var(--color-text-muted);
    width: 95px;
    height: 95px;
    opacity: 0.35;
}

.member-info {
    padding: 28px 24px;
}

.member-name {
    font-size: 1.35rem;
    color: var(--color-navy);
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}

.member-role {
    display: inline-block;
    background-color: var(--color-maroon-light);
    color: var(--color-maroon);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.member-card:nth-child(even) .member-role {
    background-color: var(--color-saffron-light);
    color: var(--color-saffron);
}

.member-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text-dark);
}

.member-phone:hover {
    color: var(--color-saffron);
}

.phone-icon {
    width: 18px;
    height: 18px;
    color: var(--color-saffron);
}

/* ==========================================================================
   6. EVENTS SECTION (Glassmorphic Cards)
   ========================================================================== */
.events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}

.event-card {
    background: var(--glass-bg);
    border: var(--glass-border);
    backdrop-filter: blur(12px);
    box-shadow: var(--glass-shadow);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--glass-shadow-hover);
    border-color: rgba(212, 175, 55, 0.4);
}

.event-img-wrap {
    height: 250px;
    width: 100%;
    position: relative;
    background-color: var(--color-navy-light);
    overflow: hidden;
}

.event-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-card:hover .event-img {
    transform: scale(1.06);
}

.event-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-bg-white);
    text-transform: uppercase;
    box-shadow: var(--shadow-sm);
}

.event-badge.yellow { background-color: var(--color-gold-dark); }
.event-badge.saffron { background-color: var(--color-saffron); }

.event-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-text-muted);
}

.event-date, .event-time {
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-icon {
    width: 18px;
    height: 18px;
    color: var(--color-saffron);
}

.event-title {
    font-size: 1.4rem;
    color: var(--color-navy);
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 16px;
}

.event-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 22px;
    line-height: 1.7;
    flex-grow: 1;
}

.event-location {
    display: flex;
    gap: 8px;
    background-color: var(--color-bg-cream);
    padding: 12px 15px;
    border-radius: var(--border-radius-sm);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 25px;
    border-left: 4px solid var(--color-gold);
}

/* ==========================================================================
   7. GALLERY & LIGHTBOX
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    background-color: var(--color-border);
}

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

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--color-bg-white);
    padding: 20px;
    text-align: center;
}

.gallery-placeholder.saffron { background-color: var(--color-saffron); }
.gallery-placeholder.maroon { background-color: var(--color-maroon); }
.gallery-placeholder.gold { background-color: var(--color-gold-dark); }
.gallery-placeholder.navy { background-color: var(--color-navy-light); }

.gallery-placeholder svg {
    width: 48px;
    height: 48px;
    opacity: 0.7;
}

.placeholder-text {
    font-size: 0.9rem;
    font-weight: 700;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(92, 6, 18, 0.85); /* Velvet Maroon Overlay */
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    transition: var(--transition-smooth);
}

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

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

.gallery-overlay-text {
    color: var(--color-bg-white);
    font-weight: 700;
    font-size: 1rem;
    transform: translateY(15px);
    transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-overlay-text {
    transform: translateY(0);
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 19, 43, 0.96);
    align-items: center;
    justify-content: center;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--color-bg-cream);
    font-size: 3.5rem;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.lightbox-close:hover {
    color: var(--color-saffron);
}

.lightbox-content {
    max-width: 85%;
    max-height: 80vh;
    box-shadow: 0 0 35px rgba(0,0,0,0.6);
    border-radius: var(--border-radius-sm);
    animation: zoomIn 0.3s ease;
}

.lightbox-caption {
    position: absolute;
    bottom: 30px;
    color: var(--color-bg-white);
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    width: 100%;
}

.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    font-size: 1.6rem;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: var(--transition-smooth);
}

.lightbox-prev:hover, .lightbox-next:hover {
    background: var(--color-saffron);
}

.lightbox-prev { left: 40px; }
.lightbox-next { right: 40px; }

/* ==========================================================================
   7b. SOCIAL CONNECTS (Glassmorphic Social Cards)
   ========================================================================== */
.social-tabs {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-bottom: 40px;
}

.social-tab-btn {
    border: none;
    padding: 12px 30px;
    font-weight: 700;
    cursor: pointer;
    background-color: var(--color-border);
    color: var(--color-text-muted);
    border-radius: 50px;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.social-tab-btn.active {
    background-color: var(--color-maroon);
    color: var(--color-bg-white);
    box-shadow: var(--shadow-sm);
}

.social-feed-container {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

.social-feed-container.active {
    display: grid;
    opacity: 1;
}

.social-post {
    background: var(--glass-bg);
    border: var(--glass-border);
    backdrop-filter: blur(12px);
    box-shadow: var(--glass-shadow);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.social-post:hover {
    transform: translateY(-6px);
    box-shadow: var(--glass-shadow-hover);
    border-color: rgba(212, 175, 55, 0.4);
}

.post-header {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    position: relative;
}

.post-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: contain;
    border: 1.5px solid var(--color-gold);
    background-color: #FFF;
}

.post-user-info {
    margin-left: 12px;
}

.post-user-info h4 {
    font-size: 0.95rem;
    color: var(--color-navy);
    font-weight: 700;
}

.post-time, .post-location {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    font-weight: 600;
}

.social-brand {
    position: absolute;
    top: 15px;
    right: 20px;
    font-weight: 800;
}

.social-brand.fb-brand {
    color: #1877F2;
    font-size: 1.7rem;
    font-family: 'Outfit', sans-serif;
}

.social-brand.insta-brand {
    font-size: 1.3rem;
}

.post-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.post-content p {
    font-size: 0.92rem;
    color: var(--color-text-dark);
    line-height: 1.6;
}

.post-img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    border-radius: var(--border-radius-sm);
}

.insta-caption strong {
    color: var(--color-navy);
    margin-right: 6px;
}

.post-footer {
    padding: 15px 20px;
    background-color: rgba(250, 249, 245, 0.8);
    border-top: 1px solid rgba(226, 232, 240, 0.6);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.post-actions {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 600;
}

.social-visit-btn {
    font-size: 0.8rem;
    font-weight: 750;
    padding: 8px 20px;
    background-color: #1877F2;
    color: white;
    border-radius: 30px;
    box-shadow: var(--shadow-sm);
}

.social-visit-btn:hover {
    background-color: #166FE5;
    transform: translateY(-2px);
}

.social-visit-btn.insta {
    background: linear-gradient(45deg, #F09433 0%, #E6683C 25%, #DC2743 50%, #CC2366 75%, #BC1888 100%);
}

.social-visit-btn.insta:hover {
    opacity: 0.95;
}

/* ==========================================================================
   9. STATISTICS SECTION
   ========================================================================== */
.stats-section {
    position: relative;
    background: var(--gradient-saffron-maroon);
    color: var(--color-bg-white);
    text-align: center;
    overflow: hidden;
}

.stats-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#FFF 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.05;
    pointer-events: none;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 10;
}

.stat-card {
    padding: 20px;
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.18);
    color: var(--color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    box-shadow: var(--shadow-sm);
}

.stat-icon svg {
    width: 32px;
    height: 32px;
}

.stat-number-box {
    margin-bottom: 10px;
}

.stat-number {
    font-size: 3rem; /* Expanded visibility */
    font-weight: 800;
    font-family: var(--font-english), sans-serif;
    line-height: 1;
}

.stat-plus {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-gold);
    margin-left: 2px;
}

.stat-label {
    font-size: 1.05rem;
    font-weight: 700;
    opacity: 0.95;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   10. JOIN SANGATHAN SECTION (CTA)
   ========================================================================== */
.join-section {
    position: relative;
    background-color: var(--color-maroon);
    color: var(--color-bg-white);
    padding: 90px 24px;
    text-align: center;
    overflow: hidden;
}

.join-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.04;
    background-image: linear-gradient(45deg, #000 25%, transparent 25%), 
                      linear-gradient(-45deg, #000 25%, transparent 25%), 
                      linear-gradient(45deg, transparent 75%, #000 75%), 
                      linear-gradient(-45deg, transparent 75%, #000 75%);
    background-size: 40px 40px;
    pointer-events: none;
}

.join-container {
    position: relative;
    z-index: 10;
}

.join-content h2 {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.join-content p {
    font-size: 1.2rem;
    max-width: 750px;
    margin: 0 auto 40px;
    opacity: 0.88;
}

/* ==========================================================================
   11. NEWS / ANNOUNCEMENTS BOARD
   ========================================================================== */
.announcements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.ann-card {
    background: var(--glass-bg);
    border: var(--glass-border);
    backdrop-filter: blur(12px);
    box-shadow: var(--glass-shadow);
    border-radius: var(--border-radius-md);
    padding: 35px;
    position: relative;
    transition: var(--transition-smooth);
}

.ann-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--glass-shadow-hover);
    border-color: var(--color-saffron);
}

.ann-date {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text-muted);
    margin-bottom: 18px;
}

.ann-badge {
    position: absolute;
    top: 30px;
    right: 35px;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-bg-white);
    text-transform: uppercase;
}

.ann-badge.red { background-color: #EF4444; }
.ann-badge.green { background-color: #10B981; }
.ann-badge.orange { background-color: var(--color-saffron); }

.ann-card h3 {
    font-size: 1.2rem;
    color: var(--color-navy);
    font-weight: 800;
    line-height: 1.45;
    margin-bottom: 14px;
}

.ann-card p {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 22px;
}

.ann-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-saffron);
    display: inline-flex;
    align-items: center;
}

.ann-link:hover {
    color: var(--color-maroon);
}

/* ==========================================================================
   12. CONTACT SECTION & MAP
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 50px;
}

.contact-desc {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    margin-bottom: 35px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background-color: var(--color-saffron-light);
    color: var(--color-saffron);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.contact-info-text h4 {
    font-size: 1.1rem;
    color: var(--color-navy);
    font-weight: 700;
    margin-bottom: 5px;
}

.contact-info-text p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.contact-info-text a:hover {
    color: var(--color-saffron);
}

/* Floating WhatsApp FAB */
.whatsapp-float {
    position: fixed;
    bottom: 95px;
    right: 30px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    z-index: 999;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(15deg);
    background-color: #128C7E;
}

/* Map frame styling */
.map-placeholder {
    width: 100%;
    height: 290px;
    background-color: var(--color-border);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
    border: 3.5px solid var(--color-bg-white);
}

.map-loading-text {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
    background-color: #F1F5F9;
    z-index: 1;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.map-pin-animate {
    width: 35px;
    height: 35px;
    color: var(--color-maroon);
    animation: bounce 1.5s infinite;
}

.map-placeholder iframe {
    position: relative;
    z-index: 2;
}

/* Glassmorphism Form styling */
.contact-form-area {
    background: var(--glass-bg);
    border: var(--glass-border);
    backdrop-filter: blur(12px);
    box-shadow: var(--glass-shadow);
    border-radius: var(--border-radius-lg);
    padding: 45px;
    position: relative;
    overflow: hidden;
}

.contact-form-area h3 {
    font-size: 1.6rem;
    color: var(--color-navy);
    font-weight: 800;
    margin-bottom: 10px;
}

.form-desc {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-navy-light);
    margin-bottom: 8px;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--color-text-dark);
    outline: none;
    transition: var(--transition-smooth);
    background-color: rgba(255,255,255,0.7);
}

.form-group input:focus, 
.form-group textarea:focus {
    border-color: var(--color-maroon);
    background-color: var(--color-bg-white);
    box-shadow: 0 0 0 4px rgba(92, 6, 18, 0.15);
}

/* Success panel over form */
.form-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
    z-index: 10;
    transform: scale(0.9);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.form-success-overlay.active {
    transform: scale(1);
    opacity: 1;
    visibility: visible;
}

.success-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.success-icon {
    width: 65px;
    height: 65px;
    color: #10B981;
    background-color: #ECFDF5;
    border-radius: 50%;
    padding: 12px;
}

.success-box h4 {
    font-size: 1.6rem;
    color: var(--color-navy);
    font-weight: 800;
}

.success-box p {
    font-size: 1rem;
    color: var(--color-text-muted);
    max-width: 350px;
    margin-bottom: 12px;
}

/* ==========================================================================
   13. FOOTER
   ========================================================================== */
.main-footer {
    background-color: var(--color-navy);
    color: var(--color-bg-white);
    padding-top: 70px;
    border-top: 5px solid var(--color-gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.20fr 0.8fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.footer-logo {
    width: 55px;
    height: 55px;
    object-fit: contain;
    border-radius: 50%;
    background-color: white;
    border: 2px solid var(--color-gold);
}

.footer-logo-row h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-gold);
    line-height: 1.25;
}

.footer-desc {
    font-size: 0.9rem;
    color: #94A3B8;
    line-height: 1.7;
}

.footer-links h4,
.footer-contact-info h4 {
    font-size: 1.15rem;
    color: var(--color-bg-white);
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after,
.footer-contact-info h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--color-saffron);
    border-radius: 2px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: #94A3B8;
}

.footer-links a:hover {
    color: var(--color-saffron);
    padding-left: 6px;
}

.footer-contact-info p {
    font-size: 0.9rem;
    color: #94A3B8;
    margin-bottom: 14px;
}

.footer-phone a,
.footer-email a {
    color: var(--color-bg-white);
    font-weight: 700;
}

.footer-phone a:hover,
.footer-email a:hover {
    color: var(--color-saffron);
}

.footer-bottom {
    background-color: #050914;
    padding: 30px 0;
    font-size: 0.85rem;
    color: #64748B;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom a {
    color: #94A3B8;
}

.footer-bottom a:hover {
    color: var(--color-bg-white);
}

/* ==========================================================================
   CSS ANIMATIONS KEYFRAMES
   ========================================================================== */
@keyframes slideUp {
    from { opacity: 0; transform: translateY(35px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================================================== */
@media (max-width: 1200px) {
    .header-container {
        padding: 10px 24px;
    }
    .nav-menu ul {
        gap: 12px;
    }
    .nav-menu a {
        font-size: 0.85rem;
    }
    .btn-header-wa {
        padding: 8px 14px;
        font-size: 0.78rem;
    }
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.8rem;
    }
    .about-grid {
        gap: 40px;
    }
    .activities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .committee-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .announcements-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .social-feed-container {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
}

@media (max-width: 900px) {
    .nav-menu {
        display: none; /* Hide desktop navigation menu */
    }
    .hamburger-menu {
        display: flex; /* Show mobile hamburger icon */
    }
    .logo-area {
        max-width: 65%;
    }
    .org-name {
        font-size: 1rem;
    }
    .header-logo {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 15px;
    }
    .section-title {
        font-size: 2rem;
    }
    .btn-header-wa {
        display: none; /* Hide WhatsApp button from header on small screens to save space */
    }
    
    /* Hero */
    .hero-section {
        padding-top: 130px;
        padding-bottom: 70px;
    }
    .hero-container {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }
    .hero-desc {
        margin: 0 auto 30px;
    }
    .hero-ctas {
        justify-content: center;
    }
    .hero-tagline {
        border-left: none;
        border-bottom: 3.5px solid var(--color-saffron);
        padding-left: 0;
        padding-bottom: 6px;
    }
    .carousel-dots {
        bottom: 50px;
    }
    
    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }
    
    /* President Message message card */
    .message-card {
        grid-template-columns: 1fr;
    }
    .message-photo-area {
        padding: 45px 20px;
        border-right: none;
        border-bottom: 4px solid var(--color-gold);
    }
    .message-content {
        padding: 45px 30px;
    }
    
    /* Activities list */
    .activities-grid {
        grid-template-columns: 1fr;
    }
    
    /* Committee grid */
    .committee-grid {
        grid-template-columns: 1fr;
    }
    
    /* Events list */
    .events-grid {
        grid-template-columns: 1fr;
    }
    .event-img-wrap {
        height: 220px;
    }
    
    /* Gallery grid */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .lightbox-prev, .lightbox-next {
        padding: 12px 18px;
        font-size: 1.3rem;
    }
    .lightbox-prev { left: 15px; }
    .lightbox-next { right: 15px; }
    
    /* Social media grid mockups */
    .social-feed-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .post-img {
        aspect-ratio: 16/9;
    }
    
    /* Stats counters */
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    /* Join Sangathan CTA */
    .join-content h2 {
        font-size: 2rem;
    }
    
    /* Announcements notices */
    .announcements-grid {
        grid-template-columns: 1fr;
    }
    
    /* Contact grid info */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }
    .contact-form-area {
        padding: 35px 25px;
    }
    
    /* Footer links layout */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .footer-bottom-flex {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-ctas {
        flex-direction: column;
        gap: 12px;
    }
    .btn {
        width: 100%;
    }
    .about-values-grid {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .stats-container {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   DYNAMIC DROPDOWNS, SELECT STYLING & MODAL CARD POPUPS
   ========================================================================== */
.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--color-text-dark);
    outline: none;
    transition: var(--transition-smooth);
    background-color: rgba(255,255,255,0.7);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 16px;
}

.form-group select:focus {
    border-color: var(--color-maroon);
    background-color: var(--color-bg-white);
    box-shadow: 0 0 0 4px rgba(92, 6, 18, 0.15);
}

/* Modals styling (Overlay & Content Cards) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 19, 43, 0.85);
    backdrop-filter: blur(12px);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.4s ease;
}

.modal-overlay.active {
    display: flex;
}

.modal-card {
    background: var(--color-bg-cream);
    border: var(--glass-border);
    box-shadow: 0 25px 50px -12px rgba(92, 6, 18, 0.25);
    border-radius: var(--border-radius-lg);
    padding: 45px 35px;
    max-width: 550px;
    width: 100%;
    text-align: center;
    border-top: 5px solid var(--color-gold);
    position: relative;
    animation: zoomIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-card.admin-card {
    border-top-color: var(--color-saffron);
    max-width: 600px;
}

.modal-card h3 {
    font-size: 1.6rem;
    color: var(--color-maroon);
    font-weight: 800;
    margin-bottom: 15px;
}

.modal-card p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.modal-main-msg {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin-bottom: 25px;
    line-height: 1.7;
}

.modal-icon-wrap {
    width: 70px;
    height: 70px;
    background-color: #ECFDF5;
    color: #10B981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.15);
}

.modal-success-icon {
    width: 35px;
    height: 35px;
}

.modal-whatsapp-invite {
    background-color: #FFF;
    border: 1.5px solid var(--color-border);
    border-radius: var(--border-radius-md);
    padding: 24px;
    margin-bottom: 25px;
    text-align: left;
    box-shadow: var(--glass-shadow);
}

.modal-whatsapp-invite p {
    font-size: 0.95rem;
    color: var(--color-text-dark);
    margin-bottom: 16px;
    line-height: 1.6;
}

@media (max-width: 580px) {
    .form-row-2 {
        grid-template-columns: 1fr;
        gap: 0;
}

/* ==========================================================================
   DARK SECTION CONTRAST OVERRIDES
   ========================================================================== */
.dark-section .section-title {
    color: var(--color-bg-white) !important;
}

.dark-section .section-subtitle {
    color: var(--color-gold) !important;
}

.dark-section .title-underline {
    background: var(--color-gold-dark) !important;
}

.dark-section .title-underline::after {
    border-color: var(--color-navy) !important;
    background-color: var(--color-saffron) !important;
}

/* ==========================================================================
   INSTAGRAM FEED SLIDER CAROUSEL
   ========================================================================== */
.insta-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--glass-bg);
    border: var(--glass-border);
    backdrop-filter: blur(12px);
    border-radius: var(--border-radius-md);
    box-shadow: var(--glass-shadow);
    padding: 25px 20px 30px;
}

.insta-slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 500%; /* 5 slides */
}

.insta-slide-card {
    width: 20%; /* 100% / 5 slides */
    flex-shrink: 0;
    padding: 0 12px;
}

.insta-slider-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.insta-ctrl-btn {
    border: none;
    background-color: var(--color-maroon-light);
    color: var(--color-maroon);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.insta-ctrl-btn:hover {
    background-color: var(--color-saffron);
    color: var(--color-bg-white);
    transform: scale(1.1);
}

/* Adjustments for FB widget */
.fb-live-wrapper iframe {
    background-color: #FFFFFF;
}

@media (max-width: 1024px) {
    .social-feed-container {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }
}



