:root {
    --primary: #FF6B00;       /* BJP Saffron */
    --primary-dark: #E05A00;
    --secondary: #138808;     /* India Green */
    --bg: #FFFFFF;
    --bg-alt: #FFF8F2;
    --card-bg: #FFFFFF;
    --text: #1E293B;
    --text-muted: #475569;
    --border: #E2E8F0;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] {
    --bg: #0F172A;
    --bg-alt: #1E293B;
    --card-bg: #1E293B;
    --text: #F8FAFC;
    --text-muted: #CBD5E1;
    --border: #334155;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Noto Sans Bengali', 'Noto Sans Devanagari', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.65;
    transition: background-color 0.3s, color 0.3s;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 92%;
    max-width: 1180px;
    margin: 0 auto;
}

/* Tricolor Top Strip */
.tricolor-bar {
    height: 5px;
    background: linear-gradient(90deg, #FF6B00 33.3%, #FFFFFF 33.3%, #FFFFFF 66.6%, #138808 66.6%);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    transition: background-color 0.3s, box-shadow 0.3s;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    gap: 16px;
}

.brand-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    height: 70px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.03);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 22px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.2s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.25s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-switcher {
    display: flex;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.lang-btn {
    border: none;
    background: transparent;
    color: var(--text);
    padding: 6px 10px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: 0.2s;
}

.lang-btn.active {
    background: var(--primary);
    color: #fff;
}

.theme-toggle, .menu-toggle {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    color: var(--text);
    width: 38px;
    height: 38px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, border-color 0.2s;
}

.theme-toggle:hover, .menu-toggle:hover {
    border-color: var(--primary);
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
}

/* Hero Section */
.hero-section {
    padding: 64px 0;
    background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg) 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 40px;
}

.badge-pill {
    display: inline-block;
    background: rgba(255, 107, 0, 0.12);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 14px;
}

.hero-content h1 {
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.2;
    margin-bottom: 12px;
}

.hero-subtitle {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 14px;
}

.hero-desc {
    color: var(--text-muted);
    margin-bottom: 24px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.3);
}

.btn-secondary {
    background: var(--secondary);
    color: #fff;
}

.btn-secondary:hover {
    opacity: 0.94;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(19, 136, 8, 0.3);
}

.btn-block {
    width: 100%;
}

.hero-img-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 4px solid var(--primary);
    box-shadow: var(--shadow);
    max-width: 380px;
    margin: 0 auto;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.hero-img-frame:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(255, 107, 0, 0.18);
}

.hero-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Stats Strip */
.stats-strip {
    background: var(--primary);
    color: #fff;
    padding: 28px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-box h3 {
    font-size: 1.8rem;
    font-weight: 700;
}

.stat-box p {
    font-size: 0.88rem;
    opacity: 0.92;
}

/* Sections */
.section {
    padding: 72px 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-header {
    text-align: center;
    margin-bottom: 44px;
}

.section-tag {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header h2 {
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    margin-top: 6px;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    align-items: center;
}

.about-text p {
    margin-bottom: 16px;
    color: var(--text-muted);
}

.vision-box {
    background: var(--bg-alt);
    border-left: 4px solid var(--primary);
    padding: 20px;
    border-radius: 0 12px 12px 0;
    margin-top: 20px;
}

.vision-box h4 {
    color: var(--primary);
    margin-bottom: 8px;
}

/* Timeline */
.timeline {
    max-width: 820px;
    margin: 0 auto;
    border-left: 3px solid var(--primary);
    padding-left: 24px;
}

.timeline-item {
    position: relative;
    margin-bottom: 28px;
    background: var(--card-bg);
    padding: 20px 24px;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item:hover {
    transform: translateX(6px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.09);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -34px;
    top: 24px;
    width: 16px;
    height: 16px;
    background: var(--primary);
    border: 3px solid var(--bg);
    border-radius: 50%;
}

.timeline-year {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
    background: var(--secondary);
    padding: 3px 10px;
    border-radius: 50px;
    margin-bottom: 8px;
}

.timeline-content h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 26px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-7px);
    border-color: var(--primary);
    box-shadow: 0 16px 36px rgba(255, 107, 0, 0.12);
}

.card-icon {
    width: 52px;
    height: 52px;
    background: rgba(255, 107, 0, 0.12);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 16px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.service-card:hover .card-icon {
    background: var(--primary);
    color: #fff;
    transform: scale(1.08);
}

.service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.93rem;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    aspect-ratio: 4/3;
    background: var(--card-bg);
    box-shadow: var(--shadow);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-cta {
    text-align: center;
    margin-top: 34px;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 32px;
}

.info-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 16px;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.info-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
}

.info-card i {
    font-size: 1.3rem;
    color: var(--primary);
    margin-top: 4px;
}

.contact-form {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 28px;
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

/* Footer */
.site-footer {
    background: #0F172A;
    color: #E2E8F0;
    padding-top: 56px;
}

.footer-logo {
    height: 65px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    margin-bottom: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1.2fr;
    gap: 32px;
    padding-bottom: 40px;
}

.footer-col h3, .footer-col h4 {
    color: #fff;
    margin-bottom: 14px;
}

.footer-col p {
    font-size: 0.92rem;
    color: #CBD5E1;
    margin-bottom: 10px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #1E293B;
    padding: 18px 0;
    text-align: center;
    font-size: 0.88rem;
    color: #94A3B8;
}

/* Floating WhatsApp with Subtle Pulse */
.whatsapp-float {
    position: fixed;
    bottom: 22px;
    right: 22px;
    width: 54px;
    height: 54px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    animation: pulse-green 2.4s infinite;
    transition: transform 0.25s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
    70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Professional Page & Scroll Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.delay-1 {
    animation-delay: 0.18s;
    opacity: 0;
}

.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 960px) {
    .hero-grid, .about-grid, .contact-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-inner {
        gap: 6px;
    }
    .logo-img {
        height: 40px;
        max-width: 115px;
    }
    .header-controls {
        gap: 5px;
    }
    .lang-btn {
        padding: 5px 6px;
        font-size: 0.72rem;
    }
    .theme-toggle, .menu-toggle {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }
    .menu-toggle {
        display: flex;
    }
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        display: none;
        padding: 16px 0;
    }
    .main-nav.open {
        display: block;
    }
    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }
    .cards-grid {
        grid-template-columns: 1fr;
    }
    .timeline {
        padding-left: 18px;
    }
    .timeline-item::before {
        left: -28px;
    }
}