@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --navy: #071b2f;
    --navy2: #0b2742;
    --ink: #10243a;
    --orange: #f28a00;
    --gold: #ffad19;
    --cream: #fff0cf;
    --paper: #f6f8fb;
    --muted: #66758a;
    --line: #dce3eb;
    --shadow: 0 18px 55px rgba(4, 19, 35, 0.16);
}

/* =========================================================
   GLOBAL
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--ink);
    background: #fff;
    overflow-x: hidden;
}

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

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

button,
input,
textarea,
select {
    font: inherit;
}

.container {
    width: min(1200px, calc(100% - 40px));
    margin-inline: auto;
}

.eyebrow {
    color: var(--orange);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.section {
    padding: 86px 0;
}

.section-dark {
    color: #fff;
    background:
        radial-gradient(circle at 85% 10%, rgba(31, 88, 137, 0.35), transparent 35%),
        linear-gradient(135deg, var(--navy), #0b2a47);
}

.section-title {
    margin: 0.45rem 0 1rem;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1;
}

.section-copy {
    max-width: 720px;
    color: var(--muted);
    line-height: 1.75;
}

.section-dark .section-copy {
    color: #b8c5d4;
}

/* =========================================================
   TOP BAR
========================================================= */

.topbar {
    color: #c7d1dc;
    background: #031426;
    font-size: 0.78rem;
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 9px 0;
}

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

.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(7, 27, 47, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: var(--orange);
    border: 2px solid var(--orange);
    border-radius: 50%;
    font-weight: 900;
}

.brand strong {
    display: block;
    letter-spacing: 0.04em;
}

.brand small {
    display: block;
    margin-top: 2px;
    color: #aebdcd;
    font-size: 0.68rem;
}

.navlinks {
    display: flex;
    align-items: center;
    gap: 26px;
    color: #d9e2ec;
    font-size: 0.9rem;
}

.navlinks a {
    transition: color 0.2s ease;
}

.navlinks a:hover,
.navlinks a.active {
    color: var(--gold);
}

.mobile-toggle {
    display: none;
    padding: 8px;
    color: #fff;
    background: none;
    border: 0;
    font-size: 1.6rem;
    cursor: pointer;
}

/* =========================================================
   BUTTONS
========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 20px;
    border-radius: 9px;
    font-weight: 800;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.btn-primary {
    color: #111827;
    background: linear-gradient(135deg, var(--gold), var(--orange));
    box-shadow: 0 10px 28px rgba(242, 138, 0, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(242, 138, 0, 0.34);
}

.btn-secondary {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.32);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* =========================================================
   HOMEPAGE HERO SLIDER
========================================================= */

.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #020e1b;
}

/*
   Main slider sizing:
   Desktop maximum height: 590px
   Responsive middle value: 38vw
   Minimum height: 400px
*/
.slides {
    position: relative;
    width: 100%;
    height: clamp(400px, 38vw, 590px);
    min-height: 0;
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.8s ease,
        visibility 0.8s ease;
}

.slide.active {
    z-index: 1;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    background: #020e1b;
    transform: none;
}

/*
   Very light overlay only.
   The generated banners already contain their own text and design.
*/
.slide::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            rgba(2, 14, 27, 0.06),
            transparent 38%,
            transparent 70%,
            rgba(2, 14, 27, 0.08)
        ),
        linear-gradient(
            0deg,
            rgba(2, 14, 27, 0.18),
            transparent 26%
        );
}

/*
   Hide the HTML overlay title and description because the service
   images already contain their own text.
*/
.slide-caption {
    display: none;
}

/* Slider arrows and dots */

.slider-controls {
    position: absolute;
    right: max(24px, calc((100% - 1200px) / 2));
    bottom: 20px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 10px;
}

.slider-controls button {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 50%;
    background: rgba(3, 20, 38, 0.72);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
    cursor: pointer;
    font-size: 1.25rem;
    line-height: 1;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.slider-controls button:hover {
    color: #071b2f;
    border-color: var(--gold);
    background: var(--gold);
    transform: translateY(-2px);
}

.dots {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0 4px;
}

.dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: none;
    opacity: 0.45;
}

.dots button:hover {
    color: inherit;
    border-color: transparent;
    background: #fff;
    transform: none;
    opacity: 0.8;
}

.dots button.active {
    width: 28px;
    border-radius: 12px;
    background: var(--orange);
    opacity: 1;
}

/* =========================================================
   TRUST STRIP
========================================================= */

.trust-strip {
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
}

.trust-item {
    padding: 25px;
    text-align: center;
    background: #fff;
}

.trust-item strong {
    display: block;
    color: var(--navy);
    font-size: 1.05rem;
}

.trust-item span {
    color: var(--muted);
    font-size: 0.8rem;
}

/* =========================================================
   SERVICE PREVIEW CARDS
========================================================= */

.service-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 34px;
}

.service-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(10, 32, 55, 0.08);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

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

.service-card img {
    width: 100%;
    aspect-ratio: 1.82 / 1;
    object-fit: cover;
    object-position: center;
}

.service-card .content {
    padding: 23px;
}

.service-card h3 {
    margin: 0 0 9px;
    font-size: 1.15rem;
}

.service-card p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.65;
}

.more {
    color: var(--orange);
    font-size: 0.88rem;
    font-weight: 800;
}

/* =========================================================
   WHY CHOOSE US
========================================================= */

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

.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 28px;
}

.feature {
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.035);
}

.feature strong {
    display: block;
    margin-bottom: 6px;
    color: var(--gold);
}

.feature span {
    color: #b8c5d4;
    font-size: 0.88rem;
    line-height: 1.55;
}

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

