* {
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    line-height: 1.6;
    color: #222;
    background-color: #fff;
    animation: fadeInPage 0.8s ease-out;
}

body.menu-open {
    overflow: hidden;
}

@keyframes fadeInPage {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

:root {
    --primary-blue: #082444;
    --secondary-blue: #336ed1;
    --highlight-red: #761d29;
    --glass-white: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-shadow: rgba(0, 0, 0, 0.1);
}


/* === HEADER === */

.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 {
    display: inline-block;
    background: #1b4474;
    /* your blue */
    color: #fff !important;
    /* TEXT stays white */
    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;
    width: 100%;
    box-sizing: border-box;
}

.btn-nav:hover {
    background: #2859b6;
    /* darker blue on hover */
    color: #ffffff !important;
    /* make sure text stays white */
    transform: scale(1.02);
    box-shadow: 0 4px 10px rgba(40, 89, 182, 0.3);
}


/* === Hamburger === */

.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 animation */

.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);
}


/* Mobile 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;
    }
    .nav-links a {
        font-size: 1.1rem;
        text-decoration: none;
        color: #222;
        width: 100%;
    }
    .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);
    }
}


/* HERO SECTION */

.hero {
    background: #761d29;
    color: #fff;
    padding: 0;
    position: relative;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem 0;
    min-height: 20vh;
    flex-wrap: wrap;
    position: relative;
}

.hero-text {
    flex: 1;
    min-width: 300px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 2rem;
}

.hero-text h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.hero-text p {
    font-size: 1.1rem;
    color: #f0f0f0;
    margin-bottom: 2rem;
}

.button-wrapper {
    display: inline-block;
}

.btn-primary {
    background-color: #082444;
    color: white;
    padding: 0.75rem 1.75rem;
    margin-bottom: 5px;
    border: none;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s, color 0.3s;
    display: inline-block;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
}

.btn-primary:hover {
    background: #2859b6;
    transform: scale(1.03);
}

.hero-image-wrapper {
    position: relative;
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.bandaid-bg {
    position: absolute;
    top: 35%;
    left: 38%;
    transform: translate(-50%, -50%);
    max-width: 320px;
    opacity: .7;
    z-index: 0;
}

.doctor-img {
    position: relative;
    left: 20%;
    max-height: 95vh;
    object-fit: contain;
    z-index: 1;
}

.hero-bg-fill {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        align-items: center;
        padding: 2rem 1rem 2rem;
    }
    .hero-text {
        text-align: center;
        padding-bottom: 2rem;
    }
    .bandaid-bg {
        top: 35%;
        left: 50%;
        max-width: 200px;
    }
    .doctor-img {
        max-height: 80vh;
    }
}

.btn-primary:hover {
    background: #2859b6;
    color: #fff;
    transform: scale(1.03);
    box-shadow: 0 4px 10px rgba(40, 89, 182, 0.2);
}

.hero-image {
    flex: 1;
    min-width: 280px;
    display: flex;
    margin-top: 20px;
    justify-content: center;
    animation: fadeInRight 1s ease-out both;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    margin-top: 20px;
    border-radius: 12px;
}


/* Animations */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* Mobile Adjustments */

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    .hero-text h1 {
        font-size: 2rem;
    }
    .hero-text p {
        font-size: 1rem;
    }
    .hero-image {
        margin-top: 2rem;
    }
}


/* QUICK CARDS SECTION */

.quick-links {
    padding: 4rem 1rem;
    background: linear-gradient(145deg, rgba(8, 36, 68, 0.05), rgba(51, 110, 209, 0.08));
    text-align: center;
}

.section-heading {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.section-divider {
    width: 60px;
    height: 4px;
    background-color: #6799d1;
    margin: 0 auto 2rem;
    border-radius: 2px;
}

.quick-links-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.quick-link-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.2rem 1rem;
    width: 200px;
    height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    color: #1a202c;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.quick-link-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.quick-link-item img {
    width: 56px;
    height: 56px;
    margin-bottom: 0.75rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.quick-link-item span {
    font-weight: 600;
    font-size: 0.95rem;
    color: #082444;
}


/* === Feature Section === */

.features {
    background-color: #082444;
    padding: 4rem 1rem;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
    text-align: center;
}

.feature-item {
    background: #fff;
    color: #082444;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.icon {
    width: 80px;
    height: 100px;
    margin: 0 auto 1.2rem;
}

.icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.feature-item:hover .icon img {
    transform: scale(1.1);
}

.feature-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #082444;
    font-weight: 600;
}

