/* ==========================================================================
   Dr. Bhimrao Ambedkar Bahuudheshiy Trust - Complete Stylesheet
   Color Palette: Deep Navy Blue (#0B1D3A), Metallic Gold (#D4AF37), Crimson (#A81C1C)
   ========================================================================== */

:root {
    --primary-navy: #0b1d3a;
    --navy-dark: #061026;
    --navy-light: #152c52;
    --accent-gold: #d4af37;
    --gold-bright: #f3c623;
    --gold-dark: #aa7c11;
    --gold-light: #fef9e7;
    --crimson: #a81c1c;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --text-light: #e2e8f0;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --card-shadow: 0 10px 30px -5px rgba(11, 29, 58, 0.08);
    --gold-glow: 0 0 20px rgba(212, 175, 55, 0.35);
    --navy-glow: 0 10px 25px rgba(11, 29, 58, 0.25);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Cinzel', 'Noto Sans Devanagari', serif;
    --font-body: 'Outfit', 'Poppins', sans-serif;
    --font-devanagari: 'Noto Sans Devanagari', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    transition: var(--transition);
}

/* Container */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 90px 0;
}

.dark-bg {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--primary-navy) 60%, var(--navy-light) 100%);
    color: var(--bg-white);
}

/* Typography Helpers */
.text-gold {
    color: var(--accent-gold) !important;
}

.text-white {
    color: #ffffff !important;
}

.text-light {
    color: var(--text-light) !important;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-gold {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--gold-bright) 50%, var(--gold-dark) 100%);
    color: var(--navy-dark);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.45);
    filter: brightness(1.05);
}

.btn-navy {
    background: var(--primary-navy);
    color: #ffffff;
    box-shadow: var(--navy-glow);
}

.btn-navy:hover {
    background: var(--navy-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(11, 29, 58, 0.35);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.btn-outline-light:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.1);
}

.btn-outline-gold {
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
}

.btn-outline-gold:hover {
    background: var(--accent-gold);
    color: var(--navy-dark);
}

.btn-outline-navy {
    border: 2px solid var(--primary-navy);
    color: var(--primary-navy);
}

.btn-outline-navy:hover {
    background: var(--primary-navy);
    color: #ffffff;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.btn-full {
    width: 100%;
}

.shadow-gold {
    box-shadow: var(--gold-glow);
}

.shadow-navy {
    box-shadow: var(--navy-glow);
}

/* Section Header */
.section-header {
    max-width: 750px;
    margin: 0 auto 55px;
}

.section-header.text-center {
    text-align: center;
}

.section-subtitle {
    display: inline-block;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary-navy);
    margin-bottom: 10px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    font-weight: 700;
    color: var(--primary-navy);
    line-height: 1.25;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-top: 12px;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-navy), var(--accent-gold));
    margin: 18px auto 0;
    border-radius: 4px;
}

.gold-underline {
    background: linear-gradient(90deg, var(--accent-gold), var(--gold-bright));
}

/* ================= Top Announcement Bar ================= */
.top-bar {
    background: var(--navy-dark);
    color: var(--text-light);
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    padding: 0 30px;
}

.top-contacts {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.top-contacts a {
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-contacts a:hover {
    color: var(--accent-gold);
}

.top-contacts i {
    color: var(--accent-gold);
}

.reg-no {
    color: var(--accent-gold);
    font-weight: 500;
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-btn {
    color: #ffffff;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
}

.lang-btn:hover {
    background: var(--accent-gold);
    color: var(--navy-dark);
}

.top-socials {
    display: flex;
    gap: 12px;
}

.top-socials a {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #ffffff;
}

.top-socials a:hover {
    background: var(--accent-gold);
    color: var(--navy-dark);
}

.whatsapp-icon:hover {
    background: #25D366 !important;
    color: #ffffff !important;
}

/* ================= Main Sticky Header ================= */
.main-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    padding: 10px 14px;
    gap: 14px;
}

.brand-logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.brand-logo-img {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 3px var(--accent-gold);
}

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

.brand-title-hi {
    font-family: var(--font-devanagari);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-navy);
    line-height: 1.2;
}

.brand-title-en {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--accent-gold);
}

.brand-tagline {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Desktop Navigation */
.desktop-nav ul {
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.3vw, 18px);
}

.nav-link {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-dark);
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: var(--transition);
}

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

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

.highlight-link {
    color: var(--primary-navy) !important;
    font-weight: 600;
}

.header-cta-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-profile-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    padding: 6px 14px;
    border-radius: 30px;
    border: 1.5px solid var(--accent-gold);
    box-shadow: 0 2px 8px rgba(11, 29, 58, 0.08);
}

.user-profile-badge i.fa-circle-user {
    font-size: 1.25rem;
    color: var(--accent-gold);
}

.user-profile-name {
    font-weight: 700;
    color: var(--primary-navy);
    font-size: 0.9rem;
    max-width: 140px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-logout-link {
    color: #dc2626 !important;
    font-size: 0.82rem;
    font-weight: 700;
    margin-left: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 14px;
    background: #fee2e2;
    transition: var(--transition);
}

.user-logout-link:hover {
    background: #fca5a5;
    color: #991b1b !important;
}

.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
}

.hamburger-btn span {
    width: 100%;
    height: 3px;
    background: var(--primary-navy);
    border-radius: 3px;
    transition: var(--transition);
}

/* ================= Mobile Navigation Drawer ================= */
.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 16, 38, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100%;
    background: var(--navy-dark);
    color: #ffffff;
    z-index: 1100;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
}

.mobile-drawer.active {
    right: 0;
}

.drawer-header {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.drawer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.drawer-logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--accent-gold);
}

.drawer-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
}

.drawer-sub {
    font-size: 0.75rem;
    color: var(--accent-gold);
}

.close-drawer-btn {
    font-size: 2rem;
    color: #ffffff;
    line-height: 1;
}

.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.mobile-nav-list li {
    margin-bottom: 12px;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: var(--text-light);
    padding: 10px 14px;
    border-radius: 8px;
}

.mobile-nav-link i {
    width: 20px;
    color: var(--accent-gold);
}

.mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

/* ================= Mobile Drawer Dropdown ================= */
.mobile-dropdown {
    margin-bottom: 12px;
}

.mobile-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 10px 14px;
    cursor: pointer;
    user-select: none;
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-dropdown-toggle .dropdown-link-text {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-dropdown-toggle i.dropdown-chevron {
    font-size: 0.8rem;
    color: var(--accent-gold);
    transition: transform 0.3s ease;
}

.mobile-dropdown.active .mobile-dropdown-toggle i.dropdown-chevron {
    transform: rotate(180deg);
}

.mobile-dropdown.active .mobile-dropdown-toggle {
    background: rgba(212, 175, 55, 0.12);
    border-color: rgba(212, 175, 55, 0.3);
}

.mobile-submenu {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding-left: 15px;
    margin-top: 8px;
    margin-bottom: 4px;
    list-style: none;
}

.mobile-dropdown.active .mobile-submenu {
    display: flex;
}

.mobile-sublink {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.85);
    padding: 8px 10px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mobile-sublink i {
    width: 18px;
    color: var(--accent-gold);
    text-align: center;
}

.mobile-sublink:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.drawer-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.drawer-socials {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.drawer-socials a {
    color: #ffffff;
    font-size: 1.1rem;
}

/* ================= Hero Section ================= */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--primary-navy) 60%, var(--navy-light) 100%);
    color: #ffffff;
    padding: 80px 0 100px;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(11, 29, 58, 0.4) 0%, transparent 50%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.88rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.hero-main-heading {
    margin-bottom: 20px;
}

