/* ============================================
   TWO - Tanawal Welfare Organization
   Main Stylesheet — Neon Green Dark/Light Theme
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* ============================================
   DARK THEME (Default)
   ============================================ */
:root,
[data-theme="dark"] {
    --primary: #00ff88;
    --primary-dark: #00cc6a;
    --primary-light: #33ffaa;
    --primary-rgb: 0, 255, 136;
    --secondary: #00cc6a;
    --secondary-dark: #009e52;
    --secondary-rgb: 0, 204, 106;

    --bg-body: #0a0e17;
    --bg-surface: #111827;
    --bg-card: #1a2332;
    --bg-card-hover: #1f2b3d;
    --bg-elevated: #0f1923;
    --bg-input: #1a2332;

    --text-primary: #e8f0fe;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-heading: #f1f5f9;

    --border: rgba(0, 255, 136, 0.12);
    --border-subtle: rgba(255,255,255,0.06);

    --dark: #0a0e17;
    --dark-light: #111827;
    --gray: #94a3b8;
    --gray-light: #111827;
    --white: #e8f0fe;

    --shadow: 0 4px 20px rgba(0,0,0,0.3);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.4);
    --shadow-glow: 0 0 20px rgba(0, 255, 136, 0.15);
    --shadow-glow-lg: 0 0 40px rgba(0, 255, 136, 0.2);
    --shadow-glow-btn: 0 0 25px rgba(0, 255, 136, 0.35), 0 0 50px rgba(0, 255, 136, 0.15);

    --transition: all 0.3s ease;
    --radius: 12px;

    --gradient-hero: linear-gradient(135deg, rgba(0,255,136,0.12) 0%, rgba(10,14,23,0.85) 50%, rgba(0,204,106,0.08) 100%);
    --gradient-primary: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
    --gradient-surface: linear-gradient(135deg, rgba(0,255,136,0.05) 0%, rgba(0,204,106,0.05) 100%);
    --gradient-dark: linear-gradient(135deg, #0a0e17 0%, #111827 100%);
}

/* ============================================
   LIGHT THEME
   ============================================ */
[data-theme="light"] {
    --primary: #059669;
    --primary-dark: #047857;
    --primary-light: #10b981;
    --primary-rgb: 5, 150, 105;
    --secondary: #047857;
    --secondary-dark: #065f46;
    --secondary-rgb: 4, 120, 87;

    --bg-body: #f8fafb;
    --bg-surface: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f0fdf4;
    --bg-elevated: #f0f9f4;
    --bg-input: #f8fafb;

    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-heading: #0f172a;

    --border: rgba(5, 150, 105, 0.15);
    --border-subtle: rgba(0,0,0,0.08);

    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray: #475569;
    --gray-light: #f0f9f4;
    --white: #ffffff;

    --shadow: 0 4px 15px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
    --shadow-glow: 0 0 20px rgba(5, 150, 105, 0.1);
    --shadow-glow-lg: 0 0 40px rgba(5, 150, 105, 0.15);
    --shadow-glow-btn: 0 4px 15px rgba(5, 150, 105, 0.25);

    --gradient-hero: linear-gradient(135deg, rgba(5,150,105,0.06) 0%, rgba(248,250,251,0.9) 50%, rgba(4,120,87,0.04) 100%);
    --gradient-primary: linear-gradient(135deg, #059669 0%, #047857 100%);
    --gradient-surface: linear-gradient(135deg, rgba(5,150,105,0.03) 0%, rgba(4,120,87,0.03) 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-primary);
    background: var(--bg-body);
    line-height: 1.7;
    overflow-x: hidden;
    transition: background 0.4s ease, color 0.4s ease;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-heading);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--text-heading);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.5);
}

.section-title p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 650px;
    margin: 20px auto 0;
}

/* ============================================
   BUTTONS — Neon Glow
   ============================================ */
.btn {
    display: inline-block;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-body);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-btn);
    filter: brightness(1.1);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--bg-body);
    box-shadow: 0 0 15px rgba(var(--secondary-rgb), 0.2);
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(var(--secondary-rgb), 0.35);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--bg-body);
    box-shadow: var(--shadow-glow-btn);
}

