@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;500;700&display=swap');

/* Font Aliases */
@font-face {
    font-family: 'notoregular';
    src: local('Noto Sans');
}

@font-face {
    font-family: 'notobold';
    src: local('Noto Sans Bold'), local('Noto Sans');
}

/* === ROOT TOKENS === */
:root {
    --primary: #003580;
    --primary-light: #0052cc;
    --accent: #FF9933;
    --dark: #0f172a;
    --mid: #334155;
    --muted: #64748b;
    --light: #f8fafc;
    --border: #e2e8f0;
    --bg: #ffffff;
    --bg-rgb: 255, 255, 255;
    --success: #16a34a;
    --warning: #d97706;
    --danger: #dc2626;
    --card-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    --card-shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.13);
    --radius: 16px;
    --radius-sm: 8px;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans', sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 24px;
    font-size: 16px;
    font-weight: 400;
    overflow-x: clip;
}

html {
    scroll-behavior: smooth;
}

/* Prevent horizontal scroll without breaking sticky: clip the wrapper */
.site-wrapper,
main,
.page-wrapper {
    max-width: 100vw;
    overflow-x: clip;
}


h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 500;
    line-height: 42px;
    color: var(--dark);
}

h1 {
    font-size: 36px;
}

/* Scaling H1 slightly for hierarchy */
h2 {
    font-size: 30px;
}

h3 {
    font-size: 24px;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.bg-pattern {
    background-image: radial-gradient(var(--border) 1px, transparent 1px);
    background-size: 20px 20px;
}

.glass-card {
    background: rgba(var(--bg-rgb), 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    box-shadow: var(--card-shadow);
}

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

/* === LAYOUT === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.section {
    padding: 80px 0;
}

.grid {
    display: grid;
    gap: 28px;
}

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

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

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

.grid-auto {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Responsive Calculator Grid */
.calc-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 992px) {
    .calc-main-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Sidebar Layout Utility */
.sidebar-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 992px) {
    .sidebar-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Social Media Section */
.social-section {
    padding: 80px 0;
    background: var(--bg);
}

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

.social-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 30px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
}

.social-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.social-platform-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.social-card.x .social-platform-icon {
    background: #000;
}

.social-card.yt .social-platform-icon {
    background: #ff0000;
}

.social-card.ig .social-platform-icon {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-card.fb .social-platform-icon {
    background: #1877f2;
}

.social-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.social-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #eee;
    overflow: hidden;
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.social-info h4 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 2px;
}

.social-info p {
    font-size: 0.75rem;
    color: var(--muted);
    font-weight: 600;
}

.social-content {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--mid);
    margin-bottom: 20px;
    flex-grow: 1;
}

.social-stats {
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--muted);
    border-top: 1px solid var(--border);
    padding-top: 15px;
}

@media (max-width: 1200px) {
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .social-grid {
        grid-template-columns: 1fr;
    }
}

/* Map Section */
.map-section {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: #eee;
}

#epfoMap {
    width: 100%;
    height: 100%;
    z-index: 1;
}

