/* CSS Document — Dr. Joan Sy Medical Corporation */

/* =====================================================
   DESIGN TOKENS
   ===================================================== */
:root {
    --color-primary: #1a5c38; /* deep forest green — trustworthy, medical */
    --color-primary-dark: #134429;
    --color-primary-light: #e8f4ed;
    --color-accent: #2e7d52; /* mid green for hover / accents */
    --color-navy: #0d1c3d; /* deep navy for headings / dark sections */
    --color-text: #2c2c2c;
    --color-text-muted: #5a5a5a;
    --color-border: #d8e0d8;
    --color-bg-soft: #f7f9f7; /* near-white with slight green tint */
    --color-bg-section: #eef4f0;
    --font-sans: "SF Pro Display", "SF Pro Icons", "Helvetica Neue", Arial, sans-serif;
    --radius: 8px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.07);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* =====================================================
   BASE
   ===================================================== */
body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background: #fff;
}

* {
    box-sizing: border-box;
}

/* =====================================================
   LAYOUT UTILITIES (bootstrap-free replacements)
   ===================================================== */
.container-lg,
.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}
@media (min-width: 992px) {
    .container-lg,
    .container {
        max-width: 1140px;
    }
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -0.75rem;
    margin-right: -0.75rem;
}
.row > [class*="col"] {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.col,
.col-12,
.col-6,
.col-sm-6,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-12 {
    width: 100%;
}

.col {
    flex: 1 1 0;
}
.col-12 {
    width: 100%;
}
.col-6 {
    width: 50%;
}

@media (min-width: 576px) {
    .col-sm-5 {
        width: 41.6667%;
    }
    .col-sm-6 {
        width: 50%;
    }
}
@media (min-width: 768px) {
    .col-md-2 {
        width: 16.6667%;
    }
    .col-md-3 {
        width: 25%;
    }
    .col-md-4 {
        width: 33.3333%;
    }
    .col-md-5 {
        width: 41.6667%;
    }
    .col-md-6 {
        width: 50%;
    }
    .col-md-7 {
        width: 58.3333%;
    }
    .col-md-8 {
        width: 66.6667%;
    }
    .mb-md-0 {
        margin-bottom: 0 !important;
    }
    .mt-md-0 {
        margin-top: 0 !important;
    }
    .order-md-1 {
        order: 1;
    }
    .order-md-2 {
        order: 2;
    }
}
@media (min-width: 992px) {
    .col-lg-3 {
        width: 25%;
    }
    .col-lg-4 {
        width: 33.3333%;
    }
    .col-lg-5 {
        width: 41.6667%;
    }
    .col-lg-6 {
        width: 50%;
    }
    .col-lg-7 {
        width: 58.3333%;
    }
    .col-lg-8 {
        width: 66.6667%;
    }
    .col-lg-12 {
        width: 100%;
    }
    .order-lg-1 {
        order: 1;
    }
    .order-lg-2 {
        order: 2;
    }
}

.d-flex {
    display: flex !important;
}
.d-inline-block {
    display: inline-block !important;
}
.d-block {
    display: block !important;
}
.d-none {
    display: none !important;
}

@media (min-width: 992px) {
    .d-lg-block {
        display: block !important;
    }
}
@media (min-width: 1200px) {
    .d-xl-inline {
        display: inline !important;
    }
}

.align-items-center {
    align-items: center !important;
}
@media (min-width: 768px) {
    .align-items-md-center {
        align-items: center !important;
    }
}

.justify-content-center {
    justify-content: center !important;
}
.ml-auto {
    margin-left: auto !important;
}
.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}
.h-100 {
    height: 100% !important;
}
.align-items-start {
    align-items: flex-start !important;
}
.mr-2 {
    margin-right: 0.5rem !important;
}
.mr-3 {
    margin-right: 1rem !important;
}
.ml-2 {
    margin-left: 0.5rem !important;
}

.text-center {
    text-align: center !important;
}
.text-right {
    text-align: right !important;
}
.text-nowrap {
    white-space: nowrap !important;
}

.w-100 {
    width: 100% !important;
}
.img-fluid {
    width: 100%;
    height: auto;
}
.rounded {
    border-radius: 10px !important;
}

.p-0 {
    padding: 0 !important;
}
.m-0 {
    margin: 0 !important;
}

.mt-1 {
    margin-top: 0.25rem !important;
}
.mt-2 {
    margin-top: 0.5rem !important;
}
.mt-3 {
    margin-top: 1rem !important;
}
.mt-4 {
    margin-top: 1.5rem !important;
}
.mt-5 {
    margin-top: 3rem !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}