.hindi-title {
    display: block;
    font-family: var(--font-devanagari);
    font-size: 2.6rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
}

.en-subheading {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--accent-gold);
    margin-top: 8px;
    letter-spacing: 0.5px;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 35px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 35px;
}

.pillar-pills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pillar-pill {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
}

.pillar-pill i {
    color: var(--accent-gold);
}

/* Hero Logo Side Card */
.hero-logo-side {
    display: flex;
    justify-content: center;
}

.hero-logo-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 2px solid var(--accent-gold);
    border-radius: 30px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    max-width: 380px;
    width: 100%;
}

.logo-gold-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.hero-emblem-img {
    position: relative;
    z-index: 2;
    width: 220px;
    height: 220px;
    margin: 0 auto 20px;
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
    animation: pulseGlow 4s infinite ease-in-out;
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
    }

    50% {
        box-shadow: 0 0 50px rgba(212, 175, 55, 0.7);
    }
}

.hero-emblem-caption {
    position: relative;
    z-index: 2;
}

.hero-emblem-caption h3 {
    font-family: var(--font-devanagari);
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
}

.hero-emblem-caption p {
    font-size: 0.85rem;
    margin-top: 4px;
}

/* Impact Counter Bar */
.impact-bar-card {
    background: var(--bg-white);
    color: var(--text-dark);
    border-radius: 20px;
    padding: 30px 40px;
    margin-top: 60px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-bottom: 5px solid var(--accent-gold);
}

.impact-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.impact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 200px;
}

.impact-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--gold-light);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.impact-info {
    display: flex;
    flex-direction: column;
}

.counter-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-navy);
    line-height: 1;
}

.plus-sign {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-gold);
}

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

.impact-divider {
    width: 1px;
    height: 50px;
    background: rgba(0, 0, 0, 0.1);
}

/* ================= About Section ================= */
.about-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 60px;
    align-items: center;
}

.about-image-card {
    position: relative;
    display: flex;
    justify-content: center;
}

.about-logo-frame {
    background: linear-gradient(135deg, var(--primary-navy), var(--navy-dark));
    padding: 30px;
    border-radius: 30px;
    border: 3px solid var(--accent-gold);
    box-shadow: var(--card-shadow);
}

.about-logo {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.trust-badge-float {
    position: absolute;
    bottom: -20px;
    left: 20px;
    background: var(--bg-white);
    padding: 16px 22px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 4px solid var(--accent-gold);
}

.trust-badge-float i {
    font-size: 2.2rem;
}

.trust-badge-float strong {
    display: block;
    font-size: 0.95rem;
    color: var(--primary-navy);
}

.trust-badge-float p {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.about-heading {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-navy);
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-paragraph {
    font-size: 1.02rem;
    color: #334155;
    margin-bottom: 16px;
    line-height: 1.7;
}

.about-highlights-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.about-feature-box {
    display: flex;
    gap: 15px;
    background: var(--bg-white);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.feature-icon {
    font-size: 1.6rem;
    color: var(--accent-gold);
}

.about-feature-box h4 {
    font-size: 0.95rem;
    color: var(--primary-navy);
    margin-bottom: 4px;
}

.about-feature-box p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.about-cta-box {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 25px;
}

/* ================= Mission & Vision Section ================= */
.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
}

.mv-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 24px;
    padding: 40px;
    transition: var(--transition);
}

.mv-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.mv-icon-wrapper {
    width: 65px;
    height: 65px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--accent-gold), var(--gold-dark));
    color: var(--navy-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.mv-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.mv-text {
    font-size: 1.02rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 25px;
}

.mv-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: #e2e8f0;
    margin-bottom: 10px;
}

/* ================= Key Initiatives Section ================= */
.initiatives-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.initiative-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 35px 28px;
    box-shadow: var(--card-shadow);
    border-top: 4px solid var(--primary-navy);
    position: relative;
    transition: var(--transition);
}

.initiative-card:hover {
    transform: translateY(-8px);
    border-top-color: var(--accent-gold);
    box-shadow: 0 20px 40px rgba(11, 29, 58, 0.12);
}

.init-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-gold);
    background: var(--gold-light);
    padding: 4px 10px;
    border-radius: 12px;
}

.init-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--navy-dark);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.init-title-hi {
    font-family: var(--font-devanagari);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-navy);
}

.init-title-en {
    font-size: 0.88rem;
    color: var(--accent-gold);
    margin-bottom: 15px;
    font-weight: 600;
}

.init-desc {
    font-size: 0.94rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.init-link {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary-navy);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.init-link:hover {
    color: var(--accent-gold);
}

/* ================= Kanyadan Yojna Section ================= */
.kanyadan-box-wrapper {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--primary-navy) 100%);
    border: 3px solid var(--accent-gold);
    border-radius: 30px;
    padding: 50px 45px;
    color: #ffffff;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.kanyadan-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-gold);
    color: var(--navy-dark);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 6px 18px;
    border-radius: 20px;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kanyadan-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
}

.kanyadan-heading-hi {
    font-family: var(--font-devanagari);
    font-size: 2.3rem;
    font-weight: 700;
    color: #ffffff;
}

.kanyadan-heading-en {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.kanyadan-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 30px;
}

.kanyadan-features-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 35px;
}

.k-feat-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.k-icon {
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-top: 3px;
}

.k-feat-item strong {
    display: block;
    font-size: 0.98rem;
    color: #ffffff;
}

.k-feat-item p {
    font-size: 0.85rem;
    color: var(--text-light);
}

.kanyadan-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.kanyadan-visual-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.kanyadan-logo-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
}

.kanyadan-logo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 15px;
    border: 3px solid var(--accent-gold);
}

.kanyadan-tag span {
    font-family: var(--font-devanagari);
    font-size: 0.9rem;
    color: var(--text-light);
}

.kanyadan-tag h4 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--accent-gold);
    margin-top: 4px;
}

