/* home.css */

.hero {
    position: relative;
    background: var(--hero-gradient);
    overflow: hidden;
    text-align: left;
}

/* ---------- Background layers ---------- */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

/* Dot grid */
.hero-dots {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: radial-gradient(circle, rgba(255,255,255,0.8) 1px, transparent 1px);
    background-size: 32px 32px;
}

/* Ambient glow orbs */
.hero-glow {
    position: absolute;
    border-radius: 50%;
}

.hero-glow--1 {
    width: 500px;
    height: 500px;
    top: -180px;
    right: -100px;
    background: radial-gradient(circle, rgba(230, 126, 34, 0.1) 0%, transparent 70%);
}

.hero-glow--2 {
    width: 400px;
    height: 400px;
    bottom: -120px;
    left: -80px;
    background: radial-gradient(circle, rgba(39, 174, 96, 0.07) 0%, transparent 70%);
}

/* Floating background icons */
.hero-icon {
    position: absolute;
    color: rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.hi-idcard {
    width: 80px;
    height: 80px;
    top: 12%;
    left: 6%;
    transform: rotate(-8deg);
}

.hi-fingerprint {
    width: 72px;
    height: 72px;
    top: 10%;
    right: 8%;
    transform: rotate(6deg);
}

.hi-shield {
    width: 64px;
    height: 64px;
    top: 48%;
    left: 3%;
    transform: rotate(5deg);
}

.hi-phone {
    width: 58px;
    height: 58px;
    top: 42%;
    right: 4%;
    transform: rotate(-6deg);
}

.hi-link {
    width: 60px;
    height: 60px;
    bottom: 14%;
    left: 10%;
    transform: rotate(12deg);
}

.hi-download {
    width: 66px;
    height: 66px;
    bottom: 12%;
    right: 10%;
    transform: rotate(-4deg);
}

/* Hide some icons on mobile to avoid clutter */
@media (max-width: 639px) {
    .hi-shield,
    .hi-phone,
    .hi-link {
        display: none;
    }

    .hi-idcard {
        width: 56px;
        height: 56px;
        opacity: 0.7;
    }

    .hi-fingerprint {
        width: 52px;
        height: 52px;
        opacity: 0.7;
    }

    .hi-download {
        width: 50px;
        height: 50px;
        opacity: 0.7;
    }
}

/* ---------- Centered content ---------- */
.hero-container {
    position: relative;
    z-index: 2;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: var(--space-10) var(--space-4) var(--space-12);
}

@media (max-width: 639px) {
    .hero-container {
        padding: var(--space-6) var(--space-4) var(--space-8);
    }
}

@media (min-width: 1024px) {
    .hero-container {
        padding: var(--space-10) var(--space-4) var(--space-12);
    }
}

/* ---------- Heading ---------- */
.hero-heading {
    font-family: var(--font-heading, 'Lexend', system-ui, sans-serif);
    font-size: 30px;
    font-weight: var(--font-bold, 700);
    line-height: 1.18;
    color: #FFFFFF;
    letter-spacing: -0.6px;
    margin-bottom: 20px;
}

.hero-heading__accent {
    color: var(--color-saffron);
    display: inline;
}

@media (max-width: 639px) {
    .hero-heading {
        font-size: 27px;
    }
}

@media (min-width: 768px) {
    .hero-heading {
        font-size: 33px;
    }
}

/* ---------- Subtext ---------- */
.hero-sub {
    font-size: 16px;
    max-width: 700px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 30px;
}

@media (max-width: 639px) {
    .hero-sub {
        font-size: 14px;
    }
}

.hero-search {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 14px 20px;
    max-width: 750px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-lg, 12px);
    cursor: pointer;
    transition: all 0.25s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-search:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.hero-search__icon {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.45);
    display: flex;
    align-items: center;
}

.hero-search__text {
    flex: 1;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 639px) {
    .hero-search {
        padding: 12px 16px;
        gap: 10px;
        margin-bottom: 22px;
    }

    .hero-search__text {
        font-size: 13px;
    }
}

