body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background: #fff;
    color: #222;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

body {
    font-weight: 500;
    line-height: 1.7;
}

.btn-primary {
    background-color: #336ed1;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    display: inline-block;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background-color: #264ca6;
}


/* === NAVBAR === */

.header {
    background: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 999;
    padding: 1rem 0;
}

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

.logo {
    height: 45px;
}


/* Nav links */

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    transition: all 0.3s ease;
}

.nav-links a {
    text-decoration: none;
    color: #222;
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background-color: #082444;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #0077cc;
}

.nav-links a:hover::after {
    width: 100%;
}


/* Book Now button */

.btn-nav {
    background: #1b4474;
    color: #fff !important;
    padding: 0.6rem 1.4rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    transition: background 0.3s ease, transform 0.2s ease, color 0.3s ease;
    font-family: 'Inter', sans-serif;
    border: none;
    white-space: nowrap;
}

.btn-nav:hover {
    background: #2859b6;
    transform: scale(1.02);
    box-shadow: 0 4px 10px rgba(40, 89, 182, 0.3);
}


/* Hamburger Menu */

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #222;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


/* Responsive Nav */

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        background: white;
        height: 100vh;
        padding-top: 5rem;
        padding-left: 2rem;
        padding-right: 2rem;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.2rem;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
        z-index: 999;
    }
    .nav-links.show {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 24px;
        height: 18px;
        cursor: pointer;
        z-index: 1000;
    }
    .hamburger span {
        height: 3px;
        background: #000;
        width: 100%;
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    .hamburger.open span:nth-child(1) {
        transform: rotate(45deg) translate(4px, 4px);
    }
    .hamburger.open span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.open span:nth-child(3) {
        transform: rotate(-45deg) translate(4px, -4px);
    }
}


/* Logan Hero Section */


/* Hero Container */

.logan-hero.updated {
    background: linear-gradient(to bottom, #ffffff, #f9fbfe);
    padding: 4rem 1rem 3rem;
}

.overlap-images .img-wrap {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    height: auto;
}

.img-one,
.img-two {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    display: block;
}

.img-one {
    position: relative;
    z-index: 2;
}

.img-two {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1;
    opacity: 0.95;
}


/* Make it stack nicely on smaller screens */

@media (max-width: 768px) {
    .img-wrap {
        max-width: 100%;
    }
    .img-two {
        top: 12px;
        left: 12px;
    }
}

.hero-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
    justify-content: space-between;
}

.logan-hero-text {
    flex: 1;
    min-width: 300px;
}

.logan-location {
    color: #761d29;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.logan-hero-text h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #082444;
    margin: 0.5rem 0 1rem;
}

.underline {
    border-bottom: 4px solid #761d29;
    display: inline-block;
}

.logan-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: #333;
    margin-bottom: 0.75rem;
}

.status-indicator {
    width: 10px;
    height: 10px;
    background: #28a745;
    border-radius: 50%;
}

.open-text {
    color: #28a745;
    font-weight: 600;
}

.logan-address,
.logan-phone {
    font-size: 1rem;
    color: #444;
    margin-bottom: 0.5rem;
}

.logan-phone a {
    color: #336ed1;
    text-decoration: none;
    font-weight: 500;
}

.logan-walkins span {
    font-family: 'Georgia', serif;
    font-size: 1.3rem;
    font-style: italic;
    font-weight: 600;
    color: #cd2339;
    display: inline-block;
    margin: 1rem 0;
}

.logan-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.btn-red {
    background-color: #cd2339;
    color: #fff;
    padding: 0.7rem 1.6rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: background 0.3s ease;
}

.btn-red:hover {
    background-color: #5c131f;
}

