* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #14532d;
    --primary-light: #1f7a45;
    --accent: #f59e0b;
    --dark: #17201a;
    --text: #39433d;
    --muted: #6b756f;
    --background: #f7faf8;
    --white: #ffffff;
    --border: #e2e8e4;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        "Noto Sans Devanagari",
        "Segoe UI",
        Arial,
        sans-serif;

    color: var(--text);
    background: var(--background);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.header {
    height: 78px;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
}

.navbar {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--primary);
    color: white;

    border-radius: 12px;

    font-size: 17px;
    font-weight: 800;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--dark);
}

.brand-subtitle {
    font-size: 12px;
    color: var(--muted);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    transition: 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    padding: 90px 0 80px;
    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(245, 158, 11, 0.10),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #f7faf8 0%,
            #eef7f1 100%
        );

    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 70px;
}

.government-badge {
    display: inline-block;

    padding: 7px 13px;

    border-radius: 20px;

    background: #e3f3e9;
    color: var(--primary);

    font-size: 12px;
    font-weight: 700;

    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.12;
    letter-spacing: -1.5px;
    color: var(--dark);
    margin-bottom: 24px;
}

.hero h1 span {
    color: var(--primary);
}

.hero-description {
    max-width: 650px;

    font-size: 18px;
    color: var(--text);

    margin-bottom: 12px;
}

.hero-description.hindi {
    font-size: 16px;
    color: var(--muted);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;

    margin-top: 32px;
}

.btn {
    min-width: 210px;

    display: flex;
    align-items: center;
    gap: 12px;

    padding: 14px 18px;

    border-radius: 12px;

    transition:
        transform 0.2s,
        box-shadow 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--primary);
    color: white;

    box-shadow:
        0 10px 25px rgba(20, 83, 45, 0.20);
}

.btn-secondary {
    background: white;
    color: var(--dark);

    border: 1px solid var(--border);
}

.btn-icon {
    font-size: 22px;
}

.btn strong {
    display: block;
    font-size: 14px;
}

.btn small {
    display: block;
    font-size: 12px;
    opacity: 0.8;
}

.arrow {
    margin-left: auto;
    font-size: 20px;
}


/* =========================================================
   HERO VISUAL
   ========================================================= */

.hero-visual {
    position: relative;
    min-height: 460px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.main-card {
    width: 390px;

    background: white;

    border: 1px solid var(--border);
    border-radius: 24px;

    padding: 26px;

    box-shadow:
        0 30px 70px rgba(28, 54, 38, 0.14);
}

.visual-top {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-bottom: 25px;
}

.visual-icon {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #e8f5ec;
    border-radius: 15px;

    font-size: 25px;
}

.visual-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--dark);
}

.visual-subtitle {
    font-size: 12px;
    color: var(--muted);
}

.scheme-preview {
    display: flex;
    align-items: center;
    gap: 13px;

    padding: 14px;

    margin-bottom: 10px;

    border: 1px solid #edf0ee;
    border-radius: 14px;

    background: #fbfcfb;
}

.scheme-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff7e8;
    border-radius: 11px;

    font-size: 20px;
}

.scheme-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.scheme-info strong {
    font-size: 13px;
    color: var(--dark);
}

.scheme-info span {
    font-size: 11px;
    color: var(--muted);
}

.check {
    width: 24px;
    height: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #e3f3e9;
    color: var(--primary);

    font-size: 12px;
    font-weight: 800;
}

.floating-card {
    position: absolute;

    display: flex;
    align-items: center;
    gap: 10px;

    background: white;

    padding: 13px 16px;

    border-radius: 14px;

    border: 1px solid var(--border);

    box-shadow:
        0 15px 35px rgba(28, 54, 38, 0.12);
}

.floating-icon {
    font-size: 20px;
}

.floating-card strong {
    display: block;
    font-size: 13px;
}

.floating-card small {
    display: block;
    color: var(--muted);
    font-size: 10px;
}

.floating-one {
    top: 45px;
    right: 0;
}

.floating-two {
    bottom: 50px;
    left: 0;
}


/* =========================================================
   STATS
   ========================================================= */

.stats {
    background: var(--primary);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat {
    padding: 28px 15px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.15);
}

.stat:last-child {
    border-right: none;
}

.stat strong {
    display: block;
    font-size: 28px;
}

.stat span {
    font-size: 12px;
    opacity: 0.8;
}


/* =========================================================
   GENERAL SECTION
   ========================================================= */

.section {
    padding: 90px 0;
}

.section-heading {
    max-width: 650px;
    margin-bottom: 45px;
}

.section-label {
    display: inline-block;

    color: var(--primary);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.5px;

    margin-bottom: 12px;
}

.section-heading h2,
.about-section h2,
.login-box h2 {
    font-size: 34px;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: 14px;
}

.section-heading p {
    color: var(--muted);
}


/* =========================================================
   FEATURES
   ========================================================= */

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.feature-card {
    background: white;

    padding: 28px;

    border: 1px solid var(--border);
    border-radius: 18px;

    transition:
        transform 0.2s,
        box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 15px 35px rgba(28, 54, 38, 0.08);
}

.feature-icon {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #edf7f0;

    border-radius: 13px;

    font-size: 23px;

    margin-bottom: 20px;
}

.feature-card h3 {
    color: var(--dark);
    font-size: 17px;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--muted);
    font-size: 13px;
}


/* =========================================================
   ABOUT
   ========================================================= */

.about-section {
    padding: 80px 0;

    background: white;

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.about-grid p {
    color: var(--muted);
    margin-bottom: 15px;
}


/* =========================================================
   LOGIN CTA
   ========================================================= */

.login-section {
    padding: 70px 0;
}

.login-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;

    padding: 45px;

    border-radius: 25px;

    background:
        linear-gradient(
            135deg,
            #14532d,
            #1f7a45
        );

    color: white;
}

.login-box h2 {
    color: white;
}

.login-box p {
    opacity: 0.85;
}

.section-label.light {
    color: #b9e7c8;
}

.cta-button {
    display: flex;
    align-items: center;
    gap: 20px;

    background: white;
    color: var(--primary);

    padding: 14px 22px;

    border-radius: 11px;

    font-weight: 800;

    white-space: nowrap;
}

.cta-button span {
    font-size: 20px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    background: #101812;
    color: white;
}

.footer-content {
    padding: 38px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand strong {
    font-size: 16px;
}

.footer-brand p {
    font-size: 11px;
    opacity: 0.6;
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    font-size: 12px;
    opacity: 0.75;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom .container {
    padding: 18px 0;

    display: flex;
    justify-content: space-between;

    font-size: 11px;
    opacity: 0.55;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 950px) {

    .hero-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-text {
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        min-height: 420px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat:nth-child(2) {
        border-right: none;
    }

    .stat:nth-child(-n+2) {
        border-bottom: 1px solid rgba(255,255,255,0.15);
    }
}


@media (max-width: 650px) {

    .container {
        width: min(
            100% - 28px,
            1180px
        );
    }

    .header {
        height: 68px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 55px 0;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .main-card {
        width: 100%;
    }

    .floating-one {
        right: -5px;
        top: 15px;
    }

    .floating-two {
        left: -5px;
        bottom: 15px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .login-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }

    .footer-links {
        flex-wrap: wrap;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 5px;
    }
}