.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--bg-body);
    box-shadow: var(--shadow-glow);
}

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
    background: var(--bg-surface);
    color: var(--text-secondary);
    padding: 8px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--border-subtle);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.top-bar-left {
    display: flex;
    gap: 25px;
    align-items: center;
}

.top-bar-left a {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-left a:hover {
    color: var(--primary);
    text-shadow: 0 0 8px rgba(var(--primary-rgb), 0.4);
}

.top-bar-right {
    display: flex;
    gap: 12px;
    align-items: center;
}

.top-bar-right a {
    color: var(--text-secondary);
    font-size: 1rem;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    border: 1px solid var(--border-subtle);
}

.top-bar-right a:hover {
    background: var(--primary);
    color: var(--bg-body);
    border-color: var(--primary);
    box-shadow: 0 0 12px rgba(var(--primary-rgb), 0.4);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    background: var(--bg-surface);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
    border-bottom: 1px solid var(--border-subtle);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
}

.navbar-brand img {
    height: 55px;
    width: auto;
}

.navbar-brand .org-name {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary);
    line-height: 1.2;
    text-shadow: 0 0 15px rgba(var(--primary-rgb), 0.3);
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    gap: 5px;
    align-items: center;
    margin-left: auto;
}

.nav-menu li {
    position: relative;
}

.nav-menu li a {
    display: block;
    padding: 20px 15px;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
    box-shadow: 0 0 8px rgba(var(--primary-rgb), 0.5);
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    transform: scaleX(1);
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(var(--primary-rgb), 0.3);
}

/* Dropdown */
.nav-menu li .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--bg-card);
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius) var(--radius);
    border: 1px solid var(--border-subtle);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.nav-menu li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu li .dropdown li a {
    padding: 10px 20px;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-secondary);
}

.nav-menu li .dropdown li a::after {
    display: none;
}

.nav-menu li .dropdown li a:hover {
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary);
    padding-left: 25px;
}

.donate-btn {
    background: var(--gradient-primary) !important;
    color: var(--bg-body) !important;
    border-radius: 50px !important;
    padding: 10px 25px !important;
    margin-left: 10px;
    box-shadow: var(--shadow-glow) !important;
    font-weight: 600 !important;
}

.donate-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow-btn) !important;
    filter: brightness(1.1);
}

.donate-btn::after {
    display: none !important;
}

/* Theme Toggle Button */
.theme-toggle {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
    margin-left: 10px;
    flex-shrink: 0;
}

.theme-toggle:hover {
    background: var(--primary);
    color: var(--bg-body);
    box-shadow: var(--shadow-glow);
}

.theme-toggle .fa-sun { display: none; }
.theme-toggle .fa-moon { display: inline; }

[data-theme="light"] .theme-toggle .fa-sun { display: inline; }
[data-theme="light"] .theme-toggle .fa-moon { display: none; }

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
    box-shadow: 0 0 6px rgba(var(--primary-rgb), 0.3);
}

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-slider {
    position: relative;
    height: 85vh;
    min-height: 550px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10,14,23,0.35) 0%, rgba(10,14,23,0.25) 50%, rgba(0,255,136,0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-content {
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
}

.slide-content h1 {
    font-size: 3.5rem;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(var(--primary-rgb), 0.3);
}

.slide-content p {
    font-size: 1.15rem;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.8;
    color: rgba(255,255,255,0.9);
}

.slide-content .btn {
    margin: 0 8px;
}

.slide-content .btn-outline {
    border-color: var(--primary);
    color: var(--primary);
}

.slide-content .btn-outline:hover {
    background: var(--primary);
    color: var(--bg-body);
    box-shadow: var(--shadow-glow-btn);
}

.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.slider-nav .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.slider-nav .dot.active {
    background: var(--primary);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.5);
}

.slider-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
    pointer-events: none;
}

