/*
Theme Name: RajSSO Modern Pro
Theme URI: https://rajsso.com
Author: RajSSO Engineering
Author URI: https://rajsso.com
Description: High-performance, SEO-optimized, AdSense-ready standalone WordPress theme for Rajasthan Single Sign-On and Indian e-governance information portals. Features complete WP Admin panel control, flat sharp UI, zero margins, no bulky rounded boxes, zero emojis, and pure SVG iconography.
Version: 3.0.3
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: rajsso-modern
Tags: government-portal, clean, custom-header, full-width-template, responsive-layout, seo-friendly, translation-ready
*/

/* --------------------------------------------------------------------------
 * 1. DESIGN TOKENS & ULTRA-CLEAN FLAT RESET (NO BULKY ROUND BOXES, NO MARGINS)
 * -------------------------------------------------------------------------- */
:root {
    --brand-navy: #090d16;        /* Deep Premium Slate */
    --brand-blue: #1d4ed8;        /* Royal Tech Blue */
    --brand-blue-hover: #1e40af;
    --brand-accent: #0284c7;      /* Tech Cyan */
    --brand-green: #15803d;       /* Success / Registration */
    --brand-green-hover: #166534;
    --brand-amber: #b45309;       /* Warning / Alert */
    --brand-amber-light: #fffbeb;
    --brand-red: #b91c1c;         /* Danger / Disclaimers */
    --brand-red-light: #fef2f2;
    --surface-bg: #ffffff;        /* Pure Clean White Background */
    --surface-card: #ffffff;
    --surface-alt: #f8fafc;       /* Clean Subtle Fill */
    --text-heading: #0f172a;      /* Primary Headline */
    --text-body: #334155;         /* Body copy */
    --text-muted: #64748b;        /* Secondary notes */
    --border-color: #e2e8f0;      /* Hairline crisp border */
    --border-dark: #cbd5e1;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    --radius-sharp: 0px;          /* Sharp Clean 0px Corners as requested */
    --radius-sm: 4px;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--surface-bg);
    color: var(--text-body);
    font-family: var(--font-sans);
    line-height: 1.7;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--brand-blue);
    text-decoration: none;
    transition: color 0.15s ease;
}

a:hover {
    color: var(--brand-blue-hover);
    text-decoration: underline;
}

