/* Splash Screen */
.splash-screen {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafb 100%);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), backdrop-filter 1s ease;
  pointer-events: auto;
  backdrop-filter: blur(0px);
}

.splash-screen.hidden {
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(10px);
}

/* Splash content */
.splash-content {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 60px;
  width: 100%;
  height: 100%;
}

.splash-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  animation: containerSlideIn 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes containerSlideIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Video with floating effect */
.splash-video {
  width: 140px;
  height: 150px;
  object-fit: cover;
  border-radius: 50px;
  background: #ffffff;
  display: block;
  box-shadow: 0 20px 60px rgba(11, 27, 43, 0.1);
  animation: videoFloat 1.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards, float 3s ease-in-out 1.4s infinite;
}

@keyframes videoFloat {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* Splash title with character animation */
.splash-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #0B1B2B;
  text-align: center;
  margin: 0;
  font-family: "Instrument Serif", serif;
  animation: titleSlideIn 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  animation-delay: 0.3s;
  opacity: 0;
  letter-spacing: -0.5px;
}

@keyframes titleSlideIn {
  from {
    opacity: 0;
    transform: translateX(-20px) translateY(10px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateY(0);
    filter: blur(0);
  }
}

/* Splash subtitle with fade and slide */
.splash-subtitle {
  font-size: 1.2rem;
  color: #2a2a2a;
  text-align: center;
  margin: 0;
  font-weight: 400;
  max-width: 280px;
  line-height: 1.1;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  animation: subtitleFadeIn 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  animation-delay: 0.5s;
  opacity: 0;
}

@keyframes subtitleFadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}


/* Ensure body is always visible */
body {
  background: #F5F5F5;
  opacity: 1;
  visibility: visible;
}

/* Prevent flash of unstyled content */
.hero,
.navbar {
  opacity: 1;
  visibility: visible;
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .splash-screen {
    transition: none !important;
  }
  
  .splash-screen.hidden {
    display: none !important;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: #ffffff;
  color: #0B1B2B;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ============================================
   NAVBAR
============================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  border-radius: 50px;
  justify-content: space-between;
  background: transparent;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
  max-width: 1400px;
  margin: auto;
  padding: 0.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: flex-start;
  margin-left: 0;
}

.logo-img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50px;
  display: inline-block;
}

.logo h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0B1B2B;
  font-family: "Instrument Serif", serif;
  margin: 0;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  z-index: 10;
}

.nav-actions {
  position: absolute;
  right: 1rem;
  top: 50%;
  margin-right: -4%;
  transform: translateY(-50%);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  align-items: center;
  z-index: 20;
}

.btn-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  flex-shrink: 0;
}

.btn-contact-nav span,
.btn-contact-hero span {
  display: inline-block;
}

.nav-menu a {
  text-decoration: none;
  color: #0B1B2B;
  font-weight: 700;
  font-family: "Instrument Serif", serif;
  font-size: 1.5rem;
  position: relative;
  transition: color 0.3s ease;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #000;
  transition: 0.3s ease;
}

.nav-menu a:hover {
  color: #000;
}

.nav-menu a:hover::after {
  width: 100%;
}

.btn-appointment-nav {
  background: #1976D2;
  color: white;
  padding: 0.8rem 1.3rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-contact-nav {
  background: linear-gradient(90deg, #3FB5E6 0%, #1976D2 100%);
  color: #ffffff;
  border: none;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 8px 26px rgba(25, 118, 210, 0.18);
}

.btn-contact-nav:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(25, 118, 210, 0.22);
  opacity: 0.98;
}

.btn-contact-nav:focus {
  outline: none;
  box-shadow: 0 0 0 5px rgba(25, 118, 210, 0.12);
}

.btn-appointment-nav:hover {
  background: #399cff;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: #0B1B2B;
  border-radius: 3px;
  transition: 0.3s;
}

/* Hamburger active state */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Responsive Navigation */
@media(max-width: 768px){
  .nav-menu {
    display: none;
    position: static;
    transform: none;
  }

  .nav-menu.active {
    display: flex;
    position: fixed;
    left: 0;
    top: 64px;
    width: 100%;
    flex-direction: column;
    background: whitesmoke;
    text-align: center;
    gap: 1rem;
    padding: 2rem 0;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    z-index: 999;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }

  .hamburger {
    display: flex;
  }

  .nav-container {
    padding: 1rem 1.5rem;
  }

  .nav-actions {
    position: static;
    margin-left: auto;
    gap: .5rem;
  }

  .btn-appointment-nav, .btn-contact-nav {
    position: static;
    transform: none;
    right: auto;
    top: auto;
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .navbar {
    background: rgb(233, 233, 233) transparent;
    border-bottom: none;
    box-shadow: none;
    border-radius: 50px;
  }

  .nav-container {
    padding: 1rem 1.25rem 0.75rem;
    max-width: 100%;
    position: relative;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
  }

  .logo-img {
    width: 32px;
    height: 32px;
    border-radius: 50px;
    object-fit: cover;
  }

  .logo h2 {
    font-size: 1.2rem;
    font-weight: 700;
  }

  .nav-menu {
    display: none;
  }

  .btn-appointment-nav {
    display: none;
  }

  .hamburger {
    display: flex;
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: #ffffff;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18);
    gap: 5px;
  }

  .hamburger span {
    width: 20px;
    height: 2px;
    background: #0B1B2B;
  }
}

/* ============================================
   PREMIUM PAGE LOADER
============================================ */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #FFFFFF;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: loaderFadeOut 1s ease-out 1.2s forwards;
}

.loader-content {
  text-align: center;
}

.loader-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #1976D2;
  margin-bottom: 1.5rem;
  animation: logoFade 1.5s ease-in-out infinite;
}

