/* ============================================
   InfoSetu - Custom Styles
   Author: InfoSetu
   Government Scheme Information Portal
   ============================================ */

/* CSS Variables */
:root {
    --brand-50: #f0f9ff;
    --brand-100: #e0f2fe;
    --brand-500: #0ea5e9;
    --brand-600: #0284c7;
    --brand-700: #0369a1;
    --brand-900: #0c4a6e;

    /* Secondary / Accent - Deep Blue/Indigo */
    --accent-500: #6366f1;
    --accent-600: #4f46e5;
    --accent-700: #4338ca;

    --success-50: #f0fdf4;
    --success-500: #22c55e;
    --success-600: #16a34a;

    --warning-50: #fffbeb;
    --warning-100: #fef3c7;
    --warning-500: #f59e0b;
    --warning-600: #d97706;

    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    --font-hindi: 'Poppins', 'Noto Sans Devanagari', sans-serif;
    --font-heading: 'Poppins', 'Outfit', sans-serif;

    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-blur: 12px;

    /* User Defined Gradients */
    --gradient-primary: linear-gradient(135deg, #8F11DB 0%, #AC44F2 100%);
    --gradient-vibrant: linear-gradient(135deg, #F28585 0%, #F6E67D 100%);
    --gradient-multi: linear-gradient(135deg, #8F11DB 0%, #AC44F2 50%, #F28585 100%);
    --gradient-soft: linear-gradient(135deg, rgba(143, 17, 219, 0.05) 0%, rgba(246, 230, 125, 0.05) 100%);
    --gradient-premium: linear-gradient(135deg, #8F11DB 0%, #F28585 100%);
    --gradient-surface: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(143, 17, 219, 0.02) 100%);
}

/* Base Styles */
html,
body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    max-width: 100%;
}

body {
    font-family: var(--font-hindi);
    background-color: var(--gray-50);
    color: var(--gray-800);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Disclaimer Bar */
.disclaimer-bar {
    background-color: var(--warning-100);
    border-bottom: 1px solid var(--warning-500);
    color: var(--warning-900);
    font-size: 0.8125rem;
    padding: 0.75rem 1rem;
}

.disclaimer-bar .icon {
    color: var(--warning-600);
}

/* Header */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.35rem 0;
    z-index: 1030;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.site-header .navbar-brand {
    font-weight: 800;
    font-size: 1.1rem;
    font-family: var(--font-heading);
    color: var(--gray-900);
    letter-spacing: -0.01em;
}

.site-header .navbar-brand .brand-icon {
    background: var(--gradient-primary);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.625rem;
    box-shadow: 0 4px 10px rgba(143, 17, 219, 0.2);
    font-size: 1rem;
}

.site-header .navbar-brand .brand-tagline {
    font-size: 0.6rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: block;
    font-weight: 600;
    margin-top: -2px;
}

.site-header .nav-link {
    color: var(--gray-700);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.4rem 1rem !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-radius: var(--radius-sm);
}

.site-header .nav-link:hover {
    color: var(--brand-600);
    background: rgba(14, 165, 233, 0.05);
}

.site-header .nav-link.active {
    color: var(--brand-700);
}

.site-header .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 50px;
}

.btn-help {
    background: var(--gradient-primary);
    color: #fff !important;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.5rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(143, 17, 219, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-help:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(143, 17, 219, 0.3);
    color: #fff !important;
}

.btn-help .badge {
    background: rgba(255, 255, 255, 0.15) !important;
    font-size: 0.625rem;
    font-weight: 800;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler {
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    background: rgba(14, 165, 233, 0.05);
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--brand-700) 0%, var(--accent-700) 100%);
    color: #fff;
    padding: 5rem 1rem;
    border-radius: 0 0 var(--radius-2xl) var(--radius-2xl);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 40%;
    height: 80%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 30%;
    height: 60%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
}

.hero-section h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.hero-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.hero-search {
    position: relative;
    max-width: 540px;
    margin: 0 auto;
}

.hero-search .form-control {
    padding: 1rem 1rem 1rem 3rem;
    border-radius: 50px;
    border: none;
    font-size: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.hero-search .form-control:focus {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15), 0 0 0 4px rgba(14, 165, 233, 0.3);
}

.hero-search .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
}

