@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300;400;500;600;700&family=Tiro+Bangla:ital@0;1&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ═══════════════════════════════════════
   DESIGN SYSTEM — SBW FOUNDATION
   ═══════════════════════════════════════ */
:root {
    --navy: #1A3683;
    --navy-dark: #0a1a4a;
    --navy-deep: #020617;
    --leaf: #70C145;
    --lime: #A2D331;
    --lime-glow: #c6f050;
    --white: #ffffff;
    --off-white: #EEF6E4;
    --text-dim: rgba(238,246,228,0.6);
    --text-muted: rgba(238,246,228,0.4);
    --glass-bg: rgba(26,54,131,0.15);
    --glass-border: rgba(162,211,49,0.15);
    --card-bg: rgba(26,54,131,0.2);
    --card-hover: rgba(26,54,131,0.4);
    --gradient-main: linear-gradient(135deg, var(--leaf), var(--lime));
    --gradient-navy: linear-gradient(135deg, var(--navy-dark), var(--navy));
    --shadow-lg: 0 25px 60px rgba(0,0,0,0.4);
    --shadow-glow: 0 0 40px rgba(162,211,49,0.15);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 40px;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    --nav-height: 80px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }
body {
    font-family: 'Hind Siliguri', sans-serif;
    background: var(--navy-deep);
    color: var(--off-white);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.7;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* ─── TYPOGRAPHY ─── */
.section-tag {
    font-size: 13px; letter-spacing: 0.2em; color: var(--lime);
    text-transform: uppercase; font-weight: 600; display: flex;
    align-items: center; gap: 14px; margin-bottom: 12px;
}
.section-tag::before {
    content: ''; width: 40px; height: 2px; border-radius: 2px;
    background: var(--gradient-main);
}
.section-title {
    font-family: 'Tiro Bangla', serif; font-size: clamp(28px, 4vw, 48px);
    color: var(--white); line-height: 1.3; margin-bottom: 20px;
}
.section-title .accent { color: var(--lime); }
.section-desc {
    font-size: 17px; color: var(--text-dim); max-width: 600px;
    line-height: 1.9; font-weight: 300;
}
.section-padding { padding: 100px 0; overflow: hidden; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 36px; border-radius: 100px; font-size: 15px;
    font-weight: 600; letter-spacing: 0.03em; transition: var(--transition);
    position: relative; overflow: hidden;
}
.btn-primary {
    background: var(--gradient-main); color: var(--navy-dark);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 35px rgba(112,193,69,0.35); }
.btn-outline {
    border: 1.5px solid var(--lime); color: var(--lime);
    background: rgba(162,211,49,0.05);
}
.btn-outline:hover { background: rgba(162,211,49,0.15); transform: translateY(-3px); }

/* ─── BACKGROUND ─── */
.page-bg {
    position: fixed; inset: 0; z-index: -2;
    background: radial-gradient(ellipse at 20% 50%, rgba(26,54,131,0.3) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 20%, rgba(112,193,69,0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 50% 100%, rgba(26,54,131,0.2) 0%, transparent 50%),
                var(--navy-deep);
}
.particles-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.particle {
    position: absolute; border-radius: 50%; opacity: 0;
    animation: particleFloat var(--dur) ease-in var(--delay) infinite;
}
@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(0) scale(0.5); }
    20% { opacity: 0.3; }
    80% { opacity: 0.15; }
    100% { opacity: 0; transform: translateY(-110vh) scale(1.1); }
}

