/* ============================================================
   THE EXAMINER — style.css
   Primary: #0a5c2e  |  Font: Plus Jakarta Sans + Playfair Display
   ============================================================ */


/* ── TOKENS ─────────────────────────────────────────────── */

:root {
    --primary: #0a5c2e;
    --primary-light: #0d7a3e;
    --primary-dark: #073d1e;
    --primary-xlight: #e8f5ed;
    --accent: #f5a623;
    --accent-dark: #d4881a;
    --white: #ffffff;
    --dark: #0d1b12;
    --text: #1a2e20;
    --text-muted: #5a7060;
    --border: #d4e8da;
    --bg-light: #f4faf6;
    --bg-section: #fafffe;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --shadow-sm: 0 2px 8px rgba(10, 92, 46, .08);
    --shadow-md: 0 8px 32px rgba(10, 92, 46, .14);
    --shadow-lg: 0 20px 60px rgba(10, 92, 46, .18);
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --font-display: 'Playfair Display', serif;
    --transition: all .3s cubic-bezier(.4, 0, .2, 1);
}


/* ── RESET & BASE ────────────────────────────────────────── */

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    min-width: 0;
}

.hero,
.top-bar,
.navbar,
.section-block,
.section-cta,
footer {
    overflow-x: hidden;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
}

.hero-bg-shapes .shape {
    max-width: 100vw;
    min-width: 0;
}

.navbar-brand,
.navbar-toggler,
.navbar-nav .nav-link,
.hero-title,
.hero-desc,
.section-heading,
.hero-stats,
.stat-item {
    min-width: 0;
}

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

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

::selection {
    background: var(--primary);
    color: #fff;
}


/* ── PRELOADER (fixed for mobile centering, no overflow) ───────────────── */

#preloader {
    position: fixed;
    inset: 0;
    width: 100vw;
    min-width: 100vw;
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    z-index: 99999;
    background: var(--dark);
    display: grid;
    place-items: center;
    overflow: hidden;
    transition: opacity .6s ease, visibility .6s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 560px;
    width: min(100%, 560px);
    padding: 0 16px;
    overflow: hidden;
}

.preloader-logo {
    max-width: 320px;
    width: auto;
    height: auto;
    padding: 14px 18px;
    background: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    animation: pulseLogo 1.2s ease-in-out infinite;
    overflow: hidden;
}

.preloader-logo img {
    max-width: 100%;
    height: auto;
    display: block;
}

.preloader-bar {
    width: clamp(180px, 36vw, 360px);
    max-width: 90vw;
    height: 4px;
    background: rgba(255, 255, 255, .15);
    border-radius: 999px;
    overflow: hidden;
    margin: 0 auto;
}


/* Mobile specific */

@media (max-width: 576px) {
    .preloader-logo {
        max-width: 70vw;
        padding: 8px 12px;
    }
    .preloader-bar {
        max-width: 80vw;
    }
}

@keyframes pulseLogo {
    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(10, 92, 46, .4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 16px rgba(10, 92, 46, 0);
    }
}

@keyframes pulseLogoMobile {
    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(10, 92, 46, .3);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 0 0 0 10px rgba(10, 92, 46, 0);
    }
}

.preloader-bar {
    width: clamp(140px, 40vw, 220px);
    max-width: 90vw;
    height: 3px;
    background: rgba(255, 255, 255, .15);
    border-radius: 99px;
    overflow: hidden;
    margin: 0 auto;
}

.preloader-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--primary-light), var(--accent));
    border-radius: 99px;
    animation: fillBar 1.8s ease-in-out forwards;
}

@keyframes fillBar {
    0% {
        width: 0;
    }
    60% {
        width: 80%;
    }
    100% {
        width: 100%;
    }
}


/* ── ROLL NUMBER PAGE ───────────────────────────────────── */

body.rollnumber-page {
    background: #f4f7f3;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.rollnumber-page .main-content {
    flex: 1 0 auto;
}

