/* ========================= */
/* GLOBAL RESET */
/* ========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* ========================= */
/* NAVBAR */
/* ========================= */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 60px;
    background: #f5f6f8;
}

/* LEFT */
.nav-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* LOGO */
a.logo {
    text-decoration: none;
    color: inherit;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
    width: auto;
    display: block;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #28328c;
}

/* LINKS */
.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 15px;
    font-weight: 600;
}

.nav-links a:hover {
    color: #28328c;
}

/* ========================= */
/* COMING SOON */
/* ========================= */

.coming-soon {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    color: #999;
    cursor: not-allowed;
}

.coming-soon span {
    font-weight: 600;
}

.coming-soon small {
    font-size: 11px;
    color: #ff9800;
}

/* RIGHT */
.nav-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* LOGIN BUTTON */
.login-btn {
    padding: 6px 14px;
    border: 1px solid #ccc;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

.login-btn:hover {
    border-color: #28328c;
    color: #28328c;
}

/* Patient Login button (top) */
.patient-login-btn {
    padding: 6px 14px;
    border: 1px solid #28328c;
    background: #28328c;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

.patient-login-btn:hover {
    background: #1e2470;
    border-color: #1e2470;
    color: white;
}

/* ========================= */
/* RESPONSIVE */
/* ========================= */

/* Tablet */
@media (max-width: 992px) {
    .navbar {
        padding: 12px 30px;
    }

    .nav-links {
        gap: 18px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .nav-left,
    .nav-right {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        width: 100%;
    }

    .nav-links {
        flex-wrap: wrap;
        gap: 12px;
    }

    .login-btn,
    .patient-login-btn {
        align-self: flex-end;
    }
}


/* ========================= */
/* SEARCH SECTION */
/* ========================= */

.search-section {
    background: #f5f6f8;
    padding: 30px 0;
    display: flex;
    justify-content: center;
}

.search-box {
    width: 60%;
    display: flex;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    position: relative;
}

/* ========================= */
/* INPUTS */
/* ========================= */

.location,
.search-input {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    gap: 10px;
    flex: 1;
}

.location {
    border-right: 1px solid #ddd;
    max-width: 200px;
}

.search-box input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 14px;
}

/* ========================= */
/* LOCATION DROPDOWN (FUTURE) */
/* ========================= */

.location-dropdown {
    position: absolute;
    top: 100%;
    width: 100%;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-top: 5px;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    z-index: 10;
}

.use-location {
    padding: 12px;
    color: #1fa2c9;
    font-weight: 500;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.location-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
}

.location-item:hover {
    background: #f9f9f9;
}

.icon-circle {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.location-item h4 {
    margin: 0;
    font-size: 15px;
}

.location-item p {
    margin: 2px 0 0;
    font-size: 13px;
    color: #777;
}

@media (max-width: 768px) {
    .search-box {
        width: 90%;
        flex-direction: column;
    }

    .location {
        max-width: 100%;
        border-right: none;
        border-bottom: 1px solid #ddd;
    }
}


/* ========================= */
/* CARDS SECTION */
/* ========================= */

.cards-section {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 40px 80px;
    background: #f5f6f8;
    flex-wrap: wrap;
}

.card {
    width: 260px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

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

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.card-content p {
    font-size: 14px;
    color: gray;
}

/* ========================= */
/* COMING SOON CARD */
/* ========================= */

.coming-soon-card {
    opacity: 0.6;
    cursor: not-allowed;
    position: relative;
}

.coming-soon-card::after {
    content: "Coming Soon";
    position: absolute;
    top: 12px;
    right: 12px;
    background: #ff9800;
    color: white;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 600;
}


/* Tablet */
@media (max-width: 992px) {
    .cards-section {
        padding: 30px 40px;
        gap: 20px;
    }

    .card {
        width: 45%;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .cards-section {
        padding: 20px;
    }

    .card {
        width: 100%;
    }
}


/* ========================= */
/* CLINIC SECTION */
/* ========================= */

.clinic-section {
    background: #f5f6f8;
    padding: 60px 80px;
}

.clinic-header {
    margin-bottom: 40px;
}

.clinic-header h2 {
    font-size: 28px;
    margin-bottom: 8px;
}

.clinic-header p {
    color: gray;
    font-size: 15px;
}

/* ========================= */
/* CLINIC SLIDER */
/* ========================= */

.clinic-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.clinic-grid {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.clinic-grid::-webkit-scrollbar {
    display: none;
}

.clinic-card {
    min-width: 300px;
    flex-shrink: 0;
}

.clinic-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 15px;
}

.clinic-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.clinic-card p {
    font-size: 14px;
    color: #555;
}

/* ========================= */
/* ARROW BUTTONS */
/* ========================= */

.arrow {
    position: absolute;
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
}

.arrow.left {
    left: -20px;
}

.arrow.right {
    right: -20px;
}

.arrow:hover {
    background: #f0f0f0;
}

/* Tablet */
@media (max-width: 992px) {
    .clinic-section {
        padding: 50px 40px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .arrow {
        display: none;
    }

    .clinic-grid {
        padding-bottom: 10px;
    }
}

/* Small Mobile */
@media (max-width: 600px) {
    .clinic-section {
        padding: 40px 20px;
    }

    .clinic-card {
        min-width: 260px;
    }

    .clinic-card img {
        height: 170px;
    }

    .clinic-header h2 {
        font-size: 22px;
    }
}


/* ========================= */
/* WHATSAPP CONNECT SECTION */
/* ========================= */

.whatsapp-section {
    padding: 80px 10%;
    background: #f4f4f6;
}

.whatsapp-container {
    max-width: 800px;
    margin: auto;
    text-align: center;
}

.whatsapp-container h2 {
    font-size: 34px;
    margin-bottom: 20px;
    color: #2d3a4b;
}

.whatsapp-container p {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
}

.whatsapp-contact {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #414442;
}

.whatsapp-btn {
    background: #25D366;
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s ease;
}

.whatsapp-btn i {
    font-size: 20px;
}

.whatsapp-btn:hover {
    background: #1ebe5b;
}

@media (max-width: 768px) {
    .whatsapp-section {
        padding: 60px 6%;
    }

    .whatsapp-container h2 {
        font-size: 26px;
    }

    .whatsapp-container p {
        font-size: 14px;
    }

    .whatsapp-contact {
        font-size: 16px;
    }

    .whatsapp-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .whatsapp-container h2 {
        font-size: 22px;
    }
}

/* FOOTER SECTION */
.footer {
    background: #2e358f;
    color: white;
    padding: 70px 10% 40px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
}

.footer-column a {
    display: block;
    color: #dcdcdc;
    text-decoration: none;
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-column a:hover {
    color: white;
}

.footer-column p {
    font-size: 14px;
    color: #dcdcdc;
    margin-bottom: 8px;
}

.footer-bottom {
    text-align: center;
    margin-top: 60px;
}

.footer-bottom img {
    height: 40px;
    width: auto;
    margin-bottom: 10px;
}

.footer-bottom p {
    font-size: 14px;
    color: #cfcfcf;
    margin-bottom: 6px;
}

@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer {
        padding: 50px 6% 30px;
    }
}
