/* ================================================ */
/* COMPASS ABA SERVICES — style.css                 */
/* NorthernLogics Web Design & SEO                  */
/* ================================================ */

/* ================================================ */
/* GLOBAL RESET & BASE                              */
/* ================================================ */

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

html {
    scroll-behavior: smooth;
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden; /* Required for iOS Safari — body overflow-x alone is ignored */
}

body {
    font-family: 'Open Sans', 'Segoe UI', Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.7;
    color: #1B1B1B;
    background-color: #ffffff;
    overflow-x: hidden;
}

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

a {
    font-size: inherit;
    font-weight: 500;
    letter-spacing: normal;
    line-height: inherit;
    color: #17478F;
    text-decoration: none;
    transition: color 0.25s ease, opacity 0.25s ease;
}

a:hover {
    color: #D91F29;
}

ul {
    list-style: none;
}

address {
    font-style: normal;
}

/* ── CSS Variables ─────────────────────────────── */
:root {
    --blue:      #17478F;
    --blue-dark: #0d2d5e;
    --blue-mid:  #1a5ba8;
    --red:       #D91F29;
    --dark:      #1B1B1B;
    --gray:      #f5f6fa;
    --gray-mid:  #e8eaf0;
    --text-muted:#666;
    --white:     #ffffff;
    --shadow-sm: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-md: 0 6px 30px rgba(0,0,0,0.12);
    --shadow-lg: 0 12px 50px rgba(0,0,0,0.18);
    --radius:    8px;
    --radius-lg: 16px;
}

/* ── Container ─────────────────────────────────── */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ── Buttons ───────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1;
    text-decoration: none;
    padding: 14px 30px;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background-color 0.28s ease, color 0.28s ease, border-color 0.28s ease, transform 0.2s ease, box-shadow 0.28s ease;
    white-space: nowrap;
}

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

.btn svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

.btn-primary {
    background-color: var(--blue);
    border-color: var(--blue);
    color: var(--white);
    box-shadow: 0 4px 18px rgba(23,71,143,0.3);
}

.btn-primary:hover {
    background-color: var(--blue-dark);
    border-color: var(--blue-dark);
    color: var(--white);
    box-shadow: 0 6px 24px rgba(23,71,143,0.45);
}

.btn-accent {
    background-color: var(--red);
    border-color: var(--red);
    color: var(--white);
    box-shadow: 0 4px 18px rgba(217,31,41,0.3);
}

.btn-accent:hover {
    background-color: #b8141d;
    border-color: #b8141d;
    color: var(--white);
    box-shadow: 0 6px 24px rgba(217,31,41,0.45);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--blue);
    color: var(--blue);
}

.btn-outline:hover {
    background-color: var(--blue);
    color: var(--white);
}

.btn-ghost {
    background-color: transparent;
    border-color: transparent;
    color: var(--blue);
    padding-left: 0;
    padding-right: 0;
}

.btn-ghost:hover {
    color: var(--red);
}

.btn-white {
    background-color: var(--white);
    border-color: var(--white);
    color: var(--blue);
}

.btn-white:hover {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline-white {
    background-color: transparent;
    border-color: rgba(255,255,255,0.7);
    color: var(--white);
}

.btn-outline-white:hover {
    background-color: rgba(255,255,255,0.15);
    border-color: var(--white);
    color: var(--white);
}

/* ── Section Tags ──────────────────────────────── */
.section-tag {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1;
    color: var(--red);
    text-transform: uppercase;
    margin-bottom: 16px;
    position: relative;
    padding-left: 20px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 2px;
    background-color: var(--red);
}

/* ── Fade-in-up Animation ──────────────────────── */
.fade-in-up {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
                transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    transition-delay: 0.15s;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}


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

/* ── Top Contact Bar ───────────────────────────── */
.top-bar {
    width: 100%;
    height: 40px;
    background-color: var(--blue);
    display: flex;
    align-items: center;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: nowrap;
}

.top-bar-left a,
.top-bar-left span {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1;
    color: rgba(255,255,255,0.9);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.top-bar-left a:hover {
    color: var(--white);
}

.top-bar-left svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    opacity: 0.8;
}

.top-bar-left .top-bar-addr {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1;
    color: rgba(255,255,255,0.75);
}

.divider {
    color: rgba(255,255,255,0.35) !important;
    font-size: 12px !important;
    font-weight: 300 !important;
    letter-spacing: normal !important;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.top-bar-social {
    display: flex;
    align-items: center;
    color: rgba(255,255,255,0.85);
    transition: color 0.2s ease;
}

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

.top-bar-social:hover {
    color: var(--white);
}

.top-bar-login-btn {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1;
    color: var(--white);
    background-color: var(--red);
    padding: 5px 14px;
    border-radius: 50px;
    text-transform: uppercase;
    transition: background-color 0.25s ease, transform 0.2s ease;
}

.top-bar-login-btn:hover {
    background-color: #b8141d;
    color: var(--white);
    transform: translateY(-1px);
}

/* ── Main Header ───────────────────────────────── */
.main-header {
    width: 100%;
    height: 120px;
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: box-shadow 0.3s ease, height 0.3s ease;
}

.main-header.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.14);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-link {
    flex-shrink: 0;
    display: block;
}

.site-logo {
    height: 72px;
    width: auto;
    display: block;
}

/* ── Desktop Navigation ────────────────────────── */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-link {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.03em;
    line-height: 1;
    color: #2d2d2d;
    padding: 8px 12px;
    border-radius: 6px;
    transition: color 0.25s ease, background-color 0.25s ease;
    position: relative;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--blue);
    border-radius: 2px;
    transition: width 0.28s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--blue);
    background-color: rgba(23,71,143,0.06);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: calc(100% - 24px);
}