/* ═══════════════════════════════════════
   NAVIGATION — GLASSMORPHISM STICKY
   ═══════════════════════════════════════ */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 2005;
    height: var(--nav-height); display: flex; align-items: center;
    transition: var(--transition);
    background: rgba(2,6,23,0.4); backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(162,211,49,0.08);
}
.navbar.scrolled {
    background: rgba(2,6,23,0.92); border-bottom-color: rgba(162,211,49,0.2);
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.nav-container {
    width: 90%; max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 14px; z-index: 1010; }
.nav-logo img { height: 45px; filter: drop-shadow(0 0 12px rgba(162,211,49,0.3)); }
.nav-logo-text {
    font-family: 'Tiro Bangla', serif; font-size: 14px;
    color: var(--lime); line-height: 1.4; max-width: 200px;
}
.nav-menu {
    display: flex; align-items: center; gap: 6px;
    flex-wrap: nowrap;
}
.nav-menu a {
    padding: 8px 12px; border-radius: 100px; font-size: 14px;
    font-weight: 500; color: var(--off-white); transition: var(--transition);
    position: relative;
    white-space: nowrap;
}
.nav-menu a:hover, .nav-menu a.active {
    color: var(--lime); background: rgba(162,211,49,0.1);
}
.nav-menu a.active::after {
    content: ''; position: absolute; bottom: 4px; left: 50%;
    transform: translateX(-50%); width: 6px; height: 6px;
    border-radius: 50%; background: var(--lime);
    box-shadow: 0 0 8px var(--lime);
}

/* Intermediate screens navigation adjustment */
@media (min-width: 992px) and (max-width: 1200px) {
    .nav-menu {
        gap: 3px;
    }
    .nav-menu a {
        padding: 6px 8px;
        font-size: 12.5px;
    }
    .nav-logo-text {
        font-size: 12px;
        max-width: 130px;
    }
    .nav-logo img {
        height: 38px;
    }
}

/* ─── MOBILE TOGGLE ─── */
.nav-toggle {
    display: none; width: 44px; height: 44px; z-index: 2010;
    flex-direction: column; align-items: center; justify-content: center;
    gap: 6px; cursor: pointer; border-radius: 50%;
    background: rgba(162,211,49,0.1); border: 1px solid rgba(162,211,49,0.2);
    transition: var(--transition);
}
.nav-toggle:hover { background: rgba(162,211,49,0.2); }
.nav-toggle span {
    display: block; width: 22px; height: 2px; background: var(--lime);
    border-radius: 2px; transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    transform-origin: center;
}
.nav-toggle.active { 
    background: rgba(162,211,49,0.3); 
    border-color: rgba(162,211,49,0.6);
    box-shadow: 0 0 20px rgba(162,211,49,0.2);
}
.nav-toggle.active span { background: var(--white); }
.nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ─── FULL-SCREEN MOBILE MENU ─── */
.mobile-overlay {
    position: fixed; inset: 0; z-index: 2000;
    background: rgba(2,6,23,0.98); backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    display: flex; flex-direction: column; align-items: center;
    justify-content: flex-start; gap: 0;
    padding-top: 100px; padding-bottom: 40px;
    opacity: 0; visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    overflow-y: auto;
}
.mobile-overlay.active { opacity: 1; visibility: visible; }
.mobile-overlay .mob-link {
    display: block; padding: 12px 40px; font-size: 20px;
    font-family: 'Tiro Bangla', serif; color: var(--off-white);
    text-align: center; transition: var(--transition);
    opacity: 0; transform: translateY(30px);
    border-bottom: 1px solid rgba(162,211,49,0.08);
    width: 85%;
}
.mobile-overlay.active .mob-link {
    opacity: 1; transform: translateY(0);
}
.mobile-overlay.active .mob-link:nth-child(1) { transition-delay: 0.05s; }
.mobile-overlay.active .mob-link:nth-child(2) { transition-delay: 0.1s; }
.mobile-overlay.active .mob-link:nth-child(3) { transition-delay: 0.15s; }
.mobile-overlay.active .mob-link:nth-child(4) { transition-delay: 0.2s; }
.mobile-overlay.active .mob-link:nth-child(5) { transition-delay: 0.25s; }
.mobile-overlay.active .mob-link:nth-child(6) { transition-delay: 0.3s; }
.mobile-overlay.active .mob-link:nth-child(7) { transition-delay: 0.35s; }
.mobile-overlay.active .mob-link:nth-child(8) { transition-delay: 0.4s; }
.mobile-overlay .mob-link:hover, .mobile-overlay .mob-link.active {
    color: var(--lime); background: rgba(162,211,49,0.08);
}
.mobile-overlay .mob-link.active { border-left: 3px solid var(--lime); }
.mobile-overlay .mob-social {
    display: flex; gap: 20px; margin-top: 25px;
    opacity: 0; transform: translateY(20px);
    transition: all 0.5s ease 0.5s;
}
.mobile-overlay.active .mob-social { opacity: 1; transform: translateY(0); }
.mobile-overlay .mob-social a {
    width: 50px; height: 50px; border-radius: 50%;
    border: 1px solid rgba(162,211,49,0.3); display: flex;
    align-items: center; justify-content: center; font-size: 20px;
    color: var(--lime); transition: var(--transition);
}
.mobile-overlay .mob-social a:hover { background: rgba(162,211,49,0.2); transform: scale(1.1); }

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.footer {
    background: rgba(10,26,74,0.6); border-top: 1px solid rgba(162,211,49,0.12);
    padding: 60px 0 0;
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px;
    padding-bottom: 40px; border-bottom: 1px solid rgba(162,211,49,0.1);
}
.footer-brand p { color: var(--text-dim); font-size: 15px; margin-top: 16px; line-height: 1.8; max-width: 300px; }
.footer-brand img { height: 50px; margin-bottom: 12px; }
.footer h4 {
    font-family: 'Tiro Bangla', serif; font-size: 18px;
    color: var(--lime); margin-bottom: 20px; position: relative; padding-bottom: 10px;
}
.footer h4::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 30px; height: 2px; background: var(--gradient-main); border-radius: 2px;
}
.footer-links a {
    display: block; padding: 6px 0; color: var(--text-dim); font-size: 15px;
    transition: var(--transition);
}
.footer-links a:hover { color: var(--lime); padding-left: 8px; }
.footer-contact-item { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.footer-contact-item i { color: var(--leaf); margin-top: 4px; font-size: 14px; }
.footer-contact-item p { color: var(--text-dim); font-size: 14px; line-height: 1.6; }
.footer-bottom {
    padding: 20px 0; text-align: center; color: var(--text-muted); font-size: 13px;
}
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
    width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(162,211,49,0.2);
    display: flex; align-items: center; justify-content: center;
    color: var(--lime); font-size: 16px; transition: var(--transition);
}
.footer-social a:hover { background: rgba(162,211,49,0.15); transform: translateY(-3px); }

