/* Ingenious Pulmo-FIT | Main Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --blue:    #0057A8;
  --blue-d:  #003F7A;
  --blue-l:  #E8F2FF;
  --green:   #2A9D5C;
  --green-d: #1E7044;
  --green-l: #E6F7EE;
  --yellow:  #F4B400;
  --yellow-d:#C98F00;
  --yellow-l:#FFF8E1;
  --dark:    #1A2332;
  --gray:    #6B7280;
  --light:   #F8FAFD;
  --white:   #FFFFFF;
  --border:  #E2E8F0;
  --shadow:  0 4px 24px rgba(0,87,168,0.08);
  --radius:  12px;
  --font-h:  'Libre Baskerville', serif;
  --font-b:  'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-b);
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
}

/* ─── NAVBAR ─────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-icon {
  width: 44px;
  height: 44px;
  background: var(--blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.nav-logo-text strong {
  font-family: var(--font-h);
  font-size: 16px;
  color: var(--blue);
  line-height: 1.1;
}

.nav-logo-text span {
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  padding: 8px 14px;
  text-decoration: none;
  color: var(--dark);
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s;
}

.nav-links a:hover { background: var(--blue-l); color: var(--blue); }
.nav-links a.active { background: var(--blue); color: var(--white); }

.nav-cta {
  background: var(--green) !important;
  color: var(--white) !important;
  padding: 9px 20px !important;
  border-radius: 8px !important;
}

.nav-cta:hover { background: var(--green-d) !important; }

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 24px;
  color: var(--dark);
}

/* ─── HERO ─────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--blue-d) 0%, var(--blue) 60%, #1a6fa8 100%);
  color: var(--white);
  padding: 100px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 200px;
  width: 250px;
  height: 250px;
  background: rgba(244,180,0,0.1);
  border-radius: 50%;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(244,180,0,0.2);
  border: 1px solid rgba(244,180,0,0.4);
  color: var(--yellow);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--font-h);
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero h1 em {
  color: var(--yellow);
  font-style: normal;
}

.hero p {
  font-size: 17px;
  opacity: 0.85;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary { background: var(--yellow); color: var(--dark); }
.btn-primary:hover { background: var(--yellow-d); transform: translateY(-1px); }

.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.5); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-d); }

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
}

.hero-stat strong {
  display: block;
  font-size: 28px;
  font-family: var(--font-h);
  color: var(--yellow);
}

.hero-stat span {
  font-size: 13px;
  opacity: 0.7;
}

.hero-visual {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 32px;
  backdrop-filter: blur(10px);
}

.hero-hours {
  background: rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 20px;
}

.hero-hours h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.6; margin-bottom: 8px; }
.hero-hours p { font-size: 15px; font-weight: 600; }
.hero-hours p small { font-size: 12px; opacity: 0.7; font-weight: 400; }

.hero-contacts a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 14px;
  transition: opacity 0.2s;
}

.hero-contacts a:hover { opacity: 0.7; }
.hero-contacts a:last-child { border-bottom: none; }

.contact-icon {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

/* ─── SECTIONS ────────────────────────────── */
.section {
  padding: 80px 24px;
}

.section-alt { background: var(--light); }

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-label {
  display: inline-block;
  background: var(--blue-l);
  color: var(--blue);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-label.green { background: var(--green-l); color: var(--green); }
.section-label.yellow { background: var(--yellow-l); color: var(--yellow-d); }

.section-header h2 {
  font-family: var(--font-h);
  font-size: clamp(26px, 4vw, 40px);
  margin-bottom: 14px;
}

.section-header p {
  color: var(--gray);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto;
}

/* ─── CARDS ─────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.25s;
}

.card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

/* ─── DOCTOR CARDS ─────────────────────── */
.doctor-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.25s;
  text-align: center;
}

.doctor-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: var(--blue);
}

.doctor-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--blue-l);
}

.doctor-card-img-placeholder {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, var(--blue-l), var(--green-l));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
}

.doctor-card-body {
  padding: 20px;
}