.k-eligibility-box {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.k-eligibility-box h4 {
    font-size: 0.95rem;
    color: #ffffff;
    margin-bottom: 12px;
}

.k-eligibility-box li {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ================= Donation Section ================= */
.donation-card-container {
    max-width: 850px;
    margin: 0 auto;
}

.donation-card {
    background: var(--bg-white);
    border-radius: 24px;
    padding: 45px;
    box-shadow: 0 20px 50px rgba(11, 29, 58, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
}

.tax-badge {
    background: var(--gold-light);
    color: var(--gold-dark);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.donate-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--primary-navy);
    margin-bottom: 25px;
}

.cause-selector-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.cause-btn {
    padding: 10px 18px;
    border-radius: 25px;
    border: 2px solid #e2e8f0;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

.cause-btn.active,
.cause-btn:hover {
    border-color: var(--primary-navy);
    background: var(--primary-navy);
    color: #ffffff;
}

.amount-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.amount-btn {
    padding: 14px;
    border-radius: 14px;
    border: 2px solid #e2e8f0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-navy);
    background: #ffffff;
}

.amount-btn.active,
.amount-btn:hover {
    border-color: var(--accent-gold);
    background: var(--gold-light);
    color: var(--gold-dark);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.custom-amount-wrapper {
    position: relative;
    margin-bottom: 25px;
}

.currency-symbol {
    position: absolute;
    top: 50%;
    left: 18px;
    transform: translateY(-50%);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-navy);
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    font-family: inherit;
    font-size: 0.98rem;
    transition: var(--transition);
}

.custom-amount-wrapper input {
    padding-left: 40px;
}

.form-control:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
}

.donate-cta-wrap {
    margin-bottom: 25px;
}

.donation-trust-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--text-muted);
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

/* ================= Membership Section ================= */
.membership-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.member-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 40px 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.featured-member {
    background: rgba(255, 255, 255, 0.09);
    border: 2px solid var(--accent-gold);
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.popular-ribbon {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--accent-gold);
    color: var(--navy-dark);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 12px;
}

.member-badge {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-gold);
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.member-icon {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.member-tier {
    font-family: var(--font-devanagari);
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.member-fee {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-gold);
    margin-bottom: 25px;
}

.member-fee span {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-light);
}

.member-privileges {
    flex: 1;
    margin-bottom: 30px;
}

.member-privileges li {
    font-size: 0.88rem;
    color: var(--text-light);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ================= Volunteer Section ================= */
.volunteer-box {
    background: var(--bg-white);
    border-radius: 30px;
    padding: 50px;
    box-shadow: var(--card-shadow);
    border-left: 6px solid var(--accent-gold);
}

.volunteer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.vol-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-navy);
    margin-bottom: 15px;
}

.vol-desc {
    font-size: 1.02rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
}

.vol-roles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.vol-role-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-light);
    padding: 12px;
    border-radius: 12px;
}

.vol-role-item i {
    font-size: 1.3rem;
    color: var(--primary-navy);
}

.vol-role-item strong {
    display: block;
    font-size: 0.88rem;
    color: var(--primary-navy);
}

.vol-role-item p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.vol-badge-card {
    background: var(--navy-dark);
    color: #ffffff;
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    border: 2px solid var(--accent-gold);
}

.vol-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 15px;
    border: 2px solid var(--accent-gold);
}

.vol-badge-card h3 {
    font-size: 1.1rem;
    color: var(--accent-gold);
    margin-bottom: 10px;
}

.vol-badge-card p {
    font-size: 0.88rem;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 20px;
}

.vol-stats {
    display: flex;
    justify-content: space-around;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
}

.vol-stats strong {
    display: block;
    font-size: 1.4rem;
    color: var(--accent-gold);
}

.vol-stats span {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* ================= Recent Events Section ================= */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 10px 24px;
    border-radius: 25px;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary-navy);
    border-color: var(--primary-navy);
    color: #ffffff;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.event-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--card-shadow);
    border-left: 5px solid var(--primary-navy);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.event-card:hover {
    transform: translateY(-5px);
    border-left-color: var(--accent-gold);
}

.event-header-badge {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.event-date {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.event-status {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 10px;
    text-transform: uppercase;
}

.upcoming-status {
    background: #dbeafe;
    color: #1e40af;
}

.completed-status {
    background: #dcfce7;
    color: #166534;
}

.event-icon {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.event-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--primary-navy);
    margin-bottom: 6px;
}

.event-location {
    font-size: 0.82rem;
    color: var(--accent-gold);
    margin-bottom: 12px;
}

.event-snippet {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
}

/* ================= Gallery Section ================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.gallery-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    background: var(--navy-dark);
    height: 240px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.gallery-graphic-box {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    position: relative;
    color: #ffffff;
    transition: var(--transition);
}

.graphic-kanyadan {
    background: linear-gradient(135deg, #1e1b4b, #312e81);
}

.graphic-education {
    background: linear-gradient(135deg, #064e3b, #047857);
}

.graphic-health {
    background: linear-gradient(135deg, #831843, #be185d);
}

.graphic-empowerment {
    background: linear-gradient(135deg, #78350f, #b45309);
}

.graphic-rights {
    background: linear-gradient(135deg, #1e3a8a, #1d4ed8);
}

.graphic-relief {
    background: linear-gradient(135deg, #3f6212, #65a30d);
}

.gallery-watermark {
    position: absolute;
    width: 160px;
    height: 160px;
    opacity: 0.12;
    border-radius: 50%;
}

.gallery-icon {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.gallery-graphic-box h4 {
    font-family: var(--font-devanagari);
    font-size: 1.15rem;
    position: relative;
    z-index: 2;
}

.gallery-graphic-box span {
    font-size: 0.8rem;
    color: var(--accent-gold);
    position: relative;
    z-index: 2;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 29, 58, 0.9);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    opacity: 0;
    transition: var(--transition);
}

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

.zoom-icon {
    font-size: 1.8rem;
    color: var(--accent-gold);
    margin-bottom: 10px;
}

.gallery-overlay h5 {
    font-size: 1.1rem;
}

.gallery-overlay p {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ================= Call To Action Banner ================= */
.cta-banner-section {
    position: relative;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--primary-navy) 100%);
    color: #ffffff;
    padding: 75px 0;
    text-align: center;
    border-top: 3px solid var(--accent-gold);
    border-bottom: 3px solid var(--accent-gold);
}

.cta-logo-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 3px solid var(--accent-gold);
    box-shadow: var(--gold-glow);
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 35px;
}

.cta-btn-row {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

/* ================= Contact Page & Section Styles ================= */
.page-hero {
    position: relative;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--primary-navy) 55%, var(--navy-light) 100%);
    padding: 85px 0 75px;
    color: #ffffff;
    overflow: hidden;
    box-shadow: inset 0 -15px 30px rgba(0, 0, 0, 0.2);
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.22) 0%, rgba(212, 175, 55, 0) 70%);
    pointer-events: none;
    border-radius: 50%;
    animation: floatGlow 8s ease-in-out infinite alternate;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(168, 28, 28, 0.18) 0%, rgba(168, 28, 28, 0) 70%);
    pointer-events: none;
    border-radius: 50%;
}

@keyframes floatGlow {
    0% {
        transform: translateY(0) scale(1);
    }

    100% {
        transform: translateY(-20px) scale(1.1);
    }
}

.page-hero .hero-badge {
    background: rgba(212, 175, 55, 0.14);
    border: 1.5px solid var(--accent-gold);
    color: var(--gold-bright);
    font-size: 0.88rem;
    font-weight: 700;
    padding: 7px 22px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.25);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.page-hero .page-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.page-hero .hero-subtext {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 750px;
    margin: 0 auto 28px;
    line-height: 1.7;
    opacity: 0.95;
    font-weight: 400;
}

.breadcrumb-trail {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    padding: 9px 24px;
    border-radius: 50px;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.85);
}

.breadcrumb-trail a {
    color: var(--gold-bright);
    font-weight: 600;
    transition: var(--transition);
}

.breadcrumb-trail a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.breadcrumb-trail i {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 40px;
    align-items: start;
}

.contact-info-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(11, 29, 58, 0.06);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1.5px solid rgba(11, 29, 58, 0.07);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold), var(--gold-bright));
    opacity: 0;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(11, 29, 58, 0.12), 0 0 20px rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.4);
}

.contact-card:hover::before {
    opacity: 1;
}

