/* =========================================================
   Dr.Xhema Dental Clinic — Design Tokens & Base Styles
   Palette: white + soft blue, premium/clinical elegance
   Display face: Fraunces (restrained serif for headlines)
   Body face: Inter (clean, highly legible UI face)
   Signature: the "smile-arc" — a thin curved rule that
   recurs under headings and as a hero underlay, echoing
   the shape of a smile without being literal/cheesy.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Color tokens */
  --color-bg: #ffffff;
  --color-bg-soft: #f2f8fc;
  --color-bg-soft-2: #e8f2fa;
  --color-primary: #12578f;
  --color-primary-dark: #0a3856;
  --color-accent: #4fb6e8;
  --color-text: #16232f;
  --color-text-muted: #56697a;
  --color-border: #dbe9f2;
  --color-success: #2f8f6f;
  --color-danger: #c14444;
  --color-white: #ffffff;

  --color-accent-light: #bfe4f7;
  --color-ink: #0a3856;

  /* Type scale */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;

  --shadow-soft: 0 8px 30px rgba(18, 87, 143, 0.08);
  --shadow-medium: 0 16px 48px rgba(10, 56, 86, 0.14);

  --container-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-primary-dark);
  margin: 0 0 0.5em;
  line-height: 1.15;
  font-weight: 600;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.35rem; }

p { color: var(--color-text-muted); }

a {
  color: var(--color-primary);
  text-decoration: none;
}

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

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

/* ---------- Signature element: smile-arc divider ---------- */
.smile-arc {
  width: 84px;
  height: 20px;
  margin: 14px auto 0;
  display: block;
}
.smile-arc.left { margin: 14px 0 0; }
.smile-arc path {
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 3;
  stroke-linecap: round;
}

.section-heading {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}
.section-heading.left { text-align: left; margin: 0 0 40px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-accent);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  text-align: center;
}
.btn:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}
.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { background: var(--color-primary-dark); transform: translateY(-2px); }

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

.btn-outline-dark {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn-outline-dark:hover { background: var(--color-bg-soft); }

.btn-block { width: 100%; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
}
.topbar-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar-info {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.topbar-info span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.topbar a {
  color: rgba(255, 255, 255, 0.88);
}
.topbar a:hover { color: var(--color-white); }
.topbar-book {
  font-weight: 600;
  color: var(--color-accent-light) !important;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--container-width);
  margin: 0 auto;
}
.brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-bg-soft-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.96rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.18s ease, color 0.18s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-accent);
}
.nav-cta { display: flex; align-items: center; gap: 14px; }
.lang-switch {
  display: flex;
  gap: 4px;
  background: var(--color-bg-soft);
  border-radius: var(--radius-sm);
  padding: 4px;
}
.lang-switch button {
  border: none;
  background: transparent;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.lang-switch button.active {
  background: var(--color-primary);
  color: var(--color-white);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--color-primary-dark);
  cursor: pointer;
}

/* ---------- Hero ---------- */
/* No photograph is embedded here by design (see frontend/assets/README.md for
   why, and how to swap one in later). The hero background is fully generated
   from CSS gradients + an inline SVG composition (gradient mesh, soft blurred
   accent blobs, a fine dot-grid suggesting clinical precision, and an
   oversized version of the site's smile-arc signature as a watermark) -
   nothing here is a raster photo, so it never depends on an external asset. */
.hero {
  position: relative;
  min-height: 74vh;
  display: flex;
  align-items: center;
  color: var(--color-white);
  background: linear-gradient(150deg, var(--color-primary-dark) 0%, var(--color-primary) 62%, #145a8f 100%);
  overflow: hidden;
  padding: 64px 0 140px;
}
.hero-generated-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 0 24px;
  margin: 0 auto;
  text-align: center;
}
.hero h1 { color: var(--color-white); }
.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 18px 0 32px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero .smile-arc path { stroke: rgba(255, 255, 255, 0.85); }

/* Floating info-card cluster, pulled up over the hero's bottom edge */
.hero-info-cards {
  position: relative;
  z-index: 3;
  max-width: 980px;
  margin: -84px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.hero-info-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 22px 22px;
  box-shadow: var(--shadow-medium);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  text-align: left;
}
.hero-info-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-bg-soft-2);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-info-card strong {
  display: block;
  color: var(--color-primary-dark);
  font-size: 0.94rem;
  margin-bottom: 3px;
}
.hero-info-card span, .hero-info-card a {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}
.hero-info-card a { color: var(--color-primary); font-weight: 600; }
.hero-info-card a:hover { color: var(--color-primary-dark); }

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--color-bg-soft);
  border-bottom: 1px solid var(--color-border);
  padding: 130px 0 44px;
  margin-top: -86px;
}
.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.trust-item .icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(18, 87, 143, 0.12);
}
.trust-item span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary-dark);
}

