/* Base Reset */
:root {
    --ofmc-font: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
    --ofmc-heading-size: clamp(2rem, 3vw, 2.8rem);
    --ofmc-body-size: 1rem;
    --ofmc-body-line-height: 1.6;
}

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

body,
button,
input,
select,
textarea {
    font-family: var(--ofmc-font);
}

/* Notification Banner */
.notification-banner {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1001;
    font-family: var(--ofmc-font);
}

.notification-banner.yellow {
    background-color: #fef3c7;
    border-bottom: 2px solid #f59e0b;
}

.notification-banner.red {
    background-color: #fee2e2;
    border-bottom: 2px solid #ef4444;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.banner-message {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.banner-icon {
    font-size: 1.1rem;
}

.yellow .banner-icon {
    color: #d97706;
}

.red .banner-icon {
    color: #dc2626;
}

.yellow #bannerText {
    color: #92400e;
    font-weight: 500;
}

.red #bannerText {
    color: #991b1b;
    font-weight: 500;
}

.banner-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 3px;
    transition: background-color 0.2s;
    font-size: 1rem;
}

.yellow .banner-close {
    color: #d97706;
}

.red .banner-close {
    color: #dc2626;
}

.yellow .banner-close:hover {
    background-color: #fde68a;
}

.red .banner-close:hover {
    background-color: #fecaca;
}

/* Scroll offset for anchor links to account for sticky navbar */
html {
    scroll-padding-top: 80px; /* Default offset for navbar */
    scroll-behavior: smooth;
    background: white;
}

body,
#backgroundFill,
#mainContent {
    background: white;
}

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

main {
    background-color: white;
}

/* When banner is visible, add extra offset */
.banner-visible html {
    scroll-padding-top: 130px; /* Navbar + banner height */
}

@media (max-width: 1420px) {
    html {
        scroll-padding-top: 70px; /* Mobile navbar height */
    }
    
    .banner-visible html {
        scroll-padding-top: 120px; /* Mobile navbar + banner height */
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .hero-button,
    .phone a,
    .office-card,
    .lab-note,
    .lab-hours-card,
    .announcement-item,
    .uninsured-wrapper,
    .footer-callout,
    .after-hours-wrapper {
        transition: none;
    }

    .hero-button:hover,
    .phone a:hover,
    .office-card:hover,
    .lab-note:hover,
    .lab-hours-card:hover,
    .announcement-item:hover,
    .uninsured-wrapper:hover,
    .footer-callout:hover,
    .after-hours-wrapper:hover {
        transform: none;
    }
}

/* Sticky Navbar */
.navbar {
    position: sticky;
    top: 0;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    padding: 0;
    box-shadow: 0 2px 12px rgba(30, 58, 95, 0.1);
    z-index: 999;
    font-family: var(--ofmc-font);
}

/* When banner is visible, navbar sticks below it */
.banner-visible .navbar {
    top: 50px; /* Approximate banner height */
}

.navbar-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    min-height: 132px;
    padding: 1.75rem 3.5rem;
    background-color: white;
}

/* Left section (logo + title) */
.navbar-left {
    display: flex;
    align-items: center;
    min-width: 0;
    flex: 1 1 auto;
}

.logo a {
    display: inline-flex;
    align-items: center;
}

.logo img {
    height: 76px; /* adjust as needed */
    width: auto;
    margin-right: 18px;
}


.logo .square {
    width: 10px;
    height: 10px;
    background-color: #97c2d2;
}

/* Text group */
.title-group {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.site-title {
    font-size: clamp(1.35rem, 1.7vw, 1.85rem);
    color: #1f2937;
    font-weight: 500;
    line-height: 1.08;
}

.subtitle {
    font-size: 0.78rem;
    color: #374151;
    letter-spacing: 2.2px;
    margin-top: 0.25rem;
    text-transform: uppercase;
}

/* Right section (nav + phone) */
.navbar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 0 0 auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.7rem;
}

