/* =============================================
   JKS SOFT TECH — Style Sheet
   Built on the same design system as the
   Helping Hands site: navy + teal as the two
   primaries, orange as a small, deliberate
   accent (logo spark, eyebrow marks, nav
   underline, notices, the client-quote border) —
   never a second primary color.

   Palette:
     Navy    #003554   (primary brand)
     Teal    #0077A8   (action / accent)
     Orange  #F4903F   (warmth accent — used sparingly)
     Sky     #E8F4FA   (light bg)
     Warm    #FFF8F0   (alt section bg)
     Text    #1A1A2E   (headings)
     Muted   #555E6E   (body)
     White   #FFFFFF
============================================= */

:root {
    --navy: #003554;
    --navy-deep: #001f33;
    --teal: #0077A8;
    --teal-deep: #005f87;
    --orange: #F4903F;
    --orange-deep: #C6691B;
    --sky: #E8F4FA;
    --warm: #FFF8F0;
    --text: #1A1A2E;
    --muted: #555E6E;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Inter', Arial, sans-serif;
    color: var(--text);
    background: #ffffff;
    line-height: 1.6;
}

:focus-visible {
    outline: 3px solid var(--teal);
    outline-offset: 3px;
    border-radius: 4px;
}

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

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

/* ---------- Typography ---------- */
h1, h2, h3 {
    font-family: 'Merriweather', Georgia, serif;
    line-height: 1.25;
    color: var(--navy);
}

h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }

p { font-size: 1rem; color: var(--muted); line-height: 1.75; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.1s;
    text-align: center;
    white-space: nowrap;
}

.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: var(--teal);
    color: #fff;
    border-color: var(--teal);
}
.btn-primary:hover { background: var(--teal-deep); border-color: var(--teal-deep); }

.btn-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.7);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); }

.btn-outline {
    background: var(--navy);   /* blue background */
    color: var(--teal);        /* teal text */
    border: 2px solid var(--teal);
    padding: 10px 22px;
    font-size: 0.9rem;
}

.btn-outline:hover {
    background: var(--teal);
    color: #fff;
    border-color: var(--teal);
}
.btn-full { width: 100%; }



/* ---------- Header ---------- */
.header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

header {
    width: 100%;
    background: #fff;
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    height: 68px;
    display: flex;
    align-items: center;
}
/* Logo */
.logo-img {
    height: 42px;
    width: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.logo-img {
    height: 60px;   /* adjust as needed */
    width: auto;
    display: block;
}


/* A small spark of warmth beside the wordmark — the one place
   orange appears at full strength in the header. */
.logo-text::after {
    content: '';
    position: absolute;
    top: 2px;
    right: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--orange);
}

/* Nav */
.nav {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--navy);
    padding: 8px 16px;
    border-radius: 6px;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.nav-link:hover,
.nav-link:focus-visible {
    color: var(--teal);
    background: rgba(255,255,255,0.1);
    border-bottom-color: var(--orange);
}

.header-cta { flex-shrink: 0; }

/* Hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
}

.menu-toggle span {
    display: block;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: 0.2s;
}

/* ---------- Hero ---------- */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 48px;
    padding: 80px 24px;
    width: 100%;
    min-height: 520px;
}

.hero-inner { flex: 1; min-width: 0; }

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.65);
    margin-bottom: 16px;
    padding-left: 16px;
    position: relative;
}

.hero-eyebrow::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 9px;
    height: 2px;
    background: var(--orange);
}

.hero h1 {
    color: #fff;
    margin-bottom: 20px;
}

.hero-sub {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    max-width: 500px;
    margin-bottom: 32px;
    line-height: 1.7;
}

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

.hero-img-wrap {
    flex: 0 0 380px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,0.3);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    padding: 20px;
}