.locator-panel {
    position: absolute;
    top: 40px;
    left: 40px;
    width: 380px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    z-index: 10;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.locator-panel h3 {
    font-size: 1.4rem;
    color: var(--dark);
    margin-bottom: 20px;
    font-weight: 800;
}

.search-box-map {
    position: relative;
    margin-bottom: 20px;
}

.search-box-map input {
    width: 100%;
    padding: 14px 45px 14px 20px;
    border-radius: 12px;
    border: 1px solid var(--border);
    font-size: 0.9rem;
    font-weight: 600;
}

.search-box-map i {
    position: absolute;
    right: 20px;
    top: 18px;
    color: var(--muted);
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-group select {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    font-size: 0.9rem;
    font-weight: 600;
    appearance: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") no-repeat right 15px center;
}

.btn-locate {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 20px rgba(0, 53, 128, 0.2);
}

.btn-locate:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.leaflet-popup-content-wrapper {
    border-radius: 16px;
    padding: 5px;
}

.leaflet-popup-content {
    font-family: inherit;
    font-size: 0.85rem;
    line-height: 1.5;
}

.leaflet-popup-content h4 {
    color: var(--primary);
    margin-bottom: 5px;
    font-weight: 800;
}

@media (max-width: 992px) {
    .map-section {
        height: auto;
        display: flex;
        flex-direction: column;
    }

    #epfoMap {
        height: 400px;
    }

    .locator-panel {
        position: static;
        width: 100%;
        border-radius: 0;
        box-shadow: none;
        border: none;
        padding: 40px 20px;
    }
}

/* Services Section (EPFO and You) */
.services-section {
    padding: 80px 0;
    background: var(--bg);
}

.tab-container {
    margin-bottom: 50px;
    text-align: center;
}

.tab-nav {
    display: inline-flex;
    background: #f1f5f9;
    padding: 6px;
    border-radius: 50px;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.tab-btn {
    padding: 12px 30px;
    border: none;
    background: none;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.tab-btn.active {
    color: #fff;
}

.tab-slider {
    position: absolute;
    top: 6px;
    left: 6px;
    height: calc(100% - 12px);
    background: var(--uan-blue);
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.services-bento {
    display: none;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.services-bento.active {
    display: grid;
}

.service-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 30px;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-light);
}

.service-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-link {
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}

.service-link:hover {
    gap: 10px;
}

@media (max-width: 1200px) {
    .services-bento {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .services-bento {
        grid-template-columns: 1fr;
    }
}

/* === HEADER === */
.header-top {
    background: var(--primary);
    color: rgba(255, 255, 255, .85);
    font-size: .78rem;
    padding: 6px 0;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top a {
    color: rgba(255, 255, 255, .85);
    text-decoration: none;
}

.header-top a:hover {
    color: var(--bg);
}

header {
    background: rgba(var(--bg-rgb), 0.7);
    backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    width: 0%;
    z-index: 2000;
    transition: width 0.1s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    gap: 20px;
}

.logo {
    font-weight: 800;
    font-size: 1.55rem;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo span {
    color: var(--accent);
    margin-left: -2px;
}

.nav-links {
    display: flex;
    gap: 4px;
    list-style: none;
    align-items: center;
}

.nav-links>li>a {
    text-decoration: none;
    color: var(--mid);
    font-weight: 600;
    font-size: .9rem;
    padding: 8px 12px;
    border-radius: 8px;
    transition: .2s;
    display: block;
    white-space: nowrap;
}

.nav-links>li>a:hover,
.nav-links>li>a.active {
    color: var(--primary);
    background: #e8f0fe;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown>a::after {
    content: ' ▾';
    font-size: .7em;
    opacity: .7;
    transition: transform 0.2s;
}

.nav-dropdown:hover>a::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--card-shadow-hover);
    min-width: 210px;
    z-index: 999;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px;
    color: var(--mid);
    font-size: .88rem;
    font-weight: 500;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    transition: .15s;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: #f0f7ff;
    color: var(--primary);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.lang-toggle {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 7px 14px;
    border-radius: 50px;
    text-decoration: none;
    font-size: .82rem;
    font-weight: 700;
    transition: .2s;
}

.lang-toggle:hover {
    background: var(--primary);
    color: var(--bg);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    border: none;
    background: none;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: .3s;
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* === HERO === */
.hero {
    padding: 100px 0 90px;
    background: linear-gradient(135deg, #004a99 0%, #001f3f 100%);
    position: relative;
    overflow: hidden;
    color: white;
}

.hero::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: .82rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: .5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 620px;
    margin-bottom: 36px;
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.hero-stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
}

.hero-stat-label {
    font-size: .85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 2px;
}

.hero .btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.hero .btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.hero .btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 8px 20px rgba(255, 153, 51, 0.3);
}

.hero .btn-primary:hover {
    background: #ff8c00;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 153, 51, 0.4);
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: .95rem;
    text-decoration: none;
    transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    white-space: nowrap;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 53, 128, .15);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 53, 128, .25);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.7);
    color: var(--primary);
    border: 1px solid rgba(0, 53, 128, 0.15);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 53, 128, 0.15);
    border-color: var(--primary);
}

.btn-accent {
    background: var(--accent);
    color: #fff;
}

.btn-accent:hover {
    background: #ff8c00;
    transform: translateY(-3px);
}

.btn-sm {
    padding: 10px 22px;
    font-size: .88rem;
    border-radius: 10px;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.05rem;
}

.btn:active {
    transform: scale(0.97);
}

.btn-ripple {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* === CARDS === */
.card {
    background: var(--bg);
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border);
    transition: all .25s;
    overflow: hidden;
}

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

.card-body {
    padding: 28px;
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 1.5rem;
}

/* === SECTION HEADER === */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header .eyebrow {
    display: inline-block;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(0, 53, 128, .08);
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 14px;
}

.section-header h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
}

