/* =========================================================
   BSSU — Main Stylesheet
   ========================================================= */

/* ---------- RESET ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ---------- VARIABLES ---------- */
:root {
    --saffron: #FF9933;
    --green: #138808;
    --navy: #000080;
    --primary: #FF6B35;
    --primary-dark: #E85A24;
    --secondary: #1e293b;
    --dark: #0f172a;
    --gray: #64748b;
    --light: #f8fafc;
    --white: #ffffff;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;
    --gradient-1: linear-gradient(135deg, #FF9933 0%, #FF6B35 100%);
    --gradient-2: linear-gradient(135deg, #138808 0%, #10b981 100%);
    --gradient-3: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.25);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- BODY ---------- */
body {
    font-family: 'Poppins', 'Noto Sans Bengali', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    padding-top: 0;
}

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

/* ---------- PRELOADER ---------- */
.preloader {
    position: fixed; inset: 0;
    background: var(--dark);
    z-index: 99999;
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.5s, visibility 0.5s;
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader { position: relative; width: 120px; height: 120px; }
.loader-ring {
    position: absolute; inset: 0;
    border: 3px solid transparent;
    border-top-color: var(--saffron);
    border-right-color: var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
.loader-logo {
    position: absolute; top: 20px; left: 20px;
    width: 80px; height: 80px;
    border-radius: 50%; object-fit: cover;
    animation: pulse 1.5s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.1); } }

/* ---------- TOPBAR ---------- */
.topbar {
    background: var(--dark);
    color: var(--white);
    font-size: 13px;
    padding: 8px 0;
    position: relative;
    z-index: 1001;
}
.topbar-inner {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 10px;
}
.topbar-left a, .topbar-right a {
    color: var(--white); text-decoration: none;
    transition: var(--transition);
}
.topbar-left a { margin-right: 20px; display: inline-flex; align-items: center; gap: 6px; }
.topbar-left a:hover { color: var(--saffron); }
.topbar-right { display: flex; gap: 6px; }
.topbar-right a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; border-radius: 50%;
    background: rgba(255,255,255,0.1);
}
.topbar-right a:hover { background: var(--saffron); transform: translateY(-2px); }

/* ---------- HEADER ---------- */
.header {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    position: sticky; top: 0; z-index: 1000;
    transition: var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-lg); }
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 0; gap: 15px; flex-wrap: wrap;
}

.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo img {
    width: 55px; height: 55px; border-radius: 50%;
    object-fit: cover; border: 2px solid var(--saffron);
    transition: var(--transition);
}
.logo:hover img { transform: rotate(360deg); }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-main { font-size: 22px; font-weight: 800; color: var(--primary); letter-spacing: 1px; }
.logo-sub { font-size: 11px; color: var(--gray); font-weight: 500; }