/* ---------- About / team section ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-visual {
  position: relative;
}
.about-visual svg { width: 100%; height: auto; display: block; }
.about-content .eyebrow { display: block; margin-bottom: 10px; }
.about-content p { margin: 18px 0 26px; font-size: 1.02rem; }
.about-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Intro ---------- */
.intro {
  padding: 96px 0;
  text-align: center;
}
.intro-text {
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.08rem;
}

/* ---------- Featured services / cards ---------- */
.section {
  padding: 88px 0;
}
.section-alt {
  background: var(--color-bg-soft);
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-bg-soft-2);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; font-size: 0.96rem; }

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.badge {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 20px;
}
.badge-bookable { background: #e4f6ee; color: var(--color-success); }
.badge-contact { background: #fdeeee; color: var(--color-danger); }
.service-card-actions { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.service-card-actions .btn { padding: 10px 18px; font-size: 0.88rem; }

/* Infinite services slider */

/* ==========================================
   DR.XHEMA SERVICES SLIDER
   Auto desktop + swipe mobile
========================================== */


/* ==========================================
   DR.XHEMA SERVICES SLIDER
========================================== */

.idx-marquee-container {
  overflow: hidden;
  width: 100%;
}


.idx-marquee-track {
  display: flex;
  width: max-content;

  animation: services-scroll 45s linear infinite;
}


/* Cards */

.idx-service-card {

  width:240px;
  min-width:240px;

  margin-right:28px;

  background:var(--color-white);

  border:1px solid var(--color-border);

  border-radius:var(--radius-md);

  padding:28px 20px;

  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;

  text-align:center;

  transition:.3s ease;

}


.idx-service-card:hover {

  transform:translateY(-6px);

  box-shadow:var(--shadow-medium);

}


/* Logos */

.idx-card-icon {

  width:110px;
  height:110px;

  display:flex;
  align-items:center;
  justify-content:center;

  margin-bottom:20px;

  overflow:hidden;

}


.idx-card-icon img {

  width:100%;
  height:100%;

  object-fit:contain;

  transform:scale(2.6);

}


.idx-service-card h3 {

  margin:0;

  font-size:1rem;

  line-height:1.35;

}


/* Infinite movement */

@keyframes services-scroll {

  from {
    transform:translateX(0);
  }

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

}


/* Mobile fixes */

@media(max-width:768px){

  .idx-marquee-container,
  .idx-marquee-track,
  .idx-service-card,
  .idx-card-icon,
  .idx-card-icon img {

    -webkit-user-select:none;
    user-select:none;
    -webkit-touch-callout:none;

  }


  .idx-marquee-track {

    animation:services-scroll 45s linear infinite !important;

    animation-play-state:running !important;

  }


  .idx-service-card:hover {

    transform:none;

    box-shadow:none;

  }


  .idx-card-icon img {

    pointer-events:none;

  }

}







/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.testimonial {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 30px;
  border: 1px solid var(--color-border);
}
.testimonial-quote {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--color-text);
  margin-bottom: 18px;
}
.testimonial-author {
  font-weight: 600;
  color: var(--color-primary-dark);
  font-size: 0.92rem;
}
.stars { color: #f0b429; margin-bottom: 10px; letter-spacing: 2px; }




/* ---------- Contact section / page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-info-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px;
}
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
}
.contact-row:last-child { border-bottom: none; }
.contact-row .icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-bg-soft-2);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-row strong { display: block; color: var(--color-primary-dark); font-size: 0.9rem; }
.map-embed {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  min-height: 340px;
}
.map-embed iframe { width: 100%; height: 100%; min-height: 340px; border: 0; }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 20px; text-align: left; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--color-primary-dark);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(79, 182, 232, 0.18);
}
.form-error {
  color: var(--color-danger);
  font-size: 0.85rem;
  margin-top: 6px;
  display: none;
}
.form-error.visible { display: block; }

/* ---------- Booking page ---------- */
.booking-shell {
  max-width: 760px;
  margin: 0 auto;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-soft);
}
.step-label {
  font-weight: 600;
  color: var(--color-primary-dark);
  font-size: 1rem;
  margin-bottom: 14px;
}
.service-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 36px;
}
.service-option {
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
  text-align: center;
  font-weight: 600;
  color: var(--color-text);
}
.service-option:hover { border-color: var(--color-accent); }
.service-option.selected {
  border-color: var(--color-primary);
  background: var(--color-bg-soft);
  color: var(--color-primary-dark);
}
.date-input-row { margin-bottom: 36px; }
.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 10px;
  margin-bottom: 36px;
  min-height: 48px;
}
.slot-btn {
  border: 1.5px solid var(--color-border);
  background: var(--color-white);
  border-radius: var(--radius-sm);
  padding: 12px 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text);
  cursor: pointer;
  transition: all 0.15s ease;
}
.slot-btn:hover { border-color: var(--color-accent); }
.slot-btn.selected { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.slot-btn:disabled { opacity: 0.35; cursor: not-allowed; text-decoration: line-through; }
.slots-empty, .slots-loading {
  grid-column: 1 / -1;
  color: var(--color-text-muted);
  text-align: center;
  padding: 20px 0;
}


.slot-btn.reserved {
  opacity: 0.5;
  cursor: not-allowed;
  background: #e5e7eb;
  color: #6b7280;
  border-color: #d1d5db;
}

.slot-btn.reserved:hover {
  transform: none;
}





.booking-feedback {
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  display: none;
}
.booking-feedback.visible { display: block; }
.booking-feedback.success { background: #e4f6ee; color: var(--color-success); }
.booking-feedback.error { background: #fdeeee; color: var(--color-danger); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.footer-grid h4 { color: var(--color-white); font-size: 1rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid a { color: rgba(255, 255, 255, 0.75); }
.footer-grid a:hover { color: var(--color-white); }
.footer-brand { font-family: var(--font-display); font-size: 1.4rem; color: var(--color-white); margin-bottom: 10px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 24px;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-info-cards { grid-template-columns: 1fr; margin-top: -60px; }
  .trust-strip { padding-top: 110px; }
  .trust-strip-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-visual { max-width: 420px; margin: 0 auto; }
}

@media (max-width: 720px) {
  .topbar-info span:nth-child(3) { display: none; }
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: 20px 24px;
    border-bottom: 1px solid var(--color-border);
    gap: 18px;
  }
  .nav.open .nav-cta { display: flex; margin-top: 4px; }
  .service-options { grid-template-columns: 1fr; }
  .booking-shell { padding: 28px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .trust-strip-grid { grid-template-columns: 1fr; }
}








/* =========================================================
   HOMEPAGE EXCLUSIVE HERO WRAPPER STYLES
   ========================================================= */

/* 1. Apply the background image only to the homepage wrapper */
.index-hero-wrapper {
  position: relative !important;
  overflow: visible !important;
  background: linear-gradient(rgba(10, 56, 86, 0.5), rgba(10, 56, 86, 0.3)), 
              url('../assets/background.png') no-repeat center center !important;
  background-size: cover !important;
}

/* 2. Style the headers only when they live inside the homepage wrapper */
.index-hero-wrapper .topbar {
  background: rgba(10, 56, 86, 0.4) !important; 
  color: rgba(255, 255, 255, 0.88) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.index-hero-wrapper .site-header {
  background: rgba(255, 255, 255, 0.08) !important; 
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.index-hero-wrapper .brand, 
.index-hero-wrapper .nav-toggle {
  color: var(--color-white) !important;
}

.index-hero-wrapper .brand-mark {
  background: rgba(255, 255, 255, 0.2) !important;
  color: var(--color-white) !important;
}

.index-hero-wrapper .nav-links a {
  color: rgba(255, 255, 255, 0.9) !important;
}

.index-hero-wrapper .nav-links a:hover,
.index-hero-wrapper .nav-links a.active {
  color: var(--color-white) !important;
  border-bottom-color: var(--color-white) !important;
}

.index-hero-wrapper .lang-switch {
  background: rgba(255, 255, 255, 0.15) !important;
}

.index-hero-wrapper .lang-switch button {
  color: rgba(255, 255, 255, 0.8) !important;
}

.index-hero-wrapper .lang-switch button.active {
  background: var(--color-white) !important;
  color: var(--color-primary-dark) !important;
}

/* 3. Hero inner section configuration */
.index-hero-wrapper .hero {
  background: transparent !important; 
  overflow: visible !important;
  padding-bottom: 120px !important;
}

/* 4. Center the 3 white boxes directly on the bottom line */
.index-hero-wrapper .hero-info-cards {
  position: relative !important;
  z-index: 99 !important;
  max-width: 980px !important;
  padding: 0 24px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  transform: translateY(-50%) !important; 
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 18px !important;
}

/* 5. Mobile responsive alignment adjustments */
@media (max-width: 860px) {
  .index-hero-wrapper .hero-info-cards {
    grid-template-columns: 1fr !important;
    transform: translateY(-20%) !important; 
  }
}


/* =========================================================
   MOBILE RESPONSIVE FIXES FOR THE HOMEPAGE
   ========================================================= */

@media (max-width: 860px) {
  /* 1. Stop centering via translate so it doesn't break layout flow on mobile */
  .index-hero-wrapper .hero-info-cards {
    grid-template-columns: 1fr !important; /* Stack the 3 boxes vertically */
    transform: none !important; 
    margin-top: -50px !important; /* Pull just the top box up over the line slightly */
    margin-bottom: 30px !important; /* Create a healthy gap below the stacked boxes */
  }

  /* 2. Give the hero section a bit more room at the bottom */
  .index-hero-wrapper .hero {
    padding-bottom: 80px !important;
  }

  /* 3. Give the trust strip plenty of space to clear the stacked boxes */
  .home-trust-strip {
    padding-top: 40px !important;   
    padding-bottom: 40px !important; 
  }

  /* 4. Split the 4 checkmark items into a clean 2x2 grid instead of crushing them */
  .home-trust-strip .trust-strip-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
}

/* 5. Extreme small screens (small phones) */
@media (max-width: 480px) {
  .home-trust-strip .trust-strip-grid {
    grid-template-columns: 1fr !important; /* Stack checkmarks 1-by-1 on tiny screens */
    gap: 15px !important;
    text-align: center !important;
  }
}

/* =========================================================
   MOBILE MENU DROPDOWN FIX
   ========================================================= */

@media (max-width: 860px) {
  /* Forces the links inside the open mobile menu to be dark gray/blue */
  .index-hero-wrapper .nav-links {
    background-color: var(--color-white) !important; /* Keeps the dropdown drawer background white */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  }

  .index-hero-wrapper .nav-links a {
    color: var(--color-primary-dark, #0a3856) !important; /* Changes text color back to dark so you can see it */
    padding: 12px 24px !important;
    display: block !important;
    border-bottom: none !important;
  }

  .index-hero-wrapper .nav-links a:hover,
  .index-hero-wrapper .nav-links a.active {
    color: var(--color-primary, #1e70a6) !important; /* Accent color when active/tapped */
    background-color: var(--color-bg-soft, #f4f9fc) !important;
  }
}







/* =========================================================
   STRICT MOBILE-ONLY RESPONSIVE RULES 
   (Will completely ignore laptops/desktops)
   ========================================================= */

@media (max-width: 860px) {
  /* Only stack and slightly shift the cards when viewed on mobile screens */
  .index-hero-wrapper .hero-info-cards {
    grid-template-columns: 1fr !important; 
    display: grid !important;
    margin-top: 0 !important;
    
    /* Perfect slightly-lower sweet spot for mobile stacking */
    transform: translateY(-50px) !important; 
    margin-bottom: -20px !important; 
  }

  /* Give the hero container responsive breathing space */
  .index-hero-wrapper .hero {
    padding-bottom: 60px !important;
  }

  /* Keep the light-blue strip clean under the mobile cards */
  .home-trust-strip {
    padding-top: 20px !important;   
    padding-bottom: 40px !important; 
  }

  /* Split the 4 trust checkmarks into a clean 2x2 grid on phone displays */
  .home-trust-strip .trust-strip-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }

  /* Mobile Dropdown Menu Text Visibility Fix */
  .index-hero-wrapper .nav-links {
    background-color: var(--color-white) !important; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  }
  .index-hero-wrapper .nav-links a {
    color: var(--color-primary-dark, #0a3856) !important; 
    padding: 12px 24px !important;
    display: block !important;
  }
}




















/* ---------- Premium Card Enhancements ---------- */
.card {
  background: var(--color-white);
  /* Thin, soft border using a high-fidelity slate tint */
  border: 1px solid rgba(191, 228, 247, 0.4); 
  border-radius: var(--radius-md);
  padding: 36px 32px; /* Increased padding for internal breathing room */
  
  /* Dual-layered high-end shadow: 
     1. An ultra-faint wide ambient glow 
     2. A slightly tighter, structural definition shadow */
  box-shadow: 
    0 4px 20px rgba(10, 56, 86, 0.02),
    0 12px 34px rgba(18, 87, 143, 0.05);
    
  transition: 
    transform 0.3s cubic-bezier(0.215, 0.610, 0.355, 1), 
    box-shadow 0.3s cubic-bezier(0.215, 0.610, 0.355, 1),
    border-color 0.3s ease;
  
  position: relative;
  overflow: hidden;
}

/* Elegant pseudo-element top border flare on hover */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-primary));
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Smooth Premium Hover State */
.card:hover {
  transform: translateY(-6px); /* Slightly deeper lifting motion */
  border-color: rgba(79, 182, 232, 0.4);
  
  /* Rich, deep luxurious shadow on interaction */
  box-shadow: 
    0 10px 30px rgba(10, 56, 86, 0.04),
    0 24px 54px rgba(18, 87, 143, 0.12);
}

.card:hover::before {
  opacity: 1;
}

/* ---------- Typography & Component Retouching ---------- */
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem; /* Marginally scaled up for display elegance */
  font-weight: 500;
  color: var(--color-primary-dark);
  letter-spacing: -0.01em;
  margin-top: 8px;
  margin-bottom: 16px;
  line-height: 1.25;
}

/* Badges refined to look like sleek clinical labels */
.badge {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
}

.badge-bookable { 
  background: #e6f7f0; 
  color: #1e6b50; 
  border: 1px solid rgba(47, 143, 111, 0.15);
}

.badge-contact { 
  background: #fff3f3; 
  color: #a83232;
  border: 1px solid rgba(193, 68, 68, 0.12);
}

/* Premium Action Buttons inside Cards */
.service-card-actions {
  margin-top: auto;
  padding-top: 12px;
}

.service-card-actions .btn {
  width: 100%; /* Uniform grid buttons look significantly cleaner */
  padding: 12px 20px;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.service-card-actions .btn-primary {
  background: var(--color-primary);
  box-shadow: 0 4px 14px rgba(18, 87, 143, 0.15);
}

.service-card-actions .btn-primary:hover {
  background: var(--color-primary-dark);
  box-shadow: 0 6px 20px rgba(10, 56, 86, 0.25);
  transform: translateY(-1px);
}

.service-card-actions .btn-outline-dark {
  border: 1.5px solid var(--color-border);
  color: var(--color-text-muted);
}

.service-card-actions .btn-outline-dark:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-bg-soft);
  transform: translateY(-1px);
}







/* ==========================================================================
   HOMEPAGE PREMIUM SLIDESHOW SCROLLER (Right to Left)
   ========================================================================== */

/* 1. Sets hidden boundaries and premium transparent fade transitions on screen borders */
.idx-marquee-container {
  overflow: hidden;
  width: 100%;
  display: flex;
  padding: 2rem 0;
  position: relative;
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

/* 2. Seamless continuous track running from right to left */
.idx-marquee-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  /* 48 seconds is a smooth, readable premium pace for 13 dental items */
  animation: slideServicesLeft 48s linear infinite;
}

/* 3. Pauses sliding mechanics instantly when user hovers */
.idx-marquee-track:hover {
  animation-play-state: paused;
}

/* 4. Matches card design patterns seamlessly from your UI screenshots */
.idx-service-card {
  flex-shrink: 0;
  width: 290px;
  min-height: 160px;
  background: #ffffff;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid #f0f4f8;
  transition: transform 0.2s ease;
}

.idx-service-card h3 {
  color: #032b53; /* Elegant deep blue from clinical theme */
  font-size: 1.25rem;
  line-height: 1.4;
  margin: 0;
  font-weight: 600;
}

/* 5. Fluid structural animation loop */
@keyframes slideServicesLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* Restarts seamlessly halfway through the twin copies */
  }
}





/* ---------- Futuristic animated tooth (about section) ---------- */
.tooth-float {
  animation: toothFloat 4.5s ease-in-out infinite;
  transform-origin: 240px 210px;
  filter: drop-shadow(0 10px 26px rgba(10, 56, 86, 0.35));
}
@keyframes toothFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.tooth-glow-pulse {
  animation: glowPulse 3.2s ease-in-out infinite;
  transform-origin: 240px 210px;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.12); }
}

