html, body {
  overflow-x: hidden;
  width: 100%;
}
/* jjjjjjin hhhh*/


:root {
  --primary-color: #ec4415;
  --bg-light: #ffffff;
  --text-light: #000000;
  --bg-dark: #121212;
  --text-dark: #ffffff;
}
.logo-img {
   max-height: 50px;
  transform: scale(1.8);       /* Zoom in logo */
  transform-origin: center;
  margin-top: 12px;  
  image-rendering: auto;
  margin-left: 32px; 
  margin-bottom: 15px; 
  margin-right: 30px;
   /* Keep it centered */    /* Keep it centered */
}

.navbar .brand {
  display: flex;
  align-items: center;
  padding: 4px 0;
}
/*kkkkkkkkkkkk  */
/*  */
/*  */
.heading {
  text-align: center;
  padding: 40px 20px;
}

body.light-mode .heading {
  background-color: var(--bg-light);
  color: var(--text-light);
}

.heading h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  /* Remove or comment out these lines as JS will handle visibility */
  /* opacity: 0; */
  /* transition: opacity 2s ease-in; */
}

/* You can also remove this class if it's no longer used for fade-in */
/* .heading h1.fade-in {
  opacity: 1;
} */

/* Class to trigger the fade-in */
.heading h1.fade-in {
  opacity: 1;
}

.heading p {
  font-size: 1.3rem;
  max-width: 800px;
  margin: auto;
}

body {
    overflow-x: hidden;
  }

  .form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 0 1rem;
  }

  .form-container iframe {
    width: 100%;
    max-width: 500px;
    height: 500px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  }

  @media (max-width: 768px) {
    .nav-links {
      display: none;
      flex-direction: column;
      width: 100%;
      text-align: center;
      background-color: inherit;
      position: absolute;
      top: 60px;
      left: 0;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-links.show {
      display: flex;
    }



      .nav-links.show {
  max-height: 500px !important;
  display: flex !important;
  padding: 10px 0;
}
} 
/* Theme Modes */
body.light-mode {
  background-color: var(--bg-light);
  color: var(--text-light);
}

body.dark-mode {
  background-color: var(--bg-dark);
  color: var(--text-dark);
}

/* Transition */
body, nav, nav a, .why-choose-us, .site-footer {
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Toggle Button */


/* Navbar Base */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding:  1rem 2rem;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--primary-color);
  z-index: 1000;
  position: sticky;
  top: 0;
}

.navbar .brand {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--primary-color);
}

.navbar a {
  text-decoration: none;
  margin: 0 10px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar a:hover {
  color: var(--primary-color);
}

/* Navbar Color per Theme */
body.light-mode nav {
  background-color: var(--bg-light);
  color: var(--text-light);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

body.light-mode nav a {
  color: var(--text-light);
}


body.dark-mode nav {
  background-color: var(--bg-dark);
  color: var(--text-dark);
  box-shadow: 0 2px 5px rgba(255, 255, 255, 0.1);
}

body.dark-mode nav a {
  color: var(--text-dark);
}

/* Hamburger */
#menu-toggle {
  display: none;
}

.hamburger {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

.navbar .nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.navbar .nav-links li a {
  text-decoration: none;
  color: inherit;
  font-weight: 500;
}

/* Responsive Nav */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .navbar .nav-links {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: inherit;
    flex-direction: column;
    align-items: center;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
  }

  #menu-toggle:checked ~ .nav-links {
    max-height: 500px;
    padding: 10px 0;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar a {
    margin: 8px 0;
  }

  .navbar div {
    margin-top: 10px;
  }
}

/* Heading */
.heading {
  text-align: center;
  padding: 40px 20px;

}
body.light-mode .heading {
  background-color: var(--bg-light);
  color: #ec4415;
}
.heading h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}
.heading p {
    color: black; /* Changes the text color to black */
}



/* Why Choose Us */
.why-choose-us {
  background-color: var(--bg-dark);
  color: var(--text-dark);
  padding: 60px 20px;
  text-align: center;
}

