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

:root {
    --primary-color: #E86100;
    --secondary-color: #FFB74D;
    --accent-color: #FB8C00;
    --dark-color: #1E293B;
    --light-color: #FAFAFA;
    --white: #FFFFFF;
    --success: #10B981;
    --danger: #EF4444;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 35px rgba(0, 0, 0, 0.08);

    /* Rich Sectional Colors */
    --theme-hero-1: #E86100;
    --theme-hero-2: #FF8C00;
    --theme-about-1: #1D4ED8;
    --theme-about-2: #3B82F6;
    --theme-events-1: #6D28D9;
    --theme-events-2: #8B5CF6;
    --theme-volunteers-1: #059669;
    --theme-volunteers-2: #10B981;
    --theme-admin-primary: #E11D48;
    --theme-admin-dark: #1E293B;
    --theme-vol-primary: #2563EB;
    --theme-vol-accent: #F97316;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ==================== NAVIGATION ==================== */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo i {
    font-size: 2rem;
    margin-right: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
}

.nav-menu a {
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

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

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

.btn-login {
    background: var(--primary-color) !important;
    color: var(--white) !important;
    padding: 10px 25px !important;
    border-radius: 25px;
}

.btn-login:hover {
    background: var(--accent-color) !important;
    transform: translateY(-2px);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    margin: 3px 0;
    transition: all 0.3s ease;
}

/* ==================== HERO SECTION ==================== */
.hero {
    position: relative;
    height: 90vh;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: pulse 15s ease-in-out infinite;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

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

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.2s both;
}

/* Countdown Timer */
.countdown {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin: 40px 0;
    animation: fadeInUp 1s ease 0.4s both;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px 30px;
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.countdown-value {
    display: block;
    font-size: 3rem;
    font-weight: 700;
}

.countdown-label {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    animation: fadeInUp 1s ease 0.6s both;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg); border-radius: 16px;
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

/* ==================== STATS SECTION ==================== */
.stats {
    padding: 80px 0;
    background: var(--light-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stat-card {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg); border-radius: 16px;
}

.stat-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 10px 0;
}

.stat-label {
    color: #7F8C8D;
    font-size: 1rem;
}

/* ==================== SECTION HEADER ==================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.divider {
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 0 auto;
    border-radius: 2px;
}

/* ==================== ABOUT PREVIEW ==================== */
.about-preview {
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.about-text .btn {
    margin-top: 20px;
}

.about-image svg {
    width: 100%;
    height: auto;
    box-shadow: var(--shadow-lg); border-radius: 16px;
}

/* ==================== EVENTS SECTION ==================== */
.events {
    padding: 80px 0;
    background: var(--light-color);
}

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

.event-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 20px;
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg); border-radius: 16px;
}

.event-date {
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 20px;
    border-radius: 10px;
    text-align: center;
    min-width: 80px;
}

.event-date .day {
    display: block;
    font-size: 2rem;
    font-weight: 700;
}

.event-date .month {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.event-content h3 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

.event-content p {
    color: #777;
    margin: 5px 0;
    font-size: 0.95rem;
}

.event-content i {
    color: var(--primary-color);
    margin-right: 5px;
}

/* ==================== GALLERY PREVIEW ==================== */
.gallery-preview {
    padding: 80px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); /* Optimally sizes for 3+ on desktop, 2-3 on mobile */
    gap: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--shadow);
    cursor: pointer;
    aspect-ratio: 1 / 1; /* Force perfect squares */
}