.orbit-ring-outer {
  transform-origin: 240px 210px;
  animation: orbitSpin 22s linear infinite;
}
.orbit-ring-inner {
  transform-origin: 240px 210px;
  animation: orbitSpin 16s linear infinite reverse;
}
@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.orbit-particles {
  transform-origin: 240px 210px;
  animation: orbitSpin 13s linear infinite;
}

.tooth-scan-line {
  animation: scanSweep 3.4s ease-in-out infinite;
}
@keyframes scanSweep {
  0%   { transform: translateY(-40px); opacity: 0; }
  12%  { opacity: 0.9; }
  85%  { opacity: 0.9; }
  100% { transform: translateY(340px); opacity: 0; }
}

.circuit-node {
  animation: nodePulse 2.2s ease-in-out infinite;
  transform-origin: center;
}
.circuit-node.node-2 { animation-delay: 0.55s; }
.circuit-node.node-3 { animation-delay: 1.1s; }
@keyframes nodePulse {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.35); }
}

@media (prefers-reduced-motion: reduce) {
  .tooth-float, .tooth-glow-pulse, .orbit-ring-outer, .orbit-ring-inner,
  .orbit-particles, .tooth-scan-line, .circuit-node {
    animation: none !important;
  }
}


















/* =========================================================
   CINEMATIC ABOUT SECTION
========================================================= */

