:root {
    --navy: #071d35;
    --blue: #0b3155;
    --cyan: #1aa6b8;
    --ink: #13293d;
    --muted: #667788;
    --line: #dbe3e9;
    --mist: #f3f7f9;
    --white: #fff;
    --serif: Georgia, "Times New Roman", serif;
    --sans: Arial, Helvetica, sans-serif;
    --container: 1180px;
    --shadow: 0 24px 70px rgba(6, 29, 53, .12)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    color: var(--ink);
    font-family: var(--sans);
    line-height: 1.65;
    background: #fff
}

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

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

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

.container {
    width: min(var(--container), calc(100% - 48px));
    margin: auto
}

.skip-link {
    position: fixed;
    left: 16px;
    top: -80px;
    background: #fff;
    padding: 10px;
    z-index: 99
}

.skip-link:focus {
    top: 16px
}

.site-header {
    height: 72px;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 9999;
    border-bottom: 1px solid rgba(7, 29, 53, .08)
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.brand img {
    width: 202px;
    max-height: 48px;
    object-fit: contain
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0
}

.site-nav>a:not(.button) {
    padding: 26px 0;
    border-bottom: 2px solid transparent
}

.site-nav>a:hover,
.site-nav>a.active {
    color: var(--cyan);
    border-color: var(--cyan)
}

.menu-toggle {
    display: none;
    background: none;
    border: 0
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--navy);
    background: var(--navy);
    color: #fff !important;
    padding: 14px 23px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .11em;
    cursor: pointer;
    transition: .25s
}

.button:hover {
    background: #245287;
    border: 1px solid #245287;
}

.button-sm {
    padding: 10px 16px;
    text-transform: none;
    letter-spacing: 0;
    font-size: 12px
}

.button-light {
    background: #fff;
    border-color: #fff;
    color: var(--navy) !important
}

.button-outline {
    background: transparent;
    color: var(--navy) !important;
    border-color: var(--line)
}

.hero {
    min-height: 520px;
    background: linear-gradient(90deg, rgba(4, 15, 29, .9) 0%, rgba(4, 15, 29, .72) 34%, rgba(4, 15, 29, .24) 63%, rgba(4, 15, 29, .1) 100%), var(--hero), linear-gradient(130deg, #0c4770, #061a30);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    color: #fff;
    display: grid;
    align-items: end;
    isolation: isolate
}

.hero-home {
    min-height: 690px
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 68% 30%, rgba(130, 181, 214, .18), transparent 30%), linear-gradient(90deg, rgba(2, 14, 28, .72) 0%, rgba(2, 14, 28, .36) 46%, rgba(2, 14, 28, .12) 72%, rgba(2, 14, 28, 0) 100%);
    pointer-events: none
}

.hero-content {
    position: relative;
    padding: 120px 0 110px;
    max-width: 760px;
    margin-left: max(24px, calc((100vw - var(--container))/2))
}

.eyebrow {
    display: block;
    color: var(--cyan);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .2em;
    margin-bottom: 20px
}

.hero h1 {
    font-family: var(--serif);
    font-size: clamp(48px, 6vw, 82px);
    font-weight: 400;
    letter-spacing: -.035em;
    line-height: 1.02;
    margin: 0 0 28px;
    max-width: 820px
}

.hero p {
    max-width: 660px;
    font-size: 19px;
    color: #d9e6ed;
    margin: 0;
    text-shadow: 0 1px 10px rgba(1, 12, 24, .22)
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 42px
}

.text-link {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .13em;
    margin-top: 26px
}

.text-link span {
    color: var(--cyan);
    font-size: 19px
}

.text-link.light {
    color: #fff;
    margin-top: 0
}

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

.proof-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 37px 0
}

.proof-grid div {
    padding: 0 30px;
    border-right: 1px solid var(--line)
}

.proof-grid div:first-child {
    padding-left: 0
}

.proof-grid div:last-child {
    border: 0
}

.proof strong {
    font-family: var(--serif);
    font-size: 33px;
    color: var(--navy);
    display: block
}

.proof span {
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .08em
}

.section {
    padding: 115px 0
}

.section-tint {
    background: var(--mist)
}

.split {
    display: grid;
    grid-template-columns: 1fr 1.04fr;
    gap: 90px;
    align-items: center
}

.split-reverse .section-copy {
    order: 2
}

.section-copy h2,
.section-heading h2,
.contact-section h2 {
    font: 400 clamp(38px, 4vw, 58px)/1.09 var(--serif);
    letter-spacing: -.025em;
    color: var(--navy);
    margin: 0 0 28px
}

.richtext {
    color: var(--muted);
    font-size: 17px
}

.richtext p:first-child {
    font-size: 20px;
    color: var(--ink)
}

.richtext ul {
    padding-left: 19px
}

.section-media {
    margin: 0;
    height: 470px;
    background: #dce8ed;
    overflow: hidden
}

.section-media img {
    width: 100%;
    height: 100%;
    /* object-fit: cover */
}

.marine-panel {
    height: 470px;
    background: linear-gradient(155deg, #e4f0f3, #b7d2db);
    position: relative;
    overflow: hidden
}

.marine-panel:before {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: 24%;
    height: 42%;
    border-bottom: 6px solid #fff;
    border-radius: 0 0 50% 50%;
    transform: skewX(-8deg);
    box-shadow: 0 22px 35px rgba(7, 29, 53, .15)
}

.marine-panel:after {
    content: "";
    position: absolute;
    left: 35%;
    bottom: 52%;
    width: 30%;
    height: 20%;
    border: 3px solid rgba(255, 255, 255, .82);
    border-bottom: 0
}

.marine-panel span,
.marine-panel i {
    position: absolute;
    width: 120%;
    height: 1px;
    background: rgba(255, 255, 255, .7);
    bottom: 18%;
    left: -10%;
    transform: rotate(-2deg)
}

.marine-panel i {
    bottom: 12%;
    transform: rotate(1deg)
}

.listing {
    padding: 105px 0;
    background: #fff
}

.section-heading {
    /* max-width: 680px; */
    margin-bottom: 55px
}

.filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 38px
}

.filters button {
    background: transparent;
    border: 1px solid var(--line);
    padding: 10px 18px;
    color: var(--muted);
    cursor: pointer
}

.filters button.active {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy)
}

.project-grid,
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px
}

.project-card,
.article-card {
    border-bottom: 1px solid var(--line);
    padding-bottom: 30px
}

.card-image {
    height: 255px;
    background: var(--image), linear-gradient(135deg, #bdcfd7, #63849b);
    background-size: cover;
    background-position: center;
    margin-bottom: 22px
}

.card-image-empty {
    background: linear-gradient(135deg, #e8eef2, #9eb3c0)
}

.project-card span,
.article-card small,
.resource-grid small {
    color: var(--cyan);
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: .14em;
    font-weight: 800
}

.project-card h3,
.article-card h2,
.resource-grid h3,
.rows h3 {
    font: 400 27px/1.2 var(--serif);
    color: var(--navy);
    margin: 10px 0
}

.project-card p,
.article-card p,
.resource-grid p,
.rows p {
    color: var(--muted)
}

.project-card a,
.article-card a,
.resource-grid a {
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em
}

.rows {
    border-top: 1px solid var(--line)
}

.rows article {
    padding: 32px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    gap: 30px
}

.rows p {
    margin-bottom: 0
}

.project-detail-hero {
    padding: 95px 0 80px;
    background: var(--mist)
}

.project-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
    gap: 56px;
    align-items: center
}

.project-detail-copy h1 {
    font: 400 56px/1.08 var(--serif);
    color: var(--navy);
    margin: 10px 0 24px
}

.project-detail-copy p {
    color: var(--muted);
    font-size: 17px;
    margin-bottom: 0
}

.project-detail-copy .text-link {
    display: inline-block;
    margin-bottom: 32px;
    color: var(--cyan);
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em
}

.project-detail-image {
    margin: 0
}

.project-detail-image img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover
}

.project-related {
    padding-top: 85px
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px
}

.resource-grid article {
    padding: 30px;
    border: 1px solid var(--line)
}

.resource-type {
    float: right;
    background: var(--mist);
    padding: 5px 8px;
    font-weight: 800;
    font-size: 10px
}

.contact-page-hero {
    min-height: 540px;
    display: flex;
    align-items: flex-start;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .82) 31%, rgba(255, 255, 255, .22) 58%, rgba(255, 255, 255, .06) 100%),
        var(--hero) center center/cover no-repeat;
    color: var(--navy)
}

.contact-page-hero .hero-shade {
    display: none
}

.contact-page-hero .hero-content {
    padding: 90px 0 0;
    max-width: 430px;
    width: min(var(--container), calc(100% - 48px));
    margin: 0 auto
}

.contact-page-hero .eyebrow {
    display: none
}

.contact-page-hero h1 {
    font: 400 60px/1.02 var(--serif);
    letter-spacing: 0;
    color: var(--navy);
    max-width: 370px;
    margin-bottom: 18px
}

.contact-page-hero h1::after {
    content: "";
    display: block;
    width: 66px;
    height: 3px;
    margin-top: 22px;
    background: var(--cyan)
}

.contact-page-hero p {
    max-width: 360px;
    color: #173b5b;
    font-size: 15px;
    line-height: 1.65
}

.contact-section {
    padding: 0 0 72px;
    background: linear-gradient(180deg, #fff 0%, #fbfdfe 100%)
}

.contact-grid {
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    gap: 70px;
    align-items: start;
    padding-top: 72px
}

.contact-details h2,
.contact-form h2,
.contact-title h2,
.contact-office-copy strong {
    font: 400 31px/1.08 var(--serif);
    letter-spacing: 0;
    color: var(--navy);
    margin: 0 0 28px
}

.contact-lines {
    display: grid;
    gap: 28px
}

.contact-lines p,
.contact-office-lines p {
    margin: 0;
    color: var(--muted)
}

.contact-lines p {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 18px;
    row-gap: 2px
}

.contact-lines p strong,
.contact-lines p a,
.contact-lines p small,
.contact-lines p>span:not(:first-child),
.contact-office-lines p span {
    grid-column: 2
}

.contact-lines p>span:first-child,
.contact-office-lines svg {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: start
}

.contact-lines p strong,
.contact-office-copy strong {
    font: 700 15px/1.2 var(--sans);
    color: var(--navy)
}

.contact-lines p small,
.contact-office-lines p span {
    font-size: 12px;
    line-height: 1.5
}

.contact-lines svg,
.contact-office-lines svg {
    width: 30px;
    height: 30px;
    color: var(--blue)
}

.contact-form {
    background: #fff;
    padding: 0 0 0 70px;
    border-left: 1px solid var(--line);
}

.contact-form h2 {
    margin-bottom: 18px
}

label {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    font-weight: 700;
    gap: 7px;
    margin-bottom: 18px
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid #d7e0e7;
    border-radius: 3px;
    padding: 15px 16px;
    background: #fff;
    color: var(--ink);
    min-height: 54px
}

select {
    appearance: auto
}

textarea {
    resize: vertical;
    min-height: 145px
}

.form-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px
}

.contact-note {
    font-size: 12px;
    color: var(--muted);
    margin-top: 20px;
    padding-left: 26px;
    position: relative
}

.contact-note::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 13px;
    height: 16px;
    border: 1.8px solid var(--blue);
    border-radius: 2px
}

.contact-services,
.contact-office {
    padding: 35px 0 58px;
    background: #fff
}

.contact-title {
    text-align: center;
    margin-bottom: 34px
}

.contact-title h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 0
}

.contact-title h2::after {
    content: "";
    display: block;
    width: 45px;
    height: 3px;
    margin: 13px auto 0;
    background: var(--cyan)
}

.contact-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    text-align: center
}

.contact-services-grid article {
    padding: 0 34px;
    border-right: 1px solid var(--line)
}

.contact-services-grid article:last-child {
    border-right: 0
}

.contact-services-grid svg {
    width: 54px;
    height: 54px;
    color: var(--blue);
    margin: 0 auto 16px
}

.contact-services-grid h3 {
    font: 700 14px/1.2 var(--sans);
    color: var(--navy);
    margin: 0 0 9px
}

.contact-services-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 14px
}

.contact-office-card {
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.35fr .85fr;
    background: #fff
}

.contact-office-map {
    min-height: 360px;
    background: #edf3f6;
    filter: grayscale(.12) saturate(.75) opacity(.84)
}

.contact-office-copy {
    padding: 48px 34px 34px
}

.contact-office-copy p {
    color: var(--muted);
    margin: 0 0 18px
}

.contact-office-lines {
    border-top: 1px solid var(--line);
    padding-top: 22px;
    display: grid;
    gap: 17px
}

.contact-office-lines p {
    display: flex;
    gap: 12px;
    align-items: flex-start
}

.hp {
    position: absolute;
    left: -9999px
}

.form-success {
    color: #187548;
    font-weight: 700
}

body:has(.contact-page-hero) .cta {
    text-align: left;
    padding: 42px 0;
    background:
        linear-gradient(135deg, rgba(0, 71, 128, .45), rgba(4, 20, 44, .05)),
        var(--navy)
}

body:has(.contact-page-hero) .cta .container {
    display: grid;
    grid-template-columns: 1fr 1.15fr auto;
    gap: 44px;
    align-items: center
}

body:has(.contact-page-hero) .cta .eyebrow {
    display: none
}

body:has(.contact-page-hero) .cta h2 {
    font: 400 34px/1.13 var(--serif);
    letter-spacing: 0;
    margin: 0;
    max-width: 390px
}

body:has(.contact-page-hero) .cta h2::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    margin-top: 20px;
    background: var(--cyan)
}

body:has(.contact-page-hero) .cta .container::before {
    content: "Let’s discuss how we can work together to bring your vision to life.";
    color: rgba(255, 255, 255, .86);
    font-size: 14px;
    max-width: 360px
}

.cta {
    background: var(--navy);
    color: #fff;
    text-align: center;
    padding: 50px 0
}

.cta h2 {
    font: 400 48px var(--serif);
    margin: 0 0 30px
}

.site-footer {
    background: var(--navy);
    color: #dae3e9;
    padding: 28px 0 16px
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 70px
}

.footer-grid-5 {
    grid-template-columns: 1.55fr .9fr 1.15fr .9fr 1.1fr
}

.footer-brand p {
    font-size: 13px;
    color: #dae3e9;
    max-width: 280px
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #dae3e9;
    transition: background .2s ease, color .2s ease
}

.footer-social a:hover {
    background: var(--cyan);
    color: var(--navy)
}

.footer-social svg {
    width: 16px;
    height: 16px
}

.footer-logo {
    width: 178px;
    margin-bottom: 14px;
    background-color: snow;
}

.footer-grid h3 {
    font-size: 11px;
    text-transform: none;
    letter-spacing: 0;
    color: #dae3e9;
    margin: 0 0 10px
}

.footer-grid a {
    display: block;
    margin: 7px 0;
    color: #dae3e9;
    font-size: 12px
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #dae3e9;
    margin: 12px 0
}

.footer-contact svg {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex: none;
    color: var(--cyan)
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    margin-top: 22px;
    padding-top: 14px;
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #dae3e9
}

.footer-attribution {
    margin-left: auto;
    color: #dae3e9;
    font-size: 11px;
}

.footer-attribution a {
    color: #dae3e9;
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.footer-attribution a:hover {
    color: var(--cyan, #38bdf8);
}

.footer-legal a {
    color: #dae3e9;
    margin-left: 18px
}

.footer-legal a:hover {
    color: var(--cyan)
}

.error-page {
    text-align: center;
    padding: 150px 20px
}

.error-page span {
    color: var(--cyan);
    font-weight: 800
}

.error-page h1 {
    font: 400 52px var(--serif);
    color: var(--navy);
    margin: 12px
}

@media(max-width:980px) {
    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px
    }

    /* .menu-toggle span {
        width: 28px;
        height: 2px;
        background: var(--navy)
    } */

    .menu-toggle b {
        position: absolute;
        left: -9999px
    }

    .site-nav {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 30px;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        box-shadow: var(--shadow)
    }

    .site-nav.open {
        display: flex
    }

    .site-nav>a:not(.button) {
        padding: 6px
    }

    .split,
    .contact-grid,
    .project-detail-grid {
        grid-template-columns: 1fr;
        gap: 50px
    }

    .contact-hero-grid,
    .contact-office-card {
        grid-template-columns: 1fr
    }

    .contact-hero-copy {
        padding-right: 0
    }

    .contact-page-hero {
        min-height: 430px;
        background:
            linear-gradient(90deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .78) 50%, rgba(255, 255, 255, .24) 100%),
            var(--hero) center center/cover no-repeat
    }

    .contact-page-hero .hero-content {
        padding-top: 72px
    }

    .contact-page-hero h1 {
        font-size: 50px
    }

    .contact-form {
        border-left: 0;
        padding-left: 0;
        border-top: 1px solid var(--line);
        padding-top: 28px
    }

    body:has(.contact-page-hero) .cta .container {
        grid-template-columns: 1fr;
        gap: 18px
    }

    .split-reverse .section-copy {
        order: 0
    }

    .project-grid,
    .article-grid,
    .resource-grid {
        grid-template-columns: 1fr 1fr
    }

    .hero-home {
        min-height: 600px
    }

    .proof-grid {
        grid-template-columns: 1fr 1fr
    }

    .proof-grid div:nth-child(2) {
        border-right: 0
    }
}

@media(max-width:620px) {
    .container {
        width: min(100% - 30px, var(--container))
    }

    .brand img {
        width: 168px
    }

    .hero,
    .hero-home {
        min-height: 530px
    }

    .hero-content {
        padding: 80px 15px;
        margin: 0
    }

    .hero h1 {
        font-size: 45px
    }

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

    .proof-grid,
    .project-grid,
    .article-grid,
    .resource-grid,
    .footer-grid,
    .form-pair {
        grid-template-columns: 1fr
    }

    .contact-services-grid {
        grid-template-columns: 1fr 1fr;
        row-gap: 28px
    }

    .contact-services-grid article:nth-child(2n) {
        border-right: 0
    }

    .proof-grid div {
        padding: 20px 0;
        border-right: 0;
        border-bottom: 1px solid var(--line)
    }

    .section,
    .listing {
        padding: 75px 0
    }

    .marine-panel,
    .section-media {
        height: 330px
    }

    .contact-section {
        padding-bottom: 45px
    }

    .contact-page-hero {
        min-height: 390px
    }

    .contact-page-hero .hero-content {
        padding: 58px 0 0
    }

    .contact-page-hero h1 {
        font-size: 42px
    }

    .contact-hero-media,
    .contact-office-map {
        height: 280px
    }

    .contact-services-grid {
        grid-template-columns: 1fr
    }

    .contact-services-grid article {
        border-right: 0;
        padding: 0 12px
    }

    .contact-office-copy {
        padding: 28px 22px
    }

    body:has(.contact-page-hero) .cta h2 {
        font-size: 30px
    }

    .cta h2 {
        font-size: 38px
    }

    .project-detail-hero {
        padding: 72px 0 60px
    }

    .project-detail-copy h1 {
        font-size: 40px
    }

    .footer-bottom {
        gap: 15px;
        flex-direction: column
    }
}

/* ======================================================================
   TOPBAR
   ====================================================================== */

.topbar {
    background: var(--navy);
    color: #cfe0ea;
    font-size: 11px
}

.topbar-inner {
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px
}

.topbar-tagline {
    font-weight: 600;
    letter-spacing: .02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.topbar-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    white-space: nowrap
}

.topbar-meta a:hover {
    color: #fff
}

.topbar-divider {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, .22)
}

.locale-switch {
    position: relative
}

.locale-switch summary {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    list-style: none;
    font-weight: 700;
    letter-spacing: .04em
}

.locale-switch summary::-webkit-details-marker {
    display: none
}

.locale-switch[open] summary {
    color: #fff
}

.locale-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    background: #fff;
    color: var(--ink);
    min-width: 120px;
    box-shadow: var(--shadow);
    z-index: 60
}

.locale-menu a {
    display: block;
    padding: 9px 14px;
    font-size: 13px
}

.locale-menu a:hover {
    background: var(--mist);
    color: var(--cyan)
}

/* ======================================================================
   PRIMARY NAV + MEGA MENU
   ====================================================================== */

.site-nav {
    position: static
}

.nav-item {
    position: static;
    display: flex;
    align-items: center
}

.nav-item-simple {
    position: relative
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 26px 0;
    border-bottom: 2px solid transparent
}

.nav-item-simple .nav-caret {
    width: 8px;
    height: 8px;
    margin-left: 2px
}

.nav-simple-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 200px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    z-index: 56
}

.nav-item-simple:hover .nav-simple-menu,
.nav-item-simple:focus-within .nav-simple-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
}

.nav-simple-menu a {
    display: block;
    padding: 12px 16px;
    font-size: 13px;
    color: var(--ink)
}

.nav-simple-menu a:hover,
.nav-simple-menu a.active {
    background: var(--mist);
    color: var(--cyan)
}

.nav-item.has-mega:hover .nav-link,
.nav-link:hover,
.nav-link.active,
.nav-item.mega-open .nav-link {
    color: var(--cyan);
    border-color: var(--cyan)
}

.nav-caret-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 0;
    padding: 4px;
    margin: 0;
    color: inherit;
    cursor: pointer
}

.nav-caret {
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform .2s;
    flex: none
}

.nav-item.mega-open .nav-caret {
    transform: rotate(-135deg) translateY(2px)
}

.mega-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    z-index: 55
}

.nav-item.mega-open .mega-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
}

.mega-inner {
    width: min(var(--container), calc(100% - 48px));
    margin: auto;
    padding: 40px 0 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr) 1.15fr;
    gap: 44px
}

.mega-column h3 {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--navy);
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--cyan);
    display: inline-block
}

.mega-column ul {
    list-style: none;
    margin: 0;
    padding: 0
}

.mega-column li {
    border-bottom: 1px solid var(--line)
}

.mega-column a {
    display: block;
    padding: 13px 0;
    font-size: 14px;
    color: var(--ink)
}

.mega-column a:hover {
    color: var(--cyan)
}

.mega-feature {
    background: var(--mist);
    padding: 26px;
    display: flex;
    flex-direction: column
}

.mega-feature h3 {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 400;
    color: var(--navy);
    margin: 0 0 10px;
    line-height: 1.2
}

.mega-feature p {
    color: var(--muted);
    font-size: 14px;
    margin: 0 0 16px
}

.mega-feature .text-link {
    margin-top: auto
}

.mega-feature-image {
    height: 150px;
    margin: 16px -26px -26px;
    background-size: cover;
    background-position: center
}

.mega-utility {
    margin-top: 32px;
    border-top: 1px solid var(--line)
}

.mega-utility-inner {
    width: min(var(--container), calc(100% - 48px));
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr)
}

.mega-utility-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 24px 30px;
    font-weight: 700;
    font-size: 14px;
    color: var(--navy);
    border-right: 1px solid var(--line)
}

.mega-utility-link:last-child {
    border-right: 0
}

.mega-utility-link:hover {
    color: var(--cyan)
}

.mega-utility-icon {
    width: 22px;
    height: 22px;
    flex: none;
    color: var(--cyan)
}

.mega-utility-link span {
    display: inline-flex;
    align-items: center;
    gap: 8px
}

.mega-utility-arrow {
    font-size: 15px
}

@media(min-width:981px) {
    .nav-item.has-mega:hover .mega-panel {
        opacity: 1;
        visibility: visible;
        transform: translateY(0)
    }
}

@media(max-width:1080px) {
    .mega-inner {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px
    }

    .mega-feature {
        display: none
    }
}

@media(max-width:980px) {
    .topbar-tagline {
        display: block
    }

    .site-nav {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 10px 0 20px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        box-shadow: var(--shadow);
        max-height: calc(100vh - 72px);
        overflow-y: auto
    }

    .site-nav.open {
        display: flex
    }

    .nav-item {
        flex-direction: column;
        align-items: stretch
    }

    .nav-item-simple {
        width: 100%
    }

    .nav-link {
        padding: 15px 4px;
        justify-content: space-between;
        border-bottom: 1px solid var(--line)
    }

    .nav-caret {
        margin-right: 6px
    }

    .nav-simple-menu {
        position: static;
        min-width: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 0;
        border-bottom: 1px solid var(--line);
        display: none
    }

    .nav-item-simple:hover .nav-simple-menu,
    .nav-item-simple:focus-within .nav-simple-menu {
        display: block
    }

    .nav-simple-menu a {
        padding: 12px 20px
    }

    .mega-panel {
        position: static;
        box-shadow: none;
        border-top: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height .25s ease
    }

    .nav-item.mega-open .mega-panel {
        max-height: 2000px
    }

    .mega-inner {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 6px 4px
    }

    .mega-column {
        padding: 14px 0;
        border-bottom: 1px solid var(--line)
    }

    .mega-feature {
        display: none
    }

    .mega-utility {
        margin-top: 0;
        border-top: 0
    }

    .mega-utility-inner {
        grid-template-columns: 1fr;
        padding: 4px
    }

    .mega-utility-link {
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding: 15px 4px
    }

    .site-nav>a.button {
        margin: 18px 4px 0
    }
}

/* ==========================================================================
   Homepage redesign additions — services / portfolio / case study /
   timeline / certifications. Reuses existing tokens (--navy, --cyan, --mist,
   --line, --muted, --shadow) so it stays visually consistent with the rest
   of the site rather than introducing a second palette.
   ========================================================================== */

.section-heading.center {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    text-align: center
}

/* Keep content visible first; animation should never gate layout. */
[data-animate] {
    opacity: 1;
    transform: none
}

/* Services grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 28px
}

.service-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 34px 26px;
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease
}

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

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--mist);
    color: var(--navy);
    margin-bottom: 18px
}

.service-icon svg {
    width: 26px;
    height: 26px
}

.service-card h3 {
    font-size: 17px;
    color: var(--navy);
    margin: 0 0 8px;
    position: relative;
    padding-bottom: 12px
}

.service-card h3:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 32px;
    height: 2px;
    background: var(--cyan)
}

.service-card p {
    color: var(--muted);
    font-size: 14px;
    margin: 0
}

/* Portfolio grid: one large + up to two stacked smaller cards, matching the reference */
.portfolio-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    min-height: 480px
}

.portfolio-card {
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    background: var(--mist) center/cover no-repeat;
    background-image: var(--image, none);
    grid-row: span 1
}

.portfolio-card-lg {
    grid-row: 1 / span 2
}

.portfolio-card:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 29, 53, .85), rgba(7, 29, 53, 0) 55%)
}

.portfolio-card:after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(7, 29, 53, .06);
    transition: background .3s ease
}

.portfolio-card:hover:after {
    background: rgba(7, 29, 53, 0)
}

.portfolio-card:hover {
    box-shadow: var(--shadow)
}

.portfolio-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 22px;
    color: #fff;
    z-index: 1
}

.portfolio-overlay strong {
    display: block;
    font-size: 19px;
    font-family: var(--serif)
}

.portfolio-overlay small {
    color: rgba(255, 255, 255, .8)
}

.portfolio-cta {
    text-align: center;
    margin-top: 40px
}

/* Case study */
.case-study-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 260px;
    gap: 40px;
    align-items: start
}

.case-study-block {
    margin-bottom: 18px
}

.case-study-block h4 {
    color: var(--cyan);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin: 0 0 4px
}

.case-study-block p {
    color: var(--muted);
    margin: 0
}

.case-study-media {
    margin: 0;
    border-radius: 16px;
    overflow: hidden
}

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

.case-study-specs {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px
}

.case-study-specs th,
.case-study-specs td {
    text-align: left;
    padding: 10px 0;
    border-bottom: 1px solid var(--line)
}