.why-us-container {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 0;
  justify-content: center;
  flex-wrap: wrap; /* Make sure this is present */
}
body.light-mode .why-choose-us {
  background-color: var(--bg-light);
  color: var(--text-light);
}

.why-choose-us h2 {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.why-boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1100px;
  margin: auto;
}

.why-box {
  background-color: #1a1a1a;
  border: 2px solid #ec4415;
  border-radius: 12px;
  padding: 25px 20px;
  width: 240px;
  box-shadow: 0 0 12px rgba(236, 68, 21, 0.2);
  transition: transform 0.3s, background-color 0.3s, color 0.3s;
  color: #ccc;
}

.why-box:hover {
  transform: translateY(-6px);
}

body.light-mode .why-box {
  background-color: #ec4415;
  color: #333;
  border: 2px solid black;
}

.why-box h3 {
  color: #000000;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.why-box p {
  font-size: 1rem;
  line-height: 1.5;
  color: white
}
/* Ensure Outfit Font */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');

body {
  font-family: 'Outfit', sans-serif;
}

/* Footer Base */
.saas-footer {
  background-color: #ec4415;
  color: var(--text-dark);
  font-family: 'Outfit', sans-serif;
  padding: 40px 20px 10px;
  transition: all 0.3s ease;
z-index: 9999; 
}

body.light-mode .saas-footer {
  color: #000;
}

body.dark-mode .saas-footer {
  color: #fff;
}

.footer-main {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-group {
  flex: 1 1 220px;
  min-width: 180px;
}

.footer-heading {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: inherit;
}

.footer-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-group ul li {
  margin-bottom: 8px;
}

.footer-group a {
  color: inherit;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-group a:hover {
  color: #fff;
}

body.light-mode .footer-group a:hover {
  color: #000;
}

.footer-icons a {
  margin-right: 12px;
  font-size: 1.2rem;
  display: inline-block;
  transition: transform 0.3s ease;
}

.footer-icons a:hover {
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 25px;
  padding-top: 15px;
}

body.light-mode .footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .footer-main {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-group {
    flex: 1 1 100%;
  }

  .footer-icons a {
    margin: 0 10px;
  }
}
/* General Body */
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Outfit', sans-serif;
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Make content grow and push footer */
main {
  flex: 1;
}

#theme-toggle {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  padding: 6px 12px;
  font-size: 18px;
  transition: background 0.3s ease, transform 0.2s ease;
}

#theme-toggle:hover {
  transform: scale(1.05);
}

.navbar .nav-links li button {
  background: none;
  border: none;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  color: inherit;
}

/* Appointment Section Base */
.book-appointment {
  background-color: #ec4415 !important; /* Ensure solid orange */
  opacity: 1 !important; /* Remove any transparency */
  position: relative;
  z-index: 5; /* Above any background overlay */
  min-height: 250px;
  padding: 12px;
}

body.dark-mode .book-appointment {
  background-color: #1a1a1a;
  color: #fff;
}

.book-appointment h2 {
  color: black;
  font-size: 2rem;
  margin-bottom: 30px;
}
/* Wrapper to center and size iframe */
.form-fixed {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Responsive, fixed-size iframe */
.form-fixed iframe {
  border: none;
  width: 400px;
  height: 500px;
  max-width: 100%;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}
.hamburger {
    margin-right: 40px; /* Leaves space for theme toggle */
  }
/* BLOG ACCORDION */
.blogs-section {
  padding: 60px 20px;
}
.blogs-section h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
  text-align: center;
}
.accordion-toggle {
  background-color: var(--primary-color);
  color: white;
  border: none;
  width: 100%;
  padding: 12px;
  margin-bottom: 5px;
  font-weight: bold;
  cursor: pointer;
  text-align: left;
}
.accordion-content {
  display: none;
  padding: 12px;
  background: #f1f1f1;
}
body.dark-mode .accordion-content {
  background: #222;
  color: white;
}

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;500;700&display=swap');

