/* ============================================================
   NIC Forms — Home Page (index.php) — Page-Specific Styles
   Enterprise Government Form Builder Platform
   ============================================================ */

/* ---- Design Tokens ---- */
:root {
    --gov-navy:        #002d72;
    --gov-blue:        #0052a3;
    --gov-blue-light:  #1a7fe8;
    --gov-accent:      #c75000;
    --gov-teal:        #00747a;
    --text-dark:       #0f1c2d;
    --text-body:       #374151;
    --text-muted:      #64748b;
    --bg-page:         #f0f4f9;
    --bg-card:         #ffffff;
    --border:          #dde3ee;
    --radius-sm:       6px;
    --radius-md:       12px;
    --shadow-card:     0 2px 16px rgba(0,45,114,0.08);
    --shadow-hover:    0 8px 32px rgba(0,45,114,0.16);
    --transition:      all 0.25s ease;
}

/* ==============================================================
   TOP BAR
   ============================================================== */
#topbar {
    background: var(--gov-navy);
    height: 36px;
    font-size: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

#topbar.topbar-scrolled { top: -44px; }

#topbar .contact-info a {
    color: rgba(255,255,255,0.82);
    font-size: 12px;
}
#topbar .contact-info i { color: rgba(255,255,255,0.45); }
#topbar .contact-info a:hover { color: #fff; }

#topbar .social-links a {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
}
#topbar .social-links a:hover { color: #fff; }

/* ==============================================================
   HEADER
   ============================================================== */
#header {
    top: 36px;
    padding: 8px 0;
    background: #fff;
    box-shadow: 0 2px 24px rgba(0,45,114,0.1);
    border-bottom: 3px solid var(--gov-navy);
}
#header.header-scrolled { top: 0; }

#header .logo {
    /* font-size: 21px;
    font-weight: 800; */
    margin: 0 0 0 -14px;
    font-family: "Raleway", sans-serif;
    letter-spacing: -0.3px;
}
#header .logo a { color: var(--text-dark); }

/* Version tag — very small, light, superscript-style */
.logo-version {
    font-size: 9.5px;
    font-weight: 500;
    color: rgba(0,45,114,0.38);
    vertical-align: super;
    margin-left: 3px;
    letter-spacing: 0.2px;
    font-family: Arial, Helvetica, sans-serif;
    user-select: none;
}

/* Login CTA */
.appointment-btn {
    background: #ffffff;
    color: #000000 !important;
    border-radius: var(--radius-sm);
    /* padding: 9px 24px; */
    font-size: 13px;
    /* font-weight: 600; */
    letter-spacing: 0.3px;
    border: 1px solid #000000;
    transition: var(--transition);
    white-space: nowrap;
}
.appointment-btn:hover {
    background: transparent;
    color: var(--gov-navy) !important;
}

/* Navbar links */
.navbar a,
.navbar a:focus {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 0.2px;
    padding: 5px 3px;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}
.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a {
    color: var(--gov-blue);
    border-bottom-color: var(--gov-blue);
}

/* ==============================================================
   HERO SECTION
   ============================================================== */
#hero {
    width: 100%;
    min-height: 620px;
    height: auto;
    background: linear-gradient(140deg, #001f54 0%, var(--gov-navy) 35%, #004fa8 75%, #0071c8 100%);
    margin-bottom: 0;
    padding: 128px 0 88px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Geometric rings */
#hero .hero-ring-1 {
    position: absolute;
    top: -100px; right: -100px;
    width: 520px; height: 520px;
    border-radius: 50%;
    border: 72px solid rgba(255,255,255,0.04);
    pointer-events: none;
}
#hero .hero-ring-2 {
    position: absolute;
    bottom: -120px; right: 80px;
    width: 360px; height: 360px;
    border-radius: 50%;
    border: 52px solid rgba(255,255,255,0.03);
    pointer-events: none;
}
#hero .hero-ring-3 {
    position: absolute;
    top: 35%; left: -80px;
    width: 220px; height: 220px;
    border-radius: 50%;
    border: 32px solid rgba(255,255,255,0.025);
    pointer-events: none;
}
/* Subtle grid dot pattern */
#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    mask-image: linear-gradient(to bottom right, rgba(0,0,0,0.4) 0%, transparent 70%);
    -webkit-mask-image: linear-gradient(to bottom right, rgba(0,0,0,0.4) 0%, transparent 70%);
}