.mb-2 {
    margin-bottom: 0.5rem !important;
}
.mb-3 {
    margin-bottom: 1rem !important;
}
.mb-4 {
    margin-bottom: 1.5rem !important;
}
.mb-5 {
    margin-bottom: 3rem !important;
}

.pt-3 {
    padding-top: 1rem !important;
}
.pt-4 {
    padding-top: 1.5rem !important;
}
.pt-5 {
    padding-top: 3rem !important;
}

.pb-2 {
    padding-bottom: 0.5rem !important;
}
.pb-3 {
    padding-bottom: 1rem !important;
}
.pb-4 {
    padding-bottom: 1.5rem !important;
}
.pb-5 {
    padding-bottom: 3rem !important;
}

.py-2 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}
.py-3 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}
.py-4 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}
.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.px-1 {
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
}
.px-4 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
}

@media (min-width: 992px) {
    .mb-lg-0 {
        margin-bottom: 0 !important;
    }
    .mt-lg-0 {
        margin-top: 0 !important;
    }
}

.bg-white {
    background: #fff !important;
}

.border-bottom {
    border-bottom: 1px solid var(--color-border) !important;
}
.sticky-top {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-sans);
    color: var(--color-navy);
    font-weight: 600;
    letter-spacing: -0.02em;
}

p {
    line-height: 1.75;
    color: var(--color-text);
}

address {
    font-style: normal;
}

a {
    color: var(--color-primary);
}
a:hover {
    color: var(--color-primary-dark);
}

/* =====================================================
   TOP BAR
   ===================================================== */
.topbar {
    background: var(--color-navy);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.78rem;
    padding: 0.45rem 0;
    letter-spacing: 0.01em;
}
.topbar a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}
.topbar a:hover {
    color: #fff;
}
.topbar .row {
    flex-wrap: nowrap;
}
.topbar address {
    display: inline;
}

/* =====================================================
   NAVBAR
   ===================================================== */
.navbar {
    background: rgba(255, 255, 255, 0.97) !important;
    border-bottom: 1px solid var(--color-border) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* Inner container: flexbox row, wraps on mobile so collapse falls below brand */
.navbar > .container-lg,
.navbar > .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

/* Brand: logo + text in a flex row */
.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--color-navy) !important;
    font-weight: 600;
    flex-shrink: 0;
    line-height: 1;
}
.navbar-brand img {
    height: 40px;
    width: auto;
    display: block;
}
.company_text {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-navy);
}

/* Hamburger button — visible on mobile, hidden on desktop */
.navbar-toggler {
    border: 1px solid var(--color-border);
    background: #fff;
    border-radius: 6px;
    width: 42px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}
.navbar-toggler-icon {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--color-navy);
    position: relative;
}
.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 20px;
    height: 2px;
    background: var(--color-navy);
}
.navbar-toggler-icon::before {
    top: -6px;
}
.navbar-toggler-icon::after {
    top: 6px;
}

/* Collapse: hidden by default; toggled open on mobile */
.collapse {
    display: none;
}
.collapse.show {
    display: block;
}

/* Collapse takes full width so it wraps below brand+toggler on mobile */
.navbar-collapse {
    flex-basis: 100%;
    flex-grow: 1;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* Nav list: column on mobile */
.navbar-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

/* === DESKTOP (≥768px): toggler hidden, collapse inline === */
@media (min-width: 768px) {
    .navbar-expand-md .navbar-toggler {
        display: none;
    }
    .navbar-expand-md .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
        flex-grow: 1;
        padding-top: 0;
        padding-bottom: 0;
        align-items: center;
    }
    .navbar-expand-md .navbar-nav {
        flex-direction: row;
        align-items: center;
        gap: 0.15rem;
        margin-left: auto;
    }
}

/* Nav links */
.nav-item a.nav-link {
    display: block;
    color: var(--color-navy) !important;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 0.45rem 0.75rem;
    border-radius: 5px;
    white-space: nowrap;
    text-decoration: none;
    transition:
        background 0.18s,
        color 0.18s;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    background-color: var(--color-primary-light);
    color: var(--color-primary) !important;
}

/* Patient Portal — pill CTA */
/* ===================================================
   DROPDOWN
   =================================================== */
.dropdown {
    position: relative;
}