.icon-box-gold {
    width: 62px;
    height: 62px;
    min-width: 62px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--gold-dark) 100%);
    color: var(--navy-dark);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 10px 22px rgba(212, 175, 55, 0.35);
    transition: var(--transition);
}

.contact-card:hover .icon-box-gold {
    transform: scale(1.08) rotate(5deg);
    box-shadow: 0 12px 28px rgba(212, 175, 55, 0.5);
}

.contact-card-content h4 {
    font-family: var(--font-heading);
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 8px;
}

.contact-card-content p {
    font-size: 0.94rem;
    color: var(--text-dark);
    line-height: 1.65;
    margin-bottom: 12px;
}

.contact-card-content p a {
    color: var(--primary-navy);
    font-weight: 600;
    transition: var(--transition);
}

.contact-card-content p a:hover {
    color: var(--gold-dark);
    text-decoration: underline;
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, #fef9e7 0%, #fef3c7 100%);
    color: #92400e;
    border: 1px solid rgba(212, 175, 55, 0.4);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 50px;
    letter-spacing: 0.3px;
    margin-top: 6px;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.15);
}

.badge-tag.green {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    color: #065f46;
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15);
}

.badge-tag.blue {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #1e40af;
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
}

.social-connect-card {
    background: linear-gradient(145deg, var(--navy-dark) 0%, var(--primary-navy) 60%, var(--navy-light) 100%);
    color: #ffffff;
    border-radius: 24px;
    padding: 35px 30px;
    border: 2px solid rgba(212, 175, 55, 0.45);
    box-shadow: 0 22px 50px rgba(6, 16, 38, 0.35);
    position: relative;
    overflow: hidden;
}

.social-connect-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.25) 0%, rgba(212, 175, 55, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.social-connect-card h4 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--gold-bright);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.social-connect-card p {
    font-size: 0.92rem;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.6;
}

.social-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
}

.social-btn:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.social-btn.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: #ffffff;
}

.social-btn.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: #dc2743;
    color: #ffffff;
}

.social-btn.twitter:hover {
    background: #000000;
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.social-btn.youtube:hover {
    background: #ff0000;
    border-color: #ff0000;
    color: #ffffff;
}

.social-btn.whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
    color: #ffffff;
}

.form-card-wrapper {
    background: var(--bg-white);
    border-radius: 24px;
    padding: 45px 40px;
    box-shadow: 0 20px 50px rgba(11, 29, 58, 0.09);
    border: 1.5px solid rgba(212, 175, 55, 0.25);
    position: relative;
    overflow: hidden;
}

.form-card-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--accent-gold), var(--gold-bright), var(--primary-navy), var(--accent-gold));
}

.form-card-wrapper h3 {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-card-wrapper p {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 28px;
    line-height: 1.6;
}

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

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: #f8fafc;
    transition: all 0.3s ease;
}

.form-control:focus {
    background: #ffffff;
    border-color: var(--accent-gold);
    outline: none;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.18), 0 4px 15px rgba(11, 29, 58, 0.06);
}

.form-control::placeholder {
    color: #94a3b8;
}

textarea.form-control {
    resize: vertical;
    min-height: 130px;
}

.map-card-frame {
    background: var(--bg-white);
    border-radius: 24px;
    padding: 18px;
    box-shadow: 0 20px 45px rgba(11, 29, 58, 0.1);
    border: 2px solid var(--accent-gold);
    overflow: hidden;
    transition: var(--transition);
}

.map-card-frame:hover {
    box-shadow: 0 25px 60px rgba(11, 29, 58, 0.16), 0 0 25px rgba(212, 175, 55, 0.3);
}

.map-card-frame iframe {
    width: 100%;
    height: 440px;
    border: none;
    border-radius: 16px;
    display: block;
}

.checkbox-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.85rem;
}

/* ================= Footer Section ================= */
.main-footer {
    background: var(--navy-dark);
    color: #ffffff;
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.9fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

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

.footer-logo {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 2px solid var(--accent-gold);
}

.footer-title {
    font-family: var(--font-devanagari);
    font-size: 1.05rem;
    color: #ffffff;
}

.footer-subtitle {
    font-size: 0.68rem;
    color: var(--accent-gold);
    display: block;
}

.footer-desc {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.footer-socials a:hover {
    background: var(--accent-gold);
    color: var(--navy-dark);
}

.footer-col-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--accent-gold);
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-gold);
}

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

.footer-links a {
    font-size: 0.88rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--accent-gold);
    transform: translateX(4px);
}

.footer-contact-item {
    font-size: 0.88rem;
    color: var(--text-light);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.newsletter-wrap {
    margin-top: 20px;
}

.newsletter-wrap label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.newsletter-form {
    display: flex;
    gap: 5px;
}

.newsletter-input {
    flex: 1;
    padding: 8px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 0.82rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.82rem;
    color: var(--text-light);
}

.footer-bottom-links {
    display: flex;
    gap: 12px;
}

/* Back to Top */
.back-to-top-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-gold);
    color: var(--navy-dark);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--gold-glow);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

/* ================= MODAL STYLING ================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 16, 38, 0.75);
    backdrop-filter: blur(6px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background: var(--bg-white);
    border-radius: 24px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 35px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    animation: modalSlide 0.3s ease-out;
}

@keyframes modalSlide {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.8rem;
    color: var(--text-muted);
}

.modal-close:hover {
    color: var(--crimson);
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 15px;
}

.modal-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--accent-gold);
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--primary-navy);
}

.modal-sub {
    font-size: 0.8rem;
    color: var(--accent-gold);
    font-weight: 600;
}

.donation-summary-box {
    background: var(--gold-light);
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    border-left: 4px solid var(--accent-gold);
}

.pay-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.pay-tab-btn {
    flex: 1;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
}

.pay-tab-btn.active {
    background: var(--primary-navy);
    color: #ffffff;
    border-color: var(--primary-navy);
}

.qr-code-box {
    text-align: center;
    background: #f8fafc;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    margin-bottom: 20px;
}

.simulated-qr {
    margin: 0 auto 15px;
}

.upi-id-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid #cbd5e1;
    font-size: 0.85rem;
}

.btn-copy {
    color: var(--accent-gold);
    font-weight: 700;
}

.bank-details-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    margin-bottom: 20px;
}

.bank-detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.form-sub-title {
    font-size: 0.95rem;
    color: var(--primary-navy);
    margin-bottom: 15px;
}

/* Lightbox Modal */
.lightbox-card {
    background: var(--navy-dark);
    color: #ffffff;
    max-width: 500px;
    text-align: center;
}

.lightbox-graphic {
    position: relative;
    height: 200px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-navy), var(--navy-light));
    margin-bottom: 20px;
}

.lightbox-watermark {
    width: 140px;
    height: 140px;
    opacity: 0.15;
}

.lightbox-graphic i {
    font-size: 3.5rem;
    color: var(--accent-gold);
    position: relative;
    z-index: 2;
}

.lightbox-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--accent-gold);
    margin-bottom: 8px;
}

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

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--navy-dark);
    color: #ffffff;
    border-left: 5px solid var(--accent-gold);
    padding: 14px 22px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: toastIn 0.3s ease;
}

@keyframes toastIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ================= RESPONSIVE MEDIA QUERIES ================= */

