:root {
    --primary: #2ecc71;
    --primary-dark: #1f9f58;
    --primary-glow: rgba(46, 204, 113, 0.35);
    --accent: #fca311;
    --accent-glow: rgba(252, 163, 17, 0.3);
    --dark: #1f2a37;
    --light: #f7f8fa;
    --white: #ffffff;
    --surface: rgba(255, 255, 255, 0.7);
    --text-color: #1b1f24;
    --muted: #6b7280;
    --shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    --shadow-glow: 0 16px 40px rgba(46, 204, 113, 0.15);
    --radius: 14px;
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(255, 255, 255, 0.3);
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: var(--text-color);
    background-color: var(--light);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Better image handling */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.dark-theme {
    --primary: #2ecc71;
    --primary-dark: #34d399;
    --primary-glow: rgba(52, 211, 153, 0.3);
    --accent: #fca311;
    --accent-glow: rgba(252, 163, 17, 0.2);
    --dark: #e5e7eb;
    --light: #0b1220;
    --white: #0f172a;
    --surface: rgba(15, 23, 42, 0.7);
    --text-color: #e2e8f0;
    --muted: #94a3b8;
    --shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    --shadow-glow: 0 16px 40px rgba(52, 211, 153, 0.12);
    --glass-bg: rgba(15, 23, 42, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    background-color: var(--light);
    color: var(--text-color);
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}

.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

.container.wide {
    width: min(1320px, 96%);
}

.muted {
    color: var(--muted);
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.dark-theme .navbar {
    background: rgba(17, 24, 39, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 4%;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.logo img {
    height: 48px;
    width: 48px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.18);
    background: white;
}

.dark-theme .logo img {
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.45);
    background: #0f172a;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.language-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: var(--white);
    box-shadow: var(--shadow);
}

.language-toggle .lang-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--dark);
}

.lang-switch {
    position: relative;
    width: 44px;
    height: 22px;
    display: inline-block;
}

.lang-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.lang-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.12);
    border-radius: 999px;
    transition: all 0.2s ease;
}

.lang-slider:before {
    position: absolute;
    content: '';
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: var(--white);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.lang-switch input:checked + .lang-slider {
    background-color: rgba(46, 204, 113, 0.35);
}

.lang-switch input:checked + .lang-slider:before {
    transform: translateX(22px);
    background-color: var(--primary);
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow);
}

.icon-btn:hover {
    border-color: var(--primary);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 18px;
}

.nav-links a {
    font-weight: 500;
    color: var(--dark);
    transition: color 0.6s ease;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover {
    color: var(--primary-dark);
}

.nav-links a.active {
    color: var(--primary-dark);
    border-bottom: 2px solid var(--primary);
    font-weight: 600;
}

.admin-link {
    color: #dc2626 !important;
}

.nav-links a.admin-link.active {
    color: #dc2626 !important;
    border-bottom: 2px solid #dc2626;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
}

/* Make nav donate button stand out */
.nav-cta.btn-primary {
    padding: 0.75rem 1.4rem;
    font-weight: 700;
    border-radius: 14px;
}

.nav-cta.btn-primary:hover {
    transform: translateY(-1px);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

#google_translate_element {
    position: absolute;
    left: -9999px;
    top: -9999px;
}

.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame,
.goog-te-gadget-icon {
    display: none !important;
}

body {
    top: 0 !important;
}

.goog-logo-link,
.goog-te-gadget,
.goog-te-gadget span,
.goog-te-banner-frame + div {
    display: none !important;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.4rem;
    color: var(--dark);
    cursor: pointer;
}

/* Buttons */
.btn {
    border: 1px solid transparent;
    padding: 0.65rem 1.2rem;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 8px 18px rgba(46, 204, 113, 0.25);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: #ffa136c7;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary-dark);
}

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

.cta-btn {
    border: 1px solid transparent;
    padding: 0.65rem 1.2rem;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    background: var(--primary);
    color: var(--white);
    transition: all 0.2s ease;
}

.cta-btn:hover {
    background: var(--primary-dark);
}

/* Sections */
.page-section {
    min-height: calc(100vh - 80px);
    padding: 40px 0 80px;
    animation: fadeIn 0.4s ease-in-out;
}

.section-header {
    margin-bottom: 30px;
    text-align: left;
}

/* Hero Section */
.hero {
    padding: 120px 5%;
    background: radial-gradient(circle at top left, rgba(46, 204, 113, 0.35), transparent 50%),
        linear-gradient(120deg, #0f172a, #1b4332 50%, #2ecc71);
    background-size: cover;
    background-attachment: fixed;
    color: white;
    border-radius: 0 0 40px 40px;
    position: relative;
    min-height: 560px;
}

.dark-theme .hero {
    color: #e2e8f0;
    background: radial-gradient(circle at top left, rgba(46, 204, 113, 0.2), transparent 50%),
        linear-gradient(120deg, #0b1220, #0f172a 45%, #1f9f58);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    border-radius: 0 0 40px 40px;
    z-index: 1;
    pointer-events: none; /* don't block hero buttons */
}

.dark-theme .hero-overlay {
    background: rgba(15, 23, 42, 0.78);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 520px;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(300px, 1fr) minmax(260px, 480px);
    gap: 40px;
    align-items: stretch;
    min-height: 520px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    pointer-events: none; /* keep image layer from blocking clicks */
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.25);
    border: none;
}

.eyebrow {
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}

.hero h1 {
    font-size: clamp(2.4rem, 3vw, 3.4rem);
    margin: 16px 0;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-badges {
    display: flex;
    gap: 12px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.badge {
    background: #ffa136c7;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.dark-theme .badge {
    background: rgba(255, 161, 54, 0.75);
}

.badge-btn {
    cursor: pointer;
    border: none;
    color: white;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.18);
}

.badge-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.22);
}

/* Stats & Cards */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    padding: 40px 0;
}

/* Tighter columns for About stats to keep three in a row */
.about-stats {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

@media (min-width: 768px) {
    /* Force three columns on tablets/desktop to avoid lone wrapping card */
    .about-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.stats-container {
    margin-top: -30px;
}

.card {
    background: white;
    padding: 26px;
    text-align: center;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dark-theme .card,
.dark-theme .report-card,
.dark-theme .program-card,
.dark-theme .small-container,
.dark-theme .data-table,
.dark-theme .allocation-card,
.dark-theme .chart-card,
.dark-theme .testimonial-card,
.dark-theme .contact-card,
.dark-theme .contact-form,
.dark-theme .receipt,
.dark-theme .gallery-grid .image-card,
.dark-theme .sidebar,
.dark-theme .impact-card {
    background: #0f172a;
    color: var(--text-color);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.dark-theme .data-table th {
    background: #111827;
    color: var(--text-color);
}

.dark-theme .data-table td,
.dark-theme .data-table th,
.dark-theme .list,
.dark-theme p,
.dark-theme h1,
.dark-theme h2,
.dark-theme h3,
.dark-theme h4,
.dark-theme h5 {
    color: var(--text-color);
}

/* Dark theme payment badges */
.dark-theme .method-badge {
    opacity: 0.9;
}

.dark-theme .payment-id {
    background: #1e293b;
    color: #94a3b8;
}

.card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: var(--shadow-glow);
}

.card.highlight {
    text-align: left;
}

.card i { color: var(--primary); margin-bottom: 12px; }

.mission-section {
    padding: 60px 0;
    background: white;
}

.dark-theme .mission-section {
    background: #0b1220;
}

.split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    align-items: center;
}

/* About section top alignment */
#about .split {
    align-items: start;
}

.list {
    list-style: disc;
    padding-left: 18px;
    margin: 12px 0 18px;
}

/* About section spacing tweaks */
#about .card p {
    margin: 8px 0 12px;
}

#about .card h3 {
    margin-bottom: 10px;
}

#about .card .list {
    margin-top: 8px;
}

/* Programs */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.program-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: var(--shadow-glow);
}

.card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.card-content {
    padding: 22px;
}

.card-content h3 {
    margin-bottom: 8px;
}

