/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: #F8F9FA;
  color: #343A40;
  line-height: 1.75;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-top: 0;
  overflow-x: hidden;
}

html {
  overflow-x: hidden;
  width: 100%;
}

a {
  color: #0080ca;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #1d4ed8;
}

/* Navbar */
.navx {
  background-color: #FFFFFF;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.1);
  border-bottom: 1px solid #CCE5FF;
  font-weight: 600;
  width: 100%;
  padding: 15px 20px;
}

.navbar {
  max-width: 1300px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  gap: 40px;
  flex-wrap: wrap;
}

.logo-container {
  flex-shrink: 0;
}

.logo-container img, .logo {
  height: 52px;
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.03);
}

.nav-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-grow: 1;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
  flex: 2;
  justify-content: center;
}

.nav-links li a {
  text-decoration: none;
  color: #343A40;
  font-weight: 600;
  font-size: 17px;
  padding: 10px 0px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  background: transparent;
  letter-spacing: 0.03em;
}

.nav-links li a::before {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: #0D6EFD;
  transition: width 0.3s ease-in-out;
  border-radius: 4px;
}

.nav-links li a:hover::before {
  width: 80%;
}

.nav-links li a:hover {
  color: #0D6EFD;
  background-color: rgba(13, 110, 253, 0.1);
  box-shadow: 0 2px 6px rgba(13, 110, 253, 0.1);
}

/* Navbar Buttons */
.navbar-buttons {
  display: flex;
  gap: 15px;
  align-items: center;
}

.btn {
  padding: 8px 20px;
  border: none;
  cursor: pointer;
  font-weight: bolder;
  font-size: 17px;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.login-btn {
  background-color: transparent;
  color: #e30808;
  border: 2px solid #e30808;
}

.login-btn:hover {
  background-color: #e30808;
  color: white;
}

.signup-btn {
  background-color: rgb(30, 64, 175);
  color: white;
}

.signup-btn:hover {
  background-color: #e30808;
  color: #ffffff;
}

.profile-icon {
  cursor: pointer;
  color: rgb(30, 64, 175);
  margin-left: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #1e40af);
  box-shadow: 0 4px 8px rgba(30, 64, 175, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-icon i {
  color: white;
  font-size: 24px;
  transition: color 0.3s ease;
}

.profile-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(30, 64, 175, 0.7);
}

.profile-icon:hover i {
  color: #e30808;
}

/* Container Layout */
.container {
  max-width: 1140px;
  margin: auto;
  padding: 0 16px;
}

/* Sections with Modern Styling */
section {
  background: linear-gradient(to bottom right, #ffffff, #f0f4f8);
  border-radius: 20px;
  margin: 40px auto;
  padding: 60px 30px;
  box-shadow: 0 8px 30px rgba(0, 128, 202, 0.12);
  max-width: 1200px;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease-in-out;
}

/* Hero Section */
.hero {
  background: linear-gradient(to bottom right, #ffffff, #f0f4f8);
  padding: 80px 100px;
  margin-top: 120px;
}

.hero-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: clamp(2.2rem, 5vw, 3rem);
  color: #0080ca;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.hero-text p {
  font-size: 1.125rem;
  color: #6c757d;
  margin-bottom: 20px;
  font-weight: 400;
  line-height: 1.7;
  max-width: 90%;
  letter-spacing: 0.015em;
}

.hero-img img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 128, 202, 0.15);
  transition: transform 0.3s ease-in-out;
}

.hero-img img:hover {
  transform: scale(1.03);
}

.Hero-Button {
  background-color: #0080ca;
  color: #ffffff;
  font-weight: bold;
  font-size: large;
  padding: 14px 30px;
  border-radius: 10px;
  border: none;
  text-align: center;
  display: inline-block;
  box-shadow: 0 6px 20px rgba(0, 128, 202, 0.3);
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-left: 0;
  text-decoration: none;
}

.Hero-Button:hover {
  background-color: #1d4ed8;
  transform: translateY(-3px);
  color: #fff;
}

/* Intro Video Section */
.intro-video {
  padding: 70px 0;
}

.intro-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.intro-text {
  flex: 1;
}

.intro-text h2 {
  font-size: 1.75rem;
  color: #0080ca;
  margin-bottom: 1.2rem;
  position: relative;
  font-weight: 700;
}

.intro-text h2::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 50px;
  height: 4px;
  background-color: #1d4ed8;
  border-radius: 4px;
}