.btn-blue-outline {
    border: 2px solid #336ed1;
    color: #336ed1;
    padding: 0.7rem 1.6rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-blue-outline:hover {
    background: #e5edfb;
}


/* Hero Image */

.logan-hero-img {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.logan-hero-img img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.logan-hero {
    background: linear-gradient(to right, #f4f7fb, #e3effc);
    padding: 4rem 1rem 2rem;
}

.logan-hero .hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.logan-hero .hero-text {
    flex: 1;
    min-width: 280px;
}

.logan-hero .hero-text h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #082444;
    margin-bottom: 1rem;
}

.logan-hero .btn-primary {
    background-color: #336ed1;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.logan-hero .btn-primary:hover {
    background-color: #264ca6;
}

.logan-hero .doctor-img {
    max-width: 300px;
    height: auto;
    object-fit: contain;
}


/* Hours + Map */

.logan-hours-map {
    background: #f2f7fc;
    border-top: 4px solid #336ed1;
    padding: 4rem 1rem;
}

.hours-map-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
    align-items: flex-start;
}

.hours-info {
    flex: 1;
    min-width: 280px;
}

.hours-info h2 {
    font-size: 1.5rem;
    color: #336ed1;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hours-info ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}

.hours-info ul li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #333;
}

.hours-info .email {
    font-weight: 500;
    color: #082444;
}

.hours-info .email a {
    color: #336ed1;
    text-decoration: none;
}

.map-embed {
    flex: 1;
    min-width: 300px;
}


/* SECTION HEADINGS */

.section-heading {
    font-size: 1.8rem;
    color: #082444;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 700;
}


/* Why Choose Us */

.logan-why {
    background: #ffffff;
    border-top: 4px solid #761d29;
    padding: 4rem 1rem;
}

.bullet-list {
    list-style: none;
    padding-left: 0;
    max-width: 800px;
    margin: 0 auto;
}

.bullet-list li {
    margin-bottom: 1rem;
    font-size: 1rem;
    padding-left: 1.5rem;
    position: relative;
    color: #333;
}

.bullet-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #761d29;
    font-size: 1.2rem;
    font-weight: bold;
}


/* Services Provided */

.fade-images {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    opacity: 0;
    animation: fadeLoop 8s infinite;
}

.exterior-img {
    animation-delay: 0s;
    z-index: 1;
}

.interior-img {
    animation-delay: 4s;
    z-index: 2;
}

@keyframes fadeLoop {
    0% {
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    40% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}


/* Mobile fallback: stack them */

@media (max-width: 768px) {
    .fixed-pair {
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .clinic-image {
        position: static;
        width: 100%;
        height: 220px;
    }
}


/* Service Section */

.logan-services {
    background: #fff;
    padding: 4rem 1rem;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.service-item {
    background: linear-gradient(to bottom right, #eef4ff, #f9fbff);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    border-radius: 12px;
    transition: transform 0.3s ease;
    text-align: center;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
}

.service-item h3 {
    margin: 0.5rem 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #336ed1;
}

.service-item p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
}


/* Contact Info Section */

.logan-contact {
    background: #f9fbff;
    ;
    border-top: 4px solid #336ed1;
    padding: 4rem 1rem;
    text-align: center;
}

.logan-contact .location-text {
    max-width: 700px;
    margin: 0 auto 1rem;
    font-size: 1rem;
    color: #333;
}


/* Pre-footer Section */

.logan-prefooter {
    background: #f9fbff;
    padding: 4rem 1rem;
}

.logan-prefooter h2 {
    font-size: 1.4rem;
    color: #082444;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.logan-prefooter p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 1rem;
}

.bring-list {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: #444;
    font-size: 0.95rem;
}


/* FAQ Accordion */

.faq {
    margin-top: 2rem;
}

.faq-item {
    border: 2px solid #336ed1;
    border-radius: 12px;
    margin-bottom: 1rem;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.faq-question {
    width: 100%;
    background: #336ed1;
    color: #fff;
    padding: 1rem;
    text-align: left;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #2859b6;
}

.faq-question::after {
    content: "+";
    float: right;
    font-weight: bold;
}

.faq-question.active::after {
    content: "−";
}

.faq-answer {
    padding: 1rem;
    background: #fff;
    color: #333;
    font-size: 0.95rem;
    display: none;
}

.faq-answer.show {
    display: block;
}


/* Footer */

.footer {
    background: #082444;
    border-top: 6px solid #336ed1;
    padding-top: 5rem;
    color: #f0f4f8;
    padding: 4rem 1rem 2rem;
    font-size: 0.95rem;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem;
}

.footer-logo {
    height: 50px;
    margin-bottom: 1rem;
    background: #ffffff;
    padding: 6px 12px;
    border-radius: 8px;
}

.footer-about p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.social-icons img:hover {
    transform: scale(1.1);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 700;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 0.6rem;
}

.footer-links a,
.footer-contact a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    font-size: 0.85rem;
    color: #a0aec0;
}

.footer-bottom a {
    color: #a0aec0;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #ffffff;
}