/* =============================================
   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;
    overflow-x: hidden;
}

: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-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);
}

/* 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: var(--navy);
    border-radius: 2px;
    transition: 0.2s;
}

/* ---------- Hero ---------- */
.hero-inner {
    max-width: 850px;
    margin: 0 auto;
}

.hero-eyebrow {
    justify-content: center;
    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: 0;
    position: relative;
}

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

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

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

/* =============================================
   HERO AUTO SLIDER
============================================= */

.hero-slider {
    height: 80vh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    /* vertical centering */
    justify-content: center;
    /* horizontal centering */
    text-align: center;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    opacity: 0;
    transition: opacity 1s ease;
    padding: 0 24px;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

/* Background images */
.hero-slide:nth-child(1) {
    background-image: url("./assets/orange.back.jpg");
}

.hero-slide:nth-child(2) {
    background-image: url("./assets/ai-business-transformation.jpg");
}

.hero-slide:nth-child(3) {
    background-image: url("./assets/mixed-colour.jpg");
}

/* dark overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 53, 84, 0.62),
            rgba(0, 53, 84, 0.62));
    z-index: 1;
}

/* content wrapper */
.hero-slider .hero-inner {
    position: relative;
    z-index: 2;
    max-width: 860px;
    width: 100%;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    align-items: center;
    /* center everything inside */
    justify-content: center;
    text-align: center;
}

/* heading */
.hero-slider .hero-inner h1 {
    color: #fff;
    font-family: 'Merriweather', Georgia, serif;
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    line-height: 1.15;
    margin-bottom: 18px;

    max-width: none;
    white-space: nowrap;
    text-align: center;
}

/* paragraph */
.hero-slider .hero-inner p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.08rem;
    line-height: 1.8;
    max-width: 680px;
    margin: 0 auto 30px;
}

/* buttons */
.hero-slider .hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: 0.25s ease;
}

.dot.active {
    background: var(--orange);
    opacity: 1;
}

/* Mobile */
@media (max-width: 600px) {
    .hero-slider {
        min-height: 520px;
        height: auto;
    }

    .hero-slide {
        padding: 80px 20px;
    }

    .hero-slider .hero-inner h1 {
        font-size: clamp(1.8rem, 7vw, 2.4rem);
        max-width: 100%;
        white-space: normal;
    }

    .hero-slider .hero-inner p {
        font-size: 1rem;
        line-height: 1.7;
        max-width: 100%;
    }

    .hero-slider .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-slider .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }
}

.hero-slider .hero-inner .hero-title {
    color: #fff;
    font-family: 'Merriweather', Georgia, serif;
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    line-height: 1.15;
    margin: 0 auto 18px;
    text-align: center;
    max-width: 12ch;
    min-height: 2.3em;
}

@media (max-width: 600px) {
    .hero-slider .hero-inner .hero-title {
        max-width: 100%;
        white-space: normal;
    }
}

/* ---------- 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-alt-alt {
    background: #fff;
    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;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 0;
    position: static;
}

.section-eyebrow::before {
    content: '';
    display: inline-block;
    position: static;
    width: 9px;
    height: 2px;
    background: var(--orange);
    flex-shrink: 0;
}

.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"],
input[type="tel"],
textarea {
    width: 100%;
    height: 48px;
    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;
    box-sizing: border-box;
}

textarea {
    height: auto;
    min-height: 120px;
    padding: 14px;
    resize: vertical;
}

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;
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.card-link .card {
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-link:hover .card {
    transform: translateY(-6px);
}

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

.check-list li {
    list-style: none;
    font-size: 0.95rem;
    color: var(--muted);
    padding-left: 0;
    position: static;
}

.check-list li::before {
    content: '✓  ';
    position: static;
    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;
}

/* ---------- 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;
}

#characterCount {
    margin-top: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    text-align: right;
}

/* ---------- 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;
}


/* Keep footer layout the same */

.footer {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.footer-nav-wrapper {
    position: relative;
    padding-bottom: 6rem;
}

.footer-contact {
    margin-top: 3rem;
}

/* Keep navigation links in original layout */
.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}


/* Move contact details below navigation */
.footer-contact {
    position: absolute;
    margin-top: 3rem;
}

/* Keep social icons unchanged */
.footer-social {
    display: flex;
    align-items: flex-start;
}

.footer-social-icons {
    display: flex;
    gap: 1rem;
}

.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);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
}

.footer-contact {
    flex-basis: 100%;
    margin-top: 2rem;
}

.footer-nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-nav-contact {
    display: flex;
    flex-direction: column;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-contact {
    margin-top: 3rem;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.85rem;
}
@media (max-width: 768px) {

    .footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .footer-inner {
        max-width: 100%;
        margin: 0;
    }

    .footer-nav-wrapper {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .footer-nav-contact {
        width: 100%;
        align-items: flex-start;
    }

    .footer-links {
        justify-content: flex-start;
        padding-left: 0;
        margin-left: 0;
    }

    .footer-contact {
        position: static;
        margin-top: 1.5rem;
    }

    .footer-social {
        justify-content: flex-start;
        margin-top: 1.5rem;
    }
}
/* ---------- 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;
}

.about-hero {
    position: relative;
    background-image: url("./assets/ai-business-transformation.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.about-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 53, 84, 0.65);
}

.about-hero .page-hero-inner {
    position: relative;
    z-index: 1;
}

.about-story-image--large {
    max-width: 100%;
    height: 350px;
    object-fit: cover;
}

.page-hero.values-hero {
    position: relative;
    background-image: url('./assets/ai-business-transformation-orange.jpg');
    background-size: 200%;
    /* increase % to zoom in more */
    background-position: center;
    background-attachment: fixed;
    /* parallax effect while scrolling */
}

/* =============================================
   WHAT WE DO — 2x2 CAPABILITY CARD GRID
   Four facets of how JKS operates, given equal
   visual weight as distinct cards rather than
   run-on paragraphs. Numbering reflects reading
   order, not a process sequence.
============================================= */

.what-we-do-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.wwd-card {
    background: #fff;
    border: 1px solid #e0e9f0;
    border-radius: 16px;
    padding: 32px 30px;
    box-shadow: 0 4px 24px rgba(0, 53, 84, 0.06);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wwd-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--orange);
}