.card-content p {
    margin: 0;
}

/* Reports */
.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 28px;
}

.report-card {
    background: white;
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow);
}

/* Impact Section Enhancements */
.impact-kpis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin: 24px 0 32px;
}

.impact-card {
    background: white;
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 16px;
    align-items: center;
}

.impact-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(46, 204, 113, 0.15);
    color: var(--primary-dark);
    font-size: 1.1rem;
}

.dark-theme .impact-icon {
    background: rgba(52, 211, 153, 0.18);
}

.impact-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 18px;
}

.metric {
    margin: 16px 0;
}

.metric-label {
    font-weight: 600;
    margin-bottom: 6px;
}

.metric-bar {
    height: 8px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}

.metric-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #2ecc71, #34d399);
    border-radius: 999px;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.image-card {
    height: 200px;
    border-radius: var(--radius);
    display: flex;
    align-items: flex-end;
    padding: 16px;
    color: white;
    font-weight: 600;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.image-card:hover {
    transform: scale(1.05);
}

.image-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0.1));
    z-index: 1;
}

.image-card span {
    position: relative;
    z-index: 2;
}

/* Forms */
.small-container {
    max-width: 640px;
    margin: 40px auto;
    background: white;
    padding: 36px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* Make staff login form sit on a transparent background */
#staff-login .small-container {
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.form-group {
    margin-bottom: 16px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    outline: none;
}

.dark-theme .form-group input,
.dark-theme .form-group select,
.dark-theme .form-group textarea {
    background: #0f172a;
    color: var(--text-color);
    border: 1px solid #1f2937;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(46, 204, 113, 0.12);
}

.donation-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 16px 0 24px;
}

.chip {
    border: 1px solid #e5e7eb;
    background: white;
    border-radius: 999px;
    padding: 8px 14px;
    cursor: pointer;
    font-weight: 600;
}

.dark-theme .chip {
    background: #0f172a;
    border-color: #1f2937;
    color: var(--text-color);
}

.chip:hover {
    border-color: var(--primary);
    color: var(--primary-dark);
}

.chip.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.status-banner {
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 12px;
    font-weight: 600;
}

.status-banner.info { background: #e0f2fe; color: #075985; }
.status-banner.success { background: #dcfce7; color: #166534; }
.status-banner.error { background: #fee2e2; color: #b91c1c; }

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

.pill-option {
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 8px 14px;
    cursor: pointer;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
}

.pill-option input { display: none; }

.pill-option.active {
    border-color: var(--primary);
    color: var(--primary-dark);
    box-shadow: 0 0 0 4px rgba(46, 204, 113, 0.12);
}

.pay-box {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 16px;
    background: #f9fafb;
}

.upi-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.upi-id {
    font-weight: 700;
    font-size: 1.05rem;
}

.upi-qr {
    margin: 12px 0;
    display: flex;
    justify-content: center;
}

.upi-qr img {
    width: 180px;
    max-width: 60%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
    background: white;
    padding: 10px;
}

.btn-sm {
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 0.9rem;
}

.form-inline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}

.receipt {
    border: 2px dashed #1f2937;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
    border-radius: 12px;
    background: #f9fafb;
}

.crypto-note {
    color: var(--muted);
    margin-top: 8px;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.contact-card {
    text-align: left;
}

.contact-form {
    text-align: left;
}

/* Admin Dashboard */
.dashboard-container {
    display: flex;
    min-height: calc(100vh - 80px);
    background: var(--light);
}

.sidebar {
    width: 250px;
    background: var(--dark);
    color: white;
    padding: 24px;
}

.sidebar ul {
    list-style: none;
    margin-top: 20px;
}

.sidebar li {
    padding: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    cursor: pointer;
    transition: background 0.2s;
}

.sidebar li:hover { background: rgba(255,255,255,0.12); }

.content {
    flex: 1;
    padding: 36px;
    overflow-y: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.data-table th, .data-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid #eef2f7;
}

.data-table th {
    background: #e8f8f0;
    color: var(--dark);
    font-weight: 600;
}

.status-approved {
    color: #16a34a;
    font-weight: 600;
}

.status-pending {
    color: #f59e0b;
    font-weight: 600;
}

/* Payment Method Badges */
.method-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: capitalize;
}

.method-upirazorpay,
.method-upi {
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
    color: #0369a1;
}

.method-cardrazorpay,
.method-card,
.method-creditcard {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
}

.method-razorpay {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1e40af;
}

.method-banktransfer,
.method-netbanking {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #065f46;
}

.method-other {
    background: #f1f5f9;
    color: #475569;
}

/* Payment ID styling */
.payment-id {
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    color: #64748b;
    cursor: help;
}

/* ===== AUDIT LOG STYLES ===== */
.audit-header {
    margin-bottom: 20px;
}

.audit-header h2 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.audit-header h2 i {
    color: var(--primary);
}

.audit-filters {
    margin-bottom: 20px;
    padding: 20px;
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    align-items: end;
}

.audit-summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.audit-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-radius: 12px;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.audit-card.credit {
    border-left: 4px solid #22c55e;
}

.audit-card.debit {
    border-left: 4px solid #ef4444;
}

.audit-card.balance {
    border-left: 4px solid #3b82f6;
}

.audit-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.audit-card.credit .audit-card-icon {
    background: #dcfce7;
    color: #22c55e;
}

.audit-card.debit .audit-card-icon {
    background: #fee2e2;
    color: #ef4444;
}

.audit-card.balance .audit-card-icon {
    background: #dbeafe;
    color: #3b82f6;
}

.audit-card h4 {
    margin: 0;
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

.audit-amount {
    margin: 5px 0 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
}

.audit-table .type-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.type-badge.credit {
    background: #dcfce7;
    color: #16a34a;
}

.type-badge.debit {
    background: #fee2e2;
    color: #dc2626;
}

.audit-export {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    justify-content: flex-end;
}

.disbursement-form .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

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

.audit-summary-header h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.transaction-id {
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
}

.category-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    background: #e0f2fe;
    color: #0369a1;
}

.category-badge.education { background: #dbeafe; color: #1e40af; }
.category-badge.nutrition { background: #fef3c7; color: #92400e; }
.category-badge.healthcare { background: #dcfce7; color: #166534; }
.category-badge.shelter { background: #f3e8ff; color: #7c3aed; }
.category-badge.operations { background: #f1f5f9; color: #475569; }

.timestamp {
    font-size: 0.8rem;
    color: #64748b;
}

/* Dark theme audit styles */
.dark-theme .audit-card {
    background: #1e293b;
}

.dark-theme .audit-card h4 {
    color: #94a3b8;
}

.dark-theme .audit-amount {
    color: #f1f5f9;
}

.dark-theme .transaction-id {
    background: #334155;
    color: #94a3b8;
}

.dark-theme .audit-filters {
    background: #1e293b;
}

/* Mobile responsive audit */
@media (max-width: 768px) {
    .filter-row {
        grid-template-columns: 1fr;
    }
    
    .audit-summary-cards {
        grid-template-columns: 1fr;
    }
    
    .disbursement-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .audit-export {
        flex-direction: column;
    }
    
    .audit-summary-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}

.charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.chart-card {
    background: white;
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
}

.chart-card h3 {
    margin-bottom: 12px;
}

.allocation-card {
    margin-top: 10px;
}

.allocation-header {
    margin-bottom: 16px;
}

.allocation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.allocation-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

/* Transparency & Institutions */
.transparency-card {
    margin-top: 28px;
}

.transparency-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.institution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.institution-card {
    background: var(--white);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
}

.inst-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}

.inst-amount {
    font-weight: 700;
    margin-top: 10px;
}

.inst-bar {
    height: 8px;
    background: rgba(46, 204, 113, 0.12);
    border-radius: 999px;
    overflow: hidden;
    margin-top: 8px;
}

.inst-bar span {
    display: block;
    height: 100%;
    background: var(--primary);
}

.pill {
    padding: 4px 10px;
    background: rgba(46, 204, 113, 0.14);
    color: var(--primary-dark);
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
}

.small {
    font-size: 0.9rem;
}

.inst-form .form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    z-index: 1200;
}

.modal {
    background: var(--white);
    border-radius: 14px;
    width: min(560px, 100%);
    box-shadow: var(--shadow);
    padding: 20px;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.modal-body {
    color: var(--text-color);
    line-height: 1.6;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
}

.modal-close {
    background: transparent;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--dark);
}

.flash-highlight {
    animation: flash 1.2s ease;
}

@keyframes flash {
    0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.45); }
    70% { box-shadow: 0 0 0 12px rgba(46, 204, 113, 0); }
    100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

/* Footer */
.site-footer {
    background: #0f172a;
    color: #e2e8f0;
    padding: 56px 0 24px;
    position: relative;
    overflow: hidden;
}

.dark-theme .site-footer {
    background: #0b1220;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(46, 204, 113, 0.12), transparent 35%),
        radial-gradient(circle at 80% 0%, rgba(255, 161, 54, 0.08), transparent 32%);
    pointer-events: none;
}

.footer-top {
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
    align-items: start;
}

.site-footer h3 {
    margin-bottom: 10px;
}

.site-footer h4 {
    margin-bottom: 12px;
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.footer-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.footer-pill {
    padding: 6px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    font-weight: 600;
    font-size: 0.9rem;
}

.site-footer ul {
    list-style: none;
    margin-top: 10px;
}

.site-footer li {
    margin-bottom: 8px;
}

.site-footer a {
    color: #e2e8f0;
    transition: color 0.2s;
}

.site-footer a:hover {
    color: var(--primary);
}

.footer-contact p {
    margin: 6px 0;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-cta {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px;
    border-radius: var(--radius);
}

.footer-cta .btn {
    margin-top: 12px;
}

.dark-theme .footer-cta {
    background: rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.06);
}

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

.socials a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: background 0.2s;
}

.socials a:hover {
    background: var(--primary);
}

.footer-bottom {
    text-align: center;
    margin-top: 24px;
    color: #94a3b8;
    position: relative;
    z-index: 1;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* ============================================ */
/* EVENTS SECTION - Redesigned with Tabs       */
/* ============================================ */

/* Events Hero Banner */
.events-hero {
    background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 50%, #40916c 100%);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    margin-bottom: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.events-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.events-hero::after {
    content: '📅';
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 8rem;
    opacity: 0.1;
}

.events-hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.events-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.15);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.events-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.events-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Events Tabs Navigation */
.events-tabs-nav {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 3px solid #eee;
    padding-bottom: 0;
    flex-wrap: wrap;
}

.events-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    border: none;
    background: transparent;
    color: var(--muted);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 12px 12px 0 0;
}

.events-tab-btn:hover {
    color: var(--primary-dark);
    background: rgba(46, 204, 113, 0.08);
}

.events-tab-btn.active {
    color: var(--primary-dark);
    background: rgba(46, 204, 113, 0.12);
}

.events-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    border-radius: 3px 3px 0 0;
}

.events-tab-btn i {
    font-size: 1rem;
}

/* Tab Content */
.events-tab-content {
    display: none;
    animation: fadeInUp 0.4s ease;
}

.events-tab-content.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Upcoming Events Table Styling */
.events-table {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.events-table thead {
    background: linear-gradient(135deg, #1b4332, #2d6a4f);
}

.events-table thead th {
    color: white;
    padding: 1rem 1.25rem;
    font-weight: 600;
}

.events-table tbody tr:hover {
    background: rgba(46, 204, 113, 0.08);
}

/* Past Events Gallery */
.past-events-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.75rem;
    margin-top: 1.5rem;
}

.past-event-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.05);
}

.past-event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.past-event-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

.past-event-card:hover .past-event-image img {
    transform: scale(1.08);
}

.event-date-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: white;
    border-radius: 12px;
    padding: 0.5rem 0.75rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    min-width: 55px;
}

