:root {
    --navy: #213C65;
    --navy-dark: #172d4d;
    --blue: #31547f;
    --ink: #182333;
    --muted: #667386;
    --paper: #fff;
    --soft: #f3f6fa;
    --line: #e2e8f0;
    --font-body: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
    --font-display:  "Source Serif 4", Georgia, "Times New Roman", serif;

}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px
}

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

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

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

.topbar {
    background: var(--navy);
    color: #fff;
    font-size: 12px;
    letter-spacing: .02em
}

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

.topbar a {
    opacity: .94
}

.topbar a:hover {
    opacity: 1;
    text-decoration: underline
}

.top-icon {
    margin-right: 8px;
    color: #d8e3f2
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(33, 60, 101, .1);
    transition: box-shadow .25s
}

.site-header.scrolled {
    box-shadow: 0 8px 28px rgba(22, 42, 69, .1)
}

.nav-wrap {
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px
}

.brand {
    display: flex;
    align-items: center;
    flex-shrink: 0
}

.brand img {
    display: block;
    width: 255px;
    height: auto;
    max-height: 85px;
    object-fit: contain
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-left: auto
}

.nav-link {
    font: 600 13px var(--font);
    color: #24344b;
    background: none;
    border: 0;
    padding: 12px 0;
    cursor: pointer;
    transition: color .2s
}

.nav-link:hover,
.nav-link.active {
    color: var(--navy)
}

.nav-item {
    position: relative
}

.chevron {
    font-size: 16px;
    margin-left: 4px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 15px 20px;
    font: 700 12px var(--font);
    letter-spacing: .015em;
    transition: transform .2s, background .2s;
    min-height: 50px
}

.btn:hover {
    transform: translateY(-2px)
}

.btn-primary {
    background: #213C65;
    color: #fff;
    border-radius: 50px;
    padding:12px
}

.btn-primary:hover {
    background: #213C65;
    color: #fff;
}

.btn span {
    font-size: 18px;
    font-weight: 400;
    margin-left: -15px;
}

.header-cta {
    white-space: nowrap;
        padding: 0px 9px;
    min-height: 46px
}

.mobile-consult,
.menu-toggle {
    display: none
}

.mega-menu {
    position: absolute;
    top: calc(100% + 22px);
    left: 50%;
    transform: translate(-50%, 10px);
    width: min(850px, 90vw);
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 30px;
    padding: 30px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 22px 55px rgba(21, 42, 70, .16);
    opacity: 0;
    visibility: hidden;
    transition: .22s
}

.has-dropdown:hover .mega-menu,
.has-dropdown:focus-within .mega-menu,
.has-dropdown.open .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0)
}

.mega-column {
    display: flex;
    flex-direction: column;
    gap: 9px;
    align-items: flex-start
}

.mega-column h3 {
    margin: 0 0 8px;
    color: var(--navy);
    font-size: 13px
}

.mega-column a {
    font-size: 12px;
    color: #526176;
    line-height: 1.45
}

.mega-column a:hover {
    color: var(--navy);
    text-decoration: underline
}

.menu-note {
    margin-top: 14px;
    padding: 13px;
    background: var(--soft);
    color: var(--navy);
    font-size: 11px;
    line-height: 1.5
}

.hero {
    position: relative;
    overflow: hidden;
    background: #f5f7fa;
    min-height: 650px;
    display: flex;
    align-items: center
}

.hero-shape {
    position: absolute;
    pointer-events: none
}

.hero-shape-one {
    width: 650px;
    height: 650px;
    border-radius: 50%;
    background: #e8edf4;
    right: -180px;
    top: -250px
}

.hero-shape-two {
    width: 460px;
    height: 460px;
    border: 1px solid #d5deea;
    border-radius: 50%;
    right: 100px;
    bottom: -320px
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 70px;
    padding-top: 66px;
    padding-bottom: 76px
}

.eyebrow,
.section-kicker {
    font-size: 10px;
    letter-spacing: .18em;
    font-weight: 800;
    color: #213C65;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px
}

.eyebrow span {
    width: 25px;
    height: 2px;
    background: var(--navy)
}

h1,
h2,
h3,
p {
    margin-top: 0
}

.hero h1 {
    font-size: clamp(42px, 5.3vw, 68px);
    line-height: 1.08;
    letter-spacing: -.055em;
    font-weight: 500;
    margin: 24px 0 22px;
    color: #17283f
}

.hero h1 em,
h2 em {
    font-style: normal;
    color: #1A2B42;
}

.hero-lead {
    max-width: 520px;
    color: #647286;
    font-size: 15px;
    line-height: 1.85;
    margin-bottom: 28px
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 27px
}

.text-link,
.underlined-link {
    font-size: 12px;
    font-weight: 700;
    color: var(--navy)
}

.text-link span,
.underlined-link span {
    margin-left: 8px;
    font-size: 17px
}

.hero-points {
    display: flex;
    gap: 26px;
    margin-top: 54px;
    padding-top: 22px;
    border-top: 1px solid #dce3ec
}

.hero-points div {
    display: flex;
    gap: 10px;
    align-items: flex-start
}

.hero-points b {
    font-size: 13px;
    color: var(--navy)
}

.hero-points span {
    font-size: 15px;
    line-height: 1.5;
    color: #758195
}

.hero-visual {
    height: 485px;
    position: relative;
    margin-right: 8px
}

.hero-photo{
    position: absolute;
    inset: 0 25px 25px 30px;
    background: url('../images/hero_img.webp') center/cover no-repeat;
    clip-path: polygon(12% 0, 100% 0, 100% 88%, 88% 100%, 0 100%, 0 12%);
    
}

.photo-overlay {
    position: absolute;
    inset: 0 25px 25px 30px;
    background: linear-gradient(145deg, rgba(33, 60, 101, .05), rgba(16, 38, 69, .2));
    clip-path: polygon(12% 0, 100% 0, 100% 88%, 88% 100%, 0 100%, 0 12%)
}