.wwd-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 53, 84, 0.12);
}

.wwd-number {
    display: block;
    font-family: 'Merriweather', Georgia, serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--teal);
    opacity: 0.28;
    line-height: 1;
    margin-bottom: 10px;
}

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

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

@media (max-width: 700px) {
    .what-we-do-grid {
        grid-template-columns: 1fr;
    }
}

.page-hero.values-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 53, 84, 0.65);
}

.page-hero.values-hero .page-hero-inner {
    position: relative;
    z-index: 1;
}

.services-hero {
    position: relative;
    background-image: url("./assets/orange.back.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.services-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 53, 84, 0.65);
}

.services-hero .page-hero-inner {
    position: relative;
    z-index: 1;
}

.card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

@media (max-width: 900px) {
    .card-image {
        height: 200px;
    }
}

@media (max-width: 600px) {
    .card-image {
        height: 170px;
    }
}

/* Industries Hero Background */

.industries-hero {
    background-image: url("./assets/mixed-colour.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.industries-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 53, 84, 0.55);
}

.industries-hero .page-hero-inner {
    position: relative;
    z-index: 2;
}

/* ---------- 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) {
    .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: #fff;
        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-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;
    }

    .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;
}

/* =============================================
   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.
============================================= */

/* --- 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;
    }

    .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;
}

.why-us-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.why-us-header-desc {
    max-width: 700px;
    margin: 0;
}

@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
============================================= */

.why-carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}


.why-carousel {
    overflow: hidden;
    width: 100%;
}




.info-grid-clean {

    display: flex;
    gap: 22px;

    transition: transform 0.6s ease;
}


.info-card,
.info-grid-clean .info-card-large {

    flex: 0 0 320px;
    min-height: 220px;

}


/* arrows */

.why-arrow {

    width: 45px;
    height: 45px;

    border-radius: 50%;
    border: none;

    background: var(--navy);
    color: white;

    font-size: 24px;

    cursor: pointer;

    flex-shrink: 0;

    transition: 0.3s;
}


.why-arrow:hover {

    background: var(--teal);
    transform: translateY(-2px);

}

/* 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;
    transition: transform 0.6s ease;
}

/* 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-card,
    .info-grid-clean .info-card-large {
        flex: 0 0 100%;
    }

    .why-carousel-wrapper {
        gap: 10px;
    }

}



.section-inner {
    align-items: flex-start;
}

.section-text {
    margin-top: 0;
}

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

/* =============================================
   NAVIGATION DROPDOWN
============================================= */

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

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;

    min-width: 190px;
    padding: 8px 0;

    background: #ffffff;
    border: 1px solid #e0e9f0;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);

    z-index: 999;
}

/* Show dropdown */
.nav-item.dropdown:hover .dropdown-menu,
.nav-item.dropdown:focus-within .dropdown-menu {
    display: block;
}

/* Dropdown links */
.dropdown-menu a {
    display: block;
    padding: 12px 18px;

    color: var(--navy);
    font-size: 0.9rem;
    text-decoration: none;

    border-left: 3px solid var(--orange);
    /* Orange line by default */
    background: rgba(244, 144, 63, 0.08);
    /* Warm orange tint */

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-left-color 0.25s ease;
}

/* Hover */
.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
    color: var(--teal);
    background: rgba(0, 119, 168, 0.10);
    /* teal tint */
    border-left-color: var(--teal);
}

/* Current page */
.dropdown-menu a.is-active {
    color: var(--teal);
    background: rgba(244, 144, 63, 0.12);
    border-left-color: var(--orange);
    font-weight: 600;
}




/* =============================================
   WHAT WE DO - IMAGE CARDS
============================================= */

.units-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 50px;
}


.units-cards .card {
    min-height: 380px;
    padding: 24px;

    display: flex;
    flex-direction: column;

    overflow: hidden;
    border-radius: 20px;
}


/* Card image */
.unit-image {
    width: 100%;
    height: 170px;
    object-fit: cover;
    object-position: center;
    border-radius: 14px;
    margin-bottom: 24px;

    transition: transform 0.3s ease;
}

@media (max-width: 600px) {
    .unit-image {
        height: 150px;
    }
}


/* Push text lower */
.unit-content {
    margin-top: auto;
}


/* Card heading */
.units-cards .field-label {
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 14px;
}


/* Card description */
.units-cards .unit-content p:last-child {
    font-size: 1rem;
    line-height: 1.75;
}


/* Hover effect */
.units-cards .card:hover .unit-image {
    transform: scale(1.04);
}


/* Tablet */
@media(max-width:900px) {

    .units-cards {
        grid-template-columns: 1fr;
    }

    .units-cards .card {
        min-height: 340px;
    }
}

/* =============================================
   PARTNERS SECTION
============================================= */
.partners-section {
    overflow: hidden;
}

.partners-grid {
    display: grid;
    grid-template-columns: minmax(280px, 420px) minmax(0, 760px);
    align-items: center;
    gap: 3rem;
}