img, svg {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

/* Fluid Container with Zero Bulky Side Margins */
.container {
    width: 100%;
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

@media (max-width: 768px) {
    .container {
        padding-left: 14px;
        padding-right: 14px;
    }
}

/* --------------------------------------------------------------------------
 * 2. TOP BANNER & CLEAN MOBILE HEADER
 * -------------------------------------------------------------------------- */
.top-notice-bar {
    background-color: #090d16;
    color: #94a3b8;
    font-size: 12.5px;
    padding: 7px 0;
    border-bottom: 1px solid #1e293b;
}

.top-notice-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.notice-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notice-pulse {
    width: 7px;
    height: 7px;
    background-color: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.3);
    flex-shrink: 0;
}

.notice-links a {
    color: #60a5fa;
    font-weight: 600;
    white-space: nowrap;
}

.notice-links a:hover {
    color: #ffffff;
}

@media (max-width: 600px) {
    .top-notice-bar {
        font-size: 11.5px;
        padding: 6px 0;
    }
    .top-notice-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

/* Main Site Header */
.site-header {
    background-color: var(--header-bg, #ffffff);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 99999 !important;
    filter: none !important;
    -webkit-filter: none !important;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0; /* Increased vertical padding by ~15% for refined breathing room */
    gap: 16px;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 5%;
    text-decoration: none !important;
}

.brand-logo-img {
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
}

.brand-custom-logo {
    max-height: 44px;
    width: auto;
    object-fit: contain;
    display: block;
}

.site-brand .site-title {
    color: var(--brand-title-color, var(--header-text, var(--brand-navy)));
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.4px;
}

.header-right-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 5%;
}

.brand-icon-box {
    width: 38px;
    height: 38px;
    background: #090d16;
    color: #ffffff;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.brand-icon-box svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2.2;
}

.brand-title-wrap h1, .brand-title-wrap .site-title {
    margin: 0;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.4px;
    color: var(--header-text, var(--brand-navy));
    line-height: 1.15;
}

.brand-title-wrap .site-tagline {
    font-size: 11.5px;
    font-weight: 500;
    color: var(--text-muted);
    display: block;
}

.site-navigation {
    display: flex;
    align-items: center;
}

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

.site-nav a {
    color: var(--header-text, var(--text-body));
    font-weight: 600;
    font-size: 14px;
    padding: 4px 0;
}

.site-nav a:hover {
    color: var(--brand-blue);
    text-decoration: none;
}

/* --------------------------------------------------------------------------
 * 2. NAVIGATION (UNIFIED DESKTOP NAVBAR & MOBILE OFF-CANVAS DRAWER)
 * -------------------------------------------------------------------------- */
.site-navigation {
    display: flex;
    align-items: center;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav a {
    color: var(--header-text, var(--text-body));
    font-weight: 600;
    font-size: 14px;
    padding: 4px 0;
    text-decoration: none;
    transition: color 0.15s ease;
}

.site-nav a:hover {
    color: var(--brand-blue);
    text-decoration: none;
}

/* Categories Dropdown (Desktop: Zero-Gap Hover + Click Support) */
.site-nav .nav-dropdown {
    position: relative;
}

/* Invisible Bridge preventing mouseout gap flicker */
.site-nav .nav-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 12px;
}

.site-nav .dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    background: transparent;
    border: none;
    font: inherit;
    color: inherit;
    padding: 4px 0;
}

.dropdown-arrow {
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.site-nav .dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    background: #ffffff;
    border: 1px solid var(--border-color);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
    min-width: 240px;
    list-style: none;
    padding: 6px 0;
    margin: 0;
    z-index: 1050;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
}

.site-nav .nav-dropdown:hover .dropdown-menu,
.site-nav .nav-dropdown:focus-within .dropdown-menu,
.site-nav .nav-dropdown.active-dropdown .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    display: block;
}

.site-nav .nav-dropdown:hover .dropdown-arrow,
.site-nav .nav-dropdown.active-dropdown .dropdown-arrow {
    transform: rotate(180deg);
}

.site-nav .dropdown-menu li {
    padding: 0;
    margin: 0;
    width: 100%;
    border-bottom: none;
    list-style: none;
}

.site-nav .dropdown-menu a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 16px;
    font-size: 13.5px;
    color: var(--text-heading) !important;
    font-weight: 500;
    white-space: nowrap;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.site-nav .dropdown-menu a:hover {
    background-color: #f1f5f9;
    color: var(--brand-blue) !important;
    text-decoration: none;
}

.cat-pill {
    background: #e2e8f0;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 10px;
}

.header-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: var(--brand-blue);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 13px;
    padding: 8px 14px;
    border-radius: 2px;
    transition: background-color 0.15s ease;
    white-space: nowrap;
}

.header-action-btn:hover {
    background-color: var(--brand-blue-hover);
    text-decoration: none !important;
}

/* Mobile Toggle Hamburger Button */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    color: var(--brand-navy);
    padding: 0;
    gap: 4px;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.mobile-nav-toggle:hover {
    background: #e2e8f0;
}

