/* ===================================================
   LAXMI POLYCLINIC - Main Stylesheet
   Brand: Professional Medical | Clean | Trustworthy
   =================================================== */

/* ---------- CSS Variables ---------- */
:root {
  --green: #5AAD38;
  --green-dark: #4a9230;
  --green-light: #e8f5e2;
  --blue: #02417A;
  --blue-dark: #01306a;
  --blue-light: #e6eef7;
  --white: #ffffff;
  --off-white: #f8fafb;
  --gray-light: #f0f4f8;
  --gray: #6b7280;
  --gray-dark: #374151;
  --text: #1a2332;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(2,65,122,0.08);
  --shadow-md: 0 4px 16px rgba(2,65,122,0.12);
  --shadow-lg: 0 8px 32px rgba(2,65,122,0.15);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --transition: 0.25s ease;
  --font-heading: 'Merriweather', Georgia, serif;
  --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;
  --max-width: 1200px;
}

/* ---------- 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);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green); }
ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--blue);
  line-height: 1.3;
}

h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1rem; color: var(--gray-dark); }

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: var(--font-heading);
  color: var(--blue);
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--gray);
  font-size: 1.05rem;
  max-width: 600px;
  margin-bottom: 2.5rem;
}

.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: 13px 28px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(90,173,56,0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-secondary:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}



.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-sm { padding: 9px 20px; font-size: 0.85rem; }

/* ---------- Header ---------- */
#header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

#header.scrolled { box-shadow: var(--shadow-md); }

.header-top {
  background: var(--blue);
  padding: 6px 0;
}

.header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.header-top-info {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.header-top-info a {
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.header-top-info a:hover { color: var(--white); }

.header-top-cta a {
  background: var(--green);
  color: var(--white);
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
}
.header-top-cta a:hover { background: var(--green-dark); color: var(--white); }

.header-main {
  padding: 14px 0;
}

.header-main-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.logo-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.logo-image {
    width: 60px;      /* Adjust as needed */
    height: 60px;
    object-fit: contain;
    border-radius: 8px; /* Optional */
    flex-shrink: 0;
}

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

.logo-name {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.2;
}

.logo-tagline {
    font-size: 0.85rem;
    opacity: 0.8;
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--blue);
  font-weight: 900;
  display: block;
  line-height: 1.1;
}
.logo-tagline {
  font-size: 0.72rem;
  color: var(--green-dark);
  letter-spacing: 0.04em;
  display: block;
}

.nav { display: flex; align-items: center; gap: 4px; }

.nav a {
  color: var(--gray-dark);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav a:hover, .nav a.active {
  color: var(--blue);
  background: var(--blue-light);
}

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

  display: inline-flex;
  align-items: center;
  gap: 8px;
}

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

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ---------- Mobile Nav ---------- */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 2000;
  flex-direction: column;
  padding: 24px 20px;
  overflow-y: auto;
}

.mobile-nav.open { display: flex; }

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.mobile-nav-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--blue);
  padding: 4px;
}

.mobile-nav-links { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav-links a {
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-nav-links a:hover { background: var(--blue-light); color: var(--blue); }

.mobile-nav-ctas {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--blue) 0%, #013a6e 50%, #024a8e 100%);
  overflow: hidden;
  padding: 72px 0 60px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(90,173,56,0.2);
  border: 1px solid rgba(90,173,56,0.4);
  color: #a8e08a;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  color: var(--white);
  margin-bottom: 18px;
  font-weight: 900;
}

.hero h1 span { color: #7fce57; }

.hero-sub {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-trust {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
}

.trust-item svg { color: var(--green); flex-shrink: 0; }

.hero-card-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.doctor-card-hero {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all var(--transition);
}

.doctor-card-hero:hover {
  background: rgba(255,255,255,0.15);
  transform: translateX(4px);
}

.doc-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--white);
  font-weight: 900;
  flex-shrink: 0;
}

.doc-info-name {
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  font-family: var(--font-heading);
  display: block;
}
.doc-info-title { color: rgba(255,255,255,0.7); font-size: 0.82rem; display: block; }
.doc-info-loc { color: #7fce57; font-size: 0.78rem; margin-top: 2px; display: block; }

/* ---------- Trust Bar ---------- */
.trust-bar {
  background: var(--green);
  padding: 14px 0;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}

.trust-stat-num {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
}

.trust-stat-label { font-size: 0.82rem; opacity: 0.9; }

.trust-divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.3);
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--off-white); }
.section-blue { background: var(--blue); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-placeholder-index {
  background: linear-gradient(135deg, var(--blue-light), var(--green-light));
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about-image-placeholder {
  background: linear-gradient(135deg, var(--blue-light), var(--green-light));
  border-radius: var(--radius-lg);
  aspect-ratio: 4/4;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about-image-placeholder::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(2,65,122,0.08), transparent);
}

.about-img-icon {
  color: var(--blue);
  opacity: 0.25;
}

.about-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--green);
  color: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.about-badge-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  display: block;
  line-height: 1;
}

