@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

    body, html { margin: 0; padding: 0; font-family: 'Morga', sans-serif; }
    #root { overflow-x: hidden; }
    button { cursor: pointer; }


    .timer {
  color: #ffffff; /* or white */
  font-family: monospace;
}


.header {
  /* Remove 'position: fixed' and related positioning */
  height: 100px;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
    margin-top: 60px; /* Adjust based on the top-strip height */

}


    .logo-image {
  height: 60px;
  max-width: 100%;
  object-fit: contain;
}

.map-icon {
  height: 40px;
  max-width: 100%;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 8px;
}

@media (max-width: 600px) {


  .header {
  /* Remove 'position: fixed' and related positioning */
  
    margin-top: 80px; /* Adjust based on the top-strip height */

}

  .logo-image {
    height: 40px; /* shrink on small screens */
  }

  .map-icon {
    height: 30px;
  }
}


/* Group map icon and call button together */
.right-icons {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Hide call button on mobile */
.call-web-only {
  display: none;
}

@media (min-width: 600px) {
  .call-web-only {
    display: block;
  }

  .call-button {
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #fff;
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
    transition: all 0.3s ease;
  }

  .call-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(234, 88, 12, 0.4);
  }
}


.nav-tabs {
  position: sticky;
  top: 100px;
  background-color: transparent;
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  justify-content: center;
  gap: 20px;
  padding: 12px 20px;
  border-bottom: 1px solid #eaeaea;
  z-index: 999;
}

.nav-tabs button {
  background: rgb(163, 163, 214);
  border: none;
  padding: 8px 16px;
  font-size: 1rem;
  
  color: #000000;
  font-weight: 700;
  border-radius: 20px;
  transition: background 0.3s, color 0.3s;
  white-space: nowrap;
}

.nav-tabs button:hover {
  background-color: #007bff20;
  color: #007bff;
}

.nav-tabs button:focus {
  outline: none;
  background-color: #007bff;
  color: #fff;
  
}

.hero {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 50px 60px 30px;
background: linear-gradient(to bottom, hsl(22, 100%, 81%), #fdfdfd);
  
  gap: 40px;
  flex-wrap: wrap;
}


.hero .text {
  flex: 1;
  max-width: 500px;
}

.hero .text h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #f97316; /* Vibrant orange */
  font-weight: 900;
  letter-spacing: -0.5px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.hero .text p {
  font-size: 1.125rem;
  color: #334155; /* Slightly darker slate for better readability */
  margin-bottom: 30px;
  line-height: 1.8;
  font-weight: 400;
  letter-spacing: 0.2px;
}


.hero .text button {
  padding: 14px 28px;
  background-color: #007bff;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.hero .text button:hover {
  background-color: #005dc1;
}


.hero .image {
  flex: 1;
  max-width: 600px;
  display: flex;
  justify-content: center;
}

.hero .image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}




@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    padding: 50px 20px 40px; /* 👈 Increased top padding */
    text-align: center;
    gap: 30px;
  }

  .hero .text,
  .hero .image {
    max-width: 100%;
    width: 100%;
  }

  .hero .text h1 {
    font-size: 2rem;
    padding: 0 10px;
    margin-top: 20px; /* 👈 Optional: extra margin on h1 */
  }

  .hero .text p {
    padding: 0 10px;
  }

  .hero .text button {
    width: 90%;
    max-width: 300px;
    margin: auto;
  }
}


.team {
  padding: 30px 20px;
}

.team h2 {
  text-align: center;
  margin-bottom: 30px;
}


.team-card img {
  width: 100%;
  height: 220px; /* You can adjust this value */
  object-fit: cover;
  border-radius: 8px;
}


    
.issues {
  padding: 20px 20px;
  margin-bottom: 70px;
  background: linear-gradient(to bottom, #ffffff 0%, #6b96d8 30%, #3675d4 70%, #ffffff 100%);
}

    .issues h2 { text-align: center; margin-bottom: 30px; }

    .issue-card img {
  width: 100%;
  height: 220px; /* Adjust as needed */
  object-fit: cover;
 
  border-radius: 8px;
  margin-bottom: 12px;
}



.how {
  padding: 80px 20px;
  background: #f8fafc;
  text-align: center;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto 0;
}

.step-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.step-card:hover {
  transform: translateY(-6px);
}

.step-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  background-color: #ddd;
}

.step-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.step-number {
  width: 40px;
  height: 40px;
  background: #007bff;
  color: #fff;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.step-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1e293b;
}

.step-description {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.4;
}