.circuit-svg { width: 100%; height: auto; }
.node circle {
    fill: rgba(255,255,255,0.08);
    stroke: #fff;
    stroke-width: 1.6;
}
.node text {
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 600;
    font-size: 18px;
    fill: #fff;
}
.node text.sm { font-size: 11px; }
.node-lg circle { stroke: var(--orange); }
.node-sm circle { stroke: rgba(255,255,255,0.6); }

/* ---------- Stats ---------- */
.stats {
    background: var(--navy);
    padding: 40px 24px;
}

.stats-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-num {
    display: block;
    font-family: 'Merriweather', Georgia, serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: #fff;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ---------- Sections ---------- */
.section     { background: #fff;    padding: 80px 24px; }
.section-alt { background: var(--warm); padding: 80px 24px; }

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

.section-eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--teal);
    margin-bottom: 10px;
    padding-left: 16px;
    position: relative;
}

.section-eyebrow::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 9px;
    height: 2px;
    background: var(--orange);
}

.section-text h2 { margin-bottom: 16px; }
.section-text p  { margin-bottom: 12px; }

.inline-link { color: var(--teal); text-decoration: underline; }

/* ---------- Cards ---------- */
.card {
    background: #fff;
    border: 1px solid #e0e9f0;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 24px rgba(0,53,84,0.06);
}

.section-alt .card { background: #fff; }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 18px; }

.field-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 0 14px;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 1rem;
    color: var(--text);
    background: #f9fbfc;
    border: 1.5px solid #c4dce9;
    border-radius: 8px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input[type="text"],
input[type="email"] { height: 48px; }

textarea {
    padding: 12px 14px;
    resize: vertical;
    font-family: 'Inter', Arial, sans-serif;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(0,119,168,0.15);
    outline: none;
    background: #fff;
}

.field-hint {
    font-size: 0.82rem;
    color: #888;
    margin-top: 6px;
    line-height: 1.4;
    min-height: 1.2em;
}

.field-hint:not(:empty) { color: var(--orange-deep); font-weight: 500; }

/* ---------- Checklists ---------- */
.check-list {
    list-style: none;
    margin: 16px 0;
    display: grid;
    gap: 8px;
}

.check-list li {
    font-size: 0.95rem;
    color: var(--muted);
    padding-left: 20px;
    position: relative;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--teal);
    font-weight: 700;
}

/* ---------- Quote card (client testimonial) ---------- */
.quote-card { display: flex; flex-direction: column; gap: 16px; }

.quote-text {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 1.05rem;
    color: var(--navy);
    font-style: italic;
    line-height: 1.6;
    border-left: 4px solid var(--orange);
    padding-left: 18px;
}

.quote-attr {
    font-size: 0.85rem;
    color: #888;
}

/* ---------- Capability chips ---------- */
.chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.chip {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 0.86rem;
    font-weight: 500;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--sky);
    color: var(--navy);
    border: 1px solid #c4dce9;
}

/* ---------- Partners ---------- */
.partner-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 8px;
}

.partner-card {
    background: #fff;
    border: 1px solid #e0e9f0;
    border-radius: 16px;
    padding: 24px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 24px rgba(0,53,84,0.06);
}

.partner-card img {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.75;
    transition: filter 0.2s ease, opacity 0.2s ease;
}

.partner-card:hover img { filter: grayscale(0); opacity: 1; }

/* ---------- Contact details list ---------- */
.contact-list {
    list-style: none;
    margin-top: 20px;
    display: grid;
    gap: 4px;
}

.contact-list li {
    display: flex;
    gap: 16px;
    padding: 14px 0;
    border-top: 1px solid #e0e9f0;
    font-size: 0.95rem;
    color: var(--text);
}

.contact-list li span {
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--teal);
    width: 60px;
    flex-shrink: 0;
    padding-top: 2px;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--navy-deep);
    color: rgba(255,255,255,0.65);
    padding: 56px 24px 32px;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.logo-text--footer {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 1.2rem;
    color: #fff;
    display: block;
    margin-bottom: 10px;
    padding-right: 0;
}
.logo-text--footer::after { display: none; }