.case-study-specs th {
    color: var(--muted);
    font-weight: 400
}

.case-study-specs td {
    color: var(--navy);
    font-weight: 700;
    text-align: right
}

/* Timeline */
.timeline {
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 40px 0 0;
    margin: 0;
    position: relative
}

.timeline:before {
    content: "";
    position: absolute;
    top: 6px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--line)
}

.timeline li {
    flex: 1;
    text-align: center;
    position: relative;
    padding-top: 20px
}

.timeline-dot {
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--cyan);
    border: 3px solid #fff;
    box-shadow: 0 0 0 1px var(--cyan)
}

.timeline strong {
    display: block;
    color: var(--navy);
    font-family: var(--serif);
    font-size: 20px
}

.timeline h4 {
    font-size: 14px;
    margin: 4px 0
}

.timeline p {
    font-size: 13px;
    color: var(--muted)
}

/* Certifications strip */
.certifications-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px
}

.cert-badge {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 10px 22px;
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    background: #fff
}

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

    .portfolio-card-lg {
        grid-row: auto
    }

    .case-study-grid {
        grid-template-columns: 1fr
    }

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

    .timeline:before {
        top: 0;
        bottom: 0;
        left: 6px;
        right: auto;
        width: 2px;
        height: auto
    }

    .timeline li {
        padding-top: 0;
        padding-left: 30px;
        text-align: left;
        margin-bottom: 26px
    }

    .timeline-dot {
        top: 4px;
        left: 0;
        transform: none
    }
}

/* Global presence: abstract dot-grid map with CMS-positioned office pins */
.global-presence-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: center
}

.world-map {
    position: relative;
    height: 340px;
    border-radius: 16px;
    background:
        radial-gradient(circle, var(--line) 1.6px, transparent 1.6px) 0 0/22px 22px,
        var(--mist);
    overflow: hidden
}

.world-map-pin {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--cyan);
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 5px rgba(26, 166, 184, .2)
}

.world-map-pin:before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid var(--cyan);
    animation: pin-pulse 2.4s ease-out infinite
}

@keyframes pin-pulse {
    0% {
        opacity: .8;
        transform: scale(.6)
    }

    100% {
        opacity: 0;
        transform: scale(2.2)
    }
}

/* Careers CTA banner */
.career-cta {
    position: relative;
    min-height: 460px;
    display: flex;
    align-items: center;
    color: #fff;
    background: linear-gradient(90deg, rgba(4, 15, 29, .88), rgba(4, 15, 29, .5)), var(--image, linear-gradient(130deg, #0c4770, #061a30));
    background-size: cover;
    background-position: center
}

.career-cta-inner {
    max-width: 620px
}

.career-cta h2 {
    font: 400 clamp(32px, 4vw, 46px)/1.1 var(--serif);
    margin: 20px 0 18px
}

.career-cta .richtext {
    color: #d9e6ed;
    margin-bottom: 30px
}

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

/* Exact-style single-page homepage */
.home-hero {
    min-height: 430px;
    background:
        linear-gradient(90deg, rgba(244, 249, 252, .98) 0%, rgba(244, 249, 252, .9) 34%, rgba(244, 249, 252, .28) 58%, rgba(244, 249, 252, 0) 82%),
        var(--hero) center right/cover no-repeat;
    border-bottom: 1px solid var(--line)
}

.home-hero-inner {
    min-height: 430px;
    display: flex;
    align-items: center
}

.home-hero-copy {
    width: min(460px, 100%);
    padding: 34px 0 44px
}

.home-hero h1 {
    margin: 0 auto 18px;
    color: var(--mist);
    font: 800 clamp(20px, 2.2vw, 40px)/.96 var(--sans);
    letter-spacing: 0;
    text-align: center;
}

.home-hero p {
    margin: 0;
    max-width: 410px;
    color: #e9e9e9;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 600
}

.home-actions {
    display: flex;
    gap: 14px;
    margin-top: 28px;
    flex-wrap: wrap
}

.home-actions .button,
.home-center .button,
.home-case .button,
.home-career .button {
    min-height: 34px;
    padding: 9px 18px;
    background: var(--navy);
    border-color: var(--navy);
    font-size: 11px;
    letter-spacing: 0;
    text-transform: none;
    font-weight: 800
}

.home-actions .button-outline,
.home-center .button-outline {
    background: #fff;
    color: var(--navy) !important;
    border-color: #7f9ab1
}

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

.home-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 25px 0
}

.home-stats-grid div {
    text-align: center;
    border-right: 1px solid var(--line)
}

.home-stats-grid div:last-child {
    border-right: 0
}

.home-stats strong {
    display: block;
    color: #27486b;
    font: 400 34px/1 var(--sans)
}

.home-stats span {
    display: block;
    margin-top: 5px;
    color: #38536d;
    font-size: 12px;
    font-weight: 700
}

.section-draft {
    position: relative;
    overflow: hidden
}

.section-draft:after {
    content: "";
    position: absolute;
    left: 4%;
    bottom: -42px;
    width: 360px;
    height: 160px;
    opacity: .16;
    /* background: url('../images/ship_design.png') center/contain no-repeat; */
    pointer-events: none
}

.home-about {
    padding: 42px 0 28px;
    background: #fff
}

.home-about-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 70px;
    align-items: center
}

.home-about h2,
.home-title h2,
.home-case h2,
.home-global h2,
.home-career h2 {
    margin: 0;
    color: var(--navy);
    font: 800 28px/1.05 var(--sans);
    letter-spacing: 0
}

.home-about p,
.home-global p,
.home-career p {
    color: #35516d;
    font-size: 15px;
    line-height: 1.55;
    font-weight: 600
}

.home-about figure,
.home-case figure {
    margin: 0;
    overflow: hidden;
    border-radius: 4px
}

.home-about img {
    width: 100%;
    height: 300px;
    object-fit: cover
}

.home-title {
    text-align: center;
    margin-bottom: 22px
}

.home-title h2 {
    display: inline-block;
    position: relative;
    font-size: 20px
}

.home-title h2:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    width: 34px;
    height: 2px;
    background: var(--cyan);
    transform: translateX(-50%)
}

.home-capabilities {
    padding: 34px 0 30px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #fff
}

.home-capability-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px
}

.home-capability-grid article {
    text-align: center;
    padding: 12px 8px
}

.home-capability-grid span {
    display: inline-flex;
    color: var(--navy);
    margin-bottom: 8px
}

.home-capability-grid svg {
    width: 34px;
    height: 34px
}

.home-capability-grid h3 {
    min-height: 38px;
    margin: 0 0 8px;
    color: var(--navy);
    font-size: 13px;
    line-height: 1.15;
    font-weight: 800
}

.home-capability-grid p {
    margin: 0;
    color: #5c7081;
    font-size: 11px;
    line-height: 1.35
}

.home-portfolio {
    padding: 26px 0 34px;
    background: #fff
}

.home-portfolio-grid {
    display: grid;
    grid-template-columns: 1.45fr .85fr;
    grid-template-rows: 176px 176px;
    gap: 4px
}

.home-portfolio-grid a {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    background: var(--image) center/cover no-repeat
}

.home-portfolio-grid a.large {
    grid-row: span 2
}

.home-portfolio-grid a:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(3, 20, 38, .88), rgba(3, 20, 38, 0) 58%)
}

.home-portfolio-grid span {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 15px;
    z-index: 1;
    color: #fff
}

.home-portfolio-grid strong {
    display: block;
    font: 800 21px/1.1 var(--sans)
}

.home-portfolio-grid small {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, .86);
    font-size: 11px
}

.home-center {
    text-align: center;
    margin-top: 18px
}

.home-case {
    padding: 28px 0;
    background: #eff6fa
}

.home-case-grid {
    display: grid;
    grid-template-columns: .8fr 1.15fr .55fr;
    gap: 28px;
    align-items: stretch
}

.home-case .eyebrow {
    margin-bottom: 6px;
    letter-spacing: 0;
    font-size: 11px
}

.home-case h2 {
    margin-bottom: 18px;
    font-size: 26px
}

.home-case h4 {
    margin: 14px 0 3px;
    color: var(--navy);
    font-size: 12px
}

.home-case p {
    margin: 0;
    color: #40586e;
    font-size: 11px;
    line-height: 1.45;
    font-weight: 600
}

.home-case img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover
}

.home-case aside {
    display: flex;
    flex-direction: column
}

.home-case aside p {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 8px 0;
    border-bottom: 1px solid #cbdbe5
}

.home-case aside strong {
    color: var(--navy)
}

.home-case aside .button {
    margin-top: auto
}

.home-timeline {
    padding: 40px 0 30px;
    background: #fff
}

.home-timeline ol {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    list-style: none;
    padding: 22px 0 0;
    margin: 0;
    position: relative
}

.home-timeline ol:before {
    content: "";
    position: absolute;
    left: 5%;
    right: 5%;
    top: 25px;
    height: 2px;
    background: #b9c7d1
}

.home-timeline li {
    position: relative;
    text-align: center;
    padding: 22px 10px 0
}

.home-timeline li span {
    position: absolute;
    top: -2px;
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--cyan);
    transform: translateX(-50%)
}

.home-timeline strong {
    color: var(--navy);
    font-size: 12px
}

.home-timeline h3 {
    margin: 5px 0 4px;
    color: var(--navy);
    font-size: 11px;
    line-height: 1.2
}

.home-timeline p {
    margin: 0;
    color: #5b7082;
    font-size: 10px;
    line-height: 1.3
}

.home-global {
    padding: 34px 0;
    background: #fff
}

.home-global-grid {
    display: grid;
    grid-template-columns: .7fr 1.3fr;
    gap: 34px;
    align-items: center
}

.home-global h2 {
    font-size: 22px
}

.home-map {
    position: relative;
    height: 245px;
    background:
        radial-gradient(ellipse at 23% 45%, #dbe6ee 0 11%, transparent 11.5%),
        radial-gradient(ellipse at 48% 35%, #dbe6ee 0 14%, transparent 14.5%),
        radial-gradient(ellipse at 70% 50%, #dbe6ee 0 19%, transparent 19.5%),
        radial-gradient(ellipse at 86% 68%, #dbe6ee 0 7%, transparent 7.5%)
}

.home-map span {
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--navy);
    box-shadow: 0 0 0 3px #fff
}

.home-credentials {
    padding: 28px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #fff
}

.home-credentials .container>div:last-child {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    align-items: center
}

.home-credentials span {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 16px;
    border-right: 1px solid var(--line);
    color: #496276;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2
}

.home-credentials span:last-child {
    border-right: 0
}

.home-news {
    padding: 80px 0;
    background: #fff;
}

.home-news-title {
    margin-bottom: 40px;
}

.home-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 980px) {
    .home-news-grid {
        grid-template-columns: 1fr;
    }
}

.home-news-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 16px rgba(7, 29, 53, 0.04);
}

.home-news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(7, 29, 53, 0.1);
    border-color: var(--cyan);
}

.home-news-card-media {
    display: block;
    height: 220px;
    width: 100%;
    overflow: hidden;
    background: #edf4f8;
}

.home-news-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.home-news-card-media:hover img {
    transform: scale(1.05);
}

.home-news-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.home-news-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
}

.home-news-card-meta .news-type {
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.home-news-card-meta .news-date {
    color: var(--muted);
    font-weight: 500;
}

.home-news-card-title {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--navy);
    margin: 0 0 12px;
}

.home-news-card-title a {
    color: var(--navy) !important;
    text-decoration: none;
    transition: color 0.2s;
    position: static !important;
}

.home-news-card-title a:hover {
    color: var(--cyan) !important;
}

.home-news-card-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #5a6d80;
    margin: 0 0 24px;
    flex-grow: 1;
}

.home-news-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 800;
    color: var(--navy) !important;
    text-decoration: none;
    transition: color 0.2s;
    position: static !important;
    margin-top: auto;
}

.home-news-card-link:hover {
    color: var(--cyan) !important;
}

.home-news-center-action {
    text-align: center;
    margin-top: 48px;
}

.home-career {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    min-height: 230px;
    background: #eff6fa
}

.home-career-media {
    background: var(--image) center/cover no-repeat
}

.home-career-copy {
    align-self: center;
    max-width: 580px;
    padding: 32px 48px
}

.home-career .eyebrow {
    margin-bottom: 8px;
    letter-spacing: 0
}

.home-career h2 {
    font-size: 29px
}

@media(max-width:980px) {

    .home-capability-grid,
    .home-credentials .container>div:last-child {
        grid-template-columns: repeat(2, 1fr)
    }

    .home-about-grid,
    .home-case-grid,
    .home-global-grid,
    .home-career {
        grid-template-columns: 1fr
    }

    .home-timeline ol {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 22px
    }
}

@media(max-width:620px) {

    .home-hero,
    .home-hero-inner {
        min-height: 560px
    }

    .home-hero {
        background:
            linear-gradient(180deg, rgba(244, 249, 252, .98) 0%, rgba(244, 249, 252, .78) 52%, rgba(244, 249, 252, .15) 100%),
            var(--hero) center bottom/cover no-repeat
    }

    .home-stats-grid,
    .home-capability-grid,
    .home-news-grid,
    .home-credentials .container>div:last-child {
        grid-template-columns: 1fr
    }

    .home-stats-grid div,
    .home-credentials span {
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding: 14px 0
    }

    .home-portfolio-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 220px)
    }

    .home-portfolio-grid a.large {
        grid-row: auto
    }

    .home-timeline ol {
        grid-template-columns: 1fr
    }
}

/* About page exact-style layout */
.about-hero,
.about-intro,
.about-journey,
.about-strengths,
.about-values,
.about-global,
.about-cta {
    background: #fff
}

.about-hero {
    padding: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line)
}

.about-hero-grid {
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    align-items: stretch
}

.about-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 470px;
    padding: 56px 52px 56px 32px
}

.about-hero .eyebrow {
    margin-bottom: 16px;
    font-size: 12px;
    letter-spacing: 0;
    color: #173d73
}

.about-hero h1,
.about-intro h2,
.about-title h2,
.about-values h2,
.about-global h2,
.about-cta h2 {
    margin: 0;
    color: #1c3760;
    font: 400 clamp(34px, 4.4vw, 64px)/1.06 var(--serif);
    letter-spacing: 0
}

.about-hero p,
.about-intro p,
.about-values p,
.about-global p,
.about-cta p {
    color: #2f455d;
    font-size: 16px;
    line-height: 1.7
}

.about-hero figure,
.about-values figure {
    margin: 0
}

.about-hero img {
    width: 100%;
    height: 100%;
    min-height: 470px;
    object-fit: cover
}

.about-intro {
    padding: 38px 0 28px
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr .86fr;
    gap: 42px;
    align-items: start
}

.about-intro h2 {
    font-size: clamp(28px, 3vw, 52px)
}

.about-intro blockquote {
    margin: 18px 0 0;
    padding: 8px 0 0 36px;
    border-left: 1px solid #d3dde7
}

.about-intro blockquote span {
    display: block;
    margin-bottom: 12px;
    color: #5ac3ff;
    font: 400 54px/1 var(--serif)
}

.about-intro blockquote p {
    margin: 0;
    color: #1f3a5f;
    font: 400 23px/1.5 var(--serif)
}

.about-title {
    text-align: center;
    margin-bottom: 16px
}

.about-title h2 {
    display: inline-block;
    position: relative;
    font-size: 28px
}

.about-title h2:after,
.about-values h2:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -12px;
    width: 38px;
    height: 2px;
    background: #65c8ff;
    transform: translateX(-50%)
}

.about-journey {
    padding: 22px 0 0
}

.about-journey-line {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
    padding: 44px 0 30px;
    margin: 0;
    position: relative
}

.about-journey-line:before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 22px;
    height: 1px;
    background: #c9d8e5
}

.about-journey-line li {
    position: relative;
    padding-top: 14px;
    text-align: left
}

.about-journey-line li span {
    position: absolute;
    top: -6px;
    left: 0;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #63c9ff;
    box-shadow: 0 0 0 4px #fff
}

.about-journey-line strong {
    display: block;
    color: #253b5b;
    font-size: 14px
}

.about-journey-line h3 {
    margin: 8px 0 8px;
    color: #20385a;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700
}

.about-journey-line p {
    margin: 0;
    color: #40576d;
    font-size: 13px;
    line-height: 1.55
}

.about-stats {
    background: linear-gradient(90deg, #123f85 0%, #0b2f6b 100%);
    color: #fff
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr)
}

.about-stats-grid div {
    padding: 30px 26px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, .18)
}

.about-stats-grid div:last-child {
    border-right: 0
}

.about-stats strong {
    display: block;
    color: #fff;
    font: 400 54px/1 var(--serif)
}

.about-stats span {
    display: block;
    margin-top: 12px;
    color: rgba(255, 255, 255, .92);
    font-size: 15px;
    line-height: 1.35
}

.about-strengths {
    padding: 36px 0 28px
}

.about-strength-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0
}

.about-strength-grid article {
    text-align: center;
    padding: 26px 24px 20px;
    border-right: 1px solid var(--line)
}

.about-strength-grid article:last-child {
    border-right: 0
}

.about-strength-grid span {
    display: inline-flex;
    color: #1b3761;
    margin-bottom: 18px
}

.about-strength-grid svg {
    width: 48px;
    height: 48px
}

.about-strength-grid h3 {
    margin: 0 0 10px;
    color: #20395e;
    font: 400 24px/1.2 var(--serif)
}

.about-strength-grid p {
    margin: 0 auto;
    max-width: 280px;
    color: #4d6277;
    font-size: 13px;
    line-height: 1.55
}

.about-values {
    padding: 0;
    border-top: 1px solid var(--line)
}

.about-values-grid {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    align-items: stretch
}

.about-values img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover
}

.about-values-copy {
    padding: 36px 32px 30px
}

.about-values h2 {
    position: relative;
    font-size: 28px;
    margin-bottom: 36px
}

.about-values h2:after {
    left: 18px;
    transform: none
}

.about-value-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-bottom: 26px
}

.about-value-list span {
    padding: 0 14px;
    border-right: 1px solid var(--line);
    color: #1f3a60;
    font: 400 17px/1.35 var(--serif)
}

.about-value-list span:first-child {
    padding-left: 0
}

.about-value-list span:last-child {
    border-right: 0
}

.about-global {
    padding: 80px 0;
    background: #f8fafc;
}

.about-global-grid {
    display: grid;
    grid-template-columns: .62fr 1.38fr;
    gap: 30px;
    align-items: center
}

.about-global h2 {
    font-size: 28px;
    margin-bottom: 18px
}

.home-map-container {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(7, 29, 53, 0.05);
}

.about-world-map {
    min-height: 360px;
    width: 100%;
    background: #ffffff;
    border-radius: 12px;
}

.about-world-map .jvm-container {
    background: transparent !important
}

.about-world-map .jvm-region {
    fill: #eef4f8 !important;
    stroke: #fff !important;
    stroke-width: 1px
}

.about-world-map .jvm-marker {
    stroke: #fff !important;
    stroke-width: 4px
}

.about-cta {
    padding: 0 0 28px
}

.about-cta-inner {
    /* text-align: center; */
    background: linear-gradient(180deg, #f8fbfd 0%, #eef5fb 100%);
    padding: 34px 24px 30px;
    border: 1px solid #e2ebf2
}

.about-cta h2 {
    font-size: 28px
}

.about-cta p {
    margin: 8px 0 16px
}

.about-cta-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap
}

/* .about-cta .button {
    min-height: 42px;
    padding: 11px 24px;
    background: #113f84;
    border-color: #113f84;
    text-transform: none;
    letter-spacing: 0
} */

.about-cta .text-link {
    margin: 0;
    color: #1b3964;
    text-transform: none;
    letter-spacing: 0;
    font-size: 15px
}

@media(max-width:980px) {

    .about-hero-grid,
    .about-intro-grid,
    .about-values-grid,
    .about-global-grid {
        grid-template-columns: 1fr
    }

    .about-journey-line,
    .about-stats-grid,
    .about-strength-grid,
    .about-value-list {
        grid-template-columns: repeat(2, 1fr)
    }

    .about-strength-grid article:nth-child(2) {
        border-right: 0
    }
}

@media(max-width:620px) {

    .about-hero-copy,
    .about-values-copy {
        padding: 30px 22px
    }

    .about-hero img,
    .about-values img {
        min-height: 260px
    }

    .about-journey-line,
    .about-stats-grid,
    .about-strength-grid,
    .about-value-list {
        grid-template-columns: 1fr
    }

    .about-stats-grid div,
    .about-strength-grid article,
    .about-value-list span {
        border-right: 0;
        border-bottom: 1px solid var(--line)
    }

    .about-intro blockquote {
        padding-left: 22px
    }

    .about-world-map {
        min-height: 280px
    }
}

/* Services page exact-style layout */
.services-hero,
.services-intro,
.services-process,
.services-feature,
.services-cta {
    background: #fff
}

.services-hero {
    padding: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line)
}

.services-hero-grid {
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    align-items: stretch
}

.services-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 405px;
    padding: 46px 48px 46px 26px
}

.services-hero .eyebrow {
    margin-bottom: 14px;
    font-size: 12px;
    letter-spacing: 0;
    color: #173d73
}

.services-hero h1,
.services-title h2,
.services-feature h2,
.services-cta h2 {
    margin: 0;
    color: #1c3760;
    font: 400 clamp(34px, 4.2vw, 58px)/1.08 var(--serif);
    letter-spacing: 0
}

.services-hero p,
.services-title p,
.service-row-copy p,
.services-process p,
.services-feature p {
    color: #334a63;
    font-size: 15px;
    line-height: 1.65
}

.services-hero figure,
.service-row figure,
.services-feature figure {
    margin: 0
}

.services-hero img {
    width: 100%;
    height: 100%;
    min-height: 405px;
    object-fit: cover
}

.services-intro {
    padding: 18px 0 10px
}

.services-title {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 24px
}

.services-title h2 {
    display: inline-block;
    position: relative;
    font-size: 24px
}

.services-title h2:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    width: 38px;
    height: 2px;
    background: #65c8ff;
    transform: translateX(-50%)
}

.services-title p {
    margin: 14px auto 0;
    max-width: 760px;
    font-size: 12px
}

.services-stack {
    display: grid;
    gap: 14px
}

.service-row {
    display: grid;
    grid-template-columns: .98fr 1.02fr;
    align-items: center;
    gap: 18px;
    padding: 2px 0
}

.service-row-reverse figure {
    order: 2
}

.service-row figure img {
    width: 100%;
    height: 190px;
    object-fit: cover
}

.service-row-copy {
    padding: 0 14px
}

.service-row-num {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #29405e;
    font-size: 20px;
    font-family: var(--serif)
}

.service-row-num:after {
    content: "";
    width: 28px;
    height: 1px;
    background: #70c8f5
}

.service-row h3 {
    margin: 10px 0 8px;
    color: #17355d;
    font: 400 21px/1.25 var(--serif)
}

.service-row p {
    margin: 0 0 12px;
    max-width: 310px;
    font-size: 13px
}

.service-row a {
    color: #1b4d89;
    font-size: 12px;
    font-weight: 700
}

.service-row a span {
    margin-left: 8px
}

.services-band {
    background: linear-gradient(90deg, #123f85 0%, #0b2f6b 100%);
    color: #fff;
    margin-top: 8px
}

.services-band-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr)
}

.services-band-grid div {
    position: relative;
    padding: 24px 18px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, .22)
}

.services-band-grid div:last-child {
    border-right: 0
}

.services-band-grid span {
    display: inline-block;
    color: #fff;
    font-size: 15px;
    line-height: 1.3
}

.services-process {
    padding: 24px 0 18px
}

.services-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px
}

.services-process-grid article {
    text-align: center;
    padding: 4px 12px
}

.services-process-grid span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #1c4175;
    /* font: 400 16px/1 var(--serif) */
}

.services-process-grid span:after {
    content: "";
    width: 24px;
    height: 1px;
    background: #67caf8
}

.services-process-grid h3 {
    margin: 8px 0 6px;
    color: #1b375e;
    font-size: 13px
}

.services-process-grid p {
    margin: 0;
    color: #4a6076;
    font-size: 11px;
    line-height: 1.45
}

.services-feature {
    padding: 8px 0 14px
}

.services-feature-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 0;
    align-items: stretch
}

.services-feature img {
    width: 100%;
    height: 100%;
    min-height: 215px;
    object-fit: cover
}

.services-feature-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 22px 28px;
    background: #fff
}

.services-feature h2 {
    font-size: 23px;
    max-width: 260px
}

.services-feature p {
    max-width: 330px;
    margin: 10px 0 18px;
    font-size: 12px
}

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

.services-feature .button,
.services-cta .button {
    min-height: 36px;
    padding: 10px 18px;
    background: #113f84;
    border-color: #113f84;
    text-transform: none;
    letter-spacing: 0;
    font-size: 12px
}

.services-feature .button-outline,
.services-cta .button-outline {
    background: #fff;
    color: #113f84 !important;
    border-color: #c8d7e5
}

.services-cta {
    padding: 8px 0 22px
}

.services-cta-inner {
    text-align: center
}

.services-cta h2 {
    font-size: 24px;
    margin-bottom: 12px
}

@media(max-width:980px) {

    .services-hero-grid,
    .service-row,
    .services-feature-grid {
        grid-template-columns: 1fr
    }

    .service-row-reverse figure {
        order: 0
    }

    .services-band-grid,
    .services-process-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:620px) {

    .services-hero-copy,
    .services-feature-copy {
        padding: 28px 22px
    }

    .services-hero img,
    .service-row figure img,
    .services-feature img {
        min-height: 240px;
        height: 240px
    }

    .services-band-grid,
    .services-process-grid {
        grid-template-columns: 1fr
    }

    .services-band-grid div {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .22)
    }
}

/* Ship design page exact-style layout */
.shipdesign-hero,
.shipdesign-intro,
.shipdesign-capabilities,
.shipdesign-journey,
.shipdesign-types,
.shipdesign-feature,
.shipdesign-cta {
    background: #fff
}

.shipdesign-hero {
    padding: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line)
}

.shipdesign-hero-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    align-items: stretch
}

.shipdesign-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 390px;
    padding: 42px 44px 42px 24px
}

.shipdesign-hero .eyebrow {
    margin-bottom: 12px;
    font-size: 12px;
    letter-spacing: 0;
    color: #173d73
}

.shipdesign-hero h1,
.shipdesign-title h2,
.shipdesign-feature h2,
.shipdesign-cta h2 {
    margin: 0;
    color: #1c3760;
    font: 400 clamp(34px, 4vw, 56px)/1.08 var(--serif);
    letter-spacing: 0
}

.shipdesign-hero p,
.shipdesign-title p,
.shipdesign-process-copy p,
.shipdesign-cap-copy p,
.shipdesign-journey p,
.shipdesign-feature p {
    color: #334a63;
    font-size: 14px;
    line-height: 1.65
}

.shipdesign-hero figure,
.shipdesign-process-grid figure,
.shipdesign-cap-grid figure,
.shipdesign-types-grid article,
.shipdesign-feature figure {
    margin: 0
}

.shipdesign-hero img {
    width: 100%;
    height: 100%;
    min-height: 390px;
    object-fit: cover
}

.shipdesign-intro {
    padding: 18px 0 0
}

.shipdesign-title {
    text-align: center;
    max-width: 840px;
    margin: 0 auto 22px
}

.shipdesign-title h2 {
    display: inline-block;
    position: relative;
    font-size: 24px
}

.shipdesign-title h2:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    width: 38px;
    height: 2px;
    background: #65c8ff;
    transform: translateX(-50%)
}

.shipdesign-title p {
    margin: 14px auto 0;
    max-width: 720px;
    font-size: 12px
}