:root {
  --primary-color: #ec4415;
  --bg-light: #ffffff;
  --text-light: #000000;
  --bg-dark: #121212;
  --text-dark: #ffffff;
  --star-color: #ffd700;
}

body {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-dark);
}

.testimonial-section {
  background: var(--primary-color);
  padding: 60px 20px;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.testimonial-container {
  max-width: 800px;
  margin: auto;
  position: relative;
}

.testimonial-wrapper {
  position: relative;
  min-height: 200px; /* CHANGE: Use min-height to allow growth */
  padding: 10px;
  display: flex; /* ADD: Flex properties to center content */
  align-items: center;
  justify-content: center;
  box-sizing: border-box; /* ADD: Ensures padding is included in height calculation */
}

.testimonial-slide {
  position: absolute; /* Keep absolute for inactive slides for animation */
  top: 0; /* ADD: Align to top of wrapper */
  left: 0;
  right: 0;
  bottom: 0; /* ADD: Extend to bottom of wrapper */
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  padding: 10px 25px; /* Adjust vertical padding here as needed */
  background-color: transparent;
  box-sizing: border-box; /* ADD: Crucial for correct padding calculation */
  display: flex; /* ADD: Make it a flex container to center text */
  flex-direction: column;
  justify-content: center; /* ADD: Vertically center content */
  align-items: center; /* ADD: Horizontally center content */
  text-align: center; /* ADD: Ensure text is centered within the slide */
}

.testimonial-slide.active {
  opacity: 1;
  transform: translateX(0);
  position: relative; /* Keep relative for active slide */
  z-index: 1;
  /* ADD: Reset absolute positioning properties when active */
  top: auto;
  bottom: auto;
  left: auto;
  right: auto;
}

.testimonial-slide h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.testimonial-slide p {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.testimonial-slide span {
  font-size: 1rem;
  color: var(--star-color);
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #fff;
  color: var(--primary-color);
  border: none;
  padding: 10px 15px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  z-index: 200;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.nav-btn.left {
  left: -10px;
}

.nav-btn.right {
  right: -10px;
}

.testimonial-count {
  margin-top: 30px;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--text-dark);
}

@media (max-width: 600px) {
  .testimonial-slide h2 {
    font-size: 1.3rem;
  }

  .testimonial-slide p {
    font-size: 1rem;
  }

  .nav-btn {
    padding: 8px 12px;
    font-size: 20px;
  }
}

/* QUICK LINKS */
.pain-links {
  text-align: center;
  padding: 40px 20px;
}
.pain-links ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}
.pain-links li {
  margin: 10px 0;
}
.pain-links a {
  color: var(--primary-color);
  font-weight: bold;
  text-decoration: none;
}

/* TIMINGS */
.timings {
  padding: 60px 20px;
  text-align: center;
}
.timings h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 2.5rem;
}
.timings table {
  margin: auto;
  border-collapse: collapse;
}
.timings td {
  padding: 10px 20px;
}

/* CTA BUTTON (moved slightly left) */
.floating-cta {
  position: fixed;
  bottom: 90px; /* to not overlap with WhatsApp */
  right: 20px;
  background-color: var(--primary-color);
  padding: 10px 20px;
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  z-index: 999;
}
.floating-cta a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

/* RESPONSIVENESS */
@media (max-width: 768px) {
  .testimonial-cards .card,
  .pain-links ul {
    width: 100%;
    max-width: 100%;
  }

  .accordion-toggle,
  .accordion-content {
    font-size: 15px;
  }

  .floating-cta {
    right: 15px;
    bottom: 80px;
  }
}
/* ✅ QUICK RELIEF CARDS */
.quick-relief {
  padding: 60px 20px;
  text-align: center;
}
.quick-relief h2 {
  color: var(--primary-color);
  font-family: 'Outfit', sans-serif;
  margin-bottom: 30px;
  font-size: 2.5rem;
}
.relief-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.relief-card {
  background: #ec4415;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s;
  border: 2PX SOLID BLACK;
}
.relief-card {
  text-decoration: none;
  color: inherit;
}