.nav-login {
    background-color: var(--blue);
    color: var(--white);
    padding: 9px 18px;
    border-radius: 50px;
    margin-left: 8px;
}

.nav-login::after {
    display: none;
}

.nav-login:hover {
    background-color: var(--blue-dark);
    color: var(--white);
}

/* ── Facebook Icon ─────────────────────────────── */
.header-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.fb-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--blue);
    border-radius: 50%;
    color: var(--white);
    transition: background-color 0.25s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.fb-icon-link svg {
    width: 20px;
    height: 20px;
}

.fb-icon-link:hover {
    background-color: #1877f2;
    color: var(--white);
    transform: scale(1.1);
}

/* ── Hamburger Button ──────────────────────────── */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    padding: 6px;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.hamburger:hover {
    background-color: var(--gray);
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--dark);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile Navigation ─────────────────────────── */
.nav-mobile {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    z-index: 999;
    border-top: 3px solid var(--blue);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.38s cubic-bezier(0.25, 1, 0.5, 1);
}

.nav-mobile.open {
    max-height: 420px;
}

.nav-mobile ul {
    padding: 12px 0 20px;
}

.nav-mobile ul li a {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.4;
    color: var(--dark);
    padding: 14px 28px;
    border-bottom: 1px solid var(--gray-mid);
    transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-mobile ul li:last-child a {
    border-bottom: none;
}

.nav-mobile ul li a:hover,
.nav-mobile ul li a.active {
    color: var(--blue);
    background-color: rgba(23,71,143,0.04);
}

.mobile-login-link {
    color: var(--red) !important;
    font-weight: 700 !important;
}


/* ================================================ */
/* HERO SECTION                                     */
/* ================================================ */

.hero-section {
    width: 100%;
    height: 760px;
    position: relative;
    background-image: url('images/hero.jpg');
    background-size: cover;
    background-position: center 30%;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(13,45,94,0.52) 0%,
        rgba(23,71,143,0.38) 50%,
        rgba(0,0,0,0.28) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 880px;
    padding: 0 30px;
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1),
                transform 1s cubic-bezier(0.25, 1, 0.5, 1);
    transition-delay: 0.2s;
}

.hero-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-eyebrow {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.16em;
    line-height: 1;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    margin-bottom: 22px;
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50px;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 58px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.12;
    color: var(--white);
    margin-bottom: 24px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.35);
}

.hero-sub {
    font-family: 'Open Sans', sans-serif;
    font-size: 19px;
    font-weight: 400;
    letter-spacing: normal;
    line-height: 1.65;
    color: rgba(255,255,255,0.88);
    max-width: 680px;
    margin: 0 auto 38px;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-actions .btn-primary {
    font-size: 16px;
    padding: 16px 36px;
    background-color: var(--red);
    border-color: var(--red);
    box-shadow: 0 4px 24px rgba(217,31,41,0.4);
}

.hero-actions .btn-primary:hover {
    background-color: #b8141d;
    border-color: #b8141d;
}

.hero-actions .btn-outline {
    font-size: 16px;
    padding: 16px 36px;
    border-color: rgba(255,255,255,0.7);
    color: var(--white);
}

.hero-actions .btn-outline:hover {
    background-color: rgba(255,255,255,0.15);
    border-color: var(--white);
    color: var(--white);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-scroll-indicator span {
    display: block;
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 14px;
    position: relative;
}

.hero-scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background-color: rgba(255,255,255,0.7);
    border-radius: 2px;
    animation: scroll-bounce 1.8s infinite ease-in-out;
}

@keyframes scroll-bounce {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50%       { opacity: 0.3; transform: translateX(-50%) translateY(12px); }
}


/* ================================================ */
/* SECTION 1: WELCOME                               */
/* ================================================ */

.section-welcome {
    background-color: var(--white);
    padding-top: 90px;
    padding-bottom: 30px;
}

.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    padding-bottom: 70px;
}

