
/* =========================
   GLOBAL SETTINGS
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #ffffff;
    color: #263449;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 88%;
    max-width: 1200px;
    margin: auto;
}

.section {
    padding: 85px 0;
}

.light-bg {
    background: #f4f8fc;
}


/* =========================
   BUTTONS
========================= */

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 7px;
    font-weight: 600;
    transition: 0.3s;
}

.primary-btn {
    background: #0878d1;
    color: white;
}

.primary-btn:hover {
    background: #005da9;
    transform: translateY(-2px);
}

.secondary-btn {
    border: 2px solid #0878d1;
    color: #0878d1;
}

.secondary-btn:hover {
    background: #0878d1;
    color: white;
}


/* =========================
   HEADER
========================= */

.header {
    background: white;
    padding: 18px 0;
    box-shadow: 0 2px 15px #00000010;
    
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo span {
    color: #263449;
}

.logo img {
    width: 180px;
    height: 65px;
    object-fit: contain;
    display: block;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
}

.nav-links a:hover {
    color: #0878d1;
}


/* =========================
   HERO SECTION
========================= */

.hero {
    padding: 100px 0;
    background: linear-gradient(120deg, #edf7ff, #ffffff);
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-text {
    flex: 1;
}

.tag {
    display: inline-block;
    color: #0878d1;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.hero-text h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text h1 span {
    color: #0878d1;
}

.hero-text p {
    color: #64748b;
    margin-bottom: 25px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    min-width: 0;
}

.hero-doctor {
    width: 100%;
    max-width: 480px;
    height: 380px;
    object-fit: contain;
    display: block;
    margin: auto;
    border-radius: 20px;
}
.medical-placeholder span {
    font-size: 75px;
    color: #0878d1;
}


/* =========================
   SECTION HEADING
========================= */

.section-heading {
    text-align: center;
    margin-bottom: 45px;
}

.section-heading span {
    color: #0878d1;
    font-size: 13px;
    font-weight: 700;
}

.section-heading h2 {
    font-size: 32px;
    margin: 8px 0;
}

.section-heading p {
    color: #64748b;
}


/* =========================
   ABOUT
========================= */

/* =========================
   ABOUT SECTION IMPROVED
========================= */

.about-content {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 40px;
}

.about-content > div:first-child {
    background: white;
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0, 50, 100, 0.07);
    border-left: 5px solid #0878d1;
}

.about-content h3 {
    color: #1e3a5f;
    font-size: 25px;
    margin-bottom: 18px;
}

.about-content p {
    color: #64748b;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-card {
    background: linear-gradient(135deg, #0878d1, #0756a0);
    padding: 35px;
    border-radius: 18px;
    color: white;
    box-shadow: 0 12px 30px rgba(8, 120, 209, 0.18);
}

.about-card h3 {
    color: white;
    margin-bottom: 25px;
}

.about-card p {
    color: white;
    padding: 12px 15px;
    background: rgba(255,255,255,0.12);
    border-radius: 9px;
    margin-bottom: 12px;
}

/* MOBILE RESPONSIVE */

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .about-content > div:first-child,
    .about-card {
        padding: 25px;
    }
}

/* =========================
   DOCTOR
========================= */

.doctor-card {
    max-width: 350px;
    margin: auto;
    text-align: center;
    background: white;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 5px 25px #00000010;
}

.doctor-image {
    font-size: 80px;
    margin-bottom: 15px;
}

.doctor-card p {
    color: #64748b;
    margin: 8px 0 20px;
}


/* =========================
   SERVICES
========================= */
/* =========================
   SERVICES SECTION
========================= */

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 35px;
}

.service-card {
    padding: 35px 30px;
    background: white;
    border-radius: 18px;
    box-shadow: 0 5px 25px rgba(0, 50, 100, 0.07);
    border-bottom: 4px solid #0878d1;
    transition: 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 50, 100, 0.12);
}

.service-card span {
    display: inline-block;
    font-size: 42px;
    margin-bottom: 12px;
}

.service-card h3 {
    color: #1e3a5f;
    font-size: 21px;
    margin: 12px 0;
}