.intro-text ul {
  padding-left: 20px;
  list-style: none;
  color: #343a40;
  font-weight: 500;
  margin-left: 0;
}

.intro-text ul li {
  background-color: #f8f9fa;
  margin-bottom: 0.85rem;
  padding: 1rem 1.25rem;
  border-left: 4px solid #0080ca;
  border-radius: 0.75rem;
  font-weight: 500;
  color: #343a40;
  transition: background-color 0.3s ease;
}

.intro-text ul li:hover {
  background-color: #e9f5ff;
}

.intro-video-frame iframe, .intro-video-frame video {
  width: 100%;
  height: 315px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 128, 202, 0.1);
}

.content {
  margin-left: 0;
  font-size: 1.125rem;
  font-weight: 400;
  color: #6c757d;
  letter-spacing: 0.015em;
}

/* About Section */
.about-section {
  background: linear-gradient(to bottom right, #ffffff, #f0f4f8);
  border-radius: 20px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 80px 60px;
}

.about-container {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.about-text h2 {
  font-size: 1.75rem;
  color: #0080ca;
  margin-bottom: 1.2rem;
  position: relative;
  font-weight: 700;
}

.about-text h2::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 50px;
  height: 4px;
  background-color: #1d4ed8;
  border-radius: 4px;
}

.about-text p {
  font-size: 1.125rem;
  color: #6c757d;
  line-height: 1.7;
  margin-left: 0;
  font-weight: 400;
  letter-spacing: 0.015em;
}

.about-image {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-image:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.About-button, .Services-button, .Doctor-button, .Lab-button, .contact-button {
  background-color: #0080ca;
  color: #ffffff;
  font-weight: bold;
  font-size: large;
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  text-align: center;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(0, 128, 202, 0.25);
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-decoration: none;
  margin-left: 0;
  margin-top: 20px;
}

.About-button:hover, .Services-button:hover, .Doctor-button:hover, .Lab-button:hover, .contact-button:hover {
  background-color: #1d4ed8;
  transform: translateY(-2px);
  color: #fff;
}

.about-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 128, 202, 0.15);
  object-fit: cover;
}

/* Map Section */
.map-section {
  background: linear-gradient(to bottom right, #ffffff, #f0f4f8);
  padding: 70px 60px;
  text-align: left;
  border-radius: 20px;
  margin: 40px auto;
  max-width: 1200px;
}

.map-section h2 {
  font-size: 1.75rem;
  color: #0080ca;
  margin-bottom: 1.2rem;
  position: relative;
  font-weight: 700;
  display: inline-block;
}

.map-section h2::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 50px;
  height: 4px;
  background-color: #1d4ed8;
  border-radius: 4px;
}

.map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 128, 202, 0.15);
}

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

.services h2 {
  font-size: 1.75rem;
  color: #0080ca;
  margin-bottom: 1.2rem;
  position: relative;
  font-weight: 700;
  text-align: left;
  width: 100%;
}

.services h2::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 50px;
  height: 4px;
  background-color: #1d4ed8;
  border-radius: 4px;
}

.services-content-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.services-grid {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  font-size: 18px;
  font-weight: 400;
  color: #6c757d;
  line-height: 1.6;
}

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

.service-box {
  background-color: #ffffff;
  padding: 1.75rem;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 128, 202, 0.08);
  border-left: 4px solid #0080ca;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 128, 202, 0.12);
}

.service-box h3 {
  font-size: 1.375rem;
  color: #0080ca;
  margin-bottom: 10px;
  font-weight: 700;
}

.service-box p {
  color: #6c757d;
  font-weight: 400;
}

.Services-image {
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 128, 202, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.Services-image:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.Services-image img {
  width: 100%;
  height: auto;
  max-height: 600px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 128, 202, 0.15);
}

/* Doctors Section */
.doctors {
  background: linear-gradient(to bottom right, #ffffff, #f0f4f8);
  padding: 80px 60px;
}

.doctors h2 {
  font-size: 1.75rem;
  color: #0080ca;
  margin-bottom: 1.2rem;
  font-weight: 700;
  text-align: center;
}

.doctors h2::after {
  content: none !important;
}

.doctors-grid, .doctor-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  max-width: 1200px;
  margin: 40px auto 0;
}