.mobile-nav-toggle .hamburger-bar {
    display: block;
    width: 20px;
    height: 2px;
    background-color: currentColor;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-nav-toggle.is-active .hamburger-bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-nav-toggle.is-active .hamburger-bar:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.is-active .hamburger-bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Drawer Backdrop (Clean subtle overlay, strictly behind sidebar, zero blur) */
.mobile-nav-backdrop {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(15, 23, 42, 0.35) !important;
    z-index: 99990 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
    -webkit-filter: none !important;
    transition: opacity 0.2s ease, visibility 0.2s ease !important;
}

.mobile-nav-backdrop.active {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    pointer-events: auto !important;
}

body.nav-locked {
    overflow: hidden !important;
}
body.nav-locked .site-header {
    z-index: 99999 !important;
}

/* Desktop Visibility Defaults */
@media (min-width: 861px) {
    .mobile-menu-header,
    .mobile-nav-cta,
    .mobile-nav-toggle,
    .mobile-nav-backdrop {
        display: none !important;
    }
}

/* Mobile Breakpoint (<=860px) */
@media (max-width: 860px) {
    .header-action-btn.desktop-only {
        display: none !important;
    }

    .mobile-nav-toggle {
        display: flex !important;
    }

    /* Single Navigation turns into Smooth Off-Canvas Drawer */
    .site-navigation {
        position: fixed !important;
        top: 0 !important;
        right: -330px !important;
        width: 300px !important;
        max-width: 86vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        background: #ffffff !important;
        z-index: 100000 !important;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.14) !important;
        display: flex !important;
        flex-direction: column !important;
        transition: right 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 8px 0 !important;
        margin: 0 !important;
        -webkit-font-smoothing: antialiased !important;
        -moz-osx-font-smoothing: grayscale !important;
        text-rendering: optimizeLegibility !important;
        filter: none !important;
        -webkit-filter: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .site-navigation.mobile-active {
        right: 0 !important;
    }

    .mobile-menu-header {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 16px 18px;
        border-bottom: 1px solid #e2e8f0;
        background: #f8fafc;
        flex-shrink: 0;
    }

    .mobile-drawer-brand {
        display: flex;
        align-items: center;
        gap: 8px;
        font-weight: 800;
        font-size: 15.5px;
        color: #0f172a;
    }

    .mobile-menu-close {
        background: #ffffff;
        border: 1px solid #cbd5e1;
        border-radius: 4px;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: #475569;
        font-size: 15px;
        font-weight: 700;
        line-height: 1;
        transition: background 0.15s, color 0.15s;
    }

    .mobile-menu-close:hover {
        background: #fee2e2;
        color: #dc2626;
        border-color: #fca5a5;
    }

    .site-nav {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        padding: 10px 16px !important;
        gap: 0 !important;
        list-style: none !important;
    }

    .site-nav li {
        width: 100% !important;
        border-bottom: 1px solid #f1f5f9 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    .site-nav a,
    .site-nav .dropdown-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        min-height: 46px !important;
        padding: 11px 4px !important;
        font-size: 14.5px !important;
        font-weight: 600 !important;
        color: #1e293b !important;
        text-decoration: none !important;
        cursor: pointer !important;
        border: none !important;
        background: none !important;
    }

    .site-nav a:hover,
    .site-nav .dropdown-toggle:hover {
        color: var(--brand-blue) !important;
    }

    /* Mobile Accordion Sub-Menu */
    .site-nav .dropdown-menu {
        position: static !important;
        box-shadow: none !important;
        border: none !important;
        border-left: 2px solid var(--brand-blue) !important;
        background: #f8fafc !important;
        border-radius: 0 4px 4px 0 !important;
        padding: 4px 0 8px 12px !important;
        margin: 0 0 8px 0 !important;
        display: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        min-width: 100% !important;
        pointer-events: auto !important;
    }

    .site-nav .nav-dropdown.active-dropdown .dropdown-menu {
        display: block !important;
    }

    .site-nav .dropdown-menu li {
        border-bottom: none !important;
    }

    .site-nav .dropdown-menu a {
        padding: 7px 8px !important;
        font-size: 13.5px !important;
        font-weight: 500 !important;
        color: #334155 !important;
        min-height: 38px !important;
        border-radius: 2px !important;
    }

    .site-nav .dropdown-menu a:hover {
        background: #e2e8f0 !important;
        color: var(--brand-blue) !important;
    }

    .site-nav .nav-dropdown.active-dropdown .dropdown-arrow {
        transform: rotate(180deg) !important;
        color: var(--brand-blue) !important;
    }

    .mobile-nav-cta {
        display: block !important;
        margin-top: auto !important;
        padding: 18px 18px 24px 18px !important;
        border-top: 1px solid #e2e8f0 !important;
    }

    .mobile-cta-button {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        background: var(--brand-blue) !important;
        color: #ffffff !important;
        font-weight: 700 !important;
        font-size: 14px !important;
        padding: 12px 18px !important;
        border-radius: 4px !important;
        text-decoration: none !important;
        box-shadow: 0 3px 10px rgba(29, 78, 216, 0.25) !important;
        transition: background 0.15s ease !important;
    }

    .mobile-cta-button:hover {
        background: var(--brand-blue-hover) !important;
    }
}

/* --------------------------------------------------------------------------
 * 3. HERO SECTION (CLEAN LIGHT THEME, GENERATEPRESS FEEL, SSO CARD GRAPHIC)
 * -------------------------------------------------------------------------- */
.hero-wrapper {
    background: #ffffff;
    color: var(--text-body);
    padding: 36px 0 40px 0;
    border-bottom: 1px solid var(--border-color);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
    align-items: center;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    color: #1d4ed8;
    margin-bottom: 14px;
    border-radius: 2px;
}

.hero-badge-pill svg {
    width: 13px;
    height: 13px;
    stroke: #2563eb;
}

.hero-headline {
    color: var(--brand-navy);
    font-size: clamp(23px, 3.8vw, 34px);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.hero-description {
    color: var(--text-body);
    font-size: 15.5px;
    line-height: 1.65;
    margin-bottom: 18px;
}

.hero-trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 12.5px;
    color: var(--text-muted);
    font-weight: 600;
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-trust-list li {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.hero-trust-list svg {
    width: 14px;
    height: 14px;
    stroke: #16a34a;
}

/* SSO Visual Badge Card */
.sso-visual-badge-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid #334155;
    border-radius: 6px;
    padding: 22px 24px;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.sso-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.sso-card-emblem {
    width: 36px;
    height: 36px;
    background: #2563eb;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sso-card-title {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.sso-card-subtitle {
    display: block;
    font-size: 11px;
    color: #94a3b8;
}

.sso-card-chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.sso-chip-pattern {
    width: 38px;
    height: 28px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border-radius: 3px;
    border: 1px solid #b45309;
}

.sso-verified-tag {
    font-size: 11px;
    font-weight: 700;
    color: #4ade80;
    background: rgba(34, 197, 94, 0.15);
    padding: 3px 8px;
    border-radius: 2px;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.sso-card-id-row {
    background: rgba(255, 255, 255, 0.06);
    padding: 10px 12px;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 14px;
}

.sso-id-label {
    display: block;
    font-size: 10px;
    color: #94a3b8;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.sso-id-code {
    display: block;
    font-family: monospace;
    font-size: 15px;
    font-weight: 700;
    color: #60a5fa;
    letter-spacing: 1px;
}

.sso-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 10.5px;
    color: #94a3b8;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 10px;
}

.sso-ssl-badge {
    color: #38bdf8;
    font-weight: 600;
}

@media (max-width: 860px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Sharp Action Buttons Grid */
.sharp-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.sharp-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 13px 18px;
    border-radius: 2px; /* Sharp flat edges */
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background-color 0.15s ease;
    border: 1px solid transparent;
}

.sharp-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke-width: 2.2;
}

.sharp-btn-primary {
    background-color: #1d4ed8;
    color: #ffffff !important;
    border-color: #1e40af;
}
.sharp-btn-primary:hover {
    background-color: #1e40af;
}

.sharp-btn-success {
    background-color: #15803d;
    color: #ffffff !important;
    border-color: #166534;
}
.sharp-btn-success:hover {
    background-color: #166534;
}

.sharp-btn-amber {
    background-color: #b45309;
    color: #ffffff !important;
    border-color: #92400e;
}
.sharp-btn-amber:hover {
    background-color: #92400e;
}

.sharp-btn-neutral {
    background-color: #1e293b;
    color: #ffffff !important;
    border-color: #334155;
}
.sharp-btn-neutral:hover {
    background-color: #334155;
}

/* --------------------------------------------------------------------------
 * 4. DISCLAIMER & ADSENSE NOTICE BOXES (FLAT, CLEAN, ZERO ROUND)
 * -------------------------------------------------------------------------- */
.adsense-disclaimer-box {
    background-color: #fffbeb;
    border: 1px solid #fde68a;
    border-left: 4px solid var(--brand-amber);
    padding: 16px 20px;
    margin: 24px 0;
    border-radius: 0;
}

.adsense-disclaimer-box.red-alert {
    background-color: #fef2f2;
    border-color: #fecaca;
    border-left-color: var(--brand-red);
}

.disclaimer-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 14px;
    color: var(--brand-amber);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.adsense-disclaimer-box.red-alert .disclaimer-head {
    color: var(--brand-red);
}

.disclaimer-head svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2.2;
}

.disclaimer-body {
    font-size: 14px;
    color: #78350f;
    line-height: 1.6;
}

.adsense-disclaimer-box.red-alert .disclaimer-body {
    color: #991b1b;
}

/* --------------------------------------------------------------------------
 * 5. MAIN CONTENT CARD (ZERO MARGINS, NO ROUND BOX, CLEAN WHITE BACKGROUND)
 * -------------------------------------------------------------------------- */
.content-area {
    padding: 30px 0 50px 0;
    background-color: #ffffff; /* Clean white, no annoying outer margins */
}

.main-content-card {
    background-color: #ffffff;
    border: none;             /* Removed awkward round border box */
    border-radius: 0;         /* 0px radius, clean flush */
    padding: 0;               /* Zero inner margins/gaps */
    box-shadow: none;         /* Zero shadow for pure flat clean design */
}

.article-content h2 {
    color: var(--brand-navy);
    font-size: clamp(20px, 2.6vw, 25px);
    font-weight: 800;
    margin-top: 36px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    letter-spacing: -0.3px;
}

.article-content h2::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 48px;
    height: 2px;
    background-color: var(--brand-blue);
}