.service-card p {
    color: #64748b;
    line-height: 1.7;
}

/* MOBILE RESPONSIVE */

@media (max-width: 768px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
   AI SECTION
========================= */

.ai-section {
    background: #eaf5ff;
}

.ai-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    background: white;
    padding: 45px;
    border-radius: 20px;
}

.ai-card h2 {
    margin: 10px 0;
}

.ai-card p {
    color: #64748b;
    margin-bottom: 15px;
}

.ai-icon {
    font-size: 90px;
}

.coming-soon {
    display: inline-block;
    background: #e1f1ff;
    color: #0878d1;
    padding: 7px 15px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
}


/* =========================
   STORE
========================= */

.store-coming {
    text-align: center;
    background: white;
    padding: 45px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px #0000000d;
}

.store-icon {
    font-size: 65px;
    margin-bottom: 15px;
}

.store-coming p {
    color: #64748b;
    margin: 12px 0 20px;
}


/* =========================
   BLOG
========================= */



/* BLOG SEARCH AND CATEGORIES */

.blog-tools {
    margin-bottom: 35px;
    text-align: center;
}

#blogSearch {
    width: 100%;
    max-width: 550px;
    padding: 15px 20px;
    border: 1px solid #dce5ef;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
    margin-bottom: 22px;
    background: #ffffff;
}

#blogSearch:focus {
    border-color: #0878d1;
    box-shadow: 0 0 0 3px #0878d120;
}

.blog-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.category-btn {
    padding: 10px 20px;
    border: 1px solid #dce5ef;
    background: white;
    color: #263449;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
}

.category-btn:hover,
.category-btn.active {
    background: #0878d1;
    color: white;
    border-color: #0878d1;
}


/* =========================
   PROFESSIONAL HEALTH BLOG
========================= */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.blog-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 25px #00000010;
    transition: 0.3s ease;
    border: 1px solid #edf1f5;
}

.blog-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 12px 30px #0878d125;
}