/* ---------- NAV ---------- */
.nav { flex: 1; display: flex; justify-content: center; }
.nav > ul {
    display: flex; gap: 4px; align-items: center;
    list-style: none;
}
.nav li { position: relative; }
.nav a {
    color: var(--dark); font-weight: 500; font-size: 14px;
    padding: 10px 14px; border-radius: 8px;
    transition: var(--transition); display: block; white-space: nowrap;
}
.nav a:hover, .nav a.active {
    color: var(--primary);
    background: rgba(255,107,53,0.08);
}
.nav .dropdown {
    position: absolute; top: 100%; left: 0;
    background: var(--white); min-width: 220px;
    box-shadow: var(--shadow-lg); border-radius: var(--radius);
    padding: 8px; opacity: 0; visibility: hidden;
    transform: translateY(10px); transition: var(--transition);
    flex-direction: column; gap: 2px; z-index: 100;
    list-style: none;
}
.nav .has-dropdown:hover .dropdown {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.nav .dropdown a { padding: 10px 14px; font-size: 13px; border-radius: 8px; }

/* ---------- HEADER ACTIONS ---------- */
.header-actions {
    display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px; padding: 10px 20px; border-radius: 50px;
    font-weight: 600; font-size: 14px; font-family: inherit;
    transition: var(--transition); cursor: pointer;
    border: none; white-space: nowrap; text-align: center;
}
.btn-primary { background: var(--gradient-1); color: var(--white); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(255,107,53,0.3); }
.btn-donate { background: var(--gradient-2); color: var(--white); }
.btn-donate:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(19,136,8,0.3); }
.btn-outline {
    background: transparent; color: var(--white);
    border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline:hover { background: var(--white); color: var(--dark); border-color: var(--white); }
.btn-lg { padding: 15px 32px; font-size: 16px; }
.btn-sm { padding: 6px 12px; font-size: 12px; }

/* ---------- MOBILE MENU TOGGLE ---------- */
.menu-toggle {
    display: none; flex-direction: column; gap: 5px;
    padding: 8px; border-radius: 8px; background: rgba(0,0,0,0.05);
}
.menu-toggle span {
    width: 24px; height: 3px; background: var(--dark);
    border-radius: 3px; transition: var(--transition);
}
.menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
    position: relative; min-height: 92vh;
    display: flex; align-items: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    overflow: hidden;
    padding: 80px 0 60px;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 15% 30%, rgba(255,153,51,0.18) 0%, transparent 45%),
        radial-gradient(circle at 85% 70%, rgba(19,136,8,0.18) 0%, transparent 45%),
        radial-gradient(circle at 50% 100%, rgba(99,102,241,0.15) 0%, transparent 50%);
    z-index: 0;
}
.hero::after {
    content: ''; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
}
.hero .container { position: relative; z-index: 2; }

.hero-content { color: var(--white); max-width: 780px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,153,51,0.15); color: var(--saffron);
    padding: 8px 16px; border-radius: 50px; font-size: 13px;
    font-weight: 600; margin-bottom: 22px;
    border: 1px solid rgba(255,153,51,0.3);
    animation: fadeInUp 0.8s ease;
}
.hero h1 {
    font-size: clamp(2rem, 5.2vw, 3.6rem);
    font-weight: 800; line-height: 1.12;
    margin-bottom: 22px;
    animation: fadeInUp 0.8s ease 0.15s backwards;
}
.hero h1 .highlight {
    background: var(--gradient-1);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}
.hero p {
    font-size: 17px; color: rgba(255,255,255,0.82);
    margin-bottom: 32px; max-width: 640px;
    animation: fadeInUp 0.8s ease 0.3s backwards;
}
.hero-buttons {
    display: flex; gap: 14px; flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.45s backwards;
}

.hero-stats {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 18px; margin-top: 55px;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}
.stat-item {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 20px; border-radius: var(--radius);
    text-align: center; transition: var(--transition);
}
.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255,153,51,0.12);
    border-color: rgba(255,153,51,0.35);
}
.stat-number {
    font-size: 26px; font-weight: 800; color: var(--saffron);
    line-height: 1.1;
}
.stat-label {
    font-size: 11px; color: rgba(255,255,255,0.7);
    text-transform: uppercase; letter-spacing: 1px; margin-top: 6px;
}

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

/* ---------- MARQUEE ---------- */
.marquee {
    background: var(--gradient-1); color: var(--white);
    padding: 12px 0; overflow: hidden; white-space: nowrap;
    position: relative;
}
.marquee-content {
    display: inline-block;
    animation: marquee 35s linear infinite;
    font-weight: 600; font-size: 14px;
    padding-left: 100%;
}
.marquee-content span { margin: 0 30px; }
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

/* ---------- SECTIONS ---------- */
.section { padding: 80px 0; position: relative; }
.section-alt { background: var(--light); }
.section-header {
    text-align: center; max-width: 720px;
    margin: 0 auto 55px; padding: 0 15px;
}
.section-badge {
    display: inline-block; background: rgba(255,107,53,0.1);
    color: var(--primary); padding: 6px 16px; border-radius: 50px;
    font-size: 12px; font-weight: 600; margin-bottom: 15px;
    text-transform: uppercase; letter-spacing: 1px;
}
.section-title {
    font-size: clamp(1.7rem, 4vw, 2.4rem);
    font-weight: 800; color: var(--dark);
    margin-bottom: 15px; line-height: 1.2;
}
.section-desc { color: var(--gray); font-size: 15px; }