.nav-link {
    text-decoration: none;
    color: #1f2937;
    background-color: transparent;
    padding: 0.35rem 0;
    border: 0;
    border-radius: 0;
    font-size: 1.08rem;
    font-weight: 500;
    transition: color 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #007BBA;
    border: 0;
}

.phone {
    font-weight: bold;
    letter-spacing: 1.2px;
    color: #3a4a5b;
    white-space: nowrap;
}

/* Mobile Menu Styles */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.mobile-menu-btn:hover {
    background-color: #f0f0f0;
}

.hamburger-line {
    width: 24px;
    height: 3px;
    background-color: #3a4a5b;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 6px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -6px);
}

.desktop-phone {
    display: block;
}

.mobile-phone {
    display: none;
}

.desktop-nav {
    display: flex;
}

.mobile-nav {
    display: none;
}

@media (max-width: 1700px) {
    .navbar-main {
        gap: 1.25rem;
        padding: 1.35rem 2.25rem;
    }

    .logo img {
        height: 64px;
        margin-right: 14px;
    }

    .site-title {
        font-size: 1.55rem;
    }

    .subtitle {
        font-size: 0.68rem;
        letter-spacing: 1.6px;
    }

    .navbar-right {
        gap: 1rem;
    }

    .nav-menu {
        gap: 1.05rem;
    }

    .nav-link {
        font-size: 0.98rem;
    }

    .phone {
        font-size: 0.98rem;
        letter-spacing: 1px;
    }
}

/* Mobile Responsive Styles */
@media (max-width: 1420px) {
    .navbar {
        padding: 0;
        flex-wrap: wrap;
    }

    .navbar-main {
        min-height: 92px;
        padding: 1rem;
    }
    
    .navbar-left {
        flex: 1;
    }

    .logo img {
        height: 54px;
        margin-right: 12px;
    }
    
    .site-title {
        font-size: 1.15rem;
    }
    
    .subtitle {
        font-size: 0.62rem;
        letter-spacing: 1.3px;
    }
    
    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
    }
    
    /* Hide ALL desktop navigation elements */
    .desktop-nav {
        display: none !important;
    }
    
    .desktop-phone {
        display: none !important;
    }
    
    /* Show mobile navigation */
    .mobile-nav {
        display: flex;
    }
    
    .nav-menu.mobile-nav {
        position: fixed;
        top: 92px; /* Adjust based on navbar height */
        right: -100%;
        width: 300px;
        height: calc(100vh - 92px);
        background: white;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        overflow-y: auto;
        z-index: 1000;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        gap: 0;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .banner-visible .nav-menu {
        top: 142px; /* Adjust when banner is visible */
        height: calc(100vh - 142px);
    }
    
    .nav-menu .nav-link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 58px;
        padding: 1rem;
        margin: 0.25rem 0;
        text-align: center;
        border-radius: 8px;
        background-color: transparent;
        border: 1px solid #e0e0e0;
    }
    
    .nav-menu .nav-link:hover {
        background-color: #b4e2ed;
    }
    
    .dropdown {
        width: 100%;
        padding-bottom: 0;
        margin-bottom: 0;
    }
    
    .dropdown-content {
        position: static;
        display: none;
        width: 100%;
        box-shadow: none;
        background: #f9f9f9;
        border-radius: 4px;
        margin-top: 0.5rem;
        padding: 0.5rem;
    }
    
    .dropdown:hover .dropdown-content,
    .dropdown.active .dropdown-content {
        display: block;
    }
    
    .dropdown-content a {
        padding: 0.75rem;
        margin: 0.25rem 0;
        border-radius: 4px;
        background: white;
        border: 1px solid #e0e0e0;
    }
    
    .mobile-phone {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin-top: 1rem;
        padding: 0;
        text-align: center;
        background: transparent;
    }
    
    /* Hero Section Mobile Styles */
    .hero {
        display: flex !important;
        flex-direction: column !important;
        padding: 3rem 1rem !important;
        gap: 2rem !important;
        text-align: center !important;
    }
    
    .hero-content {
        flex: none !important;
        max-width: 100% !important;
        text-align: center !important;
        order: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-content h1 {
        font-size: clamp(2.25rem, 10vw, 3.25rem) !important;
        margin-bottom: 1rem;
        text-align: center !important;
    }
    
    .hero-content p {
        font-size: 1.1rem !important;
        margin-bottom: 2rem;
        text-align: center !important;
    }
    
    .hero-button {
        display: inline-block;
        padding: 1rem 2rem;
        font-size: 1rem;
        border-radius: 30px;
        text-align: center;
        width: auto;
        max-width: 300px;
    }

    .hero-image {
        order: 1;
        flex: none;
        margin-bottom: 0;
    }
    
    .hero-image img {
        max-width: 280px !important;
        max-height: 200px !important;
        width: 100%;
        height: auto;
        object-fit: cover;
    }
    
}