/* Section Titles */
.section-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--gray-900);
    padding-left: 1.25rem;
    position: relative;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 6px;
    background: var(--gradient-primary);
    border-radius: 50px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 1.25rem;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 50px;
    opacity: 0.5;
}

/* Stats Card */
.stats-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.text-brand-700 {
    color: var(--brand-700);
}

/* Glassmorphism */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
}

/* Category Cards */
.category-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.category-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
    background: linear-gradient(to bottom, #fff, var(--brand-50));
}

.category-card .icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: transform 0.3s ease;
}

.category-card:hover .icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.category-card span {
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--gray-800);
}

/* Scheme Cards */
.scheme-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.scheme-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: transparent;
    background: var(--gradient-surface);
    transform: translateY(-4px);
}

.scheme-card .card-body {
    padding: 1.5rem;
    flex-grow: 1;
}

.scheme-card .badge-status {
    font-size: 0.625rem;
    text-transform: uppercase;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 50px;
}

.scheme-card .badge-active {
    background: var(--success-50);
    color: var(--success-600);
}

.scheme-card .badge-state {
    background: #fdf2f8;
    color: #db2777;
}

.scheme-card .badge-loan {
    background: var(--brand-50);
    color: var(--brand-600);
}

.scheme-card h5 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.scheme-card p {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.scheme-card .card-footer {
    background: var(--gray-50);
    border-top: 1px solid var(--gray-100);
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.scheme-card .card-footer .update-time {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.scheme-card .card-footer .read-more {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--brand-600);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.scheme-card .card-footer .read-more:hover {
    text-decoration: underline;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--brand-50) 0%, #fff 100%);
    border: 1px solid var(--brand-200);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
}

.cta-banner h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--brand-900);
    margin-bottom: 0.25rem;
}

.cta-banner p {
    font-size: 0.875rem;
    color: var(--brand-600);
    margin-bottom: 1.25rem;
}

.cta-banner .btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 0.85rem 2.25rem;
    border-radius: 50px;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 8px 16px rgba(14, 165, 233, 0.25);
    transition: all 0.3s ease;
}

.cta-banner .btn-primary:hover {
    background: var(--brand-700);
    transform: scale(1.02);
}

/* Sidebar Widgets */
.sidebar-widget {
    background: #fff;
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.sidebar-widget.whatsapp {
    border-color: #dcfce7;
}

.sidebar-widget .widget-header {
    background: var(--gradient-surface);
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--gray-900);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-widget .widget-body {
    padding: 1rem;
}

.sidebar-widget .update-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-100);
    cursor: pointer;
    transition: background 0.2s;
}

.sidebar-widget .update-item:last-child {
    border-bottom: none;
}

.sidebar-widget .update-item:hover {
    background: var(--gray-50);
    margin: 0 -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.sidebar-widget .update-item p {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-800);
    margin-bottom: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-widget .update-item .time {
    font-size: 0.625rem;
    color: var(--gray-400);
}

/* Quick Links Tags */
.quick-links .tag {
    display: inline-block;
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    margin: 0.125rem;
    cursor: pointer;
    transition: background 0.2s;
}

.quick-links .tag:hover {
    background: var(--gray-200);
}

/* Ad Slots */
.ad-slot {
    background: var(--gray-100);
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: 0.75rem;
    font-family: monospace;
}

.ad-slot.horizontal {
    height: 90px;
    margin-bottom: 1.5rem;
}

.ad-slot.vertical {
    height: 250px;
}

/* WhatsApp Widget */
.btn-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #ffffff;
    border: none;
    border-radius: 0.5rem;
    font-weight: 700;
    width: 100%;
    padding: 0.625rem 1rem;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #128c7e 0%, #0d6d5f 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transform: translateY(-1px);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: floatBounce 3s ease-in-out infinite;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.3);
    animation: ripple 2s ease-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.15) rotate(5deg);
    background: linear-gradient(135deg, #128c7e 0%, #25d366 100%);
    color: #fff;
    box-shadow: 0 10px 35px rgba(37, 211, 102, 0.5);
}

@keyframes floatBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 28px;
        bottom: 20px;
        right: 20px;
    }
}

.hover-white:hover {
    color: #fff !important;
}