/* =========================================================
DR.XHEMA — FUTURISTIC PREMIUM ABOUT SECTION
Paste into: frontend/css/style.css
========================================================= */

/* =========================================================
DR.XHEMA — FUTURISTIC PREMIUM ABOUT SECTION (COMPACT STYLE)
Paste into: frontend/css/style.css
========================================================= */
/* =========================================================
DR.XHEMA — SUPER COMPACT & CENTERING FIXED
Paste into: frontend/css/style.css
========================================================= */
/* =========================================================
DR.XHEMA — 50% HEIGHT & STRICT CENTERING FIX
Paste into: frontend/css/style.css
========================================================= */
/* =========================================================
   DR.XHEMA — FUTURISTIC PREMIUM ABOUT SECTION
   COMPACT CINEMATIC VERSION
========================================================= */

/* =========================================================
   DR.XHEMA PREMIUM ABOUT SECTION
========================================================= */

/* =========================================================
   DR.XHEMA PREMIUM ABOUT SECTION
========================================================= */

/* =========================================================
   DR.XHEMA PREMIUM ABOUT SECTION
========================================================= */

/* ---------- Dark futuristic about section ---------- */
.about-dark {
  background: radial-gradient(ellipse at 75% 30%, #0f4a76 0%, #0a3856 45%, #061f33 100%);
  padding: 110px 0;
  overflow: hidden;
  position: relative;
}
.about-dark .about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-dark .eyebrow { color: var(--color-accent-light); }
.about-dark h2 { color: #ffffff; }
.about-dark p { color: rgba(255,255,255,0.72); max-width: 480px; }
.about-dark .smile-arc path { stroke: var(--color-accent); }
.about-dark .btn-outline-light {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.35);
  color: #fff;
}

/* ---------- Reveal-on-scroll: text ---------- */
.reveal-text {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.about-dark.is-visible .reveal-text { opacity: 1; transform: translateY(0); }
.about-dark.is-visible .reveal-1 { transition-delay: 0.05s; }
.about-dark.is-visible .reveal-2 { transition-delay: 0.18s; }
.about-dark.is-visible .reveal-3 { transition-delay: 0.30s; }
.about-dark.is-visible .reveal-4 { transition-delay: 0.42s; }
.about-dark.is-visible .reveal-5 { transition-delay: 0.54s; }

/* ---------- Tooth entrance: one-shot spin+scale+fade, plays ONCE ---------- */
.tooth-entrance {
  opacity: 0;
  transform: rotate(-220deg) scale(0.35);
  transform-origin: 240px 210px;
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.3s cubic-bezier(0.34, 1.56, 0.64, 1); /* overshoot "settle" */
}
.about-dark.is-visible .tooth-entrance { opacity: 1; transform: rotate(0deg) scale(1); }

/* Ambient float lives on a NESTED group so it composes with the entrance
   transform instead of fighting it for control of the same property.
   Paused until revealed, then loops forever. */
.tooth-float {
  animation: toothFloat 4.5s ease-in-out infinite;
  animation-play-state: paused;
  transform-origin: 240px 210px;
  filter: drop-shadow(0 10px 26px rgba(0, 0, 0, 0.45));
}
.about-dark.is-visible .tooth-float { animation-play-state: running; }
@keyframes toothFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.tooth-glow-pulse {
  animation: glowPulse 3.2s ease-in-out infinite;
  animation-play-state: paused;
  transform-origin: 240px 210px;
  opacity: 0;
  transition: opacity 0.9s ease 0.15s;
}
.about-dark.is-visible .tooth-glow-pulse { animation-play-state: running; opacity: 1; }
@keyframes glowPulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.12); }
}