.floating-card {
    position: absolute;
    left: -18px;
    bottom: 0;
    background: #fff;
    box-shadow: 0 16px 40px rgba(22, 42, 69, .14);
    padding: 16px 9px;
    display: flex;
    gap: 14px;
    align-items: center;
    border-radius: 20px;
    max-width: 310px;
}

.card-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    background: #eaf0f7;
    color: var(--navy);
    font-size: 20px;
    border-radius: 50%
}

.floating-card strong,
.floating-card span {
    display: block
}

.floating-card strong {
    font-size: 12px;
    color: #21344d
}

.floating-card span {
    font-size: 11px;
    color: #7a8798;
    margin-top: 3px
}

.vertical-label {
    position: absolute;
    right: 0;
    top: 28px;
    writing-mode: vertical-rl;
    font-size: 9px;
    letter-spacing: .2em;
    color: var(--navy);
    font-weight: 700
}

.vertical-label span {
    padding: 8px 0
}

.hero-bottom-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36%;
    height: 5px;
    background: var(--navy)
}

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

.client-inner {
    padding: 27px 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px
}

.client-inner>p {
    font-size: 9px;
    letter-spacing: .14em;
    font-weight: 800;
    color: #8490a0;
    margin: 0;
    max-width: 190px
}

.client-logos {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    flex: 1;
    color: #7c8795;
    filter: grayscale(1)
}

.client-logos span {
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -.04em
}

.client-logos .google {
    font-weight: 600
}

.client-logos .ibm {
    letter-spacing: .13em;
    font-family: Georgia, serif
}

.client-logos .techm {
    font-size: 16px
}

.client-logos .tcs {
    font-size: 24px;
    letter-spacing: .08em
}

.client-logos .infosys {
    font-size: 19px
}

.section {
    padding: 105px 0
}

.intro-grid {
    display: grid;
    grid-template-columns: .65fr 1.6fr .8fr;
    gap: 50px
}

.section-kicker {
    padding-top: 9px
}

.intro-content h2,
.section-heading h2,
.approach-copy h2,
.cta-inner h2 {
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.15;
    letter-spacing: -.045em;
    color: #1a2b42;
    margin: 0 0 22px;
    font-weight: 500;
}

.intro-content p,
.section-heading>p,
.approach-copy>p,
.cta-inner p {
    font-size: 14px;
    line-height: 1.9;
    color: #213C65;
}

.intro-content p {
    max-width: 650px;
    margin-bottom: 23px
}

.underlined-link {
    display: inline-block;
    border-bottom: 1px solid #9baabd;
    padding-bottom: 9px
}

.intro-aside {
    align-self: center;
    border-left: 1px solid #dce3ec;
    padding: 20px 0 20px 28px
}

.aside-mark {
    font-family: Georgia, serif;
    font-size: 55px;
    line-height: .7;
    color: #aabbd0
}

.intro-aside p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--navy);
    font-weight: 600;
    max-width: 190px;
    margin: 15px 0
}

.aside-line {
    width: 35px;
    height: 2px;
    background: var(--navy);
    display: block
}

.services-section {
    background: #f5f7fa
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 50px;
    margin-bottom: 42px
}

.section-heading h2 {
    margin: 14px 0 0
}

.section-heading>p {
    max-width: 390px;
    margin: 0 0 5px
}

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

.service-card {
    background: #fff;
    padding: 30px 29px 27px;
    border: 1px solid #e5eaf0;
    display: flex;
    flex-direction: column;
    min-height: 440px;
        border-radius: 15px;
    transition: transform .25s, box-shadow .25s
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(24, 47, 78, .1)
}

.service-featured {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
        border-radius: 15px;
}

.service-top {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.service-number {
    font-size: 15px;
    letter-spacing: .12em;
    color: #91a2ba
}

.service-featured .service-number {
    color: #c4d2e4
}

.service-symbol {
    font-size: 20px;
    color: #8193ac
}

.service-featured .service-symbol {
    color: #fff
}

.service-icon {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border: 1px solid #dce4ee;
    border-radius: 50%;
    font-size: 21px;
    color: var(--navy);
    margin: 27px 0 17px
}

.service-featured .service-icon {
    border-color: rgba(255, 255, 255, .35);
    color: #fff
}

.service-card h3 {
    font-size: 19px;
    letter-spacing: -.025em;
    margin-bottom: 10px
}

.service-card>p {
    font-size: 17px;
    line-height: 1.8;
    color: #758195;
    min-height: 64px
}

.service-featured>p {
    color: #d2dce9
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 5px 0 22px
}

.service-card li {
    font-size: 17px;
    color: #5e6c7f;
    padding: 5px 0 5px 16px;
    position: relative
}

.service-card li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--navy)
}

.service-featured li {
    color: #e0e8f2
}

.service-featured li:before {
    color: #fff
}

.card-link {
    margin-top: auto;
    padding-top: 17px;
    border-top: 1px solid #e5eaf0;
    color: var(--navy);
       font-size: 15px;
    font-weight: 600;
    display: flex;
    justify-content: space-between
}

.service-featured .card-link {
    border-color: rgba(255, 255, 255, .25);
    color: #fff
}

.card-link span {
    font-size: 16px
}

.approach-section {
    background: var(--navy);
    color: #fff
}

.approach-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 620px
}

.approach-image {
    background: url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1200&q=85') center/cover no-repeat;
    min-height: 620px;
    position: relative
}

.approach-image:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(17, 38, 67, .28), transparent)
}

.approach-copy {
    padding: 85px 0 80px 75px;
    align-self: center
}

.approach-copy .section-kicker {
    color: #b9c9dc
}

.approach-copy h2 {
    color: #fff;
    margin: 18px 0
}

.approach-copy h2 em {
    color: #c7d6e8
}

.approach-copy>p {
    color: #213C65;
    max-width: 470px
}

.approach-list {
    margin: 30px 0
}

