/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #0cab52;
  --primary-dark: #099a48;
  --dark: #1e1e1e;
  --card-bg: #e3efe9;
  --white: #ffffff;
  --light-gray: #f5f5f5;
  --border-gray: #d9d9d9;
  --text-muted: #555;
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Poltawski Nowy', serif;
  --radius-card: 12px;
  --radius-pill: 120px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  line-height: 1.4;
  overflow-x: hidden;
  background: var(--white);
  font-size: 16px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.85;
}

ul {
  list-style: none;
}

address {
  font-style: normal;
}

/* ===== CONTAINER =====
   Figma is 1920px with 240px side padding = 1440px content.
   We use max-width:1920 + 12.5% padding (= 240px at 1920px) */
.container {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 clamp(20px, 8.5%, 240px);
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.15;
  letter-spacing: 0.32px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--primary);

  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
  opacity: 1;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--primary);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.15;
  letter-spacing: 0.32px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s;
}

.btn-white:hover {
  transform: translateY(-1px);
  opacity: 1;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--primary);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.15;
  letter-spacing: 0.32px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--primary);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  opacity: 1;
}

.btn-full {
  width: 100%;
  border-radius: 8px;
}

/* ===== TOP BANNER ===== */
.top-banner {
  background: var(--primary);
  text-align: center;
  padding: 12px 10px;
}

.top-banner p {
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

/* ===== HERO ===== */
.hero-section {
  position: relative;
  height: 860px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 147%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.48) 0%, rgba(0, 0, 0, 0.48) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.32) 3.82%, rgba(0, 0, 0, 0) 26.05%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.32) 2.64%, rgba(0, 0, 0, 0) 21.14%);
  z-index: 1;
}

/* Navbar */
.navbar {
  max-width: 1440px;
  position: absolute;
  top: 24px;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  padding: 0 clamp(12px, 2.5%, 48px);
  transition: top 0.3s;
  margin: auto;
}

.navbar.fixed {
  position: fixed;
  top: 0;
  padding: 8px clamp(12px, 2.5%, 48px);
}

.navbar.fixed .nav-container {
  background: rgba(15, 15, 15, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
  transition: background 0.3s, box-shadow 0.3s;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: var(--radius-card);
  padding: 10px 24px;
  gap: 12px;
  overflow: visible;
}



.logo img {
  height: 60px;
  width: auto;
  display: block;
  max-width: 168px;
  width: 100%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  justify-content: center;
  flex-wrap: nowrap;
  min-width: 0;
}

.nav-links li a {
  display: flex;
  align-items: center;
  gap: 2px;
  color: var(--white);
  font-size: 14.5px;
  font-weight: 400;
  letter-spacing: 0.2px;
  line-height: 1.15;
  white-space: nowrap;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 75px clamp(20px, 12.5%, 240px);
  gap: 40px;
}

.hero-text {
  max-width: 708px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
  flex-shrink: 0;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(2px);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.32px;
  padding: 8px 24px;
  border-radius: var(--radius-pill);
  line-height: 1.15;
}

.hero-text h1 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-style: italic;
  font-size: 48px;
  line-height: 1.15;
  color: var(--white);
}

.hero-subtitle {
  font-size: 20px;
  line-height: 1.4;
  color: var(--white);
  font-weight: 400;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-shrink: 0;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--white);
  line-height: 1.4;
}

.stat-number {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.52px;
  white-space: nowrap;
}

.stat-text {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.36px;
  max-width: 251px;
}

.stat-divider {
  width: 2px;
  height: 86px;
  background: rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

/* ===== SECTION COMMON ===== */
.section-header {
  text-align: center;
}

.section-header h2,
.about-us h2,
.before-after h2,
.delighted-patients h2,
.patient-reviews h2,
.cta-section h2,
.meet-doctor h2 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-style: italic;
  font-size: 48px;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 24px;
}

.section-header p {
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: 0.36px;
  color: var(--dark);
  max-width: 840px;
  margin: 0 auto;
}

.section-subtitle-small {
  font-size: 22px;
  line-height: 1.3;
  color: var(--dark);
  margin-top: 42px;
  font-weight: 400;
}

/* ===== DENTAL SOLUTIONS ===== */
.dental-solutions {
  padding: 100px 0;
  background: var(--white);
}

.dental-solutions .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  width: 100%;
}