#hero .container { position: relative; z-index: 2; }

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.88);
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    margin-bottom: 22px;
}
.hero-badge i { font-size: 12px; color: rgba(255,255,255,0.6); }

/* Hero headings (original tags: h4 and h5) */
#hero h4 {
    font-size: 46px;
    font-weight: 800;
    line-height: 1.12;
    color: #ffffff;
    margin: 0 0 18px;
    font-family: "Raleway", sans-serif;
    letter-spacing: -0.5px;
}
#hero h5 {
    font-size: 17px;
    font-weight: 400;
    color: rgba(255,255,255,0.75);
    margin: 0 0 36px;
    line-height: 1.65;
    max-width: 520px;
}

#hero .btn-get-started {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gov-accent);
    color: #fff;
    border-radius: var(--radius-sm);
    padding: 13px 32px;
    font-family: "Raleway", sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    border: 2px solid var(--gov-accent);
    margin-top: 0;
    transition: var(--transition);
}
#hero .btn-get-started:hover {
    background: transparent;
    color: rgba(255,255,255,0.9);
    border-color: rgba(255,255,255,0.5);
}

/* Hero feature pills */
.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 36px;
}
.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.13);
    color: rgba(255,255,255,0.7);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
}
.hero-pill i {
    font-size: 11px;
    color: rgba(255,255,255,0.45);
}

/* ==============================================================
   HERO ANIMATED FORM PREVIEW
   ============================================================== */

/*
 * Outer wrapper — absolutely positioned in the hero background.
 * Low opacity + a screen blend so it reads as a ghosted layer
 * rather than a foreground element.
 */
.hfp-outer {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 360px;
    /* --- key fading props --- */
    opacity: 0.22;
    mix-blend-mode: screen;
    /* ----------------------- */
    pointer-events: none;
    z-index: 1;          /* behind the hero .container (z-index:2) */
    padding: 28px 20px;
}

/* ---- Main floating card ---- */
.hfp-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow:
        0 32px 80px rgba(0,0,0,0.32),
        0 8px 24px rgba(0,29,72,0.18),
        inset 0 1px 0 rgba(255,255,255,0.9);
    overflow: hidden;
    animation: hfpFloat 5.5s ease-in-out infinite;
    position: relative;
    z-index: 3;
}

@keyframes hfpFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33%       { transform: translateY(-10px) rotate(0.3deg); }
    66%       { transform: translateY(-5px) rotate(-0.2deg); }
}