/* Caret indicator on toggle */
.dropdown-toggle::after {
    content: "";
    display: inline-block;
    margin-left: 0.3em;
    vertical-align: 0.18em;
    border-top: 0.32em solid;
    border-right: 0.32em solid transparent;
    border-left: 0.32em solid transparent;
}

.dropdown-menu {
    display: none;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 0.4rem 0;
    min-width: 250px;
    list-style: none;
}
.dropdown-menu.show {
    display: block;
}

/* On desktop, float the menu below the toggle */
@media (min-width: 768px) {
    .dropdown-menu {
        position: absolute;
        top: calc(100% + 4px);
        left: 0;
        z-index: 1200;
    }
}

.dropdown-item {
    display: block;
    font-size: 0.875rem;
    color: var(--color-text);
    padding: 0.5rem 1.25rem;
    text-decoration: none;
    white-space: nowrap;
}
.dropdown-item:hover,
.dropdown-item:focus {
    background: var(--color-primary-light);
    color: var(--color-primary);
    text-decoration: none;
}

.dropdown-divider {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: 0.35rem 0;
}

/* =====================================================
   PAGE HEADER (replaces animated gradient — clean & calm)
   ===================================================== */
.page-header {
    background: var(--color-navy);
    padding: 3rem 0 2.5rem;
}
.page-header h1,
.page-header h2 {
    color: #fff;
    font-weight: 600;
    margin: 0;
}

/* Legacy .title_header — redirect to new style */
.title_header {
    background: var(--color-navy);
}
.title_header h2 {
    color: #fff;
    font-weight: 600;
}

/* =====================================================
   HERO (homepage)
   ===================================================== */
.hero-section {
    position: relative;
    overflow: hidden;
    background: var(--color-navy);
    min-height: 480px;
}
.hero-section img.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.45;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(150deg, rgba(13, 28, 61, 0.72) 0%, rgba(26, 92, 56, 0.55) 100%);
}
.hero-content {
    max-width: 700px;
    padding: 2.5rem 2.5rem;
    color: #fff;
    text-align: center;
    margin: 0 auto;
}
.hero-content h1 {
    color: #fff;
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}
.hero-content p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.1rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}
.hero-content .btn-hero {
    background: var(--color-primary);
    color: #fff;
    border: none;
    padding: 0.75rem 1.8rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s;
}
.hero-content .btn-hero:hover {
    background: var(--color-accent);
    color: #fff;
}
.hero-content .btn-hero.btn-hero-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.7);
}
.hero-content .btn-hero.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}
@media (max-width: 576px) {
    .hero-section {
        min-height: 460px;
    }
    .hero-content {
        padding: 1.5rem 1.2rem;
    }
    .hero-content h1 {
        font-size: 1.55rem;
    }
}

/* =====================================================
   SERVICE BANNERS (section photo headers)
   ===================================================== */
.service-banner {
    position: relative;
}
.service-caption-left {
    position: absolute;
    top: 20%;
    left: 8%;
    color: #fff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
    font-weight: 700;
    letter-spacing: -0.02em;
    font-family: var(--font-sans);
    line-height: 1.1;
}
.service-caption-right {
    position: absolute;
    top: 20%;
    right: 8%;
    color: #fff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
    font-weight: 700;
    letter-spacing: -0.02em;
    font-family: var(--font-sans);
    line-height: 1.1;
}
.service-caption-top {
    position: absolute;
    top: 5%;
    left: 5%;
    color: #fff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
    font-weight: 700;
    letter-spacing: -0.02em;
    font-family: var(--font-sans);
}
.service-caption-bottom-right {
    position: absolute;
    bottom: 5%;
    right: 5%;
    color: #fff;
    font-weight: 400;
    letter-spacing: -0.01em;
    font-family: var(--font-sans);
}
img.fit {
    object-fit: cover;
    max-height: 520px;
    width: 100%;
}
.no_text_shadow {
    text-shadow: none !important;
    font-weight: 400 !important;
}

/* =====================================================
   FEATURE CARDS (homepage Why Choose Us / Services)
   ===================================================== */
.feature-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    box-shadow: var(--shadow-sm);
    transition:
        box-shadow 0.2s,
        transform 0.2s;
    display: flex;
    flex-direction: column;
}
.feature-card.h-100 {
    height: 100%;
}
.feature-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.feature-card .feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.feature-card .feature-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--color-primary);
}
.feature-card h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 0.5rem;
}
.feature-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin: 0 0 0.75rem 0;
    line-height: 1.6;
}
.feature-card .btn {
    margin-top: auto;
    align-self: flex-start;
}