.doctor-card {
  background-color: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 128, 202, 0.08);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.doctor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 128, 202, 0.12);
}

.doctor-card img {
  border-radius: 12px;
  width: 180px;
  height: 180px;
  object-fit: cover;
  border: 4px solid #0080ca;
  margin-bottom: 15px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.doctor-card:hover img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.doctor-card h3 {
  margin: 10px 0 5px;
  color: #0080ca;
  font-size: 1.375rem;
  font-weight: 700;
}

.doctor-card p {
  margin: 4px 0;
  font-size: 15px;
  font-weight: 500;
  color: #6c757d;
}

.doctor-card p strong {
  color: #0080ca;
}

.button-wrapper {
  text-align: center;
  margin-top: 40px;
}

/* Lab Test Section */
.lab-test-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  max-width: 134vh;
  background: linear-gradient(to bottom right, #ffffff, #f0f4f8);
  padding: 70px 60px;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 128, 202, 0.12);
  margin: 40px auto;
}

.lab-test-wrapper {
  display: flex;
  align-items: center;
  max-width: 1000px;
  width: 100%;
  gap: 40px;
  flex-wrap: wrap;
}

.lab-test-content {
  flex: 1;
  text-align: left;
}

.lab-test-content h2, .section-title {
  font-size: 1.75rem;
  color: #0080ca;
  margin-bottom: 1.2rem;
  position: relative;
  font-weight: 700;
}

.lab-test-content h2::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 50px;
  height: 4px;
  background-color: #1d4ed8;
  border-radius: 4px;
}

.section-description {
  font-size: 1.125rem;
  color: #6c757d;
  line-height: 1.7;
  margin-bottom: 30px;
  font-weight: 400;
  letter-spacing: 0.015em;
}

.lab-test-image {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 128, 202, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.lab-test-image:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.lab-test-image img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 128, 202, 0.15);
}

/* Testimonials Section */
.testimonials-section {
  background: linear-gradient(to bottom right, #ffffff, #f0f4f8);
  padding: 70px 60px;
  text-align: center;
}

.testimonials-section h2 {
  font-size: 1.75rem;
  color: #0080ca;
  margin-bottom: 1.2rem;
  font-weight: 700;
}

.testimonials-section h2::after {
  content: none !important;
}

.testimonials-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.testimonial-card {
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 128, 202, 0.08);
  padding: 1.75rem;
  max-width: 300px;
  flex: 1 1 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 128, 202, 0.12);
}

.testimonial-img {
  width: 115px;
  height: 115px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(0, 128, 202, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.testimonial-img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.testimonial-card h3, .testimonial-name {
  color: #0080ca;
  font-size: 1.375rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.testimonial-text {
  font-style: italic;
  color: #6c757d;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
}

/* FAQs Section */
.faqs {
  padding: 80px 60px;
}

.faqs h2, .text-center {
  font-size: 1.75rem;
  color: #0080ca;
  margin-bottom: 1.2rem;
  position: relative;
  font-weight: 700;
  text-align: center;
}

.faqs h2::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 4px;
  background-color: #1d4ed8;
  border-radius: 4px;
}

.faqs-layout {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.faqs-content {
  flex: 1 1 55%;
}

.faqs-image {
  flex: 1 1 40%;
  display: flex;
  justify-content: flex-end;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.faqs-image img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 128, 202, 0.15);
}

.faqs-image:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.faq-item {
  background-color: #ffffff;
  margin-bottom: 1.75rem;
  padding: 1.75rem;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 128, 202, 0.08);
  border-left: 4px solid #0080ca;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 128, 202, 0.12);
}

.faq-item h3 {
  font-size: 1.375rem;
  color: #0080ca;
  margin-bottom: 1rem;
  font-weight: 700;
}

.faq-item p {
  font-size: 1rem;
  color: #6c757d;
  font-weight: 400;
  line-height: 1.6;
}

/* Contact Section */
#contact {
  padding: 80px 60px;
  background: linear-gradient(to bottom right, #ffffff, #f0f4f8);
  text-align: center;
}

#contact h2 {
  font-size: 1.75rem;
  color: #0080ca;
  margin-bottom: 1.2rem;
  position: relative;
  font-weight: 700;
  display: inline-block;
}