.feature-item p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

.section-heading {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.5s ease;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: #336ed1;
    margin: 1rem auto 2rem;
    border-radius: 2px;
}

.features {
    background-color: #f7f9fc;
    /* just slightly blue/gray tinted */
    padding: 5rem 1rem;
}


/* DESERVE MORE SECTION */

.deserve-more {
    padding: 4rem 1rem;
    background: linear-gradient(to bottom, #f4f7fb, #dceafc);
    /* Soft gradient */
}

.deserve-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

.deserve-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.deserve-text p {
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1rem;
}

.service-icons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 1.5rem;
    margin-bottom: 2rem;
    max-width: 800px;
    width: 100%;
}

@media (max-width: 768px) {
    .service-icons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .service-icons-grid {
        grid-template-columns: 1fr;
    }
}

.service-icon-item {
    background-color: #fff;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.service-icon-item img {
    width: 70px;
    height: 70px;
    margin-bottom: 0.75rem;
}

.service-icon-item span {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}


/* MEET PROVIDERS */

.providers {
    background: linear-gradient(to right, #fff5f5, #fceeee);
    padding: 5rem 1rem;
}

.provider-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    margin-top: 2rem;
}

.provider-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
}

.provider-card:hover {
    transform: translateY(-6px);
}

.provider-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.provider-card p {
    font-weight: 600;
    font-size: 1rem;
    color: #1a202c;
}

.provider-card .name {
    font-weight: 600;
    font-size: 1rem;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.provider-card .quote {
    background: #eef2ff;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    position: relative;
    font-style: italic;
    font-size: 0.9rem;
    color: #333;
    margin-top: 0.5rem;
    line-height: 1.4;
}

.provider-card .quote::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #eef2ff;
}


/* INSURANCE */

.insurance {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    padding: 5rem 1rem;
    text-align: center;
}

.insurance-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 3rem;
    align-items: center;
    justify-items: center;
    margin-top: 3rem;
}

.insurance-logos img {
    width: 200px;
    /* or bump to 220/240 if you want even bigger */
    height: auto;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.insurance-logos img:hover {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.insurance h2.section-heading {
    margin-bottom: 0.5rem;
}


/* BLOGS */

.blog {
    background: #eef4fc;
    padding: 5rem 1rem;
}

.blog-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    text-align: center;
}

.blog-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem 1.25rem;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.blog-icon {
    width: 100px;
    height: 100px;
    background: #eef2ff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.blog-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-icon img {
    transform: scale(1.1);
}

.blog-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a202c;
    line-height: 1.4;
    margin-top: 0.5rem;
}

.section-heading {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: #336ed1;
    margin: 1rem auto 2.5rem;
    border-radius: 2px;
}


/* FOOOTER */

.footer {
    background: #082444;
    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;
}

.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;
}

.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;
}

.footer-logo {
    height: 50px;
    margin-bottom: 1rem;
    background: #ffffff;
    padding: 6px 12px;
    border-radius: 8px;
}


/* === Universal Fixes for Mobile === */

* {
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

html,
body {
    max-width: 100%;
}

@media (max-width: 600px) {
    .quick-links-grid,
    .features-grid,
    .provider-grid,
    .blog-grid,
    .insurance-logos {
        grid-template-columns: 1fr !important;
        justify-items: center;
    }
    .quick-link-item,
    .feature-item,
    .provider-card,
    .blog-card {
        width: 100%;
        max-width: 320px;
    }
    .hero-text h1,
    .section-heading {
        font-size: 1.5rem;
    }
    .hero-text p,
    .deserve-text p,
    .feature-item p {
        font-size: 0.95rem;
    }
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}