@media (min-width: 901px) and (max-width: 1420px) {
    .navbar-main {
        justify-content: center;
        gap: 1.25rem;
        min-height: 92px;
        padding: 1.35rem 2.25rem;
    }

    .navbar-left {
        flex: 0 1 auto;
    }

    .title-group {
        display: none;
    }

    .logo img {
        height: 64px;
        margin-right: 0;
    }

    .navbar-right {
        display: flex;
        flex: 0 1 auto;
        gap: 1rem;
    }

    .mobile-menu-btn {
        display: none;
    }

    .desktop-nav {
        display: flex !important;
    }

    .desktop-phone {
        display: block !important;
    }

    .mobile-nav {
        display: none !important;
    }

    .nav-menu {
        gap: 1.05rem;
    }

    .nav-menu .nav-link,
    .dropbtn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: auto;
        min-height: 0;
        padding: 0.35rem 0;
        margin: 0;
        border: 0;
        border-radius: 0;
        background-color: transparent;
        font-size: 0.98rem;
        text-align: left;
        white-space: nowrap;
    }

    .nav-menu .nav-link:hover {
        background-color: transparent;
    }

    .dropdown {
        width: auto;
        padding-bottom: 1rem;
        margin-bottom: -1rem;
    }

    .dropdown-content {
        position: absolute;
        display: none;
        top: 100%;
        left: 0;
        width: auto;
        min-width: 180px;
        margin-top: 0;
        padding: 0;
        overflow: hidden;
        background-color: white;
        border: 1px solid #e4e8ec;
        border-radius: 4px;
        box-shadow: 0 12px 30px rgba(30, 58, 95, 0.14);
    }

    .dropdown-content a {
        display: block;
        margin: 0;
        padding: 0.9rem 1rem;
        border: 0;
        border-radius: 0;
        background: white;
        font-size: 0.95rem;
    }

    .phone a {
        min-height: 44px;
        padding: 0.68rem 1.15rem;
        font-size: 0.98rem;
    }
}

@media (min-width: 1081px) and (max-width: 1199px) {
    .navbar-main {
        gap: 1.35rem;
        padding: 1.5rem 2rem;
    }

    .logo img {
        height: 76px;
    }

    .nav-menu {
        gap: 1.25rem;
    }

    .nav-menu .nav-link,
    .dropbtn {
        font-size: 1.08rem;
    }

    .phone a {
        min-height: 50px;
        padding: 0.75rem 1.35rem;
        font-size: 1.08rem;
    }
}

@media (min-width: 1200px) and (max-width: 1420px) {
    .navbar-main {
        justify-content: space-between;
        gap: 1.25rem;
        padding: 1.35rem 2.25rem;
    }

    .navbar-left {
        flex: 1 1 auto;
    }

    .title-group {
        display: flex;
    }

    .logo img {
        height: 64px;
        margin-right: 14px;
    }

    .navbar-right {
        flex: 0 0 auto;
        gap: 1rem;
    }

    .nav-menu {
        gap: 1.05rem;
    }

    .nav-menu .nav-link,
    .dropbtn {
        font-size: 0.98rem;
    }

    .phone a {
        min-height: 44px;
        padding: 0.68rem 1.15rem;
        font-size: 0.98rem;
    }
}