.blog-image {
    height: 220px;
    background: linear-gradient(135deg, #d9eaff, #a9cafa);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 65px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-info {
    padding: 24px;
}

.blog-category {
    display: inline-block;
    color: #0878d1;
    background: #eaf5ff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 12px;
}

.blog-info h3 {
    font-size: 19px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-info p {
    color: #64748b;
    margin-bottom: 18px;
    font-size: 14px;
}

.blog-info a {
    color: #0878d1;
    font-weight: 600;
    display: inline-block;
    transition: 0.3s;
}

.blog-info a:hover {
    color: #005da9;
    transform: translateX(4px);
}


/* =========================
   APPOINTMENT
========================= */

.appointment-box {
    background: white;
    padding: 40px;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 5px 20px #00000010;
}

.appointment-box p {
    color: #64748b;
    margin: 12px 0 20px;
}


/* =========================
   CONTACT
========================= */

.contact-box {
    text-align: center;
    background: #eaf5ff;
    padding: 35px;
    border-radius: 15px;
}

.contact-box p {
    margin-top: 12px;
}


/* =========================
   FOOTER
========================= */

.footer {
    background: #142b45;
    color: white;
    text-align: center;
    padding: 35px 15px;
}

.footer p {
    color: #c5d4e5;
    margin-top: 8px;
}


/* =========================
   RESPONSIVE DESIGN
========================= */

@media (max-width: 900px) {

    .navbar {
        flex-wrap: wrap;
    }

    .nav-links {
        order: 3;
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-text h1 {
        font-size: 38px;
    }

}

@media (max-width: 650px) {

    .container {
        width: 92%;
    }

    .section {
        padding: 60px 0;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-content {
        flex-direction: column;
    }

    .hero-text h1 {
        font-size: 34px;
    }

    .hero-image {
        width: 100%;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .service-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .ai-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .section-heading h2 {
        font-size: 26px;
    }

    .navbar > .btn {
        padding: 9px 13px;
        font-size: 12px;
    }

}

.doctor-name {
    text-align: center;
    color: #0878d1;
    font-size: 24px;
    font-weight: 700;
    margin-top: 15px;
}

.doctor-photo {
    width: 180px;
    height: 180px;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 4px solid #eaf5ff;
}
/* ARTICLE META */

.article-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin: 20px 0 30px;
    color: #64748b;
    font-size: 14px;
}

.article-meta span {
    background: #eaf3ff;
    padding: 9px 15px;
    border-radius: 20px;
}
/* ARTICLE CONTENT */

.article-content {
    max-width: 850px;
    margin: 35px auto;
    line-height: 1.8;
    font-size: 16px;
    color: #475569;
}

.article-content h2 {
    color: #1e3a5f;
    margin: 30px 0 12px;
    font-size: 25px;
}

.article-content p {
    margin-bottom: 15px;
}
@media (max-width: 600px) {
    .article-content {
        padding: 0 12px;
        font-size: 15px;
    }

    .article-content h2 {
        font-size: 21px;
    }

    .article-meta {
        gap: 10px;
        font-size: 12px;
    }

    .article-meta span {
        padding: 7px 10px;
    }
}
/* HOME PAGE HERO IMPROVEMENT */

.hero {
    padding: 65px 0;
    background: linear-gradient(120deg, #eaf5ff, #ffffff);
}

.hero-content {
    gap: 60px;
}

.hero-text h1 {
    font-size: clamp(36px, 4vw, 56px);
    line-height: 1.15;
    letter-spacing: -1px;
}

.hero-text p {
    font-size: 18px;
    line-height: 1.7;
    max-width: 600px;
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}


/* MOBILE HERO DESIGN */

@media (max-width: 768px) {
    .hero {
        padding: 45px 0;
    }

    .hero-content {
        flex-direction: column;
        gap: 35px;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .hero-doctor {
        max-width: 100%;
        height: auto;
    }
}
/* DOCTOR NAME BELOW HERO IMAGE */

.hero-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-doctor {
    width: 100%;
    max-width: 480px;
}

.hero-image .doctor-name {
    margin-top: 15px;
    text-align: center;
    font-size: 24px;
    color: #1e3a5f;
}
/* ABOUT IMAGE DESIGN */

.about-content {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
}

.about-content > .about-image {
    grid-row: span 2;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: hidden;
    border-radius: 18px;
}

.about-image img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    max-height: 480px;
    object-fit: cover;
    display: block;
    border-radius: 18px;
}

.about-content > div:nth-child(2) {
    background: white;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0, 50, 100, 0.07);
    border-left: 5px solid #0878d1;
}

/* MOBILE DESIGN */

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
    }

    .about-content > .about-image {
        grid-row: auto;
    }

    .about-image img {
        min-height: 250px;
        max-height: 320px;
    }
}
/* WHY CHOOSE US SECTION */

.why-choose-us {
    margin-top: 70px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.why-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 50, 100, 0.07);
    border-bottom: 4px solid #0878d1;
    transition: 0.3s;
}

.why-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 12px 30px rgba(0, 50, 100, 0.12);
}

.why-card h3 {
    color: #1e3a5f;
    margin-bottom: 15px;
    font-size: 21px;
}

.why-card p {
    color: #64748b;
    line-height: 1.7;
}

/* MOBILE RESPONSIVE */

@media (max-width: 768px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
}
/* MISSION AND VISION */

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 40px;
}

.mission-card,
.vision-card {
    padding: 35px;
    border-radius: 18px;
    background: #eaf5ff;
    border-left: 5px solid #0878d1;
    transition: 0.3s;
}

.vision-card {
    background: #f0f7ff;
    border-left-color: #16a3a3;
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 50, 100, 0.08);
}

.mission-card h3,
.vision-card h3 {
    color: #1e3a5f;
    font-size: 23px;
    margin-bottom: 15px;
}

.mission-card p,
.vision-card p {
    color: #64748b;
    line-height: 1.8;
}

/* MOBILE RESPONSIVE */

@media (max-width: 768px) {
    .mission-vision {
        grid-template-columns: 1fr;
    }
}
/* CLINIC HIGHLIGHTS */

.clinic-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 35px;
    padding: 30px;
    background: #f0f7ff;
    border-radius: 18px;
}