.eteas-rollnumber-header {
    border-bottom: 4px solid var(--primary);
    background: #fff;
    padding: 18px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
}

.eteas-rollnumber-header .eteas-logo img {
    max-width: 220px;
    width: 100%;
    height: auto;
    transition: transform .2s ease;
}

.eteas-rollnumber-main-heading {
    font-size: clamp(1rem, 2vw, 2rem);
    font-weight: 800;
    color: var(--primary-dark);
    text-align: center;
    margin: 0.5rem 0 0;
}

.custom-container {
    padding: 24px 16px;
    max-width: 960px;
    margin: 0 auto;
}

.form-container {
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, .1);
    padding: 2rem 2rem 2rem;
    transition: var(--transition);
    border: 1px solid rgba(10, 92, 46, .12);
}

.form-container h4 {
    color: var(--primary-dark);
    font-weight: 800;
    letter-spacing: -0.2px;
    border-left: 5px solid var(--primary);
    padding-left: 16px;
    margin-bottom: 0.75rem;
}

body.rollnumber-page .form-label {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.4rem;
    font-size: .95rem;
}

body.rollnumber-page .form-control {
    border-radius: 14px;
    padding: 12px 16px;
    border: 1.5px solid #e0e7e2;
    transition: border-color .2s ease, box-shadow .2s ease;
}

body.rollnumber-page .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(10, 92, 46, 0.18);
}

body.rollnumber-page .btn-primary {
    background-color: var(--primary);
    border: none;
    border-radius: 40px;
    padding: 12px 0;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: .8px;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .08);
}

body.rollnumber-page .btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(0, 0, 0, .12);
}

body.rollnumber-page .btn-secondary {
    background-color: #5a626e;
    border-radius: 30px;
    padding: 6px 16px;
    font-size: .9rem;
    font-weight: 600;
    color: #fff;
    border: none;
}

.captcha-row {
    background: #f8fbf7;
    border-radius: 20px;
    padding: 12px 14px;
    border: 1px solid #dee6df;
}

#captcha-image {
    border-radius: 16px;
    background: #fff;
    border: 1px solid #cbdcd0;
    max-height: 52px;
    object-fit: contain;
}

.eteas-rollnumber-footer {
    background: #ffffff;
    border-top: 2px solid var(--primary);
    padding: 14px 0 18px;
    margin-top: 20px;
}

.eteas-rollnumber-footer a {
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
}

.eteas-rollnumber-footer a:hover {
    color: var(--primary);
}

.eteas-rollnumber-footer i {
    margin-right: 4px;
}

.contact-info {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.important-notice {
    max-width: 900px;
    margin: 30px auto;
    border: 2px solid #dc3545;
    border-radius: 20px;
    background: #fff5f5;
}

.notice-header {
    background: #dc3545;
    color: #fff;
    border-radius: 18px 18px 0 0;
    padding: 12px 18px;
}

@media (max-width: 768px) {
    .eteas-rollnumber-main-heading {
        font-size: 1.1rem;
    }
    .eteas-rollnumber-header .eteas-logo img {
        max-width: 160px;
    }
}

@media (max-width: 576px) {
    .form-container {
        padding: 1.5rem;
    }
    .custom-container {
        padding: 10px 16px;
    }
    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }
}


/* ── TOP BAR ─────────────────────────────────────────────── */