.hero-quick {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.hero-quick__label {
    font-size: 12px;
    font-weight: var(--font-semibold, 600);
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.3px;
}

.hero-quick__link {
    font-size: 12px;
    font-weight: var(--font-medium, 500);
    color: rgba(255, 255, 255, 0.55);
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full, 9999px);
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.hero-quick__link:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 639px) {
    .hero-quick {
        gap: 6px;
    }

    .hero-quick__label {
        display: none;
    }

    .hero-quick__link {
        font-size: 11px;
        padding: 4px 10px;
    }
}











/* ============================================
   QUICK ACCESS SECTION
   ============================================ */
.quick-access {
    background-color: var(--color-grey-50);
    padding: var(--space-10) 0;
}

/* Shared Inner Container */
.section-inner {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--space-4);
}

.popular-header {
    margin-bottom: var(--space-8);
}

.popular-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-4);
}

.popular-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px 4px 8px;
    background: var(--color-saffron-soft);
    border: 1px solid rgba(230, 126, 34, 0.15);
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: var(--font-semibold);
    color: var(--color-saffron);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.popular-label svg {
    flex-shrink: 0;
}

.popular-title {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--color-text-primary);
    line-height: 1.3;
    margin-bottom: 6px;
}

.popular-highlight {
    color: var(--color-saffron);
    position: relative;
}

.popular-highlight::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1px;
    height: 3px;
    background: var(--color-saffron-soft);
    border-radius: 2px;
}

.popular-desc {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    line-height: var(--leading-normal);
}

.section-view-all {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    color: var(--color-saffron);
    text-decoration: none;
    transition: color var(--transition-fast), gap var(--transition-fast);
    white-space: nowrap;
    margin-top: 4px;
}

.section-view-all:hover {
    color: var(--color-saffron-hover);
    gap: 8px;
}

.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-5);
}

@media (min-width: 640px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.access-card {
    display: flex;
    flex-direction: column;
    padding: var(--space-6);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all 0.25s ease;
    position: relative;
}

@media (max-width: 639px) {
    .access-card {
        padding: var(--space-5);
    }
}

.access-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-saffron);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.access-card:hover {
    border-color: var(--color-grey-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.access-card:hover::after {
    transform: scaleX(1);
}

/* Card Top Row */
.access-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: var(--space-4);
}

.access-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 639px) {
    .access-card-icon {
        width: 42px;
        height: 42px;
    }
}

/* Icon color variants */
.icon-blue {
    background-color: rgba(12, 39, 68, 0.08);
    color: var(--color-brand);
}

.icon-saffron {
    background-color: var(--color-saffron-soft);
    color: var(--color-saffron);
}

.icon-green {
    background-color: var(--color-green-soft);
    color: var(--color-green);
}

.access-card-arrow {
    color: var(--color-grey-300);
    transition: color 0.2s ease, transform 0.2s ease;
    margin-top: 4px;
}

.access-card:hover .access-card-arrow {
    color: var(--color-saffron);
    transform: translate(2px, -2px);
}

/* Card Content */
.access-card-title {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    color: var(--color-text-primary);
    margin-bottom: var(--space-2);
    line-height: var(--leading-tight);
}

.access-card-desc {
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: var(--color-text-muted);
    margin: 0;
    flex: 1;
}








/* ============================================
   CONTENT SECTION
   ============================================ */

.post-content {
    background-color: #fff;
    padding: 0 0 var(--space-10);
}

.gh-content > * + * {
    margin-top: var(--space-5);
}








/* ============================================
   GUIDES SECTION
   ============================================ */

.guides-section {
    background-color: var(--color-grey-50);
    padding: var(--space-10) 0;
    border-top: 1px solid var(--color-border);
}

.guides-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-5);
}

