/* ==========================================
   BIHAR YOJNA PORTAL - PUBLIC STYLES
   File: css/style.css
   Size: ~12KB | Mobile-First | Fast Loading
   ========================================== */

/* === RESET === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* === VARIABLES === */
:root {
    --p: #E63946;
    --pd: #C1121F;
    --s: #1D3557;
    --a: #F77F00;
    --al: #FCBF49;
    --ok: #06D6A0;
    --info: #118AB2;
    --bg: #FFF8F0;
    --w: #FFF;
    --td: #1a1a2e;
    --tm: #4a4a6a;
    --tl: #8a8aaa;
    --ss: 0 2px 8px rgba(0, 0, 0, 0.08);
    --sm: 0 4px 20px rgba(0, 0, 0, 0.12);
    --sl: 0 8px 40px rgba(0, 0, 0, 0.16);
    --rs: 8px;
    --rm: 12px;
    --rl: 16px;
    --rx: 24px;
}

/* === BASE === */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans Devanagari', sans-serif;
    background: var(--bg);
    color: var(--td);
    line-height: 1.6;
    overflow-x: hidden;
}

/* === SCROLLBAR === */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--p);
    border-radius: 3px;
}

/* === ANNOUNCEMENT BAR === */
.ann-bar {
    background: linear-gradient(135deg, var(--p), var(--pd));
    color: #fff;
    padding: 8px 0;
    font-size: 0.82rem;
    overflow: hidden;
}

.ann-wrap {
    display: flex;
    align-items: center;
}

.ann-label {
    background: var(--a);
    padding: 4px 14px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.72rem;
    margin: 0 14px;
    white-space: nowrap;
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

.ann-scroll {
    display: flex;
    animation: marquee 35s linear infinite;
    white-space: nowrap;
}

.ann-scroll span {
    margin-right: 50px;
    display: flex;
    align-items: center;
    gap: 6px;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* === HEADER === */
.header {
    background: var(--w);
    box-shadow: var(--ss);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: 0.3s;
}

.header.scrolled {
    box-shadow: var(--sm);
}

.h-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--td);
}

.logo-ic {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--p), var(--pd));
    border-radius: var(--rm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    font-weight: 900;
    position: relative;
    overflow: hidden;
}

.logo-ic::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.2) 50%, transparent 60%);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.logo-t h1 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--s);
    line-height: 1.2;
}

.logo-t span {
    font-size: 0.65rem;
    color: var(--p);
    font-weight: 600;
    letter-spacing: 0.5px;
}

nav ul {
    display: flex;
    gap: 4px;
    list-style: none;
}

nav a {
    text-decoration: none;
    color: var(--tm);
    padding: 8px 14px;
    border-radius: var(--rs);
    font-weight: 500;
    font-size: 0.85rem;
    transition: 0.3s;
}

nav a:hover,
nav a.active {
    color: var(--p);
    background: rgba(230, 57, 70, 0.08);
}

.h-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-btn {
    padding: 5px 12px;
    border: 2px solid var(--s);
    border-radius: var(--rs);
    background: 0;
    color: var(--s);
    font-weight: 600;
    font-size: 0.75rem;
    cursor: pointer;
    font-family: inherit;
    transition: 0.3s;
}

.lang-btn:hover {
    background: var(--s);
    color: #fff;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    border: 0;
    background: 0;
}

.hamburger span {
    width: 22px;
    height: 2.5px;
    background: var(--td);
    border-radius: 2px;
    transition: 0.3s;
}