.footer-brand p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
    margin-bottom: 32px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin-bottom: 32px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
    transition: color 0.2s;
}

.footer-links a:hover { color: #fff; }

.footer-copy {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
    margin-top: 0;
}

.nav-link.is-active {
    color: var(--teal);
    background: rgba(0, 119, 168, 0.1); /* soft teal highlight */
    border-bottom-color: var(--orange);
}

/* ---------- Page hero (About / Services / Industries banner) ---------- */
.page-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
    color: #fff;
    padding: 64px 24px;
}

.page-hero-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-hero .hero-eyebrow {
    color: rgba(255,255,255,0.65);
    padding-left: 0;
    padding-top: 18px;
}

.page-hero .hero-eyebrow::before {
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 2px;
    height: 12px;
}

.page-hero h1 {
    color: #fff;
    font-size: clamp(1.9rem, 3.6vw, 2.6rem);
    margin-bottom: 18px;
}

.page-hero-lede {
    color: rgba(255,255,255,0.85);
    font-size: 1.05rem;
    max-width: 58ch;
    margin: 0 auto;
}

.about-story-image {
  width: 100%;
  max-width: 370px;   /* make image smaller */
  height: auto;
  display: block;
  margin: 0 auto;     /* centers it */
  border-radius: 18px;
  object-fit: cover;
}

/* ---------- Two-up plain content grid (no card) ---------- */
.plain-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.plain-grid .check-list { margin-top: 4px; }

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

/* Tablet */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        padding: 56px 24px;
        min-height: auto;
    }
    .hero-img-wrap { flex: unset; width: 100%; max-width: 420px; }

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

    .section-inner { grid-template-columns: 1fr; gap: 36px; }
}

/* Mobile */
@media (max-width: 600px) {
    .menu-toggle { display: flex; }

    .nav {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: var(--navy);
        flex-direction: column;
        align-items: stretch;
        padding: 12px 16px 20px;
        gap: 2px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    }

    .nav--open { display: flex; }

    .nav-link { padding: 14px 12px; font-size: 1rem; }

    .header-cta { display: none; }

    .header-inner { position: relative; }

    .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 20px; }

    .hero-actions { flex-direction: column; }
    .btn { width: 100%; text-align: center; }
    .btn-ghost { width: auto; }
    .hero-actions .btn { width: auto; }

    .card { padding: 24px 18px; }
    .section, .section-alt { padding: 56px 16px; }

    .partner-card { padding: 20px 28px; }

    .footer-links { gap: 10px 16px; }
}

/* =============================================
   SCROLL-REVEAL
============================================= */
.reveal {
    opacity: 1;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* =============================================
   ACCORDION / DROPDOWN CONTENT
============================================= */
.accordion { display: grid; gap: 12px; margin-top: 28px; }

.accordion-item {
    border: 1px solid #e0e9f0;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    background: none;
    border: none;
    text-align: left;
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--navy);
    cursor: pointer;
}

.accordion-trigger:hover { background: var(--sky); }

.accordion-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    position: relative;
}
.accordion-icon::before,
.accordion-icon::after {
    content: '';
    position: absolute;
    background: var(--teal);
    border-radius: 2px;
    top: 9px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.accordion-icon::before { width: 14px; height: 2px; left: 3px; }
.accordion-icon::after  { width: 2px; height: 14px; left: 9px; }
.accordion-trigger[aria-expanded="true"] .accordion-icon::after { transform: rotate(90deg); opacity: 0; }

.accordion-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
}
.accordion-panel-inner { overflow: hidden; }
.accordion-panel-inner p {
    padding: 0 22px 20px;
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.7;
}
.accordion-item.is-open .accordion-panel { grid-template-rows: 1fr; }

