/* ============================================================
   WORLD DENTAL SPECIALITIES – style.css
   ============================================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal:       #0194C5;
  --teal-dark:  #0194C5;
  --teal-light: #e8f8fb;
  --green:      #77BE0C;
  --dark:       #1a1a2e;
  --dark-footer:#1c1c2e;
  --text:       rgb(0, 0, 0);
  --text-light: #555555;
  --border:     #dddddd;
  --bg-gray:    #f5f7f9;
  --white:      #ffffff;
  --bg-light:   #f5f7f8;
  --font-head:  'Playfair Display', Georgia, serif;
  --font-body:  'Maven Pro', Arial, sans-serif;
  --radius:     6px;
  --shadow:     0 2px 10px rgba(0,0,0,0.08);
  --gutter:     20px;
  /* Matches the .container's own left inset (max-width:1230px, centered) at
     every viewport width, so headings placed outside .container still line
     up with the grid content inside it instead of only at one width. */
  --edge:       max(var(--gutter), calc((100vw - 1230px) / 2 + var(--gutter)));
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  line-height: 1.65;
}

#header { padding: 0 8.7rem 0 12rem !important; }
@media (min-width: 768px) and (max-width: 1024px) {
  #header { padding: 1rem 3.5rem !important; }
}
@media (max-width: 768px) {
  #header { padding: 1rem 1.5rem !important; }
}


.container {
  max-width: 1230px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.quiz-fields input[type="text"],
.quiz-fields input[type="email"] {
  width: 49%;              /* stretch to full section width */
  padding: 4px 10px;       /* comfortable spacing inside */
  border: 1px solid #ccc;   /* subtle border */
  border-radius: 20px;       /* rounded corners */
  box-sizing: border-box;   /* ensures padding doesn’t break width */
  font-size: 13px; 
  margin-bottom: 10px;         /* readable text size */
}


.section-pad { padding: 45px 0; }

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
}

h2 {
  font-family: var(--font-head);
  font-size: 3.3rem;
  font-weight: 300;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 20px;
  max-width: 1230px;
}

h3 {
  font-size: 2rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 20px;
}

h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

p { margin-bottom: 12px; color: var(--text); font-size: 1.19rem; }

.section-sub {
  max-width: 100%;
  margin-bottom: 32px;
  color: var(--text);
  font-size: 1.19rem;
  font-family: 'Maven Pro', Arial, sans-serif;
  font-weight: 400;
}

/* ---------- PLACEHOLDERS ---------- */
.img-placeholder {
  /* background: #d0e8ec; */
  display: block;
  width: 100%;
  object-fit: cover;
  color: transparent;
}
.img-placeholder::before { content: ''; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: background 0.2s, color 0.2s;
  font-family: 'Maven Pro', Arial, sans-serif;
  font-weight: 400;
}

.btn-teal {
  background: var(--teal);
  padding: 8px 24px;
  color: var(--white);
  font-family: 'Maven Pro', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 400;
}
.btn-teal:hover { background: var(--teal-dark); }

.btn-outline-white {
  background: var(--white);
  color: #397587;
  border: 1.5px solid var(--white);
  font-style: var(--font-body);
  padding: 6px 16px;
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 50px;
}

.experience-grid{
  margin-left: 35px;
}

.btn-outline-dark {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid #aaa;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-family: 'Maven Pro', Arial, sans-serif;
  font-weight: 400;
}

.btn-website {
  background: var(--teal);
  color: #fff;
  padding: 7px 16px;
  border-radius: 20px;
  width:min-content;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0;
  font-family: 'Maven Pro', Arial, sans-serif;
  font-weight: 500;
}
.btn-website:hover { background: var(--teal-dark); }

.btn-full { width: 100%; text-align: left; border-radius: 6px; padding: 13px; }

