@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@300;400;600;800&family=Heebo:wght@300;400;700;900&display=swap');

:root {
  --primary: #0A192F;       /* Very deep modern navy */
  --primary-light: #172A45;
  --accent: #D4AF37;        /* Pure solid premium Gold */
  --accent-light: #F3E5AB;
  --bg-main: #F4F7F9;       /* Light, airy medical background */
  --surface: #FFFFFF;
  --text-dark: #121212;
  --text-muted: #64748B;
  
  --shadow-soft: 0 10px 30px -10px rgba(10, 25, 47, 0.1);
  --shadow-hover: 0 20px 40px -15px rgba(10, 25, 47, 0.2);
  --shadow-glow: 0 0 20px rgba(212, 175, 55, 0.4);
  
  --radius-lg: 24px;
  --radius-md: 16px;
  --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: 'Assistant', 'Heebo', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.7;
  position: relative;
}

a, a:visited, a:hover, a:active {
  text-decoration: none;
}

/* Typography Options */
h1, h2, h3, h4 {
  font-family: 'Heebo', sans-serif;
  font-weight: 800;
  line-height: 1.2;
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent), #BA8A1D);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Background Effects Container */
.background-effects {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

/* Background Blobs */
.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.5;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: rgba(212, 175, 55, 0.15); /* Gold blob */
  top: -100px;
  right: -100px;
}

.blob-2 {
  width: 600px;
  height: 600px;
  background: rgba(10, 25, 47, 0.08); /* Navy blob */
  top: 30%;
  left: -200px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  font-family: 'Heebo', sans-serif;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border: 2px solid transparent;
}

.btn .icon-right {
  margin-inline-end: 10px;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary);
}

.btn-primary:hover {
  background: #BA8A1D;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.btn-outline-light {
  background: transparent;
  color: white;
  border-color: white;
}

.btn-outline-light:hover {
  background: white;
  color: var(--primary);
  transform: translateY(-3px);
}

.btn-glow {
  box-shadow: var(--shadow-glow);
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 15px rgba(212, 175, 55, 0.4); }
  50% { box-shadow: 0 0 30px rgba(212, 175, 55, 0.7); }
  100% { box-shadow: 0 0 15px rgba(212, 175, 55, 0.4); }
}

.btn-block {
  width: 100%;
  margin-bottom: 15px;
}

/* Header (Ultra Glass) */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: var(--transition);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
  padding: 5px 0;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-text h1 {
  font-size: 1.4rem;
  color: var(--primary);
  margin: 0;
}

.brand-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  color: var(--primary-light);
  font-weight: 600;
  font-size: 1.05rem;
  position: relative;
  text-decoration: none;
  transition: var(--transition);
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--accent);
}

.nav-link:hover::before {
  width: 100%;
}