/* === HERO === */
.hero {
    background: linear-gradient(135deg, #1D3557, #457B9D 50%, #1D3557);
    padding: 50px 16px 70px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}

.hero-deco {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
}

.hero-deco:nth-child(1) {
    width: 350px;
    height: 350px;
    top: -80px;
    right: -80px;
}

.hero-deco:nth-child(2) {
    width: 250px;
    height: 250px;
    bottom: -60px;
    left: -60px;
}

.hero-inner {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 7px 18px;
    border-radius: 50px;
    color: var(--al);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-badge i {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.hero h2 {
    font-size: 2.4rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 14px;
    line-height: 1.2;
}

.hero h2 .hl {
    color: var(--al);
}

.hero > div > p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.8;
}

/* === SEARCH === */
.search-c {
    max-width: 640px;
    margin: 0 auto 32px;
}

.search-box {
    display: flex;
    background: #fff;
    border-radius: 60px;
    overflow: hidden;
    box-shadow: var(--sl);
    border: 3px solid transparent;
    transition: 0.3s;
}

.search-box:focus-within {
    border-color: var(--a);
    box-shadow: 0 8px 40px rgba(247, 127, 0, 0.3);
}

.search-box input {
    flex: 1;
    padding: 16px 24px;
    border: 0;
    font-size: 0.95rem;
    color: var(--td);
    font-family: inherit;
    background: 0;
}

.search-box input:focus {
    outline: 0;
}

.search-box input::placeholder {
    color: var(--tl);
}

.search-box button {
    padding: 16px 28px;
    background: linear-gradient(135deg, var(--p), var(--pd));
    border: 0;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
    transition: 0.3s;
}

.search-box button:hover {
    opacity: 0.9;
}

.search-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.s-tag {
    padding: 5px 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
}

.s-tag:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* === STATS === */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 850px;
    margin: 0 auto;
}

.stat {
    text-align: center;
    padding: 14px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--rm);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-n {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--al);
    display: block;
}

.stat-l {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 2px;
}

/* === SECTION === */
.section {
    max-width: 1280px;
    margin: 50px auto;
    padding: 0 16px;
}

.s-head {
    text-align: center;
    margin-bottom: 36px;
}

.s-head .sub {
    color: var(--p);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.s-head h2 {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--s);
    margin-bottom: 10px;
}

.s-head p {
    color: var(--tm);
    max-width: 560px;
    margin: 0 auto;
    font-size: 0.9rem;
}

/* === ELIGIBILITY CHECKER === */
.elig {
    max-width: 1280px;
    margin: -36px auto 0;
    padding: 0 16px;
    position: relative;
    z-index: 10;
}

.elig-card {
    background: #fff;
    border-radius: var(--rx);
    box-shadow: var(--sl);
    overflow: hidden;
}

.elig-top {
    background: linear-gradient(135deg, var(--a), var(--al));
    padding: 20px 28px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.elig-top i {
    font-size: 1.8rem;
    color: #fff;
}

.elig-top h3 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
}

.elig-top p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
}

.elig-form {
    padding: 28px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    align-items: end;
}

/* === FORM GROUP === */
.fg {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.fg label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--tm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fg select,
.fg input {
    padding: 11px 14px;
    border: 2px solid #e8e8f0;
    border-radius: var(--rs);
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--td);
    transition: 0.3s;
    background: #fff;
}

.fg select:focus,
.fg input:focus {
    outline: 0;
    border-color: var(--a);
    box-shadow: 0 0 0 3px rgba(247, 127, 0, 0.1);
}

.ck-btn {
    padding: 11px 24px;
    background: linear-gradient(135deg, var(--p), var(--pd));
    color: #fff;
    border: 0;
    border-radius: var(--rs);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 46px;
    transition: 0.3s;
}

.ck-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--sm);
}

/* === RESULTS === */
.results {
    padding: 20px 28px 28px;
    display: none;
}

.results.show {
    display: block;
    animation: fadeUp 0.5s ease;
}

.res-count {
    padding: 12px 18px;
    background: #e8f5e9;
    border-radius: var(--rs);
    color: #2e7d32;
    font-weight: 600;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.res-count.warn {
    background: #FFF3E0;
    color: #E65100;
}

.r-card {
    border: 2px solid #f0f0f5;
    border-radius: var(--rm);
    padding: 18px;
    margin-bottom: 14px;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.r-card:hover {
    border-color: var(--p);
    box-shadow: var(--ss);
    transform: translateX(4px);
}

.r-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, var(--p), var(--pd));
}

.r-card-h {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 6px;
}

.r-card h4 {
    font-size: 1.05rem;
    color: var(--s);
    font-weight: 700;
}

