:root {
    --primary-900: #061739;
    --primary-800: #0b2b63;
    --primary-700: #0f3f8a;
    --primary: #1d6ef0;
    --accent: #8ce3ff;
    --accent-soft: rgba(140, 227, 255, 0.15);
    --soft: #eef4ff;
    --surface: #f9fbff;
    --background: linear-gradient(180deg, #f3f6ff 0%, #ffffff 100%);
    --text: #0c1f3f;
    --muted: #4a5d7a;
    --line: rgba(6, 23, 57, 0.08);
    --white: #ffffff;
    --shadow-soft: 0 24px 45px -24px rgba(15, 63, 138, 0.2);
    --shadow-strong: 0 40px 120px -45px rgba(6, 23, 57, 0.55);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Mona Sans", sans-serif;
    font-feature-settings: "liga" 1, "kern" 1;
    background: var(--background);
    color: var(--text);
    min-height: 100vh;
}

body.modal-open {
    overflow: hidden;
}

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

h1, h2, h3, h4 {
    color: var(--primary-900);
    font-weight: 700;
    letter-spacing: -0.01em;
}

p {
    color: var(--muted);
    padding-bottom: 20px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
}

ul {
    list-style: none;
}

button {
    font: inherit;
    color: inherit;
    background: none;
    border: none;
    cursor: pointer;
}

.container {
    width: min(1200px, 92vw);
    margin: 0 auto;
}

@media (max-width: 640px) {
    .container {
        width: 100%;
        padding-left: clamp(0.5rem, 4vw, 1rem);
        padding-right: clamp(0.5rem, 4vw, 1rem);
    }
}

header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 18px 48px -32px rgba(6, 23, 57, 0.35);
    backdrop-filter: blur(18px);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1rem 0;
    position: relative;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    font-weight: 600;
    color: var(--primary-900);
}

.brand-badge {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 18px;
    background: radial-gradient(circle at top left, #1d6ef0, #061739);
    color: var(--white);
    font-weight: 700;
    letter-spacing: 0.08em;
}

.brand-copy strong {
    font-size: 1.08rem;
    display: block;
}

.brand-copy span {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    color: var(--primary-700);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(6, 23, 57, 0.07);
    color: var(--primary-800);
}

.menu-toggle:hover {
    background: rgba(6, 23, 57, 0.12);
}

.nav-links-wrapper {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links a {
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
    padding: 0.35rem 0;
    color: var(--primary-800);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.3rem;
    width: 100%;
    height: 2.5px;
    background: var(--primary-700);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.current::after {
    transform: scaleX(1);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 1.6rem;
    border-radius: 999px;
    border: 1px solid rgba(6, 23, 57, 0.12);
    background: var(--primary-700);
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 18px 40px -24px rgba(140, 227, 255, 0.8);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 48px -22px rgba(140, 227, 255, 0.9);
}

main {
    overflow: hidden;
}

.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    background-size: cover;
    background-position: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(130deg, rgba(6, 23, 57, 0.92) 0%, rgba(6, 23, 57, 0.45) 55%, rgba(6, 23, 57, 0.78) 100%);
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.hero-content {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
}

.hero-inner {
    /* width: min(1120px, 94vw); */
    margin-left: clamp(1.5rem, 6vw, 7rem);
    margin-right: clamp(1.5rem, 6vw, 6rem);
    /* padding: clamp(3rem, 7vw, 5.5rem); */
    /* border-radius: 32px;
    background: rgba(6, 23, 57, 0.58);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 40px 120px -45px rgba(6, 23, 57, 0.9); */
}

.hero-eyebrow {
    display: inline-flex;
    padding: 0.45rem 1.6rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    text-transform: uppercase;
    letter-spacing: 0.32em;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.84);
}

.hero-heading {
    margin-top: 1.6rem;
    font-size: clamp(2.4rem, 4.8vw, 4.2rem);
    font-weight: 700;
    line-height: 1.12;
    color: var(--white);
    /* max-width: 680px; */
}

.hero-text {
    margin-top: 1.2rem;
    max-width: 620px;
    font-size: clamp(1rem, 2.2vw, 1.18rem);
    color: rgba(226, 235, 255, 0.82);
}

.hero-actions {
    margin-top: 2.4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-nav {
    position: absolute;
    bottom: clamp(1.5rem, 5vw, 3rem);
    right: clamp(1.5rem, 6vw, 3.5rem);
    transform: none;
    width: auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(6, 23, 57, 0.65);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 18px 44px -24px rgba(6, 23, 57, 0.78);
    z-index: 2;
}

.hero-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    display: grid;
    place-items: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.hero-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px) scale(1.02);
}

.hero-dots {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.32);
    transition: width 0.3s ease, background 0.3s ease;
}