/* Site Header Responsive Fixes */
@media (max-width: 991.98px) {
    .site-header {
        padding: 0.2rem 0;
    }

    .site-header .navbar-brand img {
        height: 28px !important;
    }

    .navbar-collapse {
        background: #fff;
        margin-top: 0.5rem;
        padding: 0.8rem;
        border-radius: var(--radius-md);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .site-header .nav-link {
        padding: 0.5rem 1rem !important;
        margin-bottom: 0.1rem;
        font-size: 0.8rem;
    }

    .site-header .nav-link.active::after {
        display: none;
    }

    .site-header .nav-link.active {
        background: rgba(14, 165, 233, 0.05);
    }
}

/* Footer Enhancements */
.site-footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 3rem 0 1.5rem;
}

.site-footer h5 {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.site-footer a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.site-footer a:hover {
    color: #fff;
}

.site-footer .footer-brand {
    display: flex;
    align-items: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.site-footer .footer-brand svg {
    color: var(--brand-500);
    margin-right: 0.5rem;
}

.site-footer .footer-bottom {
    border-top: 1px solid var(--gray-800);
    margin-top: 2rem;
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.75rem;
    color: var(--gray-600);
}

/* Scheme Detail Page */
.breadcrumb-nav {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
}

.breadcrumb-nav a {
    color: var(--gray-500);
    text-decoration: none;
}

.breadcrumb-nav a:hover {
    color: var(--brand-600);
}

.breadcrumb-nav .separator {
    margin: 0 0.25rem;
}

.article-card {
    background: #fff;
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .article-card {
        padding: 2rem;
    }
}

.article-card .article-header {
    border-bottom: 1px solid var(--gray-100);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.article-card .article-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.4;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .article-card .article-header h1 {
        font-size: 1.75rem;
    }
}

.article-card .article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--gray-500);
}

.article-card .article-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.article-content h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 1rem;
}

.article-content ul,
.article-content ol {
    padding-left: 1.25rem;
    margin-bottom: 1.5rem;
}

.article-content li {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 0.75rem;
}

/* Info Box */
.info-box {
    background: var(--brand-50);
    border: 1px solid var(--brand-100);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.info-box h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--brand-900);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-box .info-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--brand-200);
    font-size: 0.875rem;
}

.info-box .info-row:last-child {
    border-bottom: none;
}

.info-box .info-row .label {
    color: var(--gray-600);
}

.info-box .info-row .value {
    font-weight: 600;
    color: var(--gray-900);
}

/* Document Grid */
.document-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

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

.document-item {
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background 0.2s;
}

.document-item:hover {
    background: var(--gray-100);
}

.document-item .icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Alert Box */
.alert-box {
    background: var(--warning-50);
    border-left: 4px solid var(--warning-500);
    border-radius: 0 0.5rem 0.5rem 0;
    padding: 1.25rem;
    margin: 1.5rem 0;
}

.alert-box h4 {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--warning-800);
    text-transform: uppercase;
    letter-spacing: 0.025em;
    margin-bottom: 0.25rem;
}

.alert-box p {
    font-size: 0.875rem;
    color: var(--warning-900);
    font-weight: 500;
    margin: 0;
}

/* Help Sidebar */
.help-sidebar {
    background: var(--brand-600);
    border-radius: 0.75rem;
    padding: 1.5rem;
    color: #fff;
    position: sticky;
    top: 100px;
}

