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

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

body {
  font-family: 'Poppins', sans-serif;
  background-color: #ffffff;
  
  color: #2f5061;
}

a {
  text-decoration: none;
}

/* Navbar */
.navbar {
  background-color: #385e72;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: top 0.3s;
  position: fixed;
  border-bottom: 3px solid #f028c1;
}




.nav-links {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.nav-links li {
  list-style: none;
}

.nav-links li a {
  color: white;
  font-weight: 500;
}

.nav-links li a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: #f028c1; 
  text-underline-offset: 6px;
}

/* Dark Mode Toggle Button */
.theme-toggle {
  background: none;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: 0.3s;
}

.theme-toggle:hover {
  background: rgba(255,255,255,0.2);
}


.logo-container {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 5px 12px;
      background: rgba(255, 255, 255, 0.2); /* Glassy overlay */
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border-radius: 12px;
    }

    .logo-img {
      height: 40px;
    }

    .logo-text {
      color: white;
      font-weight: 600;
    }

/* Hero Section */
.hero {
  display: flex;
  flex-wrap: wrap;
  padding: 3rem 2rem;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  color: #b7cfdc;
  padding-top: 80px;
}

.hero-content {
  flex: 1;
  padding: 1rem;
  min-width: 300px;
}

/* Typewriter Text */
.hero-typing {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 2rem;
  text-transform: uppercase;
  color: #367d84;
  border-right: 2px solid #367d84;
  padding-right: 5px;
  animation: blink-caret 0.75s step-end infinite;
  white-space: normal;         /* allow wrapping */
  overflow: visible;           /* allow content to flow */
  word-break: break-word;      /* prevent overflow */
  line-height: 1.3;
  max-width: 100%;
}


/* Blinking caret */
@keyframes blink-caret {
  from, to { border-color: transparent; }
  50% { border-color: #367d84; }
}

.hero-content p {
  margin-top: 1rem;
  margin-bottom: 1rem;
  color: #385e72;
}

.hero-buttons .btn {
  display: inline-block;
  margin-right: 10px;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.primary {
  background-color: #4297a0;
  color: white;
}

.primary:hover {
  /* background-color: #367d84; */
  background-color: #1f36df;
}

.secondary {
  background-color: #e57f84;
  color: white;
}

.secondary:hover {
  background-color: #1f36df;;
}

.hero-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
}

/* Banner */
.banner {
  text-align: center;
  padding: 4rem 7rem;
  background-color: #ffffff;
  /* color: #6aabd2; */
  color: #afd7f0;
  font-weight: 600;
  font-size: 1.25rem;
  background-image: url('assets/Banner-Img-1.jpg');
  background-size: cover;
  background-position: center;
}

/*testimonials rotator*/
.testimonial-slider {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: auto;
  overflow: hidden;
  text-align: center;
}

.testimonial-slider blockquote {
  display: none;
  font-style: italic;
  padding: 1rem;
  background: #f4eae6;
  border-left: 5px solid #4297a0;
  border-radius: 8px;
  color: #2f5061;
}

.testimonial-slider blockquote.active {
  display: block;
  animation: fadeIn 1s ease-in-out;
}

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

.testimonial-dots {
  text-align: center;
  margin-top: 1rem;
}

.testimonial-dots span {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}

.testimonial-dots span.active {
  background-color: #f028c1; /* Highlight color */
}



/* Why Choose Us */
.why-choose,
.services,
.testimonials,
.facilities {
  padding: 2rem;
  background-color: #ffffff;
  color: #385e72;
}

.features,
.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.feature-card,
.service-card {
  /* background-color: #f4eae6;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  flex: 1 1 250px;
  color: #2f5061;
  font-weight: 500;
  .feature-card,
.service-card { */
  /* background: rgba(255, 255, 255, 0.15);  */
  background: #f4eae6;
  border-radius: 15px;
  /* box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37); */
  /* box-shadow: 0 8px 32px 0 #e57f84; */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #2f5061;
  padding: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 1 1 250px;
}

/* Hover effect to lift card slightly */
.feature-card:hover,
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.5);
}

/* amenities */
.facilities-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.facilities-text {
  flex: 1;
}