.event-date-badge .day {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1;
}

.event-date-badge .month {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
}

.past-event-content {
    padding: 1.5rem;
}

.event-category {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.event-category.education {
    background: #e0f2fe;
    color: #0369a1;
}

.event-category.nutrition {
    background: #fef3c7;
    color: #b45309;
}

.event-category.healthcare {
    background: #fce7f3;
    color: #be185d;
}

.event-category.community {
    background: #dcfce7;
    color: #15803d;
}

.past-event-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.past-event-content p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.event-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.event-stats span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--muted);
    font-weight: 500;
}

.event-stats span i {
    color: var(--primary);
}

/* Newsletter Section */
.newsletter-subscribe-banner {
    background: linear-gradient(135deg, #fca311 0%, #ff6b35 100%);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.newsletter-subscribe-banner::before {
    content: '✉️';
    position: absolute;
    right: 3%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 6rem;
    opacity: 0.15;
}

.newsletter-subscribe-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.newsletter-icon {
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
}

.newsletter-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.newsletter-text p {
    opacity: 0.9;
    font-size: 0.95rem;
}

.newsletter-form {
    display: flex;
    gap: 0.75rem;
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    margin-left: auto;
}

.newsletter-form input {
    flex: 1;
    padding: 0.9rem 1.25rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    outline: none;
}

.newsletter-form button {
    white-space: nowrap;
    padding: 0.9rem 1.5rem;
    border-radius: 12px;
}

/* Newsletter Grid */
.newsletter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.75rem;
    margin-top: 1.5rem;
}

.newsletter-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.newsletter-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.newsletter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-bottom: 1px solid #e2e8f0;
}

.newsletter-issue {
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 0.9rem;
}

.newsletter-date {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--muted);
    font-size: 0.85rem;
}

.newsletter-cover {
    position: relative;
    height: 180px;
    overflow: hidden;
}

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

.newsletter-card:hover .newsletter-cover img {
    transform: scale(1.05);
}

.newsletter-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.3));
}

.featured-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #fca311, #ff6b35);
    color: white;
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.newsletter-body {
    padding: 1.25rem;
}

.newsletter-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.6rem;
    line-height: 1.3;
}

.newsletter-body p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.newsletter-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.newsletter-highlights span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(46, 204, 113, 0.1);
    color: var(--primary-dark);
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

.newsletter-footer {
    display: flex;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-top: 1px solid #f1f5f9;
    background: #fafbfc;
}

.btn-read-newsletter,
.btn-download-newsletter {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-read-newsletter {
    background: var(--primary);
    color: white;
    flex: 1;
    justify-content: center;
}

.btn-read-newsletter:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-download-newsletter {
    background: #f1f5f9;
    color: var(--muted);
}

.btn-download-newsletter:hover {
    background: #e2e8f0;
    color: var(--dark);
}

.newsletter-load-more {
    text-align: center;
    margin-top: 2.5rem;
}

/* Dark Theme Adjustments for Events */
.dark-theme .events-hero {
    background: linear-gradient(135deg, #0f2419 0%, #1b4332 50%, #2d6a4f 100%);
}

.dark-theme .past-event-card,
.dark-theme .newsletter-card {
    background: #1e293b;
    border-color: #334155;
}

.dark-theme .event-date-badge {
    background: #0f172a;
}

.dark-theme .event-date-badge .day {
    color: #34d399;
}

.dark-theme .newsletter-header {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border-color: #334155;
}

.dark-theme .newsletter-footer {
    background: #0f172a;
    border-color: #334155;
}

.dark-theme .btn-download-newsletter {
    background: #334155;
    color: #94a3b8;
}

.dark-theme .events-tabs-nav {
    border-color: #334155;
}

/* ============================================ */
/* VOLUNTEER SECTION - Enhanced Design         */
/* ============================================ */

/* Volunteer Hero */
.volunteer-hero {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #c084fc 100%);
    border-radius: 24px;
    padding: 3rem;
    margin-bottom: 2.5rem;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    position: relative;
    overflow: hidden;
}

.volunteer-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 50%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(255,255,255,0.1) 0%, transparent 60%);
    pointer-events: none;
}

.volunteer-hero::after {
    content: '🤝';
    position: absolute;
    right: 3%;
    bottom: 10%;
    font-size: 6rem;
    opacity: 0.1;
}

