@font-face {
  font-family: "Poppins";
  src: url("/fonts/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Poppins";
  src: url("/fonts/Poppins-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

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

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #faf9f7;
}

:root {
  --fs-h1: 80px;
  --lh-h1: 1em;
  --fs-h2: 36px;
  --lh-h2: 1.3em;
  --fs-h3: 32px;
  --lh-h3: 1.4em;
  --fs-h4: 24px;
  --lh-h4: 1.4em;
}

@media (max-width: 768px) {
  :root {
    --fs-h1: 48px;
    --lh-h1: 1.2em;
    --fs-h2: 24px;
    --lh-h2: 1.25em;
    --fs-h3: 20px;
    --lh-h3: 1.3em;
    --fs-h4: 18px;
    --lh-h4: 1.3em;
  }
}

@media (max-width: 480px) {
  :root {
    --fs-h1: 32px;
    --lh-h1: 1.2em;
    --fs-h2: 24px;
    --lh-h2: 1.2em;
    --fs-h3: 18px;
    --lh-h3: 1.25em;
    --fs-h4: 16px;
    --lh-h4: 1.25em;
  }
}

h1 {
  font-size: var(--fs-h1);
  line-height: var(--lh-h1);
}

h2 {
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
}

h3 {
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
}

h4 {
  font-size: var(--fs-h4);
  line-height: var(--lh-h4);
}

p {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 1.5em;
  color: #5e6b64;
  margin-bottom: 20px;
  font-weight: 400;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.services-left {
  position: sticky;
  top: 100px;
  align-self: start;
}

.services-right {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.service-item {
  padding: 20px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-image {
  border-radius: 15px;
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-image:hover img {
  transform: scale(1.05);
}

.service-title {
  font-weight: 500;
  color: #333;
}

.service-text {
  color: #666;
}

/* Header */
.header {
  background-color: #faf9f7;
  padding: 20px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid #e5e5e5;
  transition: transform 0.3s ease;
}

.logo h1 {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  letter-spacing: 2px;
}

/* Navigation */
.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.nav-list {
  display: flex;
  gap: 30px;
  list-style: none;
  align-items: center;
  margin: 0;
}

.nav-link {
  text-decoration: none;
  color: #666;
  font-weight: 400;
  font-size: 14px;
  position: relative;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #333;
}

/* Mega Menu */
.nav-item-mega {
  position: relative;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ffffff;
  padding: 40px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  border-radius: 0 0 15px 15px;
  border: 1px solid #e5e5e5;
  min-width: 900px;
  margin-top: 10px;
}

.nav-item-mega:hover .mega-menu {
  opacity: 1;
  visibility: visible;
}

.mega-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.mega-title {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 15px;
  color: #333;
  line-height: 1.4;
}

.mega-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-links li {
  margin-bottom: 8px;
}

.mega-links a {
  text-decoration: none;
  color: #666;
  font-size: 13px;
  transition: color 0.2s;
  display: block;
  padding: 4px 0;
}

.mega-links a:hover {
  color: #333;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1002;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: #333;
  display: block;
  transition: 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* CTA Button */
.cta-button {
  background-color: #ffa941;
  color: white !important;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #ff9a2e;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav-wrapper {
    flex-wrap: wrap;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #faf9f7;
    padding: 20px;
    border-top: 1px solid #e5e5e5;
    width: 100%;
    gap: 0;
    align-items: stretch;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

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

  .nav-list > li {
    border-bottom: 1px solid #e5e5e5;
    padding: 15px 0;
  }

  .nav-list > li:last-child {
    border-bottom: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-item-mega .nav-link::after {
    content: " ▼";
    font-size: 10px;
    margin-left: 5px;
    transition: transform 0.3s ease;
  }

  .nav-item-mega.active .nav-link::after {
    transform: rotate(180deg);
  }

  .mega-menu {
    position: static;
    transform: none;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    box-shadow: none;
    padding: 0;
    width: 100%;
    min-width: auto;
    margin-top: 0;
    background-color: #f5f5f5;
    border-radius: 10px;
    border: none;
    transition: all 0.3s ease, max-height 0.5s ease;
  }

  .nav-item-mega.active .mega-menu {
    opacity: 1;
    visibility: visible;
    max-height: 2000px;
    padding: 20px;
    margin-top: 10px;
  }

  .mega-container {
    padding: 0;
  }

  .mega-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .mega-title {
    font-size: 15px;
    margin-bottom: 12px;
  }

  .mega-links a {
    font-size: 14px;
    padding: 6px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .services-left {
    position: static;
  }
}

/* Hero Section */
.hero {
  padding: 140px 0 60px;
  text-align: center;
  background-color: #faf9f7;
}

.hero-subtitle {
  font-size: 14px;
  color: #999;
  margin-bottom: 20px;
  font-weight: 400;
}

.mark {
  display: inline-block;
  background-color: #f0f0f0;
  border-radius: 32px;
  padding: 6px 16px;
}

.hero-title {
  font-size: var(--fs-h1);
  line-height: var(--lh-h1);
  font-weight: 400;
  color: #333;
  margin-bottom: 30px;
}

.hero-description {
  font-size: 16px;
  color: #666;
  margin-bottom: 40px;
  line-height: 1.6;
}

.cta-button-main {
  background-color: #ffa941;
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-button-main:hover {
  background-color: #ff9a2e;
  transform: translateY(-2px);
}

/* Gallery */
.gallery {
  padding: 60px 0;
  background-color: #faf9f7;
}

.gallery .gallery-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-item {
  border-radius: 15px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Experience Section */
.experience {
  padding: 80px 0;
  text-align: center;
  background-color: #faf9f7;
}

.section-subtitle {
  color: #999;
  margin-bottom: 20px;
  font-weight: 400;
}

.section-title {
  font-weight: 400;
  color: #333;
  margin-bottom: 40px;
}

.cta-button-secondary {
  background-color: #ffa941;
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-button-secondary:hover {
  background-color: #ff9a2e;
  transform: translateY(-2px);
}

/* Services Section */
.services {
  padding: 80px 0;
}

.services-content {
  max-width: 600px;
}

.services-title {
  font-weight: 400;
  color: #333;
  margin-bottom: 30px;
}

.services-description {
  color: #666;
}

/* Testimonials Section */
.testimonials-section {
  padding: 80px 0;
  background-color: #faf9f7;
}

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

.testimonials-badge {
  display: inline-block;
  background-color: #f0f0f0;
  color: #666;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
}

.testimonials-title {
  font-size: 48px;
  font-weight: 400;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.2;
}

.testimonials-subtitle {
  font-size: 18px;
  color: #666;
  margin-bottom: 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.testimonials-slider {
  position: relative;
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 0 60px;
}

.testimonials-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  transition: transform 0.5s ease;
}

.testimonial-card {
  background-color: #f0f0f0;
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 280px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.testimonial-stars {
  font-size: 20px;
  color: #ffa941;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: auto;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
}

.author-name {
  font-size: 16px;
  font-weight: 500;
  color: #333;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #333;
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.slider-nav:hover {
  background-color: #ffa941;
  transform: translateY(-50%) scale(1.1);
}

.slider-prev {
  left: 0;
}

.slider-next {
  right: 0;
}

.testimonials-cta {
  text-align: center;
}

/* Mobile Responsive for Testimonials */
@media (max-width: 1024px) {
  .testimonials-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .testimonial-card:nth-child(n + 3) {
    display: none;
  }
}

@media (max-width: 768px) {
  .testimonials-section {
    padding: 60px 0;
  }

  .testimonials-title {
    font-size: 32px;
  }

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

  .testimonials-slider {
    padding: 0 50px;
    margin-bottom: 40px;
  }

  .testimonials-track {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    padding: 30px;
    min-height: 250px;
  }

  .testimonial-card:nth-child(n + 2) {
    display: none;
  }

  .slider-nav {
    width: 40px;
    height: 40px;
  }

  .slider-nav svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .testimonials-section {
    padding: 40px 0;
  }

  .testimonials-header {
    margin-bottom: 40px;
  }

  .testimonials-title {
    font-size: 28px;
  }

  .testimonials-subtitle {
    font-size: 14px;
  }

  .testimonials-slider {
    padding: 0 45px;
  }

  .testimonial-card {
    padding: 25px;
    min-height: 220px;
  }

  .testimonial-text {
    font-size: 14px;
  }

  .author-avatar {
    width: 40px;
    height: 40px;
  }

  .author-name {
    font-size: 14px;
  }

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

/* Footer */
.blur-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 80px;
  z-index: 5;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  -webkit-mask: linear-gradient(#0000 0%, #000 100%);
  mask: linear-gradient(#0000 0%, #000 100%);
  overflow: visible;
  background: rgba(250, 249, 247, 0.6);
}

footer {
  margin-top: 100px;
  background: #f2f2f2;
  padding: 60px 0px 60px 0px;
}
.footer {
  padding: 80px 0 40px;
  background-color: #f5f5f5;
  border-top: 1px solid #e5e5e5;
}

.footer-grid {
  display: grid;
  grid-template-columns: 50% 25% 25%;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-column-main {
  padding-right: 40px;
}

.footer-logo h2 {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.footer-description {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 30px;
}

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

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: #ffa941;
  color: white;
}

.footer-column-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  text-decoration: none;
  color: #666;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #333;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid #e5e5e5;
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: #999;
  margin: 0;
}

/* Mobile Responsive for Footer */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-column-main {
    grid-column: span 2;
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 60px 0 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
  }

  .footer-column-main {
    grid-column: span 1;
  }

  .footer-description {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 40px 0 20px;
  }

  .footer-grid {
    gap: 30px;
    margin-bottom: 30px;
  }

  .footer-logo h2 {
    font-size: 20px;
  }

  .footer-description {
    font-size: 13px;
  }

  .footer-column-title {
    font-size: 14px;
  }

  .footer-links a {
    font-size: 13px;
  }
}

.contact-icon {
  font-size: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    padding: 120px 0 60px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-description {
    font-size: 14px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .section-title {
    font-size: 28px;
  }

  .services-title {
    font-size: 28px;
  }

  .footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero {
    padding: 100px 0 40px;
  }

  .hero-title {
    font-size: 28px;
  }

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

  .section-title {
    font-size: 24px;
  }

  .services-title {
    font-size: 24px;
  }
}

html {
  scroll-behavior: smooth;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content {
  animation: fadeInUp 1s ease-out;
}



/* Kacheln Section */
.kacheln-section {
  padding: 80px 0;
  background-color: #faf9f7;
}

.kacheln-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Base Kachel Styles */
.kachel {
  background-color: #f0f0f0;
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.kachel.visible {
  opacity: 1;
  transform: translateY(0);
}

.kachel-title {
  font-size: 24px;
  font-weight: 500;
  color: #333;
  line-height: 1.3;
}

.kachel-text {
  font-size: 16px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 0;
}

/* Tile 1: Team - spans 2 columns */
.kachel-team {
  grid-column: span 2;
}

.kachel-lines {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.line-container {
  position: relative;
  display: flex;
  align-items: center;
  height: 3px;
  background-color: #d0d0d0;
  border-radius: 2px;
  overflow: visible;
}

.animated-line {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background-color: #333;
  border-radius: 2px;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.kachel.visible .animated-line {
  width: 70%;
}

.line-icon {
  position: absolute;
  font-size: 24px;
  transform: translateX(-50%);
  opacity: 0;
  transition: all 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.kachel.visible .star-icon {
  left: 70%;
  opacity: 1;
}

.kachel.visible .heart-icon {
  left: 70%;
  opacity: 1;
}

/* Tile 2: Transparent */
.kachel-transparent {
  grid-column: span 1;
  padding: 0 !important;
}

.kachel-image {
  width: 100%;
  height: 200px;
  border-radius: 15px;
  overflow: hidden;
}

.kachel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.kachel:hover .kachel-image img {
  transform: scale(1.05);
}

/* Tile 3: Trust */
.kachel-trust {
  grid-column: span 1;
  grid-row: span 2;
  justify-content: center;
}

.kachel-emoji {
  font-size: 48px;
  text-align: center;
}

/* Tile 4: Award */
.kachel-award {
  grid-column: span 1;
  text-align: center;
}

.kachel-trophy {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kachel-trophy img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Tile 5: Patients */
.kachel-patients {
  grid-column: span 1;
  text-align: center;
  justify-content: center;
}

.kachel-stars {
  font-size: 20px;
  color: #ffa941;
  margin-bottom: 10px;
}

.kachel-number {
  font-size: 64px;
  font-weight: 600;
  color: #333;
  margin: 10px 0;
  line-height: 1;
}

/* Tile 6: Focus */
.kachel-focus {
  grid-column: span 1;
  justify-content: space-between;
}

.kachel-circle {
  width: 100%;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.circle-graphic {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b9a8f 0%, #5e6b64 50%, #3a4540 100%);
  position: relative;
  overflow: hidden;
}

.circle-graphic::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5e6b64 0%, #3a4540 100%);
}

/* Scale animation for specific tiles */
.kachel[data-animation="scale-up"] {
  transform: scale(0.9) translateY(30px);
}

.kachel[data-animation="scale-up"].visible {
  transform: scale(1) translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .kacheln-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .kachel-team,
  .kachel-transparent,
  .kachel-trust,
  .kachel-award,
  .kachel-patients,
  .kachel-focus {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }

  .kachel {
    padding: 30px;
  }

  .kachel-title {
    font-size: 20px;
  }

  .kachel-number {
    font-size: 48px;
  }

  .kachel-circle {
    height: 120px;
  }

  .circle-graphic {
    width: 100px;
    height: 100px;
  }

  .circle-graphic::before {
    width: 65px;
    height: 65px;
  }
}

@media (max-width: 480px) {
  .kacheln-section {
    padding: 60px 0;
  }

  .kachel {
    padding: 25px;
  }

  .kachel-title {
    font-size: 18px;
  }

  .kachel-text {
    font-size: 14px;
  }
}

/* News Section */
.news-section {
  padding: 80px 0;
  background-color: #faf9f7;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

/* Featured Article - spans 2 columns */

/* Featured Article - spans all 3 columns for first row */
.news-featured {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.news-featured-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-featured-title {
  font-size: 32px;
  font-weight: 500;
  color: #333;
  line-height: 1.3;
}

.news-featured-text {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 0;
}

.news-featured-image {
  width: 100%;
  height: 320px;
  border-radius: 15px;
  overflow: hidden;
}

.news-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-featured:hover .news-featured-image img {
  transform: scale(1.05);
}

.news-featured-main {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.news-featured-main-image {
  width: 100%;
  height: 350px;
  border-radius: 15px;
  overflow: hidden;
}

.news-featured-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-featured:hover .news-featured-main-image img {
  transform: scale(1.05);
}

/* News Cards */
.news-card {
  display: flex;
  flex-direction: column;
  gap: 15px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
}

.news-card-image {
  width: 100%;
  height: 300px;
  border-radius: 15px;
  overflow: hidden;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-card:hover .news-card-image img {
  transform: scale(1.05);
}

/* News Meta */
.news-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.news-tag {
  display: inline-block;
  background-color: #f0f0f0;
  color: #999;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.news-date {
  font-size: 14px;
  color: #999;
}

.news-title {
  font-size: 20px;
  font-weight: 500;
  color: #333;
  line-height: 1.4;
}

.news-text {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Mobile Responsive for News Section */
@media (max-width: 1024px) {
  .news-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .news-featured {
    grid-column: span 1;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .news-featured-main-image {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .news-section {
    padding: 60px 0;
  }

  .news-grid {
    gap: 30px;
  }

  .news-featured-title {
    font-size: 24px;
  }

  .news-featured-image {
    height: 200px;
  }

  .news-featured-main-image {
    height: 250px;
  }

  .news-card-image {
    height: 250px;
  }

  .news-title {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .news-section {
    padding: 40px 0;
  }

  .news-featured-title {
    font-size: 20px;
  }

  .news-featured-text,
  .news-text {
    font-size: 14px;
  }

  .news-featured-image,
  .news-featured-main-image,
  .news-card-image {
    height: 200px;
  }

  .news-title {
    font-size: 16px;
  }
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
  background-color: #faf9f7;
}

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

.faq-badge {
  display: inline-block;
  background-color: #f0f0f0;
  color: #666;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
}

.faq-title {
  font-size: 48px;
  font-weight: 400;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.2;
}

.faq-subtitle {
  font-size: 18px;
  color: #666;
  margin-bottom: 0;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid #e5e5e5;
  padding: 30px 0;
}

.faq-item:first-child {
  border-top: 1px solid #e5e5e5;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 20px;
}

.faq-question h3 {
  font-size: 20px;
  font-weight: 400;
  color: #333;
  margin: 0;
  flex: 1;
}

.faq-toggle {
  background: #f0f0f0;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
  flex-shrink: 0;
}

.faq-toggle:hover {
  background-color: #e5e5e5;
}

.faq-icon {
  font-size: 24px;
  color: #333;
  font-weight: 300;
  line-height: 1;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-top: 20px;
}

.faq-answer p {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* Mobile Responsive for FAQ */
@media (max-width: 768px) {
  .faq-section {
    padding: 60px 0;
  }

  .faq-title {
    font-size: 32px;
  }

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

  .faq-item {
    padding: 25px 0;
  }

  .faq-question h3 {
    font-size: 18px;
  }

  .faq-toggle {
    width: 36px;
    height: 36px;
  }

  .faq-icon {
    font-size: 20px;
  }

  .faq-answer p {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .faq-section {
    padding: 40px 0;
  }

  .faq-header {
    margin-bottom: 40px;
  }

  .faq-title {
    font-size: 28px;
  }

  .faq-subtitle {
    font-size: 14px;
  }

  .faq-item {
    padding: 20px 0;
  }

  .faq-question h3 {
    font-size: 16px;
  }

  .faq-toggle {
    width: 32px;
    height: 32px;
  }
}

/* Image Link Hover Arrow Effect */
.image-link-wrapper {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 15px;
}

.image-link-arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translate(20px, -20px) rotate(-45deg);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.image-link-arrow svg {
  width: 24px;
  height: 24px;
  stroke: #333;
  stroke-width: 2;
  fill: none;
  transition: transform 0.3s ease;
}

.image-link-wrapper:hover .image-link-arrow {
  opacity: 1;
  transform: translate(0, 0) rotate(0deg);
}

.image-link-wrapper:hover .image-link-arrow svg {
  transform: translate(2px, -2px);
}

/* Optional: Add overlay effect on hover */
.image-link-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
  pointer-events: none;
}

.image-link-wrapper:hover::after {
  background: rgba(0, 0, 0, 0.05);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .image-link-arrow {
    width: 40px;
    height: 40px;
    top: 15px;
    right: 15px;
  }

  .image-link-arrow svg {
    width: 20px;
    height: 20px;
  }
}

/* Treatment Page Styles */

/* Treatment Hero Section */
.treatment-hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 80px;
}

.treatment-hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.treatment-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.treatment-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
  z-index: 2;
}

.treatment-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
}

.treatment-badge {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
}

.treatment-hero-title {
  font-size: 72px;
  font-weight: 400;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.treatment-hero-subtitle {
  font-size: 24px;
  font-weight: 300;
  margin-bottom: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Treatment Intro Section */
.treatment-intro {
  padding: 100px 0;
  background-color: #faf9f7;
}

.treatment-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.treatment-intro-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.treatment-intro-image {
  border-radius: 20px;
  overflow: hidden;
  height: 500px;
}

.treatment-intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Treatment Benefits Section */
.treatment-benefits {
  padding: 100px 0;
  background-color: #f5f5f5;
}

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

.treatment-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.benefit-card {
  background-color: white;
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.benefit-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.benefit-card h3 {
  font-size: 20px;
  font-weight: 500;
  color: #333;
  margin-bottom: 15px;
}

.benefit-card p {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Treatment Process Section */
.treatment-process {
  padding: 100px 0;
  background-color: #faf9f7;
}

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

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step::after {
  content: "";
  position: absolute;
  top: 40px;
  right: -20px;
  width: 40px;
  height: 2px;
  background-color: #e5e5e5;
}

.process-step:last-child::after {
  display: none;
}

.process-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #ffa941;
  color: white;
  font-size: 32px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.process-step h3 {
  font-size: 20px;
  font-weight: 500;
  color: #333;
  margin-bottom: 15px;
}

.process-step p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Treatment Results Section */
.treatment-results {
  padding: 100px 0;
  background-color: #f5f5f5;
}

.treatment-results-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.results-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.results-image {
  border-radius: 20px;
  overflow: hidden;
  height: 600px;
}

.results-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Treatment CTA Section */
.treatment-cta {
  padding: 100px 0;
  background-color: #333;
  text-align: center;
}

.treatment-cta-content h2 {
  color: white;
  font-size: 48px;
  font-weight: 400;
  margin-bottom: 20px;
}

.treatment-cta-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  margin-bottom: 40px;
}

/* Mobile Responsive for Treatment Pages */
@media (max-width: 1024px) {
  .treatment-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-step::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .treatment-hero {
    height: 60vh;
    min-height: 400px;
  }

  .treatment-hero-title {
    font-size: 48px;
  }

  .treatment-hero-subtitle {
    font-size: 18px;
  }

  .treatment-intro {
    padding: 60px 0;
  }

  .treatment-intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .treatment-intro-image {
    height: 400px;
  }

  .treatment-benefits {
    padding: 60px 0;
  }

  .treatment-benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .benefit-card {
    padding: 30px;
  }

  .treatment-process {
    padding: 60px 0;
  }

  .process-timeline {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .treatment-results {
    padding: 60px 0;
  }

  .treatment-results-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .results-image {
    height: 400px;
  }

  .treatment-cta {
    padding: 60px 0;
  }

  .treatment-cta-content h2 {
    font-size: 32px;
  }

  .treatment-cta-content p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .treatment-hero {
    height: 50vh;
    min-height: 350px;
  }

  .treatment-hero-title {
    font-size: 36px;
  }

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

  .treatment-intro {
    padding: 40px 0;
  }

  .treatment-intro-image {
    height: 300px;
  }

  .treatment-benefits {
    padding: 40px 0;
  }

  .benefit-card {
    padding: 25px;
  }

  .benefit-icon {
    font-size: 36px;
  }

  .benefit-card h3 {
    font-size: 18px;
  }

  .benefit-card p {
    font-size: 14px;
  }

  .treatment-process {
    padding: 40px 0;
  }

  .process-number {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }

  .process-step h3 {
    font-size: 18px;
  }

  .process-step p {
    font-size: 13px;
  }

  .treatment-results {
    padding: 40px 0;
  }

  .results-image {
    height: 300px;
  }

  .treatment-cta {
    padding: 40px 0;
  }

  .treatment-cta-content h2 {
    font-size: 28px;
  }

  .treatment-cta-content p {
    font-size: 14px;
  }
}

/* Contact Section */
.contact-section {
  padding: 100px 0;
}

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

.contact-badge {
  display: inline-block;
  background-color: #f0f0f0;
  color: #666;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
}

.contact-title {
  font-size: 48px;
  font-weight: 400;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.2;
}

.contact-subtitle {
  font-size: 18px;
  color: #666;
  margin-bottom: 0;
}

.contact-form-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: 30px;
  padding: 60px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* Progress Bar */
.form-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 60px;
  position: relative;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 2;
}

.progress-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #f0f0f0;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 18px;
  transition: all 0.3s ease;
}

.progress-step.active .progress-circle {
  background-color: #ffa941;
  color: white;
  transform: scale(1.1);
}

.progress-step.completed .progress-circle {
  background-color: #4caf50;
  color: white;
}

.progress-step.completed .progress-circle::after {
  content: "✓";
  font-size: 20px;
}

.progress-label {
  font-size: 12px;
  color: #999;
  font-weight: 500;
  white-space: nowrap;
}

.progress-step.active .progress-label {
  color: #333;
  font-weight: 600;
}

.progress-line {
  flex: 1;
  height: 2px;
  background-color: #e5e5e5;
  position: relative;
  margin: 0 -10px;
  z-index: 1;
  transition: background-color 0.3s ease;
}

.progress-line.completed {
  background-color: #4caf50;
}

/* Form Steps */
.contact-form {
  position: relative;
  min-height: 400px;
}

.form-step {
  display: none;
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-step.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

.step-title {
  font-size: 28px;
  font-weight: 400;
  color: #333;
  margin-bottom: 30px;
  text-align: center;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  font-size: 16px;
  font-family: "Poppins", sans-serif;
  color: #333;
  transition: all 0.3s ease;
  background-color: #faf9f7;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ffa941;
  background-color: white;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #ff4444;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-group {
  margin-top: 30px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  color: #666;
}

.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  cursor: pointer;
  flex-shrink: 0;
}

.checkbox-label.error {
  color: #ff4444;
}

.checkbox-label a {
  color: #ffa941;
  text-decoration: none;
}

.checkbox-label a:hover {
  text-decoration: underline;
}

/* Form Actions */
.form-actions {
  display: flex;
  gap: 15px;
  margin-top: 40px;
  justify-content: center;
}

.btn-next,
.btn-back,
.btn-submit,
.btn-reset {
  padding: 14px 32px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-family: "Poppins", sans-serif;
}

.btn-next,
.btn-submit {
  background-color: #ffa941;
  color: white;
  min-width: 150px;
}

.btn-next:hover,
.btn-submit:hover {
  background-color: #ff9a2e;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 169, 65, 0.3);
}

.btn-back {
  background-color: #f0f0f0;
  color: #666;
}

.btn-back:hover {
  background-color: #e5e5e5;
}

.btn-reset {
  background-color: #ffa941;
  color: white;
  margin-top: 20px;
}

.btn-reset:hover {
  background-color: #ff9a2e;
}

/* Success Message */
.success-message {
  text-align: center;
  padding: 40px 20px;
}

.success-icon {
  margin-bottom: 30px;
  animation: scaleIn 0.5s ease;
}

.success-icon svg {
  filter: drop-shadow(0 5px 15px rgba(255, 169, 65, 0.3));
}

.success-title {
  font-size: 32px;
  font-weight: 400;
  color: #333;
  margin-bottom: 15px;
}

.success-text {
  font-size: 16px;
  color: #666;
  margin-bottom: 0;
}

/* Animations */
@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-10px);
  }
  75% {
    transform: translateX(10px);
  }
}

@keyframes scaleIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .contact-form-wrapper {
    padding: 40px 30px;
    border-radius: 20px;
  }

  .contact-title {
    font-size: 32px;
  }

  .step-title {
    font-size: 24px;
  }

  .form-progress {
    margin-bottom: 40px;
  }

  .progress-circle {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .progress-label {
    font-size: 10px;
  }

  .form-actions {
    flex-direction: column;
  }

  .btn-next,
  .btn-back,
  .btn-submit {
    width: 100%;
  }

  .form-actions .btn-back {
    order: 2;
  }

  .form-actions .btn-next,
  .form-actions .btn-submit {
    order: 1;
  }
}

@media (max-width: 480px) {
  .contact-section {
    padding: 60px 0;
  }

  .contact-form-wrapper {
    padding: 30px 20px;
  }

  .progress-label {
    display: none;
  }
}

/* Video Modal */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.video-modal.active {
  opacity: 1;
  visibility: visible;
}

.video-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 1200px;
  background: white;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10000;
}

.video-modal.active .video-modal-content {
  transform: scale(1);
}

.video-modal-close {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 50px;
  height: 50px;
  background: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 10001;
}

.video-modal-close:hover {
  transform: rotate(90deg) scale(1.1);
  background: #ffa941;
}

.video-modal-close svg {
  stroke: #333;
  transition: stroke 0.3s ease;
}

.video-modal-close:hover svg {
  stroke: white;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  border-radius: 15px;
  overflow: hidden;
  background: #000;
}

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

/* Mobile adjustments */
@media (max-width: 768px) {
  .video-modal-content {
    width: 95%;
    padding: 15px;
    border-radius: 15px;
  }

  .video-modal-close {
    width: 40px;
    height: 40px;
    top: -10px;
    right: -10px;
  }

  .video-modal-close svg {
    width: 20px;
    height: 20px;
  }

  .video-container {
    border-radius: 10px;
  }
}

/* Adding pulse animation for video button */
@keyframes pulse-glow {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 169, 65, 0.7);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 20px 10px rgba(255, 169, 65, 0);
  }
}

.pulse-animation {
  animation: pulse-glow 2s ease-in-out infinite;
  position: relative;
}

.pulse-animation::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 27px;
  background: linear-gradient(45deg, #ffa941, #ffb961, #ffa941);
  opacity: 0;
  z-index: -1;
  animation: pulse-ring 2s ease-in-out infinite;
}

@keyframes pulse-ring {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.95);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.1);
  }
}


/* Before/After Section */
.before-after-section {
  padding: 80px 0;
  background-color: #faf9f7;
}

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

.before-after-badge {
  display: inline-block;
  background-color: #f0f0f0;
  color: #666;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
}

.before-after-title {
  font-size: 48px;
  font-weight: 400;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.2;
}

.before-after-subtitle {
  font-size: 18px;
  color: #666;
  margin-bottom: 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.before-after-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.comparison-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.comparison-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
}

.comparison-before,
.comparison-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comparison-after {
  clip-path: inset(0 50% 0 0);
}

.comparison-slider {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background-color: white;
  transform: translateX(-50%);
  z-index: 10;
  pointer-events: none;
}

.slider-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background-color: #ffa941;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(255, 169, 65, 0.4);
  pointer-events: auto;
  cursor: ew-resize;
  transition: transform 0.2s ease;
}

.slider-button:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.slider-button svg {
  width: 24px;
  height: 24px;
}

.comparison-labels {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

.label-before,
.label-after {
  padding: 6px 12px;
  background-color: #f0f0f0;
  border-radius: 15px;
}

.comparison-title {
  font-size: 20px;
  font-weight: 500;
  color: #333;
  text-align: center;
  margin: 0;
}

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

@media (max-width: 768px) {
  .before-after-section {
    padding: 60px 0;
  }

  .before-after-title {
    font-size: 32px;
  }

  .before-after-subtitle {
    font-size: 16px;
  }

  .before-after-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .slider-button {
    width: 40px;
    height: 40px;
  }

  .slider-button svg {
    width: 20px;
    height: 20px;
  }
}