/* ---------- NAVBAR ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 6px rgba(0,0,0,0.08);
}

.navbar-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.logo-placeholder {
  width: 140px;
  height: 44px;
  background: #d0e8ec;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #666;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  justify-content: center;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--teal); }

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  margin-left: auto;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-image-placeholder {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  display: block;
}
.hero-img-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,151,178,0.3);
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  padding: 20px;
  text-align: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 0;
  max-width: 1600px;
  margin-left: var(--edge);
  width: 100%;
}

.hero-content h1 {
  font-family: var(--font-head);
  font-size: 3.7rem;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 26px;
  max-width: 780px;
  margin-left: 0;
}

.hero-content p {
  color: rgba(255,255,255,0.92);
  font-size: 1.25rem;
  font-style: var(--font-body);
  max-width: 660px;
  margin-bottom: 36px;
  line-height: 1.2;
  margin-left: 0;
}

/* ---------- STATS ---------- */
.stats-section {
  background: var(--bg-gray);
  padding: 58px 0;
  margin-top: -32px;
  
}


.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 80px;
  width: 100%;
  margin-bottom: 28px;
}

.stat-item { text-align: left; }

.stat-number {
  font-family: var(--font-body);
  font-size: 2.11rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 4px;
}
.stat-number.teal { 
  color: var(--teal); 
  font-family: 'Maven Pro', Arial, sans-serif;
  font-weight: 700;
}
.stat-label { 
  font-size: 1.4rem; 
  color: var(--text); 
  font-family: 'Maven Pro', Arial, sans-serif;
  font-weight: 400;
}

/* ---------- COST COMPARISON ---------- */
.cost-section { background: var(--white); }

.cost-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.cost-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--bg-gray);
}

.cost-card h4 { 
  font-size: 1.35rem; 
  margin-bottom: 8px; 
  font-family: 'Maven Pro', Arial, sans-serif;
  font-weight: 600;
}
.cost-location { 
  font-size: 1.1rem; 
  color: var(--text-light); 
  font-family: 'Maven Pro', Arial, sans-serif;
  font-weight: 400;
}
.cost-price { 
  font-size: 1rem; 
  color: var(--dark); 
  margin-bottom: 12px; 
  font-family: 'Maven Pro', Arial, sans-serif;
  font-weight: 400;
}
.cost-price.bold { 
  font-weight: 700; 
  font-family: 'Maven Pro', Arial, sans-serif;
}

.cost-india-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  padding-top: 10px;
}

.save-badge {
  background: var(--green);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 3px;
  white-space: nowrap;
  font-family: 'Maven Pro', Arial, sans-serif;
  font-weight: 500;
}

.cost-note {
  font-size: 1.19rem;
  color: var(--text);
  margin-bottom: 20px;
  font-family: 'Maven Pro', Arial, sans-serif;
  font-weight: 400;
}

/* ---------- POPULAR TREATMENTS ---------- */
.treatments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.treatment-card {
  background: var(--bg-gray);
  border-radius: 20px 20px 20px 20px; 
  padding: 20px 16px;
}

.treatment-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.treatment-icon img {
  width: 130%;
  height: 130%;
  object-fit: contain;
}


.treatment-card h4 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  font-family: 'Maven Pro', Arial, sans-serif;
  font-weight: 600;
}
.treatment-card p { 
  font-size: 1.09rem; 
  color: var(--text); 
  margin-bottom: 0; 
  font-family: 'Maven Pro', Arial, sans-serif;
  font-weight: 400;
}

/* ---------- ESTIMATE QUIZ ---------- */
.estimate-block {
  padding: 44px 0;
  color: var(--white);
}

.estimate-block h2 {
  color: var(--white);
  font-size: 3.3rem;
  margin-bottom: 6px;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
}

.estimate-block p {
  color: var(--white);
  font-size: 1.19rem;
  margin-bottom: 24px;
  font-family: 'Maven Pro', Arial, sans-serif;
  font-weight: 400;
}

.quiz-box {
  background: var(--bg-gray);
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  padding: 22px 24px;
  max-width: 100%;
}

.quiz-container {
  padding: 22px 24px;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  max-width: 100%;
  background: var(--teal);
}

.quiz-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 16px;
  font-family: 'Maven Pro', Arial, sans-serif;
  font-weight: 400;
}

.quiz-header h4 {
  font-size: 1.24rem;
  font-family: 'Maven Pro', Arial, sans-serif;
  font-weight: 400;
  margin-bottom: 0;
  flex: 1;
}

.quiz-step {
  background: #eee;
  padding: 4px 11px;
  border-radius: 20px;
  border: 1px solid var(--border);
  font-size: 1.17rem;
  color: var(--text-light);
}