.solution-card {
  background: var(--card-bg);
  border-radius: var(--radius-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 21px;
}

.solution-info {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.solution-number {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.36px;
  line-height: 1.4;
  display: block;
}

.solution-info h3 {
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.56px;
  line-height: 1.2;
  color: var(--dark);
}

.solution-info p {
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: 0.36px;
  color: var(--dark);
  text-align: center;
}

.solution-image {
  width: 100%;
  height: 300px;
  border-radius: var(--radius-card);
  overflow: hidden;
  flex-shrink: 0;
}

.solution-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.solutions-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* ===== ABOUT US ===== */
.about-us {
  padding: 100px 0 0;
  background: var(--light-gray);
}

.about-us .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-us h2 {
  text-align: center;
  margin-bottom: 60px;
}

/* Wrapper that layers video on top of the marquee */
.about-video-marquee {
  position: relative;
  width: 100%;
}

.about-video-inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding: 0 clamp(20px, 12.5%, 240px);
}

.about-video-placeholder {
  width: 676px;
  max-width: 100%;
  height: 375px;
  background: #222;
  border-radius: var(--radius-card);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.play-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
  z-index: 2;
}

.play-btn:hover {
  transform: scale(1.1);
}

.video-label {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  white-space: nowrap;
}

.label-icon {
  display: flex;
  align-items: center;
}

.label-highlight {
  background: #1e4fa3;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  letter-spacing: 0.5px;
}

/* Services Marquee — pulled up behind the video (z-index 1) */
.services-marquee {
  overflow: hidden;
  padding: 20px 0;
  margin-top: -90px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 18px;
  animation: marquee 35s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.marquee-track span {
  font-size: 18px;
  color: var(--dark);
  line-height: 1.2;
}

.marquee-track .dot {
  width: 5px;
  height: 5px;
  background: var(--dark);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ===== SMILE EXPERTS ===== */
.smile-experts {
  padding: 100px 0;
  background: var(--white);
}

.smile-experts .section-header {
  margin-bottom: 60px;
}

.experts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
}

.expert-card {
  padding: 48px 48px 145px;
  position: relative;
  border-right: 1px solid #d4e6dd;
  border-bottom: 1px solid #d4e6dd;
}

/* Remove right border on 3rd column */
.expert-card:nth-child(3n) {
  border-right: none;
}

/* Remove right border on wide card (spans cols 2-3) */
.expert-card.wide {
  grid-column: span 2;
  border-right: none;
}

/* Remove bottom border on last row */
.expert-card:nth-child(4),
.expert-card:nth-child(5) {
  border-bottom: none;
}

/* Bottom accent fill matching Figma Rectangle 5/6 */
.expert-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 97px;
  background: var(--card-bg);
  pointer-events: none;
}

.expert-card.wide::before {
  display: none;
}

.expert-card h3 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-style: italic;
  font-size: 36px;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 44px;
}

.expert-card.wide h3 {
  margin-bottom: 20px;
}

.expert-card p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--dark);
}

.expert-card.wide p {
  margin-bottom: 24px;
}

/* ===== MEET DOCTOR ===== */
.meet-doctor {
  padding: 100px 0;
}

.doctor-grid {
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

.doctor-image {
  flex-shrink: 0;
  width: 388px;
}

.doctor-img-placeholder {
  width: 388px;
  height: 438px;
  background: #2a2a2a;
  border-radius: var(--radius-card);
  overflow: hidden;
}

.doctor-info {
  flex: 1;
}

.doctor-info h2 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-style: italic;
  font-size: 48px;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 32px;
}

.doctor-bio {
  margin-bottom: 32px;
}

.doctor-bio p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--dark);
  margin-bottom: 12px;
}

/* ===== BEFORE & AFTER ===== */
.before-after {
  padding: 100px 0;
}

.before-after h2 {
  text-align: center;
  margin-bottom: 80px;
}

/* ===== SECTION SLIDER (Before/After + Delighted Patients) ===== */
.section-slider {
  position: relative;
}

.section-slider-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.section-slider-overflow {
  flex: 1;
  overflow: hidden;
}

.section-slider-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.ba-slider .section-slider-track {
  gap: 24px;
}

.dp-slider .section-slider-track {
  gap: 32px;
}

/* Arrow buttons */
.slider-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--primary);
  background: var(--white);
  color: var(--dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, opacity 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.slider-arrow:hover {
  background: var(--primary);
  color: var(--white);
}

.slider-arrow.disabled {
  opacity: 0.3;
  pointer-events: none;
}

/* Dots */
.slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  min-height: 20px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: var(--border-gray);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, width 0.25s;
}