.partners-copy {
    max-width: 420px;
}

.partners-carousel {
    justify-self: end;
    /* keeps it on the right */
    width: 100%;
    max-width: 760px;
    /* controls overall size */
    display: flex;
    align-items: center;
    gap: 1rem;
}

.partners-viewport {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    padding: 1.25rem 0;
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: transform 0.5s ease;
    will-change: transform;
}

/* 3 visible cards */
.partner-slide {
    flex: 0 0 calc((100% - 2.5rem) / 3);
    height: 130px;
    background: #fff;
    border-radius: 22px;
    padding: 1rem 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.10);
    opacity: 0.72;
    transform: scale(0.88);
    transition: transform 0.45s ease, opacity 0.45s ease, box-shadow 0.45s ease;
}

.partner-slide {
    height: 140px;
}

.partner-slide img {
    width: 180px;
    height: 100px;
    object-fit: contain;
}

.partner-slide.is-left,
.partner-slide.is-right {
    opacity: 0.88;
    transform: scale(0.9);
}

.partner-slide.is-center {
    opacity: 1;
    transform: scale(1.08);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.16);
    z-index: 2;
}

.partner-arrow {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: #003554;
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.25s ease, transform 0.25s ease;
}

.partner-arrow:hover {
    background: #0077A8;
    transform: translateY(-2px);
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1100px) {
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .partners-copy {
        max-width: 100%;
    }

    .partners-carousel {
        width: 100%;
        max-width: 100%;
        justify-self: stretch;
    }

}

@media (max-width: 768px) {
    .partner-slide {
        height: 120px;
    }
}

.partner-arrow {
    width: 40px;
    height: 40px;
    font-size: 1rem;
}

@media (max-width: 600px) {

    .partners-carousel {
        display: grid;
        grid-template-columns: 36px 1fr 36px;
        align-items: center;
        gap: 0.5rem;
        width: 100%;
    }

    .partners-viewport {
        width: 100%;
        overflow: hidden;
    }

    .partner-slide {
         flex: 0 0 calc((100% - 0.75rem) / 2);
        height: 100px;
        padding: 0.75rem;
    }

    .partner-slide img {
        width: 100px;
        height: 60px;
    }

    .partner-arrow {
        width: 36px;
        height: 36px;
    }
}



.consulting-image-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.consulting-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 16px;
}

.consulting-details {
    flex: 1;
}

.btn-full {
    margin-top: auto;
    width: 100%;
}

/* Outsourcing image card */

.outsourcing-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.outsourcing-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 18px;
}

.outsourcing-card .btn {
    margin-top: auto;
}

.quote-card {
    overflow: hidden;
    padding: 0;
}

.quote-card-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

@media (max-width: 600px) {
    .quote-card-image {
        height: 200px;
    }

    .outsourcing-card-image {
        height: 160px;
    }

    .consulting-image {
        height: 130px;
    }
}

/* Match the existing input fields */
.contact-form select {
    width: 100%;
    height: 48px;
    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;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    /* custom arrow */
    background-image:
        linear-gradient(45deg, transparent 50%, var(--navy) 50%),
        linear-gradient(135deg, var(--navy) 50%, transparent 50%);
    background-position:
        calc(100% - 20px) 21px,
        calc(100% - 15px) 21px;
    background-size: 5px 5px;
    background-repeat: no-repeat;

    transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form select:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(0, 119, 168, 0.15);
    outline: none;
    background-color: #fff;
}

.outsourcing-hero-content h1 {
    color: #ffffff !important;
}

.outsourcing-hero-content h1 span {
    color: #ffffff !important;
}

.outsourcing-hero-content p {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* ===============================
   SUCCESS POPUP
================================== */

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);

    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0;
    visibility: hidden;

    transition: opacity 0.3s ease;
    z-index: 9999;
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 460px;

    background: #fff;
    border-radius: 18px;
    padding: 40px 30px;
    text-align: center;

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.modal-content h3 {
    color: var(--navy);
    margin-bottom: 16px;
}

.modal-content p {
    color: var(--muted);
    line-height: 1.7;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 15px;

    border: none;
    background: none;

    font-size: 2rem;
    line-height: 1;

    cursor: pointer;
    color: #777;
}

.modal-close:hover {
    color: var(--teal);
}

@media (max-width: 600px) {
    .modal-content {
        width: 92%;
        padding: 30px 20px;
    }
}

/* Floating chat button */

#chat-button {
    position: fixed;
    bottom: 25px;
    right: 25px;

    width: 60px;
    height: 60px;

    border-radius: 50%;
    border: none;

    background-color: #003366;
    color: white;

    font-size: 28px;
    cursor: pointer;

    z-index: 999;
}


/* Chat window */

#chat-box {

    position: fixed;

    bottom: 100px;
    right: 25px;

    width: 350px;
    height: 450px;

    background: white;

    border-radius: 15px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);

    display: none;

    flex-direction: column;

    overflow: hidden;

    z-index: 999;
}


/* Header */

.chat-header {

    background: #003366;

    color: white;

    padding: 15px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    font-weight: bold;
}


#close-chat {

    background: none;
    border: none;

    color: white;

    font-size: 25px;

    cursor: pointer;
}


/* Messages */

#chat-content {

    flex: 1;

    padding: 15px;

    overflow-y: auto;

}


.bot-message,
.user-message {

    padding: 10px 14px;

    border-radius: 15px;

    margin-bottom: 10px;

    max-width: 80%;

}


.bot-message {

    background: #f1f1f1;

}


.user-message {

    background: #003366;

    color: white;

    margin-left: auto;

}


/* Input */

