/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&family=Hind+Siliguri:wght@300;400;500;600;700&display=swap');

:root {
    /* EXPERMIUM DARK GREEN MODE COLORS */
    --bg-base: #061c14; /* Deep rich dark green */
    --bg-surface: #0a2e22; /* Slightly elevated dark green for cards */
    --text-primary: #ecfdf5; /* Off-white almost mint text for high contrast */
    --text-secondary: #a7f3d0; /* Muted vibrant green for secondary text */
    --accent-primary: #10b981; /* Lighter vivid Bangladesh green */
    --accent-glow: rgba(16, 185, 129, 0.25);
    --accent-gold: #fbbf24;
    --accent-red: #ef4444;
    --border-light: rgba(255, 255, 255, 0.08); /* Soft white borders */
    --border-glass: rgba(255, 255, 255, 0.12);
    
    --font-heading: 'Hind Siliguri', sans-serif;
    --font-body: 'Hind Siliguri', sans-serif;
}

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

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; }
.logo-text { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.5rem; letter-spacing: -0.03em; }

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

.display-title { font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
.display-title-small { font-size: clamp(2.2rem, 4.5vw, 3.5rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 1.5rem; }

.text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.gradient-text-gold {
    background: linear-gradient(135deg, var(--accent-gold), #fcd34d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navbar */
.navbar {
    position: fixed; width: 100%; top: 0; padding: 1.5rem 5%;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 100; transition: all 0.4s ease;
    border-bottom: 1px solid transparent;
}
.navbar.scrolled {
    background: rgba(6, 28, 20, 0.85);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    padding: 1rem 5%;
}
.navbar.scrolled .logo-text { color: var(--text-primary); }
.navbar.scrolled .nav-links a { color: var(--text-secondary); }
.navbar.scrolled .nav-links a:hover { color: var(--text-primary); }

.logo { display: flex; align-items: center; gap: 0.8rem; }
.logo-mark { width: 14px; height: 14px; background: var(--accent-primary); border-radius: 50%; box-shadow: 0 0 15px var(--accent-glow); }
.logo-text { font-weight: 700; font-size: 1.5rem; letter-spacing: 0; color: #ffffff; transition: color 0.3s; }

.nav-links { display: flex; gap: 2.5rem; list-style: none; align-items: center; }
.nav-links a { font-size: 1.05rem; font-weight: 600; color: rgba(255, 255, 255, 0.8); transition: color 0.3s; }
.nav-links a:hover { color: #ffffff; }

/* Buttons */
.btn-primary {
    background: var(--text-primary); color: var(--bg-base) !important;
    padding: 0.8rem 1.8rem; border-radius: 100px;
    font-weight: 600; font-size: 1.05rem; border: none; cursor: pointer;
    transition: all 0.3s ease; display: inline-block;
}
.btn-primary:hover { transform: scale(1.05); }
.btn-glow {
    background: var(--accent-primary);
    color: #ffffff !important;
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.4);
}

/* Hero Section */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 0 5%;
    background-image: url('assets/bdt_background.png');
    background-size: cover; background-position: center; background-attachment: fixed;
    overflow: hidden;
    color: #ffffff;
}

.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    /* Gradient transition perfectly blending into dark green */
    background: linear-gradient(180deg, rgba(3, 11, 8, 0.4) 0%, rgba(3, 11, 8, 0.8) 85%, var(--bg-base) 100%);
    z-index: 1;
}

/* Blobs for hero */
.blob { position: absolute; border-radius: 50%; filter: blur(120px); z-index: 0; animation: float 10s infinite ease-in-out alternate; }
.blob-1 { width: 400px; height: 400px; background: rgba(16, 185, 129, 0.3); top: -100px; left: -100px; }
.blob-2 { width: 500px; height: 500px; background: rgba(218, 41, 28, 0.15); bottom: -150px; right: 10%; animation-delay: -5s; }

.hero-content { position: relative; z-index: 2; max-width: 900px; margin-top: 5vh; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.5rem 1.2rem; background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15); border-radius: 100px;
    font-size: 0.95rem; font-weight: 500; margin-bottom: 2rem;
    backdrop-filter: blur(10px); color: rgba(255,255,255,0.9);
}
.pulse-dot { width: 8px; height: 8px; background: #10b981; border-radius: 50%; box-shadow: 0 0 10px #10b981; animation: pulse 2s infinite; }

.hero h1 { margin-bottom: 1.5rem; }
.hero .text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-subtitle { font-size: clamp(1.2rem, 2vw, 1.4rem); color: rgba(255, 255, 255, 0.85); margin-bottom: 3rem; max-width: 700px; margin-inline: auto; font-weight: 400; }

/* Bento Grid */
.services { padding: 8rem 5%; position: relative; z-index: 2; background: var(--bg-base); }
.section-heading { text-align: center; margin-bottom: 5rem; }
.section-heading h2 { font-size: 3rem; margin-bottom: 1rem; }
.section-heading p { color: var(--text-secondary); font-size: 1.2rem; }

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minMax(250px, auto);
    gap: 1.5rem;
    max-width: 1200px; margin: 0 auto;
}

.bento-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative; overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex; flex-direction: column; justify-content: flex-end;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
}
.bento-item::before {
    content: ''; position: absolute; inset: 0;
    /* Glow follows mouse */
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.05), transparent 40%);
    opacity: 0; transition: opacity 0.3s;
}
.bento-item:hover::before { opacity: 1; }
.bento-item:hover { 
    border-color: rgba(255, 255, 255, 0.2); 
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.6); 
}