.relief-card p,
.relief-card h3 {
  text-decoration: none;
  color: #ffffff;
}

body.dark-mode .relief-card {
  background: #1c1c1c;
  color: white;
}
.relief-card:hover {
  transform: translateY(-5px);
}
.relief-card img {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
}
.relief-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: rgb(0, 0, 0);
}
/* Dark mode fix for Quick Relief section */
body.dark-mode .quick-relief {
  background-color: #1a1a1a;
}

body.dark-mode .relief-card {
  background-color: #222;
  color: #fff;
  box-shadow: 0 0 12px rgba(236, 68, 21, 0.2);
}

body.dark-mode .relief-card h3 {
  color: #ec4415;
}

body.dark-mode .relief-card p {
  color: #ccc;
}

/* Fix for icons in dark mode */
body.dark-mode .relief-card i {
  color: #ec4415;
}
/* Dark Mode - Quick Relief Section */
body.dark-mode .quick-relief {
  background-color: #1f1f1f;
  color: #f1f1f1;
}

body.dark-mode .relief-card {
  background-color: #2a2a2a;
  color: #ffffff;
  border: 1px solid #ec4415;
  box-shadow: 0 4px 8px rgba(236, 68, 21, 0.3);
}
@media (max-width: 1024px) {
  .relief-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
  }

  .relief-card {
    padding: 16px;
  }

  .relief-card h3 {
    font-size: 16px;
  }

  .relief-card img {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 600px) {
  .quick-relief {
    padding: 40px 15px;
  }

  .relief-grid {
    grid-template-columns: 1fr;
  }

  .relief-card {
    padding: 14px;
  }

  .relief-card h3 {
    font-size: 15px;
  }

  .relief-card img {
    width: 36px;
    height: 36px;
  }
}

/* Optional: force icon color to white or orange */
body.dark-mode .relief-card i,
body.dark-mode .relief-card svg {
  color: #ec4415 !important; /* or use white (#ffffff) if you prefer */
}



/* ✅ MODERN BLOG TIPS */
.modern-blogs {
  padding: 60px 20px;
  background-color: var(--bg-light);
}
body.dark-mode .modern-blogs {
  background: #121212;
}
.modern-blogs h2 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--primary-color);
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
}
.tips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.tip-card {
  background: #f7f7f7;
  border-radius: 15px;
  padding: 20px;
  width: 200px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}
body.dark-mode .tip-card {
  background: #1f1f1f;
  color: #fff;
}
.tip-card img {
  width: 40px;
  margin-bottom: 10px;
}
.tip-card h4 {
  margin-bottom: 8px;
  color: var(--primary-color);
  font-size: 16px;
  font-family: 'Outfit', sans-serif;
}

/* 📱 Responsive Adjustments */
@media (max-width: 768px) {
  .relief-card,
  .tip-card {
    width: 100%;
  }
}


:root {
  --primary-color: #ec4415;
  --bg-light: #ffffff;
  --text-light: #000000;
  --bg-dark: #121212;
  --text-dark: #ffffff;
}

body {
  margin: 0;
  font-family: 'Outfit', sans-serif;
}

.fancy-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  margin: 20px;
  border: 6px solid #ec4415;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  animation: fadeSlider 18s infinite;
  box-sizing: border-box;
}

.slide1 { animation-delay: 0s; }
.slide2 { animation-delay: 6s; }
.slide3 { animation-delay: 12s; }

@keyframes fadeSlider {
  0%, 100%   { opacity: 0; z-index: 0; }
  10%, 30%   { opacity: 1; z-index: 1; }
  40%        { opacity: 0; z-index: 0; }
}

.slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.text-content {
  position: relative;
  z-index: 1;
 background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
  padding: 30px 40px;
  border-radius: 20px;
  text-align: center;
  color: #fff;
/*   box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5); */
  max-width: 600px;
  animation: fadeInUp 1.2s ease;
}