.chat-input-area {

    display: flex;

    border-top: 1px solid #ddd;

}


#chat-input {

    flex: 1;

    border: none;

    padding: 15px;

    outline: none;

}


#send-chat {

    width: 50px;

    border: none;

    background: #003366;

    color: white;

    cursor: pointer;

}

/* Chat widget on small screens: fill width instead of a fixed 350px box,
   and shrink the floating button slightly so it never overlaps content */
@media (max-width: 480px) {
    #chat-box {
        right: 12px;
        left: 12px;
        bottom: 90px;
        width: auto;
        max-width: none;
        height: 65vh;
        max-height: 500px;
    }

    #chat-button {
        bottom: 18px;
        right: 18px;
        width: 54px;
        height: 54px;
        font-size: 24px;
    }
}

.email-link {
    color: #0077cc;
    text-decoration: underline;
    cursor: pointer;
}

.email-link:hover {
    color: #003366;
}

.footer-nav-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
}


.footer-social-icons {
    display: flex;
    gap: 12px;
    margin-left: 120px;
    position: relative;
    top: -25px;
    /* moves icons higher */
}


.footer-social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    transition: 0.3s ease;
}


.footer-social-icons img {
    width: 22px;
    height: 22px;
    transform: scale(1.5);
}


.footer-social-icons a:hover {
    transform: translateY(-3px);
}

.btn-read-more {
    display: block;
    width: fit-content;
    margin: 25px auto 0;
}

/* =============================================
   CONSULTING PAGE UNIQUE DESIGN
============================================= */


.consulting-hero {

    min-height: 520px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 80px 24px;

    background:
        linear-gradient(rgba(0, 53, 84, .75),
            rgba(0, 53, 84, .75)),
        url("./assets/ai-business-transformation.jpg");

    background-size: cover;
    background-position: center;

}


.consulting-hero-inner {

    max-width: 850px;

}



.consulting-hero h1 {

    color: white;

    font-size: clamp(2.2rem, 5vw, 2.5rem);

    margin-bottom: 20px;
    margin-top: 20px;

}


.consulting-hero p {

    color: rgba(255, 255, 255, .85);

    max-width: 650px;

    margin: 0 auto 32px;
    margin-top: 30px
}





/* INTRO */

.consulting-layout {
    max-width: 1100px;   /* same as section-inner-single */
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
    align-items: start;
}



.consulting-description {

    border-left: 3px solid var(--orange);

    padding-left: 30px;

}





/* TRANSFORMATION */

.transformation-box {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 30px;

}



.transform-step {

    text-align: center;

    max-width: 250px;

}



.transform-line {

    height: 2px;

    width: 100px;

    background: var(--orange);

}





/* CTA */

.consulting-cta {

    text-align: center;

    padding: 80px 24px;

    background: var(--navy);

}


.consulting-cta h2 {

    color: white;

}


.consulting-cta p {

    color: white;

    opacity: .8;

    margin: 15px auto 30px;

}



@media(max-width:900px) {

    .consulting-layout {

        grid-template-columns: 1fr;

        gap: 30px;

    }


    .transformation-box {

        flex-direction: column;

    }


    .transform-line {

        width: 2px;

        height: 50px;

    }

}

/* =============================================
   NUMBERED CONSULTING FRAMEWORK
============================================= */


.help-header {

    max-width: 750px;

    margin-bottom: 60px;

}


.help-header h2 {

    margin-bottom: 18px;

}


.capability-list {

    display: flex;

    flex-direction: column;

}



.capability-item {

    display: grid;

    grid-template-columns: 120px 1fr;

    gap: 40px;

    padding: 40px 0;

    border-bottom: 1px solid #dce7ee;

    transition: .3s ease;

}



.capability-number {

    font-family: 'Merriweather', serif;

    font-size: 3.5rem;

    font-weight: 700;

    color: var(--orange);

    opacity: .8;

}



.capability-content h3 {

    color: var(--navy);

    font-size: 1.35rem;

    margin-bottom: 12px;

}



.capability-content p {

    max-width: 700px;

}



.capability-item:hover {

    padding-left: 15px;

}



@media(max-width:700px) {

    .capability-item {

        grid-template-columns: 1fr;

        gap: 10px;

    }


    .capability-number {

        font-size: 2.5rem;

    }

}

.capability-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 40px;
}


.capability-content .accordion-trigger {
    padding: 0;
}


.capability-content .accordion-trigger h3 {
    margin: 0;
}


.capability-content .accordion-panel-inner {
    padding-left: 0;
}


@media(max-width:700px) {

    .capability-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }

}

/* =============================================
   CAPABILITY DROPDOWN
============================================= */


.capability-toggle {

    width: 100%;

    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    background: none;

    border: none;

    text-align: left;

    cursor: pointer;

    padding: 0;

}


.dropdown-arrow {

    font-size: 2rem;

    color: var(--teal);

    transition: .3s ease;

}



.capability-toggle[aria-expanded="true"] .dropdown-arrow {

    transform: rotate(45deg);

}



.capability-extra {

    max-height: 0;

    overflow: hidden;

    transition: max-height .4s ease;

    margin-top: 0;

}



.capability-item.open .capability-extra {

    max-height: 300px;

    margin-top: 20px;

}



.capability-extra p {

    margin-bottom: 15px;

}



.capability-extra ul {

    padding-left: 20px;

    color: var(--muted);

}


.capability-extra li {

    margin-bottom: 8px;

}

.capability-extra {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease;
}


.capability-item.open .capability-extra {

    max-height: 500px;
    opacity: 1;
    padding-top: 20px;

}


.capability-item.open .dropdown-arrow {

    transform: rotate(45deg);

}