.hero-dot.active {
    width: 32px;
    background: var(--accent);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.8rem;
    border-radius: 999px;
    border: none;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-900);
    background: var(--accent);
    box-shadow: 0 25px 45px -25px rgba(140, 227, 255, 1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 30px 55px -25px rgba(140, 227, 255, 1);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.8rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: var(--white);
    background: transparent;
    transition: background 0.3s ease;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
}

.section {
    padding-top: clamp(3rem, 8vw, 5rem);
}

main .section:nth-of-type(odd) {
    background: var(--surface);
}

.section-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
    margin-bottom: clamp(2.5rem, 6vw, 3.5rem);
    margin-top: 40px;
}

.section-eyebrow {
    display: inline-flex;
    padding: 0.45rem 1.6rem;
    border-radius: 999px;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--primary-700);
    background: var(--accent-soft);
}

.section-title {
    font-size: 38px;
    font-weight: 700;
    color: var(--primary-900);
}

.section-text {
    color: var(--muted);
    font-size: clamp(1rem, 2.5vw, 1.25rem);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.8rem;
}


.card {
    padding: clamp(2rem, 4vw, 2.4rem);
    border-radius: 24px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 70px -40px rgba(15, 63, 138, 0.55);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    background: linear-gradient(140deg, rgba(29, 110, 240, 0.16), rgba(8, 48, 112, 0.12));
    color: var(--primary-700);
}

.card-icon i,
.metric-icon i {
    font-size: 1.35rem;
}

.card-image {
    width: 100%;
    height: 180px;
    border-radius: 18px;
    object-fit: cover;
    object-position: center;
}

.card h3 {
    font-size: 1.25rem;
    color: var(--primary-900);
}

.card p {
    font-size: 0.97rem;
    color: var(--muted);
}

.metrics-grid {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}


.metric {
    padding: clamp(2rem, 4vw, 2.6rem) clamp(1.8rem, 3.6vw, 2.4rem);
    border-radius: 26px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.metric-icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: rgba(29, 110, 240, 0.14);
    color: var(--primary-700);
    font-size: 1.3rem;
}

.metric-image {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    object-fit: cover;
    object-position: center;
}


.metric strong {
    font-size: 20px;
    color: var(--primary-700);
    font-weight: 700;
}

.metric span {
    font-size: 0.95rem;
    color: var(--muted);
}

.service-cta {
    margin-top: 3rem;
    padding: 3rem;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(6, 23, 57, 0.96), rgba(15, 63, 138, 0.92));
    color: var(--white);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.service-cta p {
    color: rgba(225, 233, 255, 0.82);
}

.service-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-header.align-left {
    align-items: flex-start;
    text-align: left;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
}

.work-card {
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(15, 63, 138, 0.12);
    background: var(--white);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
}

.work-card img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.work-card-content {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem;
}