.slider-arrows button {
    pointer-events: all;
    background: rgba(var(--primary-rgb), 0.15);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    color: var(--primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.slider-arrows button:hover {
    background: var(--primary);
    color: var(--bg-body);
    box-shadow: var(--shadow-glow);
}

/* ============================================
   PAGE BANNER
   ============================================ */
.page-banner {
    background: var(--bg-surface);
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.page-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(var(--primary-rgb), 0.04);
    border-radius: 50%;
    filter: blur(60px);
}

.page-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: rgba(var(--secondary-rgb), 0.03);
    border-radius: 50%;
    filter: blur(40px);
}

.page-banner h1 {
    font-size: 2.8rem;
    color: var(--text-heading);
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.breadcrumb a {
    color: var(--primary);
    text-shadow: 0 0 8px rgba(var(--primary-rgb), 0.3);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: var(--text-muted);
}

/* ============================================
   ABOUT / WELCOME SECTION
   ============================================ */
.welcome-section {
    padding: 80px 0;
    background: var(--bg-body);
}

.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.welcome-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.welcome-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.welcome-image:hover img {
    transform: scale(1.05);
}

.welcome-image .experience-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--gradient-primary);
    color: var(--bg-body);
    padding: 15px 25px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-glow);
}

.welcome-image .experience-badge h3 {
    font-size: 2rem;
    color: var(--bg-body);
    line-height: 1;
}

.welcome-image .experience-badge p {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--bg-body);
}

.welcome-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--primary);
    text-shadow: 0 0 20px rgba(var(--primary-rgb), 0.2);
}

.welcome-content p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-size: 0.98rem;
}

.welcome-content .btn {
    margin-top: 15px;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
    background: var(--bg-surface);
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--border-subtle);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow-lg);
    border-color: var(--border);
}

.service-card .card-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.service-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .card-image img {
    transform: scale(1.1);
}

.service-card .card-icon {
    position: absolute;
    bottom: -25px;
    left: 30px;
    width: 55px;
    height: 55px;
    background: var(--gradient-primary);
    color: var(--bg-body);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    z-index: 2;
    box-shadow: var(--shadow-glow);
}

.service-card .card-body {
    padding: 40px 30px 30px;
}

.service-card .card-body h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text-heading);
}

.service-card .card-body h3 a:hover {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(var(--primary-rgb), 0.3);
}

.service-card .card-body p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-card .card-body .read-more {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.service-card .card-body .read-more:hover {
    gap: 10px;
    text-shadow: 0 0 8px rgba(var(--primary-rgb), 0.3);
}

/* ============================================
   CHAIRMAN SECTION
   ============================================ */
.chairman-section {
    padding: 80px 0;
    background: var(--bg-body);
}

.chairman-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}

.chairman-image {
    position: relative;
}

.chairman-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
    border: 1px solid var(--border);
}

.chairman-image::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: 100px;
    height: 100px;
    border-top: 4px solid var(--primary);
    border-left: 4px solid var(--primary);
    border-radius: 10px 0 0 0;
    z-index: -1;
    box-shadow: -3px -3px 15px rgba(var(--primary-rgb), 0.2);
}

.chairman-content h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: var(--text-heading);
}

.chairman-content .chairman-name {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 20px;
    display: block;
    text-shadow: 0 0 10px rgba(var(--primary-rgb), 0.2);
}

.chairman-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

/* ============================================
   EVENTS SECTION
   ============================================ */
.events-section {
    padding: 80px 0;
    background: var(--bg-surface);
    position: relative;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.event-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    border: 1px solid var(--border-subtle);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--border);
}

.event-card .event-date {
    background: var(--gradient-primary);
    color: var(--bg-body);
    padding: 20px 15px;
    text-align: center;
    min-width: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.event-card .event-date .day {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    color: var(--bg-body);
}

.event-card .event-date .month {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
    color: var(--bg-body);
}

.event-card .event-info {
    padding: 20px;
    flex: 1;
}

.event-card .event-info h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-heading);
}

.event-card .event-info h3 a:hover {
    color: var(--primary);
    text-shadow: 0 0 8px rgba(var(--primary-rgb), 0.3);
}

.event-card .event-info .event-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.event-card .event-info .event-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.event-card .event-info .event-meta span i {
    color: var(--primary);
}