/* ===============================
   CAPABILITY DROPDOWN
================================ */




/* Button styling */

.capability-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    padding: 20px 0;
}


.dropdown-arrow {

    font-size: 30px;
    transition: transform 0.3s ease;

}



.dropdown-arrow {

    transition: transform 0.3s ease;
    display: inline-block;

}


.capability-extra {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .4s ease, opacity .3s ease;
}


.capability-item.open .capability-extra {
    max-height: 1000px;
    opacity: 1;
    padding-top: 20px;
}


.capability-item.open .dropdown-arrow {
    transform: rotate(45deg);
}




/* ===============================
 technology.html
================================ */
.digital-transformation {

    background: #FFF8F0;

    padding: 100px 8%;

    color: #003554;

}


.transformation-container {
    max-width: 1200px;
    margin: auto;
}


/* INTRO */

.transformation-intro {
    text-align: center;
    max-width: 850px;
    margin: auto;
}


.eyebrow {
    color: #12B8B0;
    font-size: 14px;
    letter-spacing: 3px;
    font-weight: 700;
}



.transformation-intro h2 {
    color: #003554;
    font-size: clamp(1.8rem, 4.5vw, 48px);
    line-height: 1.2;
    margin: 20px 0;
}


.transformation-intro h2 span {
    color: #12B8B0;
}

.transformation-intro p {

    color: #d7e5ec;
    font-size: clamp(0.95rem, 2vw, 18px);
    line-height: 1.8;

}




/* CARDS */


.transformation-grid {

    margin-top: 70px;

    display: grid;

    grid-template-columns: repeat(2, minmax(280px, 420px));

    justify-content: center;

    gap: 30px;

}



.transform-card {

    background: #FFF8F0;

    color: #003554;

    padding: 30px;

    border-radius: 18px;

    position: relative;

    overflow: hidden;

    transition: .3s ease;

}



.transform-card:hover {

    transform: translateY(-8px);

}



.transform-card::before {

    content: "";
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 5px;

    background: #F97316;

}



.number {

    font-size: 50px;
    font-weight: 800;
    color: #12B8B0;
    opacity: .35;

}



.transform-card h3 {

    font-size: clamp(1.3rem, 3vw, 28px);
    margin: 10px 0 15px;

}



.transform-card p {

    line-height: 1.8;
    color: #445;

}

/* =============================================
   IMAGE-TOPPED CAPABILITY CARDS (AI section)
============================================= */
.wwd-card.has-image {
    padding: 0;
    overflow: hidden;
}

.wwd-image {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.wwd-card.has-image .wwd-body {
    padding: 26px 28px 30px;
}

.wwd-card.has-image .wwd-number {
    margin-bottom: 6px;
}

@media (max-width: 600px) {
    .wwd-image {
        height: 160px;
    }

    .wwd-card.has-image .wwd-body {
        padding: 20px 20px 24px;
    }
}

/* =============================================
   ZIGZAG FEATURE ROWS (IT / Digital section)
============================================= */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 50px 0;
    border-bottom: 1px solid #dce7ee;
}

.feature-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.feature-row:first-child {
    padding-top: 0;
}

.feature-row.reverse .feature-image {
    order: 2;
}

.feature-row.reverse .feature-content {
    order: 1;
}

.feature-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0, 53, 84, 0.08);
}

.feature-content .capability-number {
    display: block;
    margin-bottom: 10px;
}

.feature-content h3 {
    color: var(--navy);
    font-size: 1.35rem;
    margin-bottom: 12px;
}

@media (max-width: 900px) {
    .feature-row {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 36px 0;
    }

    .feature-row.reverse .feature-image,
    .feature-row.reverse .feature-content {
        order: unset;
    }

    .feature-image img {
        height: 220px;
    }
}

@media (max-width: 480px) {
    .feature-image img {
        height: 190px;
        border-radius: 14px;
    }

    .feature-row {
        padding: 28px 0;
    }
}

#ai {
    margin-top: 60px;
}

@media (max-width: 600px) {
    #ai {
        margin-top: 36px;
    }
}


/* JOURNEY */


.journey {

    margin-top: 90px;

    margin-bottom: 120px;

    display: flex;

    align-items: center;

    justify-content: center;

}



.journey-step {

    text-align: center;
    font-weight: 700;

}



.journey-step span {

    display: flex;
    justify-content: center;
    align-items: center;

    width: 55px;
    height: 55px;

    margin: auto auto 15px;

    border-radius: 50%;

    background: #12B8B0;
    color: white;

}



.line {

    height: 2px;
    width: 100px;
    background: #F97316;

}



@media(max-width:768px) {


    .transformation-grid {

        grid-template-columns: 1fr;

    }


    .transformation-intro h2 {

        font-size: 34px;

    }



    .journey {

        flex-direction: column;

    }


    .line {

        height: 50px;
        width: 2px;

    }


}

@media (max-width: 600px) {
    .journey {
        margin-top: 60px;
        margin-bottom: 70px;
        gap: 4px;
    }

    .journey-step span {
        width: 46px;
        height: 46px;
        font-size: 0.9rem;
    }
}

/* =================================
   DIGITAL TRANSFORMATION BANNER
================================= */

.digital-transformation-banner {
    position: relative;
    min-height: 250px !important;
    /* was 520px — reduce to make it smaller */
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('./assets/mixed-colour.jpg');
    background-size: cover;
    background-position: center;
}



.digital-banner-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(90deg,
            rgba(0, 53, 84, 0.90) 0%,
            rgba(0, 53, 84, 0.70) 50%,
            rgba(0, 53, 84, 0.35) 100%);

}

