/* ===================================
   JETHWANI HOSPITAL — Global Styles
   =================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* --- CSS Variables --- */
:root {
  --navy:       #1C2D42;
  --navy-light: #2A4060;
  --slate:      #3B5268;
  --teal:       #2E8B7A;
  --teal-light: #3AADA0;
  --grey-bg:    #8A8A8A;
  --off-white:  #F4F8FB;
  --white:      #FFFFFF;
  --text-dark:  #1A2533;
  --text-mid:   #4A5568;
  --text-light: #718096;
  --border:     #E2EBF0;
  --accent:     #E8F4F2;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius:  8px;
  --radius-lg: 16px;
  --shadow:  0 2px 12px rgba(28,45,66,0.10);
  --shadow-lg: 0 8px 32px rgba(28,45,66,0.14);
  --transition: 0.25s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Typography --- */
h1,h2,h3,h4 { font-family: var(--font-display); line-height: 1.25; }
h1 { font-size: clamp(2rem,5vw,3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem,3.5vw,2.4rem); font-weight: 600; }
h3 { font-size: clamp(1.15rem,2.5vw,1.5rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { font-size: 1rem; color: var(--text-mid); line-height: 1.75; }

/* --- Layout Helpers --- */
.container { max-width: 90%; margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-tag {
  display: inline-block;
  font-size: .75rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--teal);
  margin-bottom: 12px;
}
.section-title { margin-bottom: 16px; color: var(--navy); }
.section-subtitle { max-width: 600px; color: var(--text-mid); margin-bottom: 48px; }
.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius);
  font-family: var(--font-body); font-size: .95rem; font-weight: 600;
  cursor: pointer; border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--teal); color: var(--white)!important; border-color: var(--teal);
}
.btn-primary:hover { background: var(--teal-light); border-color: var(--teal-light); transform: translateY(-1px); color: var(--text-mid)!important;}
.btn-outline {
  background: transparent; color: var(--white); border-color: rgba(255,255,255,.7);
}
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn-navy {
  background: var(--navy); color: var(--white); border-color: var(--navy);
}
.btn-navy:hover { background: var(--navy-light); border-color: var(--navy-light); }

/* ===========================
   NAVIGATION
   =========================== */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(28,45,66,.08);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.nav-brand { display: flex; align-items: center; gap: 14px; }
.nav-brand-text { line-height: 1.2; }
.nav-brand-text .name {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 700;
  color: var(--navy);
}
.nav-brand-text .tagline { font-size: .72rem; color: var(--text-light); letter-spacing: .05em; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  padding: 8px 14px; border-radius: var(--radius);
  font-size: .93rem; font-weight: 500; color: var(--text-mid);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--navy); background: var(--off-white);
}
.nav-cta { margin-left: 12px; }
.nav-emergency {
  display: flex; align-items: center; gap: 6px;
  background: #FEF3F2; color: #C0392B;
  padding: 6px 14px; border-radius: 20px;
  font-size: .82rem; font-weight: 600; margin-right: 8px;
}
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--navy); border-radius: 2px; transition: var(--transition);
}
.mobile-nav {
  display: none; flex-direction: column; gap: 4px;
  padding: 12px 24px 16px; border-top: 1px solid var(--border);
  background: var(--white);
}
.mobile-nav a {
  padding: 10px 12px; border-radius: var(--radius);
  font-weight: 500; color: var(--text-mid);
}
.mobile-nav a:hover { background: var(--off-white); color: var(--navy); }
.mobile-nav.open { display: flex; }

/* ===========================
   LOGO SVG
   =========================== */
.hospital-logo {
  width: 48px; height: 60px; flex-shrink: 0;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.8);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px; padding-bottom: 48px;
}
.footer-brand .name {
  font-family: var(--font-display); font-size: 1.4rem;
  color: var(--white); margin-bottom: 8px;
}
.footer-brand p { font-size: .9rem; color: rgba(255,255,255,.65); margin-top: 12px; }
.footer h5 {
  font-family: var(--font-display); font-size: 1rem; font-weight: 600;
  color: var(--white); margin-bottom: 16px;
}
.footer ul li { margin-bottom: 10px; }
.footer ul li a { font-size: .88rem; color: rgba(255,255,255,.65); transition: var(--transition); }
.footer ul li a:hover { color: var(--teal-light); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.footer-contact .icon { color: var(--teal-light); margin-top: 3px; flex-shrink: 0; }
.footer-contact span { font-size: .87rem; color: rgba(255,255,255,.7); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .82rem; color: rgba(255,255,255,.45);
}
.footer-bottom a { color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: var(--teal-light); }

/* ===========================
   CARDS
   =========================== */
.card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* ===========================
   PAGE HERO
   =========================== */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, var(--slate) 100%);
  padding: 64px 0;
  color: var(--white);
}
.page-hero h1 { color: var(--white); }
.page-hero .breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: .85rem; color: rgba(255,255,255,.6);
  margin-bottom: 16px;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,.7); }
.page-hero .breadcrumb a:hover { color: var(--white); }

/* ===========================
   DIVIDER
   =========================== */
.divider {
  width: 48px; height: 3px;
  background: var(--teal);
  border-radius: 2px; margin: 20px 0;
}
.divider.center { margin: 20px auto; }


.women-services-banner {
    padding: 80px 0;
    background: #f8fafc;
}

.banner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.banner-content h2 {
    color: #1C2D42;
    margin-bottom: 20px;
}

.banner-content p {
    margin-bottom: 25px;
    line-height: 1.8;
}

.banner-tag {
    display: inline-block;
    padding: 6px 14px;
    background: #ffe6ef;
    color: #c12763;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.banner-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
}

.banner-list li {
    margin-bottom: 12px;
    font-weight: 500;
}

.banner-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,.12);
}

.diabetes-services-banner {
    padding: 80px 0;
    background: #f8fafc;
}

.diabetes-services-banner .banner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.diabetes-services-banner .banner-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,.12);
}

.diabetes-services-banner .banner-content h2 {
    color: #1C2D42;
    margin-bottom: 20px;
}

.diabetes-services-banner .banner-content p {
    line-height: 1.8;
    margin-bottom: 25px;
}

.diabetes-tag {
    display: inline-block;
    padding: 6px 14px;
    background: #e8f7f5;
    color: #2E8B7A;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.diabetes-services-banner .banner-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
}

.diabetes-services-banner .banner-list li {
    margin-bottom: 12px;
    font-weight: 500;
}
@media (max-width: 768px) {

    .women-services-banner {
        padding: 50px 0;
    }

    .banner-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .banner-content {
        order: 2;
        text-align: center;
    }

    .banner-image {
        order: 1;
    }

    .banner-image img {
        border-radius: 15px;
    }

    .banner-list {
        text-align: left;
        display: inline-block;
    }
    .diabetes-services-banner {
        padding: 50px 0;
    }

    .diabetes-services-banner .banner-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .diabetes-services-banner .banner-image {
        order: 1;
    }

    .diabetes-services-banner .banner-content {
        order: 2;
        text-align: center;
    }

    .diabetes-services-banner .banner-list {
        text-align: left;
        display: inline-block;
    }

    .diabetes-services-banner .banner-image img {
        border-radius: 15px;
    }
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 900px) {
  .nav-links, .nav-emergency, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