/* === SCHEME TAGS === */
.stag {
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.stag-scholarship,
.stag-tag-scholarship {
    background: #E3F2FD;
    color: #1565C0;
}

.stag-financial,
.stag-tag-financial {
    background: #FFF3E0;
    color: #E65100;
}

.stag-farmer,
.stag-tag-farmer {
    background: #E8F5E9;
    color: #2E7D32;
}

.stag-women,
.stag-tag-women {
    background: #FCE4EC;
    color: #C62828;
}

.stag-housing,
.stag-tag-housing {
    background: #F3E5F5;
    color: #6A1B9A;
}

.stag-health,
.stag-tag-health {
    background: #E0F7FA;
    color: #00838F;
}

.r-card > p {
    color: var(--tm);
    font-size: 0.85rem;
    margin-bottom: 10px;
    line-height: 1.6;
}

.r-card-f {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.benefit {
    font-weight: 800;
    color: var(--ok);
    font-size: 1.05rem;
}

.r-actions {
    display: flex;
    gap: 6px;
}

.btn-a {
    padding: 7px 16px;
    background: linear-gradient(135deg, var(--p), var(--pd));
    color: #fff;
    border: 0;
    border-radius: var(--rs);
    font-family: inherit;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    text-decoration: none;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
}

.btn-a:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-d {
    padding: 7px 16px;
    background: 0;
    color: var(--s);
    border: 2px solid var(--s);
    border-radius: var(--rs);
    font-family: inherit;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: 0.3s;
}

.btn-d:hover {
    background: var(--s);
    color: #fff;
}

/* === CATEGORIES === */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
}

.cat-card {
    background: #fff;
    border-radius: var(--rl);
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    transition: 0.4s;
    box-shadow: var(--ss);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.cat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, var(--p), var(--pd));
    transform: scaleX(0);
    transition: 0.3s;
}

.cat-card:hover::after {
    transform: scaleX(1);
}

.cat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sl);
}

.cat-ic {
    width: 56px;
    height: 56px;
    border-radius: var(--rm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 12px;
    transition: 0.3s;
}

.cat-card:hover .cat-ic {
    transform: scale(1.1) rotate(5deg);
}

.c-edu {
    background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
    color: #1565C0;
}

.c-far {
    background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
    color: #2E7D32;
}

.c-wom {
    background: linear-gradient(135deg, #FCE4EC, #F8BBD0);
    color: #C62828;
}

.c-job {
    background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
    color: #E65100;
}

.c-hel {
    background: linear-gradient(135deg, #E0F7FA, #B2EBF2);
    color: #00838F;
}

.c-hou {
    background: linear-gradient(135deg, #F3E5F5, #E1BEE7);
    color: #6A1B9A;
}

.c-pen {
    background: linear-gradient(135deg, #FFF8E1, #FFECB3);
    color: #F57F17;
}

.c-sc {
    background: linear-gradient(135deg, #EFEBE9, #D7CCC8);
    color: #4E342E;
}

.cat-card h3 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--td);
    margin-bottom: 4px;
}

.cat-card .cnt {
    font-size: 0.7rem;
    color: var(--tl);
}

/* === SCHEME CARDS === */
.sch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.sch-card {
    background: #fff;
    border-radius: var(--rl);
    overflow: hidden;
    box-shadow: var(--ss);
    transition: 0.4s;
    border: 1px solid #f0f0f5;
    cursor: pointer;
}

.sch-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sl);
}

.sch-top {
    padding: 20px 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.sch-ic {
    width: 48px;
    height: 48px;
    border-radius: var(--rm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.sch-st {
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 700;
    white-space: nowrap;
}

.st-active {
    background: #E8F5E9;
    color: #2E7D32;
}

.st-closed {
    background: #FCE4EC;
    color: #C62828;
}

.sch-body {
    padding: 16px 20px;
}

.sch-body h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--s);
    margin-bottom: 6px;
    line-height: 1.4;
}

.sch-body p {
    color: var(--tm);
    font-size: 0.82rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.sch-hl {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.sch-h {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    color: var(--tm);
    background: var(--bg);
    padding: 3px 10px;
    border-radius: 50px;
}

.sch-h i {
    color: var(--ok);
    font-size: 0.65rem;
}

.sch-foot {
    padding: 14px 20px;
    border-top: 1px solid #f0f0f5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sch-ben {
    font-weight: 800;
    color: var(--p);
    font-size: 1.05rem;
}

.sch-lk {
    color: var(--info);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: 0.3s;
}

.sch-lk:hover {
    gap: 10px;
    color: var(--p);
}

/* === JOBS === */
.jobs-list {
    display: grid;
    gap: 14px;
}

.job-card {
    background: #fff;
    border-radius: var(--rm);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--ss);
    transition: 0.3s;
    border-left: 4px solid var(--info);
    cursor: pointer;
}

.job-card:hover {
    box-shadow: var(--sm);
    transform: translateX(4px);
}

.job-card.new {
    border-left-color: var(--p);
}

.job-ic {
    width: 48px;
    height: 48px;
    border-radius: var(--rm);
    background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1565C0;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.job-info {
    flex: 1;
    min-width: 0;
}

.job-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--s);
    margin-bottom: 4px;
}

.job-info p {
    font-size: 0.8rem;
    color: var(--tm);
}

.job-meta {
    display: flex;
    gap: 12px;
    margin-top: 6px;
    font-size: 0.72rem;
    color: var(--tl);
    flex-wrap: wrap;
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.new-badge {
    padding: 2px 8px;
    background: var(--p);
    color: #fff;
    border-radius: 50px;
    font-size: 0.6rem;
    font-weight: 700;
    margin-left: 6px;
}

/* === STEPS === */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
}

.step {
    text-align: center;
    padding: 28px 20px;
}

.step-n {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--p), var(--pd));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 900;
    margin: 0 auto 16px;
    box-shadow: 0 4px 16px rgba(230, 57, 70, 0.3);
}

.step h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--s);
    margin-bottom: 6px;
}