@media (min-width: 901px) and (max-width: 1080px) {
    .navbar-main {
        gap: 0.75rem;
        padding-inline: 1rem;
    }

    .navbar-right {
        gap: 0.65rem;
    }

    .nav-menu {
        gap: 0.62rem;
    }

    .nav-menu .nav-link,
    .dropbtn {
        font-size: 0.86rem;
    }

    .phone a {
        padding-inline: 0.85rem;
        font-size: 0.86rem;
        letter-spacing: 0.3px;
    }
}

.gap {
    height: 100px;
}



.hero {
    display: grid;
    grid-template-columns: minmax(420px, 0.9fr) minmax(460px, 1.1fr);
    align-items: center;
    justify-content: center; /* centers horizontally */
    position: relative;
    padding: 4.8rem clamp(2rem, 6vw, 6rem);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0) 68%, #ffffff 100%),
        linear-gradient(to right, #e0f0f9, #ffffff);
    overflow: hidden;
    gap: clamp(2rem, 5vw, 5rem);
    text-align: left;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../img/subtle-texture.svg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.055;
    z-index: 0;
}

.hero > * {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 620px;
    justify-self: center;
    text-align: left;
    transform: translateX(clamp(1.5rem, 3.5vw, 4rem));
}


.hero-content h1 {
    font-size: clamp(3.2rem, 5.6vw, 5.4rem);
    color: #1e3a5f;
    margin-bottom: 1rem;
    line-height: 1.02;
}

.hero-content p {
    font-size: clamp(1.2rem, 1.9vw, 1.55rem);
    color: #6b7280;
    margin-bottom: 2rem;
}

@media (max-width: 1225px) {
    .hero-content {
        transform: none;
    }
}



.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    background-color: #1e3a5f;
    color: white;
    padding: 0.95rem 1.85rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.08rem;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.hero-button:hover {
    background-color: #007BBA;
    transform: translateY(-1px);
}



.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    max-height: 400px;
    border-top-left-radius: 100px;
    border-bottom-right-radius: 100px;
    object-fit: cover;
}


/* Doctors Section */
.doctors, .location {
    padding: 2.75rem 2rem;
    background-color: transparent;
    text-align: center;
}

.doctors h2, .location h2 {
    font-size: var(--ofmc-heading-size);
    margin-bottom: 1rem;
}

.doctors p, .location p {
    font-size: var(--ofmc-body-size);
    color: #555;
}

.location {
    padding: 2.75rem 2rem;
    background-color: transparent;
}

.location-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.office-image {
    flex: 0 1 480px;
    width: min(100%, 480px);
}

.office-image img,
.office-map {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.office-map {
    height: 480px;
    overflow: hidden;
    background: #eef5f8;
}

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

.office-info {
    flex: 0 1 520px;
    max-width: 520px;
}

.office-card {
    width: min(100%, 520px);
    padding: 2rem 2.2rem;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(151, 194, 210, 0.45);
    border-radius: 18px;
    box-shadow: 0 18px 46px rgba(30, 58, 95, 0.12);
    text-align: left;
    backdrop-filter: blur(3px);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.office-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 52px rgba(30, 58, 95, 0.14);
}

.section-eyebrow {
    margin: 0 0 0.45rem;
    color: #607da0;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.office-info h2 {
  font-size: var(--ofmc-heading-size);
  margin-bottom: 1.15rem;
  color: #1f2937;
  font-weight: 500;
  line-height: 1.12;
  text-align: left;
}


.office-info p {
    margin-bottom: 0;
    font-size: var(--ofmc-body-size);
    color: #333;
}

.office-detail-list {
    border-top: 1px solid #e1e8ef;
}

.office-detail-row {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 1rem;
    padding: 0.72rem 0;
    border-bottom: 1px solid #e1e8ef;
    color: #333;
    font-size: var(--ofmc-body-size);
    line-height: 1.35;
}

.office-detail-row strong {
    color: #1e3a5f;
    font-size: var(--ofmc-body-size);
}

.office-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.2rem;
}