.top-bar {
    background: var(--primary-dark);
    padding: 8px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, .85);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.top-bar a {
    color: rgba(255, 255, 255, .85);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.top-bar a:hover {
    color: var(--accent);
}


/* ── NAVBAR ──────────────────────────────────────────────── */

.navbar {
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--border);
    padding: 12px 0;
    transition: var(--transition);
    z-index: 1000;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    padding: 8px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: auto;
    height: 100px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.brand-mark img {
    width: auto;
    height: 100%;
    object-fit: contain;
}


/*
.brand-name {
    display: block;
    font-weight: 800;
    font-size: 17px;
    color: var(--primary-dark);
    line-height: 1.2;
}

.brand-sub {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: .3px;
}
*/

.navbar-nav .nav-link {
    font-weight: 600;
    font-size: 14px;
    color: var(--text) !important;
    padding: 8px 14px !important;
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--primary);
    border-radius: 99px;
    transform: scaleX(0);
    transition: transform .25s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

.navbar-nav .nav-link:hover {
    color: var(--primary) !important;
}

.navbar-nav .nav-link.nav-cta {
    background: var(--primary);
    color: #fff !important;
    border-radius: 99px;
    padding: 8px 22px !important;
    margin-left: 8px;
}

.navbar-nav .nav-link.nav-cta::after {
    display: none;
}

.navbar-nav .nav-link.nav-cta:hover {
    background: var(--primary-light);
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.toggler-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-xlight);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
    border: none;
    cursor: pointer;
}

.navbar-toggler {
    border: none;
    padding: 0;
    box-shadow: none !important;
}


/* ── HERO ────────────────────────────────────────────────── */

.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #0e6b35 50%, #145c2f 100%);
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .04);
}

.shape-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -150px;
}

.shape-2 {
    width: 350px;
    height: 350px;
    bottom: -100px;
    left: -80px;
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 60%;
    left: 40%;
    background: rgba(245, 166, 35, .07);
}

.min-vh-hero {
    min-height: calc(100vh - 120px);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);
    backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, .95);
    padding: 6px 16px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: .4px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 20px;
}

.hero-title .highlight {
    color: var(--accent);
    position: relative;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
    border-radius: 99px;
    opacity: .5;
}

.hero-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, .8);
    margin-bottom: 36px;
    max-width: 520px;
    line-height: 1.75;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 40px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .15);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-lg);
    padding: 16px 24px;
    width: fit-content;
}

.stat-item {
    display: flex;
    flex-direction: column;
    padding: 0 24px;
}

.stat-item:first-child {
    padding-left: 0;
}

.stat-item:last-child {
    padding-right: 0;
}

.stat-item strong {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.stat-item span {
    font-size: 12px;
    color: rgba(255, 255, 255, .7);
    margin-top: 2px;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, .2);
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: var(--dark);
    font-weight: 700;
    font-size: 15px;
    padding: 13px 28px;
    border-radius: 99px;
    transition: var(--transition);
    box-shadow: 0 6px 24px rgba(245, 166, 35, .35);
}

.btn-hero-primary:hover {
    background: var(--accent-dark);
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(245, 166, 35, .45);
}

.btn-hero-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid rgba(255, 255, 255, .35);
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    padding: 13px 28px;
    border-radius: 99px;
    transition: var(--transition);
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .6);
    color: #fff;
    transform: translateY(-2px);
}


/* Hero floating cards */

.hero-card-stack {
    position: relative;
    height: 420px;
}

.hero-float-card {
    position: absolute;
    background: rgb(242, 237, 194);
    border: 1px solid rgba(255, 255, 255, .2);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: #346739;
    box-shadow: var(--shadow-md);
    animation: floatCard 4s ease-in-out infinite;
}

.hero-float-card i {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, .15);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.hero-float-card strong {
    display: block;
    font-weight: 700;
    font-size: 14px;
}

.hero-float-card small {
    display: block;
    font-size: 11px;
    opacity: .75;
}

.card-1 {
    top: 10px;
    left: 0;
    width: 260px;
    animation-delay: 0s;
}

.card-2 {
    top: 140px;
    right: 0;
    width: 260px;
    animation-delay: .8s;
}

.card-3 {
    bottom: 60px;
    left: 30px;
    width: 260px;
    animation-delay: 1.6s;
}

@keyframes floatCard {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.hero-center-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--accent-dark);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    box-shadow: 0 12px 40px rgba(10, 92, 46, .5);
    border: 3px solid rgba(255, 255, 255, .2);
}

