/* =====================================================
   SARKARI LABHKARI YOJAN
   Page-specific CSS
   Header & Footer को affect नहीं करेगा
===================================================== */

.yojana-page {
    --blue: #003366;
    --dark-blue: #001a33;
    --orange: #ff9933;
    --light-orange: #fff3e6;
    --light-blue: #eef6ff;
    --text: #172033;
    --muted: #687386;
    --white: #ffffff;
    --border: #e4eaf1;
    --shadow: 0 12px 35px rgba(0, 34, 68, 0.08);

    font-family: "Noto Sans Devanagari", "Inter", sans-serif;
    color: var(--text);
    background: #f7f9fc;
    overflow: hidden;
}

.yojana-container {
    width: min(1180px, calc(100% - 32px));
    margin: auto;
}


/* =====================================================
   HERO
===================================================== */

.yojana-hero {
    position: relative;
    padding: 75px 0;
    background:
        radial-gradient(circle at 85% 20%, rgba(255,153,51,0.14), transparent 28%),
        radial-gradient(circle at 10% 80%, rgba(0,51,102,0.08), transparent 30%),
        linear-gradient(135deg, #ffffff 0%, #f1f7ff 100%);
    border-bottom: 1px solid var(--border);
}

.yojana-hero::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255,153,51,0.08);
    right: -90px;
    top: -90px;
}

.yojana-hero .yojana-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 65px;
}

.yojana-hero-content {
    position: relative;
    z-index: 2;
}

.yojana-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 15px;
    border-radius: 50px;
    background: var(--light-orange);
    color: #c76700;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 18px;
}

.yojana-badge i {
    color: var(--orange);
}

.yojana-hero h1 {
    margin: 0;
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.15;
    color: var(--dark-blue);
    font-weight: 800;
}

.yojana-hero h1 span {
    color: var(--orange);
}

.yojana-hero h2 {
    margin: 17px 0 13px;
    font-size: clamp(20px, 2.4vw, 29px);
    color: var(--blue);
    font-weight: 700;
}

.yojana-hero p {
    max-width: 700px;
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.9;
}

.yojana-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 30px;
}

.yojana-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s ease;
}

.yojana-btn.primary {
    color: white;
    background: var(--blue);
    box-shadow: 0 8px 20px rgba(0,51,102,0.2);
}

.yojana-btn.primary:hover {
    background: var(--orange);
    transform: translateY(-3px);
}

.yojana-btn.secondary {
    color: var(--blue);
    background: white;
    border: 1px solid #d7e1ec;
}

.yojana-btn.secondary:hover {
    border-color: var(--orange);
    color: #d87500;
    transform: translateY(-3px);
}


/* =====================================================
   HERO CARD
===================================================== */

.yojana-hero-card {
    position: relative;
    padding: 35px;
    border-radius: 25px;
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(0,51,102,0.09);
    box-shadow: var(--shadow);
}

.hero-card-icon {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: var(--light-orange);
    color: var(--orange);
    font-size: 30px;
    margin-bottom: 22px;
}

.yojana-hero-card h3 {
    margin: 0 0 10px;
    font-size: 25px;
    color: var(--dark-blue);
}

.yojana-hero-card p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--muted);
}

.hero-mini-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 28px;
}

.hero-mini-stats div {
    padding: 14px 8px;
    border-radius: 13px;
    text-align: center;
    background: #f5f8fc;
}

.hero-mini-stats strong {
    display: block;
    color: var(--blue);
    font-size: 17px;
}

.hero-mini-stats span {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    color: var(--muted);
}


/* =====================================================
   SEARCH
===================================================== */

.yojana-search-section {
    margin-top: -25px;
    position: relative;
    z-index: 5;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 7px 20px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 15px;
    box-shadow: 0 12px 35px rgba(0, 25, 55, 0.10);
}

.search-box i {
    color: var(--orange);
    font-size: 20px;
}

.search-box input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    min-height: 52px;
    font-family: inherit;
    font-size: 16px;
    color: var(--text);
}

.search-box input::placeholder {
    color: #8993a4;
}