#contact h2::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 50px;
  height: 4px;
  background-color: #1d4ed8;
  border-radius: 4px;
}

#contact p {
  font-size: 1.125rem;
  color: #6c757d;
  font-weight: 400;
  margin-bottom: 40px;
  letter-spacing: 0.015em;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #0080ca;
  outline: none;
  box-shadow: 0 0 8px rgba(0, 128, 202, 0.2);
}

/* Footer */
.footer {
  background-color: #152a3f;
  color: #FFFFFF;
  padding: 40px 0;
  font-size: 15px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  padding: 0 20px;
}

.footer-column {
  flex: 1 1 250px;
}

.footer-column h3 {
  margin-bottom: 15px;
  color: #FFFFFF;
  font-size: 18px;
  border-bottom: 2px solid #0D6EFD;
  display: inline-block;
  padding-bottom: 5px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.footer-column a {
  color: #CCE5FF;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

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

.footer-column ul li {
  color: #CCE5FF;
  text-decoration: none;
  transition: color 0.3s ease;
  margin: 10px 0;
}

.footer-column ul li a {
  color: #CCE5FF;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #FFFFFF;
}

.footer-column p {
  line-height: 1.6;
  color: #CCE5FF;
}

.social a {
  display: inline-block;
  margin-top: 10px;
  margin-right: 10px;
  color: #66B2FF;
  transition: color 0.3s ease;
}

.social a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid #444;
  padding-top: 15px;
  color: #aaa;
  font-size: 14px;
}

strong {
  color: #0080ca;
}

/* Highlight class */
.highlight {
  color: #0080ca;
  font-weight: 700;
}

/* Dark Mode Styles */
body, .container, .navx, .footer {
  transition: background-color 0.4s ease, color 0.4s ease;
}

#logo, #navLogo {
  transition: opacity 0.3s ease;
}

.dark-mode-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  font-family: 'Roboto', sans-serif;
}

.dark-mode-toggle .slider {
  position: relative;
  width: 80px;
  height: 36px;
  background-color: #eee;
  border-radius: 18px;
  transition: background-color 0.3s ease;
  overflow: hidden;
}

.dark-mode-toggle .slider::before {
  content: "";
  position: absolute;
  width: 32px;
  height: 32px;
  top: 2px;
  left: 2px;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: left 0.3s ease;
}

.dark-mode-toggle .slider i {
  position: absolute;
  top: 50%;
  left: 11px;
  transform: translateY(-50%);
  font-size: 16px;
  color: #666;
  transition: left 0.3s ease, color 0.3s ease;
}

.switch-label {
  font-size: 1rem;
  color: #444;
  transition: color 0.4s ease;
}

.dark-mode-toggle.active .slider {
  background-color: #4a4a5e;
}

.dark-mode-toggle.active .slider::before {
  left: 44px;
}

.dark-mode-toggle.active .slider i {
  left: 51px;
  color: #ffd700;
}

/* Dark mode application */
body.dark-mode {
  background-color: #1e1e2f;
  color: #e0e0e0;
}

body.dark-mode .switch-label {
  color: #e0e0e0;
}

body.dark-mode .navx {
  background-color: #2c2c3c;
  border-bottom: 1px solid #444;
}

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

body.dark-mode .nav-links li a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

body.dark-mode section {
  background: none !important;
  background-color: rgb(42, 42, 61) !important;
}

body.dark-mode .hero {
  background: none !important;
  background-color: rgb(42, 42, 61) !important;
}

body.dark-mode .hero-text h1,
body.dark-mode .about-text h2,
body.dark-mode .intro-text h2,
body.dark-mode .services h2,
body.dark-mode .doctors h2,
body.dark-mode .lab-test-content h2,
body.dark-mode .testimonials-section h2,
body.dark-mode .faqs h2,
body.dark-mode #contact h2,
body.dark-mode .map-section h2,
body.dark-mode .text-center,
body.dark-mode .section-title {
  color: #0080ca !important;
}

body.dark-mode .hero-text p,
body.dark-mode .about-text p,
body.dark-mode .content,
body.dark-mode .section-description,
body.dark-mode #contact p,
body.dark-mode .testimonial-text,
body.dark-mode .faq-item p {
  color: #ccc;
}

