/* =========================================================
   GLOBAL
   ========================================================= */

body {
    background-color: #fff;
}


/* =========================================================
   BOOTSTRAP NAVBAR TOGGLER
   ========================================================= */

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28102, 204, 153, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


/* =========================================================
   HERO SECTION
   ========================================================= */

#heroHomepage {
    width: calc(100% - 20px);
    margin: 10px auto;
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
    box-sizing: border-box;
}

#heroHomepage img,
.hero-image {
    width: 100%;
    height: auto;
    display: block;
}

#heroHomepage img {
    border-radius: 10px;
}


/* =========================================================
   TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Lora", serif;
    font-weight: 600;
    line-height: 1.2;
    color: #212529;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    font-family: "Poppins", sans-serif;
    color: #495057;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
}

.btn-sm {
    font-family: "Poppins", sans-serif;
    font-size: 0.8rem;
}


/* =========================================================
   CAROUSEL
   ========================================================= */

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.carousel-indicators .active {
    background-color: #0066ff;
}

.carousel-wrapper {
    width: 100%;
    max-width: 1350px;
    margin: 0 auto;
    padding: 05px 15px;
    box-sizing: border-box;
}

.carousel-wrapper .carousel-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.medical-footer {
    background-color: #e8fafa;
    padding-top: 70px;
    color: #111;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 50px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 50px;
}

.footer-column h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 25px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 17px;
}

.footer-column ul li a {
    color: #111;
    text-decoration: none;
    font-size: 15.5px;
    transition: color 0.2s ease;
}

.footer-column ul li a:hover {
    color: #087f7f;
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    text-align: center;
    padding: 20px;
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
}


/* =========================================================
   WHATSAPP BUTTON
   ========================================================= */

.whatsapp-button {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 62px;
    height: 62px;
    background: #20b532;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
}

.whatsapp-button:hover {
    transform: scale(1.05);
}


/* =========================================================
   BANNER
   ========================================================= */

.bannercontainer {
    width: 100%;
    max-width: 1350px;
    margin: 0 auto;
    padding: 10px 5px;
    box-sizing: border-box;
}

.bannercontainer img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}


/* =========================================================
   QUICK SERVICES
   ========================================================= */

.quick-services {
    max-width: 1250px;
    margin: 25px auto;
    padding: 0 15px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    min-height: 100px;
    padding: 15px 18px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.service-icon {
    width: 65px;
    min-width: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.service-content {
    flex: 1;
}

.service-content h2 {
    margin: 0 0 5px;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 600;
}

.service-content p {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
}

.service-arrow {
    font-size: 32px;
    line-height: 1;
    font-weight: 400;
    margin-left: 10px;
}

.prescription-card {
    background: #e9faee;
}

.prescription-card p {
    color: #125525;
}

.doctor-card {
    background: #f0ecff;
}

.doctor-card p {
    color: #382080;
}

.insurance-card {
    background: #fff3d5;
}

.insurance-card p {
    color: #8a4b00;
}

.lab-card {
    background: #fcecf2;
}

.lab-card p {
    color: #8b2345;
}


/* =========================================================
   MAIN HEADER
   ========================================================= */

.main-header {
    width: 100%;
    font-family: Arial, sans-serif;
}

.header-container {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}


/* TOP HEADER */

.header-top {
    background: #20c9b0;
    min-height: 90px;
}

.header-top .header-container {
    min-height: 90px;
    gap: 30px;
}


/* LOGO */

.store-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #073b36;
    min-width: 190px;
}

.logo-cross {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: #20a990;
    border-radius: 50%;
    font-size: 27px;
    font-weight: bold;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
}

.logo-text small {
    display: block;
    font-size: 9px;
    letter-spacing: 1.5px;
    font-weight: 600;
}


/* LOCATION */

.delivery-location {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #073b36;
    white-space: nowrap;
}

.delivery-location i {
    font-size: 25px;
}

.delivery-location span {
    display: block;
    font-size: 12px;
}

.delivery-location strong {
    font-size: 15px;
}


/* SEARCH */

.header-search {
    height: 55px;
    flex: 1;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 30px;
    padding: 0 20px;
    max-width: 550px;
}

.header-search i {
    font-size: 23px;
    color: #555;
}

.header-search input {
    width: 100%;
    border: none;
    outline: none;
    margin-left: 15px;
    font-size: 16px;
}

.header-search input::placeholder {
    color: #555;
}


/* CART */

.header-cart {
    position: relative;
    color: #063d38;
    font-size: 27px;
    text-decoration: none;
}

.header-cart span {
    position: absolute;
    top: -8px;
    right: -10px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ff4d4d;
    color: white;
    border-radius: 50%;
    font-size: 10px;
}


/* LOGIN */

.header-login {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #073b36;
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    white-space: nowrap;
}

.header-login i {
    font-size: 25px;
}


/* NAVIGATION */

.header-nav {
    background: #167d73;
}

.nav-container {
    min-height: 55px;
    justify-content: space-between;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 17px 12px;
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.2s ease;
}

.nav-item i {
    font-size: 18px;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.12);
    color: white;
}

.nav-item.categories {
    font-weight: 700;
}

.nav-item.offers {
    color: #fff4a3;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

/* Tablet */

@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }

    .quick-services {
        grid-template-columns: repeat(2, 1fr);
    }

    .header-top .header-container {
        gap: 15px;
        padding: 0 15px;
    }

    .store-logo {
        min-width: 160px;
    }

    .logo-text {
        font-size: 20px;
    }

    .delivery-location {
        display: none;
    }

    .header-search {
        max-width: none;
    }

    .nav-container {
        width: max-content;
    }

    .header-nav {
        overflow-x: auto;
    }

    .nav-item {
        flex-shrink: 0;
        padding: 15px 12px;
    }
}


/* Mobile */

@media (max-width: 768px) {
    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.75rem;
    }

    h4 {
        font-size: 1.35rem;
    }

    p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

@media (max-width: 600px) {
    .medical-footer {
        padding-top: 45px;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 35px 25px;
    }

    .footer-column h3 {
        font-size: 18px;
    }

    .footer-column ul li a {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .quick-services {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .service-card {
        min-height: 90px;
    }

    .header-top {
        min-height: auto;
    }

    .header-top .header-container {
        min-height: auto;
        padding: 12px;
        display: grid;
        grid-template-columns: 1fr auto auto;
        grid-template-areas:
            "logo cart login"
            "search search search";
        gap: 12px;
    }

    .store-logo {
        grid-area: logo;
        min-width: 0;
    }

    .logo-cross {
        width: 32px;
        height: 32px;
        font-size: 22px;
    }

    .logo-text {
        font-size: 17px;
    }

    .logo-text small {
        font-size: 7px;
    }

    .header-search {
        grid-area: search;
        width: 100%;
        max-width: none;
        height: 45px;
        padding: 0 15px;
    }

    .header-search input {
        font-size: 14px;
    }

    .header-search i {
        font-size: 19px;
    }

    .header-cart {
        grid-area: cart;
        font-size: 24px;
    }

    .header-login {
        grid-area: login;
        font-size: 0;
    }

    .header-login i {
        font-size: 25px;
    }

    .header-nav {
        overflow-x: auto;
    }

    .nav-container {
        width: max-content;
        min-height: 48px;
        padding: 0 8px;
    }

    .nav-item {
        padding: 13px 12px;
        font-size: 13px;
    }

    .nav-item i {
        font-size: 16px;
    }
}


/* Small mobile */

@media (max-width: 450px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
}