.btn-contact-nav {
  background: var(--primary);
  color: white !important;
  padding: 8px 20px;
  border-radius: 50px;
  font-family: 'Assistant', sans-serif;
}
.btn-contact-nav:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}
.btn-contact-nav::before { display: none; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

/* HERO SECTION - FIXED TO PREVENT CUTOFF */
/* Emphasize the figure perfectly on the left side */
.hero {
  min-height: 100vh;
  position: relative;
  background-image: url('hero-bg.jpg');
  /* Critical fixes: align to top-left to keep the body fully visible, don't crop head */
  background-size: cover;
  background-position: 15% 15%; 
  background-attachment: fixed; /* Parallax effect */
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Move text to right (RTL context) */
}

/* Elegant dark fade on the right side so text is readable */
.hero-image-overlay {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(to left, rgba(10, 25, 47, 0.95) 0%, rgba(10, 25, 47, 0.6) 50%, rgba(10, 25, 47, 0) 100%);
  z-index: 1;
}

.hero-content {
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: flex-start; /* Align text block to the right part of the container */
}

.hero-text-box {
  max-width: 600px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 50px;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

.badge {
  display: inline-block;
  background: rgba(212, 175, 55, 0.15);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 20px;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.hero-title {
  font-size: 4.5rem;
  color: white;
  margin-bottom: 10px;
}

.hero-subtitle {
  font-size: 1.8rem;
  color: #E2E8F0;
  font-family: 'Assistant', sans-serif;
  margin-bottom: 40px;
  font-weight: 300;
}

/* Section Spacing & Headers */
.section-spacing {
  padding: 120px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.subtitle {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.95rem;
  font-family: 'Heebo', sans-serif;
  display: block;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.divider {
  height: 4px;
  width: 60px;
  background: var(--primary);
  margin: 0 auto;
  border-radius: 2px;
}

/* Glass Panel Reusable */
.glass-panel {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 40px;
}

/* About Overlay Cards */
.about {
  padding-bottom: 60px;
}

.about-cards-container {
  max-width: 1280px;
  margin: 0 auto;
  margin-top: -80px; /* Pull up into hero slightly */
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 0 24px;
}

.about-card {
  background: var(--surface);
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
  transition: var(--transition);
  border-bottom: 4px solid var(--accent);
}

.about-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 50px rgba(0,0,0,0.1);
}

.about-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.about-icon i {
  font-size: 1.8rem;
  color: var(--accent);
}

.about-card p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Clinic Info */
.clinic-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
}

.info-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.info-icon {
  background: var(--primary);
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-inline-end: 20px;
  flex-shrink: 0;
}

.highlight-text {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.25rem;
}

.price-highlight {
  display: inline-block;
  background: rgba(212, 175, 55, 0.1);
  padding: 4px 10px;
  border-radius: 8px;
  font-weight: 700;
  color: var(--accent);
  margin: 5px 0;
}

.action-buttons {
  margin-top: 40px;
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  min-height: 450px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
}

/* Virtual Tour inside a gorgeous Mac-like frame */
.tour-frame {
  padding: 15px; /* Looks like a thick border/frame */
  background: white;
  border-radius: calc(var(--radius-lg) + 15px);
}
.tour-iframe-wrapper {
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding-bottom: 56.25%;
  position: relative;
}
.tour-iframe-wrapper iframe {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
}

/* Services Array */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 30px;
}

.service-box {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.03);
  z-index: 1;
}

.service-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 0;
  background: var(--primary);
  transition: var(--transition);
  z-index: -1;
}

.service-box:hover::before {
  height: 100%;
}

.service-box:hover {
  transform: translateY(-10px);
}

.service-box:hover .service-icon i,
.service-box:hover h3,
.service-box:hover small {
  color: white;
}

.service-icon {
  margin-bottom: 25px;
}

.service-icon i {
  font-size: 3rem;
  color: var(--primary);
  transition: var(--transition);
}

.service-box h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 0;
  transition: var(--transition);
}

.service-box small {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-family: 'Assistant', sans-serif;
  margin-top: 5px;
  font-weight: 400;
  transition: var(--transition);
}

.service-box .service-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 15px;
  line-height: 1.5;
  transition: var(--transition);
}

.service-box:hover .service-desc {
  color: rgba(255,255,255,0.9);
}

/* Podcast Overlay */
.podcast-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}

.podcast-content p {
  font-size: 1.15rem;
  color: var(--text-muted);
}

/* TikTok Promo Section */
.tiktok-promo {
  position: relative;
  z-index: 5;
  margin-top: -40px;
}

.tiktok-box {
  background: linear-gradient(135deg, #111111 0%, #000000 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 40px rgba(0, 242, 254, 0.1), 0 0 40px rgba(254, 9, 121, 0.1);
  border-radius: var(--radius-lg);
  padding: 60px;
  overflow: hidden;
  position: relative;
}

.tiktok-box::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle at center, rgba(0, 242, 254, 0.15) 0%, transparent 40%),
              radial-gradient(circle at right, rgba(254, 9, 121, 0.15) 0%, transparent 40%);
  z-index: 0;
  pointer-events: none;
}

.tiktok-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 50px;
}