.gallery-item img, .gallery-item svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img, .gallery-item:hover svg {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px;
    color: var(--white);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.gallery-overlay span {
    font-weight: 600;
    font-size: 1.1rem;
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-col p {
    color: #BDC3C7;
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin: 10px 0;
}

.footer-col ul li a {
    color: #BDC3C7;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

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

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #BDC3C7;
    margin: 15px 0;
}

.contact-info i {
    color: var(--primary-color);
    width: 20px;
}

.newsletter-form {
    display: flex;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 25px 0 0 25px;
    outline: none;
}

.newsletter-form button {
    padding: 12px 20px;
    background: var(--primary-color);
    border: none;
    border-radius: 0 25px 25px 0;
    color: var(--white);
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: #BDC3C7;
}

/* ==================== UTILITY CLASSES ==================== */
.text-center { text-align: center; }

/* ==================== TOUCH & IOS FIXES ==================== */
a, button, .btn {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
/* Prevent iOS auto-zoom on input focus */
input[type="text"], input[type="email"], input[type="password"],
input[type="number"], input[type="tel"], input[type="search"],
select, textarea {
    font-size: max(16px, 1rem);
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ==================== RESPONSIVE — Tablet landscape ≤968px ==================== */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;           /* clears sticky navbar height */
        flex-direction: column;
        background: var(--white);
        width: 100%;
        height: calc(100vh - 60px);
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 8px 32px rgba(0,0,0,0.3);
        padding: 28px 0;
        gap: 8px;
        z-index: 99999;      /* must beat any stacking context, incl. backdrop-filter */
        overflow-y: auto;
    }
    .nav-menu.active  { left: 0; }
    .mobile-toggle    { display: flex; }
    .hero-title       { font-size: 2.5rem; }
    .hero-subtitle    { font-size: 1.2rem; }
    .countdown        { gap: 15px; flex-wrap: wrap; }
    .countdown-item   { padding: 15px 20px; }
    .countdown-value  { font-size: 2rem; }
    .hero-buttons     { flex-direction: column; align-items: center; }
    .about-content    { grid-template-columns: 1fr; }
}

/* ==================== RESPONSIVE — Tablet portrait ≤768px ==================== */
@media (max-width: 768px) {
    .hero             { height: 75vh; min-height: 520px; }
    .logo span        { font-size: 0.95rem; }
    .section-header h2{ font-size: 2rem; }
    .section-header   { margin-bottom: 40px; }
    .stats, .about-preview, .events, .gallery-preview { padding: 50px 0; }
    .stats-grid       { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .stat-card        { padding: 25px; }
    .stat-number      { font-size: 2.2rem; }
    .events-grid      { grid-template-columns: 1fr; }
    .gallery-grid     { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
    .gallery-item svg, .gallery-item img { height: 100%; }
    .footer-grid      { grid-template-columns: 1fr 1fr; gap: 24px; }
}

/* ==================== RESPONSIVE — Mobile ≤576px ==================== */
@media (max-width: 576px) {
    .container        { padding: 0 15px; }
    .nav-wrapper      { padding: 12px 0; }
    .logo i           { font-size: 1.5rem; margin-right: 7px; }
    .logo span        { font-size: 0.82rem; max-width: 175px;
                        white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

    .hero             { height: auto; min-height: 85vh; padding: 30px 0 44px; }
    .hero-title       { font-size: 1.9rem; margin-bottom: 10px; }
    .hero-subtitle    { font-size: 0.95rem; margin-bottom: 20px; }
    .countdown        { gap: 8px; margin: 18px 0; }
    .countdown-item   { padding: 10px 12px; border-radius: 10px; }
    .countdown-value  { font-size: 1.5rem; }
    .countdown-label  { font-size: 0.72rem; }
    .hero-buttons     { margin-top: 20px; gap: 12px; }
    .btn              { padding: 13px 26px; font-size: 0.9rem;
                        width: 100%; max-width: 260px; justify-content: center; }

    .stats, .about-preview, .events, .gallery-preview { padding: 36px 0; }
    .stats-grid       { grid-template-columns: 1fr 1fr; gap: 12px; }
    .stat-card        { padding: 18px 12px; }
    .stat-number      { font-size: 1.7rem; }
    .stat-card i      { font-size: 1.7rem; margin-bottom: 10px; }
    .stat-label       { font-size: 0.85rem; }

    .section-header h2{ font-size: 1.6rem; }
    .section-header   { margin-bottom: 28px; }
    .about-text p     { font-size: 0.95rem; }

    .event-card       { flex-direction: column; gap: 12px; padding: 18px; }
    .event-date       { display: flex; align-items: center; gap: 10px;
                        width: fit-content; padding: 8px 14px; border-radius: 8px; }
    .event-date .day  { font-size: 1.3rem; }
    .event-date .month{ font-size: 0.82rem; }
    .event-content h3 { font-size: 1rem; }

    .gallery-grid     { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; }
    .gallery-item     { border-radius: 8px; }
    .gallery-item svg, .gallery-item img { height: 100%; }
    .gallery-overlay  { transform: translateY(0); background: linear-gradient(to top, rgba(0,0,0,0.7), transparent); }

    .footer           { padding: 36px 0 16px; }
    .footer-grid      { grid-template-columns: 1fr; gap: 22px; margin-bottom: 20px; }
    .footer-col h3    { margin-bottom: 12px; }
    .footer-bottom p  { font-size: 0.82rem; }
}

/* ==================== RESPONSIVE — Very small ≤380px ==================== */
@media (max-width: 380px) {
    .hero-title       { font-size: 1.6rem; }
    .countdown        { gap: 6px; }
    .countdown-item   { padding: 9px 10px; }
    .countdown-value  { font-size: 1.3rem; }
    .stats-grid       { gap: 8px; }
    .stat-card        { padding: 14px 10px; }
    .btn              { padding: 12px 20px; font-size: 0.88rem; }
    .logo span        { max-width: 140px; font-size: 0.78rem; }
    .gallery-grid     { grid-template-columns: repeat(2, 1fr); gap: 6px; }
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .hero { height: 70vh; }
    .logo span { font-size: 1rem; }
    .section-header h2 { font-size: 2rem; }
    .stats { padding: 40px 0; }
}

/* --- Theme Classes --- */
.theme-hero { --primary-color: var(--theme-hero-1); --accent-color: var(--theme-hero-2); }
.theme-about { --primary-color: var(--theme-about-1); --accent-color: var(--theme-about-2); }
.theme-events { --primary-color: var(--theme-events-1); --accent-color: var(--theme-events-2); }
.theme-volunteers { --primary-color: var(--theme-volunteers-1); --accent-color: var(--theme-volunteers-2); }

.bg-gradient-hero { background: linear-gradient(135deg, var(--theme-hero-1), var(--theme-hero-2)); }
.bg-gradient-about { background: linear-gradient(135deg, var(--theme-about-1), var(--theme-about-2)); }
.bg-gradient-events { background: linear-gradient(135deg, var(--theme-events-1), var(--theme-events-2)); }
.bg-gradient-volunteers { background: linear-gradient(135deg, var(--theme-volunteers-1), var(--theme-volunteers-2)); }

/* ==================== DEVELOPERS FOOTER LINK ==================== */
.dev-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: linear-gradient(135deg, #E86100, #B91C1C);
    color: #fff !important;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    margin-top: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(185,28,28,0.3);
}
.dev-footer-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(185,28,28,0.45);
    color: #fff !important;
}

/* ==================== T-SHIRT SHOWCASE SECTION ==================== */
.tshirt-showcase { padding: 80px 0; background: var(--bg-color); }
.tshirt-showcase .section-header h2 { font-family: 'Cinzel', serif; color: var(--primary-color); font-size: 2.2rem; margin-bottom: 5px; }
.tshirt-showcase .divider { width: 60px; height: 3px; background: var(--secondary-color); margin: 0 auto 20px; }
.tshirt-photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.tshirt-photo-item { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 3/4; background: #f8f9fa; border: 2px dashed #ddd; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 6px rgba(0,0,0,0.05); }
.tshirt-photo-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tshirt-photo-placeholder { font-size: 4rem; color: #ccc; font-weight: 300; }
@media (max-width: 992px) { .tshirt-photo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .tshirt-photo-grid { grid-template-columns: 1fr; max-width: 300px; margin: 40px auto 0; } }
/* ---- FOOTER DEVELOPER PROFILE ---- */




.footer-dev-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: -2px;
    line-height: 1.2;
    font-family: 'Cinzel', serif;
}
.footer-dev-position {
    font-size: 0.95rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-top: 0;
}

.footer-dev-profile {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 20px;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
    padding: 20px;
    border-radius: 16px;
    margin: 20px auto;
    max-width: 450px;
    border: 1px solid rgba(217, 119, 6, 0.2);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}
.footer-dev-profile:hover {
    background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    border-color: rgba(217, 119, 6, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}
.footer-dev-photo {
    width: 140px;
    height: 140px;
    border-radius: 16px;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    flex-shrink: 0;
}
.footer-dev-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 6px;
}
.footer-dev-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
    letter-spacing: 0.5px;
}
.footer-dev-position {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}
@media (max-width: 600px) {
    .footer-dev-profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 24px 20px;
    }
    .footer-dev-info {
        align-items: center;
        text-align: center;
    }
}

/* --- NOTIFICATION DROPDOWN UI --- */
.notification-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
}
.notification-container i.fa-bell {
    font-size: 1.4rem;
    color: var(--primary-color, #ff8c42);
    transition: transform 0.2s;
}
.notification-container:hover i.fa-bell {
    transform: scale(1.1);
}
.notification-badge-dynamic {
    position: absolute;
    top: -5px;
    right: -8px;
    background: #E53935;
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
    display: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.notification-dropdown {
    position: absolute;
    top: 35px;
    right: -10px;
    width: 320px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border: 1px solid #eee;
    display: none;
    flex-direction: column;
    z-index: 99999;
    overflow: hidden;
    cursor: default;
}
.notification-dropdown.show {
    display: flex;
}
.notification-header {
    padding: 12px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
    font-weight: 700;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.notification-list {
    max-height: 350px;
    overflow-y: auto;
    padding: 0;
    margin: 0;
    list-style: none;
}
.notification-item {
    padding: 12px 16px;
    border-bottom: 1px solid #f5f5f5;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.notification-item:hover {
    background: #fafafa;
}
.notification-item:last-child {
    border-bottom: none;
}
.notification-message {
    font-size: 0.9rem;
    color: #444;
    line-height: 1.3;
}
.notification-time {
    font-size: 0.75rem;
    color: #888;
}
.notification-empty {
    padding: 20px;
    text-align: center;
    color: #999;
    font-size: 0.9rem;
    font-style: italic;
}
/* For mobile support */
@media(max-width: 600px) {
    .notification-dropdown {
        position: fixed;
        top: 60px;
        right: 10px;
        left: 10px;
        width: auto;
    }
}

/* Fix for Secretary General Name in Receipt Translation */
html.translated-ltr .sg-marathi { display: none !important; }
html.translated-ltr .sg-english { display: inline !important; }

/* --- Desktop Layout Fixes --- */
@media (min-width: 969px) {
    .nav-menu {
        gap: 15px !important;
    }
    .nav-menu a {
        display: inline-block !important;
        white-space: nowrap !important;
    }
    .logo span {
        white-space: nowrap !important;
    }
}

/* --- Nav Wrapper Gap Fix --- */
@media (min-width: 969px) {
    .nav-wrapper {
        gap: 20px !important;
    }
}
