/* ═══════════════════════════════════════
   CSS VARIABLES
═══════════════════════════════════════ */
:root {
    --blue-dark:    #1a3c6e;
    --blue-mid:     #2563eb;
    --blue-light:   #dbeafe;
    --saffron:      #FF6B00;
    --saffron-light:#fff3e0;
    --green-india:  #138808;
    --white:        #ffffff;
    --gray-100:     #f8fafc;
    --gray-200:     #e2e8f0;
    --gray-500:     #64748b;
    --gray-800:     #1e293b;
    --shadow-sm:    0 2px 8px rgba(0,0,0,0.08);
    --shadow-md:    0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg:    0 8px 40px rgba(0,0,0,0.16);
    --radius-sm:    8px;
    --radius-md:    12px;
    --radius-lg:    20px;
    --transition:   all 0.3s ease;
}

/* ═══════════════════════════════════════
   BASE
═══════════════════════════════════════ */
* { box-sizing: border-box; }

body {
    font-family: 'Noto Sans', sans-serif;
    color: var(--gray-800);
    background: var(--white);
    overflow-x: hidden;
}

.py-6 { padding-top: 5rem; padding-bottom: 5rem; }
.min-vh-80 { min-height: 80vh; }
.text-saffron { color: var(--saffron) !important; }
.bg-light-blue { background: #f0f6ff; }
.bg-dark-blue  { background: var(--blue-dark); }

/* ═══════════════════════════════════════
   GOV TOPBAR
═══════════════════════════════════════ */
.gov-topbar {
    background: #0f2447;
    padding: 6px 0;
    font-size: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar-text {
    color: rgba(255,255,255,0.8);
    font-size: 12px;
}
.topbar-link {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 12px;
    transition: var(--transition);
}
.topbar-link:hover { color: var(--saffron); }
.topbar-divider { color: rgba(255,255,255,0.3); }

/* ═══════════════════════════════════════
   NAVBAR
═══════════════════════════════════════ */
.main-navbar {
    background: var(--blue-dark) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.25);
    padding: 8px 0;
    transition: var(--transition);
}
.main-navbar.scrolled {
    background: rgba(26, 60, 110, 0.97) !important;
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
}

/* Logo area */
.brand-logo-wrap {
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 6px 8px;
    border: 1px solid rgba(255,255,255,0.12);
    transition: var(--transition);
}
.brand-logo-wrap:hover {
    background: rgba(255,255,255,0.15);
}
.brand-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
}
.brand-sub {
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
}

/* Nav links */
.nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 14px !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.nav-link:hover,
.nav-link.active {
    color: var(--white) !important;
    background: rgba(255,255,255,0.12);
}

/* Navbar toggler for mobile */
.navbar-toggler {
    border-color: rgba(255,255,255,0.3) !important;
}
.navbar-toggler-icon {
    filter: invert(1);
}

/* Navbar collapse background on mobile */
@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--blue-dark);
        padding: 16px;
        border-radius: 0 0 12px 12px;
        margin-top: 8px;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
}