/* Events on white background */
.events-section-light {
    background: var(--bg-body);
}

.events-section-light .section-title h2,
.events-section-light .section-title p {
    color: var(--text-heading);
}

.events-section .section-title h2 {
    color: var(--text-heading);
}

.events-section .section-title h2::after {
    background: var(--gradient-primary);
}

.events-section .section-title p {
    color: var(--text-secondary);
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery-section {
    padding: 80px 0;
    background: var(--bg-body);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    border: 1px solid var(--border-subtle);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item .gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(var(--primary-rgb), 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: #ffffff;
    font-size: 2rem;
    text-shadow: 0 0 15px rgba(var(--primary-rgb), 0.5);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--radius);
    box-shadow: 0 0 40px rgba(var(--primary-rgb), 0.2);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--primary);
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 10;
    text-shadow: 0 0 10px rgba(var(--primary-rgb), 0.5);
}

/* ============================================
   TEAM / EXECUTIVE MEMBERS
   ============================================ */
.team-section {
    padding: 80px 0;
    background: var(--bg-surface);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-subtle);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow-lg);
    border-color: var(--border);
}

.team-card .member-image {
    height: 280px;
    overflow: hidden;
    position: relative;
}

.team-card .member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s ease;
}

.team-card:hover .member-image img {
    transform: scale(1.05);
}

.team-card .member-social {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 30px 10px 10px;
    display: flex;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: var(--transition);
}

.team-card:hover .member-social {
    opacity: 1;
}

.team-card .member-social a {
    width: 35px;
    height: 35px;
    background: var(--primary);
    color: var(--bg-body);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.4);
}

.team-card .member-social a:hover {
    background: var(--secondary);
    box-shadow: 0 0 10px rgba(var(--secondary-rgb), 0.4);
}

.team-card .member-info {
    padding: 20px 15px;
}

.team-card .member-info h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-heading);
}

.team-card .member-info h3 a:hover {
    color: var(--primary);
    text-shadow: 0 0 8px rgba(var(--primary-rgb), 0.3);
}

.team-card .member-info .position {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 8px rgba(var(--primary-rgb), 0.2);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: var(--bg-surface);
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(var(--primary-rgb), 0.04);
    border-radius: 50%;
    filter: blur(60px);
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: rgba(var(--secondary-rgb), 0.03);
    border-radius: 50%;
    filter: blur(40px);
}

.cta-section h2 {
    color: var(--text-heading);
    font-size: 2rem;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.cta-section .btn {
    position: relative;
    z-index: 1;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    padding: 80px 0;
    background: var(--bg-body);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form-wrapper {
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-subtle);
}

.contact-form-wrapper h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-heading);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--bg-input);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15), 0 0 15px rgba(var(--primary-rgb), 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-subtle);
}

.contact-info-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--border);
}

.contact-info-card .icon {
    width: 55px;
    height: 55px;
    background: var(--gradient-primary);
    color: var(--bg-body);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-glow);
}

.contact-info-card h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-family: 'Poppins', sans-serif;
    color: var(--text-heading);
}

.contact-info-card p,
.contact-info-card a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.contact-info-card a:hover {
    color: var(--primary);
    text-shadow: 0 0 8px rgba(var(--primary-rgb), 0.3);
}

/* ============================================
   DONATE PAGE
   ============================================ */
.donate-section {
    padding-top: 30px;
}

.donation-card {
    position: relative;
    overflow: hidden;
}

.donation-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(var(--primary-rgb), 0.18), transparent 48%);
    pointer-events: none;
}

.donation-form-intro,
.donate-form,
.donation-feedback {
    position: relative;
    z-index: 1;
}

.donation-form-intro {
    margin-bottom: 24px;
}

.donation-form-intro h3 {
    margin: 8px 0 12px;
    color: var(--text-heading);
}

.donation-form-intro p {
    color: var(--text-secondary);
}

.amount-field-row {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.8fr);
    gap: 18px;
    align-items: start;
}

.amount-input-shell {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    background: var(--bg-input);
    overflow: hidden;
    transition: var(--transition);
}