.work-gallery {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 768px) {
    .work-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .work-gallery {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.work-thumb {
    padding: 0;
    border: none;
    border-radius: 20px;
    overflow: hidden;
    min-height: 260px;
    box-shadow: var(--shadow-soft);
    background: var(--white);
    cursor: pointer;
}

.work-thumb img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.work-lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.work-lightbox-inner {
    max-width: 90vw;
    max-height: 90vh;
}

.work-lightbox-inner img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    border-radius: 12px;
}

.gallery-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.gallery-item img {
    height: 240px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item span {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 23, 57, 0.75) 10%, transparent 55%, rgba(6, 23, 57, 0.85) 100%);
    color: var(--white);
    display: flex;
    align-items: flex-end;
    padding: 1.8rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover span {
    opacity: 1;
}

.contact-banner {
    margin-top: 4rem;
    padding: 3.4rem;
    border-radius: 32px;
    background: linear-gradient(140deg, #061739 0%, #0f3f8a 60%, #1d6ef0 100%);
    color: var(--white);
    display: grid;
    gap: 1.6rem;
}

.contact-banner p {
    color: rgba(225, 233, 255, 0.82);
}

.contact-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

footer {
    margin-top: 5rem;
    background: #061126;
    color: rgba(255, 255, 255, 0.82);
}

.footer-inner {
    padding: 4rem 0 0;
    display: grid;
    grid-template-columns: 1.4fr repeat(3, minmax(180px, 1fr));
    gap: 2.5rem;
    align-items: start;
    padding-left: 25px;
    padding-right: 25px;
}

.footer-copy {
    margin-top: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 280px;
}

.footer-inner h4 {
    margin-bottom: 1rem;
    color: var(--white);
    font-size: 1rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-inner ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-inner a:hover {
    color: var(--accent);
}

.footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.social-links {
    margin-top: 1.2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.social-links a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: grid;
    place-items: center;
    transition: background 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
    background: var(--accent);
    color: var(--primary-900);
}

.page-hero {
    position: relative;
    min-height: 60vh;
    padding: clamp(6rem, 10vw, 8rem) 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    color: var(--white);
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(130deg, rgba(6, 23, 57, 0.9) 0%, rgba(6, 23, 57, 0.6) 60%, rgba(6, 23, 57, 0.85) 100%);
}

.page-hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    text-align: center;
}

.page-hero .hero-eyebrow {
    border-color: rgba(255, 255, 255, 0.3);
}

.page-hero-label {
    /* position: absolute; */
    /* top: clamp(1.8rem, 6vw, 3rem); */
    left: 50%;
    transform: translateX(40%);
    display: inline-flex;
    /* padding: 0.55rem 0 2.4rem 0; */
    /* border-radius: 999px; */
    /* border: 1px solid rgba(255, 255, 255, 0.35); */
    /* background: rgba(255, 255, 255, 0.08); */
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-size: 2rem;
    font-weight: 600;
    /* backdrop-filter: blur(12px); */
    /* box-shadow: 0 20px 50px -30px rgba(6, 23, 57, 0.65); */
}

.page-breadcrumb {
    position: absolute;
    bottom: clamp(1.8rem, 5vw, 3rem);
    left: clamp(2rem, 8vw, 6rem);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(225, 233, 255, 0.75);
    font-size: 0.85rem;
    font-weight: 500;
}

.page-breadcrumb a {
    color: rgba(225, 233, 255, 0.85);
    font-size: 20px;
}

.page-breadcrumb a:hover {
    color: var(--accent);
}

.page-breadcrumb .current {
    color: var(--white);
    font-weight: 600;
    font-size: 20px;
}

.page-breadcrumb span[aria-hidden="true"] {
    color: rgba(225, 233, 255, 0.55);
}

.page-hero h1 {
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    font-weight: 700;
}

.page-hero p {
    max-width: 680px;
    margin: 0 auto;
    color: rgba(225, 233, 255, 0.82);
}

.content-section {
    padding: clamp(3.5rem, 9vw, 5rem) 0;
}

.two-column {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.story-grid {
    display: grid;
    gap: clamp(2rem, 4vw, 4rem);
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: center;
}

.story-copy .highlight-list {
    margin-top: 1.8rem;
}

.story-media {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.story-media::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 32px;
    pointer-events: none;
}

.story-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.highlight-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    list-style: none;
}

.highlight-list li {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    color: var(--muted);
}

.highlight-list i {
    color: var(--primary-700);
    margin-top: 0.2rem;
}

.timeline {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.timeline-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 1.8rem;
    box-shadow: var(--shadow-soft);
    position: relative;
}

.timeline-pill {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: rgba(29, 110, 240, 0.12);
    color: var(--primary-800);
    font-weight: 700;
    font-size: 1.05rem;
    display: grid;
    place-items: center;
}

.timeline-body h3 {
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
}

.timeline-body p {
    margin: 0;
    color: var(--muted);
}

@media (min-width: 768px) {
    .timeline {
        flex-direction: row;
    }

    .timeline-item {
        flex: 1;
        min-height: 180px;
    }

    .timeline-item::after {
        content: "";
        position: absolute;
        top: 50%;
        right: -12%;
        width: 20%;
        height: 2px;
        background: var(--line);
    }

    .timeline-item:last-child::after {
        display: none;
    }
}

.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.6rem;
}

.service-item {
    padding: 2rem;
    border-radius: 24px;
    background: var(--white);
    border: 1px solid rgba(15, 63, 138, 0.12);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-item h3 {
    color: var(--primary-900);
}

.service-media {
    margin-bottom: 2rem;
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}

.service-media img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.service-actions {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.service-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.4rem;
    border-radius: 999px;
    border: 1px solid rgba(6, 23, 57, 0.18);
    font-weight: 600;
    color: var(--primary-800);
    background: rgba(6, 23, 57, 0.04);
    transition: border 0.3s ease, color 0.3s ease;
}

.service-link-btn:hover {
    border-color: var(--primary-700);
    color: var(--primary-700);
}

.service-modal {
    position: fixed;
    inset: 0;
    padding: clamp(1.5rem, 4vw, 3rem);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.service-modal[hidden] {
    display: none;
}

.service-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(6, 23, 57, 0.78);
    backdrop-filter: blur(8px);
}

.service-modal-dialog {
    position: relative;
    width: min(520px, 94vw);
    border-radius: 32px;
    padding: clamp(2rem, 5vw, 3rem);
    background: var(--white);
    box-shadow: var(--shadow-strong);
}

.service-modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(6, 23, 57, 0.12);
    background: rgba(6, 23, 57, 0.04);
    color: var(--primary-800);
    display: grid;
    place-items: center;
}

.service-modal-header {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.service-modal-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.8rem;
    color: var(--primary-700);
}

.service-modal-header h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.service-modal-form {
    display: grid;
    gap: 1rem;
}

.service-modal-form label {
    font-weight: 600;
    color: var(--primary-900);
}

.service-modal-form input,
.service-modal-form textarea {
    margin-top: 0.45rem;
    width: 100%;
    border-radius: 16px;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(6, 23, 57, 0.18);
    background: var(--soft);
    font-size: 0.95rem;
}

.service-modal-form textarea {
    min-height: 140px;
    resize: vertical;
}

.service-modal-form input:focus,
.service-modal-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(29, 110, 240, 0.12);
}