@media (min-width: 993px) and (max-width: 1200px) {

    .initiatives-grid,
    .membership-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 30px !important;
    }
}

@media (max-width: 1250px) {
    .navbar-container {
        padding: 10px 20px !important;
        gap: 12px !important;
    }

    .desktop-nav ul {
        gap: clamp(6px, 1.1vw, 14px) !important;
    }

    .nav-link {
        font-size: 0.85rem !important;
    }

    .brand-title-hi {
        font-size: 1.02rem !important;
    }

    .brand-title-en {
        font-size: 0.65rem !important;
    }

    .brand-tagline {
        display: none !important;
    }

    .btn-header-donate {
        height: 38px !important;
        padding: 0 16px !important;
        font-size: 0.82rem !important;
    }

    .auth-nav-btn,
    .auth-user-badge {
        height: 38px !important;
        padding: 0 14px !important;
        font-size: 0.82rem !important;
    }
}

@media (max-width: 992px) {

    .desktop-nav,
    .btn-header-donate {
        display: none !important;
    }

    .hamburger-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 38px !important;
        height: 38px !important;
    }

    .brand-logo-img {
        width: 44px !important;
        height: 44px !important;
    }

    .brand-title-hi {
        font-size: 0.98rem !important;
        line-height: 1.25 !important;
    }

    .brand-title-en {
        font-size: 0.62rem !important;
    }

    .brand-tagline {
        display: none !important;
    }

    .auth-nav-btn {
        height: 38px !important;
        padding: 0 14px !important;
        font-size: 0.82rem !important;
    }

    .auth-user-badge {
        height: 38px !important;
        padding: 0 12px !important;
        font-size: 0.8rem !important;
    }

    .initiatives-grid,
    .membership-grid,
    .gallery-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        width: 100% !important;
    }

    .footer-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 25px !important;
        width: 100% !important;
    }
}

.hero-grid {
    grid-template-columns: 1fr !important;
    text-align: center;
}