.section-header p {
    color: var(--muted);
    max-width: 560px;
    margin: 0 auto;
    font-size: 1rem;
}

/* === BREADCRUMB === */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .85rem;
    color: var(--muted);
    padding: 14px 0;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    opacity: .5;
}

/* === PAGE HERO === */
.page-hero {
    padding: 50px 0 40px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f0fe 100%);
    border-bottom: 1px solid var(--border);
}

.page-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
}

.page-hero p {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 700px;
}

/* Global Responsive for Dark Hero (Calculators) */
@media(max-width:768px) {
    .page-hero-dark {
        padding: 60px 0 !important;
    }

    .page-hero-dark h1 {
        font-size: 2rem !important;
    }

    .page-hero-dark p {
        font-size: 1rem !important;
        padding: 0 20px;
    }

    .calc-card {
        padding: 25px !important;
        margin-top: -40px !important;
        border-radius: 15px !important;
    }
}

/* === BADGE === */
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.badge-primary {
    background: rgba(0, 53, 128, .1);
    color: var(--primary);
}

.badge-success {
    background: rgba(22, 163, 74, .1);
    color: var(--success);
}

.badge-warning {
    background: rgba(217, 119, 6, .1);
    color: var(--warning);
}

.badge-danger {
    background: rgba(220, 38, 38, .1);
    color: var(--danger);
}

/* === ALERTS === */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    font-size: .92rem;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 20px 0;
}

.alert-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.alert-info {
    background: #eff6ff;
    border-left: 4px solid #0284c7;
    color: #1e40af;
}

.alert-warn {
    background: var(--bg)beb;
    border-left: 4px solid var(--warning);
    color: #92400e;
}

.alert-danger {
    background: #fef2f2;
    border-left: 4px solid var(--danger);
    color: #991b1b;
}

.alert-success {
    background: #f0fdf4;
    border-left: 4px solid var(--success);
    color: #166534;
}

/* === TABLES === */
.table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: .92rem;
}

thead tr {
    background: var(--primary);
    color: var(--bg);
}

thead th {
    padding: 14px 18px;
    font-weight: 700;
    text-align: left;
}

tbody tr {
    border-bottom: 1px solid var(--border);
    transition: .15s;
}

tbody tr:last-child {
    border-bottom: none;
}

tbody tr:hover {
    background: #f8faff;
}

tbody td {
    padding: 13px 18px;
    color: var(--mid);
}

tbody td strong {
    color: var(--dark);
}

/* === FORMS === */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    font-weight: 600;
    font-size: .9rem;
    color: var(--mid);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: .95rem;
    font-family: inherit;
    color: var(--dark);
    transition: .2s;
    background: var(--bg);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 53, 128, .12);
}

.form-hint {
    font-size: .8rem;
    color: var(--muted);
    margin-top: 5px;
}

/* === CALCULATOR RESULT === */
.calc-result {
    margin-top: 32px;
    padding: 30px;
    background: linear-gradient(135deg, #f0f7ff, #e8f0fe);
    border-radius: var(--radius);
    border: 1px solid #c7d9f5;
    display: none;
}

.calc-result.show {
    display: block;
    animation: fadeIn .3s ease;
}

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

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

.result-main {
    text-align: center;
    padding: 20px;
    background: var(--bg);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 53, 128, .08);
    margin-bottom: 20px;
}

.result-main .label {
    font-size: .9rem;
    color: var(--muted);
    margin-bottom: 6px;
}

.result-main .value {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary);
}

.result-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.result-item {
    background: var(--bg);
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    box-shadow: 0 1px 6px rgba(0, 0, 0, .05);
}

.result-item .label {
    font-size: .8rem;
    color: var(--muted);
}

.result-item .value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-top: 4px;
}

/* === STEPS === */
.steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.step {
    display: flex;
    gap: 20px;
    position: relative;
    padding-bottom: 36px;
}

.step:last-child {
    padding-bottom: 0;
}

.step-num {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    background: var(--primary);
    color: var(--bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: .95rem;
    position: relative;
    z-index: 2;
}

.step-line {
    position: absolute;
    left: 19px;
    top: 38px;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.step:last-child .step-line {
    display: none;
}

.step-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--dark);
}

.step-content p {
    color: var(--muted);
    font-size: .92rem;
}