.approach-list>div {
    display: flex;
    gap: 20px;
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, .2)
}

.approach-list>div>span {
    font-size: 17px;
    color: #213C65;
    padding-top: 3px
}

.approach-list p {
    margin: 0
}

.approach-list b,
.approach-list small {
    display: block
}

.approach-list b {
    font-size: 12px;
    color: #fff
}

.approach-list small {
    font-size: 11px;
    color: #c3cfdd;
    margin-top: 5px
}

.btn-light {
    background: #fff;
    color: var(--navy);
    margin-top: 4px
}

.contact-cta {
    padding: 45px 0;
    background-color: #fff;
}

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

.cta-inner h2 {
    margin: 15px 0
}

.cta-inner p {
    margin: 0;
    max-width: 480px
}

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px
}

.cta-phone {
    font-size: 11px;
    color: #758195
}

.cta-phone b {
    color: var(--navy);
    margin-left: 4px
}

.site-footer {
    background: #142a48;
    color: #fff
}

.footer-main {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 65px 0 55px
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-brand img {
    width: 230px;
    max-width: 100%;
    filter: none;
    background: #fff;
    border-radius: 15px;
}

.footer-brand p {
    font-size: 13px;
    line-height: 1.8;
    color: #c0cbd9;
    max-width: 260px;
    margin: 0;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: start;
    gap: 30px;
}

.footer-col {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0
}

.footer-col h4 {
    font-size: 14px;
    margin: 0 0 14px;
    color: #fff
}

.footer-links {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px
}

.footer-col a,
.footer-col p {
    font-size: 13px;
    color: #bdc9d8;
    line-height: 1.8;
    margin: 0
}

.footer-col a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px
}

.footer-links a {
    overflow-wrap: anywhere;
    transition: color .18s ease, text-decoration-color .18s ease
}

.footer-link-detail {
    display: block;
    color: #9eafc4;
    font-size: 11px;
    line-height: 1.5;
    transition: color .18s ease
}

.footer-col a:hover .footer-link-detail {
    color: #d7e0eb
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .16);
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #9eafc4;
    font-size: 13px;
    letter-spacing: .02em
}

@media(max-width:1000px) {
    .container {
        width: min(100% - 40px, 900px)
    }

    .brand img {
        width: 210px
    }

    .main-nav {
        gap: 20px
    }

    .nav-link {
        font-size: 12px
    }

    .header-cta {
        font-size: 10px
    }

    .hero-grid {
        gap: 35px
    }

    .hero-visual {
        height: 420px
    }

    .intro-grid {
        grid-template-columns: .5fr 1.5fr
    }

    .intro-aside {
        grid-column: 2;
        border-left: 0;
        border-top: 1px solid var(--line);
        padding: 20px 0 0;
        display: flex;
        align-items: center;
        gap: 18px
    }

    .intro-aside p {
        max-width: 400px;
        margin: 0
    }

    .aside-mark {
        font-size: 40px
    }

    .approach-copy {
        padding-left: 45px
    }

    .footer-main {
        gap: 30px
    }
}

@media(max-width:760px) {
    html {
        scroll-padding-top: 80px
    }

    .container {
        width: calc(100% - 36px)
    }

    .topbar-inner {
        height: 36px;
        font-size: 10px
    }

    .top-icon {
        margin-right: 4px
    }

    .nav-wrap {
        height: 76px
    }

    .brand img {
        width: 190px;
        max-height: 56px
    }

    .menu-toggle {
        display: flex;
        width: 42px;
        height: 42px;
        border: 1px solid var(--line);
        background: #fff;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        margin-left: auto
    }

    .menu-toggle span {
        width: 18px;
        height: 2px;
        background: var(--navy);
        transition: .2s
    }

    .menu-toggle.active span:first-child {
        transform: translateY(7px) rotate(45deg)
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0
    }

    .menu-toggle.active span:last-child {
        transform: translateY(-7px) rotate(-45deg)
    }

    .header-cta {
        display: none
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 22px 22px;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 18px 25px rgba(20, 40, 65, .1);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: .2s;
        max-height: calc(100vh - 110px);
        overflow-y: auto
    }

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

    .nav-link {
        display: block;
        width: 100%;
        text-align: left;
        padding: 15px 0;
        border-bottom: 1px solid #edf0f4;
        font-size: 13px
    }

    .nav-item {
        width: 100%
    }

    .dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center
    }

    .mega-menu {
        position: static;
        transform: none !important;
        width: 100%;
        display: none;
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 18px 15px;
        margin: 0;
        background: #f6f8fb;
        box-shadow: none;
        border: 0;
        opacity: 1;
        visibility: visible
    }

    .has-dropdown.open .mega-menu {
        display: grid
    }

    .mega-column {
        gap: 8px
    }

    .mega-column h3 {
        margin-bottom: 3px
    }

    .mega-column a {
        font-size: 11px
    }

    .menu-note {
        display: none
    }

    .mobile-consult {
        display: flex;
        justify-content: space-between;
        background: var(--navy);
        color: #fff;
        padding: 14px 16px;
        margin-top: 16px;
        font-size: 12px;
        font-weight: 700
    }

    .hero {
        min-height: 0
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
        padding-top: 65px;
        padding-bottom: 65px
    }

    .hero h1 {
        font-size: clamp(40px, 10vw, 58px)
    }

    .hero-lead {
        font-size: 13px
    }

    .hero-points {
        gap: 12px;
        margin-top: 35px
    }

    .hero-points div {
        gap: 7px
    }

    .hero-points span {
        font-size: 9px
    }

    .hero-visual {
        height: 360px;
        margin: 0 5px 0 20px
    }

    .floating-card {
        left: -20px;
        max-width: 270px;
        padding: 14px
    }

    .vertical-label {
        right: -4px
    }

    .client-inner {
        display: block;
        padding: 25px 0
    }

    .client-inner>p {
        max-width: none;
        margin-bottom: 18px
    }

    .client-logos {
        gap: 18px;
        flex-wrap: wrap;
        justify-content: space-between
    }

    .client-logos span {
        font-size: 16px
    }

    .client-logos .techm {
        font-size: 13px
    }

    .client-logos .tcs {
        font-size: 19px
    }

    .client-logos .infosys {
        font-size: 16px
    }

    .section {
        padding: 72px 0
    }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 22px
    }

    .intro-content h2,
    .section-heading h2,
    .approach-copy h2,
    .cta-inner h2 {
        font-size: 36px
    }

    .intro-aside {
        grid-column: auto
    }

    .section-heading {
        display: block;
        margin-bottom: 28px
    }

    .section-heading>p {
        margin-top: 17px
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 14px
    }

    .service-card {
        min-height: 0;
        padding: 25px
    }

    .service-card>p {
        min-height: 0
    }

    .service-card ul {
        margin-bottom: 20px
    }

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

    .approach-image {
        min-height: 300px
    }

    .approach-copy {
        padding: 60px 0
    }

    .contact-cta {
        padding: 70px 0
    }

    .cta-inner {
        display: block
    }

    .cta-actions {
        margin-top: 28px
    }

    .footer-columns {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 35px 25px;
    }

    .footer-main {
        padding: 50px 0 40px;
    }

    .footer-brand img {
        width: 210px
    }

    .footer-bottom {
        display: block;
        line-height: 2.1
    }

    .footer-bottom span {
        display: block
    }
}