.service-modal-form button {
    justify-self: flex-start;
}

.case-study {
    padding: 2.4rem;
    border-radius: 28px;
    background: var(--white);
    border: 1px solid rgba(15, 63, 138, 0.12);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.case-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    font-size: 0.85rem;
    color: var(--primary-700);
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.contact-layout {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.contact-card {
    padding: 2.4rem;
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(6, 23, 57, 0.96), rgba(15, 63, 138, 0.92));
    color: var(--white);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-card p {
    color: rgba(225, 233, 255, 0.8);
}

.contact-form {
    padding: 2.4rem;
    border-radius: 26px;
    background: var(--white);
    border: 1px solid rgba(15, 63, 138, 0.12);
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 1.4rem;
}

.contact-form label {
    font-weight: 600;
    color: var(--primary-900);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    margin-top: 0.55rem;
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(15, 63, 138, 0.18);
    background: var(--soft);
    font-size: 0.95rem;
    transition: border 0.3s ease, background 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(29, 110, 240, 0.15);
}

.contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-form button {
    justify-self: flex-start;
}

.no-top-padding {
    padding-top: 0;
}

.link-clean {
    color: inherit;
}

.contact-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.compact-card {
    gap: 0.8rem;
}

.paragraph-gap {
    margin-top: 1.1rem;
}

@media (max-width: 960px) {
    .menu-toggle {
        display: flex;
        padding: 15px;
    }

    .nav-links-wrapper {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1.5rem 0 2rem;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 24px 60px -30px rgba(6, 23, 57, 0.4);
        border-top: 1px solid rgba(6, 23, 57, 0.08);
        display: none;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .nav-links-wrapper.open {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links a {
        color: var(--primary-800);
        font-size: 1.05rem;
    }

    .nav-cta {
        width: 80%;
        justify-content: center;
    }

    .section-header {
        margin-top: 24px;
    }

    .cards-grid,
    .service-list,
    .metrics-grid {
        gap: 1.4rem;
    }

    .story-grid,
    .two-column,
    .contact-layout {
        gap: 2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .work-thumb {
        min-height: 220px;
    }

    .work-thumb img {
        height: 320px;
    }

    .service-cta,
    .contact-banner {
        padding: 2.4rem;
    }

    .hero-inner {
        margin: 0 clamp(0.8rem, 3.5vw, 1.6rem);
        padding: clamp(2.4rem, 8vw, 3.6rem);
    }

    .hero-nav {
        bottom: 2.2rem;
        right: clamp(1rem, 8vw, 2.5rem);
    }

    .service-media img {
        height: 340px;
    }

    .footer-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem;
    }

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

@media (max-width: 680px) {
    .hero-btn {
        width: 44px;
        height: 44px;
    }

    .hero-inner {
        margin: 0 clamp(0.4rem, 3vw, 0.9rem);
    }

    .hero-nav {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        bottom: clamp(1rem, 6vw, 1.8rem);
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.6rem;
    }

    .hero-dots {
        order: 2;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-banner-actions,
    .service-cta-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-header {
        align-items: flex-start;
        text-align: left;
    }

    .cards-grid,
    .service-list,
    .metrics-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid,
    .work-gallery {
        grid-template-columns: 1fr;
    }

    /* Home page gallery: 2 columns on mobile */
    .home-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.8rem;
    }

    .home-gallery-grid .gallery-item img {
        height: 140px;
        object-fit: cover;
    }

    .service-media img {
        height: 240px;
    }

    .service-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary,
    .btn-outline,
    .service-link-btn {
        width: 100%;
        justify-content: center;
    }

    .page-hero-label {
        top: clamp(1.2rem, 6vw, 2rem);
        padding: 0.45rem 1.6rem;
        /* font-size: 0.7rem; */
        letter-spacing: 0.24em;
    }

    .page-breadcrumb {
        left: 50%;
        transform: translateX(-50%);
        bottom: clamp(1.2rem, 6vw, 2rem);
        gap: 0.6rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 520px) {
    .hero-inner {
        margin: 0 clamp(0.25rem, 2.5vw, 0.6rem);
        padding: clamp(1.8rem, 12vw, 2.4rem);
    }

    .hero-heading {
        font-size: clamp(1.9rem, 9vw, 2.4rem);
    }

    .hero-text {
        font-size: 0.95rem;
    }

    .section {
        padding-top: 2.8rem;
    }

    .content-section {
        padding: 3rem 0;
    }

    .service-media img {
        height: 200px;
    }

    .service-modal-dialog {
        width: 100%;
        padding: 2rem 1.5rem;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 1.6rem;
    }

    .footer-inner > div {
        text-align: left;
    }

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

/* ==========================================
   SERVICES SLIDER STYLES
   ========================================== */
.services-slider {
    padding: 20px 10px 50px;
    position: relative;
}

.services-slider .swiper-slide {
    height: auto;
}

.services-slider .card {
    height: 100%;
}

.services-slider .swiper-button-next,
.services-slider .swiper-button-prev {
    color: var(--primary-700);
    background: var(--white);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: var(--shadow-soft);
}

.services-slider .swiper-button-next:after,
.services-slider .swiper-button-prev:after {
    font-size: 18px;
    font-weight: 700;
}

.services-slider .swiper-pagination-bullet {
    background: var(--primary-700);
    opacity: 0.3;
}

.services-slider .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary);
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-700);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: auto;
    padding-top: 0.5rem;
    transition: gap 0.3s ease;
}

.service-card-link:hover {
    gap: 0.75rem;
    color: var(--primary);
}

/* ==========================================
   VIEW MORE BUTTON STYLES
   ========================================== */
.view-more-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}

.view-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.view-more-btn:hover {
    gap: 0.9rem;
}

/* ==========================================
   MASONRY GALLERY STYLES (Work Page)
   ========================================== */
.masonry-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px;
    gap: 1.2rem;
}

.masonry-item {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.masonry-item.masonry-tall {
    grid-row: span 2;
}

.masonry-item.masonry-wide {
    grid-column: span 2;
}

.masonry-thumb {
    width: 100%;
    height: 100%;
    padding: 0;
    border: none;
    cursor: pointer;
    display: block;
}

.masonry-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.masonry-thumb:hover img {
    transform: scale(1.08);
}

@media (max-width: 960px) {
    .masonry-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
    }
    
    .masonry-item.masonry-wide {
        grid-column: span 1;
    }
}

@media (max-width: 520px) {
    .masonry-gallery {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }
    
    .masonry-item.masonry-tall,
    .masonry-item.masonry-wide {
        grid-row: span 1;
        grid-column: span 1;
    }
}

/* ==========================================
   SERVICE PAGE - NEW GRID LAYOUT
   ========================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.service-box {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 0;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
}

.service-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 70px -40px rgba(15, 63, 138, 0.55);
}

.service-box-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-box-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-box:hover .service-box-image img {
    transform: scale(1.08);
}

.service-box-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-box-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(140deg, rgba(29, 110, 240, 0.16), rgba(8, 48, 112, 0.12));
    color: var(--primary-700);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.service-box h3 {
    font-size: 1.2rem;
    color: var(--primary-900);
    margin-bottom: 1rem;
}

.service-box-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.service-box-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--muted);
}

.service-box-features li i {
    color: var(--primary);
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.service-box-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-700);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: auto;
    transition: gap 0.3s ease;
}

.service-box-link:hover {
    gap: 0.75rem;
    color: var(--primary);
}

@media (max-width: 960px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

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

/* ==========================================
   CONTACT FORM - TWO INPUTS PER ROW
   ========================================== */
.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

.contact-form-grid .form-group {
    display: flex;
    flex-direction: column;
}

.contact-form-grid .form-group.full-width {
    grid-column: span 2;
}

.contact-form-grid label {
    font-weight: 600;
    color: var(--primary-900);
    margin-bottom: 0.45rem;
}

.contact-form-grid input,
.contact-form-grid select,
.contact-form-grid textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(15, 63, 138, 0.18);
    background: var(--soft);
    font-size: 0.95rem;
    transition: border 0.3s ease, background 0.3s ease;
}

.contact-form-grid input:focus,
.contact-form-grid select:focus,
.contact-form-grid textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(29, 110, 240, 0.15);
}