body.dark-mode .service-box,
body.dark-mode .doctor-card,
body.dark-mode .testimonial-card,
body.dark-mode .faq-item {
  background-color: #1f1f2e !important;
  border-color: #333 !important;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

body.dark-mode .service-box h3,
body.dark-mode .doctor-card h3,
body.dark-mode .testimonial-card h3,
body.dark-mode .faq-item h3 {
  color: #0080ca !important;
}

body.dark-mode .doctor-card p {
  color: #ccc !important;
}

body.dark-mode .doctor-card p strong {
  color: #0080ca !important;
}

body.dark-mode .service-box p {
  color: #ccc !important;
}

body.dark-mode .intro-text ul li {
  background-color: #1f1f2e !important;
  border-left: 4px solid #0080ca !important;
  color: #ccc !important;
}

body.dark-mode .intro-text ul li:hover {
  background-color: rgba(0, 128, 202, 0.1) !important;
}

body.dark-mode .contact-form input,
body.dark-mode .contact-form textarea {
  background-color: #3a3a4a;
  color: #fff;
  border: 1px solid #666;
}

body.dark-mode .contact-form input:focus,
body.dark-mode .contact-form textarea:focus {
  border-color: #0080ca;
  box-shadow: 0 0 8px rgba(0, 128, 202, 0.3);
}

body.dark-mode .footer {
  background-color: #222233;
  color: #ccc;
}

body.dark-mode .footer a {
  color: #aaa;
}

body.dark-mode .footer a:hover {
  color: #fff;
}

/* Menu Toggle Button */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #0D6EFD;
  user-select: none;
  padding: 4px 8px;
  transition: color 0.3s ease;
}

.menu-toggle:hover {
  color: #084298;
}

/* Side Menu (Mobile Only) */
.side-menu {
  position: fixed;
  top: 70px;
  right: -100%;
  width: 260px;
  background-color: #f9f9f9;
  box-shadow: -4px 0 12px rgba(0, 0, 0, 0.15);
  padding: 20px;
  transition: right 0.4s ease;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  border-radius: 0 0 12px 12px;
}

.side-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.side-menu ul li {
  margin: 15px 0;
}

.side-menu ul li a {
  display: block;
  padding: 10px 15px;
  color: #0D6EFD;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.side-menu ul li a:hover,
.side-menu ul li a:focus {
  background-color: #e7f0ff;
  color: #0a58ca;
  box-shadow: inset 0 0 5px rgba(13, 110, 253, 0.2);
  outline: none;
}

.side-menu.active {
  right: 0;
  display: flex;
}

body.dark-mode .side-menu {
  background-color: #2c2c3c;
  box-shadow: -4px 0 12px rgba(255, 255, 255, 0.05);
}

body.dark-mode .side-menu ul li a {
  color: #ffffff;
}

body.dark-mode .side-menu ul li a:hover,
body.dark-mode .side-menu ul li a:focus {
  background-color: rgba(255, 255, 255, 0.1);
  color: #90c6ff;
}

/* Responsive Design */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .nav-links {
    display: none !important;
  }
  
  .navbar {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  .navbar-buttons {
    order: -1;
    margin-bottom: 20px;
  }
  
  .hero {
    padding: 40px 20px;
    margin-top: 140px;
  }
  
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  
  .Hero-Button {
    width: 100%;
    margin-left: 0;
  }
  
  section {
    margin: 20px 10px;
    padding: 40px 20px;
  }
  
  .about-container,
  .intro-content,
  .services-content-wrapper,
  .faqs-layout,
  .lab-test-wrapper {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .services-grid {
    flex-direction: column;
  }
  
  .faqs-image,
  .faqs-content {
    flex: 1 1 100%;
    justify-content: center;
  }
  
  .doctors-grid,
  .doctor-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .testimonials-wrapper {
    flex-direction: column;
    align-items: center;
  }
  
  .testimonial-card {
    max-width: 100%;
  }
  
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }
  
  .footer-column {
    margin-bottom: 20px;
  }
  
  .contact-form input,
  .contact-form textarea {
    padding: 12px;
  }
  
  .btn {
    width: 100%;
    margin-bottom: 10px;
  }
  
  h1, h2 {
    font-size: 1.8rem !important;
  }
  
  .hero-text h1 {
    font-size: 2rem !important;
  }
}

@media (min-width: 769px) {
  .side-menu {
    display: none !important;
  }
}