.text-content h1 {
  font-size: 2.5rem;
  margin: 0;
  color: var(--primary-color);
}

.text-content p {
  margin-top: 10px;
  font-size: 1.3rem;
  color: #ffffffd9;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .text-content {
    padding: 20px;
    border-radius: 12px;
  }

  .text-content h1 {
    font-size: 2rem;
  }

  .text-content p {
    font-size: 1rem;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .text-content {
    padding: 20px;
    border-radius: 12px;
  }

  .text-content h1 {
    font-size: 2rem;
  }

  .text-content p {
    font-size: 1rem;
  }
}
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.background-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 0; /* increased to be visible */
  opacity: 0.2;
  pointer-events: none; /* allows clicks to pass through */
}

/* Light Mode Background */
body.light-mode .background-overlay {
  background-image: url('aboutUslight.png'); /* adjust path if needed */
}

/* Dark Mode Background */
body.dark-mode .background-overlay {
  background-image: url('aboutUsdark.png'); /* adjust path if needed */
}
.section-title {
  text-align: center;
  margin-bottom: 40px; /* Adjust margin as needed */
}

.section-title h1 {
  color: var(--primary-color); /* This uses your defined primary orange color */
  font-size: 2.9rem; /* Keep the existing font size */
  font-weight: 600; /* Keep the existing font weight */
}
.why-boxes{
  position: relative;
  z-index: 2;
}
.site-footer {
  position: relative;
  z-index: 2;
}
.tips-grid {
  position: relative;
  z-index: 2;
}
.relief-grid {
  position: relative;
  z-index: 2;
}
/* === FULL RESPONSIVENESS TWEAKS === */

/* ✅ Navbar Adjustments */
@media (max-width: 768px) {
  .navbar {
    padding: 1rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar .brand {
    font-size: 1.5rem;
  }

  .nav-links {
    width: 100%;
  }

  .nav-links li {
    margin: 5px 0;
  }

  #theme-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1001;
  }
}

/* ✅ Heading Adjustments */
@media (max-width: 768px) {
  .heading h1 {
    font-size: 2rem;
  }

  .heading p {
    font-size: 1rem;
  }
}

/* ✅ Why Choose Us Boxes */
@media (max-width: 768px) {
  .why-box {
    width: 100%;
    max-width: 300px;
  }
}
/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 24px;
}

/* Service Card with Image and Overlay */
.service.with-bg {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  height: 250px;
  display: flex;
  flex-direction: column; /* Stack image and text */
  align-items: center;
  justify-content: flex-start; /* Align image to the top */
  padding: 0; /* Remove padding from the main container */
  box-sizing: border-box;
  transition: transform 0.3s ease;
  cursor: pointer;
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); Add a subtle shadow */
}

.service.with-bg img {
  width: 100%;
  height: 180px; /* Set a fixed height for the image */
  object-fit: cover;
  display: block;
  border-radius: 12px 12px 0 0; /* Rounded top corners for the image */
}

.service.with-bg::before {
  content: none; /* Remove the background-color overlay */
}

.service.with-bg {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  box-sizing: border-box;
  transition: transform 0.3s ease;
  cursor: pointer;
  border: 2px solid var(--primary-color);
}

/* ✅ Transparent overlay WITHOUT blur */
.service.with-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.3); /* semi-transparent white */
  z-index: 1;
  transition: background-color 0.3s ease;
  pointer-events: none;
}

/* ✅ On hover, make it clear */
.service.with-bg:hover::after {
  background-color: rgba(255, 255, 255, 0);
}

/* ✅ Image stays sharp and behind everything */
.service.with-bg img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  border-radius: 12px 12px 0 0;
  position: relative;
  z-index: 0;
}