.circle-container {
  position: relative;
  width: 250px;
  height: 250px;
  margin-right: 2rem;
}

.circle-item {
  position: absolute;
  width: 60px;
  height: 60px;
  animation: pop 3s infinite;
}

/* Position items in a circle */
.circle-item:nth-child(1) { top: 0%; left: 50%; transform: translate(-50%, 0); animation-delay: 0s; }
.circle-item:nth-child(2) { top: 20%; left: 95%; transform: translate(-50%, -50%); animation-delay: 1.0s; }
.circle-item:nth-child(3) { top: 75%; left: 80%; transform: translate(-50%, -50%); animation-delay: 2.0s; }
.circle-item:nth-child(4) { top: 75%; left: 20%; transform: translate(-50%, -50%); animation-delay: 3.0s; }
.circle-item:nth-child(5) { top: 20%; left: 5%; transform: translate(-50%, -50%); animation-delay: 4.0s; }

/* Pop Animation */
@keyframes pop {
  0%, 100% { transform: scale(1) translate(-50%, -50%); }
  50% { transform: scale(1.2) translate(-50%, -50%); }
}




.testimonial-slider blockquote {
  background-color: #f4eae6;
  padding: 1rem;
  margin-bottom: 1rem;
  border-left: 5px solid #4297a0;
  font-style: italic;
  color: #2f5061;
}

.facility-list {
  list-style: none;
  display: grid;
  gap: 10px;
  color: #385e72;
  font-weight: 500;
}