.shipdesign-process-grid {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 26px;
    align-items: center
}

.shipdesign-process-grid img {
    width: 100%;
    height: 300px;
    object-fit: cover
}

.shipdesign-process-copy h3 {
    margin: 0 0 16px;
    color: #1b375e;
    font: 400 22px/1.2 var(--serif)
}

.shipdesign-process-copy article {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid #e1eaf1
}

.shipdesign-process-copy article:last-child {
    border-bottom: 0
}

.shipdesign-process-copy span {
    color: #1c4175;
    font: 400 18px/1 var(--serif)
}

.shipdesign-process-copy h4 {
    margin: 0 0 4px;
    color: #1b375e;
    font-size: 14px
}

.shipdesign-process-copy p {
    margin: 0;
    font-size: 12px
}

.shipdesign-band {
    background: linear-gradient(90deg, #123f85 0%, #0b2f6b 100%);
    color: #fff;
    margin-top: 14px
}

.shipdesign-band-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr)
}

.shipdesign-band-grid div {
    padding: 24px 18px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, .22)
}

.shipdesign-band-grid div:last-child {
    border-right: 0
}

.shipdesign-band strong {
    display: block;
    min-height: 34px;
    color: #fff;
    font: 400 34px/1 var(--serif)
}

.shipdesign-band span {
    display: block;
    color: rgba(255, 255, 255, .94);
    font-size: 14px;
    line-height: 1.35
}

.shipdesign-capabilities {
    padding: 24px 0 10px
}

.shipdesign-cap-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0
}

.shipdesign-cap-grid article {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    align-items: stretch;
    min-height: 160px;
    border-top: 1px solid var(--line)
}

.shipdesign-cap-copy {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 28px 18px
}

.shipdesign-cap-copy span {
    display: inline-flex;
    color: #1b3761;
    flex: none
}

.shipdesign-cap-copy svg {
    width: 42px;
    height: 42px
}

.shipdesign-cap-copy h3 {
    margin: 0 0 8px;
    color: #1f395f;
    font: 400 22px/1.2 var(--serif)
}

.shipdesign-cap-copy p {
    margin: 0;
    font-size: 12px
}

.shipdesign-cap-grid img {
    width: 100%;
    height: 100%;
    min-height: 160px;
    object-fit: cover
}

.shipdesign-journey {
    padding: 12px 0 18px
}

.shipdesign-journey-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    position: relative;
    padding-top: 28px
}

.shipdesign-journey-grid:before {
    content: "";
    position: absolute;
    left: 4%;
    right: 4%;
    top: 12px;
    height: 1px;
    background: #d3dfea
}

.shipdesign-journey-grid article {
    position: relative;
    text-align: center;
    padding: 6px 10px 0
}

.shipdesign-journey-grid article:before {
    content: "";
    position: absolute;
    top: -1px;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #63c9ff;
    transform: translateX(-50%)
}

.shipdesign-journey-grid span {
    color: #1c4175;
    font: 400 14px/1 var(--serif)
}

.shipdesign-journey-grid h3 {
    margin: 8px 0 6px;
    color: #1b375e;
    font-size: 13px
}

.shipdesign-journey-grid p {
    margin: 0;
    color: #4a6076;
    font-size: 11px;
    line-height: 1.45
}

.shipdesign-types {
    padding: 6px 0 12px
}

.shipdesign-types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0
}

.shipdesign-types-grid article {
    position: relative
}

.shipdesign-types-grid img {
    width: 100%;
    height: 180px;
    object-fit: cover
}

.shipdesign-types-grid span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    text-align: center;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .35)
}

.shipdesign-feature {
    padding: 0 0 14px
}

.shipdesign-feature-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 0;
    border: 1px solid var(--line)
}

.shipdesign-feature img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover
}

.shipdesign-feature-copy {
    padding: 22px 24px;
    background: #fff
}

.shipdesign-feature-copy small {
    display: inline-block;
    color: #1b4d89;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase
}

.shipdesign-feature h2 {
    font-size: 28px;
    margin-top: 8px
}

.shipdesign-feature p {
    margin: 10px 0 18px;
    max-width: 340px;
    font-size: 12px
}

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

.shipdesign-feature .button,
.shipdesign-cta .button {
    min-height: 36px;
    padding: 10px 18px;
    background: #113f84;
    border-color: #113f84;
    text-transform: none;
    letter-spacing: 0;
    font-size: 12px
}

.shipdesign-feature .button-outline,
.shipdesign-cta .button-outline {
    background: #fff;
    color: #113f84 !important;
    border-color: #c8d7e5
}

.shipdesign-cta {
    padding: 6px 0 22px
}

.shipdesign-cta-inner {
    text-align: center
}

.shipdesign-cta h2 {
    font-size: 26px;
    margin-bottom: 12px
}

@media(max-width:980px) {

    .shipdesign-hero-grid,
    .shipdesign-process-grid,
    .shipdesign-feature-grid {
        grid-template-columns: 1fr
    }

    .shipdesign-cap-grid,
    .shipdesign-journey-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:620px) {

    .shipdesign-hero-copy,
    .shipdesign-feature-copy,
    .shipdesign-cap-copy {
        padding: 24px 20px
    }

    .shipdesign-hero img,
    .shipdesign-process-grid img,
    .shipdesign-cap-grid article,
    .shipdesign-cap-grid img,
    .shipdesign-types-grid img,
    .shipdesign-feature img {
        min-height: 220px;
        height: 220px
    }

    .shipdesign-band-grid,
    .shipdesign-cap-grid,
    .shipdesign-journey-grid,
    .shipdesign-types-grid {
        grid-template-columns: 1fr
    }

    .shipdesign-band-grid div {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .22)
    }

    .shipdesign-cap-grid article {
        grid-template-columns: 1fr
    }
}

/* Projects page exact-style layout */
.projects-hero,
.projects-portfolio {
    background: #fff
}

.projects-hero {
    padding: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line)
}

.projects-hero-grid {
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    align-items: stretch
}

.projects-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 420px;
    padding: 48px 44px 48px 26px
}

.projects-hero .eyebrow {
    margin-bottom: 14px;
    font-size: 12px;
    letter-spacing: 0;
    color: #173d73
}

.projects-hero h1,
.projects-title h2 {
    margin: 0;
    color: #1c3760;
    font: 400 clamp(34px, 4vw, 58px)/1.08 var(--serif);
    letter-spacing: 0
}

.projects-hero p,
.projects-title p,
.projects-card p {
    color: #334a63;
    font-size: 14px;
    line-height: 1.65
}

.projects-hero figure {
    margin: 0
}

.projects-hero img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover
}

.projects-portfolio {
    padding: 18px 0 24px
}

.projects-title {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 24px
}

.projects-title h2 {
    display: inline-block;
    position: relative;
    font-size: 26px
}

.projects-title h2:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    width: 38px;
    height: 2px;
    background: #65c8ff;
    transform: translateX(-50%)
}

.projects-title p {
    margin: 14px auto 0;
    max-width: 640px;
    font-size: 12px
}

.projects-filters {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    padding-bottom: 10px;
    /* border-bottom: 1px solid var(--line) */
}

.projects-filters button {
    background: none;
    border: 0;
    padding: 0 0 8px;
    color: #576d81;
    font-size: 12px;
    cursor: pointer
}

.projects-filters button.active {
    color: #1b4d89;
    border-bottom: 2px solid #65c8ff
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px 22px
}

.projects-card {
    position: relative
}

.projects-card-image {
    display: block;
    height: 245px;
    margin-bottom: 12px;
    background: var(--image) center/cover no-repeat
}

.projects-card small {
    display: block;
    color: #6d7f92;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em
}

.projects-card h3 {
    margin: 6px 0 8px;
    color: #1c3760;
    font: 400 18px/1.25 var(--serif)
}

.projects-card p {
    margin: 0 28px 18px 0;
    font-size: 12px
}

.projects-card-link {
    color: #1b4d89;
    font-size: 18px;
    font-weight: 700
}

@media(max-width:980px) {

    .projects-hero-grid,
    .projects-grid {
        grid-template-columns: 1fr
    }
}

@media(max-width:620px) {
    .projects-hero-copy {
        padding: 28px 22px
    }

    .projects-hero img,
    .projects-card-image {
        min-height: 220px;
        height: 220px
    }
}

/* Landing crafts page exact-style layout */
.landing-hero,
.landing-intro,
.landing-designs,
.landing-engineering,
.landing-feature,
.landing-cta {
    background: #fff
}

.landing-hero {
    padding: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line)
}

.landing-hero-grid {
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    align-items: stretch
}

.landing-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 405px;
    padding: 44px 42px 44px 24px
}

.landing-hero .eyebrow {
    margin-bottom: 12px;
    font-size: 12px;
    letter-spacing: 0;
    color: #173d73
}

.landing-hero h1,
.landing-title h2,
.landing-feature h2,
.landing-cta h2 {
    margin: 0;
    color: #1c3760;
    font: 400 clamp(34px, 4vw, 56px)/1.08 var(--serif);
    letter-spacing: 0
}

.landing-hero p,
.landing-intro-copy p,
.landing-highlight-grid p,
.landing-design-copy p,
.landing-engineering-copy p,
.landing-feature p,
.landing-cta p {
    color: #334a63;
    font-size: 14px;
    line-height: 1.65
}

.landing-hero figure,
.landing-blueprint,
.landing-design-row figure,
.landing-engineering-grid figure,
.landing-feature figure {
    margin: 0
}

.landing-hero img {
    width: 100%;
    height: 100%;
    min-height: 405px;
    object-fit: cover
}

.landing-intro {
    padding: 18px 0 20px
}

.landing-title {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 20px
}

.landing-title h2 {
    display: inline-block;
    position: relative;
    font-size: 25px
}

.landing-title h2:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    width: 38px;
    height: 2px;
    background: #65c8ff;
    transform: translateX(-50%)
}

.landing-intro-grid {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 24px;
    align-items: center;
    margin-bottom: 20px
}

.landing-intro-copy {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px
}

.landing-blueprint img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    opacity: .92
}

.landing-highlight-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px
}

.landing-highlight-grid article {
    background: #f5f9fc;
    text-align: center;
    padding: 24px 16px 20px
}

.landing-highlight-grid span {
    display: inline-flex;
    color: #1b3761;
    margin-bottom: 12px
}

.landing-highlight-grid svg {
    width: 38px;
    height: 38px
}

.landing-highlight-grid h3 {
    margin: 0 0 8px;
    color: #1e395d;
    font: 400 18px/1.25 var(--serif)
}

.landing-highlight-grid p {
    margin: 0;
    font-size: 12px
}

.landing-designs {
    padding: 10px 0 18px
}

.landing-design-stack {
    display: grid;
    gap: 18px
}

.landing-design-row {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 18px;
    align-items: center
}

.landing-design-reverse figure {
    order: 2
}

.landing-design-row img {
    width: 100%;
    height: 220px;
    object-fit: cover
}

.landing-design-copy small,
.landing-feature-copy small {
    display: inline-block;
    color: #1b4d89;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase
}

.landing-design-copy h3 {
    margin: 8px 0 10px;
    color: #1c3760;
    font: 400 18px/1.25 var(--serif)
}

.landing-design-copy p {
    margin: 0 0 14px;
    font-size: 12px
}

.landing-design-copy a {
    color: #1b4d89;
    font-size: 18px;
    font-weight: 700
}

.landing-band {
    background: linear-gradient(90deg, #123f85 0%, #0b2f6b 100%);
    color: #fff
}

.landing-band-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr)
}

.landing-band-grid div {
    padding: 22px 18px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, .22)
}

.landing-band-grid div:last-child {
    border-right: 0
}

.landing-band-grid span {
    display: block;
    color: #fff;
    font-size: 16px;
    line-height: 1.35
}

.landing-engineering {
    padding: 18px 0 14px
}

.landing-engineering-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: start
}

.landing-engineering-grid img {
    width: 100%;
    height: 270px;
    object-fit: cover
}

.landing-engineering-copy article {
    padding: 10px 0;
    border-bottom: 1px solid var(--line)
}

.landing-engineering-copy article:last-child {
    border-bottom: 0
}

.landing-engineering-copy h3 {
    margin: 0 0 5px;
    color: #1c3760;
    font-size: 15px
}

.landing-engineering-copy p {
    margin: 0;
    font-size: 12px
}

.landing-feature {
    padding: 8px 0 14px
}

.landing-feature-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 0;
    background: #f6fbff;
    border: 1px solid #e2ebf2
}

.landing-feature img {
    width: 100%;
    height: 100%;
    min-height: 250px;
    object-fit: cover
}

.landing-feature-copy {
    padding: 22px 24px
}

.landing-feature h2 {
    font-size: 30px;
    margin-top: 8px
}

.landing-feature p {
    margin: 10px 0 16px;
    font-size: 12px
}

.landing-feature-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px
}

.landing-feature-meta span {
    color: #1d3a63;
    font-size: 12px;
    line-height: 1.35
}

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

.landing-feature .button,
.landing-cta .button {
    min-height: 36px;
    padding: 10px 18px;
    background: #113f84;
    border-color: #113f84;
    text-transform: none;
    letter-spacing: 0;
    font-size: 12px
}

.landing-feature .button-outline,
.landing-cta .button-outline {
    background: #fff;
    color: #113f84 !important;
    border-color: #c8d7e5
}

.landing-cta {
    padding: 6px 0 22px
}

.landing-cta-inner {
    text-align: center;
    background: #f7fbfe;
    padding: 24px
}

.landing-cta h2 {
    font-size: 28px;
    margin-bottom: 6px
}

.landing-cta p {
    margin: 0 0 14px;
    font-size: 13px
}

@media(max-width:980px) {

    .landing-hero-grid,
    .landing-intro-grid,
    .landing-design-row,
    .landing-engineering-grid,
    .landing-feature-grid {
        grid-template-columns: 1fr
    }

    .landing-intro-copy,
    .landing-highlight-grid,
    .landing-band-grid,
    .landing-feature-meta {
        grid-template-columns: repeat(2, 1fr)
    }

    .landing-design-reverse figure {
        order: 0
    }
}

@media(max-width:620px) {

    .landing-hero-copy,
    .landing-feature-copy {
        padding: 26px 20px
    }

    .landing-hero img,
    .landing-design-row img,
    .landing-engineering-grid img,
    .landing-feature img {
        min-height: 220px;
        height: 220px
    }

    .landing-intro-copy,
    .landing-highlight-grid,
    .landing-band-grid,
    .landing-feature-meta {
        grid-template-columns: 1fr
    }

    .landing-band-grid div {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .22)
    }
}

/* Leadership page exact-style layout */
.leadership-hero,
.leadership-founder,
.leadership-values,
.leadership-team,
.leadership-band,
.leadership-cta {
    background: #fff
}

.leadership-hero {
    padding: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line)
}

.leadership-hero-grid {
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    align-items: stretch
}

.leadership-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 405px;
    padding: 44px 42px 44px 24px
}

.leadership-hero .eyebrow {
    margin-bottom: 12px;
    font-size: 12px;
    letter-spacing: 0;
    color: #173d73
}

.leadership-hero h1,
.leadership-founder h2,
.leadership-title h2,
.leadership-band h2,
.leadership-cta h2 {
    margin: 0;
    color: #1c3760;
    font: 400 clamp(34px, 4vw, 56px)/1.08 var(--serif);
    letter-spacing: 0
}

.leadership-hero p,
.leadership-founder p,
.leadership-values p,
.leadership-band p {
    color: #334a63;
    font-size: 14px;
    line-height: 1.65
}

.leadership-hero figure,
.leadership-founder-photo,
.leadership-team-grid article {
    margin: 0
}

.leadership-hero img {
    width: 100%;
    height: 100%;
    min-height: 405px;
    object-fit: cover;
    object-position: center top
}

.leadership-founder {
    padding: 18px 0 22px
}

.leadership-founder-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 28px;
    align-items: start
}

.leadership-founder-photo img {
    width: 100%;
    height: 420px;
    object-fit: contain;
    object-position: center top;
    background: #f4f7fa
}

.leadership-founder-copy small {
    display: inline-block;
    color: #1b4d89;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 10px
}

.leadership-founder h2 {
    font-size: 28px;
    margin-bottom: 14px
}

.leadership-founder blockquote {
    margin: 14px 0 0;
    padding-left: 24px;
    border-left: 1px solid var(--line)
}

.leadership-founder blockquote span {
    display: block;
    color: #54c3ff;
    font: 400 48px/1 var(--serif)
}

.leadership-founder blockquote p {
    margin: 0;
    color: #1c3760;
    font: 400 22px/1.5 var(--serif)
}

.leadership-title {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 20px
}

.leadership-title h2 {
    display: inline-block;
    position: relative;
    font-size: 26px
}

.leadership-title h2:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    width: 38px;
    height: 2px;
    background: #65c8ff;
    transform: translateX(-50%)
}

.leadership-values {
    padding: 10px 0 18px
}

.leadership-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0
}

.leadership-values-grid article {
    text-align: center;
    padding: 24px 22px 18px;
    border-right: 1px solid var(--line)
}

.leadership-values-grid article:last-child {
    border-right: 0
}

.leadership-values-grid span {
    display: inline-flex;
    color: #1b3761;
    margin-bottom: 12px
}

.leadership-values-grid svg {
    width: 42px;
    height: 42px
}

.leadership-values-grid h3 {
    margin: 0 0 8px;
    color: #1e395d;
    font: 400 20px/1.25 var(--serif)
}

.leadership-values-grid p {
    margin: 0;
    font-size: 12px
}

.leadership-team {
    padding: 8px 0 18px
}

.leadership-team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px
}

.leadership-team-grid img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    object-position: center top;
    background: #f4f7fa
}

.leadership-team-grid h3 {
    margin: 10px 0 0;
    text-align: center;
    color: #1c3760;
    font: 400 17px/1.25 var(--serif)
}

.leadership-band {
    background: linear-gradient(90deg, #123f85 0%, #0b2f6b 100%);
    color: #fff;
    text-align: center;
    padding: 26px 0
}

.leadership-band h2,
.leadership-band p {
    color: #fff
}

.leadership-band h2 {
    font-size: 28px;
    margin-bottom: 8px
}

.leadership-band p {
    margin: 0 auto;
    max-width: 760px;
    font-size: 13px
}

.leadership-cta {
    padding: 18px 0 24px
}

.leadership-cta-inner {
    text-align: center
}

.leadership-cta h2 {
    font-size: 28px;
    max-width: 760px;
    margin: 0 auto 18px
}

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

.leadership-cta .button {
    min-height: 38px;
    padding: 10px 18px;
    background: #113f84;
    border-color: #113f84;
    text-transform: none;
    letter-spacing: 0;
    font-size: 12px
}

.leadership-cta .button-outline {
    background: #fff;
    color: #113f84 !important;
    border-color: #c8d7e5
}

@media(max-width:980px) {

    .leadership-hero-grid,
    .leadership-founder-grid,
    .leadership-values-grid,
    .leadership-team-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .leadership-hero-grid,
    .leadership-founder-grid {
        grid-template-columns: 1fr
    }

    .leadership-values-grid article:nth-child(2) {
        border-right: 0
    }
}

@media(max-width:620px) {
    .leadership-hero-copy {
        padding: 26px 20px
    }

    .leadership-hero img,
    .leadership-founder-photo img,
    .leadership-team-grid img {
        min-height: 220px;
        height: 220px
    }

    .leadership-values-grid,
    .leadership-team-grid {
        grid-template-columns: 1fr
    }

    .leadership-values-grid article {
        border-right: 0;
        border-bottom: 1px solid var(--line)
    }
}

/* Insights page */
.insights-hero,
.insights-feature,
.insights-listing,
.insights-subscribe,
.insights-cta {
    background: #fff
}

.insights-hero {
    padding: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line)
}

.insights-hero-grid {
    display: grid;
    grid-template-columns: .78fr 1.22fr
}

.insights-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 405px;
    padding: 42px 40px 42px 24px
}

.insights-hero-copy small,
.insights-feature-copy small,
.insights-card small {
    color: #1b4d89;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase
}

.insights-hero .eyebrow {
    margin: 16px 0 12px;
    font-size: 12px;
    letter-spacing: 0;
    color: #173d73
}

.insights-hero h1,
.insights-feature h2,
.insights-listing h2,
.insights-subscribe h2,
.insights-cta h2 {
    margin: 0;
    color: #1c3760;
    font: 400 clamp(34px, 4vw, 56px)/1.08 var(--serif)
}

.insights-hero p,
.insights-feature p,
.insights-card p,
.insights-subscribe p,
.insights-cta p {
    color: #334a63;
    font-size: 14px;
    line-height: 1.65
}

.insights-hero figure,
.insights-feature figure {
    margin: 0
}

.insights-hero img {
    width: 100%;
    height: 100%;
    min-height: 405px;
    object-fit: cover
}

.insights-feature {
    padding: 22px 0
}

.insights-feature-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 26px;
    align-items: center
}

.insights-feature img {
    width: 100%;
    height: 280px;
    object-fit: cover
}

.insights-feature h2 {
    font-size: 24px;
    margin: 10px 0 12px
}

.insights-feature-meta {
    color: #6d7f92;
    font-size: 12px;
    margin-bottom: 12px
}

.insights-feature a,
.insights-card a {
    color: #1b4d89;
    font-size: 13px;
    font-weight: 700
}

.insights-tabs {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 10px 0;
    margin-bottom: 22px
}

.insights-tabs button {
    background: none;
    border: 0;
    color: #576d81;
    font-size: 12px;
    padding: 0 0 8px;
    cursor: pointer
}

.insights-tabs button.active {
    color: #1b4d89;
    border-bottom: 2px solid #65c8ff
}

.insights-listing {
    padding: 0 0 22px
}

.insights-listing h2 {
    font-size: 24px;
    margin-bottom: 18px
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 20px
}

.insights-card-image {
    height: 175px;
    margin-bottom: 12px;
    background: var(--image) center/cover no-repeat
}

.insights-card small span {
    color: #6d7f92;
    margin-left: 10px;
    text-transform: none
}

.insights-card h3 {
    margin: 8px 0 8px;
    color: #1c3760;
    font: 400 18px/1.3 var(--serif)
}

.insights-card p {
    margin: 0 0 12px;
    font-size: 12px
}

.insights-subscribe,
.insights-cta {
    padding: 0 0 18px
}

.insights-subscribe-inner,
.insights-cta-inner {
    background: #f7fbfe;
    border: 1px solid #e2ebf2;
    padding: 22px 24px;
    text-align: center
}

.insights-subscribe-inner {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    align-items: center;
    gap: 22px;
    text-align: left
}

.insights-subscribe h2,
.insights-cta h2 {
    font-size: 24px;
    margin-bottom: 6px
}

.insights-subscribe p,
.insights-cta p {
    margin: 0
}

.insights-subscribe-form {
    display: flex;
    gap: 0
}

.insights-subscribe-form input {
    border: 1px solid #ccd8e4;
    border-right: 0;
    padding: 12px 14px
}

/* .insights-subscribe-form button,
.insights-cta .button {
    border: 1px solid #113f84;
    background: #113f84;
    color: #fff;
    padding: 12px 20px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer
} */

.insights-cta p {
    margin-bottom: 14px
}

@media(max-width:980px) {

    .insights-hero-grid,
    .insights-feature-grid,
    .insights-subscribe-inner,
    .insights-grid {
        grid-template-columns: 1fr
    }
}

@media(max-width:620px) {
    .insights-hero-copy {
        padding: 26px 20px
    }

    .insights-hero img,
    .insights-feature img,
    .insights-card-image {
        min-height: 220px;
        height: 220px
    }

    .insights-subscribe-form {
        flex-direction: column;
        gap: 10px
    }

    .insights-subscribe-form input {
        border-right: 1px solid #ccd8e4
    }
}

/* Custom Enhancements for Home Page Video Hero, 5-Stats, Client Scroller & Leaflet Map */
.home-hero {
    position: relative;
    overflow: hidden;
    height: calc(100vh - 100px);
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    background: #040f1d;
}

.home-hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.home-hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 15, 29, 0.88) 0%, rgba(4, 15, 29, 0.65) 45%, rgba(4, 15, 29, 0.3) 100%);
    z-index: 2;
}

.home-hero-inner {
    position: relative;
    z-index: 3;
    padding: 50px 0;
}

/* 5-Stats Counter Grid */
.home-stats-grid-5 {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 20px;
}

@media (max-width: 980px) {
    .home-stats-grid-5 {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .home-stats-grid-5 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* About Us Highlight Callout */
.home-about-highlight {
    margin-top: 24px;
    padding: 16px 20px;
    background: #f0f7fb;
    border-left: 4px solid var(--cyan);
    font-size: 18px;
    color: var(--navy);
    border-radius: 0 6px 6px 0;
}

/* Client Marquee Infinite Scroller */
.home-clients {
    padding: 60px 0;
    background: var(--mist);
    overflow: hidden;
}

.client-marquee {
    width: 100%;
    overflow: hidden;
    margin-top: 30px;
    white-space: nowrap;
    position: relative;
}

.client-marquee::before,
.client-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.client-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--mist), transparent);
}

.client-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--mist), transparent);
}

.client-track {
    display: inline-flex;
    gap: 30px;
    animation: marqueeScroll 25s linear infinite;
}

.client-track:hover {
    animation-play-state: paused;
}

.client-badge,
.client-logo-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 105px;
    padding: 12px 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(7, 29, 53, 0.04);
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.client-logo-card:hover {
    transform: translateY(-4px);
    border-color: #00529b;
    box-shadow: 0 10px 28px rgba(0, 82, 155, 0.12);
}

.client-logo-card img {
    max-width: 180px;
    max-height: 78px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.06));
    transition: transform 0.3s ease;
}

.client-logo-card:hover img {
    transform: scale(1.06);
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Leaflet Map & Location Tags */
.map-location-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.location-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    transition: all 0.25s ease;
}

.location-chip:hover,
.location-chip.active {
    background: var(--navy);
    color: #ffffff;
    border-color: var(--navy);
    box-shadow: 0 4px 12px rgba(11, 49, 85, 0.15);
}

.about-world-map,
.contact-office-map {
    border-radius: 16px !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 10px 30px rgba(11, 31, 58, 0.08) !important;
    overflow: hidden !important;
    background: #f8fafc !important;
}

.nirmon-map-marker-pin {
    position: relative;
    width: 26px;
    height: 26px;
}

.pin-dot {
    width: 14px;
    height: 14px;
    background: #00529b;
    border: 2.5px solid #ffffff;
    border-radius: 50%;
    position: absolute;
    top: 6px;
    left: 6px;
    box-shadow: 0 3px 10px rgba(0, 82, 155, 0.4);
}

.pin-pulse {
    width: 26px;
    height: 26px;
    background: rgba(0, 82, 155, 0.35);
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    animation: pulseMarker 2s infinite;
}

@keyframes pulseMarker {
    0% {
        transform: scale(0.6);
        opacity: 1;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Executive Location Buttons for Map */
.map-location-selector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 28px;
}

@media (max-width: 600px) {
    .map-location-selector {
        grid-template-columns: 1fr;
    }
}

.location-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 10px;
    cursor: pointer;
    text-align: left;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(7, 29, 53, 0.04);
}

.location-btn:hover {
    border-color: var(--cyan);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(7, 29, 53, 0.08);
}

.location-btn.active {
    background: var(--navy);
    border-color: var(--navy);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(7, 29, 53, 0.18);
}

.location-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--muted);
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.location-btn:hover .location-dot {
    background: var(--cyan);
}

.location-btn.active .location-dot {
    background: var(--cyan);
    box-shadow: 0 0 0 3px rgba(26, 166, 184, 0.35);
}