/* ✅ Title stays on top */
.service.with-bg h2 {
  position: relative;
  z-index: 2;
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
  margin: 0;
  padding: 12px 10px;
  width: 100%;
  height: 70px;
  background-color: rgba(255, 255, 255, 0.3);
  color: black;
  box-sizing: border-box;
  border-radius: 0 0 12px 12px;
  transition: background-color 0.3s ease;
}

/* Optional: clearer background on hover for text */
.service.with-bg:hover h2 {
  background-color: white;
}

/* Ensure text is visible in dark mode */



/* Default Service Card (Not used in this updated design but kept for reference) */
.service {
  padding: 30px 20px;
  border: 2px solid var(--primary-color);
  border-radius: 12px;
  transition: transform 0.3s ease, background-color 0.3s, color 0.3s;
}

/* Light Mode */
body.light-mode .service {
  background-color: #f9f9f9;
  color: #000;
}

body.light-mode .service h2 {
  color: black;
}

body.light-mode .service p {
  color: #333;
}

/* Dark Mode */
body.dark-mode .service h2 {
  background-color: #111;
  color: #fff;
}

body.dark-mode .service h2 {
  color: white;
}

body.dark-mode .service p {
  color: #ccc;
}
.service with-bg{
  text-align: center;
}

/* Hover effect (consistent across themes) */
.service:hover {
  transform: translateY(-5px);
  /* You can adjust background-color on hover if needed, but for the new design, it might not be necessary for the whole card */
}

/* ✅ Form Section */
@media (max-width: 600px) {
  .form-container iframe,
  .form-fixed iframe {
    height: 400px;
  }

  .form-container {
    padding: 0 10px;
  }
}

/* ✅ Blog Tips Cards */
@media (max-width: 600px) {
  .tip-card {
    width: 100%;
    padding: 16px;
  }

  .tip-card h4 {
    font-size: 15px;
  }
}

/* ✅ Testimonials */
@media (max-width: 600px) {
  .testimonial-slide {
    padding: 15px;
  }

  .testimonial-slide h2 {
    font-size: 1.4rem;
  }

  .testimonial-slide p {
    font-size: 1rem;
  }
}

/* ✅ Pain Links Section */
@media (max-width: 600px) {
  .pain-links ul {
    grid-template-columns: 1fr;
  }

  .pain-links a {
    font-size: 0.95rem;
  }
}

/* ✅ Timings Section */
@media (max-width: 768px) {
  .timings table {
    font-size: 0.95rem;
  }

  .timings td {
    padding: 8px 12px;
  }
}

/* ✅ Floating CTA */
@media (max-width: 600px) {
  .floating-cta {
    right: 10px;
    bottom: 70px;
    padding: 8px 16px;
  }

  .floating-cta a {
    font-size: 0.9rem;
  }
}

/* ✅ Slider Adjustments */
@media (max-width: 768px) {
  .slide {
    border-width: 4px;
  }
}
/* Grid elements should never overflow on mobile */
.relief-grid,
.why-boxes,
.tips-grid,
.pain-links ul {
  max-width: 100%;
  overflow-x: hidden;
}

/* Force slider container to stay in viewport */
.fancy-slider {
  max-width: 100%;
  overflow-x: hidden;
  padding: 20px;
  box-sizing: border-box;
}