.step p {
    color: var(--tm);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* === DISTRICTS === */
.dist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}

.dist-btn {
    padding: 10px 14px;
    background: #fff;
    border: 2px solid #f0f0f5;
    border-radius: var(--rs);
    text-align: center;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--td);
    cursor: pointer;
    transition: 0.3s;
}

.dist-btn:hover {
    border-color: var(--p);
    color: var(--p);
    background: rgba(230, 57, 70, 0.05);
    transform: translateY(-2px);
}

/* === HELPLINE === */
.helpline {
    background: linear-gradient(135deg, var(--s), #457B9D);
    padding: 50px 16px;
    margin-top: 50px;
}

.help-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.help-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--rl);
    padding: 24px;
    transition: 0.3s;
}

.help-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.help-card i {
    font-size: 1.8rem;
    color: var(--al);
    margin-bottom: 12px;
}

.help-card h3 {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.help-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.82rem;
    margin-bottom: 14px;
}

.help-num {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: var(--rs);
    color: var(--al);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: 0.3s;
}

.help-num:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* === FOOTER === */
.footer {
    background: #0a0a1a;
    color: rgba(255, 255, 255, 0.7);
    padding: 50px 16px 0;
}

.disclaimer {
    background: rgba(230, 57, 70, 0.1);
    border: 1px solid rgba(230, 57, 70, 0.2);
    border-radius: var(--rs);
    padding: 12px 18px;
    margin: 0 auto 28px;
    max-width: 1280px;
    font-size: 0.75rem;
    line-height: 1.6;
}

.disclaimer strong {
    color: var(--p);
}

.f-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 36px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.f-brand h3 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.f-brand p {
    font-size: 0.85rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.social {
    display: flex;
    gap: 10px;
}

.social a {
    width: 36px;
    height: 36px;
    border-radius: var(--rs);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.social a:hover {
    background: var(--p);
    transform: translateY(-3px);
}

.f-links h4 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.f-links a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    padding: 3px 0;
    font-size: 0.82rem;
    transition: 0.3s;
}

.f-links a:hover {
    color: var(--al);
    padding-left: 6px;
}

.f-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.75rem;
}