.article-content h3 {
    color: var(--text-heading);
    font-size: 18px;
    font-weight: 700;
    margin-top: 26px;
    margin-bottom: 12px;
    letter-spacing: -0.2px;
}

.article-content p {
    font-size: 15.5px;
    color: var(--text-body);
    line-height: 1.72;
    margin-bottom: 18px;
}

.article-content strong {
    color: var(--text-heading);
}

/* --------------------------------------------------------------------------
 * 6. SHARP TABLES & MATRICES (FLAT, ZERO ROUND CORNERS)
 * -------------------------------------------------------------------------- */
.sharp-table-container {
    overflow-x: auto;
    margin: 24px 0;
    border: 1px solid var(--border-color);
    border-radius: 0;
}

.sharp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background-color: #ffffff;
    text-align: left;
}

.sharp-table th {
    background-color: #090d16;
    color: #ffffff;
    font-weight: 700;
    padding: 12px 16px;
    border: 1px solid #1e293b;
    font-size: 13px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    white-space: nowrap;
}

.sharp-table td {
    padding: 11px 16px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.sharp-table tr:nth-child(even) td {
    background-color: #f8fafc;
}

.table-action-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background-color: var(--brand-blue);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 12.5px;
    padding: 6px 12px;
    border-radius: 2px;
    text-decoration: none !important;
    white-space: nowrap;
}