/* Window chrome bar (macOS-style) */
.hfp-chrome {
    background: #f5f7fa;
    border-bottom: 1px solid #e8edf4;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.hfp-dot {
    width: 11px; height: 11px;
    border-radius: 50%;
    flex-shrink: 0;
}
.hfp-dot-red    { background: #ff5f57; }
.hfp-dot-yellow { background: #febc2e; }
.hfp-dot-green  { background: #28c840; }
.hfp-chrome-title {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    color: #5a6a80;
    margin-left: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Progress track */
.hfp-progress-track {
    height: 3px;
    background: #edf0f5;
}
.hfp-progress-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--gov-navy) 0%, #1a7fe8 100%);
    border-radius: 0 2px 2px 0;
    animation: hfpProgress 2.8s cubic-bezier(.4,0,.2,1) forwards 0.4s;
}
@keyframes hfpProgress {
    to { width: 76%; }
}

/* Form body */
.hfp-body {
    padding: 16px 16px 14px;
}

/* ---- Individual fields ---- */
.hfp-field {
    margin-bottom: 11px;
    opacity: 0;
    transform: translateY(6px);
}
/* Staggered field entrance */
.hfp-f1 { animation: hfpFieldIn 0.45s ease forwards 0.7s; }
.hfp-f2 { animation: hfpFieldIn 0.45s ease forwards 1.15s; }
.hfp-f3 { animation: hfpFieldIn 0.45s ease forwards 1.6s; }
.hfp-f4 { animation: hfpFieldIn 0.45s ease forwards 2.05s; }
.hfp-f5 { animation: hfpFieldIn 0.45s ease forwards 2.5s; }

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

/* Field label */
.hfp-lbl {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 9.5px;
    font-weight: 700;
    color: #8898a8;
    text-transform: uppercase;
    letter-spacing: 0.9px;
    margin-bottom: 5px;
}

/* Text input row */
.hfp-input-row {
    background: #f4f7fb;
    border: 1.5px solid #d8e3ef;
    border-radius: 7px;
    padding: 8px 10px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12.5px;
    color: #1a2332;
    display: flex;
    align-items: center;
}
.hfp-input-text { flex: 1; }
.hfp-cursor {
    display: inline-block;
    width: 1.5px;
    height: 14px;
    background: var(--gov-navy);
    margin-left: 1px;
    flex-shrink: 0;
    animation: hfpBlink 1.05s step-end infinite;
}
@keyframes hfpBlink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

/* Select / dropdown row */
.hfp-select-row {
    background: #f4f7fb;
    border: 1.5px solid #d8e3ef;
    border-radius: 7px;
    padding: 8px 10px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12.5px;
    color: #1a2332;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.hfp-select-row i { color: #94a3b8; font-size: 11px; }

/* Radio group */
.hfp-radio-group {
    display: flex;
    gap: 14px;
}
.hfp-radio {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #374151;
    cursor: default;
}
.hfp-radio-dot {
    width: 14px; height: 14px;
    border-radius: 50%;
    border: 2px solid #ccd6e4;
    flex-shrink: 0;
    transition: var(--transition);
}
.hfp-radio-active .hfp-radio-dot {
    border-color: var(--gov-navy);
    background: var(--gov-navy);
    box-shadow: inset 0 0 0 2.5px #fff;
}

/* Checkbox rows */
.hfp-check-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #374151;
    margin-bottom: 6px;
}
.hfp-check-row:last-child { margin-bottom: 0; }
.hfp-check {
    width: 15px; height: 15px;
    border-radius: 4px;
    border: 2px solid #ccd6e4;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: transparent;
    font-size: 10px;
}
.hfp-check-on {
    background: var(--gov-navy);
    border-color: var(--gov-navy);
    color: #fff;
    animation: hfpCheckPop 0.3s cubic-bezier(.36,.07,.19,.97) forwards 2.3s;
}
@keyframes hfpCheckPop {
    0%   { transform: scale(0.7); }
    70%  { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* Submit button */
.hfp-submit {
    background: linear-gradient(135deg, var(--gov-navy) 0%, #0052a3 100%);
    color: #fff;
    border-radius: 7px;
    padding: 10px 16px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    cursor: default;
    animation: hfpPulse 2.5s ease-in-out infinite 3.5s;
    letter-spacing: 0.2px;
}
@keyframes hfpPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0,45,114,0.3); }
    50%       { box-shadow: 0 0 0 8px rgba(0,45,114,0); }
}

/* ---- Floating stat badges ---- */
.hfp-badge {
    position: absolute;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.18), 0 2px 8px rgba(0,45,114,0.1);
    border: 1px solid rgba(255,255,255,0.7);
    z-index: 4;
    opacity: 0;
    animation: hfpBadgeIn 0.6s ease forwards;
}

.hfp-badge-top {
    top: 4px;
    right: -4px;
    animation-delay: 3.2s;
    animation: hfpBadgeIn 0.6s ease forwards 3.2s, hfpBadgeFloat 5s ease-in-out infinite 3.8s;
}
.hfp-badge-bottom {
    bottom: 4px;
    left: -4px;
    animation: hfpBadgeIn 0.6s ease forwards 3.8s, hfpBadgeFloat2 5.5s ease-in-out infinite 4.4s;
}

@keyframes hfpBadgeIn {
    from { opacity: 0; transform: scale(0.85) translateY(8px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes hfpBadgeFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-7px); }
}
@keyframes hfpBadgeFloat2 {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(7px); }
}