.tiktok-icon-large i {
  font-size: 8rem;
  background: linear-gradient(45deg, #00f2fe, #fe0979);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px rgba(254, 9, 121, 0.4));
  animation: pulse-glow 3s infinite;
}

.tiktok-text h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.tiktok-text p {
  color: #cccccc;
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 600px;
}

.btn-tiktok {
  background: linear-gradient(45deg, #fe0979, #00f2fe);
  color: white !important;
  font-weight: 700;
  border: none;
  box-shadow: 0 10px 20px rgba(254, 9, 121, 0.3);
}

.btn-tiktok:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 242, 254, 0.4);
}

/* Videos Carousel Array */
.gradient-bg {
  background: linear-gradient(135deg, var(--primary) 0%, #112240 100%);
  position: relative;
}

.native-carousel-wrapper {
  position: relative;
  width: 100%;
}

.native-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 30px;
  padding: 20px 0 60px;
  scrollbar-width: none; /* Firefox */
}

.native-carousel::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.carousel-item {
  flex: 0 0 85%; /* Shows a peek of the next slide on mobile */
  scroll-snap-align: center;
}

@media (min-width: 768px) {
  .carousel-item {
    flex: 0 0 45%;
  }
}

@media (min-width: 1024px) {
  .carousel-item {
    flex: 0 0 30%;
  }
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  background: #000;
  transition: transform 0.3s ease;
}

.video-wrapper:hover {
  transform: scale(1.02);
}

.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* Footer Section */
.footer {
  background: #060F1E;
  color: rgba(255,255,255,0.7);
  padding: 80px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand h2 {
  color: white;
  font-size: 2rem;
  margin-bottom: 5px;
}

.footer-brand p {
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-desc {
  color: rgba(255,255,255,0.6) !important;
  font-weight: 400 !important;
  font-size: 1rem !important;
}

.footer-contact h3, .footer-social h3 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 25px;
  position: relative;
}

.contact-list {
  list-style: none;
}
.contact-list li {
  margin-bottom: 15px;
}
.contact-list a, .contact-list a:visited {
  display: flex;
  align-items: center;
  transition: var(--transition);
  color: inherit;
}
.contact-list a:hover {
  color: white;
  transform: translateX(-5px);
}
.contact-list i {
  color: var(--accent);
  margin-left: 15px;
  width: 20px;
  text-align: center;
}

.social-circles {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Hover Tilt Effect */
.hover-tilt {
  transition: transform 0.3s ease;
}
.hover-tilt:hover {
  transform: perspective(1000px) rotateX(2deg) rotateY(-2deg) scale(1.01);
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .about-cards-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .clinic-wrapper {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-image-overlay {
    background: linear-gradient(to top, rgba(10, 25, 47, 0.95) 0%, rgba(10, 25, 47, 0.4) 100%);
  }
  .hero {
    background-position: 15% 30%;
    align-items: flex-end;
    padding-bottom: 120px;
    background-attachment: scroll; /* Fix iOS background-size: cover bug */
  }
  .hero-content {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.98);
    flex-direction: column;
    padding: 30px;
    box-shadow: var(--shadow-soft);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-20px);
    transition: var(--transition);
  }
  .nav-links.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }
  .menu-toggle {
    display: block;
  }
  .about-cards-container {
    grid-template-columns: 1fr;
    margin-top: 20px;
  }
  .hero-title {
    font-size: 2.8rem;
  }
  .hero-subtitle {
    font-size: 1.4rem;
  }
  .hero {
    min-height: 80vh; /* Don't force 100vh on mobile to avoid extreme zoom */
    background-position: 25% 10%; /* Center more on the subject */
    background-attachment: scroll; /* VERY IMPORTANT for iOS background image zoom bug */
  }
  .hero-content {
    padding-bottom: 20px;
  }
  .hero-text-box {
    margin-right: 0;
    width: 100%;
    padding: 25px;
    margin-top: 35vh; /* Push down to reveal the face at the top */
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .podcast-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .tiktok-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .tiktok-box {
    padding: 40px 20px;
  }
  .tiktok-text h2 {
    font-size: 1.8rem;
  }
}