.table-action-link:hover {
    background-color: var(--brand-blue-hover);
}

.table-action-link svg {
    width: 13px;
    height: 13px;
    stroke: currentColor;
    stroke-width: 2.2;
}

/* --------------------------------------------------------------------------
 * 7. VECTOR SERVICES GRID (FLAT, CLEAN, ZERO EMOJIS)
 * -------------------------------------------------------------------------- */
.services-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin: 28px 0;
}

.service-feature-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 0; /* Sharp 0px corners */
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color 0.15s ease;
}

.service-feature-card:hover {
    border-color: var(--brand-blue);
}

.service-card-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.service-vector-icon {
    width: 38px;
    height: 38px;
    background-color: #eff6ff;
    color: var(--brand-blue);
    border: 1px solid #bfdbfe;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-vector-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.service-header-text .service-dept-badge {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-header-text h4 {
    margin: 2px 0 0 0;
    font-size: 15.5px;
    font-weight: 700;
    color: var(--text-heading);
    line-height: 1.35;
}

.service-card-body p {
    font-size: 13.5px;
    color: var(--text-body);
    line-height: 1.55;
    margin-bottom: 14px;
}

.service-card-footer a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--brand-blue);
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
}

.service-card-footer a:hover {
    color: var(--brand-blue-hover);
    text-decoration: underline;
}