.office-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0.55rem 1.15rem;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.office-button.primary {
    background: #1e3a5f;
    color: white;
    border: 2px solid #1e3a5f;
}

.office-button.primary:hover {
    background: #007BBA;
    border-color: #007BBA;
}

.office-button.secondary {
    background: white;
    color: #1e3a5f;
    border: 2px solid #9fb2ca;
}

.office-button.secondary:hover {
    border-color: #1e3a5f;
}

.office-note {
    margin-top: 1rem;
}

.office-note p {
    color: #4b5563;
    font-size: var(--ofmc-body-size);
}

@media (max-width: 1120px) {
    .location-wrapper {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .title-heading,
    .office-info h2,
    .lab-text h2,
    .uninsured-text h2,
    .doctors-section h2,
    .updates-section h2 {
        text-align: center;
    }

    .location-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .office-image {
        order: 2;
        flex-basis: auto;
    }

    .office-info {
        order: 1;
    }

    .office-map {
        aspect-ratio: 4 / 3;
        height: auto;
    }

    .office-card {
        padding: 2rem 1.35rem;
        border-radius: 18px;
    }

    .office-detail-row {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    .office-actions {
        flex-direction: column;
    }

    .office-button {
        width: 100%;
    }
}

.title-heading {
  text-align: center;
  font-size: var(--ofmc-heading-size);
  color: #1f2937;
  font-weight: 500;
  line-height: 1.12;
  margin-bottom: 2rem;
}





.lab-services {
    background-color: transparent;
    color: #1e3a5f; /* navy text */
    padding: 2.75rem 2rem;
    text-align: center;
}

.lab-wrapper {
    width: min(100%, 1180px);
    margin: 0 auto;
    padding: 3.2rem 3rem;
    border: 1px solid #dce5ee;
    border-radius: 24px;
    box-shadow: 0 18px 48px rgba(30, 58, 95, 0.08);
}

.lab-text {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.lab-text h2 {
    font-size: var(--ofmc-heading-size);
    margin-bottom: 1rem;
    color: #1e3a5f;
    font-weight: 500;
    line-height: 1;
}

.lab-text p {
    max-width: 820px;
    margin: 0 auto 1.65rem;
    font-size: var(--ofmc-body-size);
    line-height: 1.6;
    color: #3a4a5b;
}

.lab-note {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 1.25rem;
    max-width: 900px;
    margin: 0 auto 1.45rem;
    padding: 1.35rem 2rem;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid #dce5ee;
    border-radius: 26px;
    box-shadow: 0 18px 48px rgba(30, 58, 95, 0.08);
    text-align: left;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.lab-note:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 54px rgba(30, 58, 95, 0.1);
}

.lab-note h3 {
    margin: 0 0 0.25rem;
    color: #1e3a5f;
    font-size: var(--ofmc-body-size);
}

.lab-note p {
    margin: 0;
    color: #333;
    font-size: var(--ofmc-body-size);
    line-height: 1.45;
}

.note-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid #c9d8e6;
    border-radius: 50%;
    background: #f7fbff;
    color: #1e3a5f;
    font-size: 1.1rem;
    box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.78);
}

.lab-hours-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    max-width: 780px;
    margin: 0 auto;
}

.lab-hours-card {
    padding: 1.35rem 1.7rem;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid #dce5ee;
    border-radius: 26px;
    box-shadow: 0 14px 38px rgba(30, 58, 95, 0.07);
    text-align: left;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.lab-hours-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 44px rgba(30, 58, 95, 0.09);
}

.lab-hours-card span {
    display: block;
    margin-bottom: 0.55rem;
    color: #1e3a5f;
    font-size: var(--ofmc-body-size);
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}

.lab-hours-card strong {
    color: #1e3a5f;
    font-size: var(--ofmc-body-size);
    font-weight: 400;
    line-height: 1.1;
}