.orbit-ring-outer, .orbit-ring-inner, .orbit-particles {
  opacity: 0;
  transition: opacity 0.9s ease 0.25s;
  transform-origin: 240px 210px;
}
.about-dark.is-visible .orbit-ring-outer,
.about-dark.is-visible .orbit-ring-inner,
.about-dark.is-visible .orbit-particles { opacity: 1; }
.orbit-ring-outer { animation: orbitSpin 22s linear infinite; animation-play-state: paused; }
.orbit-ring-inner { animation: orbitSpin 16s linear infinite reverse; animation-play-state: paused; }
.orbit-particles { animation: orbitSpin 13s linear infinite; animation-play-state: paused; }
.about-dark.is-visible .orbit-ring-outer,
.about-dark.is-visible .orbit-ring-inner,
.about-dark.is-visible .orbit-particles { animation-play-state: running; }
@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.tooth-scan-line {
  animation: scanSweep 3.4s ease-in-out infinite;
  animation-play-state: paused;
  opacity: 0;
}
.about-dark.is-visible .tooth-scan-line { animation-play-state: running; }
@keyframes scanSweep {
  0%   { transform: translateY(-40px); opacity: 0; }
  12%  { opacity: 0.9; }
  85%  { opacity: 0.9; }
  100% { transform: translateY(340px); opacity: 0; }
}