.loader-line {
  width: 200px;
  height: 3px;
  background: rgba(25, 118, 210, 0.1);
  border-radius: 10px;
  overflow: hidden;
  margin: 0 auto;
}

.loader-progress {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #1976D2 0%, #4299E1 100%);
  animation: loadProgress 1.2s ease-out forwards;
}

@keyframes loaderFadeOut {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

@keyframes logoFade {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes loadProgress {
  to { width: 100%; }
}

/* ============================================
   SCROLL ANIMATIONS
============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.text-reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.text-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   PARALLAX
============================================ */
.parallax-wrapper {
  overflow: hidden;
  position: relative;
}

.parallax-image {
  transform: scale(1.15);
  transition: transform 0.1s ease-out;
  will-change: transform;
}

/* ============================================
   COMMON SECTION STYLES
============================================ */
section {
  padding: 5rem 4rem;
  position: relative;
}

.section-container {
  max-width: 1400px;
  margin: 0 auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.5rem;
  background: rgba(25, 118, 210, 0.06);
  border: 1px solid rgba(25, 118, 210, 0.15);
  border-radius: 30px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1976D2;
  margin-bottom: 1.5rem;
}

.section-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #1976D2;
  border-radius: 50%;
  animation: badgePulse 2.5s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* ============================================
   1. ABOUT HERO
============================================ */
.about-hero {
  background: linear-gradient(135deg, #F8FAFB 0%, #FFFFFF 100%);
  padding-top: 7rem;
  padding-bottom: 6rem;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(25, 118, 210, 0.03) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.hero-text h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.75rem;
  font-weight: 700;
  color: #0a0a0a;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.75rem;
}

.hero-text p {
  font-size: 1.1rem;
  color: #4a5568;
  line-height: 1.85;
  margin-bottom: 2rem;
}

.hero-trust-line {
  font-size: 1.05rem;
  color: #1976D2;
  font-style: italic;
  font-weight: 500;
}

.hero-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image:hover {
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
  transform: translateY(-5px);
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.05) 0%, transparent 100%);
  pointer-events: none;
}

.hero-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

/* ============================================
   2. DOCTOR PROFILE
============================================ */
.doctor-profile {
  background: #FFFFFF;
}

.doctor-content {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 5rem;
  align-items: start;
}

.doctor-image-wrapper {
  position: sticky;
  top: 2rem;
}

.doctor-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.doctor-image:hover {
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
  transform: translateY(-8px);
}

.doctor-image img {
  width: 100%;
  height: 550px;
  object-fit: cover;
}

.doctor-details h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.75rem;
  font-weight: 700;
  color: #0a0a0a;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.doctor-title {
  font-size: 1.15rem;
  color: #1976D2;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.doctor-credentials {
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 500;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.doctor-bio {
  font-size: 1.05rem;
  color: #4a5568;
  line-height: 1.85;
  margin-bottom: 2.5rem;
}

.doctor-highlights {
  background: linear-gradient(135deg, #F8FAFB 0%, #FFFFFF 100%);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  padding: 2.5rem;
  margin-bottom: 2.5rem;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.doctor-highlights::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(25, 118, 210, 0.05), transparent);
  transition: left 0.8s ease;
}

.doctor-highlights:hover::before {
  left: 100%;
}

.doctor-highlights:hover {
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
  transform: translateY(-5px);
}

.doctor-highlights h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0a0a0a;
  margin-bottom: 1.5rem;
}

.doctor-highlights ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.doctor-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1rem;
  color: #4a5568;
  line-height: 1.7;
  opacity: 0;
  transform: translateX(-20px);
  animation: slideInItem 0.6s ease-out forwards;
}

.doctor-highlights li:nth-child(1) { animation-delay: 0.1s; }
.doctor-highlights li:nth-child(2) { animation-delay: 0.2s; }
.doctor-highlights li:nth-child(3) { animation-delay: 0.3s; }
.doctor-highlights li:nth-child(4) { animation-delay: 0.4s; }
.doctor-highlights li:nth-child(5) { animation-delay: 0.5s; }