.quiz-options {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}



.quiz-option {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 1.19rem;
  color: var(--text);
  cursor: pointer;
  font-family: 'Maven Pro', Arial, sans-serif;
  font-weight: 400;
}

.quiz-section {
  display: none;
}

.quiz-section[data-step="1"] {
  display: block;
}

.quiz-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--green);
}

.quiz-nav {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-right: 50px;
}
.btn-quiz-prev, .btn-quiz-next {
  padding: 8px 16px;
  border-radius: 24px;
  font-family: 'Maven Pro', Arial, sans-serif;
  font-size: 1.1rem;
  cursor: pointer;
  font-weight: 400;
  cursor: pointer;
  border: none;
  transition: background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-quiz-prev {
  background: var(--teal);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-quiz-prev:hover { background: var(--dark); }
.btn-quiz-next {
  background: var(--teal);
  color: var(--white);
}
.btn-quiz-next:hover { background: #374151; }

/* ---------- MEET OUR TEAM ---------- */
.team-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.team-text h2 { font-weight: 500; margin-bottom: 16px; }
.team-text p { font-size: 1.19rem; margin-bottom: 20px; }

.team-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.oval-img {
  border-radius: 0;
  object-fit: contain;
  width: 100%;
  height: auto;
}

.team-blob-decor.teal-dot {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--teal);
}
.team-blob-decor.ring {
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 3px solid var(--teal);
  background: transparent;
}
.top-left  { top: 0; left: 0; }
.top-right { top: 0; right: 0; }
.bottom-right { bottom: 0; right: 0; }
.bottom-left  { bottom: 0; left: 0; }

/* ---------- BEFORE & AFTER ---------- */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.ba-card {
  background: var(--bg-gray);
  padding: 3px;
  border-radius: 16px;
 }

 .why-india.section-pad h2{
  margin-bottom: 32px;
  margin-left: var(--edge);
 }

.ba-image-wrap {
  position: relative;
  border-radius: 16px;

  overflow: hidden;
}

.ba-image-wrap .img-placeholder {
  height: 200px;
}

.ba-label {
  position: absolute;
  top: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 3px;
  color: var(--white);
  font-family: 'Maven Pro', Arial, sans-serif;
  font-weight: 400;
}
.ba-label.before { 
  left: 10px; 
  background: #F8F8F8; 
  color: var(--white);
}
.ba-label.after  { 
  right: 10px; 
  background: var(--green);
  font-family: 'Maven Pro', Arial, sans-serif;
  font-weight: 400;
}

.ba-caption {
  text-align: center;
  font-size: 1.19rem;
  color: var(--text);
  margin-top: 8px;
  margin-bottom: 0;
}

/* ---------- WHY INDIA ---------- */
.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.why-inner > .why-image-wrap { order: 2; }
.why-inner > .why-text { order: 1; }

.why-image-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.why-text h2 { margin-bottom: 16px; }
.why-text p  { font-size: 1.19rem; margin-bottom: 14px; }

.why-list {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
  margin-left: -30px;
}
.why-image-wrap .why-list {
  margin-top: 20px;
  width: 100%;
  max-width: 420px;
}

.why-list{
  margin-top: 25px;
}


.why-text { margin-top: 40px; }
.why-text p { margin-top: 0; }
.why-list li {
  font-size: 1.19rem;
  color: var(--text);
  padding: 4px 0;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  white-space: nowrap;
  font-family: 'Maven Pro', Arial, sans-serif;
  font-weight: 400;
}
.why-list li::before {
  content: '';
  display: inline-block;
  width: 25px;
  height: 25px;
  background-image: url('images/pointer.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  flex-shrink: 0;
  margin-top: 2px;
  margin-right: 4px;
}

/* ---------- EXPERIENCE ---------- */
.experience-section {
  padding: 15px 0;
}

.experience-section h2 { color: var(--dark); margin-bottom: 12px; }
.experience-section p  { max-width: 90%; margin-bottom: 24px; }

/* ---------- HOW IT WORKS ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.step-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 16px;
  background: var(--bg-gray);
}

.step-badge {
  display: inline-block;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-light);
  border: 1px solid var(--green);
  border-radius: 4px;
  padding: 2px 10px;
  margin-bottom: 12px;
  font-family: 'Maven Pro', Arial, sans-serif;
  font-weight: 500;
}
.step-badge.active {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

.step-card h4 { font-size: 1.39rem; margin-bottom: 8px; min-height: 74px; }
.step-card p  { font-size: 1rem; color: var(--text); margin-bottom: 0; }

/* ---------- STAY OPTIONS ---------- */
.hotels-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
  align-items: start;
}

.hotel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
}

.hotel-card {
  border: 1px solid var(--border);
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  padding: 16px;
  background: var(--white);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.hotel-rating {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: -14px;
  padding: 6px 10px;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  font-size: 1.2rem;
  font-weight: 700;
  z-index: 1;
  box-sizing: border-box;
}
.hotel-rating span:first-child {
  display: flex;
  gap: 2px;
  align-items: center;
  font-size: 1.1rem;
  color: var(--white);
}
.hotel-rating span:first-child .star {
  display: inline-block;
  opacity: 1;
  transition: opacity 0.3s ease;
}
.hotel-rating.five-star  { background: var(--green); color: var(--white); }
.hotel-rating.four-star  { background: var(--green); color: var(--white); }
.hotel-rating.three-star { background: var(--green); color: var(--white); }
.hotel-rating.five-star span:first-child .star,
.hotel-rating.four-star span:first-child .star,
.hotel-rating.three-star span:first-child .star { font-size: 1.8rem; }
.hotel-rating.five-star span:first-child .star:nth-child(n+1) { opacity: 1; }
.hotel-rating.five-star span:first-child .star:nth-child(n+6) { opacity: 0.3; }
.hotel-rating.four-star span:first-child .star:nth-child(n+5) { opacity: 0.3; }
.hotel-rating.three-star span:first-child .star:nth-child(n+4) { opacity: 0.3; }

.star-label { 
  font-size: 1rem; 
  font-weight: 400; 
  font-family: 'Maven Pro', Arial, sans-serif;
  color: var(--white);
  margin-left: 8px;
}

.hotel-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Maven Pro', Arial, sans-serif;
  font-weight: 500;
  cursor: pointer;
}

.hotel-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 10px;
  max-height: 500px;
  overflow: hidden;
  opacity: 1;
  transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
}