/* ---------- GRID ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* ---------- CARDS ---------- */
.card {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 28px; box-shadow: var(--shadow);
    transition: var(--transition); position: relative;
    overflow: hidden; border: 1px solid rgba(0,0,0,0.04);
    height: 100%;
}
.card::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 100%; height: 4px; background: var(--gradient-1);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.4s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.card:hover::before { transform: scaleX(1); }
.card-icon {
    width: 60px; height: 60px; border-radius: 16px;
    background: var(--gradient-1); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; margin-bottom: 18px;
    transition: var(--transition);
}
.card:hover .card-icon { transform: rotate(-8deg) scale(1.08); }
.card h3 {
    font-size: 18px; margin-bottom: 10px;
    color: var(--dark); font-weight: 700;
}
.card p { color: var(--gray); font-size: 14px; line-height: 1.7; }

/* ---------- FORMS ---------- */
.form-group { margin-bottom: 18px; }
.form-label {
    display: block; margin-bottom: 8px;
    font-weight: 600; font-size: 13.5px; color: var(--dark);
}
.form-label .required { color: var(--danger); }
.form-control {
    width: 100%; padding: 12px 16px;
    border: 2px solid #e2e8f0; border-radius: var(--radius);
    font-family: inherit; font-size: 14px;
    transition: var(--transition); background: var(--white);
    color: var(--dark);
}
.form-control:focus {
    outline: none; border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255,107,53,0.12);
}
textarea.form-control { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* ---------- ALERTS ---------- */
.alert {
    padding: 14px 18px; border-radius: var(--radius);
    margin-bottom: 20px; font-size: 14px;
    border-left: 4px solid; line-height: 1.6;
}
.alert-success { background: #ecfdf5; color: #065f46; border-color: var(--success); }
.alert-danger  { background: #fef2f2; color: #991b1b; border-color: var(--danger); }
.alert-info    { background: #eff6ff; color: #1e40af; border-color: var(--info); }
.alert-warning { background: #fffbeb; color: #92400e; border-color: var(--warning); }

/* ---------- PAGE HEADER ---------- */
.page-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: var(--white); padding: 80px 0 60px;
    text-align: center; position: relative; overflow: hidden;
}
.page-header::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255,153,51,0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(19,136,8,0.15) 0%, transparent 50%);
}
.page-header h1 {
    font-size: clamp(1.7rem, 4vw, 2.8rem);
    font-weight: 800; position: relative; z-index: 1;
    animation: fadeInUp 0.7s ease;
}
.page-header p {
    color: rgba(255,255,255,0.75); margin-top: 15px;
    position: relative; z-index: 1;
    animation: fadeInUp 0.7s ease 0.15s backwards;
    font-size: 15.5px;
}
.breadcrumb {
    display: flex; justify-content: center; gap: 10px;
    margin-top: 20px; font-size: 13.5px; flex-wrap: wrap;
    position: relative; z-index: 1;
    animation: fadeInUp 0.7s ease 0.3s backwards;
}
.breadcrumb a { color: var(--saffron); }
.breadcrumb span { color: rgba(255,255,255,0.5); }

/* ---------- FOOTER ---------- */
.footer {
    background: var(--dark); color: rgba(255,255,255,0.8);
    padding: 0 0 0; position: relative; margin-top: 0;
}
.footer-wave {
    width: 100%; line-height: 0; transform: translateY(-1px);
}
.footer-wave svg { width: 100%; height: 80px; display: block; }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px; padding: 20px 0 45px;
}
.footer-logo {
    width: 70px; height: 70px; border-radius: 50%;
    border: 2px solid var(--saffron); margin-bottom: 15px;
    object-fit: cover;
}
.footer-col h3 { color: var(--white); font-size: 17px; margin-bottom: 10px; font-weight: 700; }
.footer-col h4 {
    color: var(--white); font-size: 15px; margin-bottom: 20px;
    position: relative; padding-bottom: 10px; font-weight: 700;
}
.footer-col h4::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 38px; height: 3px; background: var(--saffron); border-radius: 3px;
}
.footer-slogan { color: var(--saffron); font-style: italic; margin-bottom: 12px; }
.footer-col p {
    font-size: 13.5px; margin-bottom: 10px;
    display: flex; gap: 10px; line-height: 1.6;
}
.footer-col p i { color: var(--saffron); margin-top: 5px; flex-shrink: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a {
    color: rgba(255,255,255,0.7); font-size: 13.5px;
    transition: var(--transition);
}
.footer-col ul a:hover { color: var(--saffron); padding-left: 5px; }

.social-links { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.social-links a {
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255,255,255,0.08); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition); font-size: 14px;
}
.social-links a:hover { background: var(--saffron); transform: translateY(-3px); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0; text-align: center; font-size: 12.5px;
}
.footer-slogans { color: var(--saffron); margin-top: 6px; }