.doctor-card-body h3 {
  font-family: var(--font-h);
  font-size: 17px;
  margin-bottom: 4px;
  color: var(--dark);
}

.doctor-card-body .designation {
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

.doctor-card-body .dept {
  color: var(--gray);
  font-size: 12px;
  margin-bottom: 16px;
}

/* ─── SERVICE CARDS ──────────────────── */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--blue);
  transform: scaleY(0);
  transition: transform 0.25s;
}

.service-card:hover::before { transform: scaleY(1); }
.service-card:hover { box-shadow: var(--shadow); transform: translateX(4px); }

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--blue-l);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}

.service-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.service-card p { color: var(--gray); font-size: 14px; line-height: 1.6; }

/* ─── NEWS CARDS ─────────────────────── */
.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.25s;
}

.news-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

.news-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: var(--light);
}

.news-card-body { padding: 20px; }

.news-tag {
  background: var(--blue-l);
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.news-card-body h3 { font-size: 15px; font-weight: 600; margin: 10px 0 8px; line-height: 1.4; }
.news-card-body p { color: var(--gray); font-size: 13px; margin-bottom: 12px; }
.news-card-body .date { color: var(--gray); font-size: 12px; }

/* ─── PRODUCTS ────────────────────── */
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.25s;
}

.product-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

.product-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--light);
}

.product-card-body { padding: 20px; }
.product-card-body h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.product-card-body .model { color: var(--gray); font-size: 12px; margin-bottom: 8px; }
.product-card-body .price { color: var(--green); font-size: 18px; font-weight: 700; margin-bottom: 14px; }

/* ─── CHAIRMAN SECTION ────────────── */
.chairman-section {
  background: var(--blue);
  color: var(--white);
  padding: 80px 24px;
}

.chairman-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: center;
}

.chairman-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255,255,255,0.3);
}

.chairman-photo-placeholder {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  border: 4px solid rgba(255,255,255,0.3);
}

.chairman-info h2 { font-family: var(--font-h); font-size: 28px; margin-bottom: 4px; }
.chairman-info .title { color: var(--yellow); font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.chairman-info p { opacity: 0.85; font-size: 15px; margin-bottom: 16px; }
.chairman-info a { color: var(--yellow); }

/* ─── FOOTER ──────────────────────── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.8);
  padding: 60px 24px 24px;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand p { font-size: 14px; opacity: 0.7; margin-top: 12px; }

.footer-col h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--yellow); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 12px;
  opacity: 0.8;
}

.footer-contact-item .icon { font-size: 16px; flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
  max-width: 1200px;
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  opacity: 0.6;
}

.social-links { display: flex; gap: 10px; margin-top: 16px; }
.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--white);
  font-size: 16px;
  transition: background 0.2s;
}

.social-link:hover { background: var(--blue); }

/* ─── ANNOUNCEMENT BAR ────────────── */
.topbar {
  background: var(--blue-d);
  color: rgba(255,255,255,0.9);
  padding: 8px 24px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.topbar a { color: var(--yellow); text-decoration: none; }
.topbar-right { display: flex; gap: 20px; }

/* ─── MISC ────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
}

.badge-blue { background: var(--blue-l); color: var(--blue); }
.badge-green { background: var(--green-l); color: var(--green); }
.badge-yellow { background: var(--yellow-l); color: var(--yellow-d); }

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 18px;
  border: 1.5px solid var(--blue);
  border-radius: 8px;
  transition: all 0.2s;
}

.view-all-link:hover { background: var(--blue); color: var(--white); }

.section-footer { text-align: center; margin-top: 40px; }

/* ─── RESPONSIVE ──────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .chairman-inner { grid-template-columns: 1fr; text-align: center; }
  .chairman-photo, .chairman-photo-placeholder { margin: 0 auto; }
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--white); padding: 16px; border-bottom: 1px solid var(--border); z-index: 100; }
  .nav-mobile-toggle { display: block; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar-right { display: none; }
  .hero-stats { gap: 20px; }
}