/* Optional responsive tweak */
@media (max-width: 768px) {
    .lab-wrapper {
        padding: 2.2rem 1.25rem;
    }

    .lab-note {
        grid-template-columns: 1fr;
        padding: 1.6rem;
        text-align: center;
    }

    .lab-note .note-icon {
        margin: 0 auto;
    }

    .lab-hours-grid {
        grid-template-columns: 1fr;
    }

    .lab-hours-card {
        padding: 1.6rem;
        text-align: center;
    }
}







/* Announcements Section */
.announcements {
    background-color: transparent;
    color: #1e3a5f;
    padding: 2.75rem 2rem;
}

.announcements-wrapper {
    width: min(100%, 1180px);
    margin: 0 auto;
}

.announcement-placeholder {
    text-align: center;
    padding: 1.75rem 2rem;
    color: #6b7280;
    font-style: italic;
}

.announcement-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #007BBA;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.announcement-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.announcement-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.announcement-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e3a5f;
    margin: 0;
    flex: 1;
}

.announcement-date {
    font-size: 0.85rem;
    color: #6b7280;
    white-space: nowrap;
    margin-left: 1rem;
}

.announcement-content {
    color: #3a4a5b;
    line-height: 1.6;
    margin: 0;
}

.announcement-attachment {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1rem;
    color: #007BBA;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
}

.announcement-attachment:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .announcement-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .announcement-date {
        margin-left: 0;
        align-self: flex-start;
    }
}

.uninsured-services {
    background-color: transparent;
    color: #1e3a5f;
    padding: 2.75rem 2rem;
}

.uninsured-wrapper {
    display: grid;
    grid-template-columns: minmax(360px, 1.05fr) minmax(0, 1fr);
    width: min(100%, 1180px);
    margin: 0 auto;
    overflow: hidden;
    background: #f1f2f3;
    border-radius: 24px;
    box-shadow: 0 18px 48px rgba(30, 58, 95, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.uninsured-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 54px rgba(30, 58, 95, 0.1);
}

.uninsured-text {
    max-width: none;
    padding: 4rem 4.5rem;
    text-align: left;
}

.uninsured-text h2 {
    max-width: 520px;
    font-size: var(--ofmc-heading-size);
    margin-bottom: 1.35rem;
    color: #1f2937;
    font-weight: 500;
    line-height: 1.12;
}

.uninsured-text p {
    max-width: 520px;
    font-size: var(--ofmc-body-size);
    margin-bottom: 1.65rem;
    color: #1f2937;
    line-height: 1.6;
}

.uninsured-button {
    background-color: transparent;
    color: #607da0;
    padding: 0.75rem 1.5rem;
    border: 2px solid #607da0;
    border-radius: 999px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.uninsured-button:hover {
    background-color: #607da0;
    color: white;
}

.uninsured-pdf-panel {
    display: flex;
    min-height: 360px;
    padding: 2rem 2.25rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.95), rgba(0, 123, 186, 0.82));
    color: white;
    text-align: left;
}

.uninsured-pdf-panel .section-eyebrow {
    color: rgba(255, 255, 255, 0.75);
}

.uninsured-pdf-panel h3 {
    max-width: 380px;
    margin-bottom: 1rem;
    color: white;
    font-size: var(--ofmc-heading-size);
    font-weight: 500;
    line-height: 1.12;
}

.uninsured-pdf-panel p {
    max-width: 420px;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.86);
    font-size: var(--ofmc-body-size);
    line-height: 1.6;
}

.uninsured-pdf-panel .uninsured-button {
    color: white;
    border-color: rgba(255, 255, 255, 0.74);
}

.uninsured-pdf-panel .uninsured-button:hover {
    background: white;
    color: #1e3a5f;
}

.uninsured-preview-image {
    display: block;
    width: min(100%, 460px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 38px rgba(8, 27, 42, 0.28);
}

.uninsured-preview-image img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .uninsured-wrapper {
        grid-template-columns: 1fr;
    }

    .uninsured-text {
        order: 1;
    }

    .uninsured-pdf-panel {
        order: 2;
    }

    .uninsured-text {
        padding: 2.2rem 1.5rem;
    }

    .uninsured-pdf-panel {
        min-height: auto;
        padding: 2.2rem 1.5rem;
    }
}



