@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700&family=Hind+Siliguri:wght@300;400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
    /* Brand Colors - BNP Palette Enhanced */
    --primary: #006a4e;
    /* Deep Green */
    --primary-light: #059669;
    --primary-dark: #064e3b;
    --primary-glow: rgba(0, 106, 78, 0.4);

    --secondary: #e11d48;
    /* Vibrant Red */
    --secondary-light: #f43f5e;
    --secondary-glow: rgba(225, 29, 72, 0.4);

    /* Backgrounds */
    --bg-main: #f8fafc;
    --bg-grad-start: #f0fdf4;
    --bg-grad-end: #ffffff;

    /* Surface */
    --surface: rgba(255, 255, 255, 0.9);
    --surface-glass: rgba(255, 255, 255, 0.7);
    --surface-border: rgba(255, 255, 255, 0.6);

    /* Text */
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-light: #94a3b8;

    /* Effects */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 20px var(--primary-glow);

    --blur: 16px;
    --glass-border: 1px solid rgba(255, 255, 255, 0.5);

    /* Layout */
    --container: 1280px;
    --header-height: 80px;
    --radius: 16px;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hind Siliguri', 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--bg-grad-start), var(--bg-grad-end));
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: calc(var(--header-height) + 40px);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary);
}

.text-secondary {
    color: var(--secondary);
}

.section-padding {
    padding: 6rem 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--surface-glass);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border: var(--glass-border);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.85);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 40px;
    /* Below marquee */
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo span {
    font-family: 'Hind Siliguri', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link.active,
.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s;
}

.nav-link.active::after,
.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 2rem;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 106, 78, 0.9), rgba(0, 0, 0, 0.4));
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 800px;
    text-align: left;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
}

/* Feature Grid */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* For gallery */

@media (max-width: 900px) {

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .navbar {
        display: none;
    }

    /* Simplified mobile handling needed */
}

/* Section specific */
.bio-img-container {
    position: relative;
}

.bio-img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 5px solid white;
}

.manifesto-item {
    padding: 1.5rem;
    border-left: 4px solid var(--primary);
    background: white;
    border-radius: 0 12px 12px 0;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1rem;
    transition: transform 0.2s;
}

.manifesto-item:hover {
    transform: translateX(10px);
    background: var(--bg-grad-start);
}

.pledge-card {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s;
    border-top: 5px solid var(--secondary);
}

.pledge-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.pledge-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary);
}

/* Gallery */
.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.4s;
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

.gallery-img:hover {
    transform: scale(1.05);
    z-index: 10;
}

/* Footer */
footer {
    background: var(--text-main);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    display: block;
    margin-bottom: 0.5rem;
}

.footer-link:hover {
    color: white;
}

/* Marquee */
.news-marquee {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: var(--primary-dark);
    color: white;
    z-index: 1001;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.marquee-track {
    white-space: nowrap;
    animation: scroll 30s linear infinite;
    padding-left: 100%;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Mobile Nav Overlay */
.mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: none;
    /* Show only on mobile via media query */
    justify-content: space-around;
    padding: 1rem;
    z-index: 2000;
}

@media (max-width: 768px) {
    .mobile-nav {
        display: flex;
    }
}