.circuit-node {
  animation: nodePulse 2.2s ease-in-out infinite;
  animation-play-state: paused;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.about-dark.is-visible .circuit-node { animation-play-state: running; opacity: 1; }
.circuit-node.node-2 { animation-delay: 0.55s; }
.circuit-node.node-3 { animation-delay: 1.1s; }
@keyframes nodePulse {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.35); }
}
.circuit-line { opacity: 0; transition: opacity 0.8s ease 0.3s; }
.about-dark.is-visible .circuit-line { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .reveal-text, .tooth-entrance { transition: none !important; opacity: 1 !important; transform: none !important; }
  .tooth-float, .tooth-glow-pulse, .orbit-ring-outer, .orbit-ring-inner,
  .orbit-particles, .tooth-scan-line, .circuit-node, .circuit-line {
    animation: none !important; opacity: 1 !important; transition: none !important;
  }
}

@media (max-width: 860px) {
  .about-dark .about-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- Dark futuristic about section (lightened) ---------- */
.about-dark {
  background: radial-gradient(ellipse at 75% 30%, #1c72ad 0%, #155f96 45%, #0f4a76 100%);
  padding: 110px 0;
  overflow: hidden;
  position: relative;
}
.about-dark .about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-dark .eyebrow { color: var(--color-accent-light); }
.about-dark h2 { color: #ffffff; }
.about-dark p { color: rgba(255,255,255,0.78); max-width: 480px; }
.about-dark .smile-arc path { stroke: var(--color-accent-light); }

/* Switched to a white button here specifically - now that the background is
   lighter, the old primary-blue button was too close in tone to sit on top
   of it and lost its "button-ness". White reads as a clean, deliberate CTA
   against this shade of blue. */
.about-dark .btn-primary { background: #ffffff; color: var(--color-primary-dark); }
.about-dark .btn-outline-light { background: transparent; border: 2px solid rgba(255,255,255,0.45); color: #fff; }

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  .about-dark { padding: 64px 0; }
  .about-dark .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .about-dark .about-content p { margin-left: auto; margin-right: auto; }
  .about-dark .smile-arc { margin-left: auto; margin-right: auto; }
  .about-dark .about-actions { justify-content: center; }
  .about-visual { max-width: 300px; margin: 0 auto; }
}

@media (max-width: 420px) {
  .about-dark { padding: 48px 0; }
  .about-visual { max-width: 250px; }
  .about-dark .about-actions { flex-direction: column; align-items: stretch; }
}


/* ============================
   DR.XHEMA TESTIMONIAL SECTION
   Scoped styles only
============================ */

.testimonials-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 15% 20%, rgba(125, 211, 252, 0.22), transparent 35%),
    radial-gradient(circle at 85% 80%, rgba(147, 197, 253, 0.18), transparent 35%),
    linear-gradient(135deg, #ffffff, #f2f9ff);
}


/* =========================================
   DR.XHEMA PREMIUM TESTIMONIAL SECTION
   Scoped only to testimonials-section
========================================= */

.testimonials-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;

  background-image: url("../assets/premium-background.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;

  padding-top: 100px;
  padding-bottom: 100px;
}


/* Luxury soft overlay for readability */
.testimonials-section::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,0.82),
      rgba(240,248,255,0.65)
    );

  z-index: -1;
}