.hfp-badge-icon {
    width: 34px; height: 34px;
    background: rgba(0,45,114,0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--gov-navy);
    flex-shrink: 0;
}
.hfp-badge-icon-green {
    background: rgba(5,150,105,0.08);
    color: #059669;
}
.hfp-badge-num {
    font-family: "Raleway", sans-serif;
    font-size: 17px;
    font-weight: 800;
    color: #0f1c2d;
    line-height: 1;
    white-space: nowrap;
}
.hfp-badge-text {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10.5px;
    color: #64748b;
    font-weight: 500;
    margin-top: 3px;
    white-space: nowrap;
}

/* ==============================================================
   PLATFORM OVERVIEW (Why Us)
   ============================================================== */
.why-us {
    padding: 80px 0 !important;
    background: var(--bg-page);
}

.section-eyebrow {
    display: inline-block;
    background: rgba(0,82,163,0.08);
    color: var(--gov-blue);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.overview-header h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 12px;
    font-family: "Raleway", sans-serif;
}
.overview-header p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 500px;
    margin: 0;
}

/* Feature cards — new markup, no conflict with old .icon-box */
.feature-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    height: 100%;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gov-navy), var(--gov-blue-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}
.feature-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: rgba(0,82,163,0.12);
    transform: translateY(-4px);
}
.feature-card:hover::after { transform: scaleX(1); }

.feature-card .fc-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--gov-navy), var(--gov-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex-shrink: 0;
}
.feature-card .fc-icon i {
    font-size: 22px;
    color: #fff;
}
.feature-card h5 {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-family: "Raleway", sans-serif;
}
.feature-card p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

/* ==============================================================
   STATISTICS / COUNTS
   ============================================================== */
#counts {
    background: var(--gov-navy) !important;
    padding: 64px 0 !important;
}

/* Reset the old count-box styles */
.counts .count-box,
#counts .count-box {
    display: none !important;
}

/* New stat-tile component */
.stat-tile {
    text-align: center;
    padding: 32px 20px;
    position: relative;
}
.stat-tile::after {
    content: '';
    position: absolute;
    right: 0; top: 25%; bottom: 25%;
    width: 1px;
    background: rgba(255,255,255,0.1);
}
.stat-tile:last-child::after { display: none; }

.stat-tile-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}
.stat-tile-icon i {
    font-size: 22px;
    color: rgba(255,255,255,0.75);
}
.stat-tile .stat-value {
    font-size: 44px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    display: block;
    margin-bottom: 10px;
    font-family: "Raleway", sans-serif;
    min-height: 44px;
}
.stat-tile .stat-label {
    font-size: 10.5px;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
    letter-spacing: 1.6px;
    font-weight: 600;
}

/* ==============================================================
   SERVICES
   ============================================================== */
#services {
    background: #fff;
    padding: 80px 0;
}

/* New service card — avoids conflict with old .icon-box */
.svc-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 30px 26px;
    height: 100%;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.svc-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: rgba(0,82,163,0.18);
    transform: translateY(-3px);
}
.svc-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 21px;
}
.svc-icon.c-blue   { background: rgba(0,82,163,0.09);  color: var(--gov-blue); }
.svc-icon.c-teal   { background: rgba(0,116,122,0.09); color: var(--gov-teal); }
.svc-icon.c-orange { background: rgba(199,80,0,0.09);  color: var(--gov-accent); }
.svc-icon.c-purple { background: rgba(109,40,217,0.09); color: #6d28d9; }
.svc-icon.c-green  { background: rgba(5,150,105,0.09);  color: #059669; }
.svc-icon.c-indigo { background: rgba(49,130,206,0.09); color: #3182ce; }

.svc-card h4 {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-family: "Raleway", sans-serif;
}
.svc-card h4 a {
    color: inherit;
    transition: color 0.2s;
}
.svc-card h4 a:hover { color: var(--gov-blue); }
.svc-card p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

/* ==============================================================
   PARTNER LOGOS
   ============================================================== */
#logos {
    background: var(--bg-page) !important;
    padding: 44px 0 !important;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.logos-eyebrow {
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 30px;
}
.partner-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px 56px;
}
.partner-logo-link {
    display: block;
    opacity: 0.6;
    filter: grayscale(25%);
    transition: var(--transition);
}
.partner-logo-link:hover {
    opacity: 1;
    filter: none;
}

/* ==============================================================
   FOOTER
   ============================================================== */
#footer {
    background: #111827 !important;
    color: rgba(255,255,255,0.75);
    padding: 0 !important;
    font-size: 14px;
}

/* Hide the old flat footer container */
#footer > .container.d-md-flex { display: none !important; }

.footer-body {
    padding: 56px 0 40px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

/* Brand column */
.footer-brand-name {
    font-size: 19px;
    font-weight: 800;
    color: #fff;
    font-family: "Raleway", sans-serif;
    display: block;
    margin-bottom: 10px;
    letter-spacing: -0.2px;
}
.footer-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.42);
    line-height: 1.75;
    max-width: 260px;
    margin-bottom: 24px;
}

