/* ============================= */
/*        General Reset          */
/* ============================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}


/* ============================= */
/*            Header             */
/* ============================= */
.header-container {
    display: flex;
    align-items: center;
    background-color: #18314f; /* Navy-ish */
    padding: 15px 40px;
    gap: 20px;
}

.logo {
    height: 60px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.site-title {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    user-select: none;
}


/* ============================= */
/*          Navigation           */
/* ============================= */
nav {
    background-color: #27496d; /* Slightly lighter navy */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 12px 0;
}

.nav-link {
    color: #d0d7e2;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #add8f0; /* Light Blue */
}


/* ============================= */
/*         Hero Section          */
/* ============================= */
.hero-section {
    max-width: 900px;
    margin: 60px auto;
    text-align: center;
    padding: 0 20px;
}

.hero-section h2 {
    font-size: 36px;
    color: #18314f;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-section p {
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
}


/* ============================= */
/*     About Hero (Purple)       */
/* ============================= */
.about-hero-section {
    background: linear-gradient(135deg, #9c27b0, #7b1fa2);
    color: white;
    text-align: center;
    padding: 4rem 2rem;
    border-radius: 0 0 60% 60% / 10%;
}

.about-hero-section img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 4px solid white;
    margin-bottom: 1rem;
}

.about-hero-section h1 {
    margin: 0;
    font-size: 2.2rem;
}

.about-hero-section p {
    margin-top: 1rem;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}


/* ============================= */
/*         Primary Button        */
/* ============================= */
.btn-primary {
    display: inline-block;
    background-color: #18314f;
    color: #fff;
    padding: 14px 35px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(24, 49, 79, 0.4);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    background-color: #0f2233;
    box-shadow: 0 6px 15px rgba(15, 34, 51, 0.6);
}


/* ============================= */
/*            Footer             */
/* ============================= */
footer {
    text-align: center;
    padding: 25px 15px;
    background-color: #18314f;
    color: #d0d7e2;
    font-size: 14px;
    margin-top: 80px;
    user-select: none;
}


/* ============================= */
/*         Responsive            */
/* ============================= */
@media (max-width: 600px) {
    .header-container {
        flex-direction: column;
        gap: 10px;
        padding: 20px;
    }

    .site-title {
        font-size: 22px;
        text-align: center;
    }

    .nav-list {
        flex-direction: column;
        gap: 15px;
    }

    .hero-section h2 {
        font-size: 28px;
    }

    .btn-primary {
        padding: 12px 28px;
        font-size: 16px;
    }
}


/* ============================= */
/*     Pharmacy Carousel         */
/* ============================= */
.pharmacy-carousel {
    background-color: #f8f9fa;
    padding: 40px 0;
    overflow-x: auto;
    white-space: nowrap;
}

#carouselTrack {
    display: flex;
    gap: 20px;
}

.carousel-item {
    flex: 0 0 auto;
    width: 300px;
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

.carousel-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.carousel-item p {
    font-size: 16px;
    margin-top: 8px;
    color: #333;
}