.search-hint {
    padding: 9px 5px;
    color: #7a8493;
    font-size: 12px;
}

.search-hint i {
    color: var(--blue);
    margin-right: 5px;
}


/* =====================================================
   SECTION HEADING
===================================================== */

.important-schemes {
    padding: 80px 0 70px;
}

.section-heading {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 40px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 50px;
    background: var(--light-orange);
    color: #c76700;
    font-size: 13px;
    font-weight: 700;
}

.section-heading h2 {
    margin: 13px 0 9px;
    color: var(--dark-blue);
    font-size: clamp(28px, 4vw, 40px);
}

.section-heading h2 span {
    color: var(--orange);
}

.section-heading p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}


/* =====================================================
   SCHEME GRID
===================================================== */

.scheme-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.scheme-card {
    position: relative;
    display: flex;
    gap: 16px;
    min-width: 0;
    padding: 23px;
    border-radius: 18px;
    background: white;
    border: 1px solid var(--border);
    box-shadow: 0 7px 25px rgba(0, 30, 60, 0.05);
    transition: 0.3s ease;
}

.scheme-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255,153,51,0.45);
    box-shadow: 0 16px 35px rgba(0, 35, 70, 0.10);
}

.scheme-number {
    position: absolute;
    top: 12px;
    right: 15px;
    color: #dfe6ee;
    font-size: 28px;
    font-weight: 800;
}

.scheme-icon {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    font-size: 21px;
}

.scheme-icon.agriculture {
    color: #28733b;
    background: #eaf7ed;
}

.scheme-icon.housing {
    color: #8a5b00;
    background: #fff5dc;
}

.scheme-icon.health {
    color: #d13a52;
    background: #fff0f3;
}

.scheme-icon.women {
    color: #a3429a;
    background: #faeff9;
}

.scheme-icon.energy {
    color: #b87500;
    background: #fff5dc;
}

.scheme-icon.water {
    color: #1475a8;
    background: #eaf7ff;
}

.scheme-icon.cleanliness {
    color: #237a63;
    background: #eaf8f4;
}

.scheme-icon.employment {
    color: #275ea6;
    background: #edf4ff;
}

.scheme-icon.business {
    color: #794e9d;
    background: #f5edfb;
}

.scheme-icon.skill {
    color: #ba6200;
    background: #fff1e3;
}

.scheme-icon.pension {
    color: #5e6674;
    background: #f0f2f5;
}

.scheme-icon.social {
    color: #3d6d8f;
    background: #edf5fa;
}

.scheme-icon.education {
    color: #275ea6;
    background: #edf4ff;
}

.scheme-content {
    min-width: 0;
}

.scheme-category {
    display: inline-block;
    color: var(--orange);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.scheme-content h3 {
    margin: 0 25px 8px 0;
    color: var(--dark-blue);
    font-size: 17px;
    line-height: 1.45;
}

.scheme-content p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.scheme-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 14px;
    color: var(--blue);
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
}

.scheme-link i {
    transition: 0.2s ease;
}

.scheme-link:hover {
    color: var(--orange);
}

.scheme-link:hover i {
    transform: translateX(4px);
}


/* =====================================================
   NO RESULT
===================================================== */

.no-result {
    display: none;
    padding: 50px 20px;
    text-align: center;
}

.no-result.show {
    display: block;
}

.no-result i {
    color: #b4bdc9;
    font-size: 45px;
}

.no-result h3 {
    color: var(--dark-blue);
    margin: 15px 0 5px;
}

.no-result p {
    margin: 0;
    color: var(--muted);
}


/* =====================================================
   CATEGORIES
===================================================== */

.categories-section {
    padding: 80px 0;
    background: #eef5fb;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.category-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
    border-radius: 17px;
    background: white;
    border: 1px solid #dfe7ef;
    text-decoration: none;
    transition: 0.3s ease;
}

.category-box i {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    margin-bottom: 14px;
    border-radius: 13px;
    background: var(--light-orange);
    color: var(--orange);
    font-size: 19px;
}