.hero-text-side {
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.about-grid,
.kanyadan-grid,
.volunteer-grid,
.contact-grid,
.mv-grid,
.events-grid {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 25px !important;
}

.about-grid>div,
.kanyadan-grid>div,
.volunteer-grid>div,
.contact-grid>div,
.mv-grid>div {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.impact-divider {
    display: none;
}


@media (max-width: 768px) {

    /* Responsive Spacing & Container */
    section {
        padding: 35px 0 !important;
    }

    .container {
        padding: 0 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Typography Scaling */
    .section-title {
        font-size: 1.45rem !important;
        line-height: 1.3 !important;
    }

    /* Redesigned Premium Mobile Top Announcement Bar */
    .top-bar {
        padding: 6px 0 !important;
        background: linear-gradient(135deg, #061026 0%, #0b1d3a 100%) !important;
        border-bottom: 1px solid rgba(212, 175, 55, 0.25) !important;
    }

    .top-bar-content {
        flex-direction: column !important;
        align-items: center !important;
        gap: 6px !important;
        text-align: center !important;
    }

    .top-contacts {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 6px 10px !important;
        font-size: 0.75rem !important;
        width: 100% !important;
    }

    .top-contacts a {
        font-size: 0.72rem !important;
        color: #e2e8f0 !important;
        background: rgba(255, 255, 255, 0.08) !important;
        padding: 3px 10px !important;
        border-radius: 12px !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
    }

    .reg-no {
        font-size: 0.7rem !important;
        color: var(--accent-gold) !important;
        background: rgba(212, 175, 55, 0.12) !important;
        padding: 3px 12px !important;
        border-radius: 12px !important;
        border: 1px solid rgba(212, 175, 55, 0.35) !important;
        display: inline-block !important;
        max-width: 100% !important;
        word-break: break-word !important;
    }

    .top-actions {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
    }

    .top-socials {
        gap: 8px !important;
        justify-content: center !important;
    }

    .top-socials a {
        width: 26px !important;
        height: 26px !important;
        font-size: 0.72rem !important;
        background: rgba(255, 255, 255, 0.1) !important;
    }

    .hindi-title {
        font-size: 1.55rem !important;
        line-height: 1.35 !important;
    }

    .section-subtitle {
        font-size: 0.85rem !important;
    }

    /* Page Banner / Hero Mobile Scaling */
    .page-banner {
        padding: 30px 12px 25px !important;
        text-align: center !important;
    }

    .page-banner h1 {
        font-size: 1.4rem !important;
        line-height: 1.3 !important;
        margin-bottom: 8px !important;
        letter-spacing: normal !important;
        word-break: break-word !important;
    }

    .page-banner p {
        font-size: 0.88rem !important;
        line-height: 1.5 !important;
        max-width: 100% !important;
    }

    .breadcrumb-badge {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        max-width: 100% !important;
        font-size: 0.75rem !important;
        padding: 4px 10px !important;
        margin-bottom: 12px !important;
        word-break: break-word !important;
    }

    /* Grids & Cards Stacking */
    .amount-grid,
    .kanyadan-options-grid,
    .objectives-grid,
    .initiatives-grid,
    .membership-grid,
    .gallery-grid,
    .vol-roles-grid,
    .about-highlights-grid,
    .team-grid,
    .credentials-grid,
    .about-features-grid,
    .kanyadan-checklist-grid,
    .kanyadan-hero-stats,
    .vol-hero-stats,
    .kanyadan-provisions-grid {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 18px !important;
    }

    .amount-grid>div,
    .kanyadan-options-grid>div,
    .objectives-grid>div,
    .initiatives-grid>div,
    .team-grid>div,
    .credentials-grid>div,
    .kanyadan-provisions-grid>div {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .form-row {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    /* Key Initiatives Mobile UX */
    .initiative-card {
        padding: 24px 18px !important;
        border-radius: 16px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        position: relative !important;
        overflow: hidden !important;
    }

    .init-badge {
        position: absolute !important;
        top: 18px !important;
        right: 18px !important;
        font-size: 0.7rem !important;
        padding: 3px 8px !important;
        margin: 0 !important;
        float: none !important;
    }

    .init-icon-box {
        width: 48px !important;
        height: 48px !important;
        font-size: 1.3rem !important;
        border-radius: 12px !important;
        margin-bottom: 14px !important;
    }

    .init-title-hi {
        font-size: 1.1rem !important;
        line-height: 1.3 !important;
        clear: both !important;
    }

    .init-title-en {
        font-size: 0.82rem !important;
        margin-bottom: 10px !important;
    }

    .init-desc {
        font-size: 0.88rem !important;
        line-height: 1.55 !important;
        margin-bottom: 14px !important;
    }

    .init-link {
        font-size: 0.84rem !important;
    }

    /* Trust Membership Program Mobile UX */
    .member-card {
        padding: 26px 20px !important;
        border-radius: 20px !important;
        transform: none !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .featured-member {
        transform: none !important;
        border-width: 2px !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
    }

    .popular-ribbon {
        top: -10px !important;
        right: 15px !important;
        font-size: 0.68rem !important;
        padding: 3px 10px !important;
    }

    .member-tier {
        font-size: 1.1rem !important;
        line-height: 1.3 !important;
    }

    .member-fee {
        font-size: 1.6rem !important;
        margin-bottom: 18px !important;
    }

    .member-fee span {
        font-size: 0.8rem !important;
    }

    .member-privileges {
        margin-bottom: 20px !important;
    }

    .member-privileges li {
        font-size: 0.84rem !important;
        margin-bottom: 10px !important;
    }

    .member-card .btn {
        width: 100% !important;
        min-height: 44px !important;
        justify-content: center !important;
        font-size: 0.88rem !important;
    }

    /* Main Footer Mobile UX */
    .main-footer {
        padding: 40px 0 20px !important;
    }

    .footer-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 25px !important;
        margin-bottom: 30px !important;
    }

    .footer-col {
        width: 100% !important;
        border-bottom: 1px dashed rgba(255, 255, 255, 0.12) !important;
        padding-bottom: 22px !important;
    }

    .footer-col:last-child {
        border-bottom: none !important;
        padding-bottom: 0 !important;
    }

    .footer-logo-row {
        gap: 12px !important;
        margin-bottom: 12px !important;
    }

    .footer-logo {
        width: 44px !important;
        height: 44px !important;
        flex-shrink: 0 !important;
    }

    .footer-title {
        font-size: 0.95rem !important;
        line-height: 1.25 !important;
    }

    .footer-subtitle {
        font-size: 0.65rem !important;
    }

    .footer-desc {
        font-size: 0.84rem !important;
        line-height: 1.55 !important;
        margin-bottom: 14px !important;
    }

    .footer-socials {
        gap: 10px !important;
    }

    .footer-socials a {
        width: 36px !important;
        height: 36px !important;
        font-size: 0.88rem !important;
    }

    .footer-col-title {
        font-size: 1rem !important;
        margin-bottom: 14px !important;
        padding-bottom: 6px !important;
    }

    .footer-links li {
        margin-bottom: 8px !important;
    }

    .footer-links a {
        font-size: 0.85rem !important;
    }

    .footer-contact-item {
        font-size: 0.85rem !important;
        margin-bottom: 10px !important;
    }

    .newsletter-wrap label {
        font-size: 0.78rem !important;
    }

    .newsletter-form {
        display: flex !important;
        gap: 6px !important;
        width: 100% !important;
    }

    .newsletter-input {
        padding: 9px 14px !important;
        font-size: 0.82rem !important;
        border-radius: 25px !important;
    }

    .newsletter-form .btn {
        width: 44px !important;
        height: 38px !important;
        border-radius: 20px !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
    }

    .footer-bottom {
        padding-top: 20px !important;
        flex-direction: column !important;
        text-align: center !important;
        gap: 10px !important;
    }

    .footer-bottom-links {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 6px 10px !important;
        font-size: 0.78rem !important;
    }

    /* Kanyadan Box Wrapper & Section Mobile UX */
    .kanyadan-box-wrapper {
        padding: 24px 14px !important;
        border-radius: 18px !important;
        border-width: 2px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .kanyadan-badge {
        padding: 4px 12px !important;
        font-size: 0.75rem !important;
        margin-bottom: 16px !important;
        white-space: normal !important;
        text-align: center !important;
        max-width: 100% !important;
        display: inline-flex !important;
    }

    .kanyadan-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 25px !important;
        width: 100% !important;
    }

    .kanyadan-content {
        width: 100% !important;
    }

    .kanyadan-heading-hi {
        font-size: 1.35rem !important;
        line-height: 1.35 !important;
        word-break: break-word !important;
        margin-bottom: 6px !important;
    }

    .kanyadan-heading-en {
        font-size: 0.88rem !important;
        line-height: 1.4 !important;
        margin-bottom: 16px !important;
        word-break: break-word !important;
    }

    .kanyadan-desc {
        font-size: 0.88rem !important;
        line-height: 1.55 !important;
        margin-bottom: 20px !important;
    }

    .kanyadan-features-list {
        gap: 12px !important;
        margin-bottom: 22px !important;
    }

    .k-feat-item {
        padding: 12px 12px !important;
        gap: 10px !important;
    }

    .k-feat-item strong {
        font-size: 0.88rem !important;
    }

    .k-feat-item p {
        font-size: 0.78rem !important;
    }

    .kanyadan-btn-group {
        flex-direction: column !important;
        width: 100% !important;
        gap: 10px !important;
    }

    .kanyadan-btn-group .btn {
        width: 100% !important;
        min-height: 44px !important;
        padding: 10px 12px !important;
        font-size: 0.85rem !important;
        justify-content: center !important;
    }

    .kanyadan-visual-card {
        width: 100% !important;
    }

    .kanyadan-logo-card {
        padding: 18px 12px !important;
    }

    /* Event Filter Category Tabs Mobile UX */
    .category-tabs {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 8px !important;
        margin-bottom: 25px !important;
        width: 100% !important;
    }

    .tab-btn {
        padding: 8px 14px !important;
        font-size: 0.82rem !important;
        border-radius: 20px !important;
        white-space: nowrap !important;
        text-align: center !important;
        flex: 1 1 auto !important;
        min-width: fit-content !important;
    }

    /* Kanyadan & Organization Cards Mobile UX */
    .kanyadan-option-card,
    .amount-card,
    .vol-reg-card,
    .vol-admin-card {
        padding: 18px 14px !important;
        border-radius: 16px !important;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06) !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .kanyadan-option-card .btn-kanyadan-donate,
    .amount-card .btn {
        width: 100% !important;
        min-height: 44px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Volunteer & Form Mobile UX */
    .admin-drawer-bar {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
        padding: 12px 14px !important;
    }

    .search-box-wrap {
        flex-direction: column !important;
        width: 100% !important;
        gap: 10px !important;
    }

    .search-input,
    .filter-select,
    .btn-export {
        width: 100% !important;
        flex: none !important;
    }

    /* History Timeline Mobile Optimization */
    .timeline-wrapper {
        padding: 10px 0 !important;
        position: relative !important;
    }

    .timeline-wrapper::before {
        content: '' !important;
        position: absolute !important;
        left: 20px !important;
        top: 20px !important;
        bottom: 20px !important;
        width: 3px !important;
        background: #cbd5e1 !important;
        z-index: 1 !important;
    }

    .timeline-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        position: relative !important;
        padding-left: 55px !important;
        margin-bottom: 30px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .timeline-empty {
        display: none !important;
    }

    .timeline-content {
        flex: none !important;
        width: 100% !important;
        padding: 0 !important;
        text-align: left !important;
    }

    .timeline-icon-circle {
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        width: 40px !important;
        height: 40px !important;
        z-index: 5 !important;
    }

    .timeline-card {
        width: 100% !important;
        padding: 16px 14px !important;
        border-radius: 14px !important;
        box-sizing: border-box !important;
    }

    .timeline-card h4 {
        font-size: 1.05rem !important;
        word-break: break-word !important;
    }

    .timeline-card span {
        font-size: 0.78rem !important;
        word-break: break-word !important;
        display: inline-block !important;
    }

    .timeline-card p {
        font-size: 0.88rem !important;
        line-height: 1.5 !important;
    }

    /* Responsive Table Scroll Container */
    .table-responsive-wrapper {
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        border-radius: 12px !important;
        border: 1px solid #cbd5e1 !important;
        margin-top: 15px !important;
    }

    .vol-table,
    .invoice-table {
        min-width: 580px !important;
    }
}

@media (max-width: 480px) {

    /* Ultra-Small Mobile Viewport (260px - 480px) Universal Safety */
    *,
    *::before,
    *::after {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    p,
    span,
    a,
    li,
    label,
    div {
        overflow-wrap: break-word !important;
        word-wrap: break-word !important;
        word-break: break-word !important;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        overflow-wrap: break-word !important;
        word-wrap: break-word !important;
        word-break: normal !important;
    }

    .btn,
    button,
    input,
    select,
    textarea {
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
    }

    .btn {
        width: 100% !important;
        min-height: 44px !important;
        padding: 10px 12px !important;
        font-size: 0.85rem !important;
        justify-content: center !important;
    }

    /* Event Filter Category Tabs Ultra-Small Mobile Safety */
    .category-tabs {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        width: 100% !important;
        justify-content: center !important;
    }

    .tab-btn {
        padding: 6px 12px !important;
        font-size: 0.78rem !important;
        white-space: nowrap !important;
        border-radius: 20px !important;
        text-align: center !important;
        flex: 1 1 auto !important;
    }

    /* Volunteer Section Mobile UX */
    .volunteer-box {
        padding: 22px 14px !important;
        border-radius: 18px !important;
        border-left-width: 4px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .volunteer-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 22px !important;
        width: 100% !important;
    }

    .vol-text {
        width: 100% !important;
    }

    .vol-title {
        font-size: 1.3rem !important;
        line-height: 1.3 !important;
        margin-bottom: 12px !important;
        word-break: normal !important;
    }

    .vol-desc {
        font-size: 0.88rem !important;
        line-height: 1.55 !important;
        margin-bottom: 20px !important;
    }

    .vol-roles-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        margin-bottom: 22px !important;
    }

    .vol-role-item {
        padding: 12px 12px !important;
        gap: 10px !important;
    }

    .vol-badge-card {
        padding: 22px 14px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Header & Brand Logo Scaling */
    .navbar-container {
        padding: 8px 10px !important;
        gap: 8px !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .brand-logo-container {
        gap: 8px !important;
        flex: 1 !important;
        min-width: 0 !important;
        overflow: hidden !important;
        align-items: center !important;
    }

    .brand-logo-img {
        width: 38px !important;
        height: 38px !important;
        flex-shrink: 0 !important;
    }

    .brand-text {
        flex: 1 !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }

    .brand-title-hi {
        font-size: 0.84rem !important;
        line-height: 1.2 !important;
        white-space: normal !important;
        word-break: normal !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        color: var(--primary-navy) !important;
    }

    .brand-title-en {
        display: none !important;
    }

    .brand-tagline {
        display: none !important;
    }

    .header-cta-group {
        gap: 6px !important;
        flex-shrink: 0 !important;
    }

    .auth-nav-btn {
        height: 34px !important;
        padding: 0 10px !important;
        font-size: 0.76rem !important;
        border-radius: 30px !important;
        white-space: nowrap !important;
    }

    .auth-user-badge {
        height: 34px !important;
        padding: 0 8px !important;
        font-size: 0.76rem !important;
        white-space: nowrap !important;
    }

    .auth-user-badge .logout-link {
        font-size: 0.7rem !important;
        padding: 2px 6px !important;
        margin-left: 4px !important;
    }

    .hamburger-btn {
        width: 34px !important;
        height: 34px !important;
        flex-shrink: 0 !important;
        padding: 4px !important;
        margin-left: 2px !important;
    }

    /* Stats Grid Ultra-Small Phone Optimization */
    .stats-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .stats-grid>div {
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
        padding: 10px 4px !important;
    }

    /* Page Titles & Headers */
    .section-title {
        font-size: 1.25rem !important;
    }

    .hindi-title {
        font-size: 1.35rem !important;
    }

    /* Footer & Copyright */
    .footer-bottom {
        text-align: center !important;
        flex-direction: column !important;
        gap: 10px !important;
    }
}

/* ================= Navbar Dropdown & Sub-Modules ================= */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.dropdown-toggle i.fa-chevron-down {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-toggle i.fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu,
.desktop-nav .dropdown-menu {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    position: absolute;
    top: 100%;
    left: 0;
    width: max-content;
    min-width: 255px;
    max-width: 320px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(11, 29, 58, 0.12);
    border: 1px solid #cbd5e1;
    border-top: 3px solid var(--accent-gold);
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1050;
    list-style: none;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    display: block !important;
    width: 100%;
    margin: 0 !important;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    font-size: 0.86rem;
    color: var(--primary-navy);
    font-weight: 500;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.dropdown-item:hover {
    background: var(--bg-light);
    color: var(--gold-dark);
    padding-left: 20px;
}

.dropdown-item i {
    color: var(--accent-gold);
    font-size: 0.92rem;
    width: 18px;
    text-align: center;
}

/* Digital Member Card Styles */
.member-card-preview {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--primary-navy) 60%, var(--navy-light) 100%);
    border-radius: 20px;
    padding: 25px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    border: 3px solid var(--accent-gold);
    box-shadow: 0 15px 35px rgba(11, 29, 58, 0.3);
    max-width: 420px;
    margin: 0 auto;
}

.card-watermark {
    position: absolute;
    right: -30px;
    bottom: -30px;
    width: 180px;
    opacity: 0.08;
    pointer-events: none;
}

.member-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px dashed rgba(212, 175, 55, 0.4);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.member-card-header img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--accent-gold);
}

.member-card-body {
    display: flex;
    gap: 20px;
    align-items: center;
}

.member-photo-box {
    width: 85px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--accent-gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.member-info-box h4 {
    font-size: 1.15rem;
    color: #ffffff;
    margin-bottom: 4px;
}

.member-info-box p {
    font-size: 0.82rem;
    color: var(--text-light);
    margin-bottom: 3px;
}

.member-id-badge {
    display: inline-block;
    background: var(--accent-gold);
    color: var(--navy-dark);
    font-weight: 800;
    font-size: 0.78rem;
    padding: 2px 10px;
    border-radius: 10px;
    margin-top: 6px;
}

/* Digital Invoice Styles */
.invoice-card-preview {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #cbd5e1;
    color: var(--text-dark);
}

.invoice-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--primary-navy);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.invoice-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.9rem;
}

.invoice-table th {
    background: var(--bg-light);
    color: var(--primary-navy);
    text-align: left;
    padding: 10px;
    border-bottom: 2px solid #cbd5e1;
}

.invoice-table td {
    padding: 10px;
    border-bottom: 1px solid #e2e8f0;
}

/* ================= Gallery Page Styling ================= */
.gallery-hero {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--primary-navy) 70%, var(--navy-light) 100%);
    color: #ffffff;
    padding: 70px 0 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.gallery-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 30%, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.gallery-hero-title {
    font-family: 'Cinzel', serif;
    font-size: 2.6rem;
    color: var(--accent-gold);
    margin-bottom: 12px;
    font-weight: 700;
}

.gallery-hero-sub {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 720px;
    margin: 0 auto 20px;
    line-height: 1.6;
}

.gallery-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.gallery-breadcrumb a {
    color: var(--accent-gold);
    text-decoration: none;
}

.gallery-breadcrumb span {
    color: rgba(255, 255, 255, 0.7);
}

/* Category Filter Bar */
.gallery-filter-section {
    padding: 40px 0 20px;
    background: var(--bg-light);
}

.filter-bar-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 35px;
}

.filter-btn {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    color: var(--text-dark);
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
}

.filter-btn i {
    color: var(--accent-gold);
    transition: transform 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--accent-gold);
    color: var(--primary-navy);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--primary-navy);
    color: #ffffff;
    border-color: var(--primary-navy);
    box-shadow: 0 4px 15px rgba(11, 29, 58, 0.2);
}

.filter-btn.active i {
    color: var(--accent-gold);
}

/* Gallery Items Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.gallery-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    border: 1px solid #f1f5f9;
}

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(11, 29, 58, 0.18);
}

.gallery-img-wrapper {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: #0b1d3a;
}

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

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

.gallery-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(11, 29, 58, 0.85);
    backdrop-filter: blur(6px);
    color: var(--accent-gold);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    z-index: 2;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(11, 29, 58, 0.9) 0%, rgba(11, 29, 58, 0.3) 60%, transparent 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    z-index: 3;
}

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

.gallery-zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.6);
    width: 50px;
    height: 50px;
    background: var(--accent-gold);
    color: var(--navy-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.5);
}

.gallery-card:hover .gallery-zoom-icon {
    transform: translate(-50%, -50%) scale(1);
}

.gallery-card-content {
    padding: 18px 20px;
}

.gallery-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 6px;
    line-height: 1.4;
}

.gallery-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.gallery-card-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Video Highlight Section */
.gallery-video-section {
    padding: 60px 0;
    background: #ffffff;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

.video-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
}

.video-thumb-wrapper {
    position: relative;
    height: 210px;
    background: var(--navy-dark);
    overflow: hidden;
}

.video-thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: transform 0.4s ease;
}

.video-card:hover .video-thumb-wrapper img {
    transform: scale(1.05);
}

.play-btn-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.9);
    color: var(--navy-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    padding-left: 3px;
    cursor: pointer;
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.6);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.6);
    }

    70% {
        box-shadow: 0 0 0 18px rgba(212, 175, 55, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

.video-card-body {
    padding: 20px;
}

.video-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 8px;
}

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

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 29, 58, 0.95);
    backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.lightbox-modal.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 900px;
    width: 100%;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-img-box {
    width: 100%;
    max-height: 520px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img-box img {
    max-width: 100%;
    max-height: 520px;
    object-fit: contain;
}

.lightbox-caption {
    padding: 18px 25px;
    background: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e2e8f0;
}

.lightbox-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-navy);
}