/* Footer */
footer {
  background-color: #385e72;
  color: white;
  padding: 2rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-content h3 {
  margin-bottom: 1rem;
  /* color: #e57f84; */
  color: #f028c1;
}

.footer-content ul {
  list-style: none;
  padding-left: 0;
}

.footer-content a {
  color: #d9e4ec;
  transition: color 0.3s ease;
}

.footer-content a:hover {
  color: #ffffff;
}


/*toggle*/
/* Default light theme */
/* Default (Light Mode) */
body {
  background-color: #ffffff;
  color: #2f5061;
  transition: background-color 0.4s, color 0.4s;
}

/* Transparent sections inherit body background */
.hero,
.banner,
.why-choose,
.services,
.testimonials,
.facilities,
.contact-section {
  background-color: transparent;
}

/* Dark Mode */
/* body.dark-mode {
  background-color: #1c2b32; 
  color: #dce7ea;
}

body.dark-mode .navbar {
  background-color: #233c44; 
  border-bottom: 3px solid #e63946; 
}

body.dark-mode .btn.primary {
  background-color: #e63946; 
}

body.dark-mode .btn.secondary {
  background-color: #4297a0; 
}

body.dark-mode .feature-card,
body.dark-mode .service-card {
  background-color: rgba(255, 255, 255, 0.05);
  color: #e0f2f5;
  border: 1px solid rgba(255,255,255,0.1);
} */


/* ===================== */
/* Dark Mode Toggle */
/* ===================== */

body.dark-mode {
  background-color: #1c2b32; /* Deep teal */
  color: #dce7ea;
  transition: background-color 0.4s, color 0.4s;
}

/* Navbar */
body.dark-mode .navbar {
  background-color: #233c44; /* Dark blue-teal */
  border-bottom: 3px solid #e63946; /* Red accent */
}

body.dark-mode .nav-links li a {
  color: #ffffff;
}

body.dark-mode .nav-links li a:hover {
  text-decoration-color: #e63946;
}

/* Hero & Sections */
body.dark-mode .hero,
body.dark-mode .banner,
body.dark-mode .why-choose,
body.dark-mode .services,
body.dark-mode .testimonials,
body.dark-mode .facilities,
body.dark-mode .contact-section {
  background-color: transparent;
  color: #dce7ea;
}

/* Buttons */
body.dark-mode .btn.primary {
  background-color: #e63946;
  color: #fff;
}
body.dark-mode .btn.secondary {
  background-color: #4297a0;
  color: #fff;
}

body.dark-mode .btn.primary:hover, 
body.dark-mode .btn.secondary:hover {
  background-color: #1f36df;
}

/* Cards */
body.dark-mode .feature-card,
body.dark-mode .service-card {
  background-color: rgba(255, 255, 255, 0.05);
  color: #e0f2f5;
  border: 1px solid rgba(255,255,255,0.1);
}

/* Footer */
body.dark-mode footer {
  background-color: #233c44;
}
body.dark-mode .footer-content h3 {
  color: #e63946;
}
body.dark-mode .footer-content a {
  color: #f5d7d7;
}


/*treatments-toggle*/
/* Dark Mode for Treatments Page */
body.dark-mode .treatment-section h2 {
  color: #f5f9fa;
}

body.dark-mode .treatment-card {
  background: rgba(255, 255, 255, 0.05); /* Slightly transparent dark card */
  color: #e0f2f5;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

body.dark-mode .treatment-card:hover {
  box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.7);
}

body.dark-mode .treatment-content h3 {
  color: #ff7f7f; /* Soft red highlight for headings */
}

body.dark-mode .treatment-content p {
  color: #cfdde0;
}

body.dark-mode .treatment-content .btn.primary {
  background-color: #e63946; /* Red accent */
  color: white;
}

body.dark-mode .treatment-content .btn.primary:hover {
  background-color: #1f36df;
}

body.dark-mode .treatment-image img {
  border: 2px solid rgba(255, 255, 255, 0.2);
}


/*about-toggle*/
/* Dark Mode for About Page */
body.dark-mode .about-section h1,
body.dark-mode .about-section h2 {
  color: #f5f9fa; /* Bright text for headings */
}

body.dark-mode .know-us {
  color: #f5f9fa;
}

body.dark-mode .about-section p {
  color: #cfdde0; /* Softer light text for paragraphs */
}

body.dark-mode .about-section {
  background-color: transparent; /* Keep section transparent */
}

body.dark-mode .dr-content h1 {
  color: #ff7f7f; /* Highlight for Dr. section heading */
}

body.dark-mode .dr-content .subheading {
  color: #ffd6d6; /* Lighter soft red for subheading */
}

body.dark-mode .dr-image img {
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

body.dark-mode .team-list li {
  color: #dce7ea;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 5px 0;
}

/* Dark Mode for FAQ Page */
body.dark-mode .faq-section h1 {
  color: #f5f9fa; /* Bright heading */
}

body.dark-mode .faq-question {
  background-color: #1e3a3f; /* Dark teal button */
  color: #e3f6f5;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .faq-question:hover {
  background-color: #2a4b51; /* Slightly lighter on hover */
}

body.dark-mode .faq-answer {
  background-color: #0f1b1d; /* Very dark background for answers */
  color: #d0e6e5; /* Soft readable text */
  padding: 1rem;
  border-left: 3px solid #4dd0e1;
  border-radius: 0 0 8px 8px;
}

body.dark-mode .faq-item {
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* 🌙 Dark Mode for Contact Page */
body.dark-mode .contact-section {
  background-color: #0f1b1d; /* Very dark background */
  color: #e3f6f5; /* Soft text */
}

body.dark-mode .contact-form h2,
body.dark-mode .contact-info h2 {
  color: #4dd0e1; /* Bright teal heading */
}

body.dark-mode .contact-form input,
body.dark-mode .contact-form textarea {
  background-color: #1e3a3f;
  color: #f5f9fa;
  border: 1px solid #3a565a;
}

body.dark-mode .contact-form input::placeholder,
body.dark-mode .contact-form textarea::placeholder {
  color: #9abec1;
}

body.dark-mode .contact-info ul li {
  color: #cde8eb;
}

body.dark-mode .contact-info i {
  color: #e57f84; /* Keep icons vibrant */
}

body.dark-mode .btn.primary {
  background-color: #4dd0e1;
  color: #0f1b1d;
  border: none;
}

body.dark-mode .btn.primary:hover {
  background-color: #1f36df;
  color: white;
}

/* 🌙 Dark Mode for Privacy Page */
body.dark-mode .privacy-section {
  background-color: #0f1b1d;  /* Dark background */
  color: #e3f6f5;  /* Soft text */
}

body.dark-mode .privacy-section h1,
body.dark-mode .privacy-section h3 {
  color: #4dd0e1; /* Teal highlight */
}

body.dark-mode .privacy-section ul li {
  color: #cde8eb; /* Light text for list items */
}