/* Premium ambient glow effects */
.testimonials-section::after {
  content: "";
  position: absolute;

  width: 420px;
  height: 420px;

  right: -180px;
  bottom: -180px;

  border-radius: 50%;

  background: rgba(56,189,248,0.18);

  filter: blur(100px);

  z-index: -1;
}


/* Heading stays above background */
.testimonials-section .section-heading {
  position: relative;
  z-index: 2;
}


/* Testimonial grid */
.testimonials-section .testimonial-grid {
  position: relative;
  z-index: 2;
}


/* Premium glass cards */
.testimonials-section .testimonial {

  background: rgba(255,255,255,0.72);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border: 1px solid rgba(255,255,255,0.85);

  border-radius: 26px;

  padding: 34px;

  box-shadow:
    0 20px 60px rgba(15,76,129,0.12);

  transition:
    transform .35s ease,
    box-shadow .35s ease,
    border-color .35s ease;
}


/* Hover luxury effect */
.testimonials-section .testimonial:hover {

  transform: translateY(-10px);

  border-color: rgba(255,255,255,1);

  box-shadow:
    0 35px 80px rgba(15,76,129,0.18);
}


/* Stars */
.testimonials-section .stars {

  color: #d4a017;

  font-size: 1.15rem;

  letter-spacing: 5px;

  margin-bottom: 18px;
}


/* Quote */
.testimonials-section .testimonial-quote {

  color: #334155;

  font-size: 1.05rem;

  line-height: 1.8;

  font-weight: 400;
}


/* Author */
.testimonials-section .testimonial-author {

  margin-top: 22px;

  color: #0f4c81;

  font-weight: 700;

  letter-spacing: 0.3px;
}


/* Smile arc matches premium branding */
.testimonials-section .smile-arc path {

  stroke: #38bdf8;

}


/* =========================================
   MOBILE OPTIMIZATION
========================================= */

@media (max-width: 768px) {

  .testimonials-section {

    padding-top: 70px;
    padding-bottom: 70px;

    background-size: auto 100%;

    background-position: center center;
  }


  .testimonials-section::before {

    background:
      linear-gradient(
        180deg,
        rgba(255,255,255,0.88),
        rgba(240,248,255,0.78)
      );
  }


  .testimonials-section .testimonial {

    padding: 26px;

    border-radius: 22px;
  }


  .testimonials-section .testimonial-quote {

    font-size: 1rem;

  }


  .testimonials-section .stars {

    font-size: 1rem;

    letter-spacing: 3px;
  }

}












/* =====================================
   DR.XHEMA CONTACT SECTION BACKGROUND
===================================== */

.contact-section {
  background-image: url("../assets/background1.png");
  background-size: 130%;
  background-position: center;
  background-repeat: no-repeat;
}


.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;

  background: rgba(255,255,255,0.18);

  z-index:0;
}


.contact-section .container {
  position:relative;
  z-index:1;
}


/* Mobile version */
@media(max-width:768px){

  .contact-section {

    background-image: url("../assets/contact-premium-phone.png");

    background-size: cover;

    background-position: center center;

  }


  .contact-section::before {

    background: rgba(255,255,255,0.45);

  }

}