.btn-sveep-primary {
    background: var(--saffron);
    color: var(--white) !important;
    border: none;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
    text-decoration: none;
}
.btn-sveep-primary:hover {
    background: #e55a00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,107,0,0.4);
}

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.hero-section {
    background: linear-gradient(135deg,
        #f0f6ff 0%, #e8f0fe 50%, #fff3e0 100%);
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle,
        rgba(37,99,235,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.tricolor-bar {
    display: flex;
    height: 5px;
    width: 100%;
}
.tricolor-bar .saffron { flex: 1; background: #FF9933; }
.tricolor-bar .white   { flex: 1; background: #ffffff;
                         border-top: 1px solid #ddd;
                         border-bottom: 1px solid #ddd; }
.tricolor-bar .green   { flex: 1; background: #138808; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: var(--blue-dark);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.hero-title {
    font-family: 'Noto Serif', serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: var(--blue-dark);
    line-height: 1.2;
}
.hero-subtitle {
    font-size: 16px;
    color: var(--gray-500);
    line-height: 1.8;
    max-width: 520px;
}
.btn-hero-primary {
    background: var(--blue-dark);
    color: var(--white) !important;
    padding: 14px 30px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}
.btn-hero-primary:hover {
    background: var(--blue-mid);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.btn-hero-outline {
    background: transparent;
    color: var(--blue-dark) !important;
    padding: 14px 30px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    border: 2px solid var(--blue-dark);
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}
.btn-hero-outline:hover {
    background: var(--blue-dark);
    color: var(--white) !important;
    transform: translateY(-3px);
}
.hero-stats {
    border-top: 1px solid var(--gray-200);
    padding-top: 1.5rem;
}
.hero-stat { text-align: center; }
.stat-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--blue-dark);
    font-family: 'Noto Serif', serif;
}
.stat-label {
    font-size: 13px;
    color: var(--gray-500);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.hero-image-wrap { position: relative; }
.hero-img {
    filter: drop-shadow(0 20px 40px rgba(26,60,110,0.2));
    max-height: 460px;
}
.hero-float-card {
    position: absolute;
    background: var(--white);
    padding: 10px 16px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: float 3s ease-in-out infinite;
}
.hero-float-card.card-1 {
    top: 15%;
    left: -20px;
    animation-delay: 0s;
}
.hero-float-card.card-2 {
    bottom: 20%;
    right: -10px;
    animation-delay: 1.5s;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}

/* ═══════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════ */
.section-badge {
    display: inline-block;
    background: var(--blue-light);
    color: var(--blue-mid);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}
.section-badge.light {
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
}
.section-title {
    font-family: 'Noto Serif', serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--blue-dark);
}
.how-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: var(--transition);
    height: 100%;
}
.how-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.how-step-num {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--blue-dark);
    color: var(--white);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
}
.how-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 1.2rem;
}
.how-icon-blue   { background: #dbeafe; color: #2563eb; }
.how-icon-orange { background: #fff3e0; color: #FF6B00; }
.how-icon-green  { background: #dcfce7; color: #16a34a; }
.how-icon-purple { background: #f3e8ff; color: #9333ea; }
.how-title {
    font-weight: 700;
    font-size: 16px;
    color: var(--blue-dark);
}
.how-desc {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
    margin: 0;
}
.how-arrow {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-200);
    font-size: 24px;
    z-index: 1;
}

/* ═══════════════════════════════════════
   ACTIVITIES
═══════════════════════════════════════ */
.activity-chip {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 14px 12px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--blue-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    cursor: default;
    height: 100%;
}
.activity-chip i {
    font-size: 22px;
    color: var(--blue-mid);
}
.activity-chip:hover {
    background: var(--blue-dark);
    color: var(--white);
    border-color: var(--blue-dark);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.activity-chip:hover i { color: var(--saffron); }

/* ═══════════════════════════════════════
   GALLERY PREVIEW
═══════════════════════════════════════ */
.gallery-thumb {
    display: block;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}
.gallery-thumb img {
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.gallery-thumb:hover img { transform: scale(1.05); }
.gallery-thumb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26,60,110,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    font-size: 32px;
    color: var(--white);
}
.gallery-thumb:hover .gallery-thumb-overlay { opacity: 1; }

/* ═══════════════════════════════════════
   DISTRICT STATS
═══════════════════════════════════════ */
.district-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-md);
    padding: 16px;
    transition: var(--transition);
}
.district-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-4px);
}
.district-name {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    margin-bottom: 6px;
}
.district-count {
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
}
.district-count span {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
}
.district-bar {
    height: 4px;
    background: rgba(255,255,255,0.15);
    border-radius: 2px;
    margin-top: 10px;
}
.district-bar-fill {
    height: 100%;
    background: var(--saffron);
    border-radius: 2px;
    transition: width 1s ease;
}

/* ═══════════════════════════════════════
   CTA
═══════════════════════════════════════ */
.cta-section {
    background: linear-gradient(135deg, #f0f6ff, #fff3e0);
}
.cta-icon {
    font-size: 56px;
    color: var(--saffron);
}
.cta-title {
    font-family: 'Noto Serif', serif;
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--blue-dark);
}
.cta-subtitle {
    font-size: 16px;
    color: var(--gray-500);
    max-width: 500px;
    margin: 0 auto;
}
.btn-cta-primary {
    background: var(--blue-dark);
    color: var(--white) !important;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: var(--transition);
}
.btn-cta-primary:hover {
    background: var(--blue-mid);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.btn-cta-outline {
    background: transparent;
    color: var(--blue-dark) !important;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    border: 2px solid var(--blue-dark);
    text-decoration: none;
    transition: var(--transition);
}
.btn-cta-outline:hover {
    background: var(--blue-dark);
    color: var(--white) !important;
    transform: translateY(-3px);
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.main-footer {
    background: var(--blue-dark);
    position: relative;
}
.footer-wave {
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3Cpath fill='%231a3c6e' d='M0,30 C360,60 1080,0 1440,30 L1440,60 L0,60 Z'/%3E%3C/svg%3E")
    no-repeat top center;
    background-size: cover;
    margin-top: -1px;
}
.footer-brand-name {
    font-size: 18px;
    font-weight: 800;
    color: var(--white);
}
.footer-desc {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    line-height: 1.7;
}
.footer-heading {
    color: var(--white);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--saffron);
    display: inline-block;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 8px;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}
.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: var(--transition);
}
.footer-links a:hover { color: var(--saffron); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 13px;
}
.social-links { display: flex; gap: 10px; }
.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    text-decoration: none;
    transition: var(--transition);
}
.social-link.fb { background: #1877f2; color: var(--white); }
.social-link.tw { background: #000; color: var(--white); }
.social-link.yt { background: #ff0000; color: var(--white); }
.social-link:hover { transform: translateY(-3px); opacity: 0.85; }

/* ═══════════════════════════════════════
   STICKY NAVBAR ON SCROLL
═══════════════════════════════════════ */
@media (max-width: 768px) {
    .gov-topbar .d-flex { flex-direction: column; gap: 4px !important; }
    .hero-title { font-size: 1.8rem; }
    .hero-float-card { display: none; }
    .how-arrow { display: none; }
}

.hero-carousel {
    position: relative;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-carousel-img {
    object-fit: contain;
    padding: 0px;
    box-shadow: 0 30px 70px rgba(0,0,0,0.25);
    border-radius: 16px;
}

.hero-indicators {
    bottom: -5px;
}

.hero-indicators button {
    width: 0px;
    height: 0px;
    border-radius: 0%;
    background: var(--blue-dark);
    opacity: 0.4;
}

.hero-indicators .active {
    opacity: 1;
}


/* Full screen loader */
.page-loader{
    position:fixed;
    inset:0;
    background:rgba(255,255,255,0.9);
    z-index:999999;
    display:flex;
    align-items:center;
    justify-content:center;
    visibility:hidden;
    opacity:0;
    transition:all .3s ease;
}

/* Show loader */
.page-loader.active{
    visibility:visible;
    opacity:1;
}

/* Loader box */
.loader-box{
    text-align:center;
    padding:30px 40px;
    background:#fff;
    border-radius:14px;
    box-shadow:0 10px 30px rgba(0,0,0,0.12);
}

/* Spinner */
.spinner{
    width:48px;
    height:48px;
    border:4px solid #e2e8f0;
    border-top:4px solid #1a3c6e;
    border-radius:50%;
    animation:spin 1s linear infinite;
    margin:auto;
}

@keyframes spin{
    0%{transform:rotate(0)}
    100%{transform:rotate(360deg)}
}

.loader-text{
    margin-top:12px;
    font-size:14px;
    font-weight:600;
    color:#1e293b;
}