.digital-banner-content {

    position: relative;

    z-index: 2;

    max-width: 1100px;

    padding: 80px 8%;

    text-align: center;

    margin: auto;

}


.digital-banner-content .section-eyebrow {

    color: #F97316;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2.5px;

    text-transform: uppercase;

    text-align: center;

    display: block;

    margin-bottom: 15px;

}


.digital-banner-content h2 {

    font-size: clamp(1.6rem, 5vw, 42px);
    line-height: 1.2;
    color: #FFFFFF;
    /* brighter heading */

    margin: 20px 0;

}

.digital-banner-content h2 {

    font-size: clamp(1.5rem, 4.5vw, 38px);

    line-height: 1.2;

    color: white;

    max-width: 1000px;

    margin: 20px auto;

}

.digital-banner-content {

    position: relative;

    z-index: 2;

    width: 100%;

    max-width: 1200px;

    padding: 80px 8%;

    text-align: center;

    margin: 0 auto;

}



.digital-banner-content {

    width: 100%;

    max-width: 1200px;

    padding: 80px 5%;

    text-align: center;

    margin: auto;

}

.digital-banner-content p {
    font-size: clamp(0.95rem, 2vw, 18px);
    line-height: 1.8;
    color: #F5F5F5;
    max-width: 1000px;
    margin: 35px auto 0;
}

.digital-banner-content .hero-eyebrow {
    font-size: 13px !important;
    letter-spacing: 2px;
}

@media (max-width: 600px) {
    .digital-transformation-banner {
        min-height: 220px !important;
    }

    .digital-banner-content {
        padding: 48px 6% !important;
    }
}


/* =================================
   OUTSOURCING HERO
================================= */


.outsourcing-hero {

    position: relative;

    min-height: 520px;

    display: flex;

    align-items: center;

    justify-content: center;

    background-image:
        url("./assets/mixed-colour.jpg");

    background-size: cover;

    background-position: center;

}



.outsourcing-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(90deg,
            rgba(0, 53, 84, 0.9),
            rgba(0, 53, 84, 0.55));

}



.outsourcing-hero-content {

    position: relative;

    z-index: 2;

    max-width: 850px;

    text-align: center;

    padding: 80px 8%;

}



.outsourcing-hero-content .section-eyebrow {

    color: #F97316;

    font-size: 12px;

    letter-spacing: 3px;

    font-weight: 700;

}



.outsourcing-hero-content h1 {

    font-size: clamp(1.8rem, 5vw, 48px);

    color: white;

    line-height: 1.2;

    margin: 20px 0;

}



.outsourcing-hero-content h1 span {

    color: #12B8B0;

}



.outsourcing-hero-content p {

    color: #F5F5F5;

    font-size: clamp(0.95rem, 2vw, 18px);

    line-height: 1.8;

}

.outsourcing-hero-content .hero-eyebrow {
    font-size: 13px !important;
    letter-spacing: 2px;
}



/* =================================
   OUTSOURCING SECTION
================================= */


.outsourcing-section {

    background: #FFF8F0;

    padding: 100px 8%;

}



.outsourcing-container {

    max-width: 1100px;

    margin: auto;

}



.outsourcing-intro {

    text-align: center;

    max-width: 800px;

    margin: auto;

}



.outsourcing-intro h2 {

    color: #003554;

    font-size: clamp(1.6rem, 4.5vw, 42px);

    line-height: 1.2;

}



.outsourcing-intro p {

    color: #445;

    font-size: clamp(0.95rem, 2vw, 18px);

    line-height: 1.8;

    margin-top: 20px;

}



/* CARDS */


.outsourcing-grid {

    display: grid;

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

    gap: 35px;

    margin-top: 70px;

}



.outsourcing-card {

    background: white;

    padding: 40px;

    border-radius: 20px;

    position: relative;

    border: 1px solid rgba(0, 53, 84, 0.08);

    box-shadow:
        0 15px 35px rgba(0, 53, 84, 0.08);

}



.outsourcing-card::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 5px;

    background: #F97316;

}



.outsourcing-icon {

    font-size: 45px;

    font-weight: 800;

    color: #12B8B0;

    opacity: .35;

}



.outsourcing-card h3 {

    color: #003554;

    font-size: clamp(1.3rem, 3vw, 28px);

    margin: 15px 0;

}



.outsourcing-card p {

    color: #445;

    line-height: 1.8;

}



.outsourcing-card ul {

    margin-top: 25px;

    padding-left: 20px;

}



.outsourcing-card li {

    margin-bottom: 12px;

    color: #003554;

}



@media(max-width:768px) {

    .outsourcing-grid {

        grid-template-columns: 1fr;

    }


    .outsourcing-hero-content h1 {

        font-size: 34px;

    }

}

@media (max-width: 600px) {

    .outsourcing-section,
    .digital-transformation {
        padding: 64px 6%;
    }

    .outsourcing-card {
        padding: 28px 22px;
    }

    .outsourcing-grid {
        margin-top: 44px;
        gap: 22px;
    }
}


/* /CAREERS.html */

/* Careers horizontal cards */

.career-grid {
    width: min(1120px, 92%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}


.career-grid .card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.section-inner--single .section-text {
    max-width: 850px;
    margin: 0 auto;
}


.career-grid .btn {
    margin-top: auto;
    align-self: flex-start;
}

.careers-bg-hero {
    background: none !important;
    background-image: url('./assets/ai-business-transformation-orange.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative;
    min-height: 400px !important;
    padding: 120px 24px !important;
    /* increase top/bottom padding to make taller */
}

.careers-bg-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 53, 84, 0.65);
}