@media(max-width:760px) {
    .footer-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 24px
    }

    .footer-brand {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }
}

@media(max-width:420px) {
    .topbar-inner {
        font-size: 9px
    }

    .brand img {
        width: 165px
    }

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

    .hero-points {
        gap: 8px
    }

    .hero-points span {
        font-size: 8px
    }

    .hero-visual {
        height: 300px
    }

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


/* ESq typography and navigation refinements */
body {
    font-family: var(--font-body)
}

h1,
h2,
h3,
h4,
.hero h1,
.intro-content h2,
.section-heading h2,
.approach-copy h2,
.cta-inner h2 {
font-family: var(--font-display)
}

.main-nav {
    margin-left: auto;
    margin-right: auto;
    justify-content: center
}

.mega-menu {
    top: calc(100% + 8px);
    gap: 18px;
    padding: 22px 24px
}

.mega-column {
    gap: 6px
}

.mega-column h3 {
    margin-bottom: 5px
}

.menu-note {
    margin-top: 8px;
    padding: 10px
}

@media(max-width:1000px) {
    .main-nav {
        gap: 18px
    }

    .mega-menu {
        gap: 14px;
        padding: 20px
    }
}

@media(max-width:760px) {
    .main-nav {
        margin: 0
    }

    .mega-menu {
        gap: 14px;
        padding: 15px
    }
}

.dropdown-toggle::after {
    display: inline-block;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
        margin-bottom: -2px;
}




/* =================================
   ESQ WHY CHOOSE US SECTION
================================= */

.esq-why-section {
    width: 100%;
    background: #fff;
    padding: 100px 6%;
    font-family: "Public Sans", "Segoe UI", system-ui, sans-serif;
}

.esq-why-container {
    max-width: 1140px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 0.95fr 1.35fr;
    gap: 65px;
    align-items: center;
}

/* LEFT CONTENT */

.esq-why-intro {
    max-width: 440px;
}

.esq-why-label {
    display: inline-block;
    color: #213C65;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 22px;
}

.esq-why-intro h2 {
    font-family: "Source Serif 4", Georgia, serif;
    font-size: clamp(32px, 3.2vw, 42px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -1px;
    color: #172d49;
    margin: 0 0 22px;
}

.esq-why-intro p {
    color: #66758a;
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 22px;
}

.esq-about-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #213C65;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.esq-about-link span {
    font-size: 19px;
    transition: transform 0.3s ease;
}

.esq-about-link:hover {
    color: #213C65;
}

.esq-about-link:hover span {
    transform: translateX(5px);
}

/* RIGHT FEATURE GRID */

.esq-why-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid #dce2e9;
    border-left: 0;
}

.esq-feature-card {
    padding: 30px 28px;
    border-bottom: 1px solid #dce2e9;
    transition: background 0.3s ease;
}

.esq-feature-card:nth-child(odd) {
    border-right: 1px solid #dce2e9;
}

.esq-feature-card:nth-child(even) {
    border-right: none;
}

.esq-feature-card:hover {
    background: #f8faff;
}

/* ICONS */

.esq-feature-icon {
    width: 27px;
    height: 27px;
    color: #df432f;
    margin-bottom: 13px;
}

.esq-feature-icon svg {
    width: 100%;
    height: 100%;
    color: #213C65;
}

.esq-feature-card h3 {
    font-family: "Public Sans", sans-serif;
    color: #1e324c;
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 13px;
}

.esq-feature-card p {
    color: #68788e;
    font-size: 14px;
    line-height: 1.75;
    margin: 0;
}

/* TABLET */

@media (max-width: 991px) {

    .esq-why-section {
        padding: 75px 5%;
    }

    .esq-why-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .esq-why-intro {
        max-width: 650px;
    }

}

/* MOBILE */

@media (max-width: 600px) {

    .esq-why-section {
        padding: 55px 20px;
    }

    .esq-why-container {
        gap: 35px;
    }

    .esq-why-intro h2 {
        font-size: 33px;
        line-height: 1.2;
    }

    .esq-why-intro p {
        font-size: 14px;
    }

    .esq-why-features {
        grid-template-columns: 1fr;
    }

    .esq-feature-card {
        padding: 24px 12px;
        border-right: none !important;
    }

    .esq-feature-card h3 {
        font-size: 16px;
    }

    .esq-feature-card p {
        font-size: 14px;
    }

}



/* ==========================================
   ESQ TAX SOLUTIONS - OUR PROCESS
   NAVY BLUE + WHITE THEME
========================================== */