/* === FAQ === */
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 18px 22px;
    background: var(--bg);
    border: none;
    cursor: pointer;
    font-size: .97rem;
    font-weight: 600;
    color: var(--dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    transition: .2s;
    font-family: inherit;
}

.faq-question:hover {
    background: #f8faff;
    color: var(--primary);
}

.faq-chevron {
    flex-shrink: 0;
    transition: .3s;
    font-size: .85rem;
    color: var(--muted);
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}

.faq-item.open .faq-answer {
    max-height: 500px;
}

.faq-answer-inner {
    padding: 0 22px 20px;
    color: var(--muted);
    font-size: .92rem;
    line-height: 1.8;
}

/* === QUICK LINKS === */
.quick-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: .92rem;
    transition: .2s;
}

.quick-link:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateX(4px);
    box-shadow: var(--card-shadow);
}

.quick-link .icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #eef4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.quick-link .arrow {
    margin-left: auto;
    opacity: .4;
}

/* === FOOTER === */
footer {
    background: #0f172a;
    color: rgba(255, 255, 255, .75);
    padding: 70px 0 0;
    margin-top: 100px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
}

.footer-brand .logo {
    color: var(--bg);
    margin-bottom: 14px;
}

.footer-brand .logo span {
    color: var(--accent);
}

.footer-brand p {
    font-size: .88rem;
    line-height: 1.8;
    max-width: 280px;
}

.footer-col h4 {
    color: var(--bg);
    font-size: .9rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: .5px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, .65);
    text-decoration: none;
    font-size: .87rem;
    transition: .2s;
}

.footer-col ul li a:hover {
    color: var(--bg);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: .82rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, .5);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--bg);
}

.footer-disclaimer {
    font-size: .78rem;
    color: rgba(255, 255, 255, .4);
    line-height: 1.6;
    margin-top: 6px;
}

/* === TRUST BAR === */
.trust-bar {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 14px 0;
}

.trust-bar .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .83rem;
    color: var(--muted);
    font-weight: 600;
}

.trust-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
}

/* === UTILITIES === */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary);
}

.text-muted {
    color: var(--muted);
}

.text-success {
    color: var(--success);
}

.text-danger {
    color: var(--danger);
}

.font-bold {
    font-weight: 700;
}

.mt-2 {
    margin-top: 16px;
}

.mt-3 {
    margin-top: 24px;
}

.mt-4 {
    margin-top: 32px;
}

.mb-2 {
    margin-bottom: 16px;
}

.mb-3 {
    margin-bottom: 24px;
}

.mb-4 {
    margin-bottom: 32px;
}

/* === UI/UX IMPROVEMENTS (ANIMATIONS & FAB) === */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 53, 128, 0.3);
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s;
    text-decoration: none;
}

.fab:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 32px rgba(0, 53, 128, 0.4);
}

/* Accessibility Controls */
.a11y-controls {
    display: flex;
    gap: 6px;
    align-items: center;
}

.a11y-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--dark);
    width: 28px;
    height: 28px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .2s;
}

.a11y-btn:hover {
    background: var(--primary);
    color: var(--bg);
    border-color: var(--primary);
}


.d-flex {
    display: flex;
}

.align-center {
    align-items: center;
}

.gap-2 {
    gap: 16px;
}

.h-100 {
    height: 100%;
}

/* === INDIAN FLAG ANIMATED SEARCH BORDER === */
@keyframes flag-spin-1 {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes flag-spin-2 {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(-360deg);
    }
}

.india-border-box {
    position: relative;
    flex: 1;
    border-radius: 14px;
    overflow: hidden;
    padding: 3px;
    box-shadow: 0 8px 24px rgba(0, 53, 128, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.india-border-box:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 153, 51, 0.25), 0 12px 32px rgba(19, 136, 8, 0.25);
}

.india-border-box::before,
.india-border-box::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2000px;
    height: 2000px;
    z-index: 0;
    pointer-events: none;
}

.india-border-box::before {
    background: conic-gradient(from 0deg,
            transparent 0deg,
            #FF9933 60deg,
            /* Saffron */
            transparent 120deg,
            transparent 180deg,
            #138808 240deg,
            /* Green */
            transparent 300deg,
            transparent 360deg);
    animation: flag-spin-1 5s linear infinite;
}

.india-border-box::after {
    #138808 300deg,
    #000080 330deg,
    /* Navy Blue */
    #FF9933 360deg);
    animation: flag-spin 6s linear infinite;
    opacity: 0.8;
}