.careers-bg-hero .page-hero-inner {
    position: relative;
    z-index: 1;
}

/* Tablet */

@media (max-width: 900px) {

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

}


/* Mobile */

@media (max-width: 600px) {

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

    .careers-bg-hero {
        min-height: 300px !important;
        padding: 72px 20px !important;
    }
}

/* Internship.html */


/* ABOUT PROGRAMME */

.about-programme-center {

    max-width: 850px;
    margin: 0 auto 80px;
    text-align: center;

}


.about-programme-center .section-eyebrow {
    justify-content: center;
}



/* TWO COLUMN INTERNSHIP SECTION */

.internship-two-columns {

    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 80px;

    align-items: start;

}


.internship-two-columns .section-text {

    padding: 40px;

    background: #ffffff;

    border-radius: 16px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

}

.internship-bg-hero {
    background: none !important;
    background-image: url('./assets/ai-business-transformation.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative;
    padding: 120px 24px !important;
}

.internship-bg-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 53, 84, 0.65);
}

.internship-bg-hero .page-hero-inner {
    position: relative;
    z-index: 1;
}

.eligibility-layout {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 64px;
}

.eligibility-layout .section-text:first-child {
    padding-left: 100px;
}

@media (max-width: 900px) {
    .eligibility-layout .section-text:first-child {
        padding-left: 0;
    }
}


@media(max-width:900px) {

    .internship-two-columns {

        grid-template-columns: 1fr;
        gap: 40px;

    }


}

@media (max-width: 600px) {

    .internship-bg-hero,
    .advanced-bg-hero {
        padding: 72px 20px !important;
    }

    .internship-two-columns .section-text {
        padding: 26px 20px;
    }

    .capability-toggle {
        align-items: flex-start;
    }

    .capability-content h3 {
        margin-bottom: 12px;
    }

    .capability-extra {
        margin-top: 12px;
    }

    /* Eligibility section on mobile only: "Who Can Apply" stays first,
       the supporting text column moves below it. Assumes the first
       .section-text in the markup is "Who Can Apply" — if the order
       is reversed in the HTML, swap the order values below. */
    .eligibility-layout {
        display: flex;
        flex-direction: column;
    }

    .eligibility-layout .section-text:first-child {
        order: 1;
    }

    .eligibility-layout .section-text:last-child {
        order: 2;
    }
}

@media (max-width:768px){

.section-inner{
    grid-template-columns:1fr !important;
}

.section-text{
    padding-left:0 !important;
}

}