.esq-process-section {
    width: 100%;
    padding: 100px 6%;
    background: #213C65;
    position: relative;
    overflow: hidden;
    font-family: "Public Sans", "Segoe UI", system-ui, sans-serif;
}

.esq-process-section::before {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 50%;
    right: -200px;
    top: -200px;
    pointer-events: none;
}

.esq-process-container {
    max-width: 1200px;
    margin: auto;
    position: relative;
    z-index: 1;
}


/* ==========================================
   HEADER
========================================== */

.esq-process-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 65px;
}

.esq-process-heading {
    max-width: 570px;
}

.esq-process-label {
    display: inline-block;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.esq-process-heading h2 {
    font-family: "Source Serif 4", Georgia, serif;
    color: #FFFFFF;
    font-size: clamp(36px, 4vw, 49px);
    font-weight: 500;
    line-height: 1.13;
    letter-spacing: -1.3px;
    margin: 0;
}

.esq-process-heading h2 span {
    color: #FFFFFF;
}

.esq-process-description {
    max-width: 390px;
    padding-bottom: 5px;
}

.esq-process-description p {
    color: rgba(255,255,255,0.78);
    font-size: 15px;
    line-height: 1.8;
    margin: 0 0 20px;
}

.esq-process-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.esq-process-link span {
    color: #FFFFFF;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.esq-process-link:hover {
    color: #FFFFFF;
}

.esq-process-link:hover span {
    transform: translate(4px, -4px);
}


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

.esq-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(255,255,255,0.25);
    border-bottom: 1px solid rgba(255,255,255,0.25);
}


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

.esq-process-card {
    position: relative;
    padding: 30px 25px 28px;
    min-height: 280px;
    border-right: 1px solid rgba(255,255,255,0.18);

    /* Keep card alignment fixed */
    transform: none !important;

    transition: background 0.3s ease;
}

.esq-process-card:first-child {
    padding-left: 15px;
}

.esq-process-card:last-child {
    border-right: none;
}


/* CARD HOVER */

.esq-process-card:hover {
    background: rgba(255,255,255,0.07);
    transform: none !important;
}


/* ==========================================
   NUMBER AND ICON
========================================== */

.esq-step-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.esq-step-number {
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 31px;
    color: #FFFFFF;
    font-weight: 600;
    line-height: 1;
}


/* ICON DESIGN */

.esq-step-icon {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,0.7);
    border-radius: 50%;

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

    color: #FFFFFF;
    background: transparent;

    transition:
        transform 0.35s ease,
        background 0.35s ease,
        border-color 0.35s ease;
}

.esq-step-icon svg {
    width: 21px;
    height: 21px;
    color: #FFFFFF;
    transition: transform 0.35s ease;
}


/* ICON ROTATION ON HOVER */

.esq-process-card:hover .esq-step-icon {
    color: #FFFFFF;
    background: rgba(255,255,255,0.12);
    border-color: #FFFFFF;

    /* Rotate to the right */
    transform: rotate(8deg);
}

.esq-process-card:hover .esq-step-icon svg {
    color: #FFFFFF;
}


/* ==========================================
   CARD CONTENT
========================================== */

.esq-process-card h3 {
    color: #FFFFFF;
    font-family: "Public Sans", sans-serif;
    font-size: 17px;
    line-height: 1.45;
    font-weight: 700;
    margin: 0 0 13px;
}

.esq-process-card p {
    color: rgba(255,255,255,0.78);
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}

.esq-step-bottom {
    display: inline-block;
    margin-top: 24px;
    color: rgba(255,255,255,0.55);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.7px;
}


/* ==========================================
   BOTTOM MESSAGE
========================================== */

.esq-process-footer {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.esq-process-footer-line {
    width: 45px;
    height: 2px;
    background: #FFFFFF;
    flex-shrink: 0;
}

.esq-process-footer p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    margin: 0;
}

.esq-footer-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #FFFFFF;
    flex-shrink: 0;
}


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

@media (max-width: 991px) {

    .esq-process-section {
        padding: 75px 5%;
    }

    .esq-process-header {
        gap: 30px;
    }

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

    .esq-process-card,
    .esq-process-card:first-child {
        padding: 28px 22px;
        border-bottom: 1px solid rgba(255,255,255,0.18);
        transform: none !important;
    }

    .esq-process-card:nth-child(2) {
        border-right: none;
    }

    .esq-process-card:nth-child(3),
    .esq-process-card:nth-child(4) {
        border-bottom: none;
    }

}


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

@media (max-width: 600px) {

    .esq-process-section {
        padding: 60px 22px;
    }

    .esq-process-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
        margin-bottom: 38px;
    }

    .esq-process-heading h2 {
        font-size: 36px;
    }

    .esq-process-description {
        max-width: 100%;
    }

    .esq-process-description p {
        font-size: 14px;
    }

    .esq-process-grid {
        grid-template-columns: 1fr;
        border-top: 1px solid rgba(255,255,255,0.25);
    }

    .esq-process-card,
    .esq-process-card:first-child {
        padding: 25px 15px;
        min-height: auto;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.18);
        transform: none !important;
    }

    .esq-process-card:last-child {
        border-bottom: none;
    }

    .esq-step-top {
        margin-bottom: 18px;
    }

    .esq-step-number {
        font-size: 28px;
    }

    .esq-process-card h3 {
        font-size: 17px;
    }

    .esq-process-card p {
        font-size: 14px;
        max-width: 400px;
    }

    .esq-step-bottom {
        margin-top: 16px;
    }

    .esq-process-footer {
        align-items: flex-start;
        gap: 12px;
    }

    .esq-process-footer p {
        font-size: 12px;
        line-height: 1.7;
    }

}


/* ==========================================
   TOUCH DEVICE HOVER FIX
========================================== */

@media (hover: none) {

    .esq-process-card:hover {
        background: transparent;
        transform: none !important;
    }

}