.slider-dot.active {
  background: var(--primary);
  width: 24px;
}

.ba-card {
  position: relative;
  height: 252px;
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  cursor: ew-resize;
}

.ba-before {
  flex: 1;
  background: linear-gradient(135deg, #c8ddd4 0%, #a8c5b8 100%);
}

.ba-after {
  flex: 1;
  background: linear-gradient(135deg, #e0ede8 0%, #c8ddd4 100%);
}

.ba-divider {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: var(--white);
  z-index: 2;
}

.ba-slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  z-index: 3;
}

/* ===== ADVANCED DENTISTRY ===== */
.advanced-dentistry {
  padding: 100px 0;
}

.advanced-grid {
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

.advanced-text {
  flex: 0 0 558px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.advanced-text h2 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-style: italic;
  font-size: 48px;
  line-height: 1.15;
  color: var(--dark);
}

.advanced-desc {
  font-size: 18px;
  line-height: 1.45;
  color: var(--dark);
}

.advanced-features {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 10px 0 14px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature-icon {
  width: 33px;
  height: 32px;
  flex-shrink: 0;
}

.feature-item span {
  font-size: 18px;
  line-height: 1.45;
  color: var(--dark);
}

.advanced-images {
  flex: 1;
}

.advanced-img-placeholder {
  width: 100%;
  height: 477px;
  background: #2a2a2a;
  border-radius: var(--radius-card);
}

/* ===== DELIGHTED PATIENTS ===== */
.delighted-patients {
  padding: 100px 0;
}

.delighted-patients h2 {
  text-align: center;
  margin-bottom: 80px;
}

.patient-videos-grid {
  /* replaced by section-slider */
}

.video-card {
  border-radius: var(--radius-card);
  overflow: hidden;
}

.video-placeholder {
  width: 100%;
  height: 252px;
  background: #222;
  border-radius: var(--radius-card);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== IMPLANT GUIDE FORM ===== */
.implant-guide {
  padding: 100px 0;
  background: var(--white);
}

.implant-guide .section-header {
  margin-bottom: 48px;
}

.implant-guide .section-header h2 {
  font-size: 48px;
  max-width: 870px;
  margin: 0 auto 24px;
}

.implant-guide .section-header p {
  font-size: 18px;
}

.guide-content {
  background: var(--card-bg);
  border-radius: var(--radius-card);
  padding: 48px 42px;
  max-width: 1120px;
  width: 100%;
  margin: auto;
}

.guide-form-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.guide-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 557px;
  width: 100%;
}

.form-fields {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.15;
}

.form-group input {
  height: 43px;
  padding: 12px;
  border: 1px solid var(--border-gray);
  border-radius: 8px;
  font-size: 16px;
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s;
}

.form-group input::placeholder {
  color: #999;
}

.form-group input:focus {
  border-color: var(--primary);
}

.guide-divider {
  width: 1px;
  background: rgba(0, 0, 0, 0.15);
  align-self: stretch;
  flex-shrink: 0;
}

.guide-info {
  flex: 0 0 318px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.guide-img-placeholder {
  width: 291px;
  height: 200px;
  background: #ddd;
  border-radius: var(--radius-card);
}

.guide-details h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
  margin-bottom: 16px;
}

.guide-details ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.guide-details li {
  font-size: 18px;
  line-height: 1.45;
  color: var(--dark);
  position: relative;

}

/* .guide-details li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
} */

/* ===== PATIENT REVIEWS ===== */
.patient-reviews {
  padding: 100px 0;
}

.patient-reviews h2 {
  margin-bottom: 60px;
}

.reviews-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.review-arrow {
  position: absolute;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--primary);
  background: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.2s;
  flex-shrink: 0;
}

.review-arrow:hover {
  background: var(--card-bg);
}

.review-prev {
  left: -80px;
}

.review-next {
  right: -80px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}

.review-card {
  border: 1px solid #e0e0e0;
  border-radius: var(--radius-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  min-height: 214px;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.reviewer-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
}

.stars {
  display: flex;
  gap: 4px;
}

.review-text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}

.read-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  align-self: flex-start;
}

.read-more:hover {
  text-decoration: underline;
  opacity: 1;
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 100px 0 60px;
  text-align: center;
}

.cta-section .section-header {
  margin-bottom: 60px;
}

.cta-section h2 {
  margin-bottom: 42px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--white);
}