.welcome-text h2.welcome-heading {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.25;
    color: var(--dark);
    margin-bottom: 12px;
}

.welcome-text h3.welcome-subheading {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: normal;
    line-height: 1.4;
    color: var(--blue);
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--gray-mid);
}

.welcome-text p {
    font-family: 'Open Sans', sans-serif;
    font-size: 17px;
    font-weight: 400;
    letter-spacing: normal;
    line-height: 1.75;
    color: #444;
    margin-bottom: 16px;
}

.welcome-text p:last-of-type {
    margin-bottom: 30px;
}

.welcome-cta-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
}

/* ── Welcome Image ─────────────────────────────── */
.welcome-img-wrap {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.welcome-photo {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
}

/* ── Feature Strip ─────────────────────────────── */
.welcome-features {
    background-color: var(--gray);
    border-top: 1px solid var(--gray-mid);
    padding: 55px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 32px 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-mid);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.feature-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.feature-icon {
    width: 52px;
    height: 52px;
    background-color: rgba(23,71,143,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--blue);
}

.feature-item h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.3;
    color: var(--dark);
    margin-bottom: 10px;
}

.feature-item p {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: normal;
    line-height: 1.6;
    color: var(--text-muted);
}


/* ================================================ */
/* SECTION 2: JOIN THE TEAM / CAREERS               */
/* ================================================ */

.section-careers {
    width: 100%;
    position: relative;
    background-image: url('images/team.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 90px 0;
}

.careers-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(13,45,94,0.88) 0%,
        rgba(13,45,94,0.78) 50%,
        rgba(0,0,0,0.72) 100%
    );
}

.careers-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 260px 1fr 280px;
    gap: 50px;
    align-items: start;
}

/* Badge column */
.careers-badge {
    background-color: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    text-align: center;
    backdrop-filter: blur(8px);
}

.careers-badge-text {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1;
    color: var(--red);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.careers-badge-roles {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: normal;
    line-height: 1.5;
    color: var(--white);
    margin-bottom: 24px;
}

/* Main content column */
.careers-main h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.25;
    color: var(--white);
    margin-bottom: 18px;
}

.careers-main p {
    font-family: 'Open Sans', sans-serif;
    font-size: 17px;
    font-weight: 400;
    letter-spacing: normal;
    line-height: 1.75;
    color: rgba(255,255,255,0.82);
}

/* Benefits column */
.careers-benefits h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    margin-bottom: 18px;
}

.careers-benefits ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.careers-benefits ul li {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: normal;
    line-height: 1.4;
    color: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    gap: 10px;
}

.careers-benefits ul li svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--red);
}


/* ================================================ */
/* SECTION 3: ACTION / CTA BAR                      */
/* ================================================ */