/* Prevent long nav link expansion */
.navbar {
  max-width: 100%;
  box-sizing: border-box;
}
.quick-relief {
  overflow-x: hidden;
}
/* 🛠️ Fix Relief Grid Overflow on Small Screens */
.relief-grid {
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* 🛠️ Ensure cards are fully responsive */
.relief-card {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  word-wrap: break-word;
}
@media (max-width: 768px) {
  .navbar {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 1rem 1.5rem;
    position: relative;
  }

  .brand {
    font-size: 1.4rem;
    margin-right: 15px;
  }

  .hamburger {
    display: block;
    font-size: 26px;
    cursor: pointer;
    margin-left: 0;
  }

  #menu-toggle {
    display: none;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: inherit;
    flex-direction: column;
    align-items: center;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    z-index: 99;
  }

  #menu-toggle:checked ~ .nav-links {
    max-height: 500px;
    padding: 10px 0;
  }
}
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-left {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .brand {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
  }

  .hamburger {
    font-size: 26px;
    cursor: pointer;
    display: block;
    color: inherit;
  }

  .nav-links {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: inherit;
    flex-direction: column;
    align-items: center;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
  }

  #menu-toggle:checked ~ .nav-links {
    max-height: 500px;
    padding: 10px 0;
  }
  .container {
  padding: 60px 20px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.container h1 {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 40px;
  font-weight: 600;
}

}
.call-btn1 {
  display: inline-block;
         background-color: #ec4415;
         color:var(--bg-light);
         font-family: 'Outfit', sans-serif;
         font-size: 18px;
         padding: 12px 24px;
         border-radius: 30px;
         text-decoration: none;
         box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
         transition: background-color 0.3s ease;
  border: 2px solid black;
}
.call-btn:hover {
  background-color: #d23c12;
}
.callbtn1{
  padding: 15px;
 
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}


/* THIS CODE IS TO MAKE WEBSITE LOOK DYNMAIC */
.why-boxes {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px;
}

.why-box {
  
  padding: 25px;
  border-radius: 15px;
  flex: 1 1 250px;
  max-width: 300px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);

  /* Animation setup */
  opacity: 0;
  transform: translateX(-200px) scale(1.2);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.9s ease;
}

/* Triggered animation */
.why-box.show {
  opacity: 1;
  transform: translateX(0) scale(1);
}

/* Stagger effect */
.why-box:nth-child(1).show { transition-delay: 0.1s; }
.why-box:nth-child(2).show { transition-delay: 0.3s; }
.why-box:nth-child(3).show { transition-delay: 0.5s; }
.why-box:nth-child(4).show { transition-delay: 0.7s; }
.why-box:nth-child(5).show { transition-delay: 0.9s; }

@media (max-width: 600px) {
  .why-box {
    flex: 1 1 100%;
    max-width: 100%;
  }
}
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.service {
  background: #fff;
  padding: 15px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  max-width: 250px;
  width: 100%;
  
  /* Hidden start state — fully off-screen to the right */
  opacity: 0;
  transform: translateX(120%);
  transition: transform 2s cubic-bezier(0.19, 1, 0.22, 1),
              opacity 2s ease;
}