.stat {
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    background: linear-gradient(145deg, #11385d, #09233d);
}

.stat b {
    color: var(--gold);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 2.7rem;
}

.stat span {
    display: block;
    color: #cad5df;
    font-size: 0.84rem;
}

/* =========================================================
   PROCESS
========================================================= */

.process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 36px;
}

.step {
    padding: 22px;
    background: #fff;
    border-top: 3px solid var(--orange);
    box-shadow: 0 8px 30px rgba(10, 32, 55, 0.07);
}

.step i {
    color: #d8e0e8;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 2.2rem;
    font-style: normal;
}

.step h3 {
    margin: 8px 0;
}

.step p {
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.6;
}

/* =========================================================
   CALL TO ACTION
========================================================= */

.cta {
    padding: 46px 0;
    background: linear-gradient(100deg, #e87800, #ffad19);
}

.cta .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cta h2 {
    margin: 0;
    color: #071b2f;
    font-size: clamp(2rem, 4vw, 3.4rem);
}

.cta p {
    margin: 0.5rem 0 0;
    color: #27394a;
}

.cta .btn {
    color: #fff;
    background: #071b2f;
}

/* =========================================================
   INTERNAL PAGE HERO
========================================================= */

.page-hero {
    padding: 92px 0 80px;
    color: #fff;
    background:
        radial-gradient(circle at 80% 20%, #194c79 0, transparent 38%),
        var(--navy);
}

.page-hero h1 {
    margin: 10px 0 20px;
    font-family: "Barlow Condensed", sans-serif;
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 0.88;
    text-transform: uppercase;
}

.page-hero p {
    max-width: 760px;
    color: #c6d3df;
    line-height: 1.75;
}

/* =========================================================
   SERVICE DETAIL PAGE
========================================================= */

.service-detail {
    display: grid;
    grid-template-columns: 1.03fr 0.97fr;
    align-items: center;
    gap: 40px;
    padding: 48px 0;
    border-bottom: 1px solid var(--line);
}

.service-detail:nth-child(even) .service-media {
    order: 2;
}

.service-media img {
    width: 100%;
    aspect-ratio: 1.82 / 1;
    object-fit: cover;
    object-position: center;
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.service-copy h2 {
    margin: 8px 0 14px;
    font-family: "Barlow Condensed", sans-serif;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 0.95;
    text-transform: uppercase;
}

.service-copy p {
    color: var(--muted);
    line-height: 1.72;
}

.service-copy ul {
    margin: 18px 0 24px;
    padding: 0;
    list-style: none;
}

.service-copy li {
    position: relative;
    padding: 8px 0 8px 28px;
}

.service-copy li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--orange);
    font-weight: 900;
}

/* =========================================================
   FOOTER
========================================================= */

footer {
    padding: 58px 0 24px;
    color: #bac7d4;
    background: #031426;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 38px;
}

.footer-grid h4 {
    margin: 0 0 15px;
    color: #fff;
}

.footer-grid a {
    display: block;
    margin: 9px 0;
    font-size: 0.86rem;
}

.footer-grid a:hover {
    color: var(--gold);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 38px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.78rem;
}

/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (min-width: 1500px) {
    .slides {
        height: 590px;
    }

    .slide img {
        object-position: center;
    }
}

/* =========================================================
   LAPTOP / SMALL DESKTOP
========================================================= */

@media (max-width: 1200px) {
    .slides {
        height: clamp(400px, 43vw, 540px);
    }
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {
    .navlinks {
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        padding: 22px;
        background: #071b2f;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 18px 30px rgba(0, 0, 0, 0.2);
    }

    .navlinks.open {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .slides {
        height: clamp(350px, 51vw, 460px);
        min-height: 0;
    }

    .slide img {
        object-fit: contain;
        object-position: center;
    }

    .slider-controls {
        right: 20px;
        bottom: 16px;
    }

    .slider-controls button {
        width: 40px;
        height: 40px;
    }

    .service-preview {
        grid-template-columns: 1fr 1fr;
    }

    .why-grid,
    .service-detail {
        grid-template-columns: 1fr;
    }

    .service-detail:nth-child(even) .service-media {
        order: 0;
    }

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

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

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

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {
    .topbar {
        display: none;
    }

    .container {
        width: min(100% - 28px, 1200px);
    }

    .section {
        padding: 62px 0;
    }

    .nav .container {
        min-height: 68px;
    }

    .navlinks {
        top: 68px;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
    }

    /*
       Mobile banners remain wide, but are not excessively tall.
       This preserves more of the artwork than a very narrow crop.
    */
    .slides {
        height: clamp(260px, 55vw, 340px);
        min-height: 0;
    }

    .slide img {
        object-fit: contain;
        object-position: center;
    }

    .slide::after {
        background: linear-gradient(
            0deg,
            rgba(2, 14, 27, 0.2),
            transparent 30%
        );
    }

    .slider-controls {
        right: 14px;
        bottom: 12px;
        gap: 7px;
    }

    .slider-controls button {
        width: 36px;
        height: 36px;
        font-size: 1.05rem;
    }

    .dots {
        gap: 5px;
        margin: 0 2px;
    }

    .dots button {
        width: 7px;
        height: 7px;
    }

    .dots button.active {
        width: 20px;
    }

    .service-preview,
    .feature-list,
    .process,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

    .trust-item {
        padding: 18px 12px;
    }

    .cta .container {
        align-items: flex-start;
        flex-direction: column;
    }

    .service-detail {
        padding: 32px 0;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 400px) {
    .slides {
        height: 250px;
    }

    .slider-controls {
        right: 10px;
        bottom: 9px;
    }

    .slider-controls > button {
        width: 33px;
        height: 33px;
    }

    .dots {
        display: none;
    }

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

/* =========================================================
   ACCESSIBILITY / REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}