.volunteer-hero-content {
    flex: 1;
    min-width: 280px;
    position: relative;
    z-index: 1;
}

.volunteer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.volunteer-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.volunteer-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 500px;
}

.volunteer-hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.vol-stat {
    text-align: center;
    background: rgba(255,255,255,0.15);
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    min-width: 100px;
}

.vol-stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.vol-stat-label {
    font-size: 0.8rem;
    opacity: 0.85;
    font-weight: 500;
}

/* Volunteer Content Grid */
.volunteer-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

/* Volunteer Info Section */
.volunteer-info h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.volunteer-info h2 i {
    color: #e11d48;
}

.volunteer-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin: 2rem 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.volunteer-info h3 i {
    color: var(--primary);
}

/* Benefits Cards */
.volunteer-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-card {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.benefit-card:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ede9fe, #ddd6fe);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #7c3aed;
    flex-shrink: 0;
}

.benefit-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.benefit-content p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.5;
}

/* Volunteer Roles */
.volunteer-roles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.role-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: linear-gradient(135deg, #f3e8ff, #ede9fe);
    color: #7c3aed;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: default;
}

.role-tag:hover {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: white;
    transform: translateY(-2px);
}

/* Volunteer Form Container */
.volunteer-form-container {
    position: sticky;
    top: 100px;
}

.volunteer-form-card {
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.form-header {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: white;
    padding: 2rem;
    text-align: center;
}

.form-header-icon {
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.75rem;
}

.form-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.form-header p {
    opacity: 0.9;
    font-size: 0.95rem;
}

.volunteer-form-card form {
    padding: 2rem;
}

.volunteer-form-card .form-group {
    margin-bottom: 1.25rem;
}

.volunteer-form-card .form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.volunteer-form-card .form-group label i {
    color: #7c3aed;
    font-size: 0.85rem;
}

.volunteer-form-card input,
.volunteer-form-card select,
.volunteer-form-card textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
}

.volunteer-form-card input:focus,
.volunteer-form-card select:focus,
.volunteer-form-card textarea:focus {
    outline: none;
    border-color: #a855f7;
    background: white;
    box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.1);
}

.volunteer-form-card textarea {
    resize: vertical;
    min-height: 80px;
}