.about-badge-label { font-size: 0.78rem; opacity: 0.9; }

.about-features { display: flex; flex-direction: column; gap: 16px; margin: 24px 0; }

.about-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.about-feature-icon {
  width: 40px;
  height: 40px;
  background: var(--green-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green);
}

.about-feature-title { font-weight: 700; color: var(--blue); margin-bottom: 2px; }
.about-feature-text { font-size: 0.9rem; color: var(--gray); margin: 0; }

/* ---------- Doctors ---------- */
.doctors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.doctor-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  border: 1px solid var(--border);
}

.doctor-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.doctor-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f5f5f5;
}

.doctor-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
}

.doctor-card:hover .doctor-image {
  transform: scale(1.05);
}
/* 
.doctor-card-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(2,65,122,0.5), transparent);
}

.doctor-initial {
  width: 100px;
  height: 100px;
  background: rgba(255,255,255,0.15);
  border: 3px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--white);
  font-weight: 900;
} */

.doctor-card-body { padding: 24px; }
.doctor-card-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--blue);
  margin-bottom: 4px;
}
.doctor-card-qual {
  font-size: 0.82rem;
  color: var(--green);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.doctor-card-desc { font-size: 0.92rem; color: var(--gray); margin-bottom: 16px; }

.doctor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.tag {
  background: var(--blue-light);
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}

.tag-green {
  background: var(--green-light);
  color: var(--green-dark);
}

/* ---------- Branches ---------- */
.branches-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.branch-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--border);
  transition: all var(--transition);
}

.branch-card:hover {
  border-color: var(--green);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.branch-card-header {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  padding: 28px 28px 24px;
  position: relative;
}

.branch-card-header.green-header {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
}

.branch-number {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(255,255,255,0.1);
  line-height: 1;
}

.branch-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--white);
}

.branch-card-title { color: var(--white); font-size: 1.2rem; margin-bottom: 4px; }
.branch-doctor { color: rgba(255,255,255,0.85); font-size: 0.9rem; }

.branch-card-body { padding: 24px 28px; }

.branch-info { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }

.branch-info-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--gray-dark);
}

.branch-info-row svg { color: var(--green); margin-top: 2px; flex-shrink: 0; }

.branch-services {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.branch-ctas { display: flex; gap: 10px; }

/* ---------- Services ---------- */
.services-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.tab-btn {
  padding: 10px 24px;
  border-radius: 50px;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--gray);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
}

.tab-btn.active, .tab-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--green);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.service-card:hover::before { transform: scaleX(1); }

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

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--green-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-bottom: 16px;
}

.service-icon img {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}

.service-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--blue);
  margin-bottom: 8px;
}

.service-desc { font-size: 0.875rem; color: var(--gray); margin: 0; }

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 4rem;
  color: var(--green-light);
  font-family: Georgia, serif;
  line-height: 1;
}

.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
}