@media (min-width: 640px) {
    .guides-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .guides-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.guide-card {
    display: flex;
    flex-direction: column;
    padding: var(--space-5);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    overflow: hidden;
    transition: all 0.25s ease;
    position: relative;
}

.guide-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-saffron);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.guide-card:hover {
    border-color: var(--color-grey-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.guide-card:hover::after {
    transform: scaleX(1);
}

.guide-card-title {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    color: var(--color-text-primary);
    line-height: var(--leading-tight);
    margin: 0 0 var(--space-2);
}

.guide-card-excerpt {
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: var(--color-text-muted);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}






.tag-guide-card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: var(--space-3, 12px);
    font-size: 12px;
    color: var(--color-text-muted, #6b7280);
}

.tag-guide-card-author {
    font-weight: var(--font-medium, 500);
    color: var(--color-text-secondary, #4b5563);
}

.tag-guide-card-sep {
    color: var(--color-grey-300, #d1d5db);
}












/* ═══════════════════════════════════════════
   SECTION — WHY AADHAAR GUIDE
   ═══════════════════════════════════════════ */
.why-section {
    padding: var(--space-10) 0;
    background: var(--color-background);
}

.why-header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto var(--space-8);
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-brand);
    margin-bottom: var(--space-3);
}
.section-label svg { opacity: 0.85; }

.why-title {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: var(--font-semibold);
    color: var(--color-text-primary);
    margin-bottom: var(--space-3);
}
.section-highlight { color: var(--color-saffron); }

.why-desc {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    line-height: var(--leading-relaxed);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
}

.why-card {
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-6) var(--space-5);
    transition: box-shadow var(--transition-base), border-color var(--transition-base);
}
.why-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-grey-300);
}

.why-card-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
}
.why-card-icon.icon-brand { background: rgba(12, 39, 68, 0.08); color: var(--color-brand); }

.why-card h3 {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    color: var(--color-text-primary);
    margin-bottom: var(--space-2);
}
.why-card p {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    line-height: var(--leading-relaxed);
}

@media (max-width: 767px) {
    .why-grid { grid-template-columns: 1fr; gap: var(--space-4); }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .why-grid { grid-template-columns: repeat(2, 1fr); }
}


/* ═══════════════════════════════════════════
   SECTION — HOW WE HELP
   ═══════════════════════════════════════════ */
.help-section {
    padding: var(--space-10) 0;
    background: var(--color-surface-alt);
    border-top: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
}

.help-header {
    text-align: center;
    max-width: 580px;
    margin: 0 auto var(--space-8);
}

.help-title {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: var(--font-semibold);
    color: var(--color-text-primary);
    margin-bottom: var(--space-3);
}

.help-desc {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    line-height: var(--leading-relaxed);
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
}

.help-card {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    text-decoration: none;
    color: inherit;
    transition: box-shadow var(--transition-base), transform var(--transition-base);
}
.help-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    color: inherit;
}

.help-card-emoji {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: var(--color-saffron-soft);
}

.help-card-body h3 {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    color: var(--color-text-primary);
    margin-bottom: var(--space-1);
}
.help-card-body p {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    line-height: var(--leading-relaxed);
}

.help-card-arrow {
    flex-shrink: 0;
    margin-left: auto;
    margin-top: 2px;
    color: var(--color-text-light);
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity var(--transition-base), transform var(--transition-base);
}
.help-card:hover .help-card-arrow {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 767px) {
    .help-grid { grid-template-columns: 1fr; }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .help-grid { grid-template-columns: repeat(2, 1fr); }
}


/* ═══════════════════════════════════════════
   SECTION — WHO IS THIS FOR
   ═══════════════════════════════════════════ */
.audience-section {
    padding: var(--space-10) 0;
    background: var(--color-background);
}

.audience-inner {
    display: flex;
    align-items: center;
    gap: var(--space-12);
}

.audience-content {
    flex: 1 1 58%;
}

.audience-title {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: var(--font-semibold);
    color: var(--color-text-primary);
    margin-bottom: var(--space-3);
}

.audience-desc {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-6);
    max-width: 500px;
}

.audience-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}
.audience-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed);
}
.audience-list li svg {
    flex-shrink: 0;
    margin-top: 3px;
}
.audience-list li strong {
    color: var(--color-text-primary);
    font-weight: var(--font-semibold);
}

.audience-visual {
    flex: 1 1 38%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

.audience-stat {
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-5) var(--space-4);
    text-align: center;
    transition: box-shadow var(--transition-base);
}
.audience-stat:hover { box-shadow: var(--shadow-md); }

.audience-stat--wide {
    grid-column: 1 / -1;
}

.audience-stat-number {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-1);
}
.audience-stat-number.clr-saffron { color: var(--color-saffron); }
.audience-stat-number.clr-green   { color: var(--color-green); }
.audience-stat-number.clr-brand   { color: var(--color-brand); }

.audience-stat-label {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
}

@media (max-width: 767px) {
    .audience-inner { flex-direction: column; gap: var(--space-8); }
    .audience-visual { width: 100%; }
}