/* Body and global styles */
body {
    font-family: Arial, sans-serif;
    margin: 0; 
    padding: 0;
    background: #f9f9f9;
    color: #333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navbar container */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #0275d8;
    padding: 10px 20px;
    flex-wrap: wrap;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Navbar background on scroll */
.navbar.scrolled {
    background-color: #025aa5;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

/* Left side: logo + site title */
.nav-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: brightness(100%) contrast(100%);
}

.site-title {
    color: white;
    font-size: 1.5rem;
    margin: 0;
    user-select: none;
    font-weight: 700;
}

/* Navigation menu */
.nav-menu {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.nav-menu li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.nav-menu li a:hover,
.nav-menu li a:focus {
    background-color: rgba(255,255,255,0.2);
    outline: none;
}

/* Right side contact icon */
.nav-right {
    display: flex;
    align-items: center;
}

.contact-icon svg {
    fill: white;
    width: 26px;
    height: 26px;
    transition: fill 0.3s ease;
}

.contact-icon:hover svg,
.contact-icon:focus svg {
    fill: #5cb85c;
    outline: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar {
        justify-content: center;
    }

    .nav-menu {
        width: 100%;
        justify-content: center;
        gap: 15px;
        margin-top: 10px;
    }

    .nav-menu li a {
        padding: 12px 16px;
        font-size: 1.1rem;
    }

    .nav-left {
        flex: 1 1 100%;
        justify-content: center;
    }

    .nav-right {
        position: absolute;
        top: 12px;
        right: 20px;
    }
}

/* Responsive Layout for Services section */
.services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
    gap: 20px;
}

.service-card {
    background: white;
    padding: 20px;
    max-width: 320px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    outline: none;
}

.service-card:hover,
.service-card:focus {
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    transform: translateY(-6px);
}

/* Make inner button visible and accessible */
.service-card a.btn-small {
    margin-top: 10px;
    display: inline-block;
    font-weight: 600;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0275d8, #5bc0de);
    color: white;
    padding: 40px 20px;
    text-align: center;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.hero h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* Buttons */
.btn, .btn-small {
    background: #0275d8;
    color: white;
    padding: 12px 22px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1rem;
    box-shadow: 0 3px 8px rgba(2,117,216,0.6);
    transition: background-color 0.3s ease;
}

.btn:hover, .btn:focus,
.btn-small:hover, .btn-small:focus {
    background-color: #025aa5;
    box-shadow: 0 6px 14px rgba(2,90,165,0.8);
    outline: none;
}

/* How it works & Why choose us sections */
.how-it-works, .why-choose-us {
    padding: 30px 20px;
    max-width: 700px;
    margin: 0 auto 40px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.how-it-works h3, .why-choose-us h3 {
    text-align: center;
    margin-bottom: 20px;
}

/* Lists */
.how-it-works ol {
    padding-left: 1.1rem;
    font-weight: 600;
}

.why-choose-us ul {
    list-style: disc inside;
    font-size: 1rem;
    gap: 10px;
}

/* Floating call/contact button */
.call-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #5cb85c;
    padding: 15px 22px;
    font-weight: bold;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(92,184,92,0.8);
    transition: background-color 0.3s ease;
    z-index: 1001;
}

.call-button:hover, .call-button:focus {
    background-color: #449d44;
    outline: none;
}

/* Improve tap target size */
button, a.btn, a.btn-small {
    min-height: 44px;
}

/* Focus styles for accessibility */
a:focus, button:focus, .service-card:focus {
    outline: 3px solid #ffca28;
    outline-offset: 3px;
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
    .services {
        flex-direction: column;
        align-items: center;
    }
    .service-card {
        width: 90%;
        max-width: 100%;
    }
    .hero h2 {
        font-size: 1.5rem;
    }
    .hero p {
        font-size: 1rem;
    }
}
.hero-icon {
    text-align: center;
    margin-bottom: 12px;
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.why-choose-us h3 svg,
.how-it-works h3 svg {
    vertical-align: middle;
    margin-right: 5px;
}
.ayushman-hero {
    background: linear-gradient(135deg, #e3f2fd 50%, #b3e5fc 100%);
    border-radius: 0 0 18px 18px;
    padding: 35px 18px 25px 18px;
    text-align: center;
    box-shadow: 0 3px 12px rgba(2,117,216,0.08);
    margin-bottom: 22px;
}

.service-icon-lg {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.hospital-list, .how-get-started {
    background: #fff;
    margin: 0 auto 25px auto;
    max-width: 650px;
    padding: 28px 18px 18px 18px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(2,117,216,0.05);
}

.hospital-list h3, .how-get-started h3 {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: #0275d8;
}

.hospital-list ul {
    list-style-type: disc;
    padding-left: 24px;
    font-size: 1.1rem;
}

.how-get-started ol {
    padding-left: 0;
    margin-bottom: 0;
}
.how-get-started ol li {
    font-size: 1.08rem;
    margin-bottom: 11px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.centered-btn {
    text-align: center;
    margin: 24px 0 0 0;
}
.pathology-hero {
    background: linear-gradient(135deg, #e3f2fd 60%, #b2dfdb 100%);
    border-radius: 0 0 18px 18px;
    padding: 35px 18px 25px 18px;
    text-align: center;
    box-shadow: 0 3px 12px rgba(44, 161, 196, 0.10);
    margin-bottom: 22px;
}

.service-icon-lg {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 12px;
}

.lab-partners, .booking-discount {
    background: #fff;
    margin: 0 auto 24px auto;
    max-width: 650px;
    padding: 28px 18px 18px 18px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(2,117,216,0.07);
}

.lab-partners h3, .booking-discount h3 {
    display: flex;
    align-items: center;
    font-size: 1.18rem;
    margin-bottom: 15px;
    color: #0275d8;
}

.lab-partners ul {
    list-style-type: disc;
    padding-left: 24px;
    font-size: 1.08rem;
}

.booking-discount ol {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.booking-discount ol li {
    font-size: 1.08rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.centered-btn {
    text-align: center;
    margin: 24px 0 0 0;
}

/* Responsive: stack sections on mobile */
@media (max-width: 700px) {
    .lab-partners, .booking-discount { padding: 18px 6vw 14px 6vw; }
    .pathology-hero { padding: 26px 6vw 18px 6vw; }
    .service-icon-lg svg { width: 40px; height: 40px; }
}
.homecare-hero {
    background: linear-gradient(135deg, #e0f7fa 60%, #b2dfdb 100%);
    border-radius: 0 0 18px 18px;
    padding: 35px 18px 25px 18px;
    text-align: center;
    box-shadow: 0 3px 12px rgba(44, 161, 196, 0.10);
    margin-bottom: 22px;
}

.service-icon-lg {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 12px;
}

.homecare-services-list,
.homecare-howbook {
    background: #fff;
    margin: 0 auto 24px auto;
    max-width: 650px;
    padding: 28px 18px 18px 18px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(2,117,216,0.07);
}

.homecare-services-list h3, .homecare-howbook h3 {
    display: flex;
    align-items: center;
    font-size: 1.18rem;
    margin-bottom: 15px;
    color: #0275d8;
}

.homecare-services-list ul {
    list-style-type: disc;
    padding-left: 24px;
    font-size: 1.08rem;
}

.homecare-services-list ul li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.homecare-howbook ol {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.homecare-howbook ol li {
    font-size: 1.08rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}
.centered-btn {
    text-align: center;
    margin: 24px 0 0 0;
}
/* Responsive for smaller devices */
@media (max-width: 700px) {
    .homecare-services-list,
    .homecare-howbook { padding: 18px 6vw 14px 6vw; }
    .homecare-hero { padding: 26px 6vw 18px 6vw; }
    .service-icon-lg svg { width: 40px; height: 40px; }
}