/* =============================================
   CUSTOM ILLUSTRATIONS — connecting / coding / cloud
   All built from CSS + inline SVG, no stock imagery.
   Animations stay paused until scrolled into view
   (toggled by .is-visible on the nearest .reveal
   ancestor), then play; motion is skipped entirely
   under prefers-reduced-motion.
============================================= */

/* --- Connecting (circuit / network) --- */
.trace-lines path {
    stroke-dasharray: 6 9;
    animation: dash-flow 5s linear infinite;
    animation-play-state: paused;
}
.trace-dots circle {
    transform-box: fill-box;
    transform-origin: center;
    animation: pulse-dot 2.2s ease-in-out infinite;
    animation-play-state: paused;
}
.trace-dots circle:nth-child(2) { animation-delay: .25s; }
.trace-dots circle:nth-child(3) { animation-delay: .5s; }
.trace-dots circle:nth-child(4) { animation-delay: .75s; }
.trace-dots circle:nth-child(5) { animation-delay: 1s; }
.trace-dots circle:nth-child(6) { animation-delay: 1.25s; }

.is-visible .trace-lines path,
.is-visible .trace-dots circle { animation-play-state: running; }

@keyframes dash-flow { to { stroke-dashoffset: -150; } }
@keyframes pulse-dot { 0%, 100% { opacity: .45; transform: scale(1); } 50% { opacity: 1; transform: scale(1.7); } }