/* === MODAL === */
.modal-ov {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.modal-ov.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-c {
    background: #fff;
    border-radius: var(--rx);
    max-width: 680px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    animation: slideUp 0.4s ease;
}

.modal-h {
    padding: 22px 24px;
    background: linear-gradient(135deg, var(--s), #457B9D);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-radius: var(--rx) var(--rx) 0 0;
    position: sticky;
    top: 0;
    z-index: 5;
}

.modal-h h2 {
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.4;
    flex: 1;
}

.modal-x {
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.2);
    border: 0;
    border-radius: 50%;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 14px;
    flex-shrink: 0;
    transition: 0.3s;
}

.modal-x:hover {
    background: rgba(255, 255, 255, 0.3);
}

.modal-b {
    padding: 24px;
}

.modal-ig {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 20px;
}

.modal-ii {
    background: var(--bg);
    padding: 14px;
    border-radius: var(--rs);
}

.modal-ii label {
    font-size: 0.7rem;
    color: var(--tl);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.modal-ii p {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--td);
    margin-top: 3px;
}

.modal-s {
    margin-bottom: 20px;
}

.modal-s h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--s);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.modal-s ul {
    list-style: none;
}

.modal-s li {
    padding: 7px 0 7px 22px;
    position: relative;
    color: var(--tm);
    font-size: 0.85rem;
    line-height: 1.6;
    border-bottom: 1px solid #f5f5f5;
}

.modal-s li:last-child {
    border: 0;
}

.modal-s li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--ok);
    font-weight: 700;
}

.modal-s p {
    color: var(--tm);
    line-height: 1.8;
}

.modal-act {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.m-btn-p {
    flex: 1;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--p), var(--pd));
    color: #fff;
    border: 0;
    border-radius: var(--rs);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: 0.3s;
}

.m-btn-p:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.m-btn-w {
    padding: 12px 18px;
    background: #25D366;
    color: #fff;
    border: 0;
    border-radius: var(--rs);
    font-family: inherit;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: 0.3s;
}

.m-btn-w:hover {
    opacity: 0.9;
}

/* === FLOATING BUTTONS === */
.btt {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, var(--p), var(--pd));
    color: #fff;
    border: 0;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: var(--sl);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 999;
}

.btt.show {
    opacity: 1;
    visibility: visible;
}

.btt:hover {
    transform: translateY(-4px);
}

.wa-float {
    position: fixed;
    bottom: 28px;
    left: 28px;
    z-index: 999;
}

.wa-btn {
    width: 52px;
    height: 52px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: 0.3s;
    animation: waPulse 2s infinite;
}

@keyframes waPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.wa-btn:hover {
    transform: scale(1.1);
}

/* === TOAST === */
.toast {
    position: fixed;
    top: 74px;
    right: 16px;
    padding: 14px 20px;
    background: #fff;
    border-radius: var(--rm);
    box-shadow: var(--sl);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 3000;
    transform: translateX(120%);
    transition: 0.4s;
    max-width: 340px;
    border-left: 4px solid var(--ok);
    font-size: 0.85rem;
}

.toast.show {
    transform: translateX(0);
}

.toast i {
    font-size: 1.2rem;
    color: var(--ok);
}

/* === SPINNER === */
.spinner {
    display: none;
    width: 36px;
    height: 36px;
    border: 4px solid #f0f0f5;
    border-top: 4px solid var(--p);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 18px auto;
}

.spinner.show {
    display: block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* === ANIMATIONS === */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === LOADING BAR === */
.loading-bar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 9999;
    overflow: hidden;
    background: rgba(230, 57, 70, 0.1);
}

.loading-bar.show {
    display: block;
}

.loading-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: var(--p);
    animation: loadBar 1.5s ease infinite;
}

@keyframes loadBar {
    0% { left: -50%; }
    100% { left: 100%; }
}