.hotel-images.collapsed {
  max-height: 0;
  opacity: 0;
  margin-bottom: 0;
}

.hotel-img {
  height: 90px;
  border-radius: 4px;
  object-fit: cover;
}

.hotel-more {
  font-size: 1rem;
  color: var(--text-light);
  border-top: 1px solid #eee;
  padding: 7px 0;
  display: flex;
  justify-content: space-between;
  font-family: 'Maven Pro', Arial, sans-serif;
  font-weight: 500;
}

.map-pin { 
  color: var(--teal);
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 0.3s ease;
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px;
}

.map-pin:hover {
  transform: scale(1.2);
}

.fa-solid.fa-caret-up:before,
.fa-solid.fa-caret-down:before {
  color: #000 !important;
  font-size: 0.8rem !important;
}

.hotel-options {
  max-height: 500px;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
  opacity: 1;
  border-top: 1px solid #eee;
  padding: 7px 0;
  display: flex;
  justify-content: space-between;
}

.hotel-options.collapsed {
  max-height: 0;
  opacity: 0;
  padding: 0;
  border: none;
}

.hotel-card .hotel-more {
  display: block;
}

.hotel-more-name {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Maven Pro', Arial, sans-serif;
  cursor: pointer;
}

.hotel-more-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 8px;
  max-height: 500px;
  overflow: hidden;
  opacity: 1;
  transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
}

.hotel-more-images.collapsed {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
}