/* CTA Button */
.cta-button {
  margin-top: 50px;
  padding: 14px 28px;
  background-color: #007bff;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.cta-button:hover {
  background-color: #005dc1;
}

/* Responsive Design */
@media (max-width: 768px) {
  .step-card {
    text-align: center;
  }

  .step-number {
    margin: 0 auto;
  }

  .step-content {
    align-items: center;
    text-align: center;
  }
}




    .usps { padding: 0px 0px; display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; }
  .map {
  padding: 0;
  margin: 0;
  width: 100%;
}

.map iframe {
  width: 100%;
  height: 500px;
  border: 0;
  display: block;
}

.footer {
  background-color: #02014e; /* deep maroon like xyz */
  color: #000000;            /* soft white text */
  padding: 60px 60px 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  border-top: 2px solid #f97316; /* optional orange accent */
  font-family: 'Segoe UI', sans-serif;
 
}

.footer h4 {
  font-size: 1rem;
  margin-bottom: 14px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer a {
  display: block;
  margin-bottom: 10px;
  color: #f1f5f9;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #facc15; /* gold-yellow hover effect */
}

.footer-credit {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 40px;
  font-size: 0.85rem;
  color: #cbd5e1;
   margin-bottom: 40px;
}

.footer-credit a {
  color: #f97316;
  text-decoration: none;
}

.footer-credit a:hover {
  text-decoration: underline;
}

/* Responsive button styling at the bottom (if you keep it) */
.footer .appointment-button {
  display: block;
  margin: 20px auto 0;
  background: #2563eb;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  max-width: 240px;
  transition: background 0.3s;
}

.footer .appointment-button:hover {
  background: #1d4ed8;
}

.bottom-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: transparent;
  padding: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.bottom-banner-button {
  position: relative;
  display: inline-block;
  padding: 14px 32px;
  background: linear-gradient(135deg, #8faece, #0b131f);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 123, 255, 0.3);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  overflow: hidden;
  z-index: 99999;
}

/* Glowing Border Animation */
.bottom-banner-button::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #00ffff, #007bff, #ff00ff, #007bff, #00ffff);
  background-size: 400%;
  z-index: -1;
  filter: blur(4px);
  animation: glowMove 6s linear infinite;
  border-radius: 14px;
}

/* Inner mask to keep inner content sharp */
.bottom-banner-button::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  background: linear-gradient(135deg, #007bff, #0056d2);
  border-radius: 10px;
  z-index: -1;
}

/* Hover & Tap Effect */
.bottom-banner-button:hover,
.bottom-banner-button:focus {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4);
}

/* Animation Keyframes */
@keyframes glowMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
  .bottom-banner-button {
    padding: 12px 20px;
    font-size: 15px;
    width: 100%;
    text-align: center;
    border-radius: 10px;
  }
}

.bottom-banner-button:hover {
  background: linear-gradient(135deg, #0056d2, #003e99);
  box-shadow: 0 8px 20px rgba(0, 86, 210, 0.4);
}


    .widgets { position: fixed; left: 10px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; padding: 10px; border-radius: 20px; background: black; z-index: 10000;}
  
  
 h2 {
font-size: clamp(1.9rem, 2vw + 1rem, 2.8rem);

  font-weight: 700;
  color: #ff5e00;
  text-align: center;
  
  letter-spacing: 0.05em;
  border-bottom: 2px solid #007bff;
  padding-bottom: 12px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  transition: color 0.3s ease;
}

h2:hover {
  color: #0056b3;
  border-color: #0056b3;
  cursor: default;
}



.table-scroll {
  width: 100%;
  overflow-x: auto;
}

.feature-table {
  min-width: 500px; /* Force horizontal scroll if screen is too narrow */
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.table-scroll::-webkit-scrollbar {
  height: 6px;
}

.table-scroll::-webkit-scrollbar-thumb {
  background-color: #cbd5e1;
  border-radius: 4px;
}


.feature-table th,
.feature-table td {
  padding: 16px 20px;
  text-align: center;
  font-size: 1rem;
  color: #1e293b;
  border-bottom: 1px solid #e2e8f0;
}

.feature-table th:first-child,
.feature-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: #0f172a;
}

.feature-table thead {
  background: #f1f5f9;
}

.tick {
  color: #10b981; /* Tailwind green-500 */
  font-size: 1.2rem;
  font-weight: bold;
}

.cross {
  color: #ef4444; /* Tailwind red-500 */
  font-size: 1.2rem;
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  .feature-table th,
  .feature-table td {
    font-size: 0.9rem;
    padding: 12px 10px;
  }

  .feature-table th:nth-child(2),
  .feature-table th:nth-child(3),
  .feature-table td:nth-child(2),
  .feature-table td:nth-child(3) {
    white-space: nowrap;
  }
}


body, html {
  margin: 0;
  padding: 0;
}

.top-strip {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw; /* Use viewport width for true full width */
  background: #0f0f0f;
  color: #f97316;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  z-index: 9999;
  border-bottom: 2px solid #f97316;
  padding: 20px 10px;
  line-height: 1.4;
  white-space: normal;
  word-break: break-word;
  box-sizing: border-box;
}


.treatment-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  padding: 40px 0px;
  background: #f8fafc;
  max-width: 1200px;
  margin: 0 auto;
}