.contact-form-grid textarea {
    resize: vertical;
    min-height: 120px;
}

/* Contact Form Submit Button */
.contact-form .btn-primary,
.contact-form button[type="submit"] {
    width: 100%;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1rem;
}

.contact-form .btn-primary:hover,
.contact-form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 30px 55px -25px rgba(140, 227, 255, 1);
}

@media (max-width: 640px) {
    .contact-form-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-grid .form-group.full-width {
        grid-column: span 1;
    }
}

/* ==========================================
   SERVICE DETAIL PAGE STYLES
   ========================================== */
.service-detail-hero {
    background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-700) 100%);
    padding: 4rem 0;
    color: var(--white);
}

.service-detail-content {
    padding: 4rem 0;
}

.service-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    box-shadow: var(--shadow-soft);
}

.feature-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(140deg, rgba(29, 110, 240, 0.16), rgba(8, 48, 112, 0.12));
    color: var(--primary-700);
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-card-content h4 {
    font-size: 1.1rem;
    color: var(--primary-900);
    margin-bottom: 0.5rem;
}

.feature-card-content p {
    font-size: 0.9rem;
    color: var(--muted);
    margin: 0;
    padding: 0;
}

@media (max-width: 768px) {
    .service-features-grid {
        grid-template-columns: 1fr;
    }
}