.category-box strong {
    color: var(--dark-blue);
    font-size: 16px;
}

.category-box span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
}

.category-box:hover {
    transform: translateY(-5px);
    border-color: rgba(255,153,51,0.45);
    box-shadow: 0 12px 30px rgba(0,35,70,0.08);
}


/* =====================================================
   INFORMATION
===================================================== */

.information-section {
    padding: 70px 0;
    background: white;
}

.information-card {
    display: grid;
    grid-template-columns: 75px 1fr;
    gap: 25px;
    padding: 35px;
    border-radius: 22px;
    background: #f7f9fc;
    border: 1px solid var(--border);
}

.information-icon {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    background: var(--light-blue);
    color: var(--blue);
    font-size: 26px;
}

.information-card h2 {
    margin: 0 0 17px;
    color: var(--dark-blue);
    font-size: 25px;
}

.information-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.information-card li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 11px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.information-card li i {
    margin-top: 5px;
    color: #2f8b50;
}


/* =====================================================
   CTA
===================================================== */

.yojana-cta {
    padding: 75px 0;
    background:
        linear-gradient(135deg, rgba(0,26,51,0.97), rgba(0,51,102,0.96));
    position: relative;
    overflow: hidden;
}

.yojana-cta::after {
    content: "";
    position: absolute;
    width: 330px;
    height: 330px;
    border-radius: 50%;
    right: -130px;
    top: -130px;
    border: 70px solid rgba(255,153,51,0.12);
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    margin: auto;
    text-align: center;
}

.cta-content > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffb35f;
    font-size: 13px;
    font-weight: 700;
}

.cta-content h2 {
    margin: 13px 0 10px;
    color: white;
    font-size: clamp(28px, 4vw, 40px);
}

.cta-content p {
    margin: 0 auto;
    max-width: 650px;
    color: rgba(255,255,255,0.75);
    line-height: 1.8;
    font-size: 15px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 25px;
    padding: 13px 22px;
    border-radius: 10px;
    background: var(--orange);
    color: white;
    text-decoration: none;
    font-weight: 800;
    transition: 0.3s ease;
}

.cta-button:hover {
    background: white;
    color: var(--blue);
    transform: translateY(-3px);
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1000px) {

    .yojana-hero .yojana-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .yojana-hero-content {
        text-align: center;
    }

    .yojana-hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .yojana-hero-buttons {
        justify-content: center;
    }

    .yojana-hero-card {
        max-width: 600px;
        width: 100%;
        margin: auto;
    }

    .scheme-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 700px) {

    .yojana-container {
        width: min(100% - 22px, 1180px);
    }

    .yojana-hero {
        padding: 50px 0 65px;
    }

    .yojana-hero h1 {
        font-size: 36px;
    }

    .yojana-hero h2 {
        font-size: 20px;
    }

    .yojana-hero p {
        font-size: 15px;
    }

    .yojana-hero-buttons {
        flex-direction: column;
    }

    .yojana-btn {
        width: 100%;
    }

    .yojana-hero-card {
        padding: 25px;
    }

    .hero-mini-stats {
        grid-template-columns: 1fr;
    }

    .important-schemes {
        padding: 55px 0;
    }

    .scheme-grid {
        grid-template-columns: 1fr;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 11px;
    }

    .category-box {
        padding: 16px;
    }

    .category-box i {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .category-box strong {
        font-size: 14px;
    }

    .category-box span {
        font-size: 11px;
    }

    .information-card {
        grid-template-columns: 1fr;
        padding: 25px;
    }

    .information-icon {
        width: 52px;
        height: 52px;
    }

    .information-card h2 {
        font-size: 21px;
    }

    .yojana-cta {
        padding: 60px 0;
    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 420px) {

    .yojana-hero h1 {
        font-size: 31px;
    }

    .category-grid {
        grid-template-columns: 1fr 1fr;
    }

    .scheme-card {
        padding: 18px;
    }

    .scheme-icon {
        flex-basis: 45px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .scheme-content h3 {
        font-size: 15px;
    }

    .scheme-content p {
        font-size: 12px;
    }

}