.hero-center-badge span {
    font-size: 9px;
    font-weight: 700;
    color: #dbe2de;
    text-transform: uppercase;
    letter-spacing: .5px;
    line-height: 1.4;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
}


/* ── SECTION BLOCKS ──────────────────────────────────────── */

.section-block {
    padding: 80px 0;
}

.section-block.section-alt {
    background: var(--bg-light);
}

.section-block.section-dark {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
}

.section-label {
    display: inline-block;
    background: var(--primary-xlight);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 4px 14px;
    border-radius: 99px;
    margin-bottom: 12px;
}

.section-label.light {
    background: rgba(255, 255, 255, .15);
    color: rgba(255, 255, 255, .9);
}

.section-heading {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.25;
    margin-bottom: 14px;
}

.section-heading.light {
    color: #fff;
}

.section-desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 16px;
    max-width: 600px;
}

.section-sub {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-head {
    margin-bottom: 48px;
}


/* ── ABOUT SECTION ───────────────────────────────────────── */

.about-visual {
    position: relative;
}

.about-img-box {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.rounded-visual {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}

.about-badge-float {
    position: absolute;
    bottom: 20px;
    right: -10px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-md);
    font-size: 13px;
}

.about-badge-float i {
    color: var(--accent);
    font-size: 22px;
}

.about-badge-float span {
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.3;
}

.about-badge-float small {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
}

.about-stat-boxes {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.mini-stat {
    flex: 1;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.mini-stat strong {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
}

.mini-stat span {
    font-size: 11px;
    color: var(--text-muted);
}

.mini-stat.green strong {
    color: var(--primary);
}

.values-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.value-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-xlight);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 600;
}

.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.vm-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    transition: var(--transition);
}

.vm-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.vm-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
}

.vm-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.vm-card p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}


/* ── SERVICE CARDS ───────────────────────────────────────── */

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.svc-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-xlight);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .svc-icon {
    background: var(--primary);
    color: #fff;
}

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

.service-card p {
    font-size: .9rem;
    color: var(--text-muted);
    line-height: 1.7;
    flex: 1;
}

.svc-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    margin-top: 16px;
    transition: var(--transition);
}

.svc-link:hover {
    gap: 10px;
    color: var(--primary-light);
}


/* ── TEST CARDS ──────────────────────────────────────────── */

.tests-category-heading {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 24px;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-xlight);
}

.test-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    height: 100%;
    transition: var(--transition);
    position: relative;
}

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

.test-badge {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 99px;
    letter-spacing: .5px;
    margin-bottom: 14px;
}

.test-card-pro .test-badge {
    background: var(--primary-dark);
}

.badge-pro {
    background: var(--primary-dark) !important;
}

.test-card h4 {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.test-card p {
    font-size: .88rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 14px;
}

.test-fields {
    font-size: .8rem;
    color: var(--primary);
    background: var(--primary-xlight);
    padding: 8px 12px;
    border-radius: 8px;
}


/* ── WHY CARDS ───────────────────────────────────────────── */

.why-card {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    transition: var(--transition);
    text-align: center;
}

.why-card:hover {
    background: rgba(255, 255, 255, .14);
    transform: translateY(-4px);
}

.why-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 18px;
    background: rgba(255, 255, 255, .15);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
}

.why-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.why-card p {
    font-size: .9rem;
    color: rgba(255, 255, 255, .75);
    line-height: 1.7;
    margin: 0;
}


/* ── PROJECTS SECTION ────────────────────────────────────── */

.project-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 22px;
    border-radius: 99px;
    border: 1.5px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
}

.project-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 16px;
    text-align: center;
    transition: var(--transition);
    cursor: default;
}

.project-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.project-item.hidden {
    display: none;
}

.project-logo-box {
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0 auto 16px;
}

.project-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.project-logo-placeholder {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    background: var(--primary-xlight);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 400;
    color: var(--primary);
}