/* ---------- FLOATING BUTTONS ---------- */
.floating-helpline, .floating-whatsapp {
    position: fixed; right: 20px; width: 54px; height: 54px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: var(--white); font-size: 22px;
    box-shadow: var(--shadow-lg); z-index: 999;
    transition: var(--transition);
}
.floating-helpline {
    bottom: 90px; background: var(--gradient-1);
    animation: float 3s ease-in-out infinite;
}
.floating-whatsapp {
    bottom: 25px; background: #25D366;
    animation: float 3s ease-in-out infinite 0.5s;
}
.floating-helpline:hover, .floating-whatsapp:hover {
    transform: scale(1.12);
}
@keyframes float {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.back-to-top {
    position: fixed; left: 20px; bottom: 25px;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--secondary); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; opacity: 0; visibility: hidden;
    transition: var(--transition); box-shadow: var(--shadow-lg);
    z-index: 999;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary); transform: translateY(-3px); }

/* ---------- MOBILE OVERLAY ---------- */
.nav-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.55);
    z-index: 999; opacity: 0; visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(2px);
}
.nav-overlay.active { opacity: 1; visibility: visible; }

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1024px) {
    .nav a { padding: 9px 10px; font-size: 13px; }
    .logo-sub { font-size: 10px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 900px) {
    .header-actions .btn { padding: 8px 14px; font-size: 12.5px; }
    .btn-donate { display: none; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .topbar { font-size: 12px; }
    .topbar-left a { margin-right: 10px; }
    .topbar-left a:nth-child(2) { display: none; }

    /* Mobile menu */
    .menu-toggle { display: flex; }
    .nav {
        position: fixed; top: 0; right: -100%;
        width: 85%; max-width: 340px; height: 100vh;
        background: var(--white); padding: 90px 20px 30px;
        box-shadow: var(--shadow-xl); transition: right 0.35s ease;
        overflow-y: auto; z-index: 1001;
        flex-direction: column; justify-content: flex-start;
        display: block;
    }
    .nav.active { right: 0; }
    .nav > ul {
        flex-direction: column; gap: 4px; width: 100%;
        align-items: stretch;
    }
    .nav a {
        padding: 14px 16px; font-size: 15px; border-radius: 10px;
    }
    .nav .dropdown {
        position: static; opacity: 1; visibility: visible;
        transform: none; box-shadow: none; padding-left: 15px;
        display: none; min-width: 100%;
        background: transparent;
    }
    .nav .has-dropdown.active .dropdown { display: flex; }
    .nav .dropdown a { padding: 10px 14px; font-size: 13.5px; color: var(--gray); }

    .header-actions .btn { padding: 8px 12px; font-size: 12px; }
    .header-actions .btn i { font-size: 11px; }

    .hero { min-height: auto; padding: 60px 0 50px; }
    .hero p { font-size: 15px; }
    .hero-buttons .btn { flex: 1 1 100%; }
    .hero-stats { gap: 12px; margin-top: 40px; }
    .stat-item { padding: 16px 10px; }
    .stat-number { font-size: 22px; }
    .stat-label { font-size: 10px; }

    .section { padding: 55px 0; }
    .section-header { margin-bottom: 35px; }

    .card { padding: 22px; }
    .card-icon { width: 52px; height: 52px; font-size: 20px; margin-bottom: 14px; }
    .card h3 { font-size: 16px; }

    .form-row { grid-template-columns: 1fr; gap: 0; }

    .footer-grid { grid-template-columns: 1fr; gap: 30px; padding: 20px 0 35px; }
    .footer-wave svg { height: 50px; }

    .floating-helpline, .floating-whatsapp {
        width: 48px; height: 48px; font-size: 20px; right: 14px;
    }
    .floating-helpline { bottom: 80px; }
    .floating-whatsapp { bottom: 20px; }
    .back-to-top { width: 40px; height: 40px; left: 14px; bottom: 20px; }
}

@media (max-width: 480px) {
    .logo-sub { display: none; }
    .logo-main { font-size: 17px; }
    .logo img { width: 45px; height: 45px; }

    .hero h1 { font-size: 1.75rem; }
    .hero-badge { font-size: 11px; padding: 6px 12px; }

    .section-title { font-size: 1.5rem; }
    .section-desc { font-size: 14px; }

    .page-header { padding: 60px 0 40px; }
    .page-header h1 { font-size: 1.6rem; }
    .page-header p { font-size: 14px; }

    .grid-4 { grid-template-columns: 1fr 1fr; }
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ---------- UTILITY ---------- */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.w-100 { width: 100%; }
.d-none { display: none !important; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* =========================================================
   MOBILE MENU FIX — Menu closed by default
   ========================================================= */
@media (max-width: 768px) {
    /* Menu should be hidden off-screen by default */
    .nav {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 85% !important;
        max-width: 340px !important;
        height: 100vh !important;
        background: var(--white) !important;
        padding: 90px 20px 30px !important;
        box-shadow: -8px 0 30px rgba(0,0,0,0.15) !important;
        transition: right 0.35s ease !important;
        overflow-y: auto !important;
        z-index: 1001 !important;
        display: block !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
    }

    .nav.active {
        right: 0 !important;
    }

    /* Menu toggle visible only on mobile */
    .menu-toggle {
        display: flex !important;
    }
}

/* Menu toggle should be hidden on desktop */
@media (min-width: 769px) {
    .menu-toggle {
        display: none !important;
    }
    .nav-overlay {
        display: none !important;
    }
}

/* =========================================================
   LOGIN DROPDOWN
   ========================================================= */
.login-dropdown {
    position: relative;
    display: inline-block;
}

.btn-login {
    background: var(--dark);
    color: var(--white);
    padding: 10px 18px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    cursor: pointer;
}

.btn-login:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(15,23,42,0.25);
}

.login-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 260px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1002;
    border: 1px solid #f1f5f9;
}

.login-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.login-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
}

.login-menu a:hover {
    background: rgba(255,107,53,0.08);
}

.login-menu a i {
    width: 38px;
    height: 38px;
    background: var(--gradient-1);
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.login-menu a div {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.login-menu a b {
    font-weight: 600;
    color: var(--dark);
    font-size: 13.5px;
}

.login-menu a small {
    font-size: 11.5px;
    color: var(--gray);
}

/* Mobile: hide login dropdown text, show only icon */
@media (max-width: 768px) {
    .login-dropdown {
        position: static;
    }

    .btn-login {
        padding: 8px 12px;
        font-size: 12px;
    }

    .btn-login span,
    .btn-login .fa-chevron-down {
        display: none;
    }

    .login-menu {
        position: fixed;
        top: 50%;
        left: 50%;
        right: auto;
        transform: translate(-50%, -50%) scale(0.9);
        width: 90%;
        max-width: 340px;
        z-index: 9999;
    }

    .login-menu.show {
        transform: translate(-50%, -50%) scale(1);
    }
}

@media (max-width: 480px) {
    .header-actions {
        gap: 6px;
    }
    .header-actions .btn {
        padding: 8px 10px;
        font-size: 11px;
    }
    .header-actions .btn i {
        font-size: 12px;
    }
}