@keyframes slideInItem {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.doctor-highlights li:hover {
  color: #1976D2;
  transform: translateX(8px);
  transition: all 0.3s ease;
}

.doctor-highlights li::before {
  content: '✓';
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #1976D2 0%, #4299E1 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 0.8rem;
  box-shadow: 0 4px 12px rgba(25, 118, 210, 0.25);
}

.doctor-quote {
  background: linear-gradient(135deg, rgba(25, 118, 210, 0.08) 0%, rgba(25, 118, 210, 0.03) 100%);
  border-left: 4px solid #1976D2;
  border-radius: 16px;
  padding: 2.5rem 3rem;
  position: relative;
  overflow: hidden;
}

.doctor-quote::before {
  content: '"';
  font-family: 'Cormorant Garamond', serif;
  font-size: 8rem;
  color: rgba(25, 118, 210, 0.08);
  position: absolute;
  top: -2rem;
  left: 1.5rem;
  line-height: 1;
  pointer-events: none;
}

.doctor-quote p {
  font-size: 1.2rem;
  color: #1565C0;
  font-style: italic;
  line-height: 1.8;
  position: relative;
  z-index: 1;
  font-weight: 500;
}

/* ============================================
   3. CLINIC PHILOSOPHY
============================================ */
.clinic-philosophy {
  background: linear-gradient(135deg, #F8FAFB 0%, #FFFFFF 100%);
}

.philosophy-header {
  text-align: left;
  margin-bottom: 4rem;
}

.philosophy-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: #0a0a0a;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.philosophy-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.philosophy-card {
  background: #ffffff;
  padding: 2.5rem 2.25rem;
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.philosophy-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #1976D2 0%, #4299E1 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.philosophy-card:hover::before {
  transform: scaleX(1);
}

.philosophy-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.12);
  border-color: rgba(25, 118, 210, 0.15);
}

.philosophy-icon {
  width: 68px;
  height: 68px;
  background: linear-gradient(135deg, #EEF7FF 0%, #D6EAF8 100%);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 20px rgba(25, 118, 210, 0.15);
}

.philosophy-card:hover .philosophy-icon {
  transform: scale(1.15) rotate(-8deg);
  background: linear-gradient(135deg, #1976D2 0%, #1565C0 100%);
  box-shadow: 0 12px 32px rgba(25, 118, 210, 0.3);
}

.philosophy-icon svg {
  width: 32px;
  height: 32px;
  stroke: #1976D2;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.5s ease;
}

.philosophy-card:hover .philosophy-icon svg {
  stroke: #ffffff;
}

.philosophy-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem;
  font-weight: 600;
  color: #0a0a0a;
  margin-bottom: 1rem;
}

.philosophy-card p {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.75;
}

/* ============================================
   4. TRUST SECTION
============================================ */
.trust-section {
  background: #FFFFFF;
}

.trust-header {
  text-align: left;
  margin-bottom: 3.5rem;
}

.trust-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: #0a0a0a;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.trust-item {
  background: linear-gradient(135deg, #F8FAFB 0%, #FFFFFF 100%);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: flex-start;
  gap: 1.75rem;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.trust-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(25, 118, 210, 0.03) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.trust-item:hover::before {
  opacity: 1;
}

.trust-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.10);
  border-color: rgba(25, 118, 210, 0.2);
}

.trust-item-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #1976D2 0%, #1565C0 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 24px rgba(25, 118, 210, 0.3);
}

.trust-item:hover .trust-item-icon {
  transform: scale(1.15) rotate(8deg);
  box-shadow: 0 12px 36px rgba(25, 118, 210, 0.4);
}

.trust-item-icon svg {
  width: 28px;
  height: 28px;
  fill: #ffffff;
}

.trust-item-content h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0a0a0a;
  margin-bottom: 0.65rem;
}

.trust-item-content p {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.7;
}

.trust-item-content .emotional-line {
  font-size: 0.9rem;
  color: #1976D2;
  font-style: italic;
  margin-top: 0.85rem;
  font-weight: 500;
}

/* Stats Bar */
.trust-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 3.5rem;
  background: #F8FAFB;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.trust-stats::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -25%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.stat-item {
  text-align: center;
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.stat-item.visible {
  opacity: 1;
  transform: scale(1);
}

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: #1976D2;
  margin-bottom: 0.5rem;
  display: block;
  text-shadow: 0 4px 12px rgba(25, 118, 210, 0.2);
}

.stat-label {
  font-size: 1rem;
  color: #64748b;
  font-weight: 500;
}

/* ============================================
   5. CLINIC ENVIRONMENT
============================================ */
.clinic-environment {
  background: linear-gradient(135deg, #F8FAFB 0%, #FFFFFF 100%);
}

.environment-header {
  text-align: left;
  margin-bottom: 3rem;
}

.environment-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: #0a0a0a;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.environment-header p {
  font-size: 1.05rem;
  color: #4a5568;
  line-height: 1.7;
}