.service.show {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger for cinematic effect */
.service:nth-child(1).show { transition-delay: 0.2s; }
.service:nth-child(2).show { transition-delay: 0.4s; }
.service:nth-child(3).show { transition-delay: 0.6s; }
.service:nth-child(4).show { transition-delay: 0.8s; }
.service:nth-child(5).show { transition-delay: 1s; }

.service img {
  max-width: 100%;
  border-radius: 10px;
}

@media (max-width: 600px) {
  .service {
    max-width: 100%;
  }
}
.quick-relief {
  text-align: center;
  padding: 50px 20px;
}

.relief-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.relief-card {
  display: block;
  
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  text-decoration: none;
  color: inherit;
  
  /* Start hidden & slightly left but not affecting layout */
  opacity: 0;
  transform: translateX(-80px);
  transition: transform 1.8s cubic-bezier(0.19, 1, 0.22, 1),
              opacity 1.8s ease;
}

.relief-card.show {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays for cinematic reveal */
.relief-card:nth-child(1).show { transition-delay: 0.2s; }
.relief-card:nth-child(2).show { transition-delay: 0.4s; }
.relief-card:nth-child(3).show { transition-delay: 0.6s; }
.relief-card:nth-child(4).show { transition-delay: 0.8s; }
.relief-card:nth-child(5).show { transition-delay: 1s; }
.relief-card:nth-child(6).show { transition-delay: 1.2s; }

.relief-card img {
  max-width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}

.relief-card h3 {
  margin: 10px 0 5px;
}

.relief-card p {
  font-size: 0.9rem;
  color: #ffffff;
}


.tip-card {
  background: #fff;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  opacity: 0;
  transform: translateX(80px); /* Slight offset to right */
  transition: transform 1.8s cubic-bezier(0.19, 1, 0.22, 1),
              opacity 1.8s ease;
}

.tip-card.show {
  opacity: 1;
  transform: translateX(0);
}
.celebrity-card {
  background: #fff;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  opacity: 0;
  transform: translateX(-80px); /* offset to left */
  transition: transform 1.8s cubic-bezier(0.19, 1, 0.22, 1),
              opacity 1.8s ease;
}

.celebrity-card.show {
  opacity: 1;
  transform: translateX(0);
}
/* Responsive design for smaller screens */
@media (max-width: 768px) {
  .why-us-container {
    justify-content: center;
  }
  .why-box {
    width: 100%; /* Force boxes to take full width on new lines */
  }
}

.why-box,
.service,
.relief-card,
.tip-card,
.celebrity-card {
  opacity: 0;
  transform: translateX(-50px) scale(0.95);
  transition: all 0.8s ease-out;
}

.why-box.show,
.service.show,
.relief-card.show,
.tip-card.show,
.celebrity-card.show {
  opacity: 1;
  transform: translateX(0) scale(1);
}



/* Slider Container */
.hero-slider {
   position: relative;
  width: 97vw;            /* almost full width (98% of viewport) */
  height: 95vh;           /* almost full height */
  margin: 20px auto;      /* small top-bottom margin */
  border: 6px solid #ec4415;
  border-radius: 15px;
  overflow: hidden;
}

/* Slider container */
.hero-slider {
  position: relative;
  width: 100%;         /* full width, no cutoff */
  max-width: 100vw;    /* never overflow */
  height: 95vh;
  margin: 20px auto;
  border: 6px solid #ec4415;
  border-radius: 15px;
  overflow: hidden;
  box-sizing: border-box; /* ensures border included in width */
}


/* Each slide */
.hero-slide {
  display: none;
  position: absolute;
  inset: 0;
}

/* Blurred background */
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: no-repeat center/cover;
  background-image: var(--bg);
  filter: blur(25px);
  transform: scale(1.1);
  opacity: 0.9;
  z-index: 0;
}

/* Foreground image */
.hero-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;   /* immersive on desktop */
}

/* Text box */
.hero-textbox {
  position: absolute;
  bottom: 30px;
  right: 30px;
  background: rgba(0, 0, 0, 0.6);
  padding: 20px 30px;
  border-radius: 12px;
  border-left: 3px solid #ec4415;
  border-top: 3px solid #ec4415;
  color: #fff;
  max-width: 400px;
  z-index: 2;
}

/* Fade animation */
.fade {
  animation: fadeEffect 1.5s;
}
@keyframes fadeEffect {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

/* Slide-in animations (optional for text) */
@keyframes slideInLeft {
  from { transform: translateX(-100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ✅ Mobile adjustments (cleaned & merged) */
@media (max-width: 768px) {
  .hero-slider {
    width: 100%;       /* no overflow */
    max-width: 100vw;
    height: 70vh;      /* smaller height for phones */
    margin: 0;
    border-width: 3px;
  }

  .hero-img {
    object-fit: contain;  /* full image visible */
  }

  .hero-textbox {
    width: 90%;              /* fixed width relative to screen */
    max-width: none;         /* remove 400px and 85% cap */
    margin: 0 auto;          /* center it properly */
    padding: 12px 16px;
    font-size: 14px;

    bottom: 15px;
    left: 0;
    right: 0;                /* center using margin instead of translate */
    transform: none;         /* reset transform */
  }

  .hero-textbox h1 {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .hero-textbox p {
    font-size: 13px;
    line-height: 1.4;
  }
}



.hero-heading {
  text-align: center;
  overflow: hidden;
}

.hero-title {
  animation: slideInLeft 1.2s ease forwards;
}

.hero-subtext {
  animation: slideInRight 1.2s ease forwards;
  animation-delay: 0.4s; /* comes after heading */
}

