.amount-input-shell:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15), 0 0 15px rgba(var(--primary-rgb), 0.1);
}

.currency-prefix {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 74px;
    padding: 0 16px;
    background: rgba(var(--primary-rgb), 0.12);
    color: var(--primary-light);
    font-weight: 600;
    border-right: 1px solid var(--border-subtle);
}

.amount-input-shell input {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none !important;
}

.currency-toggle {
    display: inline-grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 6px;
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
}

.currency-option {
    border: none;
    background: transparent;
    color: var(--text-secondary);
    padding: 12px 16px;
    border-radius: 10px;
    font-weight: 700;
    letter-spacing: 0.4px;
    cursor: pointer;
    transition: var(--transition);
}

.currency-option:hover {
    color: var(--text-primary);
    background: rgba(var(--primary-rgb), 0.08);
}

.currency-option.active {
    background: var(--gradient-primary);
    color: var(--bg-body);
    box-shadow: var(--shadow-glow);
}

.currency-helper {
    margin-top: 10px;
    font-size: 0.86rem;
    color: var(--text-muted);
}

.donation-submit {
    width: 100%;
    justify-content: center;
    margin-top: 6px;
}

.donation-feedback {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 16px;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(var(--primary-rgb), 0.22);
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.14), rgba(var(--primary-rgb), 0.06));
}

.donation-feedback[hidden] {
    display: none;
}

.donation-feedback-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--primary-rgb), 0.18);
    color: var(--primary);
    font-size: 1.1rem;
}

.donation-feedback-copy h4 {
    margin-bottom: 6px;
    color: var(--text-heading);
}

.donation-feedback-copy p {
    margin: 0;
    color: var(--text-secondary);
}

.donation-spotlight {
    background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.16) 0%, rgba(var(--primary-rgb), 0.05) 100%), var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 28px;
    box-shadow: var(--shadow);
}

.donation-spotlight h3 {
    margin: 8px 0 12px;
    color: var(--text-heading);
}

.donation-spotlight p {
    color: var(--text-secondary);
}

.donation-spotlight .secure-points {
    margin-top: 18px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-surface);
    color: var(--text-secondary);
    padding: 60px 0 0;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-subtle);
}

.footer-col h3 {
    color: var(--text-heading);
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-primary);
    box-shadow: 0 0 8px rgba(var(--primary-rgb), 0.4);
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
    text-shadow: 0 0 8px rgba(var(--primary-rgb), 0.3);
}

.footer-col ul li a i {
    color: var(--primary);
    font-size: 0.7rem;
}

.footer-col .contact-info li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.footer-col .contact-info li i {
    color: var(--primary);
    margin-top: 3px;
    text-shadow: 0 0 6px rgba(var(--primary-rgb), 0.3);
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--bg-body);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
    padding: 60px 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    color: var(--text-primary);
}

.stat-item i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary);
    filter: drop-shadow(0 0 8px rgba(var(--primary-rgb), 0.4));
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 5px;
    text-shadow: 0 0 15px rgba(var(--primary-rgb), 0.3);
}

.stat-item p {
    font-size: 0.9rem;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

/* ============================================
   SERVICE DETAIL PAGE
   ============================================ */
.service-detail {
    padding: 80px 0;
    background: var(--bg-body);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.service-detail-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary);
    text-shadow: 0 0 15px rgba(var(--primary-rgb), 0.2);
}

.service-detail-content p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.service-detail-content ul {
    margin: 15px 0;
}

.service-detail-content ul li {
    padding: 8px 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.service-detail-content ul li i {
    color: var(--primary);
    text-shadow: 0 0 6px rgba(var(--primary-rgb), 0.3);
}

.service-detail-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

/* ============================================
   YOUTUBE SECTION
   ============================================ */
.youtube-section {
    padding: 60px 0;
    background: var(--bg-surface);
    text-align: center;
    border-top: 1px solid var(--border-subtle);
}

.youtube-section h2 {
    color: var(--text-heading);
    margin-bottom: 25px;
}

.youtube-section .btn {
    background: #FF0000;
    color: #ffffff;
}

.youtube-section .btn:hover {
    background: #cc0000;
    box-shadow: 0 0 20px rgba(255,0,0,0.3);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    color: var(--bg-body);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: var(--transition);
    box-shadow: var(--shadow-glow);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-btn);
}