.action-bar {
    width: 100%;
    background: linear-gradient(135deg, #17478F 0%, #0d2d5e 60%, #132040 100%);
    position: relative;
    overflow: hidden;
    padding: 52px 0;
}

.action-bar-watermark {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    width: 260px;
    height: 260px;
    background-image: url('images/star.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    opacity: 0.12;
    pointer-events: none;
}

.action-bar::before {
    content: '';
    position: absolute;
    top: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.action-bar-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.action-bar-label {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.action-bar-heading {
    font-family: 'Poppins', sans-serif;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.2;
    color: var(--white);
    margin: 0;
}

.action-bar-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}


/* ================================================ */
/* FAT FOOTER SECTION                               */
/* ================================================ */

.fat-footer {
    width: 100%;
    background-color: #0e1c30;
    padding: 70px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.2fr 1fr;
    gap: 50px;
}

.footer-col h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 2px solid rgba(255,255,255,0.1);
    position: relative;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 36px;
    height: 2px;
    background-color: var(--red);
}

/* Contact column */
.footer-logo {
    height: 52px;
    width: auto;
    margin-bottom: 22px;
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

.footer-contact address p {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: normal;
    line-height: 1.65;
    color: rgba(255,255,255,0.65);
    margin-bottom: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact address p svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--red);
    opacity: 0.9;
}

.footer-contact address a {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: normal;
    line-height: 1;
    color: rgba(255,255,255,0.75);
}

.footer-contact address a:hover {
    color: var(--white);
}

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

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: rgba(255,255,255,0.08);
    border-radius: 50%;
    color: rgba(255,255,255,0.7);
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

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

.footer-social a:hover {
    background-color: #1877f2;
    color: var(--white);
    transform: scale(1.1);
}

/* Map column */
.footer-map-embed {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 12px;
}

.footer-map-embed iframe {
    display: block;
    width: 100%;
    height: 240px;
    filter: grayscale(30%) brightness(0.9);
}

.footer-map-address {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: normal;
    line-height: 1.6;
    color: rgba(255,255,255,0.55);
    text-align: center;
}

/* Insurance column */
.insurance-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.insurance-list li {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: normal;
    line-height: 1.4;
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    gap: 10px;
}

.insurance-list li svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #4ade80;
}

.insurance-list li em {
    font-size: 12px;
    font-style: italic;
    color: rgba(255,255,255,0.45);
}

.private-pay-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius);
    padding: 12px 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.3;
    color: var(--white);
    margin-bottom: 18px;
}

.private-pay-badge svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #fbbf24;
}

.footer-insurance-note p {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: normal;
    line-height: 1.6;
    color: rgba(255,255,255,0.45);
}

.footer-insurance-note a {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: normal;
    line-height: 1;
    color: rgba(255,255,255,0.65);
}

.footer-insurance-note a:hover {
    color: var(--white);
}


/* ================================================ */
/* COPYRIGHT FOOTER BAR                             */
/* ================================================ */

.copyright-bar {
    width: 100%;
    background-color: #080f1a;
    padding: 18px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.copyright-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.copyright-inner p {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1.5;
    color: rgba(255,255,255,0.4);
}

.copyright-inner a {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: normal;
    line-height: 1;
    color: rgba(255,255,255,0.55);
}

.copyright-inner a:hover {
    color: var(--white);
}


/* ================================================ */
/* MOBILE STICKY PHONE BAR                          */
/* ================================================ */

.mobile-phone-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--red);
    z-index: 2000;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}

.mobile-phone-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1;
    color: var(--white);
    text-decoration: none;
    width: 100%;
}

.mobile-phone-link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    animation: ring 2.5s infinite;
}

.mobile-phone-link:hover {
    color: var(--white);
    background-color: #b8141d;
}

@keyframes ring {
    0%, 100% { transform: rotate(0); }
    10%       { transform: rotate(-15deg); }
    20%       { transform: rotate(15deg); }
    30%       { transform: rotate(-10deg); }
    40%       { transform: rotate(10deg); }
    50%       { transform: rotate(0); }
}


/* ================================================ */
/* SUB-PAGE TITLE BAR (shared across all pages)     */
/* ================================================ */

.page-title-bar {
    width: 100%;
    height: 300px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.page-title-bar-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(13,45,94,0.82) 0%,
        rgba(0,0,0,0.55) 100%
    );
}

.page-title-bar-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

.page-title-bar-content h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 46px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 14px;
    text-shadow: 0 2px 16px rgba(0,0,0,0.3);
}

.page-title-bar-content p {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: normal;
    line-height: 1.6;
    color: rgba(255,255,255,0.82);
    max-width: 600px;
    margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}

.breadcrumb a,
.breadcrumb span {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1;
    color: rgba(255,255,255,0.6);
}

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

.breadcrumb .sep {
    color: rgba(255,255,255,0.35);
}

.breadcrumb .current {
    color: rgba(255,255,255,0.9);
    font-weight: 600;
}


/* ================================================ */
/* CONTACT FORM (shared)                            */
/* ================================================ */

.contact-form-section {
    padding: 80px 0;
    background-color: var(--white);
}

.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: start;
}

.contact-form-wrapper h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.25;
    color: var(--dark);
    margin-bottom: 8px;
}

