:root {
    --navy: #071a50;
    --navy-2: #102865;
    --orange: #f58216;
    --orange-dark: #d76300;
    --ink: #14213d;
    --muted: #5c6578;
    --line: #dfe3eb;
    --pale: #f4f6fa;
    --white: #ffffff;
    --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: 'Manrope', sans-serif; font-size: 16px; line-height: 1.7; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }
h1, h2, h3 { margin: 0; color: var(--navy); font-family: 'Source Serif 4', serif; line-height: 1.12; }
h1 { font-size: clamp(3rem, 6.4vw, 6rem); letter-spacing: -.04em; }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); letter-spacing: -.03em; }
h3 { font-size: 1.45rem; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { padding: 100px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; transform: translateY(-150%); background: var(--white); padding: 10px 16px; }
.skip-link:focus { transform: none; }
.eyebrow { margin-bottom: 16px; color: var(--orange-dark); font-size: .78rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow.light { color: #ffad55; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid rgba(7, 26, 80, .1); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; }
.brand img { width: 190px; height: 68px; object-fit: contain; }
.primary-nav { display: flex; align-items: center; gap: 28px; color: #24314f; font-size: .9rem; font-weight: 700; }
.primary-nav > a { padding: 29px 0 25px; border-bottom: 3px solid transparent; }
.primary-nav > a.active { color: var(--orange-dark); border-color: var(--orange); }
.primary-nav .nav-cta { padding: 13px 19px; color: var(--white); background: var(--navy); border: 0; border-radius: 3px; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 10px; }
.menu-toggle span:not(.sr-only) { display: block; width: 26px; height: 2px; margin: 5px; background: var(--navy); }

.hero { position: relative; min-height: calc(100vh - 82px); display: grid; align-items: center; color: var(--white); overflow: hidden; background: var(--navy); }
.hero-image { position: absolute; inset: 0; background: url('../images/hero-consulting.jpg') center/cover no-repeat; transform: scale(1.02); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 19, 59, .96) 0%, rgba(5, 19, 59, .82) 48%, rgba(5, 19, 59, .22) 100%); }
.hero-content { position: relative; z-index: 2; padding: 110px 0 170px; }
.hero h1 { max-width: 800px; color: var(--white); }
.hero h1 span { color: var(--orange); }
.hero-copy { max-width: 650px; margin: 28px 0 36px; color: #edf1fa; font-size: 1.16rem; }
.button-row { display: flex; gap: 14px; flex-wrap: wrap; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 13px 22px; border: 1px solid transparent; border-radius: 3px; font-size: .93rem; font-weight: 800; cursor: pointer; }
.button-primary { color: var(--white); background: var(--orange-dark); }
.button-primary:hover { background: #b95500; }
.button-ghost { color: var(--white); border-color: rgba(255, 255, 255, .65); }
.button-white { color: var(--navy); background: var(--white); }
.hero-proof { position: absolute; right: 0; bottom: 0; left: 0; z-index: 3; background: rgba(4, 17, 54, .88); border-top: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(8px); }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.proof-grid > div { padding: 25px 30px; border-right: 1px solid rgba(255, 255, 255, .16); }
.proof-grid strong, .proof-grid span { display: block; }
.proof-grid strong { color: var(--orange); font-size: .98rem; }
.proof-grid span { color: #dbe2f2; font-size: .82rem; }

.split-intro { display: grid; grid-template-columns: .92fr 1.08fr; gap: 100px; align-items: start; }
.split-intro > div:last-child { padding-top: 36px; color: var(--muted); font-size: 1.1rem; }
.text-link { display: inline-flex; gap: 12px; align-items: center; margin-top: 12px; color: var(--navy); font-size: .9rem; font-weight: 800; }
.text-link span { color: var(--orange-dark); font-size: 1.2rem; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(5px); }
.services-section { background: var(--pale); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 44px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--line); gap: 1px; border: 1px solid var(--line); }
.service-card { min-height: 320px; display: flex; flex-direction: column; padding: 34px; background: var(--white); transition: transform .2s, box-shadow .2s; }
.service-card:hover { position: relative; z-index: 2; transform: translateY(-4px); box-shadow: 0 16px 40px rgba(7, 26, 80, .12); }
.service-number { color: var(--orange-dark); font-size: .76rem; font-weight: 800; }
.service-card h3 { margin: 44px 0 14px; }
.service-card p { color: var(--muted); font-size: .92rem; }
.service-card a { margin-top: auto; color: var(--navy); font-size: .85rem; font-weight: 800; }
.service-card a span { color: var(--orange-dark); }
.value-section { padding: 0; background: var(--navy); }
.value-grid { width: min(100%, 1440px); display: grid; grid-template-columns: 1fr 1fr; }
.value-image img { width: 100%; height: 100%; min-height: 690px; object-fit: cover; }
.value-content { padding: 90px clamp(35px, 6vw, 95px); }
.value-content h2 { max-width: 650px; color: var(--white); }
.value-list { margin-top: 44px; }
.value-list > div { display: grid; grid-template-columns: 48px 1fr; gap: 22px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .18); }
.value-list span { color: var(--orange); font-size: .8rem; font-weight: 800; }
.value-list p { margin: 0; color: #dfe6f5; }
.client-strip { text-align: center; }
.client-names { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 44px 0 28px; background: var(--line); border: 1px solid var(--line); }
.client-names span { min-height: 105px; display: grid; place-items: center; padding: 20px; background: var(--white); color: var(--navy); font-weight: 800; }
.cta-band { padding: 70px 0; color: var(--white); background: var(--orange-dark); }
.cta-grid { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.cta-grid h2 { max-width: 760px; color: var(--white); }

.page-hero { padding: 105px 0 90px; color: var(--white); background: linear-gradient(125deg, #061746 0%, #102865 72%, #18357c 100%); }
.page-hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 90px; }
.page-hero h1 { color: var(--white); font-size: clamp(2.8rem, 5.4vw, 5.2rem); }
.page-hero-grid > p { margin: 0 0 8px; color: #dfe6f5; font-size: 1.08rem; }
.content-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 90px; align-items: center; }
.content-copy p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.content-copy h2 { margin-bottom: 26px; }
.rounded-image { width: 100%; min-height: 520px; object-fit: cover; border-radius: 4px; }
.pale-section { background: var(--pale); }
.three-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.three-cards article { min-height: 270px; padding: 34px; background: var(--white); border-top: 5px solid var(--orange); }
.three-cards span { color: var(--orange-dark); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.three-cards h2 { margin-top: 40px; font-size: 2rem; }
.values-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.values-grid div { padding: 26px 10px; border-bottom: 1px solid var(--line); }
.values-grid span { color: var(--orange-dark); font-size: .74rem; font-weight: 800; }
.values-grid h3 { margin-top: 8px; }

.service-list { border-top: 1px solid var(--line); }
.service-list article { display: grid; grid-template-columns: 70px 1fr 130px; gap: 30px; align-items: start; padding: 36px 8px; border-bottom: 1px solid var(--line); }
.service-list article > span { color: var(--orange-dark); font-size: .8rem; font-weight: 800; }
.service-list h2 { font-size: 2rem; }
.service-list p { max-width: 700px; margin-top: 10px; color: var(--muted); }
.service-list a { color: var(--navy); font-size: .84rem; font-weight: 800; }
.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.service-detail > div:first-child > p:not(.eyebrow) { margin-top: 26px; color: var(--muted); }
.deliverables { border-top: 1px solid var(--line); }
.deliverables div { display: grid; grid-template-columns: 32px 1fr; gap: 16px; padding: 21px 0; border-bottom: 1px solid var(--line); }
.deliverables span { color: var(--orange-dark); font-weight: 800; }
.deliverables p { margin: 0; }
.client-grid, .compliance-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.client-grid article, .compliance-grid article { min-height: 150px; padding: 30px; background: var(--white); }
.client-grid span, .compliance-grid span { color: var(--orange-dark); font-size: .75rem; font-weight: 800; }
.client-grid h2, .compliance-grid h2 { margin-top: 22px; font-size: 1.45rem; }
.content-note { margin: 28px 0 0; padding-left: 16px; color: var(--muted); border-left: 3px solid var(--orange); font-size: .88rem; }
.contact-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; }
.contact-details dl { margin-top: 44px; }
.contact-details dl div { padding: 20px 0; border-top: 1px solid var(--line); }
.contact-details dt { color: var(--muted); font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.contact-details dd { margin: 5px 0 0; color: var(--navy); font-weight: 700; }
.contact-form { padding: 40px; background: var(--pale); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form label { display: block; margin-bottom: 20px; color: var(--navy); font-size: .86rem; font-weight: 800; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; margin-top: 7px; padding: 13px 14px; color: var(--ink); background: var(--white); border: 1px solid #cbd1dd; border-radius: 2px; font: inherit; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 3px solid rgba(245, 130, 22, .22); border-color: var(--orange-dark); }
.contact-form small { display: block; margin-top: 4px; color: #a11a1a; }
.alert { margin-bottom: 22px; padding: 13px 16px; border-radius: 2px; font-size: .9rem; }
.alert.success { color: #185d31; background: #e7f6ec; }
.alert.error { color: #8f1e1e; background: #fae8e8; }

.site-footer { padding: 75px 0 25px; color: #d8e0f0; background: #041036; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 50px; }
.footer-logo { width: 180px; margin-bottom: 22px; background: var(--white); }
.footer-grid p { color: #aebad1; font-size: .88rem; }
.footer-grid h2 { margin-bottom: 18px; color: var(--white); font: 800 .8rem 'Manrope', sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.footer-grid a { display: block; margin: 9px 0; color: #c7d0e2; font-size: .88rem; }
.footer-grid a:hover { color: var(--orange); }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 60px; padding-top: 22px; color: #8997b2; border-top: 1px solid rgba(255, 255, 255, .13); font-size: .76rem; }

@media (max-width: 980px) {
    .section { padding: 76px 0; }
    .menu-toggle { display: block; }
    .primary-nav { position: fixed; inset: 82px 0 0; display: none; align-items: stretch; padding: 25px 20px; background: var(--white); }
    .primary-nav.open { display: block; }
    .primary-nav > a { display: block; padding: 15px 4px; border-bottom: 1px solid var(--line); }
    .primary-nav .nav-cta { margin-top: 18px; padding: 15px; text-align: center; }
    .hero { min-height: 790px; }
    .hero-content { padding-bottom: 230px; }
    .proof-grid { grid-template-columns: 1fr; padding: 8px 0; }
    .proof-grid > div { padding: 10px 0; border: 0; }
    .split-intro, .content-grid, .values-layout, .service-detail, .contact-layout { grid-template-columns: 1fr; gap: 50px; }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .value-grid { grid-template-columns: 1fr; }
    .value-image img { min-height: 420px; max-height: 520px; }
    .page-hero-grid { grid-template-columns: 1fr; gap: 35px; }
    .three-cards { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
    .footer-grid > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 650px) {
    .container { width: min(calc(100% - 28px), var(--max)); }
    .nav-wrap { min-height: 72px; }
    .brand img { width: 150px; height: 58px; }
    .primary-nav { top: 72px; }
    .hero { min-height: 760px; }
    .hero-content { padding-top: 80px; }
    .hero-overlay { background: rgba(5, 19, 59, .86); }
    .hero h1 { font-size: 3.2rem; }
    .button-row, .button-row .button { width: 100%; }
    .section-heading { align-items: start; }
    .desktop-link { display: none; }
    .service-grid, .client-names, .client-grid, .compliance-grid, .form-grid { grid-template-columns: 1fr; }
    .service-card { min-height: 270px; }
    .cta-grid { align-items: stretch; flex-direction: column; }
    .page-hero { padding: 80px 0 65px; }
    .service-list article { grid-template-columns: 42px 1fr; }
    .service-list article > a { grid-column: 2; }
    .values-grid { grid-template-columns: 1fr; }
    .contact-form { padding: 25px 18px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-grid > div:last-child { grid-column: auto; }
    .footer-bottom { align-items: start; flex-direction: column; gap: 8px; }
}

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

/* Dynamic Director section */
.director-section { background: var(--white); }
.director-grid { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr); align-items: start; gap: clamp(2rem, 6vw, 5rem); }
.director-image-wrap { display: flex; justify-content: center; }
.director-photo { display: block; width: 100%; max-width: 440px; aspect-ratio: 3 / 4; object-fit: cover; object-position: top center; border-radius: 18px; box-shadow: 0 24px 60px rgba(5, 23, 67, .18); }
.director-content h2 { margin-bottom: .75rem; }
.director-title { margin: 0; color: var(--orange-dark); font-weight: 700; }
.director-message { margin-top: 1.5rem; color: var(--muted); line-height: 1.8; }
.company-tagline { margin-top: 1.5rem; color: var(--orange-dark); font-size: 1.1rem; font-weight: 700; }

/* Front-end editing controls for authenticated administrators */
.admin-editable-section { position: relative; }
.admin-edit-button { position: absolute; top: 1.25rem; right: 1.25rem; z-index: 50; display: inline-flex; align-items: center; gap: .4rem; padding: .55rem .8rem; color: var(--white); background: var(--orange-dark); border: 2px solid var(--white); border-radius: 999px; box-shadow: 0 8px 24px rgba(5, 23, 67, .2); font: 700 .78rem/1 'Manrope', sans-serif; text-decoration: none; transition: transform .2s ease, background-color .2s ease; }
.admin-edit-button:hover { color: var(--white); background: var(--navy); transform: translateY(-2px); }
.admin-edit-button svg { width: 16px; height: 16px; flex: 0 0 16px; }

@media (max-width: 760px) {
    .director-grid { grid-template-columns: 1fr; }
    .director-photo { max-width: 360px; }
    .admin-edit-button { top: .75rem; right: .75rem; padding: .55rem; }
    .admin-edit-button span { display: none; }
}
.site-footer {
    position: relative;
}

.footer-edit-button {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 2px solid #ffffff;
    border-radius: 999px;
    background: #dc6900;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 24px rgb(0 0 0 / 18%);
}

.footer-edit-button:hover {
    background: #f58220;
    color: #ffffff;
}
.footer-logo {
    display: block;
    width: auto;
    max-width: 225px;
    max-height: 120px;
    object-fit: contain;
}

.footer-contact p {
    margin: 0;
    white-space: normal;
}
/* Leadership pages */
.leadership-group + .leadership-group {
    padding-top: 0;
}

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

.leadership-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e4e8f0;
    border-radius: 18px;
    box-shadow: 0 16px 40px rgb(6 27 76 / 8%);
}

.leadership-photo-link {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: #edf1f7;
}

.leadership-photo-link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 300ms ease;
}

.leadership-card:hover .leadership-photo-link img {
    transform: scale(1.025);
}

.leadership-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    min-height: 360px;
    place-items: center;
    background: #0b225c;
    color: #ffffff;
    font-family: "Source Serif 4", serif;
    font-size: 80px;
    font-weight: 700;
}

.leadership-card-content {
    position: relative;
    padding: 28px;
}

.leadership-position {
    margin-bottom: 8px;
    color: #e66f00;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.leadership-card-content h3 {
    margin-bottom: 14px;
    color: #071a4f;
    font-size: 28px;
}

.leadership-card-content > p:not(.leadership-position) {
    margin-bottom: 20px;
}

.leadership-edit-link {
    display: inline-flex;
    margin-top: 18px;
    padding: 8px 13px;
    border-radius: 999px;
    background: #e66f00;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.leadership-edit-link:hover {
    background: #071a4f;
    color: #ffffff;
}

.leadership-profile {
    display: grid;
    grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
    gap: 70px;
    align-items: start;
}

.leadership-profile-image {
    overflow: hidden;
    border-radius: 20px;
    background: #edf1f7;
    box-shadow: 0 20px 50px rgb(6 27 76 / 12%);
}

.leadership-profile-image img {
    display: block;
    width: 100%;
    height: auto;
}

.leadership-profile-content h2 {
    margin-bottom: 12px;
}

.leadership-profile-intro {
    color: #071a4f;
    font-size: 20px;
    font-weight: 600;
}

.empty-leadership {
    text-align: center;
}

@media (max-width: 960px) {
    .leadership-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .leadership-profile {
        grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
        gap: 40px;
    }
}

@media (max-width: 680px) {
    .leadership-grid,
    .leadership-profile {
        grid-template-columns: 1fr;
    }

    .leadership-placeholder {
        min-height: 300px;
    }

    .leadership-profile-image {
        max-width: 440px;
    }
}

/* Leadership sizing correction */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 360px));
    justify-content: center;
    gap: 32px;
}

.leadership-card {
    width: 100%;
    max-width: 360px;
}

.leadership-photo-link {
    display: block;
    width: 100%;
    height: 420px;
    overflow: hidden;
    background: #edf1f7;
}

.leadership-photo-link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.leadership-profile-image {
    width: 100%;
    max-width: 420px;
}

@media (max-width: 680px) {
    .leadership-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .leadership-card {
        max-width: 420px;
        margin-inline: auto;
    }
}

/* Client logos and client directory */
.client-logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    margin: 36px 0 28px;
}

.client-logo-card {
    display: flex;
    min-height: 190px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    border: 1px solid #e5e9f1;
    border-radius: 16px;
    background: #ffffff;
    text-align: center;
    box-shadow: 0 12px 30px rgb(6 27 76 / 7%);
}

.client-logo-card a {
    color: inherit;
    text-decoration: none;
}

.client-logo-image {
    display: flex;
    width: 100%;
    height: 95px;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.client-logo-image img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 90px;
    object-fit: contain;
}

.client-logo-image span {
    color: #071a4f;
    font-size: 18px;
    font-weight: 800;
}

.client-logo-card h3 {
    margin: 0;
    color: #071a4f;
    font-family: "Manrope", sans-serif;
    font-size: 15px;
    line-height: 1.4;
}

.client-directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 26px;
}

.client-directory-card {
    display: flex;
    min-height: 250px;
    flex-direction: column;
    padding: 28px;
    border: 1px solid #e5e9f1;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgb(6 27 76 / 7%);
}

.client-directory-card .client-logo-image {
    height: 110px;
}

.client-directory-card h2 {
    margin: 0 0 10px;
    color: #071a4f;
    font-size: 22px;
}

.client-sector {
    margin-bottom: 10px;
    color: #e66f00;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.client-directory-card p {
    margin-bottom: 18px;
}

.client-directory-card .text-link {
    margin-top: auto;
}

@media (max-width: 640px) {
    .client-logo-grid,
    .client-directory-grid {
        grid-template-columns: 1fr;
    }
}

/* Consultation form button */

.button.consultation-button {
    background-color: #06164d;
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 700;
    border: none;
    display: inline-block;
    cursor: pointer;
    transition: all .3s ease;
}

.button.consultation-button:hover {
    background-color: #e87500;
    color: #ffffff;
}


.contact-form h2 {
    font-size: 42px;
    line-height: 1.1;
    margin-bottom: 10px;
}


.form-note {
    font-size: 15px;
    margin-top: 20px;
    margin-bottom: 20px;
    color: #334155;
}
.contact-form h3 {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 12px;
}
/* Compliance Section */

.compliance-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}


.compliance-logo {
    width: 90px;
    height: 90px;
    object-fit: contain;
    margin-bottom: 20px;
}


.compliance-status {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
}


.compliance-status.valid {
    background: #dcfce7;
    color: #166534;
}


.compliance-status.expired {
    background: #fee2e2;
    color: #991b1b;
}


.compliance-status.pending-renewal {
    background: #fef3c7;
    color: #92400e;
}


.expiry-warning {
    font-weight: 600;
    margin-top: 10px;
}


.expiry-warning.warning {
    color: #b45309;
}


.expiry-warning.expired {
    color: #b91c1c;
}


.compliance-certificate-button {
    display: inline-block;
    margin-top: 15px;
    background: #06164d;
    color: white;
    padding: 10px 22px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
}


.compliance-certificate-button:hover {
    background: #e87500;
    color: white;
}
.home-events-section {
    text-align: center;
}

.home-events-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 36px;
    text-align: center;
}

.home-events-heading .eyebrow,
.home-events-heading h2 {
    text-align: center;
}

.home-events-heading .text-link {
    justify-content: center;
    margin-top: 14px;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(min(100%, 420px), 420px)
    );
    justify-content: center;
    gap: 24px;
}

.event-card {
    width: 100%;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-align: center;
}

.event-card img {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.event-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    text-align: center !important;
}

.event-card-content .event-date,
.event-card-content h2,
.event-card-content h3,
.event-card-content p {
    width: 100%;
    text-align: center !important;
}

.event-card-content .event-date {
    color: #d76300;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
}

.event-card-content h3 {
    margin: 10px 0;
    color: #071a50;
    font-size: 1.3rem;
}

.event-card-content .text-link {
    justify-content: center;
    margin-top: 12px;
}

.no-events {
    text-align: center;
}

@media (max-width: 600px) {
    .event-card img {
        height: 200px;
    }
}
/* =====================================================
   NEWS AND INSIGHTS
===================================================== */

.home-news-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

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

.news-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, .08);
}

.news-card > img {
    display: block;
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.news-card-content {
    padding: 22px;
}

.news-type {
    margin: 0 0 8px;
    color: #d76300;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.news-date {
    margin: 0 0 10px;
    color: #6b7280;
    font-size: .85rem;
}

.news-card h2,
.news-card h3 {
    margin: 0 0 12px;
    color: #071b55;
    line-height: 1.3;
}

.news-card h2 {
    font-size: 1.25rem;
}

.news-card h3 {
    font-size: 1.15rem;
}

.news-card p {
    line-height: 1.6;
}

.news-summary {
    max-width: 760px;
    margin: 20px 0;
    font-size: 1.1rem;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .home-news-heading {
        display: block;
    }

    .home-news-heading .text-link {
        display: inline-block;
        margin-top: 12px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }
}
/* =====================================================
   CENTERED NEWS AND INSIGHTS SECTION
===================================================== */

.home-news-heading {
    display: block;
    margin-bottom: 30px;
    text-align: center;
}

.home-news-heading h2 {
    margin-bottom: 12px;
}

.home-news-heading .text-link {
    display: inline-block;
}

.home-news-section .news-grid {
    grid-template-columns: repeat(3, minmax(280px, 360px));
    justify-content: center;
}

.home-news-section .news-grid:has(.news-card:only-child) {
    grid-template-columns: minmax(280px, 420px);
    justify-content: center;
}

@media (max-width: 900px) {
    .home-news-section .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .home-news-section .news-grid {
        grid-template-columns: 1fr;
    }
}
.footer-child-link {
    padding-left: 12px;
    font-size: .92rem;
    opacity: .85;
}
.cms-news-group {
    margin-top: 72px;
}

.cms-news-group > .eyebrow,
.cms-news-group > h2 {
    text-align: center;
}

.cms-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 28px;
}

.cms-news-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
}

.cms-news-card > img {
    display: block;
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.cms-news-card-content {
    padding: 22px;
}

.cms-news-card h3 {
    margin: 8px 0 12px;
}

.cms-news-card h3 a {
    color: #06164d;
}

.publication-pdf-link {
    display: block;
    margin-top: 12px;
    color: #d76300;
    font-weight: 700;
}

.publication-download-wrapper {
    margin-top: 28px;
}

.publication-download {
    display: inline-block;
}

@media (max-width: 900px) {
    .cms-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .cms-news-grid {
        grid-template-columns: 1fr;
    }
}
/* =====================================================
   SERVICE CATEGORY CARDS
===================================================== */

.service-category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.service-category-card {
    position: relative;
    padding: 42px;
    border: 1px solid #dfe4ec;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(7, 29, 77, 0.08);
}

.service-category-card.industrial {
    border-color: #0b245c;
    background: #071d4d;
    color: #ffffff;
}

.service-category-number {
    display: block;
    margin-bottom: 38px;
    color: #ec7000;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.service-category-card h2 {
    margin-bottom: 18px;
}

.service-category-card p:not(.eyebrow) {
    margin-bottom: 28px;
    line-height: 1.75;
}

.service-category-card.industrial .text-link {
    color: #ffffff;
}

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

    .service-category-card {
        padding: 30px;
    }
}
/* =====================================================
   ADMIN-MANAGED SERVICE CATEGORY IMAGES
===================================================== */

.service-category-card {
    padding: 0;
    overflow: hidden;
}

.service-category-card-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #e9edf5;
}

.service-category-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.service-category-card:hover .service-category-card-image img {
    transform: scale(1.04);
}

.service-category-card-body {
    padding: 38px;
}

.service-category-hero-side {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.service-category-hero-side img {
    display: block;
    width: 100%;
    max-height: 290px;
    border-radius: 4px;
    object-fit: cover;
}

.service-category-hero-side p {
    margin: 0;
}

.service-category-introduction {
    padding-bottom: 0;
}

.service-category-introduction .cms-content {
    max-width: 900px;
    font-size: 1.08rem;
    line-height: 1.8;
}

.service-category-empty {
    padding: 36px;
    border: 1px solid #dce1eb;
    background: #f8f9fb;
}

@media (max-width: 700px) {
    .service-category-card-image {
        height: 220px;
    }

    .service-category-card-body {
        padding: 28px;
    }

    .service-category-hero-side img {
        max-height: 240px;
    }
}
.service-category-card.industrial h2,
.service-category-card.industrial p,
.service-category-card.industrial .text-link {
    color: #ffffff;
}

.service-category-card.industrial .eyebrow,
.service-category-card.industrial .service-category-number,
.service-category-card.industrial .text-link span {
    color: #f58220;
}
/* =====================================================
   ADMIN-MANAGED SERVICE CATEGORIES
===================================================== */

.service-category-card {
    padding: 0;
    overflow: hidden;
}

.service-category-card-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #e9edf5;
}

.service-category-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.service-category-card:hover .service-category-card-image img {
    transform: scale(1.04);
}

.service-category-card-body {
    padding: 38px;
}

.service-category-card.industrial h2,
.service-category-card.industrial p,
.service-category-card.industrial .text-link {
    color: #ffffff;
}

.service-category-card.industrial .eyebrow,
.service-category-card.industrial .service-category-number,
.service-category-card.industrial .text-link span {
    color: #f58220;
}

@media (max-width: 700px) {
    .service-category-card-image {
        height: 220px;
    }

    .service-category-card-body {
        padding: 28px;
    }
}