/* ==========================================
   ESQ TAX SOLUTIONS - APPROACH SECTION
   PREMIUM WHITE DESIGN
========================================== */

.approach-section {
    width: 100%;
    padding: 35px 6%;
    background: #F5F7FA;
    overflow: hidden;
    font-family: "Public Sans", "Segoe UI", sans-serif;
}

.approach-grid {
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 85px;
}


/* ==========================================
   LEFT IMAGE AREA
========================================== */

.approach-visual {
    position: relative;
    padding: 0 25px 35px 0;
}

.approach-image {
    width: 100%;
    height: 570px;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    background: #eef1f5;
}

.approach-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 65%,
        rgba(15, 35, 60, 0.18)
    );
    pointer-events: none;
}

.approach-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

    transition: transform 0.8s ease;
}

.approach-visual:hover .approach-image img {
    transform: scale(1.045);
}


/* IMAGE CAPTION */

.approach-image-caption {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;

    color: #213C65;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.8px;
}

.caption-line {
    width: 35px;
    height: 2px;
    background: #213C65;
}


/* ==========================================
   FLOATING CARD
========================================== */

.approach-floating-card {
    position: absolute;
    bottom: 75px;
    right: -20px;

    display: flex;
    align-items: center;
    gap: 15px;

    padding: 19px 22px;
    background: #ffffff;

    box-shadow: 0 12px 40px rgba(20, 40, 70, 0.12);

    border-left: 3px solid #213C65;
    min-width: 255px;

    transition: transform 0.3s ease;

        border-radius: 10px;
}

.approach-visual:hover .approach-floating-card {
    transform: translateY(-5px);
}

.floating-icon {
    width: 42px;
    height: 42px;
    background: #f1f4f8;
    border-radius: 50%;

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

    color: #213C65;
    flex-shrink: 0;
}

.floating-icon svg {
    width: 23px;
    height: 23px;
}

.approach-floating-card strong {
    display: block;
    color: #213C65;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 5px;
}

.approach-floating-card span {
    color: #758195;
    font-size: 11px;
}


/* ==========================================
   RIGHT CONTENT
========================================== */

.approach-copy {
    width: 100%;
}

.approach-label {
    display: flex;
    align-items: center;
    gap: 12px;

    color: #213C65;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;

    margin-bottom: 22px;
}

.approach-label-line {
    width: 30px;
    height: 2px;
    background: #213C65;
}


/* MAIN HEADING */

.approach-copy h2 {
    font-family: "Source Serif 4", Georgia, serif;
    color: #172d49;

    font-size: clamp(36px, 3.7vw, 49px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -1.3px;

    margin: 0 0 22px;
}

.approach-copy h2 em {
    color: #213C65;
    font-weight: 500;
}


/* DESCRIPTION */

.approach-description {
    color: #718096;
    font-size: 14px;
    line-height: 1.9;

    max-width: 530px;
    margin: 0 0 30px;
}


/* ==========================================
   APPROACH LIST
========================================== */

.approach-list {
    width: 100%;
    border-top: 1px solid #e4e8ed;
}

.approach-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;

    padding: 22px 12px 22px 0;

    border-bottom: 1px solid #e4e8ed;

    position: relative;

    transition: background 0.3s ease,
                padding 0.3s ease;
}

.approach-item:hover {
    background: #f8fafc;
    padding-left: 12px;
}


/* NUMBER */

.approach-number {
    font-family: "Source Serif 4", Georgia, serif;

    font-size: 23px;
    font-weight: 500;

    color: #213C65;

    min-width: 35px;
    line-height: 1.3;

    transition: transform 0.3s ease;
}

.approach-item:hover .approach-number {
    transform: translateX(3px);
}


/* ITEM CONTENT */

.approach-item-content {
    flex: 1;
}

.approach-item-content h3 {
    color: #213C65;
    font-family: "Public Sans", sans-serif;

    font-size: 15px;
    font-weight: 700;

    margin: 0 0 7px;
}

.approach-item-content p {
    color: #778397;

    font-size: 12px;
    line-height: 1.8;

    margin: 0;
}


/* RIGHT ARROW */

.approach-arrow {
    color: #213C65;
    font-size: 18px;

    opacity: 0;
    transform: translate(-5px, 5px);

    transition: all 0.3s ease;
}

.approach-item:hover .approach-arrow {
    opacity: 1;
    transform: translate(0, 0);
}


/* ==========================================
   CTA BUTTON
========================================== */

.approach-cta {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;

    margin-top: 30px;
    padding: 15px 22px;

    background: #213C65;
    color: #ffffff;

    text-decoration: none;
    font-size: 15px;
    font-weight: 600;

    border: 1px solid #ced2d7;

    transition: all 0.3s ease;
    border-radius: 50px;
}

.approach-cta:hover {
    background: #ffffff;
    color: #213C65;
}

.cta-arrow {
    font-size: 19px;
    transition: transform 0.3s ease;
        margin-left: -25px;
}

.approach-cta:hover .cta-arrow {
    transform: translateX(5px);
}


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

@media (max-width: 991px) {

    .approach-section {
        padding: 80px 5%;
    }

    .approach-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .approach-image {
        height: 480px;
    }

    .approach-floating-card {
        right: -10px;
        min-width: 230px;
    }

    .approach-copy h2 {
        font-size: 36px;
    }

}


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

@media (max-width: 700px) {

    .approach-section {
        padding: 65px 22px;
    }

    .approach-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .approach-visual {
        padding: 0 12px 25px 0;
    }

    .approach-image {
        height: 420px;
    }

    .approach-floating-card {
        right: -5px;
        bottom: 55px;
        min-width: 235px;
        padding: 14px 16px;
    }

    .approach-copy h2 {
        font-size: 37px;
        line-height: 1.17;
    }

    .approach-description {
        font-size: 13px;
        margin-bottom: 25px;
    }

    .approach-item {
        gap: 14px;
        padding: 20px 5px 20px 0;
    }

    .approach-item:hover {
        padding-left: 8px;
    }

    .approach-number {
        font-size: 21px;
        min-width: 30px;
    }

    .approach-item-content h3 {
        font-size: 14px;
    }

    .approach-item-content p {
        font-size: 12px;
    }

    .approach-arrow {
        opacity: 1;
        transform: none;
    }

}