.contact-form-wrapper p.form-intro {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: normal;
    line-height: 1.65;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-group label {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1;
    color: #444;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea,
.form-group select {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: normal;
    line-height: 1.5;
    color: var(--dark);
    background-color: var(--white);
    border: 1.5px solid var(--gray-mid);
    border-radius: var(--radius);
    padding: 13px 16px;
    width: 100%;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(23,71,143,0.12);
}

.form-group textarea {
    min-height: 130px;
    resize: vertical;
}

/* Form section labels */
.form-section-label {
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1;
    color: var(--blue);
    text-transform: uppercase;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(23,71,143,0.12);
    margin-bottom: 4px;
}

/* Field error highlight */
.form-group input.field-error,
.form-group textarea.field-error {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(217,31,41,0.1);
}

/* Honeypot */
.honey { display: none !important; visibility: hidden; }

.form-submit-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

.form-status {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: normal;
    line-height: 1.5;
    color: var(--text-muted);
    display: none;
}

.form-status.success { color: #15803d; display: block; }
.form-status.error   { color: var(--red); display: block; }

/* Contact sidebar info box */
.contact-info-sidebar {
    background-color: var(--gray);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-mid);
    padding: 36px 30px;
    position: sticky;
    top: 140px;
}

.contact-info-sidebar h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.3;
    color: var(--dark);
    margin-bottom: 24px;
}

.sidebar-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 22px;
}

.sidebar-info-icon {
    width: 44px;
    height: 44px;
    background-color: rgba(23,71,143,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sidebar-info-icon svg {
    width: 20px;
    height: 20px;
    color: var(--blue);
}

.sidebar-info-text strong {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.sidebar-info-text a,
.sidebar-info-text p {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: normal;
    line-height: 1.5;
    color: var(--dark);
}

.sidebar-info-text a:hover {
    color: var(--blue);
}


/* ================================================ */
/* RESPONSIVE — TABLET & MOBILE                     */
/* ================================================ */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 46px;
    }

    .welcome-grid {
        gap: 50px;
    }

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

    .careers-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .careers-badge {
        grid-column: 1 / -1;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        text-align: left;
    }

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

    .footer-col:last-child {
        grid-column: 1 / -1;
    }

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

    .contact-info-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    /* Top bar */
    .top-bar {
        height: auto;
        padding: 8px 0;
    }

    .top-bar-inner {
        justify-content: center;
    }

    .top-bar-left {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }

    .top-bar-left .top-bar-addr {
        display: none;
    }

    .divider {
        display: none !important;
    }

    /* Header */
    .main-header {
        height: 74px;
    }

    .site-logo {
        height: 50px;
    }

    /* Hide desktop nav */
    .main-nav {
        display: none;
    }

    /* Show hamburger */
    .hamburger {
        display: flex;
    }

    /* Show mobile nav */
    .nav-mobile {
        display: block;
    }

    /* Hero */
    .hero-section {
        height: 580px;
        background-attachment: scroll;
    }

    .hero-title {
        font-size: 34px;
        letter-spacing: -0.01em;
    }

    .hero-sub {
        font-size: 16px;
    }

    .hero-eyebrow {
        font-size: 11px;
    }

    .hero-actions .btn {
        font-size: 14px;
        padding: 13px 24px;
    }

    /* Welcome */
    .section-welcome {
        padding-top: 60px;
    }

    .welcome-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-bottom: 50px;
    }

    .welcome-text h2.welcome-heading {
        font-size: 28px;
    }

    .welcome-slideshow {
        aspect-ratio: 16 / 10;
    }

    /* Features */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .feature-item {
        padding: 22px 16px;
    }

    /* Careers */
    .section-careers {
        background-attachment: scroll;
        padding: 60px 0;
    }

    .careers-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .careers-badge {
        flex-direction: column;
        text-align: center;
        grid-column: auto;
    }

    .careers-main h2 {
        font-size: 26px;
    }

    /* Action bar */
    .action-bar {
        padding: 40px 0;
    }

    .action-bar-inner {
        flex-direction: column;
        text-align: center;
    }

    .action-bar-heading {
        font-size: 24px;
    }

    .action-bar-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-col:last-child {
        grid-column: auto;
    }

    /* Copyright */
    .copyright-inner {
        flex-direction: column;
        text-align: center;
    }

    /* Page title bar */
    .page-title-bar {
        height: 220px;
        background-position: 30% center;
    }

    .page-title-bar-content h1 {
        font-size: 30px;
    }

    .page-title-bar-content p {
        font-size: 15px;
    }

    /* Contact form */
    .form-row {
        grid-template-columns: 1fr;
    }

    /* Mobile body padding for sticky bar — matches phone bar height (44px) */
    body {
        padding-bottom: 44px;
    }

    /* Show mobile phone bar */
    .mobile-phone-bar {
        display: block;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-section {
        height: 500px;
    }

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

    .welcome-cta-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
}