.location-btn-info {
    display: flex;
    flex-direction: column;
}

.location-btn-info strong {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    color: inherit;
}

.location-btn-info small {
    font-size: 11px;
    color: var(--muted);
    margin-top: 2px;
}

.location-btn.active .location-btn-info small {
    color: rgba(255, 255, 255, 0.75);
}

/* Our Team Section Styles */
.home-team {
    padding: 50px 0;
    background: #ffffff;
}

.home-team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 980px) {
    .home-team-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.home-team-copy h2 {
    font-size: clamp(28px, 3.5vw, 42px);
    line-height: 1.15;
    color: var(--navy);
    margin: 10px 0 20px;
}

.home-team-copy p {
    font-size: 16px;
    line-height: 1.65;
    color: #4a5c6e;
    margin-bottom: 24px;
}

.home-team-features {
    display: flex;
    gap: 30px;
    margin-bottom: 32px;
}

.home-team-features div {
    border-left: 3px solid var(--cyan);
    padding-left: 14px;
}

.home-team-features strong {
    display: block;
    font-size: 22px;
    color: var(--navy);
    font-weight: 800;
}

.home-team-features span {
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.home-team-figure {
    margin: 0;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(7, 29, 53, 0.12);
    cursor: pointer;
}

.home-team-figure img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    display: block;
    transition: transform 0.5s ease;
}

.home-team-figure:hover img {
    transform: scale(1.02);
}

.home-team-overlay-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(7, 29, 53, 0.85);
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.home-team-figure:hover .home-team-overlay-btn {
    background: var(--cyan, #0284c7);
    transform: scale(1.05);
}

.home-team-caption {
    position: absolute;
    bottom: 0;
    inset-x: 0;
    padding: 16px 20px;
    background: linear-gradient(to top, rgba(7, 29, 53, 0.9), transparent);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    z-index: 2;
}

/* Stacking context isolation to prevent Leaflet map controls from overlapping header navigation & menus */
.about-world-map,
.leaflet-container {
    position: relative !important;
    z-index: 1 !important;
    isolation: isolate !important;
}

.leaflet-pane {
    z-index: 10 !important;
}

.leaflet-top,
.leaflet-bottom {
    z-index: 20 !important;
}

/* ==========================================================================
   Revamped About Us & Leadership Page Design System
   ========================================================================== */

/* About Hero Revamp */
.about-hero-revamp {
    padding: 50px 0 50px;
    background: linear-gradient(180deg, #f8fbfd 0%, #ffffff 100%);
    border-bottom: 1px solid var(--line);
}

.about-hero-grid-revamp {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

@media (max-width: 980px) {
    .about-hero-grid-revamp {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

.about-hero-copy-revamp h1 {
    /* font-family: var(--serif); */
    font-size: clamp(34px, 4vw, 40px);
    line-height: 1.12;
    color: var(--navy);
    margin: 12px 0 20px;
    letter-spacing: -0.02em;
}

.about-hero-copy-revamp p {
    font-size: 17px;
    line-height: 1.65;
    color: #4a5c6e;
    margin-bottom: 24px;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: #eef7fa;
    border: 1px solid rgba(26, 166, 184, 0.3);
    border-radius: 30px;
    margin-bottom: 30px;
}

.hero-badge-pill .pill-dot {
    width: 8px;
    height: 8px;
    background: var(--cyan);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(26, 166, 184, 0.25);
}

.hero-badge-pill strong {
    font-size: 13px;
    color: var(--navy);
    font-weight: 700;
}

.about-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.about-hero-media-wrapper {
    position: relative;
}

.about-hero-figure {
    margin: 0;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(7, 29, 53, 0.15);
    cursor: pointer;
}

.about-hero-figure img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.about-hero-figure:hover img {
    transform: scale(1.04);
}

.hero-media-badge {
    position: absolute;
    bottom: 0;
    inset-x: 0;
    padding: 20px 24px;
    background: linear-gradient(to top, rgba(7, 29, 53, 0.92), transparent);
    color: #ffffff;
    display: flex;
    flex-direction: column;
}

.hero-media-badge strong {
    font-size: 16px;
    font-weight: 700;
}

.hero-media-badge span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 2px;
}

/* About Intro Section & Quote Card */
.about-intro-revamp {
    padding: 50px 0;
}

.about-intro-grid-revamp {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 980px) {
    .about-intro-grid-revamp {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.about-intro-copy h2 {
    font-size: clamp(28px, 3.5vw, 40px);
    line-height: 1.18;
    color: var(--navy);
    margin: 10px 0 20px;
}

.about-intro-copy p {
    font-size: 16px;
    line-height: 1.65;
    color: #4a5c6e;
    margin-bottom: 20px;
}

.about-quote-card {
    margin-top: 30px;
    padding: 24px 28px;
    background: #ffffff;
    border-left: 4px solid var(--cyan);
    border-radius: 0 12px 12px 0;
    box-shadow: 0 10px 30px rgba(7, 29, 53, 0.05);
    position: relative;
}

.about-quote-card .quote-mark {
    font-size: 40px;
    line-height: 1;
    color: var(--cyan);
    font-family: var(--serif);
    display: block;
    margin-bottom: 6px;
}

.about-quote-card p {
    font-size: 16px;
    font-style: italic;
    color: var(--navy);
    font-weight: 600;
    margin-bottom: 8px;
}

.about-quote-card small {
    font-size: 12px;
    color: var(--muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.intro-media-card {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 50px rgba(7, 29, 53, 0.1);
    background: #ffffff;
    cursor: pointer;
}

.intro-media-card img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.5s ease;
}

.intro-media-card:hover img {
    transform: scale(1.03);
}

.intro-media-card figcaption {
    padding: 16px 20px;
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    text-align: center;
    background: #ffffff;
    border-top: 1px solid var(--line);
}

/* Industry Recognition & Media Spotlight */
.about-recognition {
    padding: 50px 0;
    background: #ffffff;
}

.recognition-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

@media (max-width: 1024px) {
    .recognition-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

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

.recognition-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(7, 29, 53, 0.06);
    transition: all 0.35s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.recognition-card:hover {
    transform: translateY(-6px);
    border-color: var(--cyan);
    box-shadow: 0 20px 50px rgba(7, 29, 53, 0.12);
}

.recognition-media {
    position: relative;
    height: 320px;
    background: var(--mist);
    overflow: hidden;
}

.recognition-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    background: #fdfdfd;
    transition: transform 0.5s ease;
}

.recognition-card:hover .recognition-media img {
    transform: scale(1.05);
}

.recognition-overlay-btn {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(7, 29, 53, 0.85);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    transition: background 0.3s ease;
}

.recognition-card:hover .recognition-overlay-btn {
    background: var(--cyan);
}

.recognition-body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.home-award-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
}

@media (max-width: 768px) {
    .home-award-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.recognition-tag {
    display: inline-block;
    color: var(--cyan);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 10px;
}

.recognition-body h3 {
    font-size: 22px;
    color: var(--navy);
    margin: 0 0 12px;
    line-height: 1.25;
}

.recognition-body p {
    font-size: 14px;
    color: #576d81;
    line-height: 1.6;
    margin: 0;
}

/* Disciplines Grid */
.about-disciplines {
    padding: 50px 0;
}

.disciplines-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1024px) {
    .disciplines-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.discipline-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 30px 24px;
    transition: all 0.3s ease;
}

.discipline-card:hover {
    transform: translateY(-4px);
    border-color: var(--cyan);
    box-shadow: 0 14px 40px rgba(7, 29, 53, 0.08);
}

.discipline-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #eef7fa;
    color: var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.discipline-icon svg {
    width: 24px;
    height: 24px;
}

.discipline-card h3 {
    font-size: 18px;
    color: var(--navy);
    margin: 0 0 12px;
    line-height: 1.3;
}

.discipline-card p {
    font-size: 14px;
    color: #667788;
    line-height: 1.6;
    margin: 0;
}

/* About Team Teaser */
.about-team-teaser {
    padding: 50px 0;
    background: #ffffff;
}

.about-team-teaser-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 980px) {
    .about-team-teaser-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.teaser-copy h2 {
    font-size: clamp(28px, 3.5vw, 40px);
    line-height: 1.18;
    color: var(--navy);
    margin: 10px 0 20px;
}

.teaser-copy p {
    font-size: 16px;
    line-height: 1.65;
    color: #4a5c6e;
    margin-bottom: 28px;
}

.teaser-media-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.teaser-figure {
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(7, 29, 53, 0.08);
    position: relative;
    cursor: pointer;
}

.teaser-figure img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.teaser-figure:hover img {
    transform: scale(1.05);
}

.teaser-figure figcaption {
    position: absolute;
    bottom: 0;
    inset-x: 0;
    padding: 12px 14px;
    background: linear-gradient(to top, rgba(7, 29, 53, 0.9), transparent);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
}

/* Leadership Page Styling */
.leadership-hero {
    /* padding: 50px 0 50px; */
    background: linear-gradient(180deg, #f8fafc 0%, #eaf1f7 100%);
    color: var(--ink);
    border-bottom: 1px solid var(--line);
}

.leadership-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

@media (max-width: 980px) {
    .leadership-hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

.leadership-hero-copy .eyebrow {
    color: var(--cyan);
}

.leadership-hero-copy h1 {
    font-family: var(--serif);
    font-size: clamp(36px, 4vw, 56px);
    line-height: 1.1;
    color: var(--navy);
    margin: 12px 0 20px;
}

.leadership-hero-copy p {
    font-size: 17px;
    line-height: 1.65;
    color: #334a63;
    margin-bottom: 30px;
}

.leadership-hero-stats {
    display: flex;
    gap: 36px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.leadership-hero-stats strong {
    display: block;
    font-size: 28px;
    color: var(--navy);
    font-family: var(--serif);
}

.leadership-hero-stats span {
    font-size: 12px;
    color: #5c7087;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.leadership-hero-media {
    border-radius: 16px;
    overflow: hidden;
    /* box-shadow: 0 20px 50px rgba(7, 29, 53, 0.12); */
    cursor: pointer;
}

.leadership-hero-media img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.leadership-hero-media:hover img {
    transform: scale(1.03);
}

/* Founder Spotlight Section */
.founder-spotlight {
    padding: 50px 0;
}

.founder-spotlight-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 980px) {
    .founder-spotlight-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.founder-media-box {
    display: flex;
    justify-content: center;
    align-items: center;
}

.founder-card-single {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    /* box-shadow: 0 16px 40px rgba(7, 29, 53, 0.12); */
    cursor: pointer;
    width: 100%;
    max-width: 460px;
    /* background: #ffffff; */
}

.founder-card-single img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: contain;
    display: block;
    transition: transform 0.5s ease;
}

.founder-card-single:hover img {
    transform: scale(1.03);
}

.culture-media-box {
    display: flex;
    justify-content: center;
    align-items: center;
}

.culture-photo-single {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(7, 29, 53, 0.1);
    position: relative;
    cursor: pointer;
    width: 100%;
    max-width: 520px;
    background: #ffffff;
}

.culture-photo-single img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    display: block;
    transition: transform 0.5s ease;
}

.culture-photo-single:hover img {
    transform: scale(1.03);
}

.culture-photo-single figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 20px;
    background: linear-gradient(to top, rgba(7, 29, 53, 0.85), transparent);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
}

.founder-copy h2 {
    font-size: 36px;
    color: var(--navy);
    margin: 6px 0 4px;
}

.founder-title {
    display: block;
    font-size: 16px;
    color: var(--cyan);
    font-weight: 700;
    margin-bottom: 20px;
}

.founder-copy p {
    font-size: 16px;
    line-height: 1.65;
    color: #4a5c6e;
    margin-bottom: 18px;
}

.founder-quote {
    margin-top: 24px;
    padding: 20px 24px;
    background: #ffffff;
    border-left: 4px solid var(--navy);
    border-radius: 0 10px 10px 0;
    box-shadow: 0 8px 24px rgba(7, 29, 53, 0.05);
}

.founder-quote p {
    font-size: 15px;
    font-style: italic;
    color: var(--navy);
    font-weight: 600;
    margin: 0;
}

/* Leaders Grid */
.leadership-grid-section {
    padding: 50px 0;
    background: #ffffff;
}

.leaders-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 980px) {
    .leaders-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.leader-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(7, 29, 53, 0.05);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.leader-card:hover {
    transform: translateY(-6px);
    border-color: var(--cyan);
    box-shadow: 0 20px 50px rgba(7, 29, 53, 0.12);
}

.leader-avatar-wrapper {
    position: relative;
    height: 380px;
    background: #f0f4f8;
    overflow: hidden;
}

.leader-avatar-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.5s ease;
}

.leader-card:hover .leader-avatar-wrapper img {
    transform: scale(1.05);
}

.avatar-zoom-icon {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    background: rgba(7, 29, 53, 0.75);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.leader-card:hover .avatar-zoom-icon {
    opacity: 1;
    transform: scale(1);
}

.leader-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.leader-info h3 {
    font-size: 22px;
    color: var(--navy);
    margin: 0 0 4px;
}

.leader-role {
    font-size: 13px;
    font-weight: 700;
    color: var(--cyan);
    margin-bottom: 14px;
}

.leader-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.leader-tag {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 4px 10px;
    background: #eef7fa;
    color: var(--navy);
    border-radius: 4px;
}

.leader-bio {
    font-size: 14px;
    color: #576d81;
    line-height: 1.6;
    margin: 0;
}

/* Leadership Culture */
.leadership-culture {
    padding: 50px 0;
}

.leadership-culture-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 980px) {
    .leadership-culture-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.culture-copy h2 {
    font-size: clamp(28px, 3.5vw, 40px);
    line-height: 1.18;
    color: var(--navy);
    margin: 10px 0 20px;
}

.culture-copy p {
    font-size: 16px;
    line-height: 1.65;
    color: #4a5c6e;
    margin-bottom: 24px;
}

.culture-checklist {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.culture-checklist div {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--navy);
}

.culture-checklist span {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--cyan);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.culture-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.culture-photo {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(7, 29, 53, 0.08);
    position: relative;
    cursor: pointer;
}

.culture-photo img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.culture-photo:hover img {
    transform: scale(1.05);
}

.culture-photo figcaption {
    position: absolute;
    bottom: 0;
    inset-x: 0;
    padding: 12px 16px;
    background: linear-gradient(to top, rgba(7, 29, 53, 0.9), transparent);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
}

/* Modern Accessible Image Lightbox Modal */
.nirmon-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(4, 15, 29, 0.94);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.nirmon-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.nirmon-lightbox-container {
    position: relative;
    max-width: 1100px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nirmon-lightbox-img {
    max-width: 100%;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6);
    transform: scale(0.92);
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nirmon-lightbox.active .nirmon-lightbox-img {
    transform: scale(1);
}

.nirmon-lightbox-caption {
    margin-top: 16px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    max-width: 800px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 20px;
    border-radius: 20px;
}

.nirmon-lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 0;
    color: #ffffff;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.nirmon-lightbox-close:hover {
    background: var(--cyan);
    transform: scale(1.1);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 99999;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
}

.whatsapp-float:hover {
    background: #20ba5a;
    transform: scale(1.08);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
}

.whatsapp-icon {
    width: auto;
    height: auto;
    font-size: 34px;
    line-height: 1;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: #071d35;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    box-shadow: 0 4px 16px rgba(7, 29, 53, 0.2);
}

.whatsapp-tooltip::after {
    content: "";
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 6px solid #071d35;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(-4px);
}

@media (max-width: 600px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }

    .whatsapp-icon {
        width: 30px;
        height: 30px;
    }

    .whatsapp-tooltip {
        display: none;
    }
}

/* ==========================================================================
   Dark Ocean Theme Project Portfolio & Details System
   ========================================================================== */

.dark-projects-wrapper,
.project-detail-dark-wrapper {
    background: #05182c;
    color: #e2eef7;
    min-height: 100vh;
}

.dark-projects-hero {
    padding: 60px 0 40px;
    background: linear-gradient(180deg, #041223 0%, #05182c 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.eyebrow-cyan {
    display: block;
    color: #1aa6b8;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 12px;
}

.dark-projects-hero h1 {
    font-family: var(--serif);
    font-size: clamp(34px, 4vw, 50px);
    color: #ffffff;
    margin: 0 0 14px;
}

.dark-projects-hero p {
    font-size: 16px;
    color: #9bb7cd;
    max-width: 720px;
    margin: 0;
}

.dark-projects-main {
    padding: 50px 0 100px;
}

.dark-projects-grid {
    display: grid;
    grid-template-columns: 290px 1fr;
    gap: 40px;
    align-items: flex-start;
}

@media (max-width: 980px) {
    .dark-projects-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Left Vertical Sidebar Filter */
.vessel-sidebar {
    background: #071f39;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px 20px;
    position: sticky;
    top: 90px;
}

.sidebar-header h3 {
    font-size: 18px;
    color: #ffffff;
    margin: 0 0 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.sidebar-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    margin-bottom: 18px;
}

.main-filter-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.main-filter-btn {
    background: transparent;
    border: 0;
    color: #a2bcd0;
    text-align: left;
    font-size: 15px;
    font-weight: 700;
    padding: 12px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main-filter-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.main-filter-btn.active {
    color: #ffffff;
    background: rgba(26, 166, 184, 0.15);
    border-left: 3px solid #1aa6b8;
}

/* Nested Sub Filters */
.sub-filter-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-left: 12px;
    margin: 6px 0 12px;
}

.sub-filter-btn {
    background: transparent;
    border: 0;
    color: #8da4b8;
    text-align: left;
    font-size: 13.5px;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.25s ease;
}

.radio-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 2px solid #5d7890;
    background: transparent;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.sub-filter-btn:hover {
    color: #ffffff;
}

.sub-filter-btn:hover .radio-dot {
    border-color: #1aa6b8;
}

.sub-filter-btn.active {
    color: #ffffff;
    font-weight: 700;
}

.sub-filter-btn.active .radio-dot {
    background: #1aa6b8;
    border-color: #1aa6b8;
    box-shadow: 0 0 0 3px rgba(26, 166, 184, 0.3);
}

/* Right Display Area */
.display-header-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.display-header-strip.hide-header {
    display: none !important;
}

.display-header-strip h2 {
    font-size: 24px;
    color: #ffffff;
    margin: 0;
    font-family: var(--serif);
}

.vessel-count-badge {
    font-size: 12px;
    font-weight: 700;
    background: rgba(26, 166, 184, 0.15);
    color: #1aa6b8;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(26, 166, 184, 0.3);
}

.vessels-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

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

.vessel-display-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.vessel-display-card:hover {
    transform: translateY(-4px);
    border-color: #cbd5e1;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.vessel-card-media-link {
    display: block;
    background: #f8fafc;
    padding: 14px;
    border-bottom: 1px solid #f1f5f9;
}

/* CRITICAL: UNCROPPED IMAGE CONTAINER */
.vessel-image-frame {
    width: 100%;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 180px;
}

.vessel-uncropped-img {
    width: 100%;
    height: auto;
    max-height: 240px;
    object-fit: contain;
    display: block;
    transition: transform 0.5s ease;
}

.vessel-display-card:hover .vessel-uncropped-img {
    transform: scale(1.03);
}

.vessel-card-meta {
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.vessel-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0284c7;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.ship-icon {
    width: 16px;
    height: 16px;
}

.vessel-title {
    font-size: 18px;
    font-weight: 700;
    color: #0b1f3a;
    margin: 0 0 10px;
    line-height: 1.35;
}

.vessel-title a {
    color: #0b1f3a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.vessel-title a:hover {
    color: #00529b;
}

.vessel-summary {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 14px;
}

.view-project-link {
    color: #00529b;
    font-size: 13px;
    font-weight: 700;
    margin-top: 10px;
    display: inline-block;
    text-decoration: none;
    transition: color 0.2s ease;
}

.view-project-link:hover {
    color: #0284c7;
}

/* ==========================================================================
   LIGHT MODE SINGLE PROJECT DETAILS PAGE
   ========================================================================== */

.project-detail-light-wrapper {
    background-color: #f8fafc;
    color: #0f172a;
    min-height: 100vh;
}

/* Breadcrumb Navigation */
.project-breadcrumb-bar {
    background: #ffffff;
    padding: 16px 0;
    border-bottom: 1px solid #e2e8f0;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #64748b;
    flex-wrap: wrap;
}

.home-icon-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #00529b;
    font-weight: 700;
    text-decoration: none;
}

.home-icon-link:hover {
    color: #0284c7;
}

.breadcrumb-nav a {
    color: #00529b;
    text-decoration: none;
}

.breadcrumb-nav a:hover {
    color: #0284c7;
}

.bc-sep {
    color: #cbd5e1;
}

.bc-cat {
    color: #64748b;
}

.bc-current {
    color: #0b1f3a;
    font-weight: 700;
}

/* Multi-Photo Gallery Grid (Uncropped Images) */
.project-gallery-section {
    padding: 40px 0;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.project-gallery-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 860px) {
    .project-gallery-grid {
        grid-template-columns: 1fr;
    }
}

.gallery-item-card {
    margin: 0;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.uncropped-gallery-img {
    width: 100%;
    height: auto;
    max-height: 580px;
    object-fit: contain;
    display: block;
    transition: transform 0.5s ease;
}

.uncropped-gallery-single-img {
    width: 100%;
    height: auto;
    max-height: 440px;
    object-fit: contain;
    display: block;
    border-radius: 12px;
    transition: transform 0.5s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.gallery-item-card:hover .uncropped-gallery-img {
    transform: scale(1.03);
}

.gallery-zoom-badge {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(11, 31, 58, 0.85);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 16px;
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item-card:hover .gallery-zoom-badge {
    opacity: 1;
}

/* Project Info & Specs Section */
.project-info-section {
    padding: 24px 0 40px;
    background: #f8fafc;
}

.project-info-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    align-items: flex-start;
}

.project-main-copy {
    min-width: 0;
}

.project-specs-col {
    position: sticky;
    top: 90px;
}

@media (max-width: 980px) {
    .project-info-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .project-specs-col {
        position: static;
    }
}

@media (max-width: 768px) {
    .layout2-portfolio-container {
        padding: 16px 14px !important;
        border-radius: 12px !important;
    }

    .layout2-title-header h1 {
        font-size: 22px !important;
        margin: 8px 0 14px !important;
    }

    .layout2-info-text {
        font-size: 13.5px !important;
        line-height: 1.6 !important;
        margin-bottom: 20px !important;
    }

    .fleet-table-wrapper {
        margin: 14px 0 20px !important;
        border-radius: 8px !important;
    }

    .fleet-specs-table th {
        padding: 8px 10px !important;
        font-size: 11px !important;
    }

    .fleet-specs-table td {
        padding: 7px 10px !important;
        font-size: 12px !important;
    }

    .layout2-image-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .layout2-card {
        height: 230px !important;
    }
}

.project-sidebar-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.side-gallery-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.side-gallery-card {
    margin: 0;
    background: transparent;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    display: block;
    padding: 0;
    box-shadow: none;
}

.side-gallery-card:hover .uncropped-gallery-img {
    transform: scale(1.03);
}

.project-main-copy h1 {
    font-family: var(--serif, 'Playfair Display', Georgia, serif);
    font-size: clamp(30px, 3.5vw, 44px);
    color: #0b1f3a;
    margin: 0 0 14px;
    font-weight: 700;
}

.golden-headline {
    font-size: 19px;
    color: #c59b27;
    font-weight: 700;
    margin: 0 0 24px;
    line-height: 1.4;
}

.vessel-full-description {
    font-size: 16px;
    line-height: 1.7;
    color: #334155;
    margin-bottom: 30px;
}

.key-features-block h4 {
    font-size: 18px;
    color: #0b1f3a;
    margin: 0 0 16px;
    font-weight: 700;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 36px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: #334155;
    line-height: 1.5;
}

.bullet-dot {
    color: #00529b;
    font-size: 20px;
    line-height: 1;
}

.project-contact-prompt {
    padding: 24px 28px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #00529b;
    border-radius: 0 12px 12px 0;
    margin-top: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.project-contact-prompt p {
    font-size: 15px;
    color: #334155;
    margin: 0 0 18px;
}

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

.button-gold {
    background: #c59b27 !important;
    border-color: #c59b27 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}

.button-gold:hover {
    background: #b08920 !important;
}

.button-whatsapp {
    background: #25D366 !important;
    border-color: #25D366 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}

.button-whatsapp:hover {
    background: #20ba5a !important;
}

.button-block {
    width: 100%;
    text-align: center;
    margin-top: 20px;
}

/* Specs Sidebar */
.specs-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 28px 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.specs-card h3 {
    font-size: 19px;
    color: #0b1f3a;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #00529b;
    font-weight: 700;
}

.specs-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px dashed #e2e8f0;
}

.spec-row dt {
    font-size: 13px;
    color: #64748b;
}

.spec-row dd {
    font-size: 14px;
    font-weight: 700;
    color: #0b1f3a;
    margin: 0;
}

/* Related Vessels Section */
.project-related-section {
    padding: 70px 0 100px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
}

.section-heading-dark {
    margin-bottom: 40px;
}

.section-heading-dark h2 {
    font-size: 28px;
    color: #0b1f3a;
    margin: 6px 0 0;
    font-family: var(--serif, 'Playfair Display', Georgia, serif);
}

.related-vessels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 980px) {
    .related-vessels-grid {
        grid-template-columns: 1fr;
    }
}

/* .view-project-link:hover {
    color: #ffffff;
} */

/* ==========================================================================
   LIGHT MODE PROJECTS SECTION & VERTICAL FILTER
   ========================================================================== */

.light-projects-wrapper {
    background-color: #f8fafc;
    color: #0f172a;
    font-family: inherit;
    min-height: 100vh;
}

/* Light Projects Hero */
.light-projects-hero {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    border-bottom: 1px solid #e2e8f0;
    padding: 50px 0 40px;
}

.light-projects-hero-inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

@media (max-width: 900px) {
    .light-projects-hero-inner {
        grid-template-columns: 1fr;
    }
}

.eyebrow-navy {
    color: #00529b;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.light-projects-hero h1 {
    /* font-family: var(--serif, 'Playfair Display', Georgia, serif); */
    font-size: clamp(30px, 3.5vw, 40px);
    color: #0b1f3a;
    line-height: 1.2;
    margin: 0 0 14px;
    font-weight: 700;
}

.light-projects-hero p {
    font-size: 16px;
    color: #475569;
    line-height: 1.6;
    margin: 0;
    max-width: 620px;
}

.hero-img-frame {
    /* background: #ffffff; */
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    padding: 10px;
    /* border: 1px solid #e2e8f0; */
}

.uncropped-hero-img {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
    display: block;
    border-radius: 6px;
}

/* Light Projects Main Layout */
.light-projects-main {
    padding: 45px 0 90px;
}

.light-projects-grid {
    display: grid;
    grid-template-columns: 290px 1fr !important;
    gap: 36px !important;
    align-items: flex-start !important;
}

@media (max-width: 992px) {
    .light-projects-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Sidebar Light Mode Filter */
.vessel-sidebar-light {
    background: #ffffff;
    border-radius: 12px;
    padding: 22px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 90px;
}

.sidebar-title-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 14px;
    margin-bottom: 18px;
    border-bottom: 2px solid #00529b;
}

.sidebar-title-box h3 {
    font-size: 17px;
    font-weight: 700;
    color: #0b1f3a;
    margin: 0;
}

.sidebar-title-box .filter-icon {
    color: #00529b;
}

.vertical-filter-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.main-filter-item-wrapper {
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.2s ease;
    background: #fafbfc;
}

.main-filter-item-wrapper.active {
    /* border-color: #00529b; */
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 82, 155, 0.08);
}

.main-filter-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
}

.main-filter-btn .btn-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #cbd5e1;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.main-filter-btn.active .filter-dot,
.main-filter-item-wrapper.active .filter-dot {
    background: #00529b;
    box-shadow: 0 0 0 3px rgba(0, 82, 155, 0.2);
}

.main-filter-title {
    font-size: 14px;
    font-weight: 700;
    color: #334155;
    transition: color 0.2s ease;
}

.main-filter-btn.active .main-filter-title,
.main-filter-btn:hover .main-filter-title {
    color: #00529b;
}

.chevron-icon {
    color: #64748b;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.main-filter-btn.active .chevron-icon {
    transform: rotate(180deg);
    color: #00529b;
}

/* Sub-filter Accordion under New Build */
.sub-filter-accordion {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    background: #f8fafc;
    border-top: 0 solid #e2e8f0;
    display: flex;
    flex-direction: column;
}

.sub-filter-accordion.open {
    max-height: 600px;
    padding: 10px 12px 14px;
    border-top-width: 1px;
}

.sub-filter-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: #475569;
    text-align: left;
    transition: all 0.15s ease;
    width: 100%;
}

.sub-radio {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 2px solid #94a3b8;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.sub-filter-btn:hover {
    background: #edf2f7;
    color: #0b1f3a;
}

.sub-filter-btn.active {
    background: #e0f2fe;
    color: #0284c7;
    font-weight: 700;
}

.sub-filter-btn.active .sub-radio {
    border-color: #0284c7;
    background: #0284c7;
}

/* Right Display Area */
.display-header-strip {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-bottom: 16px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.section-tag {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #0284c7;
    background: #e0f2fe;
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 6px;
}

.display-header-strip h2 {
    font-size: 26px;
    font-weight: 700;
    color: #0b1f3a;
    margin: 0;
    font-family: var(--serif, 'Playfair Display', Georgia, serif);
}

.vessel-count-badge-light {
    background: #f1f5f9;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid #cbd5e1;
}

/* Top Sub-filter Pills Bar */
.subfilter-pills-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
    padding: 12px 16px;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.pill-btn {
    padding: 6px 14px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pill-btn:hover {
    background: #e2e8f0;
    color: #0b1f3a;
}

.pill-btn.active {
    background: #00529b;
    color: #ffffff;
    border-color: #00529b;
    box-shadow: 0 2px 6px rgba(0, 82, 155, 0.25);
}

/* Vessels Grid & Uncropped Cards */
.vessels-grid-light {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

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

.vessel-card-light {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.vessel-card-light:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

/* Uncropped Image Frame */
.vessel-uncropped-frame {
    position: relative;
    background: #f8fafc;
    padding: 16px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    max-height: 280px;
    cursor: pointer;
}

.vessel-img-uncropped {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 240px;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.vessel-card-light:hover .vessel-img-uncropped {
    transform: scale(1.03);
}

.hover-photo-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(11, 31, 58, 0.85);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.vessel-uncropped-frame:hover .hover-photo-badge {
    opacity: 1;
}

.vessel-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.vessel-badge-light {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #0284c7;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.vessel-title-light {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.35;
}

.vessel-title-light a {
    color: #0b1f3a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.vessel-title-light a:hover {
    color: #00529b;
}

.vessel-summary-light {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vessel-card-actions {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.btn-card-photos {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
    padding: 7px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-card-photos:hover {
    background: #00529b;
    color: #ffffff;
    border-color: #00529b;
}

.btn-card-link {
    color: #00529b;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.btn-card-link:hover {
    color: #0284c7;
}

/* Light Mode Ship Details & Gallery Modal */
.ship-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(11, 31, 58, 0.7);
    backdrop-filter: blur(5px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.ship-modal-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.ship-modal-dialog {
    background: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid #e2e8f0;
    animation: modalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideUp {
    from {
        transform: translateY(30px) scale(0.97);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.ship-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 24px 28px 16px;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

.modal-cat-badge {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #0284c7;
    background: #e0f2fe;
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 6px;
}

.ship-modal-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #0b1f3a;
    margin: 0;
    font-family: var(--serif, 'Playfair Display', Georgia, serif);
}

.modal-close-btn {
    background: transparent;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
    padding: 0 4px;
    transition: color 0.2s ease;
}

.modal-close-btn:hover {
    color: #ef4444;
}

.ship-modal-body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.modal-gallery-wrapper {
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: #f8fafc;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid #e2e8f0;
}

.modal-main-photo-frame {
    width: 100%;
    min-height: 300px;
    max-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #cbd5e1;
    padding: 12px;
}

.modal-uncropped-main-img {
    max-width: 100%;
    max-height: 440px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.modal-thumbs-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
}

.modal-thumb {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    border: 2px solid #cbd5e1;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    opacity: 0.7;
    transition: all 0.2s ease;
    background: #ffffff;
    padding: 2px;
}

.modal-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.modal-thumb.active,
.modal-thumb:hover {
    opacity: 1;
    border-color: #00529b;
    box-shadow: 0 0 0 2px rgba(0, 82, 155, 0.2);
}

.modal-info-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-description {
    font-size: 15px;
    line-height: 1.65;
    color: #334155;
}

.modal-actions-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

.button-navy {
    background: #0b1f3a;
    color: #ffffff;
    border: none;
}

.button-navy:hover {
    background: #00529b;
    color: #ffffff;
}

.button-whatsapp {
    background: #25d366;
    color: #ffffff;
    border: none;
}

.button-whatsapp:hover {
    background: #1eb857;
    color: #ffffff;
}

/* ==========================================================================
   UNIFORM LIGHT MODE & TYPOGRAPHY SYSTEM FOR ALL PAGES
   ========================================================================== */

/* Universal Page Sections & Headings */
.section-tint {
    background-color: #f8fafc !important;
}

.section-heading h2,
.services-title h2,
.shipdesign-title h2,
.landing-title h2,
.insights-hero h1,
.insights-feature h2,
.insights-listing-head h2,
.contact-details h2,
.contact-form h2,
.contact-title h2,
.careers-hero-section h1,
.careers-openings-section h2,
.careers-culture-strip h2 {
    font-family: var(--serif, 'Playfair Display', Georgia, serif) !important;
    color: #0b1f3a !important;
    font-weight: 700 !important;
}

/* Services Page Light Mode Styles */
.services-hero {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 60px 0;
}

.services-hero-copy h1 {
    font-family: var(--serif, 'Playfair Display', Georgia, serif);
    color: #0b1f3a;
    font-size: clamp(30px, 3.8vw, 46px);
    margin: 8px 0 16px;
    font-weight: 700;
}

.services-hero-copy p {
    color: #334155;
    font-size: 16px;
    line-height: 1.65;
}

.services-intro {
    padding: 70px 0;
    background: #f8fafc;
}

.service-row {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-row:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 82, 155, 0.08);
}

.service-row-copy {
    padding: 36px 40px;
}

.service-row-copy h3 {
    font-family: var(--serif, 'Playfair Display', Georgia, serif);
    font-size: 24px;
    color: #0b1f3a;
    margin: 10px 0 12px;
}

.service-row-copy p {
    color: #334155;
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 18px;
}

.service-row-copy a {
    color: #00529b;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
}

.services-band {
    background: #0b1f3a;
    padding: 24px 0;
}

.services-process {
    padding: 70px 0;
    background: #ffffff;
}

.services-process-grid article {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 28px 20px;
    text-align: center;
}

.services-process-grid h3 {
    /* font-family: var(--serif, 'Playfair Display', Georgia, serif); */
    color: #0b1f3a;
    font-size: 18px;
    margin: 12px 0 8px;
}

.services-process-grid p {
    color: #475569;
    font-size: 14px;
}

.services-feature {
    padding: 60px 0;
    background: #f8fafc;
}

.services-feature-copy {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0 16px 16px 0;
    padding: 40px;
}

.services-feature-copy h2 {
    font-family: var(--serif, 'Playfair Display', Georgia, serif);
    color: #0b1f3a;
    font-size: 26px;
}

/* Ship Design Page Light Mode Styles */
.shipdesign-hero {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 60px 0;
}

.shipdesign-hero-copy h1 {
    font-family: var(--serif, 'Playfair Display', Georgia, serif);
    color: #0b1f3a;
    font-size: clamp(30px, 3.8vw, 46px);
    margin: 8px 0 16px;
    font-weight: 700;
}

.shipdesign-intro {
    padding: 70px 0;
    background: #f8fafc;
}

.shipdesign-process-copy article {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 14px;
}

.shipdesign-process-copy h4 {
    font-family: var(--serif, 'Playfair Display', Georgia, serif);
    color: #0b1f3a;
    font-size: 17px;
}

.shipdesign-cap-grid article {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.shipdesign-cap-copy h3 {
    font-family: var(--serif, 'Playfair Display', Georgia, serif);
    color: #0b1f3a;
    font-size: 20px;
}

.shipdesign-journey-grid article {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
}

/* Landing Crafts Page Light Mode Styles */
.landing-hero {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 60px 0;
}

.landing-hero-copy h1 {
    font-family: var(--serif, 'Playfair Display', Georgia, serif);
    color: #0b1f3a;
    font-size: clamp(30px, 3.8vw, 46px);
}

.landing-intro {
    padding: 70px 0;
    background: #f8fafc;
}

.landing-highlight-grid article {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.landing-highlight-grid h3 {
    font-family: var(--serif, 'Playfair Display', Georgia, serif);
    color: #0b1f3a;
    font-size: 18px;
    margin: 12px 0 8px;
}

.landing-design-row {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
}

.landing-design-copy h3 {
    font-family: var(--serif, 'Playfair Display', Georgia, serif);
    color: #0b1f3a;
    font-size: 22px;
}

/* Insights / News & Announcements Light Mode Styles */
.insights-hero {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 60px 0;
}

.insights-hero-copy h1 {
    font-family: var(--serif, 'Playfair Display', Georgia, serif);
    color: #0b1f3a;
    font-size: clamp(30px, 3.8vw, 44px);
    margin: 8px 0 16px;
}

.insights-feature {
    padding: 60px 0;
    background: #f8fafc;
}

.insights-feature-copy {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0 16px 16px 0;
    padding: 40px;
}

.insights-feature-copy h2 {
    font-family: var(--serif, 'Playfair Display', Georgia, serif);
    color: #0b1f3a;
    font-size: 26px;
}

.insights-listing {
    padding: 60px 0 90px;
    background: #ffffff;
}

.insights-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.insights-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 82, 155, 0.08);
}

.insights-card h3 {
    font-family: var(--serif, 'Playfair Display', Georgia, serif);
    color: #0b1f3a;
    font-size: 19px;
    margin: 10px 0 8px;
}

.insights-card p {
    color: #475569;
    font-size: 14px;
    line-height: 1.6;
}

.insights-card a {
    color: #00529b;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
}

.insights-subscribe {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 60px 0;
}

/* Contact Page Light Mode Styles */
.contact-section {
    padding: 70px 0 90px;
    background: #f8fafc;
}

.contact-details h2,
.contact-form h2 {
    font-family: var(--serif, 'Playfair Display', Georgia, serif);
    color: #0b1f3a;
    font-size: 26px;
    margin-bottom: 24px;
}

.contact-form {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.contact-form label {
    color: #0b1f3a;
    font-weight: 600;
    font-size: 14px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 15px;
    color: #0f172a;
    background: #ffffff;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #00529b;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 82, 155, 0.12);
}

.contact-services {
    padding: 70px 0;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
}

.contact-services-grid article {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
}

.contact-services-grid h3 {
    font-family: var(--serif, 'Playfair Display', Georgia, serif);
    color: #0b1f3a;
    font-size: 18px;
    margin: 12px 0 6px;
}

/* Careers Page Light Mode Styles */
.careers-hero-section {
    padding: 60px 0 40px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.careers-openings-section {
    padding: 70px 0 90px;
    background: #ffffff;
}

.careers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

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

.career-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.career-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 82, 155, 0.08);
}

.career-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.career-dept-badge {
    background: #e0f2fe;
    color: #0369a1;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
}

.career-exp-badge {
    background: #f1f5f9;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
}

.career-card h3 {
    font-family: var(--serif, 'Playfair Display', Georgia, serif);
    color: #0b1f3a;
    font-size: 22px;
    margin: 0 0 6px;
}

.career-loc {
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
}

.career-desc {
    color: #334155;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.careers-culture-strip {
    padding: 60px 0;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

/* ==========================================================================
   NEW PREMIUM SERVICES PAGE REDESIGN STYLES
   ========================================================================== */
.services-hero-premium {
    /* padding: 65px 0; */
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.services-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

@media (max-width: 980px) {
    .services-hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.services-hero-copy h1 {
    font-family: var(--serif, 'Playfair Display', Georgia, serif);
    font-size: clamp(32px, 3.8vw, 46px);
    color: #0b1f3a;
    margin: 10px 0 16px;
    font-weight: 700;
    line-height: 1.2;
}

.services-hero-copy p {
    font-size: 16px;
    color: #334155;
    line-height: 1.65;
    margin-bottom: 28px;
}

.hero-media-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(7, 29, 53, 0.06);
}

.hero-uncropped-photo {
    width: 100%;
    height: 100%;
    min-height: 320px;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

/* Services Premium Grid */
.services-grid-section {
    padding: 50px 0;
    background: #ffffff;
}

.services-premium-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

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

.service-card-premium {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(7, 29, 53, 0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 35px rgba(0, 82, 155, 0.1);
    border-color: #00529b;
}

.service-card-thumb {
    width: 100%;
    height: 220px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.service-uncropped-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.4s ease;
}

.service-card-premium:hover .service-uncropped-img {
    transform: scale(1.04);
}

.service-card-body {
    padding: 28px 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-num-badge {
    font-size: 12px;
    font-weight: 800;
    color: #00529b;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.service-card-body h3 {
    /* font-family: var(--serif, 'Playfair Display', Georgia, serif); */
    font-size: 22px;
    color: #0b1f3a;
    margin: 0 0 10px;
    font-weight: 700;
}

.service-card-body p {
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 18px;
}

.service-tag-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.service-tag-list li {
    font-size: 14px;
    color: #0b1f3a;
    font-weight: 600;
}

/* Process Card Premium */
.services-process-section {
    padding: 80px 0;
    background: #f8fafc;
}

.process-card-premium {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 28px 24px;
    box-shadow: 0 4px 15px rgba(7, 29, 53, 0.03);
    text-align: center;
    transition: transform 0.3s ease;
}

.process-card-premium:hover {
    transform: translateY(-3px);
}

.process-phase-badge {
    font-size: 12px;
    font-weight: 800;
    color: #00529b;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: #e0f2fe;
    padding: 4px 12px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 12px;
}

.process-card-premium h3 {
    /* font-family: var(--serif, 'Playfair Display', Georgia, serif); */
    font-size: 19px;
    color: #0b1f3a;
    margin: 0 0 8px;
}

.process-card-premium p {
    font-size: 14px;
    color: #475569;
    line-height: 1.55;
    margin: 0;
}

/* Contact Info Cards Fix */
.contact-details {
    width: 100%;
}

.contact-lines {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    width: 100%;
    box-sizing: border-box;
    display: block;
    padding: 22px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.contact-info-card p {
    width: 100%;
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin: 0;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
    display: block;
}

/* ==========================================================================
   COMPREHENSIVE RESPONSIVE STYLES — NAVBAR, MENUS & HOME PAGE
   ========================================================================== */

/* 1. NAVBAR & MOBILE MENU RESPONSIVENESS (<= 980px) */
@media (max-width: 980px) {
    .site-header {
        height: 68px !important;
        padding: 0 16px !important;
        position: sticky !important;
        top: 0 !important;
        background: #ffffff !important;
        z-index: 9999 !important;
        box-shadow: 0 2px 15px rgba(7, 29, 53, 0.08) !important;
        border-bottom: 1px solid #e2e8f0 !important;
    }

    .header-inner {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    .brand img {
        width: 160px !important;
        max-height: 38px !important;
        object-fit: contain !important;
    }

    /* Mobile Toggle Button - Clean 3-Bar Icon */
    .menu-toggle {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 42px !important;
        height: 42px !important;
        background: #f1f5f9 !important;
        border: 1px solid #cbd5e1 !important;
        border-radius: 10px !important;
        padding: 0 !important;
        cursor: pointer !important;
        transition: all 0.25s ease !important;
        z-index: 10001 !important;
        outline: none !important;
        box-shadow: 0 2px 6px rgba(7, 29, 53, 0.05) !important;
        background: #00529b !important;
        border-color: #00529b !important;
    }

    .menu-toggle:hover,
    .menu-toggle[aria-expanded="true"] {
        background: #00529b !important;
        border-color: #00529b !important;
    }

    .menu-toggle-icon {
        width: 20px !important;
        height: 14px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        position: relative !important;
    }

    .menu-toggle-icon .bar {
        display: block !important;
        width: 100% !important;
        height: 2px !important;
        background: #ffffff !important;
        border-radius: 2px !important;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
        transform-origin: center !important;
    }

    .menu-toggle:hover .menu-toggle-icon .bar,
    .menu-toggle[aria-expanded="true"] .menu-toggle-icon .bar {
        background: #ffffff !important;
    }

    .menu-toggle[aria-expanded="true"] .menu-toggle-icon .bar:nth-child(1) {
        transform: translateY(6px) rotate(45deg) !important;
    }

    .menu-toggle[aria-expanded="true"] .menu-toggle-icon .bar:nth-child(2) {
        opacity: 0 !important;
    }

    .menu-toggle[aria-expanded="true"] .menu-toggle-icon .bar:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg) !important;
    }

    /* Mobile Nav Drawer - HIDDEN BY DEFAULT (Shown ONLY on hamburger click) */
    .site-nav {
        display: none !important;
        position: fixed !important;
        top: 68px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: calc(100vh - 68px) !important;
        height: calc(100dvh - 68px) !important;
        background: #ffffff !important;
        /* White background matching Desktop View */
        box-shadow: 0 10px 30px rgba(7, 29, 53, 0.12) !important;
        z-index: 10000 !important;
        padding: 20px 24px 40px !important;
        overflow-y: auto !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 0 !important;
        border-top: 1px solid #e2e8f0 !important;
    }

    /* SHOWS ONLY WHEN HAMBURGER IS CLICKED (.open class added) */
    .site-nav.open {
        display: flex !important;
    }

    .site-nav>a:not(.button),
    .site-nav .nav-link {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 16px 8px !important;
        color: #071d35 !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        border-bottom: 1px solid #e2e8f0 !important;
        border-radius: 0 !important;
        width: 100% !important;
        background: transparent !important;
        border-top: none !important;
    }

    .site-nav>a:not(.button):hover,
    .site-nav>a:not(.button).active,
    .site-nav .nav-link:hover,
    .site-nav .nav-link.active {
        color: #00529b !important;
        background: #f8fafc !important;
    }

    /* .site-nav .button.button-sm {
        margin-top: 24px !important;
        width: 100% !important;
        padding: 14px !important;
        font-size: 13px !important;
        border-radius: 8px !important;
        text-align: center !important;
        justify-content: center !important;
        background: #00529b !important;
        color: #ffffff !important;
        border: 1px solid #00529b !important;
    } */

    /* Submenus on Mobile (White / Light Theme) */
    .nav-item-simple .nav-simple-menu {
        display: none !important;
        position: static !important;
        width: 100% !important;
        background: #f8fafc !important;
        border-radius: 8px !important;
        padding: 6px 0 !important;
        margin: 6px 0 12px !important;
        box-shadow: none !important;
        border: 1px solid #e2e8f0 !important;
    }

    .nav-item-simple.open .nav-simple-menu,
    .nav-item-simple.active .nav-simple-menu {
        display: block !important;
    }

    .nav-simple-menu a {
        display: block !important;
        padding: 10px 16px !important;
        color: #334155 !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        border-bottom: 1px solid #f1f5f9 !important;
    }

    .nav-simple-menu a:hover,
    .nav-simple-menu a.active {
        color: #00529b !important;
        background: #ffffff !important;
    }

    /* Mega Panel on Mobile (White / Light Theme) */
    .mega-panel {
        display: none !important;
        position: static !important;
        width: 100% !important;
        background: #f8fafc !important;
        border-radius: 8px !important;
        padding: 16px 14px !important;
        margin: 6px 0 12px !important;
        box-shadow: none !important;
        border: 1px solid #e2e8f0 !important;
    }

    .has-mega.mega-open .mega-panel {
        display: block !important;
    }

    .mega-inner {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
    }

    .mega-column h3 {
        color: #00529b !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        margin: 0 0 8px !important;
        text-transform: uppercase !important;
        letter-spacing: 0.05em !important;
    }

    .mega-column ul {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .mega-column ul li a {
        display: block !important;
        padding: 6px 0 !important;
        color: #475569 !important;
        font-size: 13px !important;
    }

    .mega-feature {
        display: none !important;
    }
}


/* 2. HOME PAGE RESPONSIVENESS */

/* Container margins on mobile */
@media (max-width: 768px) {
    .container {
        width: calc(100% - 32px) !important;
        /* padding-left: 0 !important;
        padding-right: 0 !important; */
    }
}

/* Home Hero Banner — FULL SCREEN VIDEO ON DESKTOP & CLEAN VIDEO ONLY ON MOBILE */
.home-hero {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-items: stretch !important;
    height: calc(100vh - 100px) !important;
    min-height: calc(100vh - 100px) !important;
    background: #040f1d !important;
}

.home-hero-video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
}

@media (max-width: 980px) {
    .home-hero {
        height: auto !important;
        min-height: 0 !important;
        padding: 0 !important;
        background: transparent !important;
    }

    .home-hero-video {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        object-fit: contain !important;
        background: transparent !important;
    }

    .home-hero-inner {
        padding: 40px 0 20px !important;
        max-width: 100% !important;
        margin-top: auto !important;
    }

    .home-hero-copy {
        max-width: 100% !important;
        margin-top: auto !important;
    }

    .home-hero-copy h1 {
        font-size: clamp(26px, 5.5vw, 44px) !important;
        line-height: 1.15 !important;
        margin-bottom: 20px !important;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6) !important;
    }

    .home-actions {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        margin-top: 24px !important;
        width: 100% !important;
    }

    .home-actions .button {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
        padding: 14px !important;
        font-size: 13px !important;
    }
}

/* Home Stats Counter Grid — CLEAN RESPONSIVE CARDS */
.home-stats {
    background: #ffffff !important;
    padding: 36px 0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.home-stats-grid-5 {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 20px !important;
    align-items: stretch !important;
}

/* .stat-card {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 24px 16px !important;
    text-align: center !important;
    box-shadow: 0 4px 12px rgba(7, 29, 53, 0.03) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
} */

.stat-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 24px rgba(0, 82, 155, 0.1) !important;
    border-color: #cbd5e1 !important;
}

/* .stat-card strong {
    display: block !important;
    font-size: 34px !important;
    font-weight: 800 !important;
    color: #00529b !important;
    line-height: 1 !important;
    margin-bottom: 8px !important;
    letter-spacing: -0.02em !important;
} */

/* .stat-card span {
    display: block !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #475569 !important;
    line-height: 1.35 !important;
} */

@media (max-width: 1024px) {
    .home-stats-grid-5 {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 16px !important;
    }
}

@media (max-width: 640px) {
    .home-stats-grid-5 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .stat-card {
        padding: 18px 12px !important;
    }

    .stat-card strong {
        font-size: 26px !important;
    }

    .stat-card span {
        font-size: 12px !important;
    }

    .stat-card:nth-child(5) {
        grid-column: 1 / -1 !important;
        max-width: 280px !important;
        margin: 0 auto !important;
        width: 100% !important;
    }
}

/* FOOTER RESPONSIVENESS & ELEGANT DESIGN */
/* .site-footer {
    background: #071d35 !important;
    color: #e2e8f0 !important;
    padding: 60px 0 40px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.footer-grid-5 {
    display: grid !important;
    grid-template-columns: 2fr 1fr 1.5fr 1fr 2fr !important;
    gap: 40px !important;
    margin-bottom: 50px !important;
}

.footer-logo {
    width: 160px !important;
    height: auto !important;
    margin-bottom: 16px !important;
    filter: brightness(0) invert(1) !important;
}

.footer-brand p {
    color: #94a3b8 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin: 0 0 20px !important;
}

.site-footer h3 {
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    margin: 0 0 20px !important;
    letter-spacing: 0.03em !important;
    text-transform: uppercase !important;
}

.site-footer a {
    display: block !important;
    color: #cbd5e1 !important;
    font-size: 14px !important;
    line-height: 2.1 !important;
    transition: color 0.2s ease, transform 0.2s ease !important;
}

.site-footer a:hover {
    color: #1aa6b8 !important;
    transform: translateX(3px) !important;
}

.footer-contact p {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    color: #cbd5e1 !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    margin: 0 0 16px !important;
}

.footer-contact p svg {
    width: 18px !important;
    height: 18px !important;
    color: #1aa6b8 !important;
    flex-shrink: 0 !important;
    margin-top: 2px !important;
}

.footer-bottom {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-top: 30px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #94a3b8 !important;
    font-size: 13px !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
}

.footer-legal {
    display: flex !important;
    gap: 20px !important;
}

.footer-legal a {
    display: inline-block !important;
    color: #94a3b8 !important;
} */

.whatsapp-float {
    position: fixed !important;
    bottom: 24px !important;
    right: 24px !important;
    width: 54px !important;
    height: 54px !important;
    background: #25d366 !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4) !important;
    z-index: 999 !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.whatsapp-float:hover {
    transform: scale(1.08) !important;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5) !important;
}

@media (max-width: 980px) {
    .footer-grid-5 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 32px 24px !important;
        margin-bottom: 30px !important;
    }

    .footer-brand,
    .footer-contact {
        grid-column: 1 / -1 !important;
    }
}

@media (max-width: 640px) {
    .site-footer {
        padding: 35px 0 110px !important;
        overflow: hidden !important;
    }

    .footer-grid-5 {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        margin-bottom: 24px !important;
    }

    .footer-bottom {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 8px !important;
        padding-top: 20px !important;
    }

    .footer-bottom span,
    .footer-attribution {
        margin-left: 0 !important;
        margin-right: 0 !important;
        text-align: center !important;
        width: 100% !important;
        display: block !important;
        font-size: 11.5px !important;
        line-height: 1.5 !important;
        word-break: break-word !important;
    }

    .footer-legal {
        justify-content: center !important;
    }

    .whatsapp-float {
        bottom: 16px !important;
        right: 16px !important;
        width: 48px !important;
        height: 48px !important;
        z-index: 9999 !important;
    }

    .back-to-top-btn {
        bottom: 74px !important;
        right: 16px !important;
        width: 42px !important;
        height: 42px !important;
        font-size: 14px !important;
        z-index: 9998 !important;
    }
}

/* Home About Us Grid */
@media (max-width: 980px) {
    .home-about-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }

    .home-about figure img {
        width: 100% !important;
        height: auto !important;
        max-height: 360px !important;
        object-fit: cover !important;
        border-radius: 12px !important;
    }
}

/* Services / Capability Grid */
@media (max-width: 980px) {
    .home-capability-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}

@media (max-width: 600px) {
    .home-capability-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}

/* Client Logos Marquee */
@media (max-width: 768px) {
    .home-clients {
        padding: 40px 0 !important;
    }

    .client-logo-card {
        padding: 10px 16px !important;
        height: 64px !important;
    }

    .client-logo-card img {
        max-height: 38px !important;
    }
}

/* Global Operations Map Section */
@media (max-width: 980px) {
    .home-global-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .about-world-map {
        height: 340px !important;
        width: 100% !important;
    }
}

@media (max-width: 576px) {
    .map-location-selector {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .about-world-map {
        height: 280px !important;
    }
}

/* Team Section */
@media (max-width: 980px) {
    .home-team-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }

    .home-team-features {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 20px !important;
    }

    .home-team-figure img {
        width: 100% !important;
        height: auto !important;
        max-height: 360px !important;
        object-fit: cover !important;
        border-radius: 12px !important;
    }
}

/* Recent Blogs & Insights Grid */
@media (max-width: 980px) {
    .home-news-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}

@media (max-width: 600px) {
    .home-news-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .home-news-card-media {
        height: 180px !important;
    }
}

/* ==========================================================================
   ABOUT PAGE RESPONSIVE STYLES — FULL UNCROPPED PHOTOS & COMPACT SPACING
   ========================================================================== */

/* 1. Remove excessive whitespace across all About page sections on mobile */
@media (max-width: 980px) {

    .about-hero-revamp,
    .about-intro-revamp,
    .about-recognition,
    .about-disciplines,
    .about-team-teaser,
    .about-global,
    .about-cta {
        padding: 30px 0 !important;
        margin: 0 !important;
    }

    .about-hero-grid-revamp,
    .about-intro-grid-revamp,
    .about-team-teaser-grid,
    .disciplines-grid,
    .recognition-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .about-hero-copy-revamp h1 {
        font-size: clamp(24px, 5.5vw, 36px) !important;
        line-height: 1.2 !important;
        margin-bottom: 14px !important;
    }

    .about-hero-copy-revamp p,
    .about-intro-copy p {
        font-size: 14px !important;
        line-height: 1.6 !important;
        margin-bottom: 14px !important;
    }

    .about-actions,
    .teaser-actions,
    .about-cta-actions {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        margin-top: 18px !important;
        width: 100% !important;
    }

    .about-actions .button,
    .teaser-actions .button,
    .about-cta-actions .button {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
        padding: 12px 16px !important;
        font-size: 13px !important;
    }

    .hero-badge-pill {
        margin: 12px 0 16px !important;
        padding: 8px 12px !important;
        font-size: 12px !important;
    }

    .about-quote-card {
        padding: 16px !important;
        margin: 16px 0 !important;
    }

    .recognition-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .disciplines-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
}

/* 2. FULL TEAM PHOTO DISPLAY (No cropping, 100% full image) */
@media (max-width: 980px) {

    .about-hero-figure,
    .intro-media-card,
    .teaser-figure,
    .home-team-figure,
    .team-card-image {
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        background: transparent !important;
        overflow: hidden !important;
        border-radius: 12px !important;
        margin: 10px 0 !important;
    }

    .about-hero-figure img,
    .intro-media-card img,
    .teaser-figure img,
    .home-team-figure img,
    .team-card-image img {
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        object-fit: contain !important;
        aspect-ratio: auto !important;
        border-radius: 12px !important;
        display: block !important;
    }

    .hero-media-badge,
    .intro-media-card figcaption,
    .teaser-figure figcaption,
    .home-team-caption {
        position: relative !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        top: 0 !important;
        background: #071d35 !important;
        color: #ffffff !important;
        padding: 10px 14px !important;
        border-radius: 0 0 12px 12px !important;
        font-size: 12px !important;
        line-height: 1.4 !important;
        text-align: center !important;
    }

    .hero-media-badge strong,
    .teaser-figure figcaption {
        font-size: 13px !important;
        font-weight: 700 !important;
    }
}

/* ==========================================================================
   LEADERSHIP PAGE RESPONSIVE STYLES — FULL UNCROPPED PHOTOS & COMPACT SPACING
   ========================================================================== */

/* 1. Remove excessive whitespace across all Leadership page sections on mobile */
@media (max-width: 980px) {

    .leadership-hero,
    .founder-spotlight,
    .leadership-grid-section,
    .leadership-culture {
        padding: 30px 0 !important;
        margin: 0 !important;
    }

    .leadership-hero-grid,
    .founder-spotlight-grid,
    .leadership-culture-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .leadership-hero-copy h1 {
        font-size: clamp(24px, 5.5vw, 36px) !important;
        line-height: 1.2 !important;
        margin-bottom: 14px !important;
    }

    .leadership-hero-copy p,
    .founder-copy p,
    .culture-copy p {
        font-size: 14px !important;
        line-height: 1.6 !important;
        margin-bottom: 14px !important;
    }

    .leadership-hero-stats {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 16px !important;
        margin-top: 20px !important;
        padding-top: 16px !important;
        border-top: 1px solid var(--line) !important;
    }

    .leadership-hero-stats div {
        flex: 1 1 30% !important;
        min-width: 90px !important;
        text-align: center !important;
    }

    .leadership-hero-stats strong {
        font-size: 24px !important;
    }

    .leadership-hero-stats span {
        font-size: 11px !important;
    }

    .leaders-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .leader-card {
        display: flex !important;
        flex-direction: column !important;
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 12px !important;
        overflow: hidden !important;
        box-shadow: 0 4px 15px rgba(7, 29, 53, 0.04) !important;
    }

    .leader-avatar-wrapper {
        width: 100% !important;
        height: auto !important;
        max-height: 320px !important;
        overflow: hidden !important;
    }

    .leader-avatar-wrapper img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: top center !important;
    }

    .leader-info {
        padding: 18px !important;
    }

    .leader-info h3 {
        font-size: 18px !important;
        margin-bottom: 4px !important;
    }

    .leader-role {
        font-size: 13px !important;
        color: #00529b !important;
        font-weight: 700 !important;
        margin-bottom: 12px !important;
        display: block !important;
    }

    .leader-tags {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        margin-bottom: 12px !important;
    }

    .leader-tag {
        font-size: 11px !important;
        padding: 4px 8px !important;
        background: #f1f5f9 !important;
        color: #334155 !important;
        border-radius: 4px !important;
    }

    .leader-bio {
        font-size: 13px !important;
        line-height: 1.55 !important;
        color: #475569 !important;
        margin: 0 !important;
    }
}

/* 2. FULL TEAM PHOTO DISPLAY (No cropping, 100% full image for group photos) */
@media (max-width: 980px) {

    .leadership-hero-media,
    .founder-card-single,
    .culture-photo-single {
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        background: transparent !important;
        overflow: hidden !important;
        border-radius: 12px !important;
        margin: 10px 0 !important;
    }

    .leadership-hero-media img,
    .founder-card-single img,
    .culture-photo-single img {
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        object-fit: contain !important;
        aspect-ratio: auto !important;
        border-radius: 12px !important;
        display: block !important;
    }

    .culture-photo-single figcaption {
        position: relative !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        top: 0 !important;
        background: #071d35 !important;
        color: #ffffff !important;
        padding: 10px 14px !important;
        border-radius: 0 0 12px 12px !important;
        font-size: 12px !important;
        line-height: 1.4 !important;
        text-align: center !important;
        font-weight: 700 !important;
    }
}

/* ==========================================================================
   SERVICES PAGE RESPONSIVE STYLES — COMPACT SPACING & UNCROPPED MEDIA
   ========================================================================== */

/* 1. Remove excessive whitespace across all Services page sections on mobile */
@media (max-width: 980px) {
    .project-breadcrumb-bar {
        padding: 10px 0 !important;
        margin: 0 !important;
    }

    .services-hero-premium,
    .services-grid-section,
    .services-band,
    .services-process-section {
        padding: 30px 0 !important;
        margin: 0 !important;
    }

    .services-hero-grid,
    .services-premium-grid,
    .services-process-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .services-hero-copy h1 {
        font-size: clamp(24px, 5.5vw, 36px) !important;
        line-height: 1.2 !important;
        margin-bottom: 14px !important;
    }

    .services-hero-copy p,
    .section-heading p,
    .service-card-body p {
        font-size: 14px !important;
        line-height: 1.6 !important;
        margin-bottom: 14px !important;
    }

    .section-heading {
        margin-bottom: 24px !important;
        text-align: left !important;
    }

    .section-heading h2 {
        font-size: clamp(22px, 5vw, 30px) !important;
        margin-bottom: 10px !important;
    }

    .service-card-premium {
        display: flex !important;
        flex-direction: column !important;
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 12px !important;
        overflow: hidden !important;
        padding: 16px !important;
        box-shadow: 0 4px 15px rgba(7, 29, 53, 0.04) !important;
    }

    .service-card-thumb {
        width: 100% !important;
        height: auto !important;
        max-height: 240px !important;
        background: #f8fafc !important;
        border-radius: 8px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 12px !important;
        margin-bottom: 16px !important;
    }

    .service-uncropped-img,
    .hero-uncropped-photo {
        width: 100% !important;
        height: auto !important;
        max-height: 220px !important;
        object-fit: contain !important;
        display: block !important;
    }

    .service-card-body {
        padding: 0 !important;
    }

    .service-card-body h3 {
        font-size: 18px !important;
        margin-bottom: 8px !important;
    }

    .service-tag-list {
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
        padding: 0 !important;
        margin: 12px 0 16px !important;
        list-style: none !important;
    }

    .service-tag-list li {
        font-size: 12px !important;
        color: #475569 !important;
        line-height: 1.4 !important;
    }

    .button-block {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
        padding: 12px !important;
        font-size: 13px !important;
    }

    /* Metric Band */
    .services-band-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
        text-align: center !important;
        padding: 20px 16px !important;
        background: #071d35 !important;
        border-radius: 12px !important;
    }

    .services-band-grid div strong {
        font-size: 24px !important;
    }

    .services-band-grid div span {
        font-size: 12px !important;
    }

    /* Methodology Steps */
    .process-card-premium {
        padding: 18px 16px !important;
        background: #f8fafc !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 10px !important;
    }

    .process-card-premium h3 {
        font-size: 16px !important;
        margin-bottom: 6px !important;
    }
}

/* ==========================================================================
   PROJECTS & VESSEL PORTFOLIO PAGE RESPONSIVE STYLES — UNCROPPED CARDS & MODAL
   ========================================================================== */

@media (max-width: 980px) {
    .light-projects-hero {
        padding: 30px 0 !important;
    }

    .light-projects-hero-inner {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }

    .hero-left-copy h1 {
        font-size: clamp(24px, 5.5vw, 36px) !important;
        line-height: 1.2 !important;
        margin-bottom: 12px !important;
    }

    .hero-left-copy p {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }

    .hero-img-frame {
        width: 100% !important;
        height: auto !important;
        max-height: 240px !important;
        background: #f8fafc !important;
        border-radius: 12px !important;
        overflow: hidden !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .uncropped-hero-img {
        width: 100% !important;
        height: auto !important;
        max-height: 220px !important;
        object-fit: contain !important;
    }

    .light-projects-main {
        padding: 24px 0 40px !important;
    }

    .light-projects-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
    }

    .vessel-sidebar-light {
        position: relative !important;
        top: auto !important;
        width: 100% !important;
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 12px !important;
        padding: 16px !important;
        box-shadow: 0 4px 12px rgba(7, 29, 53, 0.04) !important;
        margin-bottom: 24px !important;
        z-index: 1 !important;
    }

    .vessel-display-area-light {
        width: 100% !important;
        position: relative !important;
        z-index: 2 !important;
        clear: both !important;
    }

    .sidebar-title-box {
        margin-bottom: 12px !important;
    }

    .vertical-filter-nav {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
    }

    .main-filter-btn {
        padding: 12px 14px !important;
        font-size: 14px !important;
        border-radius: 8px !important;
    }

    .sub-filter-accordion {
        padding: 6px 0 6px 12px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 4px !important;
    }

    .sub-filter-btn {
        padding: 8px 12px !important;
        font-size: 13px !important;
    }

    .display-header-strip {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 20px;
        padding-bottom: 14px;
        border-bottom: 1px solid #e2e8f0;
    }

    .display-header-strip.hide-header {
        display: none !important;
    }

    .display-header-strip h2 {
        font-size: 20px !important;
    }

    .vessels-grid-light {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .vessel-card-light {
        flex-direction: column !important;
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 12px !important;
        overflow: hidden !important;
        box-shadow: 0 4px 15px rgba(7, 29, 53, 0.04) !important;
    }

    .vessel-uncropped-frame {
        width: 100% !important;
        height: 220px !important;
        background: #f8fafc !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 12px !important;
        position: relative !important;
    }

    .vessel-img-uncropped {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }

    .vessel-card-body {
        padding: 16px !important;
    }

    .vessel-title-light {
        font-size: 17px !important;
        margin-bottom: 6px !important;
    }

    .vessel-summary-light {
        font-size: 13px !important;
        line-height: 1.5 !important;
        color: #475569 !important;
        margin-bottom: 14px !important;
    }

    .vessel-card-actions {
        display: flex !important;
        gap: 10px !important;
        align-items: center !important;
    }

    .btn-card-photos,
    .btn-card-link {
        flex: 1 !important;
        text-align: center !important;
        justify-content: center !important;
        padding: 10px !important;
        font-size: 12px !important;
        border-radius: 6px !important;
    }

    .ship-modal-dialog {
        width: 95% !important;
        max-width: 100% !important;
        margin: 16px auto !important;
        max-height: 90vh !important;
        overflow-y: auto !important;
        padding: 16px !important;
        border-radius: 14px !important;
    }

    .modal-main-photo-frame {
        height: 240px !important;
        background: #071d35 !important;
        border-radius: 8px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 8px !important;
    }

    .modal-uncropped-main-img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }

    .modal-actions-bar {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        margin-top: 16px !important;
    }

    .modal-actions-bar .button {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
        padding: 12px !important;
        font-size: 13px !important;
    }
}

/* ==========================================================================
   INSIGHTS & NEWS PAGE STYLES — RESPONSIVE LAYOUT & UNCROPPED IMAGES
   ========================================================================== */

/* Featured Article Card (Desktop) */
.insights-feature-section {
    padding: 60px 0 30px;
}

.featured-insight-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(7, 29, 53, 0.05);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.featured-insight-thumb {
    background: #f8fafc;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #e2e8f0;
}

.featured-insight-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-insight-title {
    font-family: var(--serif, 'Playfair Display', Georgia, serif);
    font-size: 28px;
    color: #0b1f3a;
    margin: 0 0 14px;
    line-height: 1.3;
    font-weight: 700;
}

.featured-insight-excerpt {
    font-size: 15px;
    color: #475569;
    line-height: 1.65;
    margin-bottom: 24px;
}

/* Insights Cards Grid (Desktop) */
.insights-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.insight-card-title {
    font-size: 20px;
    color: #0b1f3a;
    line-height: 1.35;
    margin: 0 0 10px;
    font-weight: 700;
}

.insight-card-excerpt {
    font-size: 14px;
    color: #475569;
    line-height: 1.55;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Mobile Responsiveness & Whitespace Cleanup */
@media (max-width: 980px) {
    .insights-feature-section {
        padding: 30px 0 !important;
        margin: 0 !important;
    }

    .featured-insight-card {
        grid-template-columns: 1fr !important;
        border-radius: 14px !important;
    }

    .featured-insight-thumb {
        border-right: none !important;
        border-bottom: 1px solid #e2e8f0 !important;
        padding: 16px !important;
        max-height: 240px !important;
    }

    .featured-insight-content {
        padding: 20px 16px !important;
    }

    .featured-insight-title {
        font-size: 20px !important;
        margin-bottom: 10px !important;
    }

    .featured-insight-excerpt {
        font-size: 14px !important;
        line-height: 1.55 !important;
        margin-bottom: 18px !important;
    }

    .insights-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

/* ==========================================================================
   CONTACT US PAGE RESPONSIVE STYLES & FORM VALIDATION SYSTEM
   ========================================================================== */

.contact-section {
    padding: 0px 0 70px;
    background: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 48px;
    align-items: flex-start;
}

.contact-details {
    width: 100%;
}

.contact-lines {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.contact-info-card {
    width: 100%;
    box-sizing: border-box;
    padding: 22px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(7, 29, 53, 0.03);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-info-card:hover {
    border-color: #00529b;
    box-shadow: 0 8px 24px rgba(0, 82, 155, 0.06);
}

.contact-info-label {
    color: #00529b;
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 4px;
}

.contact-info-card h4 {
    margin: 0 0 6px;
    font-size: 18px;
    color: #0b1f3a;
    font-weight: 700;
}

.contact-info-card h4 a {
    color: #0b1f3a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-info-card h4 a:hover {
    color: #00529b;
}

.contact-info-card p {
    margin: 0;
    font-size: 14px;
    color: #475569;
    line-height: 1.5;
}

.contact-map-wrapper {
    margin-top: 10px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #cbd5e1;
    height: 280px;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(7, 29, 53, 0.04);
}

.contact-office-map {
    width: 100%;
    height: 100%;
}

/* Contact Form Styling */
.contact-form {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 36px;
    box-shadow: 0 8px 25px rgba(7, 29, 53, 0.05);
}

.contact-form h3 {
    font-family: var(--serif, 'Playfair Display', Georgia, serif);
    font-size: 24px;
    color: #0b1f3a;
    margin: 0 0 20px;
    font-weight: 700;
}

.contact-alert {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.5;
}

.contact-alert-error {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

.contact-alert-success {
    background: #dcfce7;
    border: 1px solid #86efac;
    color: #166534;
    font-weight: 700;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.contact-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #0b1f3a;
    font-weight: 600;
    font-size: 13px;
}

.form-full-field {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #0b1f3a;
    font-weight: 600;
    font-size: 13px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 11px 14px;
    font-size: 14px;
    color: #0f172a;
    background: #ffffff;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #00529b;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 82, 155, 0.12);
}

.form-submit-btn {
    margin-top: 24px;
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 14px !important;
    font-size: 14px !important;
}

/* Leaflet Popup Horizontal Address Fix */
.leaflet-popup-content-wrapper {
    border-radius: 12px !important;
    padding: 6px 10px !important;
    box-shadow: 0 12px 30px rgba(7, 29, 53, 0.18) !important;
}

.leaflet-popup-content {
    margin: 10px 12px !important;
    width: 320px !important;
    min-width: 300px !important;
    max-width: 420px !important;
    line-height: 1.5 !important;
}

.leaflet-popup-content p {
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    margin: 6px 0 10px !important;
}

/* Mobile Responsiveness for Contact Us Page */
@media (max-width: 980px) {
    .contact-section {
        padding: 30px 0 !important;
    }

    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }

    .contact-form {
        padding: 24px 18px !important;
        border-radius: 14px !important;
    }

    .contact-form-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .contact-map-wrapper {
        height: 240px !important;
    }
}

/* ==========================================================================
   CAREERS PAGE — APPLY HERE FORM & RESPONSIVE STYLES
   ========================================================================== */

.careers-openings-section {
    padding: 70px 0;
    background: #ffffff;
}

.careers-apply-section {
    padding: 60px 0 80px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.apply-form-card {
    max-width: 680px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(7, 29, 53, 0.05);
}

.apply-form-title {
    font-family: var(--serif, 'Playfair Display', Georgia, serif);
    font-size: 28px;
    color: #0b1f3a;
    text-align: center;
    margin: 0 0 28px;
    font-weight: 700;
}

.job-application-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.app-field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.app-input,
.app-input-select,
.app-textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    color: #0f172a;
    background: #ffffff;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.app-input:focus,
.app-input-select:focus,
.app-textarea:focus {
    border-color: #00529b;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 82, 155, 0.12);
}

.resume-field-label {
    font-size: 14px;
    font-weight: 700;
    color: #0b1f3a;
    margin-bottom: 2px;
}

.app-file-input {
    font-size: 13px;
    color: #334155;
    padding: 8px 0;
}

.file-help-note {
    font-size: 12px;
    color: #64748b;
}

.field-error-text {
    color: #ef4444;
    font-size: 12px;
    font-weight: 600;
    margin-top: 4px;
}

.app-submit-btn {
    margin-top: 10px;
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 14px !important;
    font-size: 15px !important;
}

@media (max-width: 980px) {

    .careers-openings-section,
    .careers-apply-section {
        padding: 30px 0 !important;
    }

    .apply-form-card {
        padding: 24px 18px !important;
        border-radius: 14px !important;
    }

    .apply-form-title {
        font-size: 22px !important;
        margin-bottom: 20px !important;
    }
}

/* ==========================================================================
   GLOBAL TYPOGRAPHY UNIFICATION SYSTEM (Eyebrow, Headings, Paragraphs)
   ========================================================================== */

.eyebrow,
.leadership-hero-copy .eyebrow,
.founder-copy .eyebrow,
.culture-copy .eyebrow,
.section-heading .eyebrow,
.section-copy .eyebrow {
    display: block !important;
    color: var(--cyan) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: .2em !important;
    margin-bottom: 20px !important;
}

h2,
.section-heading h2,
.section-copy h2,
.culture-copy h2,
.founder-copy h2,
.leadership-hero-copy h1,
.services-title h2,
.shipdesign-title h2,
.landing-title h2,
.insights-hero h1,
.insights-feature h2,
.insights-listing-head h2,
.contact-details h2,
.contact-form h2,
.contact-title h2,
.careers-hero-section h1,
.careers-openings-section h2,
.careers-culture-strip h2,
.about-intro-copy h2,
.about-cta h2,
.services-hero-copy h1,
.services-hero-copy h2 {
    font-family: var(--sans) !important;
    font-size: clamp(28px, 3.5vw, 40px) !important;
    line-height: 1.18 !important;
    color: #0d2844 !important;
    font-weight: 700 !important;
    margin: 10px 0 20px !important;
    letter-spacing: normal !important;
}

p:not(.hero p):not(.topbar-tagline):not(.site-footer p):not(footer p):not(.map-popup-card-small):not(.popup-addr):not(.home-service-card-5col p):not(.life-hero-copy p):not(.office-card-item p),
.culture-copy p,
.founder-copy p,
.leadership-hero-copy p,
.section-copy p,
.section-heading p,
.about-intro-copy p,
.services-hero-copy p {
    font-size: 16px !important;
    line-height: 1.65 !important;
    color: #4a5c6e !important;
    margin-bottom: 24px !important;
    text-align: justify !important;
}

.site-footer p,
footer p,
.footer-brand p,
.footer-contact p {
    color: #dae3e9 !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    margin-bottom: 12px !important;
    align-items: center;
}

/* ==========================================================================
   SINGLE ARTICLE / INSIGHT PAGE RESPONSIVE STYLES
   ========================================================================== */

.post-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #00529b;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    margin-bottom: 14px;
    transition: color 0.2s ease;
}

.post-back-link:hover {
    color: #0d2844;
}

.post-hero-title {
    font-size: clamp(26px, 3.5vw, 42px) !important;
    color: #0b1f3a !important;
    margin: 8px 0 16px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
}

.post-hero-excerpt {
    font-size: 16px !important;
    color: #475569 !important;
    line-height: 1.65 !important;
    margin-bottom: 24px !important;
}

.single-article-section {
    padding: 60px 0 80px;
    background: #ffffff;
}

.single-article-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
    align-items: start;
}

.single-article-body {
    font-size: 16px;
    color: #334155;
    line-height: 1.8;
}

.single-article-body h2 {
    font-size: clamp(22px, 3vw, 28px) !important;
    color: #0b1f3a !important;
    margin: 36px 0 14px !important;
    font-weight: 700 !important;
}

.single-article-body p {
    font-size: 16px !important;
    line-height: 1.75 !important;
    color: #334155 !important;
    margin-bottom: 20px !important;
}

.single-article-body img,
.dynamic-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 24px 0;
    display: block;
}

.article-lead-box {
    background: #f0f9ff;
    border-left: 4px solid #00529b;
    padding: 20px 24px;
    border-radius: 0 12px 12px 0;
    margin-bottom: 32px;
    font-size: 17px;
    color: #0b1f3a;
    font-weight: 500;
    line-height: 1.6;
}

.article-takeaways-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px;
    margin: 36px 0;
    box-shadow: 0 4px 18px rgba(7, 29, 53, 0.04);
}

.takeaways-title {
    color: #00529b;
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 12px;
}

.takeaways-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.takeaways-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 600;
    color: #0b1f3a;
    font-size: 15px;
}

.check-icon {
    color: #00529b;
    font-weight: 800;
}

.single-article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.sidebar-widget {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.sidebar-widget-title {
    font-size: 19px !important;
    color: #0b1f3a !important;
    margin: 0 0 16px !important;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
    font-weight: 700 !important;
}

.sidebar-posts-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-post-item {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.sidebar-post-date {
    font-size: 12px;
    color: #00529b;
    font-weight: 700;
}

.sidebar-post-title {
    font-size: 14px;
    color: #0b1f3a;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.sidebar-post-item:hover .sidebar-post-title {
    color: #00529b;
}

.sidebar-inquiry-box {
    background: #0b1f3a;
    color: #ffffff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 10px 25px rgba(11, 31, 58, 0.15);
    text-align: center;
}

.inquiry-badge {
    font-size: 12px;
    font-weight: 800;
    color: #38bdf8;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
}

.sidebar-inquiry-box h4 {
    font-size: 20px;
    margin: 0 0 10px;
    color: #ffffff;
    font-weight: 700;
}

.sidebar-inquiry-box p {
    font-size: 14px !important;
    color: #94a3b8 !important;
    line-height: 1.5 !important;
    margin-bottom: 20px !important;
    text-align: center !important;
}

@media (max-width: 980px) {
    .single-article-section {
        padding: 30px 0 50px !important;
    }

    .single-article-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }

    .article-lead-box {
        padding: 16px 18px;
        font-size: 15px;
    }

    .article-takeaways-card {
        padding: 20px 18px;
        margin: 24px 0;
    }

    .sidebar-inquiry-box {
        padding: 22px 18px;
    }
}

/* ==========================================================================
   LEAFLET MAP POPUP RESPONSIVE & FULL ADDRESS STYLING
   ========================================================================== */

.leaflet-popup {
    margin-bottom: 4px !important;
}

.leaflet-popup-content-wrapper {
    padding: 0 !important;
    border-radius: 8px !important;
    box-shadow: 0 6px 20px rgba(7, 29, 53, 0.2) !important;
    overflow: hidden !important;
    background: #ffffff !important;
}

.leaflet-popup-content {
    margin: 8px 10px !important;
    width: auto !important;
    min-width: 160px !important;
    max-width: 210px !important;
    line-height: 1.35 !important;
}

.map-popup-card-small {
    font-family: var(--sans);
    box-sizing: border-box;
    width: 100%;
}

.popup-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 4px;
}

.popup-head strong {
    font-size: 13px;
    color: #0b1f3a;
    font-weight: 700;
}

.popup-badge {
    background: #00529b;
    color: #ffffff;
    font-size: 8px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 3px;
    text-transform: uppercase;
    white-space: nowrap;
}

.popup-addr {
    margin: 0 0 6px !important;
    font-size: 11px !important;
    color: #334155 !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    text-align: left !important;
}

.popup-contacts {
    font-size: 10px;
    color: #00529b;
    font-weight: 600;
    line-height: 1.35;
    border-top: 1px solid #e2e8f0;
    padding-top: 5px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

@media (max-width: 600px) {
    .leaflet-popup-content {
        margin: 6px 8px !important;
        max-width: 180px !important;
    }

    .popup-head strong {
        font-size: 12px;
    }

    .popup-addr {
        font-size: 10px !important;
        line-height: 1.3 !important;
    }

    .popup-contacts {
        font-size: 9px;
    }
}

/* ==========================================
   Services Redesign & Detail Page Styles (Light Mode)
   ========================================== */

/* Home Page 5-Column Grid */
.home-5col-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-top: 1.5rem;
}

@media (max-width: 1200px) {
    .home-5col-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .home-5col-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .home-5col-grid {
        grid-template-columns: 1fr;
    }
}

.home-service-card-5col {
    background: #ffffff;
    border: 1px solid var(--line, #dbe3e9);
    border-radius: 12px;
    padding: 18px 14px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.home-service-card-5col:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(7, 29, 53, 0.08);
    border-color: var(--cyan, #1aa6b8);
}

.home-service-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(26, 166, 184, 0.1);
    color: var(--cyan, #1aa6b8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-service-icon svg {
    width: 20px;
    height: 20px;
}

.home-service-num {
    font-size: 11px;
    font-weight: 700;
    color: var(--cyan, #1aa6b8);
    background: #f0fdfa;
    padding: 2px 8px;
    border-radius: 12px;
    border: 1px solid rgba(26, 166, 184, 0.2);
}

.home-service-card-5col h3 a {
    color: var(--navy, #071d35);
    transition: color 0.2s;
}

.home-service-card-5col h3 a:hover {
    color: var(--cyan, #1aa6b8);
}

.home-service-link {
    font-weight: 600;
    color: var(--cyan, #1aa6b8);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s ease;
    margin-top: auto;
}

.home-service-card-5col:hover .home-service-link {
    gap: 8px;
}

/* Services Page 3-Column Compact Grid with Centered 10th Card */
.services-3col-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 2rem;
}

@media (max-width: 991px) {
    .services-3col-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Center the 10th (last) service card in the 3-column grid */
@media (min-width: 992px) {
    .service-card-last-centered {
        grid-column: 2;
    }
}

.service-compact-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
}

.service-compact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(7, 29, 53, 0.08);
    border-color: var(--cyan, #1aa6b8);
}

.service-compact-thumb {
    position: relative;
    width: 100%;
    height: 180px;
    background: #f8fafc;
    overflow: hidden;
    border-bottom: 1px solid #f1f5f9;
}

.service-compact-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.service-compact-card:hover .service-compact-thumb img {
    transform: scale(1.04);
}

.service-compact-num {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(7, 29, 53, 0.85);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.service-compact-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-compact-body h3 {
    font-size: 18px;
    margin: 0 0 10px;
    line-height: 1.35;
    color: var(--navy, #071d35);
}

.service-compact-body h3 a {
    color: inherit;
    transition: color 0.2s;
}

.service-compact-body h3 a:hover {
    color: var(--cyan, #1aa6b8);
}

.service-compact-body p {
    font-size: 13.5px;
    color: var(--muted, #667788);
    line-height: 1.5;
    margin: 0 0 16px;
    flex-grow: 1;
}

.service-compact-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

.service-more-details-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--cyan, #1aa6b8);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s ease, color 0.2s;
}

.service-compact-card:hover .service-more-details-link {
    gap: 8px;
    color: var(--navy, #071d35);
}

/* Service Detail Page - Full Light Mode */
.service-detail-hero {
    padding: 50px 0 35px;
    background: linear-gradient(135deg, #f8fafc 0%, #edf4f9 100%);
    border-bottom: 1px solid #e2e8f0;
    color: var(--navy, #071d35);
}

.service-meta-badges {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.service-num-badge {
    background: rgba(26, 166, 184, 0.12);
    color: #0891b2;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(26, 166, 184, 0.2);
    letter-spacing: 0.5px;
    display: inline-block;
}

.service-tag-badge {
    background: #e2e8f0;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
}

.service-detail-hero h1 {
    font-size: 36px;
    color: var(--navy, #071d35);
    margin: 0 0 10px;
    line-height: 1.2;
}

.service-hero-tagline {
    font-size: 19px;
    color: #0891b2;
    font-weight: 600;
    margin: 0 0 12px;
}

.service-hero-desc {
    font-size: 15.5px;
    color: #475569;
    max-width: 820px;
    line-height: 1.6;
    margin: 0 0 22px;
}

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

.service-detail-body {
    padding: 45px 0 65px;
    background: #ffffff;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 36px;
    align-items: start;
}

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

/* Light Mode Media Card */
.service-media-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    margin-bottom: 28px;
}

.service-detail-featured-img {
    width: 100%;
    max-height: 480px;
    object-fit: contain;
    background: #f8fafc;
    padding: 14px;
}

.service-media-caption {
    padding: 12px 20px;
    background: #f1f5f9;
    border-top: 1px solid #e2e8f0;
    color: #475569;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-media-caption svg {
    width: 18px;
    height: 18px;
    color: #0891b2;
}

/* Light Mode Highlights Box */
.service-highlights-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid var(--cyan, #1aa6b8);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 28px;
}

.service-highlights-box h3 {
    font-size: 18px;
    color: var(--navy, #071d35);
    margin: 0 0 14px;
}

.service-highlights-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}

.service-highlights-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #334155;
}

.hl-check {
    color: var(--cyan, #1aa6b8);
    font-weight: 700;
}

/* Capability Section Cards (Light Mode) */
.service-sections-container h2 {
    font-size: 24px;
    color: var(--navy, #071d35);
    margin: 0 0 20px;
}

.capability-section-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    margin-bottom: 20px;
    overflow: hidden;
}

.capability-card-header {
    background: #f8fafc;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid #e2e8f0;
}

.capability-num {
    background: var(--navy, #071d35);
    color: #ffffff;
    font-weight: 700;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 4px;
}

.capability-card-header h3 {
    font-size: 17px;
    margin: 0;
    color: var(--navy, #071d35);
}

.capability-card-body {
    padding: 20px 24px;
}

.capability-item-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.capability-item-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #475569;
    line-height: 1.5;
}

/* Light Mode Summary Callout */
.service-summary-callout {
    background: #f0fdfa;
    border: 1px solid #ccfbf1;
    border-left: 4px solid #0d9488;
    color: #0f766e;
    border-radius: 10px;
    padding: 22px 24px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin: 28px 0;
}

.summary-icon {
    width: 44px;
    height: 44px;
    background: #ccfbf1;
    border-radius: 10px;
    color: #0d9488;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.summary-text h4 {
    font-size: 17px;
    color: #0f766e;
    margin: 0 0 4px;
}

.summary-text p {
    font-size: 14px;
    color: #115e59;
    margin: 0;
    line-height: 1.5;
}

/* Light Mode Prev / Next Switcher */
.service-navigation-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.service-nav-btn {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 18px;
    text-decoration: none;
    color: var(--navy, #071d35);
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease;
}

.service-nav-btn:hover {
    border-color: var(--cyan, #1aa6b8);
    background: #f0fdfa;
    color: var(--cyan, #1aa6b8);
}

.service-nav-btn small {
    font-size: 11px;
    font-weight: 700;
    color: var(--cyan, #1aa6b8);
    margin-bottom: 2px;
}

.service-nav-btn strong {
    font-size: 14px;
}

.service-nav-btn.all {
    align-items: center;
    justify-content: center;
    padding: 16px 20px;
    font-size: 13px;
    font-weight: 600;
}

/* Light Mode Sidebar Widgets */
.sidebar-widget {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 22px;
    margin-bottom: 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.sidebar-widget h3 {
    font-size: 16.5px;
    color: var(--navy, #071d35);
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f5f9;
}

.sidebar-services-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-svc-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 6px;
    color: #475569;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.sidebar-svc-item:hover {
    background: #f1f5f9;
    color: var(--cyan, #1aa6b8);
}

.sidebar-svc-item.active {
    background: var(--navy, #071d35);
    color: #ffffff;
    font-weight: 600;
}

.sidebar-svc-item .svc-num {
    font-size: 11px;
    font-weight: 700;
    opacity: 0.7;
}

.sidebar-svc-item .svc-name {
    flex-grow: 1;
}

.sidebar-svc-item .active-dot {
    color: #38bdf8;
    font-size: 10px;
}

.inquiry-widget {
    background: linear-gradient(180deg, #ffffff 0%, #f0fdfa 100%);
    border-color: rgba(26, 166, 184, 0.3);
}

.inquiry-widget p {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 16px;
    line-height: 1.5;
}

.sidebar-contact-info {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #475569;
}

.sidebar-contact-info a {
    color: var(--navy, #071d35);
    font-weight: 600;
}

.sidebar-contact-info a:hover {
    color: var(--cyan, #1aa6b8);
}

/* Leadership LinkedIn Icon Styles */
.leader-linkedin-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: #ffffff;
    background: #0a66c2;
    padding: 8px 16px;
    border-radius: 6px;
    transition: background 0.2s ease, transform 0.2s ease;
    text-decoration: none;
}

.leader-linkedin-btn:hover {
    background: #004182;
    color: #ffffff;
    transform: translateY(-1px);
}

.leader-linkedin-btn i {
    font-size: 16px;
}

.leader-linkedin-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(10, 102, 194, 0.1);
    color: #0a66c2;
    font-size: 16px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.leader-linkedin-icon:hover {
    background: #0a66c2;
    color: #ffffff;
    transform: scale(1.1);
}

/* Full Screen Hero Video Banner & Dynamic Overlay Footer */
.home-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #071d35;
}

.home-hero-video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.home-hero-shade {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(7, 29, 53, 0.1) 0%, rgba(7, 29, 53, 0.2) 50%, rgba(7, 29, 53, 0.75) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-vessel-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 12;
    background: rgba(7, 29, 53, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 8px 18px;
    border-radius: 30px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.4px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    pointer-events: none;
}

.hero-vessel-badge i {
    color: #38bdf8;
    font-size: 14px;
}

@media (max-width: 768px) {
    .hero-vessel-badge {
        top: 12px;
        right: 12px;
        font-size: 10.5px;
        padding: 4px 10px;
        gap: 5px;
        border-radius: 20px;
    }

    .hero-vessel-badge i {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .hero-vessel-badge {
        top: 10px;
        right: 10px;
        font-size: 9.5px;
        padding: 3px 8px;
        gap: 4px;
        letter-spacing: 0.2px;
    }

    .hero-vessel-badge i {
        font-size: 10px;
    }
}

.hero-video-overlay-footer {
    position: absolute;
    bottom: 24px;
    left: 0;
    right: 0;
    z-index: 3;
    width: 100%;
    pointer-events: none;
}

.hero-tagline-ticker {
    margin: 0 auto 18px;
    color: var(--mist, #f3f7f9);
    font: 800 clamp(42px, 5.2vw, 56px) / .96 var(--sans, 'Outfit', 'Inter', sans-serif);
    letter-spacing: 0;
    text-align: center;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    transition: opacity 0.35s ease, transform 0.35s ease;
    opacity: 1;
    transform: translateY(0);
}

.hero-tagline-ticker.tagline-changing {
    opacity: 0;
    transform: translateY(12px);
}

/* ==========================================================================
   LIFE@NIRMON PAGE STYLES
   ========================================================================== */

.life-hero-section {
    padding: 3.5rem 0 4rem;
    background: linear-gradient(135deg, #f8fafc 0%, #edf4f9 100%);
    border-bottom: 1px solid #e2e8f0;
}

.life-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 992px) {
    .life-hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.life-breadcrumb {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #64748b;
    margin-bottom: 12px;
}

.life-breadcrumb a {
    color: #64748b;
    text-decoration: none;
}

.life-breadcrumb a:hover {
    color: var(--cyan, #1aa6b8);
}

.life-breadcrumb .active {
    color: var(--cyan, #1aa6b8);
}

.life-hero-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    color: var(--navy, #071d35);
    line-height: 1.15;
    margin: 12px 0 16px;
}

.life-hero-desc {
    font-size: 16px;
    color: #475569;
    line-height: 1.6;
    max-width: 540px;
    margin-bottom: 24px;
}

.life-hero-media-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 12px;
}

.life-hero-photo-main img,
.life-hero-photo-sub img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 24px rgba(7, 29, 53, 0.08);
}

.life-hero-photo-main {
    height: 320px;
    margin: 0;
}

.life-hero-photo-sub {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.life-hero-photo-sub figure {
    height: 154px;
    margin: 0;
}

/* Beyond the Drawing Board Culture Section */
.life-culture-section {
    padding: 5rem 0 4rem;
}

.life-culture-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 992px) {
    .life-culture-grid {
        grid-template-columns: 1fr;
    }
}

.life-culture-copy h2 {
    font-size: 32px;
    color: var(--navy, #071d35);
    margin: 12px 0 16px;
}

.life-culture-copy p {
    font-size: 15px;
    color: #475569;
    line-height: 1.65;
    margin-bottom: 16px;
}

.life-culture-photo img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
}

/* 4 Pillars Grid */
.life-pillars-container {
    margin-top: 3.5rem;
}

.life-pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 992px) {
    .life-pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .life-pillars-grid {
        grid-template-columns: 1fr;
    }
}

.life-pillar-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.life-pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(7, 29, 53, 0.06);
    border-color: var(--cyan, #1aa6b8);
}

.pillar-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(26, 166, 184, 0.1);
    color: var(--cyan, #1aa6b8);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.life-pillar-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy, #071d35);
    margin: 0 0 8px;
}

.life-pillar-card p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* Explore Events & Activities Filter Bar */
.life-activities-section {
    padding: 4rem 0;
    background: #ffffff;
}

.life-filter-bar {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.life-filter-search {
    position: relative;
    flex: 1;
    min-width: 260px;
}

.life-filter-search .search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 14px;
}

.life-search-input {
    width: 100%;
    padding: 10px 14px 10px 38px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    font-size: 14px;
    background: #ffffff;
}

.life-filter-selects {
    display: flex;
    gap: 10px;
    align-items: center;
}

.life-select {
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    font-size: 13.5px;
    background: #ffffff;
    color: #334155;
}

/* Filter Tabs */
.life-tabs-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.life-tab-btn {
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
}

.life-tab-btn:hover,
.life-tab-btn.active {
    background: var(--navy, #071d35);
    color: #ffffff;
    border-color: var(--navy, #071d35);
}

.life-cards-heading h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--navy, #071d35);
    margin-bottom: 1.5rem;
}

/* Life Cards Grid */
.life-grid-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 992px) {
    .life-grid-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .life-grid-cards {
        grid-template-columns: 1fr;
    }
}

.life-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.life-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(7, 29, 53, 0.08);
    border-color: var(--cyan, #1aa6b8);
}

.life-card-thumb {
    position: relative;
    height: 190px;
    overflow: hidden;
}

.life-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.life-card-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(7, 29, 53, 0.85);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    backdrop-filter: blur(4px);
}

.life-card-content {
    padding: 18px 16px;
}

.life-card-date {
    font-size: 11px;
    font-weight: 700;
    color: var(--cyan, #1aa6b8);
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 6px;
}

.life-card-content h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.35;
}

.life-card-content h4 a {
    color: var(--navy, #071d35);
    text-decoration: none;
}

.life-card-content h4 a:hover {
    color: var(--cyan, #1aa6b8);
}

.life-card-content p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 14px;
}

.life-card-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--cyan, #1aa6b8);
    text-decoration: none;
}

/* Pagination Bar */
.life-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 3rem;
}

.page-num,
.page-nav {
    padding: 8px 14px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
}

.page-num.active {
    background: var(--navy, #071d35);
    color: #ffffff;
    border-color: var(--navy, #071d35);
}

.page-nav.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Inside Nirmon Gallery (Dark Container) */
.life-gallery-section {
    padding: 5rem 0;
    background: #071d35;
    color: #ffffff;
}

.life-mosaic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 768px) {
    .life-mosaic-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.mosaic-item {
    position: relative;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.mosaic-item:hover img {
    transform: scale(1.06);
}

.mosaic-zoom-icon {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    padding: 6px;
    border-radius: 50%;
    font-size: 12px;
}

/* Join Team Banner */
.life-join-section {
    padding: 4.5rem 0;
    /* background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); */
    color: #ffffff;
    text-align: center;
}

.life-join-inner h2 {
    font-size: 32px;
    color: #ffffff;
    margin: 10px 0 12px;
}

.life-join-inner p {
    font-size: 15px;
    color: #94a3b8;
    max-width: 560px;
    margin: 0 auto 24px;
}

.life-join-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* Social Bar */
.life-social-bar-section {
    padding: 2.5rem 0;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.life-social-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-bar-copy h4 {
    font-size: 17px;
    margin: 0 0 4px;
    color: var(--navy, #071d35);
}

.social-bar-copy p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

.social-bar-links {
    display: flex;
    gap: 12px;
}

.social-bar-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #071d35;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: all 0.2s ease;
}

.social-bar-links a:hover {
    background: var(--cyan, #1aa6b8);
    transform: translateY(-2px);
}

.social-bar-subscribe {
    display: flex;
    gap: 8px;
}

.social-bar-subscribe input {
    padding: 8px 14px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    font-size: 13px;
    width: 220px;
}

/* Bottom Navy Banner */
.life-bottom-banner {
    padding: 4rem 0;
    /* background: var(--navy, #071d35); */
    color: #ffffff;
    text-align: center;
}

.life-bottom-inner h2 {
    font-size: 32px;
    color: #ffffff;
    margin-bottom: 10px;
}

.life-bottom-inner p {
    font-size: 15px;
    color: #94a3b8;
    margin-bottom: 24px;
}

/* Inside Nirmon Mosaic Gallery Exact Layout (Matching Target Mock Image) */
.life-mosaic-box {
    background: #021226;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.mosaic-box-title {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 18px 4px;
    letter-spacing: 0.2px;
}

.mosaic-flex-container {
    display: flex;
    gap: 10px;
    height: 360px;
    width: 100%;
}

@media (max-width: 992px) {
    .mosaic-flex-container {
        flex-direction: column;
        height: auto;
    }
}

.mosaic-card-tall-left,
.mosaic-card-tall-right {
    flex: 1.1;
    height: 100%;
    min-height: 360px;
}

.mosaic-middle-block {
    flex: 2.2;
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
}

.mosaic-mid-top {
    display: flex;
    gap: 10px;
    height: 52%;
}

.mosaic-mid-top .mosaic-card {
    flex: 1;
    height: 100%;
}

.mosaic-mid-bottom {
    display: flex;
    gap: 10px;
    height: 48%;
}

.mosaic-mid-bottom .mosaic-card {
    flex: 1;
    height: 100%;
}

.mosaic-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #071d35;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.mosaic-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.mosaic-card:hover img {
    transform: scale(1.05);
}

.mosaic-zoom-icon {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    pointer-events: none;
}

.mosaic-box-footer {
    text-align: center;
    margin-top: 20px;
}

.mosaic-btn-blue {
    display: inline-block;
    background: #0070f3;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 600;
    padding: 8px 24px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.mosaic-btn-blue:hover {
    background: #0051a8;
    color: #ffffff;
    transform: translateY(-1px);
}

/* Full Gallery Mosaic Grid Page */
.full-mosaic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 992px) {
    .full-mosaic-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .full-mosaic-grid {
        grid-template-columns: 1fr;
    }
}

.mosaic-card-tall {
    grid-row: span 2;
    height: 100% !important;
    min-height: 380px;
}

/* Hero Dark Section Styles */
.life-hero-section {
    padding: 3.5rem 0 4.5rem;
    background: #04142a;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.life-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 992px) {
    .life-hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.life-breadcrumb {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: #94a3b8;
    margin-bottom: 12px;
}

.life-breadcrumb a {
    color: #94a3b8;
    text-decoration: none;
}

.life-breadcrumb a:hover {
    color: #38bdf8;
}

.life-breadcrumb .active {
    color: #38bdf8;
}

.eyebrow-hero {
    display: inline-block;
    color: #38bdf8;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    margin-bottom: 10px;
}

.life-hero-title {
    font-size: clamp(34px, 4.5vw, 48px) !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 1.15 !important;
    margin: 8px 0 16px !important;
}

.life-hero-desc {
    font-size: 15.5px !important;
    color: #cbd5e1 !important;
    line-height: 1.6 !important;
    max-width: 520px;
    margin-bottom: 24px !important;
}

.button-blue-hero {
    display: inline-block;
    background: #0070f3;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.button-blue-hero:hover {
    background: #0051a8;
    color: #ffffff;
}

.life-hero-media-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 10px;
}

.life-hero-photo-main img,
.life-hero-photo-sub img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.life-hero-photo-main {
    height: 300px;
    margin: 0;
}

.life-hero-photo-sub {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.life-hero-photo-sub figure {
    height: 145px;
    margin: 0;
}

/* 2. Beyond the Drawing Board Culture Section */
.life-culture-section {
    padding: 4.5rem 0;
    background: #ffffff;
}

.life-culture-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 992px) {
    .life-culture-grid {
        grid-template-columns: 1fr;
    }
}

.life-culture-copy .eyebrow {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #0070f3;
}

.life-culture-copy h2 {
    font-size: 30px;
    font-weight: 700;
    color: var(--navy, #071d35);
    margin: 10px 0 16px;
    line-height: 1.25;
}

.life-culture-copy p {
    font-size: 14.5px;
    color: #475569;
    line-height: 1.65;
    margin-bottom: 14px;
}

.life-culture-photo img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.life-pillars-container {
    margin-top: 3.5rem;
}

.life-pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 992px) {
    .life-pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .life-pillars-grid {
        grid-template-columns: 1fr;
    }
}

.life-pillar-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 24px 18px;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.life-pillar-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(7, 29, 53, 0.06);
    border-color: #0070f3;
}

.pillar-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 112, 243, 0.08);
    color: #0070f3;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.life-pillar-card h3 {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--navy, #071d35);
    margin: 0 0 6px;
}

.life-pillar-card p {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* 3. Featured Event Section */
.life-featured-section {
    padding: 2rem 0 4rem;
    background: #ffffff;
}

.life-featured-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    align-items: center;
}

@media (max-width: 992px) {
    .life-featured-card {
        grid-template-columns: 1fr;
    }
}

.featured-card-thumb img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 8px;
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 8px 0 12px;
}

.featured-date {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
}

.featured-category-badge {
    background: rgba(0, 112, 243, 0.1);
    color: #0070f3;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
}

.featured-card-body h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--navy, #071d35);
    margin-bottom: 10px;
    line-height: 1.3;
}

.featured-card-body p {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 18px;
}

/* 4. Explore Events & Activities Filter Bar */
.life-activities-section {
    padding: 4rem 0;
    background: #ffffff;
}

.life-filter-bar {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 1.2rem;
}

.life-filter-search {
    position: relative;
    flex: 1;
    min-width: 260px;
}

.life-filter-search .search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 14px;
}

.life-search-input {
    width: 100%;
    padding: 9px 14px 9px 38px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    font-size: 13.5px;
    background: #ffffff;
}

.life-filter-selects {
    display: flex;
    gap: 10px;
    align-items: center;
}

.life-select {
    padding: 9px 14px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    font-size: 13px;
    background: #ffffff;
    color: #334155;
}

.button-navy-filter {
    background: #071d35;
    color: #ffffff;
    border: none;
    padding: 9px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.button-navy-filter:hover {
    background: #0070f3;
}

.life-tabs-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 2.2rem;
}

.life-tab-btn {
    padding: 7px 16px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    font-size: 12.5px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
}

.life-tab-btn:hover,
.life-tab-btn.active {
    background: #071d35;
    color: #ffffff;
    border-color: #071d35;
}

.life-cards-heading h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy, #071d35);
    margin-bottom: 1.5rem;
}

/* 5. Latest Cards Grid */
.life-grid-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 992px) {
    .life-grid-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .life-grid-cards {
        grid-template-columns: 1fr;
    }
}

.life-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.life-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(7, 29, 53, 0.08);
    border-color: #0070f3;
}

.life-card-thumb {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.life-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.life-card-content {
    padding: 16px;
}

.card-meta-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.life-card-date {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
}

.life-card-category {
    background: rgba(0, 112, 243, 0.1);
    color: #0070f3;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
}

.life-card-content h4 {
    font-size: 15.5px;
    font-weight: 700;
    margin: 0 0 6px;
    line-height: 1.35;
}

.life-card-content h4 a {
    color: var(--navy, #071d35);
    text-decoration: none;
}

.life-card-content h4 a:hover {
    color: #0070f3;
}

.life-card-content p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 12px;
}

.life-card-link {
    font-size: 12.5px;
    font-weight: 700;
    color: #0070f3;
    text-decoration: none;
}

/* Pagination Bar */
.life-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 2.5rem;
}

.page-num,
.page-nav {
    padding: 7px 14px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    font-size: 12.5px;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
}

.page-num.active {
    background: #071d35;
    color: #ffffff;
    border-color: #071d35;
}

.page-nav.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 6. Inside Nirmon Mosaic Box */
.life-mosaic-box {
    background: #021226;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.mosaic-box-title {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 18px 4px;
    letter-spacing: 0.2px;
}

.mosaic-flex-container {
    display: flex;
    gap: 10px;
    height: 360px;
    width: 100%;
}

@media (max-width: 992px) {
    .mosaic-flex-container {
        flex-direction: column;
        height: auto;
    }
}

.mosaic-card-tall-left,
.mosaic-card-tall-right {
    flex: 1.1;
    height: 100%;
    min-height: 360px;
}

.mosaic-middle-block {
    flex: 2.2;
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
}

.mosaic-mid-top {
    display: flex;
    gap: 10px;
    height: 52%;
}

.mosaic-mid-top .mosaic-card {
    flex: 1;
    height: 100%;
}

.mosaic-mid-bottom {
    display: flex;
    gap: 10px;
    height: 48%;
}

.mosaic-mid-bottom .mosaic-card {
    flex: 1;
    height: 100%;
}

.mosaic-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #071d35;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.mosaic-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.mosaic-card:hover img {
    transform: scale(1.05);
}

.mosaic-zoom-icon {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    pointer-events: none;
}

.mosaic-box-footer {
    text-align: center;
    margin-top: 20px;
}

.mosaic-btn-blue {
    display: inline-block;
    background: #0070f3;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 600;
    padding: 8px 24px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.mosaic-btn-blue:hover {
    background: #0051a8;
    color: #ffffff;
    transform: translateY(-1px);
}

/* 7. Learning in Every Environment */
.life-environment-section {
    padding: 4.5rem 0;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
}

.environment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

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

.environment-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px;
    transition: transform 0.25s ease;
}

.environment-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(7, 29, 53, 0.06);
}

.environment-thumb img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 14px;
}

.environment-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy, #071d35);
    margin-bottom: 6px;
}

.environment-card p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* 8. Testimonials Section */
.life-testimonials-section {
    padding: 4.5rem 0;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

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

.testimonial-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.testimonial-meta h4 {
    font-size: 15px;
    color: var(--navy, #071d35);
    margin: 0;
}

.testimonial-role {
    font-size: 12px;
    color: #64748b;
}

.testimonial-text {
    font-size: 13px;
    color: #334155;
    line-height: 1.6;
    font-style: italic;
    margin: 0 0 18px;
}

.testimonial-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #e2e8f0;
    padding-top: 12px;
    font-size: 12px;
}

.verified-badge {
    color: #94a3b8;
}

.testimonial-link {
    color: #0070f3;
    font-weight: 700;
    text-decoration: none;
}

/* 9. Timeline Section */
.life-timeline-section {
    padding: 4.5rem 0;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
}

.timeline-bar {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 2.5rem;
    padding: 0 20px;
}

.timeline-bar::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: #cbd5e1;
    z-index: 1;
}

.timeline-year {
    position: relative;
    z-index: 2;
    text-align: center;
    cursor: pointer;
}

.timeline-year span {
    font-size: 12.5px;
    font-weight: 700;
    color: #64748b;
    display: block;
    margin-bottom: 6px;
}

.timeline-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #cbd5e1;
    margin: 0 auto;
    transition: all 0.2s ease;
}

.timeline-year.active .timeline-dot,
.timeline-year:hover .timeline-dot {
    background: #0070f3;
    border-color: #0070f3;
}

.timeline-year.active span {
    color: #0070f3;
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

@media (max-width: 992px) {
    .timeline-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.timeline-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px;
    text-align: center;
}

.timeline-thumb img {
    width: 100%;
    height: 105px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 8px;
}

.timeline-card h3 {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--navy, #071d35);
    margin-bottom: 4px;
}

.timeline-card p {
    font-size: 11.5px;
    color: #64748b;
    line-height: 1.4;
    margin: 0;
}

/* 10. Blueprint CTA Section */
.life-join-blueprint-section {
    background: linear-gradient(135deg, #04142a 0%, #082548 100%);
    color: #ffffff;
    padding: 3.5rem 0;
}

.life-join-blueprint-inner {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 992px) {
    .life-join-blueprint-inner {
        grid-template-columns: 1fr;
    }
}

.join-left-photo img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.join-right-content h2 {
    font-size: 30px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 10px 0 12px !important;
    line-height: 1.25 !important;
}

.join-right-content p {
    font-size: 15px !important;
    color: #cbd5e1 !important;
    margin-bottom: 22px !important;
    line-height: 1.6 !important;
}

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

.button-outline-white {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff !important;
    padding: 8px 22px;
    border-radius: 6px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.button-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    border-color: #ffffff;
}

/* 11. Social Bar Section */
.life-social-bar-section {
    padding: 2rem 0;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.life-social-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-bar-copy h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 3px;
    color: var(--navy, #071d35) !important;
}

.social-bar-copy p {
    font-size: 12.5px;
    color: #64748b !important;
    margin: 0;
}

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

.social-bar-links a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #071d35;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s ease;
}

.social-bar-links a:hover {
    background: #0070f3;
    transform: translateY(-2px);
}

.social-bar-form-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.social-bar-subscribe {
    display: flex;
    gap: 8px;
}

.social-bar-subscribe input {
    padding: 8px 14px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    font-size: 13px;
    width: 220px;
}

.privacy-subtext {
    font-size: 11px;
    color: #94a3b8 !important;
}

/* 12. Sunset Bottom Banner Section */
.life-bottom-sunset-banner {
    background: linear-gradient(rgba(4, 20, 42, 0.85), rgba(4, 20, 42, 0.9)), url('../images/landing_craft.png') center/cover no-repeat;
    padding: 5rem 0;
    color: #ffffff;
}

.sunset-copy h2 {
    font-size: 34px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 1.2 !important;
    margin-bottom: 12px !important;
}

.sunset-copy p {
    font-size: 16px !important;
    color: #cbd5e1 !important;
    margin-bottom: 24px !important;
}

/* Responsive UI and Uncropped Images for Life@Nirmon */
.life-tabs-row {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.life-tabs-row::-webkit-scrollbar {
    height: 4px;
}

.life-tabs-row::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.life-hero-photo-main img,
.life-hero-photo-sub img,
.life-culture-photo img {
    object-fit: cover;
    object-position: center top;
}

@media (max-width: 768px) {
    .life-hero-media-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .life-hero-photo-main {
        height: 240px !important;
    }

    .life-hero-photo-sub {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }

    .life-hero-photo-sub figure {
        height: 140px !important;
    }

    .life-culture-photo img {
        height: 240px !important;
    }

    .mosaic-flex-container {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        gap: 12px !important;
    }

    .mosaic-card-tall-left,
    .mosaic-card-tall-right {
        height: 240px !important;
        min-height: 240px !important;
    }

    .mosaic-middle-block {
        height: auto !important;
        gap: 12px !important;
    }

    .mosaic-mid-top,
    .mosaic-mid-bottom {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        height: auto !important;
        gap: 10px !important;
    }

    .mosaic-mid-top .mosaic-card,
    .mosaic-mid-bottom .mosaic-card {
        height: 140px !important;
    }

    .life-grid-cards {
        grid-template-columns: 1fr !important;
        gap: 1.2rem !important;
    }

    .life-card-thumb {
        height: 200px !important;
    }
}

/* Global Offices & Interactive Map Grid */
.global-offices-grid {
    display: grid !important;
    grid-template-columns: 1.1fr 0.9fr !important;
    gap: 36px !important;
    align-items: start !important;
}

@media (max-width: 992px) {
    .global-offices-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .office-map-box {
        position: static !important;
    }

    .office-map-box iframe {
        height: 380px !important;
    }
}

/* Dynamic Rich Text Post Content Overrides */
.dynamic-post-content {
    line-height: 1.75;
    color: var(--text, #334155);
}

.dynamic-post-content span[style*="background-color"],
.dynamic-post-content p[style*="background-color"],
.dynamic-post-content strong[style*="background-color"] {
    background-color: transparent !important;
}

.dynamic-post-content p {
    margin-bottom: 1.25rem;
}

.dynamic-post-content h2,
.dynamic-post-content h3,
.dynamic-post-content h4 {
    color: var(--navy, #071d35);
    margin-top: 1.8rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

/* Uncropped Full Image Display for About & Leadership Team Photos */
.about-hero-figure,
.about-hero-media-wrapper,
.leadership-hero-media,
.teaser-figure,
.teaser-media-single {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

.about-hero-figure img,
.about-hero-media-wrapper img,
.leadership-hero-media img,
.teaser-figure img,
.teaser-media-single img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
    border-radius: 16px !important;
}

/* Mobile View Sleek Single-Row Topbar */
@media (max-width: 980px) {
    .topbar-inner {
        height: 28px !important;
        padding: 0 !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 8px !important;
    }

    .topbar-tagline {
        display: block !important;
        font-size: 9.5px !important;
        letter-spacing: 0 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 50% !important;
        margin: 0 !important;
    }

    .topbar-meta {
        font-size: 9.5px !important;
        gap: 8px !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }

    .topbar-meta a {
        font-size: 9.5px !important;
    }
}

/* ==========================================================================
   Comprehensive UI & Mobile Responsiveness Upgrades
   ========================================================================== */

/* 1. Back to Top Direct Button & Smooth Spring Animation */
.back-to-top-btn {
    position: fixed;
    bottom: 100px;
    right: 28px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #ffffff !important;
    color: #071d35 !important;
    border: 1.5px solid #cbd5e1 !important;
    box-shadow: 0 8px 24px rgba(7, 29, 53, 0.18) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    z-index: 9995;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.85);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.back-to-top-btn:hover {
    background: #ffffff !important;
    color: #0284c7 !important;
    border-color: #0284c7 !important;
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 12px 30px rgba(7, 29, 53, 0.25) !important;
}

.back-to-top-btn i {
    color: #071d35 !important;
    font-size: 18px !important;
    transition: transform 0.25s ease, color 0.25s ease;
}

.back-to-top-btn:hover i {
    color: #0284c7 !important;
    transform: translateY(-3px);
}

/* Tooltip Title matching WhatsApp style */
.back-to-top-tooltip {
    position: absolute;
    right: 64px;
    top: 50%;
    transform: translateY(-50%);
    background: #071d35;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    box-shadow: 0 4px 16px rgba(7, 29, 53, 0.2);
}

.back-to-top-tooltip::after {
    content: "";
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 6px solid #071d35;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.back-to-top-btn:hover .back-to-top-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(-4px);
}

@media (max-width: 768px) {
    .back-to-top-btn {
        bottom: 94px;
        right: 20px;
        width: 46px;
        height: 46px;
        font-size: 15px;
    }

    .back-to-top-tooltip {
        display: none !important;
    }
}

/* 2. Leadership Hero Features Mobile Responsiveness (1st Image Fix) */
@media (max-width: 768px) {
    .leadership-hero-features {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        margin-top: 24px !important;
        padding-top: 20px !important;
    }

    .leadership-feature-item {
        text-align: left;
        padding: 14px;
        background: #f8fafc;
        border-radius: 12px;
        border: 1px solid #e2e8f0;
    }
}

/* 3. Project Detail Modal Popup Mobile Fix (2nd Image Fix) */
@media (max-width: 768px) {
    .ship-modal-backdrop {
        padding: 12px !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .ship-modal-dialog {
        width: 100% !important;
        max-width: 500px !important;
        max-height: 88vh !important;
        margin: auto !important;
        padding: 0 !important;
        border-radius: 16px !important;
        overflow: hidden !important;
        display: flex !important;
        flex-direction: column !important;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35) !important;
    }

    .ship-modal-header {
        padding: 16px 18px !important;
        border-bottom: 1px solid #e2e8f0 !important;
        background: #f8fafc !important;
        align-items: center !important;
    }

    .ship-modal-header h2 {
        font-size: 18px !important;
        line-height: 1.3 !important;
        word-break: break-word !important;
        margin: 4px 0 0 !important;
    }

    .modal-close-btn {
        width: 32px !important;
        height: 32px !important;
        font-size: 20px !important;
        line-height: 1 !important;
        border-radius: 50% !important;
        background: #e2e8f0 !important;
        color: #1e293b !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: none !important;
    }

    .ship-modal-body {
        padding: 16px !important;
        overflow-y: auto !important;
        max-height: calc(88vh - 75px) !important;
    }

    .modal-main-photo-frame {
        height: 200px !important;
        background: #0f172a !important;
        border-radius: 10px !important;
        padding: 6px !important;
        margin-bottom: 12px !important;
    }

    .modal-uncropped-main-img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        border-radius: 6px !important;
    }

    .modal-thumbs-strip {
        gap: 6px !important;
        margin-bottom: 12px !important;
    }

    .modal-thumb {
        width: 48px !important;
        height: 36px !important;
        border-radius: 4px !important;
    }

    .modal-description p {
        font-size: 13.5px !important;
        line-height: 1.55 !important;
        color: #334155 !important;
    }

    .modal-actions-bar {
        margin-top: 14px !important;
    }

    .modal-actions-bar .button {
        padding: 12px 18px !important;
        font-size: 11px !important;
        width: 100% !important;
        text-align: center !important;
        border-radius: 8px !important;
    }
}

/* 4. Inside Nirmon Gallery Mobile Optimization (4th Image Fix) */
@media (max-width: 768px) {
    .life-mosaic-box {
        padding: 16px !important;
    }

    .mosaic-flex-container {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        height: auto !important;
    }

    .mosaic-card-tall-left,
    .mosaic-card-tall-right {
        min-height: 140px !important;
        height: 140px !important;
    }

    .mosaic-middle-block {
        grid-column: span 2 !important;
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        height: auto !important;
    }

    .mosaic-mid-top,
    .mosaic-mid-bottom {
        display: contents !important;
    }

    .mosaic-card {
        height: 130px !important;
        border-radius: 8px !important;
    }

    .mosaic-card img {
        object-fit: cover !important;
    }
}

/* 5. Full Photo Gallery Uncropped & Responsive Fix (5th Image Fix) */
.full-mosaic-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
}

@media (max-width: 992px) {
    .full-mosaic-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
    }
}

@media (max-width: 576px) {
    .full-mosaic-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}

/* Uncropped images in full photo gallery */
.full-mosaic-grid .mosaic-item {
    height: auto !important;
    min-height: 220px !important;
    background: #0f172a !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 14px !important;
    padding: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15) !important;
}

.full-mosaic-grid .mosaic-item img {
    width: 100% !important;
    height: auto !important;
    max-height: 380px !important;
    object-fit: contain !important;
    border-radius: 8px !important;
}

/* Gallery category filter tabs mobile pill scroll */
.life-tabs-row {
    display: flex !important;
    gap: 8px !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
    padding-bottom: 8px !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
}

.life-tabs-row::-webkit-scrollbar {
    display: none !important;
}

.life-tab-btn {
    flex-shrink: 0 !important;
    padding: 8px 16px !important;
    font-size: 12px !important;
    border-radius: 20px !important;
}

/* 6. Section Above Footer & Card Padding Across All Pages */
.section-above-footer,
.about-cta,
.cta,
.home-career,
.life-bottom-sunset-banner,
.project-related-section,
.services-cta {
    padding-top: 4.5rem !important;
    padding-bottom: 4.5rem !important;
}

.leader-card,
.home-service-card-5col,
.office-card-item,
.resource-grid article {
    padding: 24px !important;
    border-radius: 14px !important;
}

.vessel-card-light {
    padding: 0 !important;
    border-radius: 14px !important;
}

@media (max-width: 768px) {

    .leader-card,
    .home-service-card-5col,
    .office-card-item {
        padding: 18px !important;
    }
}

/* Team Leader LinkedIn Connection Buttons & Icons */
.leader-linkedin-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 18px !important;
    background: #0077b5 !important;
    color: #ffffff !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    transition: all 0.25s ease !important;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(0, 119, 181, 0.25) !important;
}

.leader-linkedin-btn:hover {
    background: #005582 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 119, 181, 0.4) !important;
}

.leader-linkedin-btn i {
    font-size: 16px !important;
    color: #ffffff !important;
    display: inline-block !important;
}

.leader-linkedin-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: #e0f2fe !important;
    color: #0077b5 !important;
    font-size: 16px !important;
    transition: all 0.25s ease !important;
    text-decoration: none !important;
}

.leader-linkedin-icon i {
    font-size: 16px !important;
    color: #0077b5 !important;
    display: inline-block !important;
}

.leader-linkedin-icon:hover {
    background: #0077b5 !important;
    color: #ffffff !important;
    transform: scale(1.1) !important;
}

.leader-linkedin-icon:hover i {
    color: #ffffff !important;
}

.career-loc {
    display: flex !important;
    align-items: center !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #475569 !important;
    margin: 4px 0 10px !important;
}

.career-loc i {
    font-size: 14px !important;
}

/* Custom Fine-Tuning for Stats, Client Logos & Footer Gaps */
.stat-card,
.home-stats-grid div {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.stat-card:hover,
.home-stats-grid div:hover {
    transform: translateY(-4px) !important;
    box-shadow: none !important;
    border-color: transparent !important;
}

.stat-card strong,
.home-stats-grid div strong {
    transition: color 0.3s ease, transform 0.3s ease !important;
}

.stat-card:hover strong,
.home-stats-grid div:hover strong {
    color: #0284c7 !important;
    transform: scale(1.06) !important;
}

/* Client Logos without White Cards & Uniform Gap */
.client-track {
    display: inline-flex !important;
    align-items: center !important;
    gap: 50px !important;
}

.client-logo-card {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: 70px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
    transition: transform 0.3s ease, opacity 0.3s ease !important;
    opacity: 0.88;
}

.client-logo-card:hover {
    transform: scale(1.08) !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    opacity: 1 !important;
}

.client-logo-card img {
    height: 52px !important;
    max-height: 52px !important;
    width: auto !important;
    max-width: 170px !important;
    object-fit: contain !important;
    display: block !important;
    filter: none !important;
    transition: transform 0.3s ease !important;
}

/* Footer Gap Adjustment & Social Links */
.footer-grid {
    gap: 15px !important;
}

.footer-social-link {
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    font-size: 15px !important;
    transition: all 0.25s ease !important;
    text-decoration: none !important;
}

.footer-social-link:hover {
    background: #0284c7 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    border-color: #0284c7 !important;
}

/* Center-align all CTA sections directly above the footer across all pages */
.about-cta,
.about-cta-inner,
.cta,
.home-career,
.services-cta,
.life-bottom-sunset-banner,
.section-above-footer,
.project-contact-prompt {
    text-align: center !important;
}

.about-cta-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

.about-cta h2,
.about-cta-inner h2,
.cta h2,
.services-cta h2,
.life-bottom-sunset-banner h2,
.section-above-footer h2 {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.about-cta p,
.about-cta-inner p,
.cta p,
.services-cta p,
.life-bottom-sunset-banner p,
.section-above-footer p {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 680px !important;
}

.about-cta-actions,
.cta-actions,
.services-cta-actions {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 16px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
}

/* 2 Project Columns in 1 Row on Projects Page & Larger Image Display */
.vessels-grid-light {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 28px !important;
}

@media (max-width: 768px) {
    .vessels-grid-light {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

.vessel-card-light .vessel-uncropped-frame {
    position: relative !important;
    background: #f8fafc !important;
    padding: 6px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 280px !important;
    max-height: 380px !important;
    width: 100% !important;
    cursor: pointer !important;
}

.vessel-card-light .vessel-img-uncropped {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 360px !important;
    object-fit: contain !important;
    display: block !important;
    transition: transform 0.3s ease !important;
}

/* Life Join Blueprint Section Light Mode Styles */
.life-join-blueprint-section {
    background: #f8fafc !important;
    color: #071d35 !important;
    border-top: 1px solid #e2e8f0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding: 4rem 0 !important;
}

.life-join-blueprint-inner {
    display: grid !important;
    grid-template-columns: 1fr 1.2fr !important;
    gap: 40px !important;
    align-items: center !important;
}

@media (max-width: 992px) {
    .life-join-blueprint-inner {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
}

.join-left-photo {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.join-left-photo img {
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: cover;
    display: block;
}

.join-right-content {
    text-align: left !important;
}

.join-right-content .eyebrow {
    color: #0284c7 !important;
}

.join-right-content h2 {
    color: #071d35 !important;
    font-size: 32px !important;
    font-weight: 800 !important;
    margin: 8px 0 12px !important;
    line-height: 1.25 !important;
}

.join-right-content p {
    color: #475569 !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    margin-bottom: 22px !important;
}

.join-actions {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    flex-wrap: wrap !important;
}

/* Location Change Map Animations */
@keyframes pinBounce {
    0% {
        transform: translateY(0) scale(1);
    }

    100% {
        transform: translateY(-8px) scale(1.1);
    }
}

.google-map-wrapper iframe,
.map-canvas-container iframe {
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.location-btn {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.location-btn:hover {
    transform: translateX(4px) !important;
}

.location-btn.active {
    box-shadow: 0 4px 18px rgba(2, 132, 199, 0.25) !important;
    border-color: #0284c7 !important;
}

/* Equal size and height for 4 location buttons below India in Mobile & Desktop views */
.map-location-selector {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
}

.map-location-selector .location-btn[data-loc="india"] {
    grid-column: span 2 !important;
}

.location-btn {
    display: flex !important;
    align-items: center !important;
    min-height: 72px !important;
    height: 100% !important;
    padding: 12px 14px !important;
    box-sizing: border-box !important;
}

.location-btn-info {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    overflow: hidden !important;
}

.location-btn-info strong {
    font-size: 13px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.location-btn-info small {
    font-size: 11px !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin-top: 2px !important;
}

/* Services Software Logos Grid (Uncarded & Clickable Lightbox) */
.software-logos-grid {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 30px 24px !important;
    align-items: center !important;
}

@media (max-width: 992px) {
    .software-logos-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

@media (max-width: 640px) {
    .software-logos-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px 16px !important;
    }
}

.software-logo-card {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
    height: 75px !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
}

.software-logo-card:hover {
    transform: translateY(-4px) scale(1.06) !important;
    box-shadow: none !important;
}

.software-logo-card img {
    max-height: 56px !important;
    max-width: 100% !important;
    object-fit: contain !important;
    filter: none !important;
    transition: transform 0.3s ease !important;
}

/* Dynamic Rich Text Content Formatting (Preserves Side-by-side Images & Editor Layouts) */
.dynamic-post-content {
    color: #0f172a;
    font-size: 16px;
    line-height: 1.75;
}

.dynamic-post-content img {
    display: inline-block !important;
    max-width: 100% !important;
    height: auto;
    vertical-align: top !important;
    margin: 6px 12px 12px 0 !important;
    border-radius: 8px;
}

.dynamic-post-content p {
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.dynamic-post-content p:has(> img) {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    gap: 16px !important;
}

.dynamic-post-content figure {
    display: inline-block !important;
    max-width: 100% !important;
    margin: 8px 12px 12px 0 !important;
}

.dynamic-post-content figure img {
    display: block !important;
    width: 100% !important;
}

/* Interactive Lightbox Modal with Gallery Prev/Next Navigation */
/* Fullscreen Carousel Lightbox Modal matching User Reference */
.nirmon-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: #05070a;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    overflow: hidden;
}

.nirmon-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

/* Top Navigation Bar */
.lightbox-header-bar {
    height: 54px;
    padding: 0 20px;
    background: rgba(10, 15, 24, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 20;
    gap: 10px;
    white-space: nowrap;
}

.lightbox-top-counter {
    color: #f1f5f9;
    font-size: 15px;
    font-weight: 700;
    font-family: var(--sans, system-ui, -apple-system, sans-serif);
    white-space: nowrap;
    flex-shrink: 0;
    min-width: max-content;
}

.lightbox-top-toolbar {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.lightbox-top-toolbar::-webkit-scrollbar {
    display: none;
}

.lightbox-tool-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    flex-shrink: 0;
}

.lightbox-tool-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

.lightbox-tool-btn.active {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.18);
}

.nirmon-lightbox-close {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 26px;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: 4px;
    flex-shrink: 0;
}

.nirmon-lightbox-close:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.18);
}

/* Center Stage Viewport */
.nirmon-lightbox-container {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow: hidden;
}

.lightbox-img-wrapper {
    max-width: 82vw;
    max-height: 66vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nirmon-lightbox-img {
    max-width: 100%;
    max-height: 66vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
    user-select: none;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Side Arrows */
.nirmon-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 15;
    backdrop-filter: blur(4px);
}

.nirmon-lightbox-nav:hover {
    background: #0284c7;
    border-color: #0284c7;
    transform: translateY(-50%) scale(1.1);
}

.nirmon-lightbox-prev {
    left: 24px;
}

.nirmon-lightbox-next {
    right: 24px;
}

@media (max-width: 768px) {
    .lightbox-header-bar {
        height: 48px;
        padding: 0 10px;
        gap: 6px;
    }

    .lightbox-top-counter {
        font-size: 13px;
    }

    .lightbox-top-toolbar {
        gap: 2px;
    }

    .lightbox-tool-btn {
        width: 30px;
        height: 30px;
        font-size: 13px;
        border-radius: 6px;
    }

    .nirmon-lightbox-close {
        width: 30px;
        height: 30px;
        font-size: 22px;
    }

    .lightbox-img-wrapper {
        max-width: 95vw;
        max-height: 68vh;
    }

    .nirmon-lightbox-img {
        max-height: 68vh;
    }

    .nirmon-lightbox-nav {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }

    .nirmon-lightbox-prev {
        left: 8px;
    }

    .nirmon-lightbox-next {
        right: 8px;
    }

    .nirmon-lightbox-caption {
        font-size: 11px;
        padding: 4px 12px;
        bottom: 8px;
        max-width: 92%;
    }

    .lightbox-thumbs-carousel {
        height: 66px;
        padding: 6px 10px;
    }

    .lightbox-thumb-item {
        flex: 0 0 60px;
        height: 44px;
    }
}

@media (max-width: 480px) {
    #lightbox-rotate-ccw,
    #lightbox-flip-v,
    #lightbox-fullscreen-toggle {
        display: none !important;
    }
}

.nirmon-lightbox-caption {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.85);
    color: #f8fafc;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 18px;
    border-radius: 20px;
    backdrop-filter: blur(6px);
    max-width: 80%;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Bottom Thumbnail Carousel Strip matching User Reference Screenshot */
.lightbox-thumbs-carousel {
    height: 86px;
    background: rgba(10, 15, 24, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    padding: 8px 16px;
    overflow-x: auto;
    scrollbar-width: thin;
    z-index: 20;
}

.lightbox-thumbs-track {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
}

.lightbox-thumb-item {
    flex: 0 0 86px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: #0f172a;
    padding: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0.65;
}

.lightbox-thumb-item:hover {
    opacity: 1;
    border-color: #38bdf8;
}

.lightbox-thumb-item.active {
    opacity: 1;
    border-color: #ef4444; /* Distinct red active border frame matching user mockup screenshot! */
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.4);
}

.lightbox-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Ultra-Attractive Event Photo Gallery Styling */
.event-story-gallery-wrap {
    /* margin-top: 48px; */
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
}

.gallery-header-bar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.gallery-eyebrow {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--cyan, #0284c7);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.gallery-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--navy, #071d35);
    margin: 0;
    line-height: 1.2;
}

.gallery-count-badge {
    background: #f0f9ff;
    color: #0284c7;
    border: 1px solid #bae6fd;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Full Width Event & Story Page Container */
.single-article-full {
    width: 100% !important;
    max-width: var(--container, 1180px) !important;
    margin: 0 auto !important;
}

.single-article-full .single-article-body {
    width: 100% !important;
    max-width: 100% !important;
}

/* Mosaic Gallery Grid (Uncarded Full Image Display) */
.event-gallery-mosaic-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    grid-auto-rows: 320px !important;
    gap: 24px !important;
    width: 100% !important;
}

@media (max-width: 992px) {
    .event-gallery-mosaic-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-auto-rows: 280px !important;
    }
}

@media (max-width: 640px) {
    .event-gallery-mosaic-grid {
        grid-template-columns: 1fr !important;
        grid-auto-rows: 240px !important;
    }
}

@media (min-width: 768px) {
    .gallery-card-featured {
        grid-column: span 2 !important;
        grid-row: span 2 !important;
    }
}

.gallery-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(7, 29, 53, 0.12);
    background: #071d35 !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 45px rgba(7, 29, 53, 0.22);
}

.gallery-card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #071d35 !important;
}

.gallery-card-inner img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    display: block !important;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.gallery-card:hover .gallery-card-inner img {
    transform: scale(1.04) !important;
}

/* Hover Gradient Overlay & Zoom Badge */
.gallery-hover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 29, 53, 0) 0%, rgba(7, 29, 53, 0.2) 40%, rgba(7, 29, 53, 0.88) 100%);
    opacity: 0.85;
    transition: opacity 0.35s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px;
}

.gallery-card:hover .gallery-hover-overlay {
    opacity: 1;
}

.gallery-zoom-badge {
    align-self: flex-end;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.gallery-card:hover .gallery-zoom-badge {
    opacity: 1;
    transform: scale(1);
}

.gallery-hover-caption {
    margin-top: auto;
    color: #ffffff;
}

.gallery-hover-caption span {
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.35;
    color: #ffffff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* Careers Workplace Photos Responsive Styles */
@media (max-width: 768px) {
    .careers-photos-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    .careers-photos-grid figure img {
        height: 240px !important;
    }
}

/* 3D Coverflow Gallery Component for Project Detail View */
.coverflow-gallery-section {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin-bottom: 24px;
    box-shadow: none;
    overflow: visible;
    position: relative;
}

.coverflow-header {
    text-align: center;
    margin-bottom: 14px;
}

.coverflow-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.3px;
    font-family: var(--sans, system-ui, -apple-system, sans-serif);
}

.coverflow-stage {
    position: relative;
    width: 100%;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

@media (max-width: 768px) {
    .coverflow-stage {
        height: 320px;
    }
}

.coverflow-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.coverflow-slide {
    position: absolute;
    width: 100%;
    max-width: 880px;
    height: 100%;
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
    cursor: pointer;
    user-select: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(0.96);
    z-index: 1;
}

.coverflow-card {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #071d35;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.coverflow-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 16px;
    background: #071d35;
}

/* Single Picture View: Only active slide is visible */
.coverflow-slide.active {
    transform: translateX(0) scale(1);
    z-index: 10;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.coverflow-slide.prev-1,
.coverflow-slide.prev-2,
.coverflow-slide.next-1,
.coverflow-slide.next-2 {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(0.96);
    z-index: 1;
}

/* Bottom Cyan Navigation Controls & Counter matching mockup */
.coverflow-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 16px;
}

.coverflow-btn {
    background: transparent;
    border: none;
    color: #38bdf8;
    /* Cyan color matching user reference mockup */
    font-size: 20px;
    cursor: pointer;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border-radius: 50%;
}

.coverflow-btn:hover {
    color: #0284c7;
    transform: scale(1.25);
}

.coverflow-counter {
    font-size: 15px;
    font-weight: 700;
    color: #475569;
    letter-spacing: 0.5px;
    min-width: 60px;
    text-align: center;
    font-family: var(--sans, system-ui, -apple-system, sans-serif);
}