/* SMALL MOBILE */

@media (max-width: 380px) {

    .approach-section {
        padding: 50px 17px;
    }

    .approach-image {
        height: 340px;
    }

    .approach-copy h2 {
        font-size: 32px;
    }

    .approach-floating-card {
        min-width: 215px;
    }

}


.mega-menu {
  display: grid;
  /* Allows columns to grow only as much as their content needs */
  grid-template-columns: auto auto auto;
  justify-content: start;
  width: 850px;
}



.contact-page {
    --contact-shadow: 0 14px 40px rgba(24, 45, 73, .06);
    overflow-x: hidden;
}

.contact-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--navy);
    color: #fff;
    padding: 48px 0 64px;
}

.contact-hero-content {
    position: relative;
    z-index: 1;
}

.contact-hero-decoration {
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(255, 255, 255, .055);
    border-radius: 50%;
    pointer-events: none;
}

.contact-hero-decoration-one {
    width: 590px;
    height: 590px;
    top: -285px;
    right: -80px;
}

.contact-hero-decoration-two {
    width: 470px;
    height: 470px;
    top: -225px;
    right: -20px;
}

.contact-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
}

.contact-breadcrumb a:hover {
    color: #fff;
}

.contact-eyebrow,
.contact-card-eyebrow {
    margin-top: 0;
    margin-bottom: 12px;
    color: #9fb6d3;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    line-height: 1.5;
    text-transform: uppercase;
}

.contact-hero h1 {
    max-width: 760px;
    margin-bottom: 16px;
    color: #fff;
    font-family: var(--font-display);
    font-size: clamp(42px, 5.3vw, 66px);
    font-weight: 400;
    letter-spacing: -.035em;
    line-height: 1.1;
}

.contact-hero-description {
    max-width: 670px;
    margin-top: 0;
    margin-bottom: 0;
    color: rgba(255, 255, 255, .82);
    font-size: 16px;
    line-height: 1.8;
}

.contact-main-section {
    padding: 72px 0 82px;
    background: #f5f7fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(290px, .85fr);
    align-items: start;
    gap: 32px;
}

.contact-card {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--contact-shadow);
    transition: box-shadow .25s ease, transform .25s ease;
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 46px rgba(24, 45, 73, .1);
}

.contact-form-card {
    padding: 36px;
}

.contact-card-heading {
    margin-bottom: 27px;
}

.contact-card-heading h2,
.contact-info-card h2,
.contact-consult-card h2,
.contact-location-copy h2,
.contact-final-cta h2 {
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: -.02em;
}

.contact-card-heading h2 {
    margin-top: 0;
    margin-bottom: 8px;
    color: var(--navy-dark);
    font-size: 30px;
    line-height: 1.25;
}

.contact-card-heading p,
.contact-consult-card > p:not(.contact-card-eyebrow) {
    margin-top: 0;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
}

.contact-field {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 7px;
}

.contact-field-full {
    grid-column: 1 / -1;
}

.contact-field label {
    color: #273951;
    font-size: 12px;
    font-weight: 600;
}

.contact-field label span {
    color: var(--navy);
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid #dce3eb;
    border-radius: 8px;
    outline: none;
    background-color: #fff;
    color: var(--ink);
    font: 400 14px var(--font-body);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-field input,
.contact-field select {
    padding: 0 14px;
}

.contact-field textarea {
    min-height: 142px;
    padding: 13px 14px;
    resize: vertical;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: #929eac;
}

.contact-field select:invalid {
    color: #929eac;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(33, 60, 101, .11);
}

.contact-field [aria-invalid="true"] {
    border-color: #b54747;
}

.contact-field-error {
    display: none;
    color: #a53d3d;
    font-size: 12px;
    line-height: 1.45;
}

.contact-field-error:not(:empty) {
    display: block;
}

.contact-form-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 2px;
}

.contact-submit {
    min-height: 48px;
    padding: 12px 22px;
    cursor: pointer;
    font-size: 13px;
}

.contact-form-note {
    max-width: 350px;
    margin-top: 0;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
}

.contact-form-status {
    display: none;
    margin: -4px 0 0;
    border-radius: 8px;
    background: #f1f5f9;
    padding: 12px 14px;
    color: var(--navy-dark);
    font-size: 13px;
    line-height: 1.65;
}

.contact-form-status.is-visible {
    display: block;
}

.contact-aside {
    display: grid;
    gap: 22px;
}

.contact-info-card {
    padding: 30px;
}

.contact-info-card .contact-card-eyebrow,
.contact-consult-card .contact-card-eyebrow,
.contact-location-copy .contact-card-eyebrow {
    margin-bottom: 8px;
    color: var(--navy);
}

.contact-info-card h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--navy-dark);
    font-size: 27px;
    line-height: 1.28;
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    border-top: 1px solid #e8edf2;
    padding: 17px 0;
    transition: color .2s ease;
}

.contact-detail:first-child {
    border-top: 0;
    padding-top: 0;
}

.contact-detail:last-child {
    padding-bottom: 0;
}

.contact-detail:hover .contact-detail-value {
    color: var(--navy);
}

.contact-icon {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
    border-radius: 50%;
    background: #f1f5f9;
    color: var(--navy);
    transition: background .2s ease, transform .2s ease;
}

.contact-detail:hover .contact-icon {
    transform: translateY(-2px);
    background: #e6edf5;
}

.contact-icon svg {
    width: 21px;
    height: 21px;
}

.contact-detail-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
}

.contact-detail-label {
    color: #788699;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.contact-detail-value {
    color: #273951;
    font-size: 13px;
    line-height: 1.65;
    overflow-wrap: anywhere;
    transition: color .2s ease;
}