/* === RESPONSIVE === */
@media (max-width: 968px) {
    nav ul {
        display: none;
        position: fixed;
        top: 90px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 16px;
        box-shadow: var(--sl);
        gap: 4px;
        z-index: 999;
    }

    nav ul.show {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hero h2 {
        font-size: 1.6rem;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .f-grid {
        grid-template-columns: 1fr 1fr;
    }

    .sch-grid {
        grid-template-columns: 1fr;
    }

    .modal-ig {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .h-inner {
        height: 56px;
    }

    .logo-ic {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }

    .logo-t h1 {
        font-size: 1rem;
    }

    .logo-t span {
        display: none;
    }

    .hero {
        padding: 32px 14px 50px;
    }

    .hero h2 {
        font-size: 1.35rem;
    }

    .hero > div > p {
        font-size: 0.9rem;
    }

    .search-box {
        flex-direction: column;
        border-radius: var(--rl);
    }

    .search-box input {
        border-bottom: 1px solid #eee;
    }

    .search-box button {
        border-radius: 0 0 var(--rm) var(--rm);
        justify-content: center;
    }

    .stats {
        gap: 10px;
    }

    .stat-n {
        font-size: 1.3rem;
    }

    .elig-form {
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .elig-top {
        padding: 16px;
    }

    .elig-top i {
        font-size: 1.4rem;
    }

    .elig-top h3 {
        font-size: 1rem;
    }

    .cat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .cat-card {
        padding: 18px 10px;
    }

    .cat-ic {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    .s-head h2 {
        font-size: 1.35rem;
    }

    .f-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .lang-btn {
        display: none;
    }

    .dist-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .modal-act {
        flex-direction: column;
    }

    .modal-h h2 {
        font-size: 1rem;
    }

    .job-card {
        flex-direction: column;
        text-align: center;
    }

    .job-ic {
        margin: 0 auto;
    }

    .job-meta {
        justify-content: center;
    }

    .sch-top {
        flex-direction: column;
        gap: 8px;
    }

    .footer {
        padding: 30px 16px 0;
    }
}
/* ===== ABOUT PAGE ===== */
.hero-sm {
    padding: 120px 20px 80px;
    text-align: center;
}

.about-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.about-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.about-card:hover {
    transform: translateY(-5px);
}

.about-ic {
    width: 70px;
    height: 70px;
    background: var(--al);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
    margin: 0 auto 20px;
}

.about-card h3 {
    text-align: center;
    margin-bottom: 16px;
    font-size: 24px;
}

.about-card p {
    line-height: 1.8;
    color: var(--tl);
}

.about-list {
    list-style: none;
    padding: 0;
}

.about-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 16px;
}

.about-list li:last-child {
    border-bottom: none;
}

.about-list i {
    color: var(--al);
    margin-right: 10px;
}

.story-card {
    background: linear-gradient(135deg, var(--al), var(--ac));
    color: #fff;
}

.story-card h3,
.story-card p {
    color: #0c0c0c;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.team-member {
    text-align: center;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
}

.team-avatar {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 24px;
}

.team-member h4 {
    margin-bottom: 8px;
}

.team-member p {
    font-size: 14px;
    opacity: 0.9;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.about-stat {
    text-align: center;
    padding: 24px;
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.about-stat-n {
    font-size: 36px;
    font-weight: 800;
    color: var(--al);
    margin-bottom: 8px;
}

.about-stat-l {
    color: var(--tl);
    font-size: 14px;
}

/* ===== PRIVACY PAGE ===== */
.privacy-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.privacy-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
}

.privacy-header {
    text-align: center;
    margin-bottom: 30px;
}

.privacy-header i {
    font-size: 48px;
    color: var(--al);
    margin-bottom: 16px;
}

.privacy-header h3 {
    font-size: 28px;
    margin-bottom: 8px;
}

.privacy-date {
    color: var(--tl);
    font-size: 14px;
}

.privacy-intro {
    line-height: 1.8;
    color: var(--tl);
    margin-bottom: 30px;
}

.privacy-section {
    margin-bottom: 30px;
}

.privacy-section:last-child {
    margin-bottom: 0;
}

.privacy-section > i {
    font-size: 32px;
    color: var(--al);
    margin-bottom: 12px;
    display: block;
}

.privacy-section h3 {
    font-size: 22px;
    margin-bottom: 16px;
}

.privacy-content {
    line-height: 1.8;
    color: var(--tl);
}

.privacy-content ul {
    padding-left: 20px;
}

.privacy-content li {
    margin-bottom: 10px;
}

.privacy-content strong {
    color: var(--t);
}

.privacy-email {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--al);
    color: #fff;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    margin-top: 16px;
    transition: all 0.3s;
}

.privacy-email:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.contact-card.contact-card {
    background: var(--card-bg);
}

/* ===== CONTACT PAGE ===== */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 24px;
}

.contact-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-card.big-card {
    background: linear-gradient(135deg, var(--al), var(--ac));
    color: #fff;
}

.contact-card.big-card h3,
.contact-card.big-card p {
    color: #fff;
}

.contact-icon,
.contact-icon-big {
    width: 70px;
    height: 70px;
    background: var(--al);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
    margin: 0 auto 20px;
}

.contact-card.big-card .contact-icon-big {
    background: rgba(255,255,255,0.2);
    width: 90px;
    height: 90px;
    font-size: 40px;
}

.contact-card h3 {
    margin-bottom: 12px;
    font-size: 24px;
}

.contact-card p {
    color: var(--tl);
    margin-bottom: 20px;
}

.contact-email-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: var(--al);
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.3s;
}

.contact-email-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.contact-note {
    margin-top: 16px !important;
    font-size: 14px !important;
    opacity: 0.9;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--al);
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    margin: 10px 0;
    transition: all 0.3s;
}

.contact-link:hover {
    transform: scale(1.05);
}

.contact-link small {
    display: block;
    color: var(--tl);
    font-weight: 400;
    font-size: 13px;
    margin-top: 8px;
}

.whatsapp-link {
    background: #25D366;
    color: #fff !important;
    padding: 12px 24px;
    border-radius: 12px;
}

.contact-side {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s;
}

.social-link:hover {
    transform: translateX(5px);
}

.social-link.facebook { background: #1877F2; }
.social-link.youtube { background: #FF0000; }
.social-link.telegram { background: #0088cc; }
.social-link.instagram { background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); }

.social-link i {
    font-size: 24px;
}

.faq-list {
    list-style: none;
    padding: 0;
}

.faq-list li {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.faq-list li:last-child {
    border-bottom: none;
}

.faq-list strong {
    display: block;
    margin-bottom: 8px;
    color: var(--t);
}

.faq-list p {
    font-size: 14px;
    color: var(--tl);
}

.contact-card.full-width {
    grid-column: 1 / -1;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.method-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg);
    border-radius: 12px;
    text-decoration: none;
    color: var(--t);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.method-btn:hover {
    border-color: var(--al);
    transform: translateY(-3px);
}

.method-btn i {
    font-size: 32px;
    color: var(--al);
}

.method-btn strong {
    display: block;
    margin-bottom: 4px;
}

.method-btn small {
    color: var(--tl);
    font-size: 13px;
}

/* Responsive */
@media (max-width: 968px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-side {
        order: -1;
    }
}
/* inner pages ke liye */
.fade-in{
  opacity: 1 !important;
  transform: none !important;
}
/* Footer 3 link sections in one row on mobile/tablet */
@media (max-width: 768px) {
    .footer .f-grid {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 22px 12px !important;
        align-items: start !important;
    }

    /* Brand section full width rahe */
    .footer .f-brand {
        grid-column: 1 / -1 !important;
    }

    .footer .f-links {
        min-width: 0 !important;
    }

    .footer .f-links h4 {
        font-size: 16px !important;
        line-height: 1.2 !important;
        margin-bottom: 14px !important;
        white-space: nowrap;
    }

    .footer .f-links a {
        font-size: 14px !important;
        line-height: 1.4 !important;
        margin-bottom: 10px !important;
        word-break: break-word;
    }
}

/* Very small mobile ke liye */
@media (max-width: 380px) {
    .footer .f-grid {
        gap: 18px 8px !important;
    }

    .footer .f-links h4 {
        font-size: 14px !important;
    }

    .footer .f-links a {
        font-size: 12px !important;
    }
}