.treatment-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  padding: 24px;
  text-align: center;
  transition: transform 0.3s ease;
}

.treatment-card:hover {
  transform: translateY(-5px);
}

.treatment-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #1e293b;
}

.old-price {
  text-decoration: line-through;
  color: #9ca3af;
  font-weight: 500;
   font-size: clamp(2rem, 5vw, 3rem);

  margin-left: 8px;
}

.new-price {
  color: #ff6600;
  font-weight: 700;
 font-size: clamp(2rem, 5vw, 3rem);

  margin-left: 6px;
}

.emi-info {
  color: #ff6600;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.treatment-swiper {
  width: 100%;
  max-width: 300px;
  margin: 0 auto 20px;
  border-radius: 12px;
  overflow: hidden;
}

.treatment-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
}

.treatment-benefits {
  text-align: left;
  padding: 0 16px;
  margin-top: 24px;
  color: #334155; /* slightly deeper slate tone */
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  line-height: 1.75;
  list-style: none;
  counter-reset: benefit-counter;
}

.treatment-benefits li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 28px;
  font-weight: 500;
}

.treatment-benefits li::before {
  counter-increment: benefit-counter;
  content: '✔';
  position: absolute;
  left: 0;
  top: 0.1em;
  color: #10b981; /* emerald green tick */
  font-size: 1rem;
  font-weight: bold;
}

.treatment-description {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: #475569;
  margin: 20px 16px;
  line-height: 1.8;
  font-weight: 400;
  background: linear-gradient(to right, #f9fafb, #ffffff);
  padding: 12px 16px;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.03);
  transition: background 0.3s ease;
}

.treatment-description:hover {
  background: linear-gradient(to right, #fff7ed, #fffbeb); /* soft amber glow on hover */
}

.treatment-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}

.btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.call-btn {
  background-color: #10b981;
  color: white;
}

.call-btn:hover {
  background-color: #0f766e;
}

.book-btn {
  background-color: #3b82f6;
  color: white;
}

.book-btn:hover {
  background-color: #2563eb;
}

/* Mobile tweaks */
@media (max-width: 600px) {
  .treatment-img {
    height: 220px;
  }

  .treatment-title {
    font-size: 1.5rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .treatment-benefits {
    font-size: 0.95rem;
    padding: 0 4px;
  }
}


.video-section {
  background-image: url('/images/footer.webp'); /* ✅ use your correct image path here */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh; /* ensures background is visible */
  position: relative;
  z-index: 1;
}

.video-wrapper {
  width: 100%;
  max-width: 600px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  background: #000; /* fallback for better visual containment */
}

.video-wrapper video {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}


/* Mobile-specific overrides */
@media (max-width: 640px) {
  .video-section {
    padding: 40px 16px;
    min-height: auto; /* removes the 70vh restriction */
  }
}




.braces-section {
  background: #0de0e065;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
}

.braces-content {
  max-width: 1200px;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.braces-image {
  flex: 1 1 300px;
  max-width: 500px;
}

.braces-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  object-fit: cover;
}

.braces-text {
  flex: 1 1 300px;
}

.braces-text h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 16px;
  text-align: left;
}

.braces-text p {
  font-size: 1.1rem;
  color: #041c3b;
  margin-bottom: 20px;
  line-height: 1.7;
}

.braces-benefits {
  list-style-type: disc;
  padding-left: 20px;
  color: #041c3b;
  font-size: 1rem;
  line-height: 1.6;
}

.braces-benefits li {
  margin-bottom: 10px;
  font-weight: 500;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .braces-content {
    flex-direction: column;
    gap: 32px;
  }

  .braces-text {
    text-align: left;
  }

  .braces-benefits {
    padding-left: 0;
    list-style-position: inside;
  }
}




.product-section {
  padding: 40px 20px;
  background-color: #fff;
  color: #000;
  max-width: 1200px;
  margin: auto;
}

