:root {
  --primary: #f07fb3;
  --secondary: #2e3a8c;
  --text: #64748b;
  --bg-light: #f8fafc;
  --white: #ffffff;
  --border: #d9e2f0;
  --font: "Quicksand", sans-serif;
  --transition: 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font); color: var(--text); line-height: 1.6; overflow-x: hidden; background: var(--bg-light); }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 20px; }
.section-pad { padding: 90px 0; }
.bg-light { background: var(--bg-light); }
.bg-white { background: var(--white); }

.row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.align-center { align-items: center; }
.relative { position: relative; }
.z-10 { z-index: 10; }

.col-lg-7 { width: 58.333%; padding: 0 15px; }
.col-lg-5 { width: 41.666%; padding: 0 15px; }
.col-lg-3 { width: 25%; padding: 0 15px; }
.col-md-6 { width: 50%; padding: 0 15px; }
.col-sm-6 { width: 50%; padding: 0 15px; }
.col-sm-12 { width: 100%; padding: 0 15px; }
.w-100 { width: 100%; }

.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.text-primary { color: var(--primary) !important; }
.fw-bold { font-weight: 700; }

.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mb-30 { margin-bottom: 30px; }
.mb-50 { margin-bottom: 50px; }
.pb-0 { padding-bottom: 0; }
.pb-50 { padding-bottom: 50px; }
.ms-2 { margin-left: 8px; }
.pr-lg-50 { padding-right: 50px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 35px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font);
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), #e268a8);
  color: var(--white);
  box-shadow: 0 10px 20px rgba(240, 127, 179, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(240, 127, 179, 0.45);
}

.contact-hero {
  padding: 140px 0 90px;
  min-height: 680px;
  background-image: url("https://clinicmaster.dexignzone.com/tailwind/pediatrics/images/banner/bnr2.webp");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(240, 127, 179, 0.2), transparent 38%),
    radial-gradient(circle at 80% 18%, rgba(46, 58, 140, 0.28), transparent 42%),
    rgba(7, 18, 30, 0.74);
}
.hero-wrapper { position: relative; }
.hero-badge {
  display: inline-block;
  background: rgba(240, 127, 179, 0.18);
  border: 1px solid rgba(240, 127, 179, 0.45);
  color: #ffd8eb;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.hero-title {
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.12;
  font-weight: 800;
}
.hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
  max-width: 680px;
  margin: 14px 0 20px;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
}
.hero-points span {
  color: #eaf0ff;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-points i {
  color: var(--primary);
}
.hero-image-box img {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.35);
}

.contact-form-card {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(240, 127, 179, 0.25);
  border-radius: 22px;
  padding: 34px 30px;
  box-shadow: 0 24px 46px rgba(15, 23, 42, 0.24);
}
.form-header h2 {
  font-size: 36px;
  color: var(--secondary);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 8px;
}
.form-header p { color: var(--text); }
.form-group { margin-bottom: 14px; }
.input-wrap { position: relative; }
.form-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 16px;
  pointer-events: none;
}
.form-input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  padding: 14px 14px 14px 42px;
  color: var(--secondary);
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(240, 127, 179, 0.14);
}
.form-input.is-invalid {
  border-color: #dc2626;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12);
}
textarea.form-input {
  min-height: 118px;
  resize: vertical;
  padding-left: 14px;
}
.error-text {
  display: block;
  margin-top: 6px;
  color: #dc2626;
  font-size: 13px;
  font-weight: 600;
  min-height: 18px;
}
.form-message {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
  min-height: 22px;
}
.form-message.success {
  color: #15803d;
}
.form-message.error {
  color: #dc2626;
}

.info-hover-card {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 24px;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.info-hover-card:hover,
.info-hover-card.active {
  transform: translateY(-6px);
  border-color: rgba(240, 127, 179, 0.45);
  box-shadow: 0 14px 28px rgba(46, 58, 140, 0.12);
}
.info-hover-card .icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), #e268a8);
  color: var(--white);
  font-size: 20px;
  margin-bottom: 14px;
}
.info-text h5 {
  color: var(--secondary);
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 6px;
}
.info-text p, .info-text a { color: var(--text); }
.info-text a:hover { color: var(--primary); }

.cta-banner {
  background: linear-gradient(135deg, #fef5fa 0%, #eef2ff 100%);
  border: 1px solid #e6ebf7;
  border-radius: 24px;
  padding: 24px;
  margin: 0;
}
.cta-img-wrap img { border-radius: 16px; }
.cta-title {
  color: var(--secondary);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.15;
}

.map-wrapper {
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  overflow: hidden;
  height: 440px;
  box-shadow: 0 10px 26px rgba(46, 58, 140, 0.08);
}
.map-wrapper iframe { width: 100%; height: 100%; border: 0; }

.locations-title {
  color: var(--secondary);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 800;
}
.location-card {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 10px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.location-card:hover {
  transform: translateY(-6px);
  border-color: rgba(240, 127, 179, 0.4);
  box-shadow: 0 16px 32px rgba(46, 58, 140, 0.12);
}
.loc-header {
  padding: 10px 14px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.flag-icon { width: 24px; }
.loc-header h3 {
  font-size: 20px;
  color: var(--secondary);
  font-weight: 700;
}
.loc-map-img {
  width: 100%;
  height: 190px;
  border-radius: 14px;
  overflow: hidden;
}
.loc-map-img img { width: 100%; height: 100%; object-fit: cover; }
.loc-details { padding: 16px 14px; flex-grow: 1; }
.loc-details p { margin-bottom: 8px; color: var(--text); }
.loc-details a { font-weight: 700; color: var(--secondary); }
.loc-details a:hover { color: var(--primary); }
.loc-footer {
  padding: 14px;
  border-top: 1px solid #e8edf8;
}

.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: 0.25s ease;
  z-index: 999;
}
.scroll-top.active { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--primary); transform: translateY(-3px); }

@media (max-width: 1024px) {
  .col-lg-7, .col-lg-5, .col-lg-3 { width: 100%; }
  .col-md-6 { width: 50%; }
  .pr-lg-50 { padding-right: 15px; }
  .mb-mob-40 { margin-bottom: 40px; }
  .hero-title { font-size: 46px; }
}

@media (max-width: 768px) {
  .section-pad { padding: 70px 0; }
  .col-sm-6, .col-md-6 { width: 100%; }
  .hero-title { font-size: 36px; }
  .hero-subtitle { font-size: 17px; }
  .hero-points { flex-direction: column; gap: 8px; }
  .contact-form-card { padding: 26px 20px; }
  .form-header h2 { font-size: 30px; }
  .cta-title { font-size: 34px; }
}