.help-sidebar h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.help-sidebar p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.help-sidebar .btn-white {
    background: #fff;
    color: var(--brand-600);
    border: none;
    font-weight: 700;
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.help-sidebar .btn-white:hover {
    background: var(--brand-50);
}

.help-sidebar .trust-text {
    font-size: 0.75rem;
    text-align: center;
    margin-top: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

/* State Page */
.state-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 0.75rem;
    padding: 1.25rem;
    text-align: center;
    transition: all 0.2s;
    cursor: pointer;
}

.state-card:hover {
    border-color: var(--brand-500);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.state-card .icon-wrapper {
    width: 48px;
    height: 48px;
    background: var(--gray-50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    font-size: 1.5rem;
    transition: all 0.2s;
}

.state-card:hover .icon-wrapper {
    background: var(--brand-50);
    color: var(--brand-600);
}

.state-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.25rem;
}

.state-card p {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin: 0;
}

/* Service Page */
.service-hero {
    background: var(--gray-900);
    color: #fff;
    padding: 2rem;
    border-radius: 1rem 1rem 0 0;
    text-align: center;
}

.service-hero h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .service-hero h1 {
        font-size: 1.75rem;
    }
}

.service-hero p {
    font-size: 0.875rem;
    color: var(--gray-400);
    max-width: 500px;
    margin: 0 auto;
}

.service-body {
    background: #fff;
    padding: 1.5rem;
    border-radius: 0 0 1rem 1rem;
    border: 1px solid var(--gray-200);
    border-top: none;
}

@media (min-width: 768px) {
    .service-body {
        padding: 2.5rem;
    }
}

.disclaimer-box {
    background: var(--warning-50);
    border: 1px solid var(--warning-200);
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.disclaimer-box h3 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--warning-800);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.disclaimer-box p {
    font-size: 0.875rem;
    color: var(--warning-900);
    line-height: 1.6;
    margin: 0;
}

.service-card {
    border: 1px solid var(--gray-200);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    background: #fff;
    transition: box-shadow 0.2s;
}

.service-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.service-card .badge-popular {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--brand-500);
    color: #fff;
    font-size: 0.625rem;
    font-weight: 700;
    padding: 0.375rem 0.75rem;
    border-radius: 0 0.75rem 0 0.75rem;
}

.service-card .service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.service-card h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.service-card .subtitle {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.service-card .price {
    text-align: right;
}

.service-card .price .original {
    font-size: 0.75rem;
    color: var(--gray-400);
    text-decoration: line-through;
}

.service-card .price .current {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-700);
}

.service-card .features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.service-card .features li {
    font-size: 0.875rem;
    color: var(--gray-700);
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.service-card .features li svg {
    color: var(--success-500);
    flex-shrink: 0;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    padding: 0.75rem 1rem;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-whatsapp::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-whatsapp:hover::before {
    left: 100%;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    color: #fff;
}

.btn-whatsapp i {
    font-size: 1.1rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.service-card .help-text {
    text-align: center;
    font-size: 0.75rem;
    color: var(--gray-400);
    margin-top: 0.75rem;
}

/* Responsive */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 2rem 1rem;
    }

    .hero-section h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .hero-section h1 {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 1rem;
    }
}

/* Animations */
.fade-in {
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Utilities */
.text-brand {
    color: var(--brand-600);
}

.bg-brand {
    background-color: var(--brand-600);
}

.border-brand {
    border-color: var(--brand-500);
}

/* Voice Search Animation */
@keyframes pulse-red {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.listening-pulse {
    animation: pulse-red 1.5s infinite;
    color: var(--warning-600) !important;
}

/* ============================================
   InfoSetu - Responsive Typography & Mobile Optimizations
   ============================================ */

/* Mobile Devices (Portrait) */
@media (max-width: 575.98px) {
    html {
        font-size: 14px;
        /* Base 14px for mobile */
    }

    body {
        font-size: 1rem;
        /* 14px */
        line-height: 1.6;
    }

    h1,
    .h1 {
        font-size: 1.75rem;
        /* ~24.5px */
    }

    .hero-section h1 {
        font-size: 2rem !important;
        /* ~28px */
    }

    h2,
    .h2 {
        font-size: 1.5rem;
        /* 21px */
    }

    h3,
    .h3 {
        font-size: 1.25rem;
        /* 17.5px */
    }

    h4,
    .h4 {
        font-size: 1.125rem;
        /* ~16px */
    }

    .display-1 {
        font-size: 3rem;
    }

    .display-5 {
        font-size: 1.75rem;
        /* Main headings on blog posts */
    }

    .lead {
        font-size: 1rem;
    }

    /* Container Spacing */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Card Spacing */
    .card-body,
    .scheme-card .card-body {
        padding: 1rem !important;
    }

    .section-title {
        font-size: 1.35rem;
        /* Keep existing */
    }
}

/* Tablets (Portrait) & Large Phones */
@media (min-width: 576px) and (max-width: 767.98px) {
    html {
        font-size: 15px;
    }

    .hero-section h1 {
        font-size: 2.25rem;
    }
}

/* Tablets (Landscape) */
@media (min-width: 768px) and (max-width: 991.98px) {
    html {
        font-size: 16px;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }
}

/* Desktops */
@media (min-width: 992px) {
    html {
        font-size: 16px;
        /* Return to default */
    }
}