.back-to-top.show {
    display: flex;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background: var(--bg-surface);
        flex-direction: column;
        padding: 80px 20px 20px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        z-index: 999;
        overflow-y: auto;
        gap: 0;
        border-left: 1px solid var(--border);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li a {
        padding: 12px 15px;
        border-bottom: 1px solid var(--border-subtle);
        color: var(--text-primary);
    }

    .nav-menu li a::after {
        display: none;
    }

    .nav-menu li .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
        background: var(--bg-elevated);
        border-radius: 0;
        border: none;
    }

    .nav-menu li:hover .dropdown {
        display: block;
    }

    .donate-btn {
        margin: 15px 0 0 0;
        text-align: center;
    }

    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.6);
        z-index: 998;
        display: none;
        backdrop-filter: blur(4px);
    }

    .menu-overlay.active {
        display: block;
    }

    .hero-slider {
        height: 60vh;
        min-height: 400px;
    }

    .slide-content h1 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 0.95rem;
    }

    .welcome-grid,
    .chairman-grid,
    .contact-grid,
    .service-detail-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .page-banner h1 {
        font-size: 2rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .event-card {
        flex-direction: column;
    }

    .event-card .event-date {
        flex-direction: row;
        gap: 10px;
        padding: 12px 20px;
    }
}

/* ============================================
   TEAM DETAIL PAGE
   ============================================ */
.team-detail {
    padding: 80px 0;
    background: var(--bg-body);
}

.team-detail-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 50px;
    align-items: start;
}

.team-detail-sidebar {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    text-align: center;
    border: 1px solid var(--border-subtle);
}

.team-detail-sidebar .member-photo {
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: top;
}

.team-detail-sidebar .member-meta {
    padding: 25px 20px;
}

.team-detail-sidebar .member-meta h2 {
    font-size: 1.4rem;
    color: var(--text-heading);
    margin-bottom: 5px;
}

.team-detail-sidebar .member-meta .position {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    display: block;
    margin-bottom: 15px;
    text-shadow: 0 0 8px rgba(var(--primary-rgb), 0.2);
}

.team-detail-sidebar .member-social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.team-detail-sidebar .member-social-links a {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: var(--bg-body);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-glow);
}

.team-detail-sidebar .member-social-links a:hover {
    filter: brightness(1.2);
    transform: translateY(-2px);
}

.team-detail-content h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(var(--primary-rgb), 0.2);
}

.team-detail-content p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.8;
}

.team-detail-content .contact-label {
    font-weight: 600;
    color: var(--text-heading);
    margin-top: 20px;
    margin-bottom: 5px;
}

/* ============================================
   EVENT DETAIL PAGE
   ============================================ */
.event-detail {
    padding: 80px 0;
    background: var(--bg-body);
}

.event-detail-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 50px;
    align-items: start;
}

.event-detail-content h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(var(--primary-rgb), 0.2);
}

.event-detail-content p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.8;
}

.event-detail-content .event-featured-image {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    border: 1px solid var(--border-subtle);
}

.event-detail-sidebar {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 30px;
    border: 1px solid var(--border-subtle);
}

.event-detail-sidebar h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-heading);
    border-bottom: 2px solid var(--primary);
    padding-bottom: 10px;
}

.event-detail-sidebar .detail-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.event-detail-sidebar .detail-item i {
    color: var(--primary);
    margin-top: 4px;
    min-width: 18px;
    text-shadow: 0 0 6px rgba(var(--primary-rgb), 0.3);
}

.event-detail-sidebar .detail-item strong {
    color: var(--text-heading);
}

@media (max-width: 768px) {
    .team-detail-grid {
        grid-template-columns: 1fr;
    }

    .team-detail-sidebar {
        max-width: 350px;
        margin: 0 auto;
    }

    .event-detail-grid {
        grid-template-columns: 1fr;
    }

    .event-detail-sidebar {
        order: -1;
    }
}