@keyframes flag-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.india-border-2 {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 180deg,
            #138808 0deg,
            #138808 60deg,
            #ffffff 120deg,
            #ffffff 180deg,
            #FF9933 240deg,
            #FF9933 300deg,
            #000080 330deg,
            #138808 360deg);
    animation: flag-spin-2 6s linear infinite;
    opacity: 0.9;
}

@keyframes flag-spin-2 {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}

.india-inner {
    position: relative;
    z-index: 1;
    background: var(--bg);
    border-radius: 11px;
    height: 100%;
    display: flex;
    align-items: center;
}

.india-inner span {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: var(--muted);
    pointer-events: none;
}

.india-inner input {
    width: 100%;
    height: 100%;
    padding: 16px 20px 16px 52px;
    border: none;
    background: transparent;
    outline: none;
    font-size: 1.05rem;
    font-family: inherit;
    color: var(--dark);
}

/* === NEWS TICKER === */
.news-ticker-wrap {
    background: var(--light);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    padding: 10px 0;
    width: 100%;
}

.news-ticker {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: ticker 30s linear infinite;
    width: fit-content;
}

.news-ticker span {
    padding-right: 80px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    display: inline-block;
}

.news-ticker span::before {
    content: '🔥';
    margin-right: 8px;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.news-ticker:hover {
    animation-play-state: paused;
}

/* === RESPONSIVE === */
@media(max-width:1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

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

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

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

    .bento-1 {
        grid-column: span 2;
    }
}

/* Specific Navigation Breakpoint to prevent overflow */
@media(max-width:1150px) {
    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        padding: 80px 20px;
        z-index: 1000;
        transition: all 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        transform: translateX(100%);
        visibility: hidden;
        overflow-y: auto;
    }

    .nav-links.open {
        transform: translateX(0);
        visibility: visible;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links>li>a {
        font-size: 1.2rem;
        padding: 12px;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        background: rgba(0, 53, 128, 0.05);
        margin: 10px 0;
        max-height: 0;
        display: block;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-dropdown.open .dropdown-menu {
        max-height: 500px;
        opacity: 1;
        visibility: visible;
        padding: 10px 0;
    }

    .dropdown-menu a {
        justify-content: center;
        border: none;
    }

    .nav-dropdown:hover .dropdown-menu {
        opacity: 0;
        visibility: hidden;
    }

    .a11y-controls {
        display: none;
    }
}

@media(max-width:768px) {
    header {
        position: sticky;
        top: 0;
        z-index: 1001;
    }

    .hero {
        padding: 60px 0 50px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-stats {
        gap: 24px;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

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

    .section {
        padding: 50px 0;
    }

    .header-top {
        display: none;
    }

    .a11y-controls {
        display: none;
    }

    /* Hide complicated a11y on mobile to save space */
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-1,
    .bento-2,
    .bento-3,
    .bento-4 {
        grid-column: span 1;
        grid-row: span 1;
    }
}

@media(max-width:480px) {
    .btn-lg {
        padding: 13px 24px;
        font-size: .95rem;
    }

    .hero-btns {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-btns .btn {
        justify-content: center;
    }
}

/* === BENTO GRID === */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.bento-item {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: block;
    text-decoration: none;
}

.bento-item:hover {
    transform: translateY(-8px) scale(1.01);
}

.bento-1 {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-2 {
    grid-column: span 2;
    grid-row: span 1;
}

.bento-3 {
    grid-column: span 1;
    grid-row: span 1;
}

.bento-4 {
    grid-column: span 1;
    grid-row: span 1;
}

@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-1,
    .bento-2 {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-1,
    .bento-2,
    .bento-3,
    .bento-4 {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* === TABS === */
.tabs-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.tabs-nav::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    background: transparent;
    border: none;
    padding: 10px 20px;
    font-weight: 700;
    font-size: .95rem;
    color: var(--muted);
    cursor: pointer;
    border-radius: 8px;
    transition: .2s;
    white-space: nowrap;
    font-family: inherit;
}

.tab-btn:hover {
    background: rgba(0, 53, 128, 0.05);
    color: var(--primary);
}

.tab-btn.active {
    background: var(--primary);
    color: #fff;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn .3s ease;
}

/* === STAR ANIMATION === */
#starCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero,
.forms-hero,
.page-hero-dark {
    position: relative;
    overflow: hidden;
}

.hero .container,
.forms-hero .container,
.page-hero-dark .container {
    position: relative;
    z-index: 2;
}