/* Small inline "connecting" motif reused outside the hero */
.connect-mini { width: 100%; max-width: 220px; color: var(--teal); }
.connect-mini .trace-lines { color: #c4dce9; }
.connect-mini .trace-dots { color: var(--orange); }
.connect-mini .mini-node { fill: var(--sky); stroke: var(--teal); stroke-width: 1.6; }

/* --- Coding (typing code window) --- */
.code-scene {
    background: var(--navy-deep);
    border-radius: 12px;
    padding: 18px 20px 22px;
    box-shadow: 0 12px 32px rgba(0,53,84,0.18);
    margin-bottom: 20px;
}
.code-dots { display: flex; gap: 6px; margin-bottom: 14px; }
.code-dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.25); display: block; }
.code-dots span:nth-child(1) { background: #F4903F; }

.code-lines {
    margin: 0;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    line-height: 1.9;
    color: #cfe6f0;
}
.code-line {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    width: 0;
    animation: typing 1.6s steps(38, end) forwards;
    animation-play-state: paused;
}
.code-line.l1 { animation-delay: .1s; }
.code-line.l2 { animation-delay: 1.5s; }
.code-line.l3 { animation-delay: 2.9s; }
.code-line.l4 { animation-delay: 4.1s; }

.is-visible .code-line { animation-play-state: running; }

.code-kw { color: #7FD1FF; }
.code-str { color: #F4903F; }
.code-fn  { color: #9AE6B4; }
.code-comment { color: #7A8AA0; font-style: italic; }

@keyframes typing { to { width: 100%; } }

/* --- Cloud computing (orbiting nodes) --- */
.cloud-scene { width: 100%; max-width: 260px; margin: 0 auto 20px; display: block; }
.cloud-shape { fill: rgba(0,119,168,0.08); stroke: var(--teal); stroke-width: 2; }
.orbit {
    transform-origin: 150px 92px;
    animation: orbit-spin 10s linear infinite;
    animation-play-state: paused;
}
.orbit-a { animation-duration: 9s; }
.orbit-b { animation-duration: 15s; animation-direction: reverse; }
.orbit-c { animation-duration: 21s; }
.orbit-dot { fill: var(--orange); }

.is-visible .orbit { animation-play-state: running; }

@keyframes orbit-spin { to { transform: rotate(360deg); } }

/* Reduce motion: show everything settled, skip loops */
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .trace-lines path,
    .trace-dots circle,
    .orbit,
    .code-line { animation: none !important; opacity: 1; width: 100%; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
    html { scroll-behavior: auto; }
}

.image-card {
    display: flex;
    flex-direction: column;
    align-items: center; /* centers image + button */
    gap: 14px;
}

/* ensures spacing matches your card system */
.read-more-btn {
    width: 100%;
    max-width: 200px;  /* keeps it nicely sized under image */
    text-align: center;
}

/* =============================================
   SINGLE-COLUMN WRAPPER FOR FULL-WIDTH SECTIONS
============================================= */
.section-inner-single {
    max-width: 1100px;
    margin: 0 auto;
}

/* =============================================
   WHY-US SPLIT HEADER
   Eyebrow + heading sit in a fixed-width left
   column; the supporting copy sits to the right
   and is aligned to the heading's baseline
   instead of stacking beneath it.
============================================= */
.why-us-header {
    display: grid;
    grid-template-columns: minmax(0, 380px) 1fr;
    gap: 48px;
    align-items: end;
}

.why-us-header-label .section-eyebrow { margin-bottom: 10px; }
.why-us-header-label h2 { margin-bottom: 0; }

.why-us-header-desc {
    margin: 0;
    padding-bottom: 4px;
    border-left: 2px solid #dce7ee;
    padding-left: 22px;
}

@media (max-width: 900px) {
    .why-us-header {
        grid-template-columns: 1fr;
        gap: 16px;
        align-items: start;
    }
    .why-us-header-desc {
        border-left: none;
        padding-left: 0;
    }
}

/* =============================================
   CLEAN WHY-US CARD LAYOUT
============================================= */
.info-grid-clean {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 22px;
    margin-top: 36px;
}

/* Top row: 2 wider cards */
.info-grid-clean .info-card-large {
    grid-column: span 6;
    min-height: 220px;
}

/* Bottom row: 4 smaller cards */
.info-grid-clean .info-card:not(.info-card-large) {
    grid-column: span 3;
}

/* Card styling */
.info-card {
    background: #fff;
    border: 1px solid #e3ebf1;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 4px 18px rgba(0,53,84,0.05);
    position: relative;
    height: 100%;
}

/* subtle top accent */
.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    width: 42px;
    height: 3px;
    background: var(--teal);
    border-radius: 0 0 3px 3px;
}

.info-card h3 {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 12px;
    margin-top: 6px;
}

.info-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
    font-size: 0.97rem;
}

.info-grid-clean {
    display: flex;
    gap: 22px;
    margin-top: 36px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 15px;
    
    /* allows smooth scrolling */
    scroll-snap-type: x mandatory;
}

/* hide scrollbar (optional) */
.info-grid-clean::-webkit-scrollbar {
    height: 8px;
}

.info-grid-clean::-webkit-scrollbar-thumb {
    background: #c4dce9;
    border-radius: 10px;
}


/* all cards */
.info-card,
.info-grid-clean .info-card-large {
    flex: 0 0 320px;
    min-height: 220px;
    scroll-snap-align: start;
}

/* Mobile */
@media (max-width: 600px) {
    .info-grid-clean {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .info-card {
        padding: 24px 20px;
    }
}


/* Tablet */
@media (max-width: 900px) {
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 600px) {
    .info-grid {
        grid-template-columns: 1fr;
    }

    .info-card {
        padding: 24px 20px;
    }
}

.section-inner {
    align-items: flex-start;
}
.section-text {
    margin-top: 0;
}

.section-text-right {
    padding-top: 142px;
}

.nav-item {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;              /* white background */
    min-width: 160px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    padding: 8px 0;
    z-index: 999;
    border: 1px solid #e0e9f0;
}

.dropdown-menu a.is-active {
    color: var(--teal);
    background: rgba(0, 119, 168, 0.1);
    border-left: 3px solid var(--teal);
}

.dropdown-menu a {
    display: block;
    padding: 10px 16px;
    color: var(--navy);            /* dark blue text */
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.dropdown-menu a:hover {
    background: rgba(0, 53, 84, 0.08);  /* soft navy hover */
    color: var(--navy);
}

/* show dropdown on hover */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}