.visitor-counter {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 18px;
    background: rgba(162, 211, 49, 0.08);
    border: 1px solid rgba(162, 211, 49, 0.15);
    border-radius: 100px;
    color: var(--lime);
    font-size: 13px;
    font-weight: 500;
    margin-top: 15px;
    transition: var(--transition);
}
.visitor-counter:hover {
    background: rgba(162, 211, 49, 0.15);
    border-color: rgba(162, 211, 49, 0.3);
    transform: scale(1.05);
}
.visitor-counter i { font-size: 14px; }
.visitor-counter #visitor-count { font-weight: 700; letter-spacing: 0.05em; }

/* ═══════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════ */
.anim { opacity: 0; transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.anim.anim-up { transform: translateY(60px); }
.anim.anim-down { transform: translateY(-60px); }
.anim.anim-left { transform: translateX(-60px); }
.anim.anim-right { transform: translateX(60px); }
.anim.anim-scale { transform: scale(0.85); }
.anim.anim-fade { opacity: 0; }
.anim.visible { opacity: 1; transform: none; }

.stagger-children .anim { transition-delay: calc(var(--i, 0) * 0.12s); }

/* ═══════════════════════════════════════
   GLASSMORPHISM CARD
   ═══════════════════════════════════════ */
.glass-card {
    background: var(--glass-bg); backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border); border-radius: var(--radius-lg);
    transition: var(--transition);
}
.glass-card:hover {
    border-color: rgba(162,211,49,0.35); background: var(--card-hover);
    transform: translateY(-6px); box-shadow: var(--shadow-glow);
}

/* ─── PAGE HERO ─── */
.page-hero {
    min-height: 50vh; display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 140px 20px 80px; position: relative; overflow: hidden;
}
.page-hero::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(2,6,23,0.3) 0%, rgba(2,6,23,0.8) 100%);
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero h1 {
    font-family: 'Tiro Bangla', serif; font-size: clamp(32px, 5vw, 56px);
    color: var(--white); margin-bottom: 16px;
}
.page-hero p { font-size: 18px; color: var(--text-dim); max-width: 500px; margin: 0 auto; }
.breadcrumb {
    display: flex; gap: 8px; justify-content: center; margin-top: 20px;
    font-size: 14px; color: var(--text-muted);
}
.breadcrumb a { color: var(--lime); }
.breadcrumb span { color: var(--text-muted); }

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* ═══════════════════════════════════════
   RESPONSIVE — MOBILE FIRST
   ═══════════════════════════════════════ */
@media (max-width: 992px) {
    :root { --nav-height: 70px; }
    .nav-menu { display: none; }
    .nav-toggle { display: flex; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .section-padding { padding: 70px 0; }
    .nav-container { width: 92%; }
}
@media (max-width: 768px) {
    .container { width: 94%; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .section-title { margin-bottom: 14px; }
    .section-padding { padding: 60px 0; }
    .page-hero { min-height: 40vh; padding: 120px 20px 60px; }
    .nav-logo-text { font-size: 12px; max-width: 150px; }
}
@media (max-width: 480px) {
    .container { width: 92%; }
    .nav-logo-text { display: none; }
    .nav-container { width: 94%; }
    .btn { padding: 12px 28px; font-size: 14px; }
    .section-padding { padding: 50px 0; }
    .nav-logo img { height: 38px; }
}