.project-logo-box img {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    border-radius: 50%;
    object-fit: contain;
    border: 2px solid var(--border);
    padding: 4px;
}

.project-item p {
    font-size: 12px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.45;
    margin: 0;
}


/* ── WORKFLOW ────────────────────────────────────────────── */

.workflow-steps {
    display: flex;
    align-items: stretch;
    gap: 0;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 16px;
}

.wf-step {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    flex: 1;
    min-width: 150px;
    max-width: 200px;
    transition: var(--transition);
    position: relative;
}

.wf-step:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.wf-num {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 99px;
}

.wf-icon {
    width: 52px;
    height: 52px;
    margin: 8px auto 16px;
    background: var(--primary-xlight);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
}

.wf-step h4 {
    font-size: .95rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.wf-step p {
    font-size: .82rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

.wf-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    font-size: 18px;
    padding: 0 8px;
    align-self: center;
    flex-shrink: 0;
}


/* ── CTA SECTION ─────────────────────────────────────────── */

.section-cta {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #1a7a43 100%);
    padding: 90px 0;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.cta-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-shape-1 {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .04);
    top: -200px;
    right: -100px;
}

.cta-shape-2 {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(245, 166, 35, .07);
    bottom: -120px;
    left: -80px;
}

.cta-heading {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: #fff;
    max-width: 700px;
    margin: 12px auto 16px;
    line-height: 1.25;
}

.cta-sub {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, .8);
    max-width: 500px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: var(--dark);
    font-weight: 700;
    font-size: 15px;
    padding: 13px 30px;
    border-radius: 99px;
    transition: var(--transition);
    box-shadow: 0 6px 24px rgba(245, 166, 35, .35);
}

.btn-cta-primary:hover {
    background: var(--accent-dark);
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(245, 166, 35, .45);
}

.btn-cta-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid rgba(255, 255, 255, .35);
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    padding: 13px 30px;
    border-radius: 99px;
    transition: var(--transition);
}

.btn-cta-outline:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .6);
    color: #fff;
    transform: translateY(-2px);
}

.result-card {
    background: #ffffffea;
    border-radius: 24px;
    border-left: 5px solid #0a5c2e;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    margin-top: 30px;
    animation: fadeSlideUp 0.4s ease;
}

.rep-card {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: var(--radius-xl);
    padding: 18px 28px;
    backdrop-filter: blur(8px);
}

.rep-avatar {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, .15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
}

.rep-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
}

.rep-info strong {
    font-weight: 700;
    color: #fff;
    font-size: 15px;
}

.rep-info span {
    font-size: 12px;
    color: rgba(255, 255, 255, .75);
}

.rep-info span i {
    margin-right: 4px;
}


/* ── FOOTER ──────────────────────────────────────────────── */

footer {
    background: var(--dark);
    color: rgba(255, 255, 255, .75);
    padding: 14px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-brand-mark {
    width: auto;
    height: 80px;
    padding: 10px 16px;
    background: #fff;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.footer-brand-mark img {
    height: 100%;
    width: auto;
    object-fit: contain;
}


/*
.footer-brand span {
    font-weight: 800;
    font-size: 16px;
    color: #fff;
}*/

.footer-about p {
    font-size: 13px;
    line-height: 1.75;
    margin-bottom: 16px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, .07);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .7);
    font-size: 14px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: #fff;
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 13px;
    color: rgba(255, 255, 255, .65);
    transition: var(--transition);
}

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

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, .65);
    margin-bottom: 10px;
}

.contact-list li i {
    color: var(--primary-light);
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-list a {
    color: rgba(255, 255, 255, .65);
}

.contact-list a:hover {
    color: var(--accent);
}

.footer-bottom {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255, 255, 255, .4);
    margin: 0;
}


/* ── SCROLL TO TOP ───────────────────────────────────────── */

.scroll-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    width: 46px;
    height: 46px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}