.contact-info-card,
.map-embed {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}



.contact-page-section {
  position: relative;
  background-image: url("../assets/background1.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}


/* Mobile background */
@media (max-width: 768px) {
  .contact-page-section {
    background-image: url("../assets/contact-premium-phone.png");
    background-attachment: scroll;
    background-position: center;
  }
}


/* Overlay */
.contact-page-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 30, 0.45);
  z-index: 0;
}


/* Keep content above overlay */
.contact-page-section .container {
  position: relative;
  z-index: 1;
}


/* Glass cards */
.contact-page-section .contact-info-card,
.contact-page-section .map-embed {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  border-radius: 24px;
}











/* =====================================================
   DR. LILO DENTAL EXPERIENCE SECTION
   BLUE MEDICAL PREMIUM STYLE
===================================================== */


.lilo-experience-section {

  position:relative;

  padding:85px 25px;

  background:
  linear-gradient(
    rgba(255,255,255,0.96),
    rgba(239,248,253,0.98)
  ),
  url("../assets/newsection.png");

  background-size:cover;

  background-position:center;

}



.lilo-experience-container {


  max-width:900px;

  margin:auto;


  display:grid;

  grid-template-columns:repeat(2,1fr);


  gap:55px 80px;


}



.lilo-stat-item {

  text-align:center;

}



.lilo-stat-number {


  font-family:
  "Playfair Display",
  Georgia,
  serif;


  font-size:
  clamp(38px,4vw,55px);


  font-weight:400;


  color:#0c2940;


  line-height:1;


  margin-bottom:14px;


}



.lilo-stat-label {


  font-family:
  Inter,
  Arial,
  sans-serif;


  font-size:11px;


  letter-spacing:2.5px;


  color:#587180;


  line-height:1.6;


}



/* subtle blue glow behind stats */

.lilo-stat-item::after {


content:"";


display:block;


width:45px;


height:2px;


background:#4fb6e8;


margin:22px auto 0;


opacity:.6;


}




/* =====================================================
   MARQUEE DIVIDER
===================================================== */


.lilo-marquee-section {


position:relative;


overflow:hidden;


padding:24px 0;


background:#ffffff;


border-top:1px solid #dcecf5;


border-bottom:1px solid #dcecf5;


}



.lilo-marquee-section:before,
.lilo-marquee-section:after {


content:"";


position:absolute;


top:0;


width:100px;


height:100%;


z-index:3;


}



.lilo-marquee-section:before {


left:0;


background:
linear-gradient(
90deg,
#ffffff,
transparent
);


}



.lilo-marquee-section:after {


right:0;


background:
linear-gradient(
270deg,
#ffffff,
transparent
);


}



.lilo-marquee-track {


display:flex;


align-items:center;


gap:28px;


width:max-content;


animation:liloScroll 35s linear infinite;


}



.lilo-marquee-track span {


font-family:
"Playfair Display",
Georgia,
serif;


font-size:22px;


color:#8ba9ba;


white-space:nowrap;


}



.lilo-marquee-track b {


color:#4fb6e8;


font-size:15px;


}





@keyframes liloScroll {


from {

transform:translateX(0);

}


to {

transform:translateX(-50%);

}


}





/* =====================================================
   SPECIALITY SECTION
===================================================== */


.lilo-speciality-section {


padding:95px 25px;


background:
linear-gradient(
180deg,
#f8fcff,
#ffffff
);


}



.lilo-speciality-content {


max-width:850px;


margin:auto;


}




.lilo-speciality-eyebrow {


display:flex;


align-items:center;


gap:15px;


font-family:
Inter,
Arial,
sans-serif;


font-size:11px;


font-weight:600;


letter-spacing:3px;


color:#31546a;


margin-bottom:28px;


}



.lilo-speciality-eyebrow span {


width:28px;


height:2px;


background:#4fb6e8;


}





.lilo-speciality-content h2 {


font-family:
"Playfair Display",
Georgia,
serif;


font-size:
clamp(34px,4vw,58px);


font-weight:400;


line-height:1.15;


color:#09263b;


margin-bottom:28px;


}



.lilo-speciality-content h2 em {


font-style:italic;


color:#164c6b;


}



.lilo-speciality-content p {


max-width:650px;


font-family:
Inter,
Arial,
sans-serif;


font-size:16px;


line-height:1.8;


color:#607785;


}





/* =====================================================
   MOBILE
===================================================== */


@media(max-width:600px){



.lilo-experience-section {


padding:65px 20px;


}



.lilo-experience-container {


grid-template-columns:repeat(2,1fr);

    gap:35px 15px;


}



.lilo-stat-number {


font-size:42px;


}



.lilo-stat-label {


font-size:10px;


letter-spacing:2px;


}



.lilo-marquee-track span {


font-size:18px;


}



.lilo-speciality-section {


padding:65px 20px;


}



.lilo-speciality-content h2 {


font-size:34px;


}


}