.bento-large { grid-column: span 2; grid-row: span 2; }
.bento-wide { grid-column: span 3; grid-row: span 1; }
.bento-small { grid-column: span 1; grid-row: span 1; }

.block-icon { font-size: 3.5rem; color: var(--accent-primary); margin-bottom: auto; }
.bento-small .block-icon { margin-bottom: 1rem; }
.bento-content { position: relative; z-index: 2; pointer-events: none; }
.bento-content h3 { font-size: 1.8rem; margin-bottom: 0.5rem; color: var(--text-primary); }
.bento-content p { color: var(--text-secondary); font-size: 1.1rem; line-height: 1.6; }
.bento-large h3 { font-size: 2.6rem; }
.bento-large p { font-size: 1.2rem; }

/* About Section */
.about { padding: 8rem 5%; background: var(--bg-surface); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.about-container { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; max-width: 1200px; margin: 0 auto; align-items: center; }

.section-label { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-primary); margin-bottom: 1rem; font-weight: 700; }
.about-content p { color: var(--text-secondary); font-size: 1.2rem; margin-bottom: 2.5rem; }

.modern-list { list-style: none; }
.modern-list li { display: flex; align-items: center; gap: 1rem; font-size: 1.15rem; margin-bottom: 1.2rem; color: var(--text-primary); font-weight: 500;}
.modern-list i { color: var(--accent-primary); font-size: 1.4rem; }

.glow-card {
    position: relative; padding: 1px; border-radius: 30px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), transparent);
}
.glass-layer {
    background: var(--bg-base); padding: 4rem; border-radius: 30px;
    height: 100%; position: relative; z-index: 1;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.stats-grid {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
}
.stat-box h3 { font-size: 3.5rem; line-height: 1; margin-bottom: 0.5rem; font-weight: 700; }
.stat-box p { color: var(--text-secondary); font-weight: 500; font-size: 1.1rem; }

/* Footer */
.modern-footer { padding: 8rem 5% 3rem; background: var(--bg-base); text-align: center; }
.footer-top { margin-bottom: 8rem; }
.footer-top p { color: var(--text-secondary); font-size: 1.2rem; margin-bottom: 3rem; }

.footer-bottom { 
    display: flex; justify-content: space-between; align-items: center; 
    padding-top: 3rem; border-top: 1px solid var(--border-light); max-width: 1200px; margin: 0 auto;
}
.footer-logo { display: flex; align-items: center; gap: 0.5rem; }
.bd-badge { background: rgba(239, 68, 68, 0.15); border: 1px solid rgba(239, 68, 68, 0.3); color: var(--accent-red); padding: 0.2rem 0.5rem; border-radius: 6px; font-size: 0.8rem; font-weight: 700; height: fit-content; }
.social-links { display: flex; gap: 1.5rem; }
.social-links a { font-size: 1.5rem; color: var(--text-secondary); }
.social-links a:hover { color: var(--text-primary); transform: translateY(-3px); }
.footer-bottom p { color: var(--text-secondary); font-size: 1rem; }

/* Animations */
@keyframes float { 0% { transform: translateY(0) scale(1); } 100% { transform: translateY(-20px) scale(1.05); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); } 70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }

/* Responsiveness */
@media (max-width: 1024px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .bento-wide { grid-column: span 2; }
    .bento-large { grid-column: span 2; grid-row: span 1; }
    .about-container { grid-template-columns: 1fr; gap: 4rem; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero { padding-top: 5rem; }
    .bento-grid { grid-template-columns: 1fr; grid-auto-rows: minMax(200px, auto); }
    .bento-large, .bento-wide, .bento-small { grid-column: span 1; }
    .stats-grid { gap: 2rem; grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; gap: 2rem; }
}