.footer .container {
  background: var(--card-bg);
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  padding-top: 48px;
  padding-bottom: 0;
}

.footer-top {
  margin-bottom: 48px;
}

.footer-logo img {
  height: 71px;
  width: auto;
}

.footer-columns {
  display: grid;
  grid-template-columns: 238px 179px 252px 1fr;
  gap: 48px;
  margin-bottom: 48px;
  align-items: start;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 24px;
  line-height: 1.2;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a,
.footer-links span,
.footer-links address {
  font-size: 14px;
  line-height: 1.4;
  color: var(--dark);
}

.footer-links a:hover {
  color: var(--primary);
  opacity: 1;
}

.footer-cta-col {}

.footer-cta-title {
  font-size: 28px !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
  margin-bottom: 12px !important;
}

.footer-cta-col>p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark);
  margin-bottom: 24px;
  max-width: 446px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 14px;
  color: var(--dark);
}

.footer-bottom a {
  color: var(--dark);
}

.footer-bottom a:hover {
  color: var(--primary);
  opacity: 1;
}


.inside_footer {
  background-color: #F2F7F5;
}

/* ===== MOBILE NAV (1300px) ===== */
@media (max-width: 1300px) {

  /* Show hamburger, hide desktop nav */
  .mobile-menu-btn {
    display: flex;
    padding: 6px;
  }

  .mobile-menu-btn span {
    width: 22px;
    height: 2px;
    transition: all 0.3s ease;
  }

  .nav-cta {
    display: none;
  }

  /* Nav dropdown */
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 8px 0 16px;
    gap: 0;
    border-radius: 0 0 12px 12px;
    z-index: 200;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li a {
    font-size: 15px;
    font-weight: 500;
    padding: 12px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    white-space: normal;
  }

  .nav-links li:last-child a {
    border-bottom: none;
  }

  /* Navbar position */
  .navbar {
    padding: 0 clamp(12px, 3%, 60px);
    top: 16px;
  }

  .nav-container {
    padding: 10px 20px;
    gap: 12px;
    border-radius: 10px;
  }

  .logo img {
    height: 56px;
  }

  /* Non-nav 1280px adjustments */
  .hero-text h1 {
    font-size: 38px;
  }

  .stat-number {
    font-size: 22px;
  }

  .review-prev {
    left: -60px;
  }

  .review-next {
    right: -60px;
  }

  .footer-columns {
    grid-template-columns: 200px 160px 220px 1fr;
    gap: 32px;
  }
}

/* ===== HERO STATS WRAP (1600px) ===== */
@media (max-width: 1600px) {
  .hero-content {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 32px;
    padding-bottom: 50px;
  }

  .hero-stats {
    width: 100%;
    justify-content: flex-start;
  }
}