.hotel-options i.fa-solid {
  cursor: pointer;
  color: var(--teal);
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.hotel-options i.fa-solid:hover {
  transform: scale(1.2);
}

/* Globe icon from Vector.png */
.btn-website i.fas.fa-globe {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url('images/Vector.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  font-size: 0;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials-layout {
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  gap: 32px;
  margin-top: 32px;
  align-items: start;
}

/* Video is a 480x848 portrait clip - size the wrap to its own aspect
   ratio instead of stretching it to fill a wide landscape column. */
.testimonial-video-wrap {
  position: relative;
  width: 100%;
  max-width: 300px;
}

.testimonial-video-wrap video {
  display: block;
  width: 100%;
  aspect-ratio: 480 / 848;
  object-fit: cover;
  border-radius: 16px;
  background: #000;
}

.testimonial-thumb {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
}



.testimonials-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testimonial-item {
  background: var(--bg-gray);
  padding: 24px;
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 20px;
  margin-bottom: 0;
  border-radius: 12px;
  width: 100%;
}
.testimonial-item:last-child { border-bottom: none; margin-bottom: 0; }



.testimonial-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.testimonial-content p {
  margin: 0;
  flex: unset;
  max-width: 100%;
}

.testimonial-meta {
  margin-top: 8px;
}

.testimonial-item .testimonial-meta {
  display: flex;
  align-items: center;
  gap: 16px;
}



.testimonial-item p {
  font-size: 1.05rem;
  color: var(--text);
  max-width: 640px;
  line-height: 1.6;
  margin-bottom: 0;
  font-family: 'Maven Pro', Arial, sans-serif;
  font-weight: 400;
}

.testimonial-author {
  max-width: 250px;
  background: var(--green);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 5px;
  font-family: 'Maven Pro', Arial, sans-serif;
  font-weight: 500;
}

iframe {
  border-radius: 16px;
}
.quote-mark1,
.quote-mark2 {
  position: absolute;
  right: 210px;
  top: 285px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  z-index: 2;
  opacity: 0.95;
}


.quote-mark1 img,
.quote-mark2 img {
  width: 90%;
  height: 90%;
  object-fit: contain;
}

.quote-mark2 {
  right: 212px;
  top: 266px;
}

.faq-booking-section.section-pad.bg-light h2{
  margin-bottom: -20px;
}
.testimonial-patient-img1,
.testimonial-patient-img2 {
  width: 230px;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.quiz-prev, .quiz-next {
  background: var(--teal);
  color: var(--white);
  padding: 8px 24px;
  border-radius: 20px;
  font-size: 0.88rem;
  font-family: 'Maven Pro', Arial, sans-serif;
  font-weight: 400;
  cursor: pointer;
}



/* ---------- FAQ + BOOKING ---------- */
.faq-booking-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
/* The heading is now a grid item (moved inside .faq-booking-inner) so its
   order can differ on mobile (form, then heading, then FAQ accordion).
   Spanning both columns keeps it full-width above the two columns on
   desktop, matching how it looked before the move. */
.faq-booking-inner > h2 { grid-column: 1 / -1; }

.booking-form{
  background: var(--bg-gray);
  padding: 24px;
  border-radius: 16px;
}

.booking-form h3 { 
  margin-bottom: 20px; 
  font-family: 'Maven Pro', Arial, sans-serif;
  font-weight: 500;
  font-size: 2.25rem;
}

.form-input {
  display: block;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 10px;
  font-size: 18px;
  font-family: var(--font-body);
  color: var(--text);
  margin-bottom: 12px;
  outline: none;
  transition: border-color 0.2s;
}
.form-input:focus { border-color: var(--teal); }

.form-textarea {
  height: 100px;
  resize: vertical;
}

/* ---- Phone field with country code dropdown ---- */
.booking-form .phone-field {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.booking-form .phone-field select.country-code {
  flex: 0 0 auto;
  width: auto;
  max-width: 108px;
  min-width: 84px;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 6px;
  font-size: 15px;
  color: var(--text);
  background: white;
  font-family: var(--font-body);
}
.booking-form .phone-field .form-input {
  flex: 1 1 auto;
  min-width: 0;
  margin-bottom: 0;
}
.booking-form .phone-field select.country-code:focus {
  outline: none;
  border-color: var(--teal);
}
@media (max-width: 360px) {
  .booking-form .phone-field select.country-code {
    max-width: 90px;
    min-width: 74px;
    font-size: 13px;
    padding: 10px 4px;
  }
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 16px 0;
  font-size: 1.19rem;
  font-weight: 500;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Maven Pro', Arial, sans-serif;
  font-weight: 500;
}

.faq-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-left: 12px;
  background-image: url("images/arrow-drop-down.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: transform 0.2s ease, background-image 0.2s ease;
}
.faq-item.open .faq-icon {
  background-image: url("images/arrow-drop-down-up.png");
}

.faq-a { display: none; }
.faq-item.open .faq-a {
  display: block;
  padding-bottom: 16px;
}
.faq-a p { 
  font-size: 1.09rem; 
  max-width: 95%;
  color: var(--text-light); 
  margin-bottom: 0; 
  font-family: 'Maven Pro', Arial, sans-serif;
  font-weight: 400;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--dark-footer);
  color: #ccc;
  position: relative;
  padding-top: 0;
}

.footer-wave {
  line-height: 0;
  overflow: hidden;
  height: 80px;
}

.footer-wave svg {
  display: block;
  width: 100%;
  height: 80px;
}

.footer-body {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 0.8fr;
  gap: 36px;
  padding-top: 40px;
  padding-bottom: 36px;
}

.footer-col h5 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 10px;
  margin-top: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-col h5:first-child { margin-top: 0; }

.footer-col p {
  font-size: 0.8rem;
  color: #aaa;
  margin-bottom: 6px;
}
.footer-col p i { margin-right: 6px; color: var(--teal); }

.footer-links {
  list-style: none;
  padding: 0;
}
.footer-links li { margin-bottom: 5px; }
.footer-links a {
  text-decoration: none;
  color: #aaa;
  font-size: 0.78rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--teal); }

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}
.hours-table td {
  padding: 4px 0;
  color: #aaa;
}
.hours-table td:last-child {
  text-align: right;
  color: #888;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 16px;
  padding-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-nav a {
  text-decoration: none;
  color: #aaa;
  font-size: 0.78rem;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--teal); }

.footer-social {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--white);
  transition: opacity 0.2s;
}
.social-icon:hover { opacity: 0.8; }
.social-icon.youtube   { background: #ff0000; }
.social-icon.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-icon.facebook  { background: #1877f2; }

.goethe-badge {
  width: 60px;
  height: 40px;
  background: #1a3a6e;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.6rem;
  color: #fff;
  font-weight: 700;
  padding: 4px;
  line-height: 1.3;
}

.footer-copyright {
  text-align: center;
  padding: 14px 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-copyright p {
  font-size: 0.78rem;
  color: #666;
  margin-bottom: 0;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  h2 { font-size: 2.3rem; }
  /* Shrink Previous/Next/Submit and keep them teal at all times on mobile -
     touch taps can trigger :hover and leave it "stuck" on the dark/gray
     hover color otherwise. Matches the same treatment in style.css. */
  .btn-quiz-prev, .btn-quiz-next {
    padding: 8px 10px;
    font-size: 0.78rem;
    gap: 3px;
    width: 88px;
    justify-content: center;
  }
  .btn-quiz-prev:hover,
  .btn-quiz-next:hover {
    background: var(--teal);
  }
  .section-pad     { padding: 30px 0; }
  .stats-section   { padding: 36px 0; margin-top: 0; }
  .estimate-block  { padding: 28px 0; }
  .estimate-block h2 { font-size: 2.3rem; }
  /* Turn each stat into its own card: fixed height + centered flex content
     means a 1-line label ("Sterilization") and a 2-line one ("Implant
     Warranty") both sit centered in an identically-sized tile instead of
     staggering the grid, and the card border/shadow gives real visual
     separation instead of four lines of text floating on bare gray. */
  .stats-grid       { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .stat-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 110px;
  }
  .stat-number      { font-size: 1.5rem; margin-bottom: 4px; }
  .stat-label       { font-size: 1rem; line-height: 1.3; }
  .cost-cards       { grid-template-columns: 1fr; }
  .treatments-grid  { grid-template-columns: 1fr; }
  .steps-grid       { grid-template-columns: 1fr; }
  .hotels-grid      { grid-template-columns: 1fr; }
  .team-inner       { grid-template-columns: 1fr; }
  .why-inner        { grid-template-columns: 1fr; }
  .why-inner > .why-image-wrap,
  .why-inner > .why-text { order: initial; }
  .ba-grid          { grid-template-columns: 1fr; }
  .testimonials-layout { grid-template-columns: 1fr; }
  .testimonial-video-wrap { margin: 0 auto; }
  .faq-booking-inner   { grid-template-columns: 1fr; gap: 24px; }
  /* Form first, then the "Frequently Asked Questions" heading, then the
     FAQ accordion itself - instead of the heading sitting above the form. */
  .faq-booking-inner > .booking-form { order: 1; }
  .faq-booking-inner > h2 { order: 2; }
  .faq-booking-inner > .faq-area { order: 3; }
  .footer-body         { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-image          { opacity: 0.3; }
}

@media (max-width: 600px) {
  h2 { font-size: 1.5rem; }
  .nav-links { display: none; }
  .hamburger { display: block; }
  .navbar-inner .btn-teal { display: none; }
  .section-pad     { padding: 24px 0; }
  .stats-section   { padding: 28px 0; margin-top: 0; }
  .estimate-block  { padding: 22px 0; }
  .estimate-block h2 { font-size: 1.7rem; }
  .stats-grid      { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat-item       { padding: 14px 10px; min-height: 100px; border-radius: 10px; }
  .stat-number     { font-size: 1.3rem; }
  .stat-label      { font-size: 0.92rem; }
  .treatments-grid { grid-template-columns: 1fr; }
  .steps-grid      { grid-template-columns: 1fr; }
  .ba-grid         { grid-template-columns: 1fr; }
  .footer-body     { grid-template-columns: 1fr; }
  .footer-bottom   { flex-direction: column; align-items: flex-start; }
}



/* ==== ADDED: real mobile nav (the page header's own #menu/.hamburger
   had no working mobile behavior at all - #menu stayed at width:450%
   and .hamburger was permanently display:none) + reset of the fixed
   130px left offsets used across sections, which pushed content
   off-screen on small viewports. Pair with the matching JS added to
   script.js (toggles the "mobile-open" class below). ==== */
@media screen and (max-width: 900px) {
  /* Page <head> ships an inline <style> with `.logo-container img {
     margin-left: -35px}` to compensate for whitespace baked into the
     desktop logo file. Once that same header's own padding shrinks at
     max-width:768px (also inline), -35px pushes the logo past the left
     edge of the screen. !important is required to win over the inline
     style, since it comes later in the <head> than this stylesheet. */
  .logo-container img { margin-left: 0 !important; }
  #menu { display: none !important; }
  .hamburger {
    display: flex !important;
    width: 26px;
    height: 20px;
    flex-direction: column;
    justify-content: space-between;
  }
  .hamburger .top, .hamburger .meat, .hamburger .bottom {
    display: block;
    width: 100%;
    height: 3px;
    background: #000;
    border-radius: 2px;
  }
  .toplinkscontainer { margin-left: 0 !important; }
  #menu.mobile-open {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100% !important;
    height: auto !important;
    background: #fff;
    padding: 16px 24px !important;
    box-shadow: 0 8px 20px rgba(0,0,0,.12);
    z-index: 999;
    gap: 14px !important;
  }
  #menu.mobile-open .menu-item { width: 100%; }
  #menu.mobile-open .sub-menu {
    position: static;
    opacity: 1;
    pointer-events: all;
    box-shadow: none;
    padding-left: 12px;
  }
  .why-india.section-pad h2,
  .experience-grid {
    margin-left: 20px !important;
  }
  /* This h2 is now a grid item inside .faq-booking-inner (moved there so it
     could be reordered below the form), so it already sits at the same
     left edge as the form/FAQ content via .container's own padding - the
     old margin-left:20px was stacking an extra, misaligned indent on top
     of that. Also tighten the 80px gap down to the first FAQ question
     (32px margin + 48px grid gap) and make the heading bold. */
  .faq-booking-section.section-pad.bg-light h2 {
    margin-left: 0 !important;
    margin-bottom: 8px !important;
    font-weight: 700;
  }
  /* .why-list li had white-space:nowrap, which clipped every long bullet
     (e.g. "Experience World-Class Dental Care" section) instead of wrapping */
  .why-list li {
    white-space: normal !important;
  }

  /* Hero heading had no mobile font-size reduction at all (stayed at
     3.7rem/~59px), overwhelming the small viewport. Keep the image as
     a full-bleed background behind the text (same as desktop), just
     scale the heading/paragraph down to fit. */
  .hero-content h1 {
    font-size: 28px !important;
  }
  .hero-content p {
    font-size: 16px !important;
  }
}