/* Social icons */
.footer-social {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.footer-social-btn {
    width: 34px;
    height: 34px;
    background: rgba(255,255,255,0.07);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    transition: var(--transition);
    text-decoration: none;
}
.footer-social-btn:hover {
    background: var(--gov-blue);
    color: #fff;
}

/* Section title */
.footer-section-title {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin-bottom: 18px;
}

/* Nav list */
.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-nav li { margin-bottom: 10px; }
.footer-nav a {
    color: rgba(255,255,255,0.58);
    font-size: 13.5px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: color 0.2s;
}
.footer-nav a i { font-size: 11px; opacity: 0.5; }
.footer-nav a:hover { color: #fff; }

/* Contact row */
.footer-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
}
.footer-contact-row i {
    color: rgba(255,255,255,0.3);
    font-size: 15px;
    margin-top: 1px;
    flex-shrink: 0;
}
.footer-contact-row span,
.footer-contact-row a {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    font-family: "Courier New", monospace;
    line-height: 1.5;
}
.footer-contact-row a:hover { color: #fff; }

/* Action buttons in footer */
.footer-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 12.5px;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.65);
    background: transparent;
    width: 100%;
    transition: var(--transition);
    margin-bottom: 8px;
    text-decoration: none;
}
.footer-action-btn:hover {
    background: rgba(255,255,255,0.07);
    color: #fff;
    border-color: rgba(255,255,255,0.28);
}
.footer-action-btn i { font-size: 14px; }

/* Footer bottom bar */
.footer-bottom {
    padding: 20px 0;
}
.footer-bottom-left {
    font-size: 12px;
    color: rgba(255,255,255,0.32);
    line-height: 1.7;
}
.footer-bottom-left a {
    color: rgba(255,255,255,0.44);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.footer-bottom-left a:hover { color: rgba(255,255,255,0.72); }

.footer-nic-logo {
    max-height: 42px;
    opacity: 0.85;
    background: #fff;
    border-radius: 4px;
    padding: 4px 8px;
}

/* ==============================================================
   RESPONSIVE
   ============================================================== */
@media (max-width: 1199px) {
    #hero h4 { font-size: 38px; }
}

@media (max-width: 1199px) {
    #hero h4 { font-size: 38px; }
    .hfp-outer { width: 300px; }
}

@media (max-width: 991px) {
    #header { top: 36px; }

    #hero {
        padding: 100px 0 64px;
        min-height: auto;
        height: auto;
        margin-bottom: 0 !important;
    }
    /* The form preview col is d-none d-lg-block so it hides automatically */
    #hero h4 { font-size: 30px; }
    #hero h5 { font-size: 15px; max-width: 100%; }
    .hero-left { text-align: left; }

    .hero-pills { gap: 8px; }

    .stat-tile {
        padding: 24px 16px;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .stat-tile::after { display: none; }
    .stat-tile:last-child { border-bottom: none; }

    .why-us { padding: 60px 0 !important; }
    .overview-header { margin-bottom: 32px; }
}

@media (max-width: 767px) {
    #hero h4 { font-size: 26px; }
    #hero h5 { font-size: 14.5px; }

    .overview-header h2 { font-size: 22px; }

    .partner-logos { gap: 24px 40px; }

    .footer-body { padding: 40px 0 28px; }
    .footer-nic-logo { max-height: 36px; }
}

@media (max-width: 575px) {
    #hero {
        padding: 88px 0 48px;
    }
    #hero h4 { font-size: 23px; }
    #hero h5 { font-size: 14px; }
    .hero-pills { display: none; }

    .stat-tile .stat-value { font-size: 36px; }
}