/* ===== TABLET (1024px) ===== */
@media (max-width: 1024px) {

  .dental-solutions,
  .about-us,
  .smile-experts,
  .meet-doctor,
  .before-after,
  .advanced-dentistry,
  .delighted-patients,
  .implant-guide,
  .patient-reviews {
    padding: 70px 0;
  }

  .cta-section {
    padding: 70px 0 40px;
  }

  .hero-section {
    height: 720px;
  }

  .hero-content {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 32px;
    padding-bottom: 50px;
  }

  .hero-text h1 {
    font-size: 36px;
  }

  .hero-stats {
    width: 100%;
    justify-content: center;
  }

  .solutions-grid {
    grid-template-columns: 1fr 1fr;
  }

  .solutions-cta {
    flex-wrap: wrap;
    justify-content: center;
  }

  .experts-grid {
    grid-template-columns: 1fr 1fr;
  }

  .expert-card:nth-child(2n) {
    border-right: none;
  }

  .expert-card:nth-child(3n) {
    border-right: 1px solid #d4e6dd;
  }

  .expert-card:nth-child(4) {
    border-bottom: 1px solid #d4e6dd;
  }

  .expert-card.wide {
    grid-column: 1 / 3;
    border-right: none;
    border-bottom: none;
  }

  .expert-card h3 {
    font-size: 28px;
  }

  .doctor-grid {
    flex-direction: column;
    gap: 40px;
    align-items: center;
  }

  .doctor-image {
    width: 100%;
    max-width: 480px;
  }

  .doctor-img-placeholder {
    width: 100%;
    height: 380px;
  }

  .doctor-info h2 {
    font-size: 36px;
  }

  .ba-card {
    height: 220px;
  }

  .advanced-grid {
    flex-direction: column;
    gap: 40px;
  }

  .advanced-text {
    flex: none;
    width: 100%;
  }

  .advanced-text h2 {
    font-size: 36px;
  }

  .advanced-img-placeholder {
    height: 360px;
  }


  .guide-form-wrapper {
    flex-direction: column;
  }

  .guide-divider {
    width: 100%;
    height: 1px;
  }

  .guide-info {
    flex: none;
    width: 100%;
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
  }

  .guide-img-placeholder {
    width: 200px;
    flex-shrink: 0;
  }

  .reviews-grid {
    grid-template-columns: 1fr 1fr;
  }

  .review-prev {
    left: -40px;
  }

  .review-next {
    right: -40px;
  }

  .footer-columns {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .section-header h2,
  .about-us h2,
  .before-after h2,
  .delighted-patients h2,
  .patient-reviews h2,
  .cta-section h2,
  .meet-doctor h2,
  .implant-guide .section-header h2 {
    font-size: 38px;
  }
}

/* ===== MOBILE (768px) ===== */
@media (max-width: 768px) {

  .dental-solutions,
  .about-us,
  .smile-experts,
  .meet-doctor,
  .before-after,
  .advanced-dentistry,
  .delighted-patients,
  .implant-guide,
  .patient-reviews {
    padding: 50px 0;
  }

  .cta-section {
    padding: 50px 0 30px;
  }

  /* Nav — tighter on mobile */
  .navbar {
    padding: 0 12px;
    top: 12px;
  }

  .nav-container {
    padding: 8px 16px;
    gap: 8px;
    border-radius: 10px;
  }



  /* Hero */
  .hero-section {
    height: auto;
    min-height: 580px;
  }

  .hero-bg {
    height: 100%;
    object-fit: cover;
  }

  .hero-content {
    padding-top: 130px;
    padding-bottom: 40px;
    gap: 28px;
  }

  .hero-text {
    gap: 18px;
  }

  .hero-text h1 {
    font-size: 28px;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-badge {
    font-size: 13px;
    padding: 6px 16px;
  }

  .btn-white {
    font-size: 15px;
    padding: 12px 22px;
  }

  /* Hero stats — 3 equal columns */
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 16px;
    width: 100%;
  }

  .stat-divider {
    display: none;
  }

  .stat {
    align-items: flex-start;
    text-align: left;
  }

  .stat-number {
    font-size: 18px;
    white-space: normal;
  }

  .stat-text {
    font-size: 13px;
    max-width: none;
  }

  /* Section headings */
  .section-header h2,
  .about-us h2,
  .before-after h2,
  .delighted-patients h2,
  .patient-reviews h2,
  .cta-section h2,
  .meet-doctor h2,
  .advanced-text h2,
  .implant-guide .section-header h2 {
    font-size: 28px;
    margin-bottom: 16px;
  }

  .section-header p {
    font-size: 16px;
  }

  .section-subtitle-small {
    font-size: 18px;
    margin-top: 12px;
  }

  /* Dental Solutions */
  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .solution-card {
    padding: 20px;
  }

  .solution-info h3 {
    font-size: 22px;
  }

  .solution-info p {
    font-size: 16px;
  }

  .solution-image {
    height: 220px;
  }

  .solutions-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
  }

  .solutions-cta .btn-primary,
  .solutions-cta .btn-outline {
    width: 100%;
    justify-content: center;
  }

  /* About / Marquee */
  .about-us {
    padding: 50px 0 0;
  }

  .about-video-placeholder {
    height: 220px;
  }

  .services-marquee {
    margin-top: -60px;
  }

  .marquee-track span {
    font-size: 15px;
  }

  /* Smile Experts */
  .experts-grid {
    grid-template-columns: 1fr;
  }

  .expert-card.wide {
    grid-column: 1;
    border-bottom: none;
  }

  .expert-card {
    padding: 28px 20px 100px;
    border-right: none !important;
    border-bottom: 1px solid #d4e6dd;
  }

  .expert-card:last-child {
    border-bottom: none;
  }

  .expert-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .expert-card p {
    font-size: 16px;
  }

  /* Meet Doctor */
  .doctor-grid {
    flex-direction: column;
    gap: 28px;
    align-items: center;
  }

  .doctor-image {
    width: 100%;
    max-width: 100%;
  }

  .doctor-img-placeholder {
    width: 100%;
    height: 280px;
  }

  .doctor-info h2 {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .doctor-bio p {
    font-size: 16px;
  }

  /* Before & After */
  .before-after h2 {
    margin-bottom: 40px;
  }

  .ba-card {
    height: 200px;
  }

  /* Advanced Dentistry */
  .advanced-grid {
    flex-direction: column;
    gap: 28px;
  }

  .advanced-text {
    flex: none;
    width: 100%;
    gap: 14px;
  }

  .advanced-img-placeholder {
    height: 260px;
  }

  .feature-item span {
    font-size: 16px;
  }

  /* Delighted Patients */
  .delighted-patients h2,
  .implant-guide h2 {
    margin-bottom: 40px;
  }

  .video-placeholder {
    height: 200px;
  }

  /* Implant Guide */
  .guide-content {
    padding: 28px 20px;
  }

  .guide-form-wrapper {
    flex-direction: column;
    gap: 28px;
  }

  .guide-divider {
    width: 100%;
    height: 1px;
  }

  .guide-info {
    flex: none;
    width: 100%;
    flex-direction: column;
  }

  .guide-img-placeholder {
    width: 100%;
    height: auto;
    aspect-ratio: 3/2;
  }

  .guide-details h3 {
    font-size: 18px;
  }

  .guide-details li {
    font-size: 16px;
  }

  /* Reviews */
  .patient-reviews h2 {
    margin-bottom: 32px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .review-prev,
  .review-next {
    display: none;
  }

  .review-card {
    padding: 20px;
  }

  /* CTA */
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
  }

  .cta-buttons .btn-primary,
  .cta-buttons .btn-outline {
    width: 100%;
    justify-content: center;
  }

  /* Footer */
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .footer-logo img {
    height: 56px;
  }

  .footer-top {
    margin-bottom: 32px;
  }
}

/* ===== SLIDER RESPONSIVE ===== */
@media (max-width: 768px) {
  .section-slider-inner {
    gap: 10px;
  }

  .slider-arrow {
    width: 36px;
    height: 36px;
  }

  .slider-arrow svg {
    width: 16px;
    height: 16px;
  }

  .slider-dots {
    margin-top: 20px;
  }
}

/* ===== SMALL MOBILE (480px) ===== */
@media (max-width: 480px) {
  .hero-section {
    min-height: 520px;
  }

  .hero-text h1 {
    font-size: 24px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .hero-badge {
    font-size: 12px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 10px;
  }

  .stat-number {
    font-size: 15px;
  }

  .stat-text {
    font-size: 12px;
  }

  .section-header h2,
  .about-us h2,
  .before-after h2,
  .delighted-patients h2,
  .patient-reviews h2,
  .cta-section h2,
  .meet-doctor h2,
  .advanced-text h2,
  .implant-guide .section-header h2 {
    font-size: 24px;
  }

  .expert-card h3 {
    font-size: 22px;
  }

  .doctor-info h2 {
    font-size: 24px;
  }

  .top-banner p {
    font-size: 13px;
  }

  .btn-primary,
  .btn-outline,
  .btn-white {
    font-size: 15px;
    padding: 12px 20px;
  }

  .solution-image {
    height: 180px;
  }

  .ba-card {
    height: 160px;
  }

  .advanced-img-placeholder {
    height: 210px;
  }

  .video-placeholder {
    height: 180px;
  }

  .about-video-placeholder {
    height: 180px;
  }
}

/* ===== EXTRA SMALL (360px) ===== */
@media (max-width: 360px) {
  .hero-text h1 {
    font-size: 22px;
  }

  .section-header h2,
  .about-us h2,
  .before-after h2,
  .delighted-patients h2,
  .patient-reviews h2,
  .cta-section h2,
  .meet-doctor h2,
  .advanced-text h2,
  .implant-guide .section-header h2 {
    font-size: 22px;
  }

  .nav-container {
    padding: 10px 16px;
  }



  .expert-card {
    padding: 20px 16px 90px;
  }
}

.slider-dots {
  display: none;
}

.inside_footer {
  background-color: #F2F7F5;
  padding: 48px 42px;
  border: 1px solid #f2f7f5;
  border-radius: 20px;
}