.lightbox-category {
    font-size: 0.85rem;
    color: var(--accent-gold);
    font-weight: 600;
    background: rgba(11, 29, 58, 0.06);
    padding: 4px 12px;
    border-radius: 20px;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    border-radius: 50%;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.2s ease;
}

.lightbox-close:hover {
    background: var(--accent-gold);
    color: var(--navy-dark);
}

/* Mobile Responsive: 2 images per row in gallery */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-bottom: 35px;
    }

    .gallery-card {
        border-radius: 12px;
    }

    .gallery-img-wrapper {
        height: 140px;
    }

    .gallery-badge {
        font-size: 0.65rem;
        padding: 3px 8px;
        top: 8px;
        left: 8px;
    }

    .gallery-card-content {
        padding: 10px;
    }

    .gallery-card-title {
        font-size: 0.85rem;
        margin-bottom: 4px;
        line-height: 1.3;
    }

    .gallery-card-meta {
        font-size: 0.72rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .gallery-zoom-icon {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .gallery-img-wrapper {
        height: 125px;
    }

    .gallery-card-content {
        padding: 8px;
    }

    .gallery-card-title {
        font-size: 0.8rem;
    }
}

/* ================= USER AUTHENTICATION & LOGIN/SIGNUP SYSTEM ================= */
.desktop-nav ul {
    display: flex;
    align-items: center;
    gap: clamp(8px, 1.2vw, 16px);
    white-space: nowrap;
}

.desktop-nav .nav-link {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.header-cta-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    white-space: nowrap;
}

.btn-header-donate {
    white-space: nowrap;
    height: 42px;
    padding: 0 22px;
    font-size: 0.88rem;
    font-weight: 700;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-shrink: 0;
}

.auth-header-btn-wrap {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.auth-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 42px;
    padding: 0 20px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1.5px solid var(--accent-gold);
    background: var(--primary-navy);
    color: var(--accent-gold);
    box-shadow: 0 4px 14px rgba(6, 16, 38, 0.25);
    flex-shrink: 0;
}

.auth-nav-btn i {
    color: var(--accent-gold);
    font-size: 0.95rem;
    transition: var(--transition);
}

.auth-nav-btn:hover {
    background: var(--accent-gold);
    color: var(--primary-navy);
    border-color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.auth-nav-btn:hover i {
    color: var(--primary-navy);
}

.auth-user-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    height: 42px;
    background: var(--primary-navy);
    border: 1.5px solid var(--accent-gold);
    padding: 0 16px;
    border-radius: 50px;
    color: var(--accent-gold);
    font-size: 0.86rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(6, 16, 38, 0.25);
    flex-shrink: 0;
}

.auth-user-badge i {
    font-size: 1.05rem;
}

.auth-user-badge .logout-link {
    color: #f87171;
    cursor: pointer;
    font-size: 0.78rem;
    margin-left: 6px;
    padding: 4px 10px;
    border-radius: 50px;
    background: rgba(239, 68, 68, 0.18);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

.auth-user-badge .logout-link:hover {
    background: #ef4444;
    color: #ffffff;
}

.auth-modal-card {
    max-width: 680px;
    width: 100%;
}

.auth-tab-group {
    display: flex;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 25px;
    gap: 6px;
}

.auth-tab-btn {
    flex: 1;
    padding: 12px 16px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.auth-tab-btn.active {
    background: var(--primary-navy);
    color: var(--accent-gold);
    box-shadow: 0 4px 12px rgba(6, 16, 38, 0.15);
}

.auth-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 600px) {
    .auth-form-grid {
        grid-template-columns: 1fr;
    }
}

.auth-input-group {
    margin-bottom: 16px;
}

.auth-input-group label {
    display: block;
    font-weight: 600;
    font-size: 0.86rem;
    color: var(--primary-navy);
    margin-bottom: 5px;
}

.auth-input-group label span.req {
    color: #ef4444;
}

.auth-input-group .form-control {
    width: 100%;
    padding: 11px 14px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.2s ease;
}

.auth-input-group .form-control:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.file-upload-preview-box {
    border: 2px dashed #cbd5e1;
    border-radius: 10px;
    padding: 12px;
    text-align: center;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.file-upload-preview-box:hover {
    border-color: var(--accent-gold);
    background: #fffbeb;
}

.file-upload-preview-box img {
    max-height: 80px;
    border-radius: 6px;
    margin-top: 8px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-auth-lock-banner {
    background: linear-gradient(135deg, #fff7ed, #ffedd5);
    border: 1px solid #fdba74;
    border-radius: 12px;
    padding: 14px 20px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    color: #9a3412;
    font-weight: 600;
    font-size: 0.92rem;
    box-shadow: 0 4px 12px rgba(251, 146, 60, 0.15);
}

.form-auth-success-banner {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border: 1px solid #86efac;
    border-radius: 12px;
    padding: 12px 18px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #166534;
    font-weight: 600;
    font-size: 0.9rem;
}