/* ── RESPONSIVE ──────────────────────────────────────────── */

.custom-container {
    max-width: 1200px;
}

@media (max-width: 1199px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-about {
        grid-column: 1 / -1;
    }
}

@media (max-width: 991px) {
    .section-block {
        padding: 60px 0;
    }
    .hero {
        padding: 60px 0 80px;
    }
    .min-vh-hero {
        min-height: auto;
        padding: 40px 0 20px;
    }
    .hero-card-stack {
        height: 280px;
        margin-top: 40px;
    }
    .card-1 {
        width: 220px;
        top: 0;
    }
    .card-2 {
        width: 220px;
        top: 100px;
    }
    .card-3 {
        width: 220px;
        bottom: 0;
    }
    .hero-center-badge {
        width: 90px;
        height: 90px;
    }
    .vm-grid {
        grid-template-columns: 1fr;
    }
    .workflow-steps {
        gap: 12px;
    }
    .wf-arrow {
        transform: rotate(90deg);
        width: 100%;
        justify-content: center;
        padding: 0;
    }
    .wf-step {
        max-width: 100%;
        min-width: 200px;
    }
    .navbar-collapse {
        background: var(--white);
        border-top: 1px solid var(--border);
        padding: 12px 0;
        margin-top: 10px;
        border-radius: var(--radius);
    }
    .navbar-nav .nav-link {
        padding: 10px 16px !important;
    }
    .navbar-nav .nav-link.nav-cta {
        margin: 8px 16px 4px;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .top-bar-left {
        display: none;
    }
    .top-bar {
        text-align: center;
    }
    .top-bar .container {
        justify-content: center;
    }
    .hero-stats {
        flex-direction: column;
        gap: 12px;
        padding: 16px;
        max-width: 100%;
        overflow: hidden;
    }
    .hero .container,
    .container {
        max-width: 100vw;
    }
    .navbar-collapse {
        overflow-x: hidden;
    }
    .stat-item {
        padding: 0;
    }
    .stat-divider {
        width: 100%;
        height: 1px;
    }
    .hero-actions {
        flex-direction: column;
    }
    .btn-hero-primary,
    .btn-hero-outline {
        justify-content: center;
        width: 100%;
        max-width: 280px;
    }
    .hero-card-stack {
        display: none;
    }
    .about-badge-float {
        right: 0;
    }
    .about-stat-boxes {
        gap: 8px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .rep-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        max-width: 100%;
    }
    .rep-info {
        align-items: center;
    }
    .wf-arrow {
        display: none;
    }
    .workflow-steps {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
    }
    .wf-step {
        max-width: 100%;
    }
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 14px;
    }
    .section-cta {
        padding: 60px 0;
    }
    /* Additional mobile width fixes */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .hero-title {
        word-wrap: break-word;
        hyphens: auto;
    }
    .hero-desc {
        word-wrap: break-word;
    }
    .section-heading {
        word-wrap: break-word;
        hyphens: auto;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.9rem;
        word-wrap: break-word;
        hyphens: auto;
    }
    .hero-badge {
        font-size: 12px;
    }
    .hero-desc {
        font-size: .95rem;
        word-wrap: break-word;
    }
    .project-filters {
        gap: 8px;
    }
    .filter-btn {
        font-size: 13px;
        padding: 7px 16px;
    }
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
        gap: 10px;
    }
    .project-logo-box {
        width: min(100%, 120px);
        height: min(100%, 120px);
    }
    .project-logo-box img,
    .project-logo-placeholder {
        width: 100px;
        height: 100px;
    }
    .section-heading {
        font-size: 1.5rem;
        word-wrap: break-word;
        hyphens: auto;
    }
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    .btn-hero-primary,
    .btn-hero-outline,
    .btn-cta-primary,
    .btn-cta-outline {
        font-size: 14px;
        padding: 12px 20px;
    }
    .service-card,
    .test-card,
    .why-card {
        padding: 20px;
    }
}