.product-section h2 {
font-size: clamp(1.9rem, 2vw + 1rem, 2.8rem);
  font-weight: 800;
  margin-bottom: 30px;
  text-align: center;
}

.product-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

.product-image {
  width: 100%;
  max-width: 600px;
 
  border-radius: 12px;
  object-fit: cover;
}

.product-details {
  flex: 1;
  min-width: 280px;
}

.product-details h3 {
  font-size: 22px;
  margin-bottom: 10px;
  font-weight: 700;
}

.product-details p {
  font-size: 16px;
  line-height: 1.6;
}

.parallax-section {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.desktop-bg {
  background-image: url('/images/collage.webp');
  background-attachment: fixed;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  padding-top: 56.25%; /* 9 / 16 * 100 */
  position: relative;
}


/* Mobile Background (replaces desktop one on small screens) */
.mobile-bg {
  background-image: url('/images/collage.webp');
  background-size: cover;
  background-position: center;
  width: 100%;
  height: auto;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  display: none;
}

/* Text Overlay */
.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  z-index: 2;
  padding: 1rem;
}

.overlay-text h1 {
  font-size: 3rem;
  margin: 0;
}

.overlay-text p {
  font-size: 1.5rem;
  margin-top: 0.5rem;
}

/* Mobile Overrides */
@media (max-width: 768px) {
  .desktop-bg {
    display: none;
  }

  .mobile-bg {
    display: block;
  }

  .overlay-text h1 {
    font-size: 2rem;
  }

  .overlay-text p {
    font-size: 1rem;
  }
}

.testimonial-section {
  padding: 40px 20px;
  background: #68faf38e;
 
}


.testimonial-container {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  padding-bottom: 10px;
 
  scroll-snap-type: x mandatory;
}


.testimonial-card {
  flex: 0 0 auto;
  scroll-snap-align: start;
  background: rgba(255, 255, 255, 0);
  
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  
  padding: 24px;
  width: 300px;
  max-width: 340px;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  font-family: 'Inter', sans-serif;
  color: #e2e8f0;
  overflow: hidden;
 
}

/* Accent bar on the left side */
.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, #6366f1, #ec4899);
  border-radius: 12px 0 0 12px;
}

/* Hover effect */
.testimonial-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Responsive enhancements */
@media (max-width: 500px) {
  .testimonial-card {
    width: 90%;
    max-width: 100%;
  }
}



.review-stars {
  font-size: 1.1rem;
  color: #fbbf24;
  margin-bottom: 10px;
}

.review-text {
  color: #334155;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.review-author {
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 6px;
}

.review-link {
  font-size: 0.85rem;
  color: #3b82f6;
  text-decoration: underline;
}


.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.modal-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f1f5f9;
  padding: 32px;
  border-radius: 20px;
  max-width: 90%;
  width: 440px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: modalFadeIn 0.4s ease-out;
}

@keyframes modalFadeIn {
  from {
    transform: scale(0.95) translateY(10px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  background: rgba(239, 68, 68, 0.9);
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.modal-close:hover {
  background: rgba(239, 68, 68, 1);
  transform: scale(1.05);
}

.modal-content {
  font-size: 16px;
  line-height: 1.6;
  color: #e2e8f0;
  text-align: center;
}

@media (prefers-color-scheme: light) {
  .modal-card {
    background: rgba(255, 255, 255, 0.9);
    color: #1e293b;
    border: 1px solid rgba(0, 0, 0, 0.1);
  }

  .modal-close {
    background: rgba(239, 68, 68, 0.9);
  }

  .modal-close:hover {
    background: rgba(239, 68, 68, 1);
  }

  .modal-content {
    color: #1f2937;
  }
}

/* Scroll Wrapper */
.testimonial-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Scroll Buttons */
.scroll-btn {
  background: #0f172a;
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 1;
  transition: background 0.3s;
}

.scroll-btn:hover {
  background: #1e40af;
}

/* Hide buttons on small screens */
@media (max-width: 500px) {
  .scroll-btn {
    display: none;
  }
}

.testimonial-container {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 16px;
  padding: 10px 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; /* Firefox */
}

/* Hide scrollbar visually but allow scroll (desktop only) */
@media (min-width: 768px) {
  .testimonial-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari/Edge */
  }
  .testimonial-container {
    -ms-overflow-style: none; /* IE/Edge */
    scrollbar-width: none;    /* Firefox */
  }
}

/* Prevent background scroll */
.no-scroll {
  overflow: hidden;
  height: 100vh;
}