/* ============================================
   NEON GLOW UTILITIES
   ============================================ */
.glow-text {
    text-shadow: 0 0 10px rgba(var(--primary-rgb), 0.5), 0 0 20px rgba(var(--primary-rgb), 0.3);
}

.glow-border {
    border: 1px solid var(--primary);
    box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.2), inset 0 0 10px rgba(var(--primary-rgb), 0.05);
}

/* Smooth theme transition for all elements */
*, *::before, *::after {
    transition-property: background-color, border-color, color, box-shadow;
    transition-duration: 0.3s;
    transition-timing-function: ease;
}

/* Exclude transform and opacity transitions from global override */
a, .btn, .service-card, .team-card, .event-card, .contact-info-card, .gallery-item img,
.slider-arrows button, .top-bar-right a, .footer-social a, .back-to-top,
.welcome-image img, .team-card .member-image img, .service-card .card-image img {
    transition: var(--transition);
}

/* Animated background decorations */
.neon-bg-decoration {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.03;
    pointer-events: none;
    z-index: -1;
}

.neon-bg-decoration.top-right {
    top: -100px;
    right: -100px;
    background: var(--primary);
}

.neon-bg-decoration.bottom-left {
    bottom: -100px;
    left: -100px;
    background: var(--secondary);
}

/* ============================================
   CMS / AUTH / DYNAMIC DETAIL STYLES
   ============================================ */
code {
    font-family: "Consolas", "Courier New", monospace;
    background: rgba(var(--primary-rgb), 0.12);
    color: var(--primary-light);
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.9em;
}

.btn-small {
    padding: 9px 18px;
    font-size: 0.8rem;
    letter-spacing: 0.4px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.82rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.banner-lead {
    max-width: 720px;
    margin: 18px auto 0;
    color: var(--text-secondary);
}

.centered-actions {
    text-align: center;
    margin-top: 40px;
}

.hero-actions,
.stack-actions,
.detail-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.nav-meta {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-user {
    font-size: 0.9rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

.split-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-body {
    padding-top: 30px;
}

.feature-icon {
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 3rem;
}

.highlight-section {
    background: var(--gradient-surface);
}

.auth-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 28px;
    align-items: start;
}

.auth-shell {
    max-width: 1120px;
}

.auth-card,
.dashboard-panel,
.empty-state {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.auth-card {
    padding: 34px;
}

.auth-card-emphasis {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(var(--primary-rgb), 0.14), transparent 32%),
        linear-gradient(135deg, rgba(var(--primary-rgb), 0.06), rgba(255,255,255,0)),
        var(--bg-card);
}

.auth-card-emphasis::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(120deg, rgba(var(--primary-rgb), 0.12), transparent 26%, transparent 72%, rgba(var(--primary-rgb), 0.08));
    opacity: 0.7;
}

.auth-card-emphasis > * {
    position: relative;
    z-index: 1;
}

.auth-card h2,
.auth-card h3 {
    margin-bottom: 14px;
}

.auth-card p {
    color: var(--text-secondary);
    margin-bottom: 18px;
}

.auth-header {
    max-width: 760px;
    margin-bottom: 26px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.auth-split {
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(280px, 1.05fr);
    gap: 22px;
    align-items: stretch;
}

.auth-form-panel,
.auth-guard {
    background: rgba(9, 14, 25, 0.34);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 24px;
    backdrop-filter: blur(12px);
}

.auth-form-panel {
    box-shadow: var(--shadow);
}

.auth-form-centered {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}

.auth-form-centered .form-group {
    text-align: left;
}

.auth-form-centered .btn {
    display: inline-flex;
    justify-content: center;
    margin: 6px auto 0;
}

.auth-guard {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-guard h3 {
    margin-bottom: 12px;
}

.auth-guard p {
    margin-bottom: 16px;
}

.secure-points {
    display: grid;
    gap: 12px;
    color: var(--text-secondary);
}

.secure-points li {
    position: relative;
    padding-left: 22px;
}

.secure-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 12px rgba(var(--primary-rgb), 0.55);
}

.auth-credentials {
    background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.08) 0%, rgba(0,0,0,0) 100%), var(--bg-card);
}