.highlight-item {
    text-align: center;
    padding: 15px;
}

.highlight-item h3 {
    color: #0878d1;
    font-size: 21px;
    margin-bottom: 10px;
}

.highlight-item p {
    color: #64748b;
    line-height: 1.6;
}

/* MOBILE RESPONSIVE */

@media (max-width: 768px) {
    .clinic-highlights {
        grid-template-columns: 1fr;
        padding: 20px;
    }
}

/* =========================
   MEDICINE CATALOGUE
========================= */

.medicine-search {
    max-width: 550px;
    margin: 0 auto 40px;
}

#medicineSearch {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #dce5ef;
    border-radius: 12px;
    font-size: 15px;
    outline: none;
    background: white;
}

#medicineSearch:focus {
    border-color: #0878d1;
    box-shadow: 0 0 0 3px #0878d120;
}

.medicine-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.medicine-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #edf1f5;
    box-shadow: 0 5px 20px #0000000d;
    transition: 0.3s ease;
}

.medicine-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 12px 30px #0878d125;
}

.medicine-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
    background: #eaf5ff;
}

.medicine-info {
    padding: 20px;
}

.medicine-info h3 {
    font-size: 18px;
    color: #1e3a5f;
    margin-bottom: 10px;
}

.medicine-info p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 18px;
}

.medicine-btn {
    display: inline-block;
    background: #0878d1;
    color: white;
    padding: 10px 17px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 600;
    transition: 0.3s;
}

.medicine-btn:hover {
    background: #005da9;
}

.medicine-note {
    text-align: center;
    color: #64748b;
    font-size: 13px;
    margin-top: 35px;
}

/* RESPONSIVE */

@media (max-width: 1000px) {
    .medicine-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .medicine-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .medicine-card img {
        height: 150px;
    }

    .medicine-info {
        padding: 14px;
    }

    .medicine-info h3 {
        font-size: 15px;
    }
}

@media (max-width: 380px) {
    .medicine-grid {
        grid-template-columns: 1fr;
    }
}
/* Page Navigation System */
.page-hidden {
    display: none !important;
}
/* Active Navigation Menu */
.nav-links a {
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a.active {
    color: #16a085;
    font-weight: 700;
}

.nav-links a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 3px;
    background: #16a085;
    border-radius: 5px;
}
.language-selector select {
    padding: 9px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: white;
    color: #222;
    font-size: 14px;
    cursor: pointer;
}

/* Two Doctor Photos in Hero Section */

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-doctor-item {
    text-align: center;
}

.hero-doctor-item .hero-doctor {
    width: 220px;
    height: 280px;
    object-fit: cover;
    border-radius: 15px;
    display: block;
}

.hero-doctor-item .doctor-name {
    margin-top: 12px;
    font-size: 20px;
}

@media (max-width: 600px) {
    .hero-image {
        gap: 12px;
    }

    .hero-doctor-item .hero-doctor {
        width: 145px;
        height: 190px;
    }

    .hero-doctor-item .doctor-name {
        font-size: 15px;
    }
}
/* Two Photos Side by Side */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
}

.hero-doctor-item {
    text-align: center;
}

.hero-doctor-item .hero-doctor {
    width: 220px;
    height: 280px;
    object-fit: cover;
    border-radius: 15px;
    display: block;
}

.hero-doctor-item .doctor-name {
    margin-top: 12px;
    font-size: 20px;
}

@media (max-width: 600px) {
    .hero-image {
        gap: 10px;
    }

    .hero-doctor-item .hero-doctor {
        width: 145px;
        height: 190px;
    }

    .hero-doctor-item .doctor-name {
        font-size: 15px;
    }
}
/* Force Doctor Photos Side by Side */

.hero-image {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 20px !important;
    width: 100% !important;
}

.hero-doctor-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    flex: 0 0 auto !important;
    width: auto !important;
}

.hero-doctor-item img {
    width: 200px !important;
    height: 260px !important;
    object-fit: cover !important;
}

@media (max-width: 600px) {
    .hero-image {
        gap: 10px !important;
    }

    .hero-doctor-item img {
        width: 140px !important;
        height: 180px !important;
    }
}