/* MedPark BD — Custom Styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #0066CC;
  --primary-dark: #0052a3;
  --secondary: #00A86B;
  --accent: #FF6B35;
  --dark: #1A2332;
  --light: #F0F7FF;
  --white: #FFFFFF;
}

* { box-sizing: border-box; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  background: var(--white);
}

/* Nav */
.nav-logo span.logo-med { color: var(--primary); }
.nav-logo span.logo-park { color: var(--secondary); }
.nav-logo span.logo-bd { color: var(--accent); }

/* Hero */
.hero-gradient {
  background: linear-gradient(135deg, #0a1628 0%, #0066CC 50%, #004d99 100%);
}

.hero-overlay {
  background: linear-gradient(to right, rgba(10,22,40,0.92) 0%, rgba(0,102,204,0.7) 60%, rgba(0,102,204,0.3) 100%);
}

/* Cards */
.card-hover {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,102,204,0.15);
}

/* Stats bar */
.stats-bar {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

/* Service icons */
.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 16px;
}

/* Trust badges */
.trust-badge {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 12px 20px;
  text-align: center;
  color: white;
}
.trust-badge .badge-icon { font-size: 24px; margin-bottom: 4px; }
.trust-badge .badge-text { font-size: 13px; font-weight: 600; }

/* Section titles */
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}
.section-subtitle {
  color: #64748b;
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}
.title-accent {
  color: var(--primary);
}

/* Specialty cards */
.specialty-card {
  background: white;
  border-radius: 16px;
  padding: 28px 24px;
  border: 2px solid #e8f0ff;
  transition: all 0.2s ease;
}
.specialty-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,102,204,0.15);
}
.specialty-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 16px;
}

/* Steps */
.step-card {
  background: white;
  border-radius: 16px;
  padding: 28px 24px;
  border: 2px solid #e8f0ff;
  position: relative;
}
.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

/* FAQ accordion */
.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: white;
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}
.faq-question:hover { background: var(--light); }
.faq-question.active { background: var(--light); color: var(--primary); }
.faq-answer {
  display: none;
  padding: 0 24px 20px;
  color: #64748b;
  line-height: 1.7;
  font-size: 0.95rem;
}
.faq-answer.open { display: block; }
.faq-chevron { transition: transform 0.3s; font-size: 1.2rem; }
.faq-question.active .faq-chevron { transform: rotate(180deg); }

/* YouTube embeds */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
}
.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

/* Image gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}
.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

/* Footer */
footer a { color: #94a3b8; transition: color 0.2s; }
footer a:hover { color: white; }

/* WhatsApp float */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  background: #25D366;
  color: white;
  border-radius: 50px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  animation: pulse-wa 3s infinite;
}
.wa-float:hover {
  background: #20bb5a;
  transform: scale(1.05);
  color: white;
}
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,0.7); }
}
.wa-float .wa-text { display: none; }
@media (min-width: 768px) { .wa-float .wa-text { display: inline; } }

/* Hamburger */
#mobile-menu { display: none; }
#mobile-menu.open { display: block; }

/* Appointment form */
.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  color: var(--dark);
  transition: border-color 0.2s;
  background: white;
}
.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,102,204,0.1);
}
.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--dark);
}

/* Buttons */
.btn-primary {
  background: var(--primary);
  color: white;
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }

.btn-accent {
  background: var(--accent);
  color: white;
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}
.btn-accent:hover { background: #e55c28; transform: translateY(-2px); }

.btn-secondary {
  background: var(--secondary);
  color: white;
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}
.btn-secondary:hover { background: #008556; transform: translateY(-2px); }

.btn-outline-white {
  background: transparent;
  color: white;
  border: 2px solid white;
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}
.btn-outline-white:hover { background: white; color: var(--primary); }

/* Utility */
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-accent { color: var(--accent); }
.bg-light { background: var(--light); }
.section-pad { padding: 80px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Timeline for how it works */
.timeline-container { position: relative; }
.timeline-item { position: relative; padding-left: 60px; margin-bottom: 32px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}
.timeline-line {
  position: absolute;
  left: 21px;
  top: 44px;
  width: 2px;
  height: calc(100% - 44px + 32px);
  background: linear-gradient(to bottom, var(--primary), transparent);
}
.timeline-item:last-child .timeline-line { display: none; }

/* Testimonial card */
.testimonial-card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  border: 2px solid #e8f0ff;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-size: 80px;
  color: var(--light);
  position: absolute;
  top: -10px;
  left: 20px;
  font-family: Georgia, serif;
  line-height: 1;
}

/* Map section */
.map-container {
  border-radius: 16px;
  overflow: hidden;
  height: 400px;
}
.map-container iframe { width: 100%; height: 100%; border: none; }

/* Responsive */
@media (max-width: 768px) {
  .section-title { font-size: 1.6rem; }
  .section-pad { padding: 60px 0; }
  .hero-gradient { min-height: 85vh; }
}