.environment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.environment-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.environment-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.4) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.environment-image:hover {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transform: translateY(-8px);
}

.environment-image:hover::after {
  opacity: 1;
}

.environment-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

/* ============================================
   6. SOFT CTA
============================================ */
.soft-cta {
  background: #FFFFFF;
  text-align: center;
  margin-bottom: 4rem;
  margin-top: -6rem;
}

.cta-box {
  max-width: 850px;
  margin: 0 auto;
  padding: 3rem 3.5rem;
  background: linear-gradient(135deg, #F8FAFB 0%, #FFFFFF 100%);
  border-radius: 28px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.cta-box h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.25rem;
  font-weight: 700;
  color: #0a0a0a;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.cta-box p {
  font-size: 1.1rem;
  color: #4a5568;
  line-height: 1.8;
  margin-bottom: 2.75rem;
  position: relative;
  z-index: 1;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.4rem 3rem;
  background: linear-gradient(135deg, #1976D2 0%, #1565C0 100%);
  color: #ffffff;
  border: none;
  border-radius: 16px;
  font-size: 1.2rem;
  font-family: "instrument Serif", serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 16px 40px rgba(25, 118, 210, 0.3);
  text-decoration: none;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(25, 118, 210, 0.4);
}

.cta-micro-text {
  font-size: 0.95rem;
  color: #64748b;
  margin-top: 1.75rem;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

/* ============================================
   CONTACT SECTION
============================================ */
.contact-section {
  padding: 1rem 4rem;
  background: #FFFFFF;
  position: relative;
  overflow: hidden;
  margin-top: -8rem;
}

.contact-section::before {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(25, 118, 210, 0.03) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.contact-container {
  max-width: 1400px;
  text-align: left;
  position: relative;
  z-index: 1;
}

.contact-header {
  text-align: left;
  margin-bottom: 3.5rem;
}

.contact-title {
  font-family: "Instrument Serif", serif;
  font-size: 3.5rem;
  font-weight: 600;
  color: #0a0a0a;
  margin-bottom: 1rem;
}

.contact-subtitle {
  font-size: 1.05rem;
  text-align: left;
  color: #2d2d2d;
  max-width: 700px;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

/* Left Column */
.contact-info {
  position: sticky;
  top: 2rem;
}

.info-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 600;
  color: #0a0a0a;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.info-emotional {
  font-size: 1.05rem;
  color: #1976D2;
  margin-bottom: 1rem;
  font-weight: 500;
  font-style: italic;
}

.info-text {
  font-size: 1rem;
  color: #2d2d2d;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.detail-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #F7FBFF 0%, #EEF7FF 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(11, 27, 43, 0.06);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.detail-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: #1976D2;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.detail-content {
  flex: 1;
  padding-top: 0.25rem;
}

.detail-label {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.detail-value {
  font-size: 1.05rem;
  color: #0a0a0a;
  font-weight: 500;
  line-height: 1.6;
}

.detail-value a {
  color: #1976D2;
  text-decoration: none;
  transition: color 0.3s ease;
}

.detail-value a:hover {
  color: #1565C0;
}

/* Right Column - Form */
.appointment-form-wrapper {
  background: linear-gradient(135deg, #F8FAFB 0%, #FFFFFF 100%);
  border-radius: 20px;
  padding: 2rem 3rem;
  margin-top: -13rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

.trust-badges {
  display: flex;
  justify-content: space-around;
  gap: 1.5rem;
  padding: 1.5rem 0;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.trust-badges .trust-item {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
}

.trust-badges .trust-item:hover {
  transform: none;
  box-shadow: none;
}

.trust-badges .trust-item svg {
  width: 18px;
  height: 18px;
  fill: #4CAF50;
  flex-shrink: 0;
}

.form-section {
  margin-bottom: 1rem;
}

.form-section:last-of-type {
  margin-bottom: 0;
}

.form-section-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1976D2;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  margin-top: -1.5rem;
  border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0a0a0a;
  margin-bottom: 0.65rem;
}

.form-label .required {
  color: #DC2626;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.8rem 1.25rem;
  font-size: 1rem;
  font-family: 'Outfit', sans-serif;
  color: #0a0a0a;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  transition: all 0.3s ease;
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: #1976D2;
  box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231976D2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 3rem;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.treatment-group {
  background: linear-gradient(135deg, rgba(235, 245, 251, 0.5) 0%, rgba(255, 255, 255, 0.8) 100%);
  padding: 1.75rem;
  border-radius: 16px;
  border: 1px solid rgba(25, 118, 210, 0.1);
  margin-bottom: 2rem;
}

.treatment-group .form-label {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.treatment-helper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #1976D2;
  margin-bottom: 1rem;
  font-weight: 500;
}

.treatment-helper svg {
  width: 16px;
  height: 16px;
  fill: #1976D2;
}

.treatment-group .form-select {
  padding: 1.15rem 1.25rem;
  font-weight: 500;
}

.treatment-info {
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 0.75rem;
  font-style: italic;
  line-height: 1.5;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.submit-button {
  width: 100%;
  padding: 1.3rem 2rem;
  background: linear-gradient(135deg, #1976D2 0%, #1565C0 100%);
  color: #ffffff;
  border: none;
  border-radius: 14px;
  font-size: 1.1rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 15px 35px rgba(25, 118, 210, 0.25);
  margin-top: 1rem;
}

.submit-button:hover {
  background: linear-gradient(135deg, #1565C0 0%, #0D47A1 100%);
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(25, 118, 210, 0.35);
}

.submit-button:active {
  transform: translateY(-1px);
}

.button-trust {
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 1rem;
  font-weight: 500;
}

.form-note {
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 1.5rem;
  line-height: 1.6;
}

/* ============================================
   FOOTER
============================================ */
.footer {
  background: linear-gradient(135deg, #1a2332 0%, #243447 100%);
  color: #ffffff;
  padding: 5rem 5% 2rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(25, 118, 210, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  padding-right: 2rem;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  display: block;
  position: relative;
}

.footer-logo::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #1976D2 0%, #42A5F5 100%);
  border-radius: 2px;
}

.footer-description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.75rem;
  font-weight: 300;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: rgba(25, 118, 210, 0.15);
  border: 1px solid rgba(25, 118, 210, 0.3);
  border-radius: 30px;
  font-size: 0.85rem;
  color: #42A5F5;
  font-weight: 500;
}

.footer-badge svg {
  width: 16px;
  height: 16px;
  fill: #42A5F5;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-block;
  font-weight: 400;
}

.footer-links li a:hover {
  color: #42A5F5;
  transform: translateX(3px);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
}

.contact-label svg {
  width: 14px;
  height: 14px;
  fill: #42A5F5;
}

.contact-value {
  font-size: 1.05rem;
  color: #ffffff;
  font-weight: 500;
  line-height: 1.5;
}

.contact-value a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-value a:hover {
  color: #42A5F5;
}

.contact-address {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
}

.hours-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.25rem;
  margin-top: 0.5rem;
}

.hours-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.hours-time {
  font-size: 1.15rem;
  font-weight: 600;
  color: #42A5F5;
  margin-bottom: 0.5rem;
}

.hours-closed {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-copyright {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
}

.footer-credentials {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 300;
  margin-top: 0.25rem;
}

.footer-legal {
  display: flex;
  gap: 2rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  font-weight: 400;
}

.footer-legal a:hover {
  color: #42A5F5;
}

/* ============================================
   MEDIA QUERY — 1024px (TABLET)
============================================ */
@media (max-width: 1024px) {

  /* Navbar */
  .nav-container {
    padding: 0.5rem 2rem;
  }

  .nav-menu {
    gap: 1.5rem;
  }

  .nav-menu a {
    font-size: 1.25rem;
  }

  /* Sections base */
  section {
    padding: 4rem 2.5rem;
  }

  /* Hero */
  .about-hero {
    padding-top: 5rem;
    padding-bottom: 4rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-text h1 {
    font-size: 3rem;
  }

  .hero-image img {
    height: 420px;
  }

  /* Doctor */
  .doctor-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .doctor-image-wrapper {
    position: static;
    max-width: 480px;
  }

  .doctor-image img {
    height: 440px;
  }

  .doctor-details h2 {
    font-size: 2.4rem;
  }

  /* Philosophy */
  .philosophy-header h2 {
    font-size: 2.8rem;
  }

  .philosophy-cards {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .philosophy-card:nth-child(3) {
    grid-column: 1 / -1;
    max-width: 520px;
  }

  /* Trust */
  .trust-header h2 {
    font-size: 2.8rem;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .trust-stats {
    padding: 2.5rem;
  }

  .stat-number {
    font-size: 2.8rem;
  }

  /* Environment */
  .environment-header h2 {
    font-size: 2.8rem;
  }

  .environment-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .environment-image:nth-child(3) {
    grid-column: 1 / -1;
    max-width: 520px;
    margin: 0 auto;
  }

  .environment-image img {
    height: 320px;
  }

  /* CTA */
  .cta-box {
    padding: 3.5rem 3rem;
  }

  .cta-box h2 {
    font-size: 2.6rem;
  }

  /* Contact */
  .contact-section {
    padding: 3rem 2.5rem;
    margin-top: 0;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-info {
    position: static;
  }

  .contact-title {
    font-size: 2.8rem;
  }

  .appointment-form-wrapper {
    margin-top: 0;
    padding: 2rem 2.5rem;
  }

  .trust-badges {
    flex-wrap: wrap;
    gap: 1rem;
  }

  /* Footer */
  .footer {
    padding: 4rem 5% 2rem;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 3rem 2.5rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
    padding-right: 0;
    max-width: 600px;
  }
}

/* ============================================
   MEDIA QUERY — 768px (MOBILE)
============================================ */
@media (max-width: 768px) {

  /* Navbar — hamburger territory */
  .nav-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #ffffff;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    z-index: 999;
    box-shadow: 0 0 40px rgba(0,0,0,0.1);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu a {
    font-size: 1.6rem;
  }

  .nav-actions {
    display: none;
  }

  .hamburger {
    display: flex;
    z-index: 1001;
    position: relative;
  }

  .logo h2 {
    font-size: 1.15rem;
  }

  .logo-img {
    width: 38px;
    height: 38px;
  }

  .nav-container {
    padding: 0.75rem 1.25rem;
  }

  .logo {
    margin-left: 0;
  }

  /* Sections base */
  section {
    padding: 3.5rem 1.25rem;
  }

  /* Hero */
  .about-hero {
    padding-top: 5.5rem;
    padding-bottom: 2.5rem;
  }

  .hero-content {
    gap: 1.5rem;
  }

  .about-hero .section-badge {
    display: inline-flex;
    margin-bottom: 1rem;
  }

  .hero-text h1 {
    font-size: 2.35rem;
    margin-bottom: 1rem;
  }

  .hero-text p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
  }

  .hero-trust-line {
    font-size: 0.9rem;
    margin-bottom: 0;
  }

  .hero-image {
    border-radius: 18px;
    margin-top: 0;
  }

  .hero-image img {
    height: 300px;
  }

  /* Doctor */
  .doctor-content {
    gap: 2rem;
  }

  .doctor-image-wrapper {
    max-width: 100%;
  }

  .doctor-image {
    border-radius: 18px;
  }

  .doctor-image img {
    height: 320px;
  }

  .doctor-details h2 {
    font-size: 2rem;
  }

  .doctor-title {
    font-size: 1rem;
  }

  .doctor-credentials {
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
  }

  .doctor-bio {
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
  }

  .doctor-highlights {
    padding: 1.75rem;
    border-radius: 16px;
    margin-bottom: 1.75rem;
  }

  .doctor-highlights h3 {
    font-size: 1.05rem;
    margin-bottom: 1rem;
  }

  .doctor-highlights ul {
    gap: 1rem;
  }

  .doctor-highlights li {
    font-size: 0.92rem;
    gap: 0.75rem;
  }

  .doctor-highlights li::before {
    width: 22px;
    height: 22px;
    font-size: 0.75rem;
  }

  .doctor-quote {
    padding: 1.75rem 1.5rem;
    border-radius: 14px;
  }

  .doctor-quote p {
    font-size: 1rem;
  }

  .doctor-quote::before {
    font-size: 5rem;
    top: -1rem;
    left: 0.75rem;
  }

  /* Philosophy */
  .philosophy-header {
    margin-bottom: 2rem;
  }

  .philosophy-header h2 {
    font-size: 2.2rem;
  }

  .philosophy-cards {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .philosophy-card {
    padding: 1.75rem 1.5rem;
    border-radius: 18px;
  }

  .philosophy-card:nth-child(3) {
    grid-column: auto;
    max-width: 100%;
  }

  .philosophy-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    margin-bottom: 1.25rem;
  }

  .philosophy-icon svg {
    width: 26px;
    height: 26px;
  }

  .philosophy-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.65rem;
  }

  .philosophy-card p {
    font-size: 0.9rem;
  }

  /* Trust */
  .trust-header {
    margin-bottom: 1.75rem;
  }

  .trust-header h2 {
    font-size: 2.2rem;
  }

  .trust-grid {
    gap: 1rem;
    margin-bottom: 1.75rem;
  }

  .trust-item {
    padding: 1.5rem;
    border-radius: 16px;
    gap: 1.25rem;
  }

  .trust-item-icon {
    width: 48px;
    height: 48px;
    border-radius: 13px;
  }

  .trust-item-icon svg {
    width: 24px;
    height: 24px;
  }

  .trust-item-content h4 {
    font-size: 1rem;
    margin-bottom: 0.45rem;
  }

  .trust-item-content p {
    font-size: 0.88rem;
  }

  .trust-item-content .emotional-line {
    font-size: 0.85rem;
    margin-top: 0.6rem;
  }

  .trust-stats {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 2rem 1.5rem;
    border-radius: 18px;
  }

  .stat-item {
    padding: 0.5rem 0;
  }

  .stat-number {
    font-size: 2.6rem;
  }

  .stat-label {
    font-size: 0.9rem;
  }

  /* Environment */
  .environment-header {
    margin-bottom: 1.75rem;
  }

  .environment-header h2 {
    font-size: 2.2rem;
  }

  .environment-header p {
    font-size: 0.95rem;
  }

  .environment-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .environment-image {
    border-radius: 18px;
  }

  .environment-image:nth-child(3) {
    grid-column: auto;
    max-width: 100%;
    margin: 0;
  }

  .environment-image img {
    height: 240px;
  }

  /* CTA */
  .cta-box {
    padding: 2.5rem 1.75rem;
    border-radius: 22px;
  }

  .cta-box h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .cta-box p {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }

  .cta-button {
    width: 100%;
    justify-content: center;
    padding: 1.2rem 2rem;
    font-size: 1.05rem;
    border-radius: 14px;
  }

  .cta-micro-text {
    font-size: 0.85rem;
    margin-top: 1.25rem;
  }

  /* Contact */
  .contact-section {
    padding: 3rem 1.25rem;
    margin-top: 0;
  }

  .contact-header {
    margin-bottom: 2rem;
  }

  .contact-title {
    font-size: 2.2rem;
  }

  .contact-subtitle {
    font-size: 0.95rem;
  }

  .contact-content {
    gap: 2rem;
  }

  .info-heading {
    font-size: 1.6rem;
  }

  .info-emotional {
    font-size: 0.95rem;
  }

  .info-text {
    font-size: 0.92rem;
  }

  .contact-details {
    gap: 1.25rem;
  }

  .detail-icon {
    width: 48px;
    height: 48px;
  }

  .detail-icon svg {
    width: 24px;
    height: 24px;
  }

  .detail-label {
    font-size: 0.78rem;
  }

  .detail-value {
    font-size: 0.95rem;
  }

  .appointment-form-wrapper {
    padding: 1.75rem 1.25rem;
    border-radius: 18px;
    margin-top: 0;
  }

  .trust-badges {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1rem;
    padding: 1rem 0;
  }

  .form-section-label {
    font-size: 0.72rem;
    margin-top: -0.75rem;
    margin-bottom: 0.85rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-group {
    margin-bottom: 1.25rem;
  }

  .form-label {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
  }

  .form-input,
  .form-select,
  .form-textarea {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    border-radius: 10px;
  }

  .treatment-group {
    padding: 1.25rem;
    border-radius: 14px;
    margin-bottom: 1.5rem;
  }

  .treatment-group .form-label {
    font-size: 0.92rem;
  }

  .treatment-group .form-select {
    padding: 0.9rem 1rem;
  }

  .treatment-helper {
    font-size: 0.75rem;
  }

  .treatment-info {
    font-size: 0.8rem;
  }

  .form-textarea {
    min-height: 100px;
  }

  .submit-button {
    padding: 1.15rem 1.5rem;
    font-size: 1rem;
    border-radius: 12px;
    margin-top: 0.75rem;
  }

  .button-trust {
    font-size: 0.8rem;
  }

  .form-note {
    font-size: 0.78rem;
    margin-top: 1rem;
  }

  /* Footer */
  .footer {
    padding: 3rem 5% 1.5rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-brand {
    grid-column: auto;
    max-width: 100%;
    padding-right: 0;
  }

  .footer-logo {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
  }

  .footer-description {
    font-size: 0.9rem;
  }

  .footer-title {
    font-size: 1.15rem;
    margin-bottom: 1rem;
  }

  .footer-links {
    gap: 0.7rem;
  }

  .footer-links li a {
    font-size: 0.9rem;
  }

  .contact-value {
    font-size: 0.95rem;
  }

  .contact-address {
    font-size: 0.88rem;
  }

  .hours-box {
    padding: 1rem;
  }

  .hours-title {
    font-size: 0.88rem;
  }

  .hours-time {
    font-size: 1rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .footer-copyright {
    font-size: 0.82rem;
  }

  .footer-credentials {
    font-size: 0.78rem;
  }

  .footer-legal {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .footer-legal a {
    font-size: 0.82rem;
  }
}

/* ============================================
   MEDIA QUERY — 480px (SMALL MOBILE)
============================================ */
@media (max-width: 480px) {

  section {
    padding: 2.75rem 1rem;
  }

  

  /* Hero */
  .about-hero {
    padding-top: 3rem;
    padding-bottom: 2rem;
  }

  .hero-text h1 {
    font-size: 2rem;
    margin-bottom: 0.85rem;
  }

  .hero-text p {
    margin-bottom: 0.75rem;
  }

  .hero-image img {
    height: 240px;
  }

  /* Doctor */
  .doctor-image img {
    height: 260px;
  }

  .doctor-details h2 {
    font-size: 1.8rem;
  }

  .doctor-highlights {
    padding: 1.25rem;
  }

  .doctor-highlights li {
    font-size: 0.85rem;
  }

  /* Philosophy */
  .philosophy-header h2 {
    font-size: 1.9rem;
  }

  .philosophy-card {
    padding: 1.5rem 1.25rem;
  }

  .philosophy-card h3 {
    font-size: 1.2rem;
  }

  /* Trust */
  .trust-header h2 {
    font-size: 1.9rem;
  }

  .trust-item {
    padding: 1.25rem;
    gap: 1rem;
  }

  .trust-item-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
  }

  .trust-item-icon svg {
    width: 20px;
    height: 20px;
  }

  .trust-stats {
    padding: 1.5rem 1rem;
    gap: 1.25rem;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  /* Environment */
  .environment-header h2 {
    font-size: 1.9rem;
  }

  .environment-image img {
    height: 200px;
  }

  /* CTA */
  .cta-box {
    padding: 2rem 1.25rem;
  }

  .cta-box h2 {
    font-size: 1.75rem;
  }

  /* Contact */
  .contact-title {
    font-size: 1.9rem;
  }

  .appointment-form-wrapper {
    padding: 1.25rem 1rem;
  }

  .treatment-group {
    padding: 1rem;
  }

  .submit-button {
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
  }

  /* Footer */
  .footer {
    padding: 2.5rem 5% 1.5rem;
  }

  .footer-main {
    gap: 2rem;
  }

  .footer-logo {
    font-size: 1.5rem;
  }

  .hours-box {
    padding: 0.85rem;
  }
}

/* Footer Section */
.footer-section {
  background: linear-gradient(135deg, #1a2332 0%, #0f1621 100%);
  color: #E8EDF2;
  padding: 5rem 4rem 0;
  position: relative;
  overflow: hidden;
}

/* Subtle decorative elements */
.footer-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(25, 118, 210, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.footer-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(66, 153, 225, 0.06) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Footer Grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

/* Brand Section */
.footer-brand {
  max-width: 380px;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
  position: relative;
  display: inline-block;
}

.footer-logo::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #1976D2 0%, #4299E1 100%);
  border-radius: 2px;
}

.footer-description {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #B8C5D3;
  margin-bottom: 2rem;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.25rem;
  background: rgba(25, 118, 210, 0.12);
  border: 1px solid rgba(25, 118, 210, 0.25);
  border-radius: 30px;
  font-size: 0.85rem;
  color: #4299E1;
  font-weight: 500;
}

.footer-badge svg {
  width: 18px;
  height: 18px;
  fill: #4299E1;
}

/* Footer Column */
.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-column-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1.75rem;
  letter-spacing: 0.02em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-link {
  color: #B8C5D3;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  position: relative;
  padding-left: 0;
}

.footer-link::before {
  content: '';
  position: absolute;
  left: 0;
  width: 0;
  height: 2px;
  background: #1976D2;
  transition: width 0.3s ease;
  bottom: -2px;
}

.footer-link:hover {
  color: #FFFFFF;
  padding-left: 8px;
}

.footer-link:hover::before {
  width: 20px;
}

/* Contact Info Items */
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 42px;
  height: 42px;
  background: rgba(25, 118, 210, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-info-item:hover .contact-icon {
  background: rgba(25, 118, 210, 0.25);
  transform: scale(1.05);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  stroke: #4299E1;
  fill: none;
  stroke-width: 2;
}

.contact-info-content {
  flex: 1;
}

.contact-label {
  font-size: 0.8rem;
  color: #7E8B9B;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.contact-value {
  font-size: 0.95rem;
  color: #E8EDF2;
  line-height: 1.6;
  font-weight: 500;
}

.contact-value a {
  color: #4299E1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-value a:hover {
  color: #FFFFFF;
}

/* Hours Box - Special Styling */
.hours-box {
  background: rgba(25, 118, 210, 0.08);
  border: 1px solid rgba(25, 118, 210, 0.2);
  border-radius: 12px;
  padding: 1.25rem;
  margin-top: 0.5rem;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.hours-row:last-child {
  margin-bottom: 0;
}

.hours-day {
  font-size: 0.9rem;
  color: #B8C5D3;
}

.hours-time {
  font-size: 0.95rem;
  color: #FFFFFF;
  font-weight: 600;
}

.hours-closed {
  color: #7E8B9B;
  font-style: italic;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  font-size: 0.9rem;
  color: #7E8B9B;
}

.footer-copyright strong {
  color: #B8C5D3;
}

.footer-subtitle {
  font-size: 0.85rem;
  color: #7E8B9B;
  margin-top: 0.25rem;
}

.footer-legal-links {
  display: flex;
  gap: 2rem;
}

.footer-legal-link {
  color: #B8C5D3;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-legal-link:hover {
  color: #FFFFFF;
}

/* Footer Responsive Design */
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .footer-section {
    padding: 3rem 2rem 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-legal-links {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .footer-section {
    padding: 2.5rem 1.5rem 0;
  }

  .footer-logo {
    font-size: 1.75rem;
  }

  .hours-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
}

.logo h2 span {
  color: #1CA7EC; /* accent blue */
}