/*end*/

section {
    margin-bottom: 1.75rem;
}

h2 {
    font-family: var(--ofmc-font);
    font-weight: 600;
}

p {
    font-family: var(--ofmc-font);
    line-height: 1.6;
}

iframe {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.footer {
    position: relative;
    margin-top: 1.75rem;
    padding: 0 2rem 1.2rem;
    background: linear-gradient(180deg, rgba(7, 32, 38, 0) 0 58px, #071f26 58px 100%);
    color: white;
    font-family: var(--ofmc-font);
}

.footer-callout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    width: min(100%, 1180px);
    min-height: 160px;
    margin: 0 auto 2rem;
    overflow: hidden;
    background: white;
    border: 1px solid rgba(151, 194, 210, 0.35);
    border-radius: 10px;
    box-shadow: 0 18px 42px rgba(7, 31, 38, 0.16);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.footer-callout:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 50px rgba(7, 31, 38, 0.18);
}

.footer-callout-content {
    padding: 2rem 2.7rem;
    text-align: left;
}

.footer-callout-content h2 {
    max-width: 620px;
    margin: 0 0 0.8rem;
    color: #1e3a5f;
    font-size: var(--ofmc-heading-size);
    font-weight: 400;
    line-height: 1.15;
}

.footer-callout-content p {
    max-width: 560px;
    margin-bottom: 0.9rem;
    color: #666;
    font-size: var(--ofmc-body-size);
    line-height: 1.45;
}

.footer-callout-content a {
    color: #ed7a2d;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-decoration: none;
    text-transform: uppercase;
}

.footer-callout-content a::before {
    content: ">";
    margin-right: 0.45rem;
}

.footer-callout-image {
    min-height: 160px;
    background:
        linear-gradient(90deg, white 0%, rgba(255, 255, 255, 0.72) 18%, rgba(255, 255, 255, 0.08) 52%),
        url("../img/orangeville.jpg") center / cover;
}

.footer-main {
    width: min(100%, 1180px);
    margin: 0 auto;
    display: grid;
    justify-items: center;
    gap: 1.4rem;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
}

.footer-brand img {
    width: 54px;
    height: 54px;
    object-fit: cover;
    border-radius: 10px;
    filter: brightness(1.15);
}

.footer-brand div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.footer-brand strong {
    font-size: 1rem;
    line-height: 1.2;
}

.footer-brand span {
    margin-top: 0.3rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem 1rem;
}

.footer-nav a {
    color: white;
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-decoration: none;
    text-transform: uppercase;
}

.footer-nav a:not(:last-child)::after {
    content: "|";
    margin-left: 1rem;
    color: rgba(255, 255, 255, 0.58);
}

.footer-nav a:hover {
    color: #9bd3e6;
}

.footer-copy {
    margin: 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.72rem;
}

@media (max-width: 900px) {
    .footer {
        padding-inline: 1rem;
    }

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

    .footer-callout-content {
        padding: 1.5rem 1.25rem;
    }

    .footer-callout-image {
        min-height: 120px;
    }
}

@media (max-width: 640px) {
    .footer-brand {
        flex-direction: column;
        text-align: center;
    }

    .footer-brand div {
        align-items: center;
        text-align: center;
    }

    .footer-nav {
        flex-direction: column;
        gap: 0.9rem;
    }

    .footer-nav a:not(:last-child)::after {
        content: none;
    }
}





/* Dropdown container */
.dropdown {
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
  margin-bottom: -1rem;
}

/* Dropdown button styled like a nav-link */
.dropbtn {
  background-color: transparent;
  color: #1f2937;
  padding: 0.35rem 0;
  font-size: 1.08rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  border-radius: 0;
  transition: color 0.25s ease;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  min-width: 180px;
  box-shadow: 0 12px 30px rgba(30, 58, 95, 0.14);
  z-index: 1;
  border: 1px solid #e4e8ec;
  border-radius: 4px;
  margin-top: 0;
  overflow: hidden;
}

/* Dropdown links */
.dropdown-content a {
  color: #1f2937;
  padding: 0.9rem 1rem;
  text-decoration: none;
  display: block;
  font-size: 0.95rem;
}

.dropdown-content a:hover {
  background-color: #f1f9fc;
}

/* Show the dropdown on hover, keyboard focus, or click */
.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content,
.dropdown.active .dropdown-content {
  display: block;
}

/* Optional: Highlight the button on hover/focus/open */
.dropdown:hover .dropbtn,
.dropdown:focus-within .dropbtn,
.dropdown.active .dropbtn {
  color: #007BBA;
  border: none;
}


.phone a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.68rem 1.15rem;
  border: 2px solid #1e3a5f;
  border-radius: 999px;
  background: #1e3a5f;
  color: white;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.5px;
  box-shadow: 0 10px 24px rgba(30, 58, 95, 0.14);
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.phone a:hover {
  background: #007BBA;
  border-color: #007BBA;
  text-decoration: none;
  transform: translateY(-1px);
}

@media (max-width: 1420px) {
  .mobile-phone a {
    width: 100%;
    min-height: 58px;
  }
}




.after-hours {
  background-color: transparent;
  padding: 2.75rem 2rem;
  color: #1e3a5f;
}

.after-hours-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 1.05fr);
  width: min(100%, 1180px);
  margin: 0 auto;
  overflow: hidden;
  background: #f1f2f3;
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(30, 58, 95, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.after-hours-wrapper:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 54px rgba(30, 58, 95, 0.1);
}