/* About Programme - Full Width Layout */
.about-programme-wide {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.about-programme-wide .section-text {
    width: 100%;
    max-width: none;
}

.about-programme-wide p {
    max-width: none;
    width: 100%;
}

/* Fix: single-column centered layout for Eligibility + CTA sections */
.section-inner--single {
    display: block;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.section-inner--single .section-text {
    max-width: 100%;
    margin: 0 auto;
}

.section-inner--single .section-eyebrow {
    justify-content: center;
}

.section-inner--single p {
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.85;
}

.about-programme-wide p {
    max-width: 1150px;
    /* was 1100px */
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    line-height: 1.85;
}

@media (max-width: 900px) {
    .about-programme-wide {
        padding: 0 24px;
    }
}

/* advanced-training.html */

/* ---------- Check-list items animate in individually ---------- */
.check-list li {
    opacity: 0;
    transform: translateX(-16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible .check-list li {
    opacity: 1;
    transform: translateX(0);
}

/* stagger each tick line */
.reveal.is-visible .check-list li:nth-child(1) {
    transition-delay: 0.05s;
}

.reveal.is-visible .check-list li:nth-child(2) {
    transition-delay: 0.15s;
}

.reveal.is-visible .check-list li:nth-child(3) {
    transition-delay: 0.25s;
}

.reveal.is-visible .check-list li:nth-child(4) {
    transition-delay: 0.35s;
}

.reveal.is-visible .check-list li:nth-child(5) {
    transition-delay: 0.45s;
}

.reveal.is-visible .check-list li:nth-child(6) {
    transition-delay: 0.55s;
}

.advanced-bg-hero {
    background: none !important;
    background-image: url('./assets/ai-business-transformation-orange.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative;
    padding: 120px 24px !important;
}

.ai-training-layout {
    max-width: 1000px;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 64px;
}

.ai-training-dropdowns {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.course-dropdown {
    border: 1px solid rgba(0, 53, 84, 0.16);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.course-dropdown summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    color: var(--navy);
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.course-dropdown summary::after {
    content: "+";
    color: var(--teal);
    font-size: 22px;
}

.course-dropdown[open] summary::after {
    content: "−";
}

.course-dropdown .check-list {
    margin: 0;
    padding: 0 20px 20px;
}

@media (max-width: 900px) {
    .ai-training-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .check-list li {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* training-schedule.html */

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 0;
    width: 100%;
}

.schedule-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.schedule-card h3 {
    color: #003554;
    margin-bottom: 1rem;
}

.schedule-card p {
    margin-bottom: 1rem;
}



.schedule-bg-hero {
    background: none !important;
    background-image: url('./assets/ai-business-transformation-orange.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative;
    padding: 120px 24px !important;
}

.schedule-bg-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 53, 84, 0.65);
}

.schedule-bg-hero .page-hero-inner {
    position: relative;
    z-index: 1;
}

.schedule-bg-hero h1 {
    color: #ffffff !important;
}

.schedule-bg-hero .page-hero-lede {
    color: rgba(255, 255, 255, 0.85) !important;
}

.schedule-bg-hero .hero-eyebrow {
    color: rgba(255, 255, 255, 0.65) !important;
}

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

@media (max-width: 600px) {
    .schedule-bg-hero {
        padding: 72px 20px !important;
    }

    .schedule-card {
        padding: 1.5rem;
    }
}




/* =========================================
   ABOUT PROGRAMME - WIDE CENTERED SECTION
========================================= */

.about-programme-wide {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 80px;
    padding: 0 40px;

    display: block;
    text-align: center;
}


.about-programme-wide .section-text {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}


.about-programme-wide .section-eyebrow {
    justify-content: center;
    text-align: center;
}


.about-programme-wide h2 {
    text-align: center;
}


.about-programme-wide p {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    line-height: 1.8;
}


.services-page-hero {
    background-image: url("./assets/orange.back.jpg");
}


.technology-page-hero {
    background-image: url("./assets/ai-business-transformation.jpg");
}

/* Keep all internal page heroes the same height as About Us */
/* Same fixed hero size for all internal pages */
.page-hero,
.consulting-hero,
.outsourcing-hero,
.digital-transformation-banner .careers-bg-hero,
.internship-bg-hero,
.advanced-bg-hero,
.schedule-bg-hero,
.services-page-hero,
.technology-page-hero,
.industries-hero {
    min-height: 300px !important;
    padding: 64px 24px !important;
    display: flex;
    align-items: center;
}



.industries-hero {
    height: 520px !important;
    min-height: 520px !important;
    padding: 80px 24px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.industries-hero {
    height: 520px !important;
    min-height: 520px !important;
    padding: 80px 24px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.careers-hero {
    height: 520px !important;
    min-height: 520px !important;
    padding: 80px 24px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}


.schedule-bg-hero {
    height: 520px !important;
    min-height: 520px !important;
    padding: 80px 24px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ← this stray line is breaking the CSS */

.technology-hero {
    height: 520px !important;
    min-height: 520px !important;
    padding: 80px 8% !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.consulting-hero {
    height: 520px !important;
    min-height: 520px !important;
    padding: 80px 8% !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* All the fixed-height "internal page" heroes above are 520px on
   desktop for visual consistency — that's far too tall on phones,
   so we scale them down together on small screens. */
@media (max-width: 600px) {

    .industries-hero,
    .careers-hero,
    .schedule-bg-hero,
    .technology-hero,
    .consulting-hero {
        height: auto !important;
        min-height: 320px !important;
        padding: 64px 20px !important;
    }
}

/* Place the "Let's talk" content and contact form side by side. */
#contact .section-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
    gap: 56px;
    align-items: start;
}

#contact .section-text {
    grid-column: 1;
}

#contact .card {
    grid-column: 2;
    width: 100%;
}

@media (max-width: 900px) {
    #contact .section-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    #contact .section-text,
    #contact .card {
        grid-column: 1;
    }
}

/* Chatbot 'here' */

.chat-link-button {
    color: #0077A8;
    font-weight: 700;
    text-decoration: underline;
    display: inline-block;
    padding: 4px 8px;
}

.chat-link-button:hover {
    color: #005f87;
}

/* Pull footer nav/contact and social icons back toward the left edge —
   overrides the earlier margin-left:120px / space-between spread that
   pushed everything too far right on desktop */
.footer-nav-wrapper {
    justify-content: flex-start;
    gap: 64px;
}

.footer-social-icons {
    margin-left: 0;
    top: 0;
}

/* =============================================
   ADDITIONAL RESPONSIVE FIXES
   Targeted fixes for layout issues that show up
   specifically on phones/small tablets across the
   whole site — footer stacking, tap targets,
   overflow prevention, and fluid spacing.
============================================= */

/* Prevent any element from forcing horizontal scroll on narrow screens */
@media (max-width: 600px) {

    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }
}

/* Footer: stack brand / nav+contact / social vertically and remove the
   large fixed offsets (120px margin, absolute positioning, 6rem padding)
   that only make sense in the wide desktop layout */
@media (max-width: 900px) {
    .footer-nav-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        position: static;
        padding-bottom: 0;
    }

    .footer-contact {
        position: static;
        flex-basis: auto;
        margin-top: 0;
    }

    .footer-social-icons {
        margin-left: 0;
        top: 0;
        margin-top: 8px;
    }

    .footer-social {
        align-items: flex-start;
    }
}

@media (max-width: 600px) {
    .footer {
        padding: 40px 20px 24px;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 24px;
    }

    .footer-brand p {
        margin-bottom: 24px;
    }

    .footer-nav-wrapper {
        justify-content: flex-start;
        align-items: flex-start;
        gap: 20px;
    }

    .footer-social-icons {
        margin-left: 0;
    }

    .footer-links {
        justify-content: flex-start;
    }
}

/* Comfortable tap targets on touch devices */
@media (max-width: 600px) {

    .btn,
    .nav-link,
    .accordion-trigger,
    .capability-toggle,
    .dropdown-menu a,
    #chat-button,
    #send-chat,
    .why-arrow,
    .partner-arrow {
        min-height: 44px;
    }
}

/* Fluid heading/eyebrow scale across all breakpoints — belt-and-braces
   in case any page-specific heading skipped the clamp() treatment */
@media (max-width: 480px) {
    h1 {
        font-size: clamp(1.6rem, 8vw, 2.2rem);
    }

    h2 {
        font-size: clamp(1.25rem, 6vw, 1.6rem);
    }

    .section,
    .section-alt {
        padding: 48px 16px;
    }

    .section-inner-single {
        padding: 0 4px;
    }
}

/* Tables / wide embeds (if any are added later) never overflow the viewport */
table {
    max-width: 100%;
    display: block;
    overflow-x: auto;
}