:root {
    --fc-indigo: #4f46e5;
    --fc-indigo-dark: #3730a3;
    --fc-violet: #7c3aed;
    --fc-sky: #0ea5e9;
    --fc-dark: #0f172a;
    --fc-slate: #475569;
    --fc-muted: #64748b;
    --fc-light: #f8fafc;
    --fc-border: #e2e8f0;
    --fc-green: #10b981;
    --fc-red: #ef4444;
    --fc-grad: linear-gradient(120deg, #4f46e5 0%, #7c3aed 100%);
    --fc-shadow: 0 10px 30px rgba(15, 23, 42, .08);
    --fc-shadow-lg: 0 24px 60px rgba(15, 23, 42, .14);

    /* Civic-trust theme defaults (indigo / violet) — shared footer chrome */
    --h-ink: #0b1220;
    --h-grad: linear-gradient(120deg, #4f46e5 0%, #7c3aed 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans Malayalam', 'Signika Negative', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    color: var(--fc-slate);
    background: var(--fc-light);
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

/* ===== Top utility bar ===== */
.top-bar {
    background: #fff;
    border-bottom: 1px solid var(--fc-border);
    color: var(--fc-muted);
    font-size: 13px;
    padding: 8px 0;
}
.top-bar a {
    color: var(--fc-muted);
}
.top-bar a:hover {
    color: var(--fc-indigo);
}
.top-bar .badge-soft {
    background: var(--fc-grad);
    color: #fff;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 12px;
    box-shadow: 0 4px 12px rgba(79, 70, 229, .25);
}
.top-bar .top-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: var(--fc-light);
    border: 1px solid var(--fc-border);
    font-size: 13px;
    margin-left: 4px;
}
.top-bar .top-social a:hover {
    background: var(--fc-indigo);
    border-color: var(--fc-indigo);
    color: #fff;
}

/* ===== Main header / navbar ===== */
.main-header {
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--fc-border);
}
.main-header .navbar {
    padding: 10px 0;
}
.brand-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}
.brand-emblem {
    width: 130px;
    /* height: 52px; */
    object-fit: contain;
    /* background: var(--fc-light);
    border: 1px solid var(--fc-border);
    border-radius: 12px; */
    padding: 5px;
}

.main-header .navbar-nav {
    gap: 8px;
}
.main-header .navbar-nav .nav-link {
    color: var(--fc-dark);
    font-weight: 600;
    font-size: 15px;
    padding: 9px 12px;
    border-radius: 8px;
    transition: color .2s ease, background .2s ease;
}
.main-header .navbar-nav .nav-link:hover,
.main-header .navbar-nav .nav-link.active {
    background: #eef2ff;
    color: var(--fc-indigo);
}
.main-header .dropdown-menu {
    border: 1px solid var(--fc-border);
    border-radius: 12px;
    box-shadow: var(--fc-shadow);
    padding: 8px;
    min-width: 240px;
}
.main-header .dropdown-menu .dropdown-item {
    border-radius: 8px;
    padding: 9px 14px;
    font-weight: 500;
    font-size: 15px;
    color: var(--fc-dark);
}
.main-header .dropdown-menu .dropdown-item:hover {
    background: #eef2ff;
    color: var(--fc-indigo);
}
.navbar-toggler {
    border: 1px solid var(--fc-border);
    border-radius: 8px;
    color: var(--fc-dark);
    padding: 8px 10px;
    font-size: 18px;
}

.nav-search {
    position: relative;
}
.nav-search .search-toggle {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    border: 1px solid #dfe3fc;
    background: #eef2ff;
    color: var(--fc-indigo);
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s ease;
}
.nav-search .search-toggle:hover {
    background: var(--fc-indigo);
    border-color: var(--fc-indigo);
    color: #fff;
    box-shadow: 0 8px 18px rgba(79, 70, 229, .3);
}
.nav-search .search-pop {
    position: absolute;
    right: 0;
    top: 52px;
    width: 340px;
    background: #fff;
    border: 1px solid var(--fc-border);
    border-radius: 14px;
    box-shadow: var(--fc-shadow-lg);
    padding: 10px;
    z-index: 1200;
    display: none;
}
.nav-search .search-pop.show {
    display: block;
    animation: fadeIn .18s ease;
}
.nav-search .search-pop .search-form,
.nav-search .search-pop .search-form:focus-within {
    width: 100%;
}
.nav-search .search-form {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 300px;
    max-width: 100%;
    background: #f1f5f9;
    border: 1px solid var(--fc-border);
    border-radius: 999px;
    padding: 5px 5px 5px 16px;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease, width .2s ease;
}
.nav-search .search-form:focus-within {
    background: #fff;
    border-color: var(--fc-indigo);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, .12);
    width: 340px;
}
.nav-search .search-ico {
    color: var(--fc-muted);
    font-size: 14px;
    flex: 0 0 auto;
}
.nav-search .search-input {
    flex: 1 1 auto;
    min-width: 0;
    border: none;
    background: transparent;
    outline: none;
    box-shadow: none;
    font-size: .9rem;
    color: var(--fc-dark);
    padding: 6px 0;
}
.nav-search .search-input::placeholder {
    color: #98a2b3;
}
.nav-search .search-submit {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: var(--fc-grad);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    box-shadow: 0 6px 14px rgba(79, 70, 229, .3);
    transition: transform .2s ease, box-shadow .2s ease;
}
.nav-search .search-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(79, 70, 229, .4);
    color: #fff;
}