.credential-item {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.credential-item:last-of-type {
    border-bottom: none;
}

.muted-note {
    margin-top: 18px;
    font-size: 0.92rem;
}

.dashboard-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.dashboard-tab {
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 12px 18px;
    border-radius: 999px;
    cursor: pointer;
}

.dashboard-tab:hover,
.dashboard-tab.active {
    background: var(--gradient-primary);
    color: var(--bg-body);
    box-shadow: var(--shadow-glow);
}

.dashboard-panel {
    padding: 28px;
}

.dashboard-summary {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}

.summary-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 18px;
}

.summary-card span {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-size: 0.88rem;
}

.summary-card strong {
    font-size: 1.35rem;
    color: var(--text-heading);
}

.overview-copy p {
    color: var(--text-secondary);
    margin-top: 14px;
}

.dashboard-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
    gap: 24px;
    align-items: start;
}

.entity-list {
    display: grid;
    gap: 16px;
}

.entity-card {
    display: grid;
    gap: 16px;
    padding: 18px;
    border-radius: 18px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
}

.entity-card-main {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
}

.entity-card-main h4 {
    margin-bottom: 8px;
}

.entity-card-main p {
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.entity-thumb {
    width: 88px;
    height: 88px;
    border-radius: 18px;
    overflow: hidden;
    background: var(--bg-body);
}

.entity-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.entity-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.entity-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(var(--primary-rgb), 0.12);
    color: var(--primary-light);
    font-size: 0.8rem;
}

.entity-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.editor-form {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 22px;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 20px;
}

.panel-header.small h3 {
    font-size: 1.45rem;
}

.panel-header p {
    color: var(--text-secondary);
    margin-top: 6px;
}

.dashboard-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-group select,
.form-group input,
.form-group textarea {
    width: 100%;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
    gap: 34px;
    align-items: start;
}

.detail-media img {
    width: 100%;
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.detail-copy {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 30px;
}

.detail-type {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.8px;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0;
}

.detail-meta span {
    background: rgba(var(--primary-rgb), 0.12);
    color: var(--primary-light);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
}

.detail-lead {
    font-size: 1.08rem;
    color: var(--text-primary);
    margin-bottom: 18px;
}

.detail-copy p {
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.empty-state {
    padding: 42px;
    text-align: center;
}

.empty-state p {
    color: var(--text-secondary);
    max-width: 620px;
    margin: 12px auto 0;
}

.gallery-item {
    border: none;
    background: transparent;
    width: 100%;
    padding: 0;
    cursor: pointer;
    text-align: left;
}

.gallery-overlay {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.gallery-overlay span {
    font-size: 0.92rem;
    font-weight: 500;
}

.lightbox-caption {
    margin-top: 14px;
    color: var(--white);
    text-align: center;
}

@media (max-width: 1200px) {
    .dashboard-summary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .auth-grid,
    .dashboard-layout,
    .detail-layout,
    .split-grid {
        grid-template-columns: 1fr;
    }

    .amount-field-row {
        grid-template-columns: 1fr;
    }

    .auth-split {
        grid-template-columns: 1fr;
    }

    .dashboard-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nav-meta {
        display: none;
    }
}

@media (max-width: 767px) {
    .dashboard-form-grid,
    .dashboard-summary {
        grid-template-columns: 1fr;
    }

    .auth-card,
    .dashboard-panel,
    .detail-copy,
    .editor-form {
        padding: 22px;
    }

    .auth-form-panel,
    .auth-guard {
        padding: 20px;
    }

    .entity-card-main {
        grid-template-columns: 1fr;
    }

    .entity-thumb {
        width: 100%;
        height: 180px;
    }

    .hero-actions,
    .stack-actions,
    .detail-actions,
    .panel-header,
    .credential-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .currency-toggle {
        width: 100%;
    }

    .donation-feedback {
        grid-template-columns: 1fr;
    }
}