/* =====================================================
   HIGHLIGHT STRIP
   ===================================================== */
.highlight-strip {
    background: var(--color-primary-light);
    padding: 2.5rem 0;
    border-top: 1px solid rgba(26, 92, 56, 0.1);
    border-bottom: 1px solid rgba(26, 92, 56, 0.1);
}
.highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
}
.highlight-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    flex-shrink: 0;
}
.highlight-icon svg {
    width: 24px;
    height: 24px;
    stroke: #fff;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.highlight-item h6 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 0.25rem;
}
.highlight-item p {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.5;
}

/* =====================================================
   SPOTLIGHT CARDS (image-top service cards)
   ===================================================== */
.spotlight-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
    transition:
        box-shadow 0.2s,
        transform 0.2s;
    border: 1px solid var(--color-border);
}
.spotlight-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.spotlight-card-img {
    height: 210px;
    object-fit: cover;
    width: 100%;
    display: block;
}
.spotlight-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.spotlight-card-body h4 {
    color: var(--color-navy);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.spotlight-card-body p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1rem;
}
.spotlight-card-body .btn {
    align-self: flex-start;
    font-size: 0.85rem;
    padding: 0.45rem 1.1rem;
}

/* =====================================================
   PULL QUOTE
   ===================================================== */
.pull-quote {
    border-left: 4px solid var(--color-primary);
    padding: 0.25rem 0 0.25rem 1.25rem;
    margin: 1.25rem 0;
    font-size: 1.05rem;
    font-style: italic;
    color: var(--color-navy);
    line-height: 1.6;
}
.section-soft {
    background: var(--color-bg-soft);
}
.section-tinted {
    background: var(--color-bg-section);
}
.section-navy {
    background: var(--color-navy);
}
.section-navy h2,
.section-navy h3,
.section-navy h4,
.section-navy p {
    color: rgba(255, 255, 255, 0.9);
}

.section-divider {
    height: 1px;
    background: var(--color-border);
    margin: 0;
    border: none;
}

/* =====================================================
   INFO BOXES (new patient forms, policy boxes)
   ===================================================== */
.info-box {
    background: var(--color-bg-section);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-primary);
    border-radius: var(--radius);
    padding: 1.75rem 1.75rem;
}
.info-box h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
    background-color: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.55rem 1.4rem;
    font-size: 0.92rem;
    font-weight: 600;
    display: inline-block;
    text-decoration: none;
    transition: background 0.2s;
}
.btn:hover,
.btn:focus {
    background-color: var(--color-primary-dark);
    color: #fff;
}
.btn-outline-primary-djsmc {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    border-radius: 6px;
    padding: 0.5rem 1.3rem;
    font-size: 0.92rem;
    font-weight: 600;
    transition:
        background 0.2s,
        color 0.2s;
    display: inline-block;
    text-decoration: none;
}
.btn-outline-primary-djsmc:hover {
    background: var(--color-primary);
    color: #fff;
    text-decoration: none;
}

/* =====================================================
   ANIMATIONS (scroll-triggered via IntersectionObserver in common.js)
   ===================================================== */
.animate-fade-in {
    opacity: 0;
    transition: 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) opacity;
}
.animate-fade-in.triggerAnimate {
    opacity: 1 !important;
}
.animate-slide-up {
    opacity: 0;
    transform: translateY(60px);
    transition:
        0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94) opacity,
        0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94) transform;
}
.animate-slide-up.triggerAnimate {
    transform: translateY(0);
    opacity: 1 !important;
}
.animate-slide-down {
    opacity: 0;
    transform: translateY(-60px);
    transition:
        0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94) opacity,
        0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94) transform;
}
.animate-slide-down.triggerAnimate {
    transform: translateY(0);
    opacity: 1 !important;
}
.animate-slide-left {
    opacity: 0;
    transform: translateX(60px);
    transition:
        0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94) opacity,
        0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94) transform;
}
.animate-slide-left.triggerAnimate {
    transform: translateX(0);
    opacity: 1 !important;
}
.animate-slide-right {
    opacity: 0;
    transform: translateX(-60px);
    transition:
        0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94) opacity,
        0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94) transform;
}
.animate-slide-right.triggerAnimate {
    transform: translateX(0);
    opacity: 1 !important;
}

/* =====================================================
   MAP & UTILITY
   ===================================================== */
.map-container {
    position: relative;
    width: 100%;
    padding-top: 75%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}