.btn-volunteer-submit {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-volunteer-submit:hover {
    background: linear-gradient(135deg, #6d28d9, #9333ea);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
}

.form-footer {
    padding: 1rem 2rem 1.5rem;
    text-align: center;
    background: #fafafa;
    border-top: 1px solid #f1f5f9;
}

.form-footer p {
    font-size: 0.85rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-footer i {
    color: var(--primary);
}

/* Volunteer Testimonials */
.volunteer-testimonials {
    margin-top: 2rem;
}

.volunteer-testimonials h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.volunteer-testimonials h3 i {
    color: #7c3aed;
}

.vol-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.vol-testimonial-card {
    background: var(--white);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.vol-testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.vol-testimonial-content {
    margin-bottom: 1.25rem;
}

.vol-testimonial-content p {
    font-style: italic;
    color: var(--muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

.vol-testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.vol-testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ede9fe;
}

.vol-testimonial-author strong {
    display: block;
    color: var(--dark);
    font-size: 0.95rem;
}

.vol-testimonial-author span {
    font-size: 0.8rem;
    color: var(--muted);
}

/* Dark Theme for Volunteer */
.dark-theme .volunteer-hero {
    background: linear-gradient(135deg, #581c87 0%, #7c3aed 50%, #a855f7 100%);
}

.dark-theme .benefit-card,
.dark-theme .vol-testimonial-card {
    background: #1e293b;
    border-color: #334155;
}

.dark-theme .benefit-icon {
    background: linear-gradient(135deg, #4c1d95, #6d28d9);
}

.dark-theme .role-tag {
    background: linear-gradient(135deg, #4c1d95, #581c87);
    color: #e9d5ff;
}

.dark-theme .volunteer-form-card {
    background: #1e293b;
    border-color: #334155;
}

.dark-theme .volunteer-form-card input,
.dark-theme .volunteer-form-card select,
.dark-theme .volunteer-form-card textarea {
    background: #0f172a;
    border-color: #334155;
    color: #e2e8f0;
}

.dark-theme .form-footer {
    background: #0f172a;
    border-color: #334155;
}

/* Responsive for Volunteer */
@media (max-width: 900px) {
    .volunteer-content-grid {
        grid-template-columns: 1fr;
    }
    
    .volunteer-form-container {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .volunteer-hero {
        padding: 2rem 1.5rem;
        flex-direction: column;
        text-align: center;
    }
    
    .volunteer-hero h1 {
        font-size: 1.75rem;
    }
    
    .volunteer-hero::after {
        display: none;
    }
    
    .volunteer-hero-stats {
        justify-content: center;
    }
    
    .vol-stat {
        padding: 1rem;
    }
    
    .vol-stat-number {
        font-size: 1.5rem;
    }
    
    .volunteer-form-card form {
        padding: 1.5rem;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .events-hero {
        padding: 2rem 1.5rem;
    }
    
    .events-hero h1 {
        font-size: 1.75rem;
    }
    
    .events-hero::after {
        display: none;
    }
    
    .events-tabs-nav {
        gap: 0.25rem;
    }
    
    .events-tab-btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .past-events-gallery {
        grid-template-columns: 1fr;
    }
    
    .newsletter-subscribe-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form {
        flex-direction: column;
        margin-left: 0;
        width: 100%;
        max-width: 100%;
    }
    
    .newsletter-grid {
        grid-template-columns: 1fr;
    }
}

/* Stories Section - Professional Tabs */
.stories-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    border-bottom: 2px solid #eee;
    padding-bottom: 0;
    flex-wrap: wrap;
}

.stories-tab {
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    bottom: -2px;
}

.stories-tab:hover {
    color: var(--primary);
    background: rgba(46, 204, 113, 0.05);
}

.stories-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: rgba(46, 204, 113, 0.08);
}

.stories-tab i {
    font-size: 1rem;
}

.stories-tab-content {
    display: none;
    animation: fadeInTab 0.4s ease;
}

.stories-tab-content.active {
    display: block;
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Subsection Headers */
.subsection-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 16px;
    border: 1px solid #eee;
}

.subsection-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.subsection-header h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1.5rem;
    color: #14213d;
}

.subsection-header .muted {
    margin: 0;
    font-size: 0.9rem;
}

/* Accomplishments Grid */
.accomplishments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.accomplishment-card {
    padding: 1.5rem;
    border-radius: 16px;
    border-left: 4px solid var(--primary);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.accomplishment-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.accomplishment-card.featured {
    border-left-width: 5px;
    background: linear-gradient(135deg, #fffbeb, #ffffff);
}

.featured-ribbon {
    position: absolute;
    top: 12px;
    right: -32px;
    background: linear-gradient(135deg, #fca311, #e63946);
    color: white;
    padding: 4px 40px;
    font-size: 0.7rem;
    font-weight: 600;
    transform: rotate(45deg);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.accomplishment-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.student-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    font-weight: bold;
    flex-shrink: 0;
}

.student-info h4 {
    margin: 0;
    color: #14213d;
    font-size: 1.1rem;
}

.batch-tag {
    display: inline-block;
    background: #f1f5f9;
    color: #64748b;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-top: 4px;
}

.achievement-badge {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.achievement-badge i {
    font-size: 1rem;
}

.achievement-badge strong {
    font-size: 0.9rem;
}

.accomplishment-desc {
    font-size: 0.9rem;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

/* Feedback Form Styling */
.feedback-form-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.feedback-form-header i {
    font-size: 1.5rem;
    color: var(--primary);
}

.feedback-form-header h4 {
    margin: 0;
    color: #14213d;
    font-size: 1.2rem;
}

.feedback-form-header .muted {
    margin: 0;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .stories-tabs {
        flex-direction: column;
        border-bottom: none;
        gap: 0.25rem;
    }
    
    .stories-tab {
        border-bottom: none;
        border-left: 3px solid transparent;
        border-radius: 8px;
        margin-bottom: 0;
        bottom: 0;
    }
    
    .stories-tab.active {
        border-bottom: none;
        border-left-color: var(--primary);
    }
    
    .subsection-header {
        flex-direction: column;
        text-align: center;
    }
    
    .accomplishments-grid {
        grid-template-columns: 1fr;
    }
}

.testimonial-card {
    background: white;
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.testimonial-header {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.testimonial-header img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-header h4 {
    margin: 0;
}

.testimonial-card p {
    line-height: 1.8;
    margin-bottom: 12px;
}

.stars {
    color: #f59e0b;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .nav-actions {
        position: absolute;
        top: 70px;
        right: 5%;
        background: white;
        box-shadow: var(--shadow);
        border-radius: 12px;
        padding: 16px;
        display: none;
        flex-direction: column;
        gap: 12px;
        width: 90%;
        max-width: 320px;
        z-index: 1001;
    }

    .dark-theme .nav-actions {
        background: #0f172a;
    }

    .nav-links {
        flex-direction: column;
        gap: 12px;
    }

    .nav-open .nav-actions {
        display: flex;
    }

    /* Mobile menu overlay */
    .nav-open::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    /* Change hamburger to X when open */
    .nav-open .mobile-menu-btn i::before {
        content: "\f00d";
    }

    .mobile-menu-btn { display: block; }
    .hero { 
        padding: 30px 5% 30px;
        background: linear-gradient(135deg, #0f172a 0%, #1b4332 50%, #2ecc71 100%);
    }
    .hero-inner {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 16px;
    }

    /* Hide hero overlay image on mobile, show content properly */
    .hero-overlay {
        display: none;
    }

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

    .hero-image img {
        height: auto;
        max-height: 280px;
        width: 100%;
        object-fit: cover;
    }

    /* Show eyebrow and heading properly on mobile */
    .eyebrow {
        color: #2ecc71;
        background: rgba(255, 255, 255, 0.1);
        padding: 6px 14px;
        border-radius: 20px;
        display: inline-block;
        font-size: 0.7rem;
        font-weight: 600;
    }

    .hero h1 {
        font-size: 1.5rem;
        line-height: 1.35;
        color: white;
        text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    }

    .hero p {
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.95);
        line-height: 1.6;
    }

    /* Light theme mobile: add dark text shadow for better visibility */
    body:not(.dark-theme) .hero .eyebrow {
        text-shadow: 0 1px 3px rgba(0,0,0,0.5), 0 2px 8px rgba(0,0,0,0.4);
    }

    body:not(.dark-theme) .hero h1 {
        text-shadow: 0 2px 4px rgba(0,0,0,0.6), 0 4px 12px rgba(0,0,0,0.5);
    }

    body:not(.dark-theme) .hero p {
        text-shadow: 0 1px 3px rgba(0,0,0,0.5), 0 2px 8px rgba(0,0,0,0.4);
    }

    .split {
        grid-template-columns: 1fr;
    }

    .impact-grid {
        grid-template-columns: 1fr;
    }

    .programs-grid {
        grid-template-columns: 1fr;
    }

    .reports-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .section-header h2 {
        font-size: 1.6rem;
    }
}

.hero-overlay .hero-image {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    transform: scaleX(-1);
}

@media (max-width: 768px) {
    .dashboard-container { flex-direction: column; }
    .sidebar { width: 100%; }

    .container {
        width: 95%;
        padding: 0 10px;
    }

    .hero {
        padding: 25px 5% 25px;
        min-height: auto;
        border-radius: 0 0 24px 24px;
    }

    .hero-inner {
        min-height: auto;
        gap: 14px;
    }

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

    .hero h1 {
        font-size: 1.4rem;
        line-height: 1.35;
        margin: 10px 0;
    }

    .hero p {
        font-size: 0.85rem;
        margin-bottom: 18px;
        line-height: 1.6;
    }

    .hero-actions {
        justify-content: center;
        gap: 10px;
    }

    .hero-badges {
        justify-content: center;
        gap: 8px;
        margin-top: 18px;
    }

    .badge {
        font-size: 0.75rem;
        padding: 6px 12px;
        background: rgba(255, 161, 54, 0.9);
    }

    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .card {
        padding: 20px;
    }

    .impact-kpis {
        grid-template-columns: 1fr;
    }

    .impact-card {
        flex-direction: column;
        text-align: center;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .image-card {
        height: 150px;
    }

    .charts-grid {
        grid-template-columns: 1fr;
    }

    .allocation-grid {
        grid-template-columns: 1fr;
    }

    .institution-grid {
        grid-template-columns: 1fr;
    }

    .small-container {
        margin: 20px auto;
        padding: 24px 20px;
    }

    .form-inline {
        grid-template-columns: 1fr;
    }

    .donation-options {
        justify-content: center;
    }

    .method-pills {
        justify-content: center;
    }

    .upi-row {
        flex-direction: column;
        text-align: center;
    }

    .modal {
        width: 95%;
        padding: 16px;
    }

    .modal-header {
        flex-wrap: wrap;
    }

    .data-table {
        font-size: 0.85rem;
    }

    .data-table th, .data-table td {
        padding: 10px 8px;
    }

    .page-section {
        padding: 30px 0 60px;
    }

    .mission-section {
        padding: 40px 0;
    }

    .stats-container {
        margin-top: -20px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .nav-inner {
        padding: 0.8rem 4%;
    }

    .logo {
        font-size: 1.1rem;
        gap: 8px;
    }

    .logo img {
        height: 36px;
        width: 36px;
    }

    .hero {
        padding: 20px 4% 20px;
    }

    .hero-inner {
        gap: 10px;
    }

    .eyebrow {
        font-size: 0.65rem;
        padding: 5px 12px;
        margin-bottom: 8px;
    }

    .hero h1 {
        font-size: 1.25rem;
        margin: 8px 0;
    }

    .hero p {
        font-size: 0.8rem;
        margin-bottom: 14px;
        line-height: 1.5;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
        padding: 0.65rem 1rem;
        font-size: 0.9rem;
    }

    .hero-badges {
        flex-direction: column;
        align-items: center;
        gap: 6px;
        margin-top: 14px;
    }

    .badge {
        font-size: 0.7rem;
        padding: 5px 10px;
    }

    .card {
        padding: 16px;
    }

    .card h3 {
        font-size: 1.1rem;
    }

    .card i {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .image-card {
        height: 180px;
    }

    .program-card .card-image {
        height: 180px;
    }

    .testimonial-header {
        flex-direction: column;
        text-align: center;
    }

    .testimonial-header img {
        margin: 0 auto;
    }

    .contact-card {
        padding: 20px;
    }

    .form-group input, 
    .form-group select, 
    .form-group textarea {
        padding: 10px;
        font-size: 0.9rem;
    }

    .footer-grid {
        gap: 24px;
    }

    .footer-cta {
        padding: 14px;
    }

    .socials {
        justify-content: center;
    }

    .site-footer {
        padding: 40px 0 20px;
    }

    .nav-cta.btn-primary {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .language-toggle {
        padding: 4px 8px;
    }

    .language-toggle .lang-label {
        font-size: 0.7rem;
    }

    .lang-switch {
        width: 38px;
        height: 20px;
    }

    .lang-slider:before {
        height: 14px;
        width: 14px;
    }

    .lang-switch input:checked + .lang-slider:before {
        transform: translateX(18px);
    }

    .icon-btn {
        width: 36px;
        height: 36px;
    }

    h2 {
        font-size: 1.5rem;
    }

    .impact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .chip {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    .pill-option {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    .receipt {
        padding: 16px;
    }
}

/* Landscape orientation on mobile */
@media (max-width: 900px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 40px 5%;
    }

    .hero-inner {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .nav-actions {
        max-height: 80vh;
        overflow-y: auto;
    }
}

/* ================================= */
/* ADMIN MESSAGING SYSTEM STYLES    */
/* ================================= */
.admin-messages-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 1.5rem;
    min-height: 500px;
}

.admin-msg-sidebar {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid #e2e8f0;
}

.admin-msg-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.admin-msg-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: #475569;
    transition: all 0.2s;
}

.admin-msg-nav-item:hover {
    background: #e2e8f0;
}

.admin-msg-nav-item.active {
    background: var(--primary);
    color: #fff;
}

.admin-msg-badge {
    margin-left: auto;
    background: #ef4444;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    min-width: 22px;
    text-align: center;
}

.admin-msg-content {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.admin-msg-panel {
    min-height: 400px;
}

.admin-msg-panel-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

.admin-msg-panel-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-msg-list {
    max-height: 450px;
    overflow-y: auto;
}

.admin-msg-empty {
    text-align: center;
    padding: 3rem;
    color: #94a3b8;
    font-size: 0.95rem;
}

.admin-msg-item {
    display: flex;
    gap: 12px;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: background 0.15s;
}

.admin-msg-item:hover {
    background: #f8fafc;
}

.admin-msg-item.unread {
    background: #f0fdf4;
    border-left: 3px solid var(--primary);
}

.admin-msg-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.admin-msg-body {
    flex: 1;
    min-width: 0;
}

.admin-msg-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.admin-msg-from {
    font-weight: 600;
    color: #0f172a;
    font-size: 0.9rem;
}

.admin-msg-date {
    font-size: 0.8rem;
    color: #94a3b8;
}

.admin-msg-subject {
    font-weight: 500;
    color: #334155;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.admin-msg-preview {
    color: #64748b;
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Directory Styles */
.admin-dir-section {
    margin-bottom: 1.5rem;
    padding: 1rem;
}

.admin-dir-section h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.admin-dir-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
}

.admin-dir-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #3b82f6;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.admin-dir-info {
    flex: 1;
}

.admin-dir-name {
    font-weight: 600;
    color: #0f172a;
    font-size: 0.9rem;
}

.admin-dir-meta {
    font-size: 0.8rem;
    color: #64748b;
}

@media (max-width: 768px) {
    .admin-messages-layout {
        grid-template-columns: 1fr;
    }
    
    .admin-msg-sidebar {
        flex-direction: row;
        overflow-x: auto;
    }
    
    .admin-msg-nav {
        flex-direction: row;
    }
}

/* Feedback Widget */
.feedback-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.feedback-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4);
    transition: all 0.3s ease;
}

.feedback-toggle:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.5);
}

.feedback-toggle i {
    font-size: 1.1rem;
}

.feedback-form {
    position: absolute;
    bottom: 60px;
    right: 0;
    width: 320px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: none;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

.feedback-form.active {
    display: block;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feedback-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: var(--primary);
    color: white;
}

.feedback-header h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.feedback-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.feedback-close:hover {
    opacity: 1;
}

.feedback-form form {
    padding: 1.25rem;
}

.feedback-group {
    margin-bottom: 1rem;
}

.feedback-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-color);
}

.feedback-group input,
.feedback-group select,
.feedback-group textarea {
    width: 100%;
    padding: 0.65rem 0.9rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.9rem;
    background: var(--light);
    color: var(--text-color);
    transition: border-color 0.2s;
}

.feedback-group input:focus,
.feedback-group select:focus,
.feedback-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.feedback-group textarea {
    resize: vertical;
    min-height: 80px;
}

.rating-stars {
    display: flex;
    gap: 0.25rem;
}

.rating-stars .star {
    cursor: pointer;
    font-size: 1.5rem;
    color: #ddd;
    transition: color 0.2s, transform 0.2s;
}

.rating-stars .star:hover,
.rating-stars .star.active {
    color: #f39c12;
    transform: scale(1.1);
}

.feedback-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

/* Mobile responsive */
@media (max-width: 480px) {
    .feedback-widget {
        bottom: 15px;
        right: 15px;
    }
    
    .feedback-toggle span {
        display: none;
    }
    
    .feedback-toggle {
        padding: 0.85rem;
        border-radius: 50%;
    }
    
    .feedback-form {
        width: calc(100vw - 30px);
        right: 0;
    }
}

/* ===== CHATBOT STYLES ===== */
.chatbot-container {
    position: fixed !important;
    bottom: 100px;
    right: 20px;
    z-index: 99999;
    font-family: 'Inter', sans-serif;
    transform: none !important;
    will-change: transform;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(46, 204, 113, 0.4);
    transition: all 0.3s ease;
    position: relative;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(46, 204, 113, 0.5);
}

.chatbot-toggle.active {
    transform: rotate(360deg);
}

.chatbot-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: white;
    font-size: 0.75rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    height: 520px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: chatbotSlideIn 0.3s ease;
}

.chatbot-window.active {
    display: flex;
}

@keyframes chatbotSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.chatbot-header {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatbot-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.chatbot-header h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.chatbot-status {
    font-size: 0.75rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #7fff7f;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.chatbot-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s;
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #f8fafc;
}

.chat-message {
    display: flex;
    gap: 8px;
    max-width: 85%;
    animation: messageSlide 0.3s ease;
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-message.bot {
    align-self: flex-start;
}

.chat-message.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-content {
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.chat-message.bot .message-content {
    background: white;
    color: #1e293b;
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.chat-message.user .message-content {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    border-bottom-right-radius: 4px;
}

.message-content p {
    margin: 0;
}

.quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.quick-replies button {
    background: #e8f8f0;
    border: 1px solid #2ecc71;
    color: #27ae60;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}

.quick-replies button:hover {
    background: #2ecc71;
    color: white;
}

.chatbot-input {
    display: flex;
    padding: 12px 16px;
    background: white;
    border-top: 1px solid #e2e8f0;
    gap: 10px;
}

.chatbot-input input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
}

.chatbot-input input:focus {
    border-color: #2ecc71;
}

.chatbot-input button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    border: none;
    color: white;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.chatbot-input button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.4);
}

/* Typing indicator */
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: #94a3b8;
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-8px);
    }
}

/* Dark Theme Chatbot */
.dark-theme .chatbot-window {
    background: #1e293b;
}

.dark-theme .chatbot-messages {
    background: #0f172a;
}

.dark-theme .chat-message.bot .message-content {
    background: #334155;
    color: #f1f5f9;
}

.dark-theme .chatbot-input {
    background: #1e293b;
    border-top-color: #334155;
}

.dark-theme .chatbot-input input {
    background: #334155;
    border-color: #475569;
    color: #f1f5f9;
}

.dark-theme .chatbot-input input::placeholder {
    color: #94a3b8;
}

.dark-theme .quick-replies button {
    background: #334155;
    border-color: #2ecc71;
    color: #2ecc71;
}

.dark-theme .quick-replies button:hover {
    background: #2ecc71;
    color: white;
}

/* Mobile Responsive Chatbot */
@media (max-width: 480px) {
    .chatbot-container {
        bottom: 90px;
        right: 15px;
    }

    .chatbot-toggle {
        width: 54px;
        height: 54px;
        font-size: 1.3rem;
    }

    .chatbot-window {
        width: calc(100vw - 30px);
        height: 60vh;
        max-height: 450px;
        right: 0;
        bottom: 70px;
    }

    .chatbot-header {
        padding: 14px 16px;
    }

    .chatbot-avatar {
        width: 36px;
        height: 36px;
    }

    .message-content {
        padding: 10px 14px;
        font-size: 0.85rem;
    }

    .quick-replies button {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
}
/* ============================================
   TASK ASSIGNMENT & SHIFT MANAGEMENT STYLES
   ============================================ */

/* Task List Styles */
.tasks-list {
    max-height: 500px;
    overflow-y: auto;
}

.task-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #eee;
    transition: background 0.2s ease;
}

.task-item:last-child {
    border-bottom: none;
}

.task-item:hover {
    background: #f8f9fa;
}

.task-priority-indicator {
    width: 4px;
    height: 100%;
    min-height: 60px;
    border-radius: 4px;
    flex-shrink: 0;
}

.task-priority-low { background: #2ecc71; }
.task-priority-medium { background: #f39c12; }
.task-priority-high { background: #e74c3c; }
.task-priority-urgent { background: #9b59b6; animation: urgentPulse 1s infinite; }

@keyframes urgentPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.task-content {
    flex: 1;
}

.task-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.task-title {
    font-weight: 600;
    color: #14213d;
    font-size: 1rem;
    margin: 0;
}

.task-meta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.task-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.task-badge-assignee {
    background: #e3f2fd;
    color: #1565c0;
}

.task-badge-due {
    background: #fff3e0;
    color: #e65100;
}

.task-badge-priority {
    background: #fce4ec;
    color: #c2185b;
}

.task-description {
    color: #666;
    font-size: 0.9rem;
    margin: 0.5rem 0 0;
    line-height: 1.5;
}

.task-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.task-actions button {
    padding: 0.4rem 0.6rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.2s ease;
}

.task-btn-complete {
    background: #e8f5e9;
    color: #2e7d32;
}

.task-btn-complete:hover {
    background: #2ecc71;
    color: white;
}

.task-btn-delete {
    background: #ffebee;
    color: #c62828;
}

.task-btn-delete:hover {
    background: #e74c3c;
    color: white;
}

/* Shift Management Styles */
.shifts-grid {
    display: grid;
    gap: 1rem;
}

.shift-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border: 1px solid #eee;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.shift-item:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.shift-date-box {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.shift-date-day {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.shift-date-month {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.shift-details {
    flex: 1;
}

.shift-assignee {
    font-weight: 600;
    color: #14213d;
    font-size: 1rem;
    margin: 0 0 0.25rem;
}

.shift-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #555;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.shift-time i {
    color: #2ecc71;
}

.shift-info {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.shift-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
}

.shift-badge-type {
    background: #e8f5e9;
    color: #2e7d32;
}

.shift-badge-location {
    background: #e3f2fd;
    color: #1565c0;
}

.shift-actions {
    display: flex;
    gap: 0.5rem;
}

.shift-btn-delete {
    padding: 0.5rem;
    border: none;
    background: #ffebee;
    color: #c62828;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.shift-btn-delete:hover {
    background: #e74c3c;
    color: white;
}

/* Shift Type Colors */
.shift-type-morning { border-left: 4px solid #f39c12; }
.shift-type-afternoon { border-left: 4px solid #e67e22; }
.shift-type-evening { border-left: 4px solid #9b59b6; }
.shift-type-weekend { border-left: 4px solid #3498db; }
.shift-type-event { border-left: 4px solid #e74c3c; }
.shift-type-emergency { border-left: 4px solid #c0392b; }
.shift-type-regular { border-left: 4px solid #2ecc71; }

/* Week Navigation */
.shift-week-nav {
    display: flex;
    align-items: center;
}

.btn-sm {
    padding: 0.4rem 0.6rem;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .task-item {
        flex-direction: column;
    }
    
    .task-priority-indicator {
        width: 100%;
        height: 4px;
        min-height: auto;
    }
    
    .task-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .shift-item {
        flex-direction: column;
        text-align: center;
    }
    
    .shift-info {
        justify-content: center;
    }
}

/* ===================================
   CONTACT SECTION - ENHANCED STYLES
   =================================== */

/* Contact Hero */
.contact-hero {
    background: linear-gradient(135deg, #2E7D32 0%, #1B5E20 100%);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    margin-bottom: 2.5rem;
}

.contact-hero-content {
    position: relative;
    z-index: 1;
}

.contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.15);
    color: #fff;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.contact-hero h1 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.contact-hero p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Quick Contact Cards */
.contact-quick-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.quick-contact-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.quick-contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    border-color: #4CAF50;
}

.quick-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.4rem;
    color: #fff;
}

.quick-icon.phone-icon {
    background: #4CAF50;
}

.quick-icon.email-icon {
    background: #2196F3;
}

.quick-icon.location-icon {
    background: #FF7043;
}

.quick-icon.social-icon {
    background: #7E57C2;
}

.quick-contact-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.4rem;
}

.quick-contact-card p {
    color: #555;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.quick-contact-card .availability {
    font-size: 0.8rem;
    color: #888;
    display: block;
}

.contact-socials {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.contact-socials a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.85rem;
}

.contact-socials a:hover {
    background: #4CAF50;
    color: #fff;
}

/* Contact Main Grid */
.contact-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Office Details Card */
.office-details-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.office-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.office-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
}

.office-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.office-status {
    font-size: 0.8rem;
    color: #4CAF50;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.office-status i {
    font-size: 0.5rem;
}

.office-info-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.office-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.office-info-item:hover {
    background: #e8f5e9;
}

.office-info-item > i {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #4CAF50;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.office-info-item div {
    flex: 1;
}

.office-info-item strong {
    display: block;
    color: #333;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.office-info-item p {
    color: #555;
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
}

.office-info-item .secondary {
    color: #888;
    font-size: 0.8rem;
}

/* Contact Map Card */
.contact-map-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.map-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
    font-weight: 600;
    color: #333;
}

.map-header i {
    color: #4CAF50;
}

.map-container {
    padding: 0.5rem;
}

.map-container iframe {
    border-radius: 8px;
}

.map-directions-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem;
    background: #4CAF50;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
}

.map-directions-btn:hover {
    background: #388E3C;
}

/* Contact Form Card */
.contact-form-column {
    display: flex;
    flex-direction: column;
}

.contact-form-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.75rem;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.form-card-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #eee;
}

.form-card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #fff;
    font-size: 1.4rem;
}

.form-card-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 0.3rem;
}

.form-card-header p {
    color: #777;
    font-size: 0.9rem;
    margin: 0;
}

.enhanced-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}

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

.enhanced-contact-form .form-group {
    margin-bottom: 0;
}

.enhanced-contact-form label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
    color: #444;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.enhanced-contact-form label i {
    color: #4CAF50;
    font-size: 0.85rem;
}

.enhanced-contact-form input,
.enhanced-contact-form select,
.enhanced-contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    background: #fafafa;
    color: #333;
    transition: all 0.3s ease;
}

.enhanced-contact-form input::placeholder,
.enhanced-contact-form textarea::placeholder {
    color: #aaa;
}

.enhanced-contact-form input:focus,
.enhanced-contact-form select:focus,
.enhanced-contact-form textarea:focus {
    outline: none;
    border-color: #4CAF50;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.15);
}

.enhanced-contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.enhanced-contact-form select {
    cursor: pointer;
}

.btn-contact-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.5rem;
    background: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.btn-contact-submit:hover {
    background: #388E3C;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.35);
}

.form-card-footer {
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.form-card-footer p {
    color: #888;
    font-size: 0.8rem;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.form-card-footer i {
    color: #4CAF50;
}

/* Contact FAQ Section */
.contact-faq-section {
    margin-top: 1rem;
}

.contact-faq-section > h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.contact-faq-section > h3 i {
    color: #4CAF50;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.faq-card {
    background: #fff;
    border-radius: 10px;
    padding: 1.25rem;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.faq-card:hover {
    border-color: #4CAF50;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.faq-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.faq-card h4 i {
    color: #4CAF50;
    font-size: 1rem;
}

.faq-card p {
    color: #666;
    line-height: 1.5;
    font-size: 0.9rem;
    margin: 0;
}

/* Dark Mode for Contact Section */
[data-theme="dark"] .contact-hero {
    background: linear-gradient(135deg, #1B5E20 0%, #0d3010 100%);
}

[data-theme="dark"] .quick-contact-card,
[data-theme="dark"] .office-details-card,
[data-theme="dark"] .contact-map-card,
[data-theme="dark"] .contact-form-card,
[data-theme="dark"] .faq-card {
    background: #1e1e1e;
    border-color: #333;
}

[data-theme="dark"] .quick-contact-card h4,
[data-theme="dark"] .office-header h3,
[data-theme="dark"] .form-card-header h3,
[data-theme="dark"] .contact-faq-section > h3,
[data-theme="dark"] .faq-card h4 {
    color: #e0e0e0;
}

[data-theme="dark"] .quick-contact-card p,
[data-theme="dark"] .office-info-item p,
[data-theme="dark"] .faq-card p {
    color: #bbb;
}

[data-theme="dark"] .quick-contact-card .availability,
[data-theme="dark"] .office-info-item .secondary,
[data-theme="dark"] .form-card-header p,
[data-theme="dark"] .form-card-footer p {
    color: #888;
}

[data-theme="dark"] .office-info-item,
[data-theme="dark"] .map-header {
    background: #2a2a2a;
}

[data-theme="dark"] .office-info-item:hover {
    background: #2E7D32;
}

[data-theme="dark"] .contact-socials a {
    background: #2a2a2a;
    color: #ccc;
}

[data-theme="dark"] .enhanced-contact-form input,
[data-theme="dark"] .enhanced-contact-form select,
[data-theme="dark"] .enhanced-contact-form textarea {
    background: #2a2a2a;
    border-color: #444;
    color: #e0e0e0;
}

[data-theme="dark"] .enhanced-contact-form input::placeholder,
[data-theme="dark"] .enhanced-contact-form textarea::placeholder {
    color: #777;
}

[data-theme="dark"] .enhanced-contact-form label {
    color: #ccc;
}

[data-theme="dark"] .office-info-item strong {
    color: #e0e0e0;
}

[data-theme="dark"] .map-header {
    color: #e0e0e0;
}

/* Contact Section Responsive */
@media (max-width: 992px) {
    .contact-quick-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-main-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-hero h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 2rem 1.5rem;
    }
    
    .contact-hero h1 {
        font-size: 1.6rem;
    }
    
    .contact-hero p {
        font-size: 1rem;
    }
    
    .contact-quick-cards {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .enhanced-contact-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-card,
    .office-details-card {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .contact-hero h1 {
        font-size: 1.4rem;
    }
    
    .contact-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.9rem;
    }
    
    .contact-quick-cards {
        grid-template-columns: 1fr;
    }
    
    .quick-icon {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }
    
    .faq-card {
        padding: 1rem;
    }
    
    .contact-faq-section > h3 {
        font-size: 1.25rem;
    }
}

.form-checkbox label {
    font-size: 0.9rem;
    color: var(--muted-color);
}

.btn-submit-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-submit-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.4);
}

.btn-submit-contact i {
    font-size: 1.2rem;
}

/* Contact FAQ Section */
.contact-faq-section {
    margin-top: 3rem;
}

.contact-faq-section h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 2rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.faq-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 1.75rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.faq-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.faq-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.faq-card h4 i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.faq-card p {
    color: var(--muted-color);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Dark Mode Adjustments for Contact Section */
[data-theme="dark"] .contact-hero {
    background: linear-gradient(135deg, #1a5c3a 0%, #0d2d1d 100%);
}

[data-theme="dark"] .map-placeholder {
    background: linear-gradient(135deg, #1a3a2a, #0d1f14);
}

[data-theme="dark"] .quick-contact-card,
[data-theme="dark"] .office-details-card,
[data-theme="dark"] .contact-map-card,
[data-theme="dark"] .contact-form-card,
[data-theme="dark"] .faq-card {
    background: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="dark"] .office-info-item {
    background: rgba(255,255,255,0.05);
}

[data-theme="dark"] .quick-contact-card .social-links a {
    background: rgba(255,255,255,0.1);
}

/* Contact Section Responsive */
@media (max-width: 992px) {
    .contact-quick-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-main-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-hero h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 3rem 1.5rem;
    }
    
    .contact-hero h1 {
        font-size: 1.8rem;
    }
    
    .contact-hero p {
        font-size: 1rem;
    }
    
    .contact-quick-cards {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-card {
        padding: 1.5rem;
    }
    
    .office-details-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .contact-hero h1 {
        font-size: 1.5rem;
    }
    
    .contact-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }
    
    .quick-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .faq-card {
        padding: 1.25rem;
    }
    
    .contact-faq-section h3 {
        font-size: 1.5rem;
    }
}

/* ================================================================
   PREMIUM UI ENHANCEMENTS
   ================================================================ */

/* --- Scroll Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--transition-smooth),
                transform 0.7s var(--transition-smooth);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s var(--transition-smooth),
                transform 0.7s var(--transition-smooth);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s var(--transition-smooth),
                transform 0.7s var(--transition-smooth);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered children animation */
.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s var(--transition-smooth),
                transform 0.5s var(--transition-smooth);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.15s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.25s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }

/* --- Skeleton Loading --- */
.skeleton {
    background: linear-gradient(90deg,
        #e5e7eb 25%,
        #f3f4f6 50%,
        #e5e7eb 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
    border-radius: var(--radius);
}

.dark-theme .skeleton {
    background: linear-gradient(90deg,
        #1e293b 25%,
        #334155 50%,
        #1e293b 75%
    );
    background-size: 200% 100%;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-text {
    height: 14px;
    margin-bottom: 10px;
    width: 80%;
}

.skeleton-title {
    height: 24px;
    margin-bottom: 14px;
    width: 60%;
}

.skeleton-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.skeleton-card {
    height: 200px;
    width: 100%;
}

/* --- Glassmorphism Utilities --- */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(200%);
    -webkit-backdrop-filter: blur(20px) saturate(200%);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s var(--transition-smooth),
                box-shadow 0.4s var(--transition-smooth);
}

.glass-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: var(--shadow-glow);
}

/* --- Enhanced Button Styles --- */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:active::after {
    width: 300px;
    height: 300px;
}

.btn-glow {
    box-shadow: 0 0 20px var(--primary-glow), 0 8px 18px rgba(46, 204, 113, 0.25);
    transition: box-shadow 0.3s var(--transition-smooth);
}

.btn-glow:hover {
    box-shadow: 0 0 30px var(--primary-glow), 0 12px 28px rgba(46, 204, 113, 0.35);
}

/* --- Enhanced Form Inputs --- */
.form-control:focus,
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px var(--primary-glow) !important;
    transition: border-color 0.3s var(--transition-smooth),
                box-shadow 0.3s var(--transition-smooth);
}

/* --- Floating Labels Effect --- */
.float-label {
    position: relative;
}

.float-label label {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    font-size: 0.95rem;
    color: var(--muted);
    pointer-events: none;
    transition: all 0.3s var(--transition-smooth);
    background: transparent;
    padding: 0 4px;
}

.float-label input:focus ~ label,
.float-label input:not(:placeholder-shown) ~ label {
    top: -8px;
    left: 10px;
    font-size: 0.75rem;
    color: var(--primary-dark);
    background: var(--white);
}

/* --- Loading Spinner --- */
.spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(46, 204, 113, 0.2);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* --- Tooltip Styles --- */
[data-tooltip] {
    position: relative;
}

[data-tooltip]::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    background: var(--dark);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s var(--transition-smooth);
    z-index: 100;
}

[data-tooltip]:hover::before {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

/* --- Enhanced card borders with gradient --- */
.gradient-border {
    position: relative;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
}

.gradient-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
    background-size: 200% auto;
    animation: gradientShift 3s linear infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* --- Smooth page transitions --- */
.page-section {
    animation: fadeInSection 0.5s var(--transition-smooth);
}

@keyframes fadeInSection {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Improved mobile hamburger animation --- */
.mobile-menu-btn.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--dark);
    margin: 5px 0;
    border-radius: 2px;
    transition: all 0.3s var(--transition-smooth);
}

/* --- Smooth scroll progress indicator --- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    z-index: 9999;
    transition: width 0.1s linear;
}

/* --- Badge pulse animation --- */
.badge-pulse {
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 var(--primary-glow); }
    50% { box-shadow: 0 0 0 8px transparent; }
}

/* --- Card shimmer overlay on hover --- */
.card-shimmer {
    position: relative;
    overflow: hidden;
}

.card-shimmer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255, 255, 255, 0.05) 50%,
        transparent 100%
    );
    transform: rotate(30deg);
    transition: left 0.6s var(--transition-smooth);
    pointer-events: none;
}

.card-shimmer:hover::after {
    left: 100%;
}