.contact-consult-card {
    border-radius: 16px;
    background: var(--navy);
    padding: 28px 30px 30px;
    color: #fff;
    transition: transform .25s ease, box-shadow .25s ease;
}

.contact-consult-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 38px rgba(22, 42, 69, .16);
}

.contact-consult-card .contact-card-eyebrow {
    color: #b8c9dd;
}

.contact-consult-card h2 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #fff;
    font-size: 25px;
    line-height: 1.3;
}

.contact-consult-card > p:not(.contact-card-eyebrow) {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, .8);
}

.contact-consult-button {
    width: 100%;
    min-height: 48px;
    padding: 11px 18px;
    font-size: 12px;
}

.contact-location-section {
    padding: 82px 0;
    background: #fff;
}

.contact-location-grid {
    display: grid;
    grid-template-columns: minmax(250px, .75fr) minmax(0, 1.5fr);
    align-items: center;
    gap: 64px;
}

.contact-location-copy h2 {
    margin-top: 0;
    margin-bottom: 16px;
    color: var(--navy-dark);
    font-size: 36px;
    line-height: 1.2;
}

.contact-location-address {
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.85;
}

.contact-directions-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
}

.contact-directions-link span {
    transition: transform .2s ease;
}

.contact-directions-link:hover span {
    transform: translate(2px, -2px);
}

.contact-map {
    min-height: 365px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #f2f5f8;
    box-shadow: var(--contact-shadow);
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 365px;
    border: 0;
}

.contact-final-cta {
    overflow: hidden;
    background: var(--navy);
    color: #fff;
    padding: 54px 0;
}

.contact-final-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.contact-final-cta .contact-card-eyebrow {
    margin-bottom: 8px;
    color: #b8c9dd;
}

.contact-final-cta h2 {
    max-width: 650px;
    margin-top: 0;
    margin-bottom: 10px;
    color: #fff;
    font-size: clamp(30px, 3.6vw, 42px);
    line-height: 1.2;
}

.contact-final-cta-inner > div:first-child > p:last-child {
    max-width: 570px;
    margin-top: 0;
    margin-bottom: 0;
    color: rgba(255, 255, 255, .8);
    font-size: 14px;
    line-height: 1.75;
}

.contact-final-cta-actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 12px;
}

.contact-final-cta .btn {
    min-height: 48px;
    padding: 12px 18px;
    font-size: 12px;
}

.contact-final-cta .btn-light {
    border-radius: 50px;
    background: #fff;
    color: var(--navy);
}

.contact-final-cta .btn-light:hover {
    background: #eef3f8;
    color: var(--navy-dark);
}

.contact-call-button {
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 50px;
    color: #fff;
}

.contact-call-button:hover {
    background: rgba(255, 255, 255, .1);
}

.contact-reveal {
    animation: contact-fade-up .65s ease both;
}

.contact-aside .contact-reveal:nth-child(2) {
    animation-delay: .1s;
}

@keyframes contact-fade-up {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: minmax(0, 1.35fr) minmax(270px, .85fr);
        gap: 22px;
    }

    .contact-form-card {
        padding: 28px;
    }

    .contact-info-card {
        padding: 25px;
    }

    .contact-location-grid {
        gap: 36px;
    }

    .contact-final-cta-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 24px;
    }
}

@media (min-width: 761px) and (max-width: 1000px) {
    .contact-page .has-dropdown {
        position: static;
    }

    .contact-page .mega-menu {
        left: 50%;
        width: min(850px, calc(100vw - 40px));
        transform: translate(-50%, 10px);
    }

    .contact-page .has-dropdown:hover .mega-menu,
    .contact-page .has-dropdown:focus-within .mega-menu,
    .contact-page .has-dropdown.open .mega-menu {
        transform: translate(-50%, 0);
    }
}

@media (max-width: 760px) {
    .contact-hero {
        padding: 36px 0 46px;
    }

    .contact-breadcrumb {
        margin-bottom: 23px;
    }

    .contact-hero h1 {
        max-width: 560px;
        font-size: clamp(38px, 9vw, 54px);
    }

    .contact-hero-description {
        font-size: 14px;
    }

    .contact-main-section,
    .contact-location-section {
        padding: 52px 0;
    }

    .contact-grid,
    .contact-location-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        gap: 22px;
    }

    .contact-aside {
        grid-template-columns: 1fr;
    }

    .contact-location-grid {
        gap: 28px;
    }

    .contact-location-copy h2 {
        font-size: 32px;
    }

    .contact-map,
    .contact-map iframe {
        min-height: 300px;
        height: 300px;
    }

    .contact-final-cta {
        padding: 44px 0;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding: 30px 0 40px;
    }

    .contact-hero h1 {
        font-size: clamp(35px, 10vw, 45px);
    }

    .contact-form-card {
        padding: 23px 19px;
    }

    .contact-form {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-field-full {
        grid-column: auto;
    }

    .contact-card-heading h2 {
        font-size: 27px;
    }

    .contact-form-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 11px;
    }

    .contact-submit {
        width: 100%;
    }

    .contact-info-card,
    .contact-consult-card {
        padding: 24px 21px;
    }

    .contact-detail {
        gap: 12px;
    }

    .contact-final-cta-actions {
        width: 100%;
        flex-direction: column;
    }

    .contact-final-cta-actions .btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-page *,
    .contact-page *::before,
    .contact-page *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}


#servicesMegaMenu {
  top: 70px !important; /* Adjust this value to match the bottom of your nav bar */
}

.active{
    color: #213C65;
}


.image-anime {
    position: relative;
    overflow: hidden;
}

.image-anime::after {
    content: "";
    position: absolute;
    width: 200%;
    height: 0%;
    left: 50%;
    top: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%) rotate(-45deg);
    z-index: 1;
    pointer-events: none;
}

.image-anime:hover::after {
    height: 250%;
    transition: 600ms linear;
    background-color: transparent;
}