/* ===== Buttons ===== */
.btn-fc {
    background: var(--fc-grad);
    color: #fff;
    border: none;
    font-weight: 600;
    border-radius: 10px;
    padding: 11px 22px;
    box-shadow: 0 8px 20px rgba(79, 70, 229, .3);
    transition: all .2s ease;
}
.btn-fc:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(79, 70, 229, .4);
}
.btn-fc.btn-lg {
    padding: 13px 30px;
    font-size: 16px;
}
.btn-outline-fc {
    border: 2px solid var(--fc-indigo);
    color: var(--fc-indigo);
    background: transparent;
    font-weight: 600;
    border-radius: 10px;
    padding: 10px 20px;
    transition: all .2s ease;
}
.btn-outline-fc:hover {
    background: var(--fc-indigo);
    border-color: var(--fc-indigo);
    color: #fff;
}
.btn-soft-fc {
    background: #eef2ff;
    color: var(--fc-indigo);
    font-weight: 600;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    transition: all .2s ease;
}
.btn-soft-fc:hover {
    background: var(--fc-indigo);
    color: #fff;
}
.btn-white {
    background: #fff;
    color: var(--fc-indigo);
    font-weight: 700;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
    transition: all .2s ease;
}
.btn-white:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, .24);
}
.btn-glass {
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .4);
    color: #fff;
    font-weight: 600;
    border-radius: 10px;
    padding: 10px 20px;
    transition: all .2s ease;
}
.btn-glass:hover {
    background: rgba(255, 255, 255, .28);
    color: #fff;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    overflow: hidden;
    color: var(--fc-dark);
    padding: 76px 0 80px;
    background:
        radial-gradient(640px 320px at 88% -5%, rgba(124, 58, 237, .14), transparent 60%),
        radial-gradient(560px 320px at 0% 108%, rgba(14, 165, 233, .14), transparent 60%),
        linear-gradient(180deg, #ffffff 0%, #eef2ff 100%);
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--fc-border);
    border-radius: 40px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--fc-dark);
    box-shadow: 0 4px 14px rgba(15, 23, 42, .06);
}
.hero-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--fc-green);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, .18);
}
.hero h1 {
    font-size: 2.45rem;
    font-weight: 700;
    line-height: 1.22;
    color: var(--fc-dark);
}
.hero .gradient-text {
    background: var(--fc-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero .hero-lead {
    font-size: 1.02rem;
    line-height: 1.85;
    color: var(--fc-slate);
}
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--fc-slate);
}
.hero-trust i {
    color: var(--fc-green);
}
.hero-emblem {
    width: 44px;
    height: 44px;
    object-fit: contain;
    background: #fff;
    border: 1px solid var(--fc-border);
    border-radius: 12px;
    padding: 5px;
}

/* browser mockup */
.browser-frame {
    background: #fff;
    border: 1px solid var(--fc-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--fc-shadow-lg);
}
.browser-frame .frame-top {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 13px 16px;
    background: #f1f5f9;
    border-bottom: 1px solid var(--fc-border);
}
.browser-frame .frame-dots span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
}
.browser-frame .frame-url {
    flex: 1;
    background: #fff;
    border: 1px solid var(--fc-border);
    border-radius: 8px;
    font-size: 12px;
    color: var(--fc-muted);
    text-align: center;
    padding: 5px;
}
.browser-frame .carousel {
    border-radius: 0;
}
.browser-frame .frame-float {
    position: absolute;
    right: 18px;
    bottom: 22px;
    background: #fff;
    border: 1px solid var(--fc-border);
    border-radius: 12px;
    padding: 10px 14px;
    box-shadow: var(--fc-shadow);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--fc-dark);
}
.browser-frame .frame-float i {
    color: var(--fc-green);
    font-size: 18px;
}

.carousel .carousel-caption {
    right: 0;
    left: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent, rgba(15, 23, 42, .85));
    padding: 30px 18px 16px;
    text-align: left;
}
.carousel .carousel-caption h3 {
    font-size: .95rem;
    color: #c7d2fe;
    margin-bottom: 2px;
}
.carousel .carousel-caption p {
    margin: 0;
    font-size: .95rem;
}
.carousel .carousel-caption a {
    color: #fff;
}
.carousel .carousel-caption a:hover {
    color: #c7d2fe;
}