.after-hours-text {
  max-width: none;
  padding: 4rem 4.5rem;
  text-align: left;
}

.after-hours-image {
  min-height: 420px;
}

.after-hours-image img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}

.after-hours-text h2 {
  max-width: 520px;
  font-size: var(--ofmc-heading-size);
  margin-bottom: 1.35rem;
  color: #1f2937;
  font-weight: 500;
  line-height: 1.12;
}

.after-hours-text p {
  max-width: 520px;
  font-size: var(--ofmc-body-size);
  margin-bottom: 1.65rem;
  color: #1f2937;
  line-height: 1.6;
}

.after-hours-text .section-eyebrow {
  color: #607da0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.after-hours-lead {
  max-width: 520px;
  margin: 0 0 1.65rem;
  font-size: var(--ofmc-body-size) !important;
  line-height: var(--ofmc-body-line-height) !important;
}

.after-hours-detail-list {
  display: grid;
  gap: 0.85rem;
  max-width: 520px;
}

.after-hours-detail-row {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(96, 125, 160, 0.22);
}

.after-hours-detail-row strong {
  color: #1e3a5f;
  font-size: var(--ofmc-body-size);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.after-hours-detail-row span {
  color: #1f2937;
  font-size: var(--ofmc-body-size);
  line-height: 1.4;
}

@media (max-width: 760px) {
  .after-hours-text h2 {
    text-align: center;
  }

  .after-hours {
    padding: 2.75rem 1.25rem 2.25rem;
  }

  .after-hours-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .after-hours-text {
    padding: 2.2rem 1.5rem;
  }

  .after-hours-detail-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .after-hours-image {
    min-height: 240px;
  }
}







.doctors-section, .updates-section {
  padding: 2.75rem 2rem;
  text-align: center;
  background-color: transparent;
  color: #1e3a5f;
}

.doctors-section h2, .updates-section h2 {
  font-size: var(--ofmc-heading-size);
  color: #1f2937;
  font-weight: 500;
  line-height: 1.12;
  margin-bottom: 1.5rem;
}

.doctor-list {
  list-style: none;
  padding: 0;
  max-width: 600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  font-size: var(--ofmc-body-size);
  color: #3a4a5b;
}

@media (min-width: 590px) {
  .doctor-list li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
  }
}

.updates-section p {
  font-size: var(--ofmc-body-size);
  color: #3a4a5b;
  margin-bottom: 1rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