.service-card-footer a svg {
    width: 13px;
    height: 13px;
    stroke: currentColor;
    stroke-width: 2.2;
}

/* --------------------------------------------------------------------------
 * 8. STEPPED PROCESS BOXES (FLAT, ZERO ROUNDS)
 * -------------------------------------------------------------------------- */
.sharp-steps-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 24px 0;
}

.sharp-step-item {
    display: flex;
    gap: 16px;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 0;
    padding: 16px 20px;
}

.step-index-box {
    width: 32px;
    height: 32px;
    background-color: #090d16;
    color: #ffffff;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
    flex-shrink: 0;
}

.step-body-content h4 {
    margin: 0 0 4px 0;
    font-size: 15.5px;
    font-weight: 700;
    color: var(--text-heading);
}

.step-body-content p {
    margin: 0;
    font-size: 14px;
    color: var(--text-body);
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
 * 9. FAQ ACCORDION (FLAT, ACCESSIBLE)
 * -------------------------------------------------------------------------- */
.modern-faq-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 28px 0;
}

.modern-faq-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 0;
}

.modern-faq-toggle {
    width: 100%;
    text-align: left;
    background: #ffffff;
    border: none;
    padding: 16px 20px;
    cursor: pointer;
    font-family: inherit;
    font-size: 15.5px;
    font-weight: 700;
    color: var(--text-heading);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.modern-faq-toggle:hover {
    background-color: #f8fafc;
}

.faq-indicator {
    width: 18px;
    height: 18px;
    stroke: var(--text-muted);
    stroke-width: 2.2;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.modern-faq-card.open .faq-indicator {
    transform: rotate(180deg);
}

.modern-faq-content {
    display: none;
    padding: 0 20px 18px 20px;
    font-size: 14.5px;
    color: var(--text-body);
    line-height: 1.65;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.modern-faq-card.open .modern-faq-content {
    display: block;
}

/* --------------------------------------------------------------------------
 * 10. FOOTER & ADSENSE LEGAL LINKS
 * -------------------------------------------------------------------------- */
.site-footer {
    background-color: #090d16;
    color: #94a3b8;
    padding: 40px 0 24px 0;
    border-top: 1px solid #1e293b;
    font-size: 13.5px;
}

.footer-columns {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 32px;
}

@media (max-width: 800px) {
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.footer-col h4 {
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.footer-col p {
    font-size: 13px;
    line-height: 1.6;
    color: #94a3b8;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links-list a {
    color: #cbd5e1;
    font-size: 13px;
}

.footer-links-list a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-bottom-bar {
    border-top: 1px solid #1e293b;
    padding-top: 20px;
    font-size: 12px;
    text-align: center;
    color: #64748b;
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
 * 11. HERO FEATURED IMAGE & BUTTON POSITION ENHANCEMENTS
 * -------------------------------------------------------------------------- */
.hero-card-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-featured-image {
    width: 100%;
    height: auto;
    max-width: 580px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
    display: block;
    object-fit: cover;
}

.inside-hero-btn-wrap {
    margin: 18px 0 0 0 !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.inside-hero-btn-wrap h2, .inside-hero-btn-wrap p {
    display: none;
}

.below-hero-btn-wrap {
    margin: 20px 0 !important;
    border-radius: 4px;
}

/* --------------------------------------------------------------------------
 * 12. ARTICLES & EDITORIAL LAYOUT
 * -------------------------------------------------------------------------- */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.article-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.article-card:hover {
    border-color: #cbd5e1 !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.article-card:hover .article-thumb img {
    transform: scale(1.03);
}

.article-thumb {
    overflow: hidden;
    height: 190px;
    background: #f1f5f9;
}

.article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