.star { color: #f59e0b; font-size: 1rem; }

.testimonial-text {
  color: var(--gray-dark);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.author-name { font-weight: 700; color: var(--blue); font-size: 0.9rem; }
.author-loc { font-size: 0.78rem; color: var(--gray); }

/* ---------- Blog ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.blog-card-img {
  height: 180px;
  background: linear-gradient(135deg, var(--blue-light), var(--green-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  opacity: 0.7;
}

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

.blog-category {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.blog-card-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--blue);
  line-height: 1.4;
  margin-bottom: 10px;
  display: block;
}
.blog-card-title:hover { color: var(--green); }

.blog-card-excerpt { font-size: 0.85rem; color: var(--gray); margin-bottom: 14px; }
.blog-card-meta { font-size: 0.78rem; color: var(--gray); display: flex; gap: 10px; }

/* ---------- FAQs ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 800px; margin: 0 auto; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}

.faq-item.open { border-color: var(--green); }

.faq-q {
  width: 100%;
  padding: 18px 22px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-chevron {
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--green);
}

.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-a-inner {
  padding: 0 22px 18px;
  color: var(--gray-dark);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}

.contact-info { display: flex; flex-direction: column; gap: 24px; }

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  background: var(--green-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}

.contact-card-label { font-size: 0.78rem; color: var(--gray); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.contact-card-value { font-size: 0.95rem; color: var(--text); font-weight: 600; }

/* .contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  min-height: 380px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  display: block;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.contact-form h3 { margin-bottom: 24px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text);
  background: var(--off-white);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  background: var(--white);
}

.form-group textarea { resize: vertical; min-height: 110px; } */

/* ---------- Footer ---------- */
.footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .logo-name { color: var(--white); }
.footer-brand .logo-tagline { color: #ffffff; }

.footer-desc { color: #ffffff; font-size: 0.88rem; margin: 14px 0 20px; line-height: 1.7; }

.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--green); color: var(--white); }

.footer-col-title {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(90,173,56,0.4);
}

.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition);
}
.footer-links a::before {
  content: '›';
  color: var(--green);
  font-weight: 700;
}
.footer-links a:hover { color: var(--white); padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}

.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,0.5); font-size: 0.82rem; }
.footer-bottom-links a:hover { color: var(--white); }

/* ---------- Sticky Mobile CTA ---------- */
.sticky-mobile {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 12px 16px;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.1);
}

.sticky-mobile-inner { display: flex; gap: 10px; }
.sticky-mobile-inner .btn { flex: 1; justify-content: center; }

/* ---------- WhatsApp Float ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 800;
  width: 52px;
  height: 52px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: all var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  padding: 60px 0 50px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero-inner { position: relative; }
.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 1.05rem; max-width: 600px; margin-bottom: 0; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 18px;
}
.breadcrumb a { color: rgba(255,255,255,0.75); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,0.4); }

/* ---------- Map placeholder ---------- */
.map-placeholder {
  background: var(--gray-light);
  border-radius: var(--radius);
  height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  border: 2px dashed var(--border);
  gap: 10px;
}

.map-placeholder svg { color: var(--blue); opacity: 0.4; }
.map-placeholder p { font-size: 0.9rem; text-align: center; margin: 0; }

/* ---------- Blog page ---------- */
.blog-hero { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); padding: 60px 0; }
.blog-article { max-width: 820px; margin: 0 auto; }
.blog-article h2 { font-size: 1.5rem; margin: 2rem 0 0.8rem; }
.blog-article h3 { font-size: 1.2rem; margin: 1.5rem 0 0.6rem; color: var(--green-dark); }
.blog-article p { margin-bottom: 1.1rem; }
.blog-article ul, .blog-article ol { padding-left: 1.5rem; margin-bottom: 1.1rem; }
.blog-article li { margin-bottom: 0.5rem; color: var(--gray-dark); }
.blog-article strong { color: var(--blue); }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}

.cta-banner h2 { color: var(--white); margin-bottom: 12px; position: relative; }
.cta-banner p { color: rgba(255,255,255,0.85); margin-bottom: 28px; position: relative; }
.cta-banner-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; position: relative; }

/* ---------- Why Choose ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.why-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.why-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--green); }

.why-icon {
  width: 64px;
  height: 64px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin: 0 auto 18px;
}

.why-card h4 { color: var(--blue); margin-bottom: 10px; }
.why-card p { font-size: 0.88rem; color: var(--gray); margin: 0; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.hidden { display: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header-top { display: none; }
  .nav { display: none; }
  .hamburger { display: flex; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-card-wrap { display: none; }
  .hero { padding: 48px 0 40px; }

  .about-grid { grid-template-columns: 1fr; }
  .about-image-wrap { order: -1; }
  .about-badge { bottom: -10px; right: 10px; }

  .doctors-grid { grid-template-columns: 1fr; }
  .branches-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }

  .trust-bar-inner { gap: 20px; }
  .trust-divider { display: none; }

  .form-row { grid-template-columns: 1fr; }

  .cta-banner { padding: 32px 20px; }

  .sticky-mobile { display: block; }

  .whatsapp-float { bottom: 90px; }

  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-links { justify-content: center; }

  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { justify-content: center; }

  .branch-ctas { flex-direction: column; }
}

@media (max-width: 480px) {
  .why-grid { grid-template-columns: 1fr; }
  .services-tabs { justify-content: center; }
}

/* ---------- Print ---------- */
@media print {
  .sticky-mobile, .whatsapp-float, #header { display: none; }
}