.map-container iframe {
    border: 0;
}
.map {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}
#directions {
    position: relative;
    top: -80px;
}
.store_logo {
    height: 2rem;
}
.dfh_bg_color {
    background-color: rgb(9, 32, 60);
}
.form {
    width: 12rem;
    align-items: center;
    border: 0;
    cursor: pointer;
}
.form img {
    width: 10rem;
    border: 1px solid #ccc;
}
.index_title {
    font-weight: 700;
    letter-spacing: -0.02em;
    font-family: var(--font-sans);
}
.notice {
    padding: 1em;
}
.product_card {
    width: 18rem;
    margin: 0 auto;
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
    background: var(--color-navy);
    color: rgba(255, 255, 255, 0.85);
    padding: 3.5rem 0 0;
}
.site-footer h5 {
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}
.site-footer p,
.site-footer address,
.site-footer li {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
}
.site-footer a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
}
.site-footer a:hover {
    color: #fff;
}
.site-footer .footer-brand .company_text {
    color: rgba(255, 255, 255, 0.9);
}
.site-footer .footer-tagline {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}
.footer-bottom {
    background: rgba(0, 0, 0, 0.25);
    padding: 0.85rem 0;
    margin-top: 2.5rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
    text-align: center;
}

/* =====================================================
   CAROUSEL
   ===================================================== */
.carousel_slow_fade .carousel-item {
    transition:
        transform 2s ease,
        opacity 3s ease-out !important;
}

.carousel {
    position: relative;
}
.carousel-inner {
    position: relative;
    overflow: hidden;
}
.carousel-inner.rounded {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}
.carousel-item {
    display: none;
}
.carousel-item.active {
    display: block;
}

.carousel-indicators {
    list-style: none;
    display: flex;
    gap: 0.45rem;
    margin: 0;
    padding: 0;
    position: absolute;
    bottom: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}
.carousel-indicators li {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
}
.carousel-indicators li.active {
    background: #fff;
}

.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.carousel-control-prev {
    left: 0.75rem;
}
.carousel-control-next {
    right: 0.75rem;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 10px;
    height: 10px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    display: block;
}
.carousel-control-prev-icon {
    transform: rotate(-135deg);
}
.carousel-control-next-icon {
    transform: rotate(45deg);
}

/* =====================================================
   SEARCH
   ===================================================== */
.search_btn {
    position: relative;
    top: -2px;
}

/* =====================================================
   LEGACY nav bg (override Bootstrap bg-light)
   ===================================================== */
.bg-light-green-backdrop {
    background-color: rgba(255, 255, 255, 0.97) !important;
}
@supports ((-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))) {
    .bg-light-green-backdrop {
        -webkit-backdrop-filter: saturate(180%) blur(10px);
        backdrop-filter: saturate(180%) blur(10px);
        background-color: rgba(255, 255, 255, 0.88) !important;
    }
}
.border-bottom-dark {
    border-bottom: 1px solid var(--color-border) !important;
}

/* =====================================================
   TEXT UTILITIES
   ===================================================== */
.text-intro {
    max-width: 640px;
}
.text-muted {
    color: var(--color-text-muted) !important;
}
.text-sm {
    font-size: 0.88rem;
    line-height: 1.75;
}
.text-note {
    font-size: 0.82rem;
    color: var(--color-text-muted);
}
.section-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* =====================================================
   IMAGE UTILITIES
   ===================================================== */
.img-shadow {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}
.img-shadow-lg {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* =====================================================
   COMPONENT HELPERS
   ===================================================== */
.bio-photo {
    max-width: 320px;
    display: block;
    margin: 0 auto;
}
.row > .bio-col {
    padding-left: 1rem;
}
.team-photo {
    max-height: 240px;
    object-fit: cover;
    width: 100%;
}
.product-img-contain {
    max-height: 280px;
    width: 100%;
    object-fit: contain;
}
.device-img {
    max-height: 220px;
    object-fit: contain;
    width: 100%;
}

/* =====================================================
   CTAs ON DARK BACKGROUNDS
   ===================================================== */
.btn-on-dark {
    background: #fff;
    color: var(--color-primary);
}
.btn-on-dark:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-primary-dark);
}
.btn-outline-light {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.65);
    color: #fff;
}
.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* =====================================================
   LIST UTILITIES
   ===================================================== */
.list-unstyled {
    list-style: none;
    padding: 0;
    margin: 0;
}
.list-spaced {
    line-height: 1.9;
    padding-left: 1.2rem;
    margin-bottom: 0;
}