/* ===== Sections ===== */
.title-header {
    border-bottom: none !important;
}
.title-header::before,
.title-header::after {
    border: none !important;
    content: none !important;
}
.section-kicker {
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--fc-indigo);
    margin-bottom: 8px;
}
.section-title-wrap h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--fc-dark);
    margin: 0;
}
.section-title-wrap p.sub {
    color: var(--fc-muted);
    margin: 8px 0 0;
    max-width: 620px;
    line-height: 1.7;
}

/* ===== How it works / steps ===== */
.step-card {
    background: #fff;
    border: 1px solid var(--fc-border);
    border-radius: 18px;
    padding: 30px 26px;
    height: 100%;
    text-align: center;
    box-shadow: 0 4px 16px rgba(15, 23, 42, .04);
    transition: transform .25s ease, box-shadow .25s ease;
    position: relative;
}
.step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--fc-shadow);
}
.step-card .step-num {
    position: absolute;
    top: 18px;
    right: 20px;
    font-size: 42px;
    font-weight: 700;
    color: #eef2ff;
    line-height: 1;
}
.step-icon {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    background: var(--fc-grad);
    color: #fff;
    font-size: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    box-shadow: 0 10px 22px rgba(79, 70, 229, .32);
}
.step-card h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--fc-dark);
    margin-bottom: 10px;
}
.step-card p {
    font-size: .92rem;
    line-height: 1.7;
    color: var(--fc-muted);
    margin: 0;
}

/* ===== Fact check cards ===== */
.fact-card {
    background: #fff;
    border: 1px solid var(--fc-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(15, 23, 42, .04);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    display: block;
    color: inherit;
    height: 100%;
}
.fact-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--fc-shadow);
    border-color: #c7d2fe;
    color: inherit;
}
.fact-card .img-wrap {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--fc-light);
}
.fact-card .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.fact-card:hover .img-wrap img {
    transform: scale(1.06);
}
.fact-card .verified-chip {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(16, 185, 129, .95);
    color: #fff;
    font-size: 11.5px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 4px 10px rgba(16, 185, 129, .35);
}
.fact-card .fact-body {
    padding: 18px 18px 20px;
}
.fact-card .fact-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--fc-muted);
    margin-bottom: 10px;
}
.fact-card .fact-date i {
    color: var(--fc-indigo);
}
.fact-card h4 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.6;
    margin: 0;
}
.fact-card h4 a {
    color: var(--fc-dark);
    transition: color .2s ease;
}
.fact-card:hover h4 a {
    color: var(--fc-indigo);
}

/* ===== Covid band ===== */
.covid-band {
    background: linear-gradient(120deg, #4338ca 0%, #6d28d9 60%, #7c3aed 100%);
    border-radius: 22px;
    color: #fff;
    overflow: hidden;
    box-shadow: var(--fc-shadow-lg);
    position: relative;
}
.covid-band .lead {
    line-height: 1.85;
    color: #e0e7ff;
}
.covid-band .spot img {
    border-radius: 12px;
}

/* ===== Gallery ===== */
.gallery-card {
    background: #fff;
    border: 1px solid var(--fc-border);
    border-radius: 12px;
    overflow: hidden;
    display: block;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .05);
    transition: transform .25s ease, box-shadow .25s ease;
}
.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--fc-shadow);
}
.gallery-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform .4s ease;
}
.gallery-card:hover img {
    transform: scale(1.06);
}

/* ===== Footer ===== */
.site-footer {
    background: var(--h-ink, var(--fc-dark));
    color: #94a3b8;
    font-size: 14.5px;
}
.site-footer .footer-brand {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}
.site-footer h5 {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 18px;
    padding-bottom: 10px;
    position: relative;
}
.site-footer h5::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 34px;
    height: 3px;
    border-radius: 3px;
    background: var(--h-grad, var(--fc-grad));
}
.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.site-footer ul li {
    padding: 6px 0;
    line-height: 1.7;
}
.site-footer ul li a {
    color: #94a3b8;
    transition: color .2s ease, padding-left .2s ease;
}
.site-footer ul li a:hover {
    color: #a5b4fc;
    padding-left: 5px;
}
.footer-bottom {
    background: rgba(0, 0, 0, .35);
    font-size: 13.5px;
    padding: 16px 0;
}
.footer-bottom a {
    color: #a5b4fc;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 991.98px) {
    .hero {
        padding: 48px 0;
    }
    .hero h1 {
        font-size: 1.85rem;
    }
    .main-header .navbar-nav {
        gap: 0;
        padding: 14px 0 6px;
    }
    .main-header .navbar-nav .nav-link {
        padding: 12px 14px;
    }
    .nav-search .search-pop {
        left: 0;
        right: 0;
        width: auto;
    }
}