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

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

/* Desktop layout */
.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  position: relative;
}

/* Hide toggle by default */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
}

nav {
  background-color: white;
  padding: 25px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

.navbar li {
  margin: 0 15px;
  color: black;
  cursor: pointer;
}

.navbar a {
  color: black;
  text-decoration: none;

}

.navbar li:hover {
  opacity: 0.8;
}

.logo {
  color: rgb(9, 8, 8);
  font-size: 1.5em;
  text-decoration: none;
  font-weight: bold;
  padding-right: 50px;
  margin: 10px;
}

/* Dropdown Container */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  padding-top: 20px;
  /* Pushes the entire dropdown content down */
  list-style: none;
  display: none;
  width: 180px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
  text-align: left;
  border-top: 3px solid #002244;
}

/* Show menu on hover (desktop) */
.dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
  display: block;
}

/* Dropdown Items */
.dropdown-menu li a {
  display: block;
  padding: 12px 20px;
  color: #000;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.dropdown-menu li a:hover {
  background-color: #f5f5f5;
}

/* Enhanced dropdown functionality for mobile */
@media (max-width: 768px) {
  .dropdown-menu {
    display: none !important;
    /* Make sure it's hidden initially */
  }

  .dropdown.active .dropdown-menu {
    display: block !important;
    /* Only show when dropdown is active */
  }
}

.hero {
  height: 100vh;
  width: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4)), url('../images/about_hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-content {
  text-align: center;
  color: whitesmoke;
  z-index: 2;
}


.hero h1 {
  font-size: 5rem;
  font-family: 'Brush Script MT', cursive;
  font-weight: bold;
  margin-bottom: 30px;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 10px;
  opacity: 0.9;
}

/* Button in a Pic */
.btn {
  display: inline-block;
  background-color: #f5de58;
  color: black;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  /* margin-top: 30px; */
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: #e0c22f;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Button for Navigation Bar  */
.btn-yellow {
  background-color: #f5de58;
  color: #000;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
}

.btn-yellow:hover {
  background-color: #e0c22f;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 20px 0;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  transition: all 0.3s ease;
  font-family: 'Arial', sans-serif;
  /* More professional than cursive */
}

.contact-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.contact-icon {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
  /* Makes SVG white */
  transition: transform 0.3s ease;
}

.contact-link:hover .contact-icon {
  transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .contact-info {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .contact-link {
    padding: 8px 16px;
    font-size: 1rem;
  }
}

/* Main heading section */
.about-section {
  text-align: center;
  padding: 40px 0;
  margin-bottom: 40px;
}

.about-section h1 {
  font-size: 2.5rem;
  color: #002244;
  margin-top: 20px;
  margin-bottom: 30px;
  font-weight: 600;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
}

.about-content p {
  margin-bottom: 20px;
}

/* Book Online button */
.book-btn {
  display: inline-block;
  background-color: #f5de58;
  color: black;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 30px;
  transition: all 0.3s ease;
}

.book-btn:hover {
  background-color: #e0c22f;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Profile Card */
.profile-card {
  background-color: #1B898B;
  color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  width: 100%;
  margin: 0 auto;
}

/* Flex layout for image + content */
.profile-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
  padding: 40px;
}

.profile-image {
  flex: 1;
  min-width: 450px;
  max-width: 550px;
}

.profile-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

/* Adjust profile content to take up remaining space */
.profile-content {
  flex: 2;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
  opacity: 0.9;
  font-family: Verdana, sans-serif;
}

.profile-content h1 {
  font-family: 'Brush Script MT', cursive;
  font-size: 2.5em;
  padding-bottom: 10px;
}

/* Optional: Reduce padding inside profile-card */
.profile-card {
  padding: 0;
}

/* Doctor Quote */
.doctor-quote {
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.8;
  position: relative;
  padding-left: 30px;
  border-left: 3px solid #f5de58;
}

/* Doctor Info */
.doctor-info h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: white;
}

.doctor-info h3 {
  font-size: 1.2rem;
  font-weight: 400;
  color: #f5de58;
  margin-bottom: 20px;
}

.doctor-info p {
  margin-bottom: 15px;
  line-height: 1.8;
}

/* Treatment Section */
.treatment-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #fff;
}

.treatment-section h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: rgb(52, 49, 49)
}

/* Starting of the Card  */
/* Card Grid */
.treatment-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

/* Individual Card */
.treatment-card {
  position: relative;
  width: 300px;
  height: 220px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

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

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

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(27, 137, 139, 0.85);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  padding: 20px;
  transition: opacity 0.3s ease;
  text-align: center;
}

.treatment-card:hover .card-overlay {
  opacity: 1;
}

.card-overlay h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.card-overlay p {
  font-size: 1rem;
  line-height: 1.4;
}

/* Button styling */
.explore-btn-wrapper {
  margin-top: 40px;
}

.explore-btn {
  background-color: #f5de58;
  color: #0b0c0c;
  font-weight: bold;
  padding: 14px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.explore-btn:hover {
  background-color: #e4cd4f;
  transform: translateY(-4px);
}

.why-choose-section {
  background: url('images/about_background.jpg') no-repeat center center/cover;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  position: relative;
  z-index: 0;
  color: #fff;
}

/* Updated fade-in animation with trigger */
.why-choose-card {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 50px;
  border-radius: 15px;
  max-width: 900px;
  width: 100%;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(6px);
  position: relative;
  transition: all 0.3s ease;
  opacity: 0;
  /* Initially hidden */
  transform: translateY(40px);
  /* Start position for animation */
}

.why-choose-card.visible {
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUp 1.4s ease both;
}

.why-choose-card h2 {
  text-align: center;
  font-size: 2.6rem;
  font-weight: 700;
  color: #0c4b73;
  margin-bottom: 40px;
  letter-spacing: 0.5px;
}

.why-choose-item {
  margin-bottom: 30px;
  border-bottom: 1px solid #e1e1e1;
  /* Lighter border for a cleaner look */
  padding-bottom: 25px;
}

.icon-title {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 15px;
}

.icon-title img {
  width: 35px;
  /* Slightly larger for better visibility */
  height: 35px;
}

.icon-title h3 {
  font-size: 1.4rem;
  color: #333;
  margin: 0;
  font-weight: 700;
  text-transform: uppercase;
}

.why-choose-item p {
  font-size: 1.1rem;
  color: #555;
  margin: 0;
  line-height: 1.7;
}

.book-button {
  display: inline-block;
  margin-top: 40px;
  padding: 16px 36px;
  background-color: #0c4b73;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 40px;
  transition: all 0.3s ease;
  text-align: center;
  letter-spacing: 1px;
  font-size: 1.1rem;
}

.book-button:hover {
  background-color: #093a5c;
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


.visit-us {
  padding: 60px 30px;
  background: #ffffff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #2c3e50;
}

.visit-us-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3rem;
  max-width: 1200px;
  margin: auto;
  background: #fdfdfd;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.visit-us-details {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
}

.visit-us-details h4 {
  font-family: 'Dancing Script', cursive;
  text-align: justify;
  font-size: 30px;
  margin-bottom: 30px;
}

.contact-title {
  font-size: 36px;
  font-weight: 700;
  color: #1a73e8;
  font-family: 'Dancing Script', cursive;
  margin-bottom: 30px;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 10px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  gap: 20px;
}

.contact-item i {
  font-size: 22px;
  color: #1a73e8;
  padding: 12px;
  border-radius: 50%;
  min-width: 44px;
  text-align: center;
  background: none;
  /* Removed oval shape */
}

.contact-label {
  font-size: 16px;
  font-weight: 600;
  color: #34495e;
  margin-bottom: 4px;
  display: block;
}

.contact-text {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}

.contact-text a {
  color: #1a73e8;
  text-decoration: none;
  font-weight: 500;
}

.contact-text a:hover {
  text-decoration: underline;
}

.hours-day {
  font-weight: 600;
  color: #2c3e50;
}

.visit-us-map {
  flex: 1 1 50%;
  min-height: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.visit-us-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .visit-us-container {
    flex-direction: column;
    padding: 20px;
  }

  .visit-us-details,
  .visit-us-map {
    flex: 1 1 100%;
  }

  .visit-us-map {
    min-height: 300px;
  }
}

/* Button styling */
.book-button {
  display: inline-block;
  margin-top: 25px;
  padding: 14px 28px;
  background-color: #f5de58;
  color: #0b0b0b;
  font-weight: bold;
  text-decoration: none;
  border-radius: 30px;
  transition: all 0.3s ease;
  text-align: center;
}

.book-button:hover {
  background-color: #e4cd4f;
  transform: translateY(-2px);
}

/* Fade-in animation */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* start of footer */
.custom-footer {
  background: linear-gradient(45deg,
      rgba(15, 23, 42, 0.9) 20%,
      rgba(15, 23, 42, 0.85) 40%,
      rgba(15, 23, 42, 0.92) 60%,
      rgba(15, 23, 42, 0.88) 80%);
  color: white;
  padding: 50px 20px 0;
  font-family: 'Arial', sans-serif;
  position: relative;
}

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

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column {
  margin-bottom: 20px;
}

.footer-column h3 {
  color: #f1c359;
  margin-bottom: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: #f1c359;
}

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

.footer-column ul li {
  margin-bottom: 12px;
  line-height: 1.5;
}

.footer-column a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s;
  opacity: 0.9;
}

.footer-column a:hover {
  color: #f1c359;
  opacity: 1;
}

.footer-contact p {
  margin-bottom: 12px;
  line-height: 1.5;
  opacity: 0.9;
}

.footer-contact a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-contact a:hover {
  color: #f1c359;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-icons a {
  display: inline-block;
  transition: transform 0.3s;
}

.social-icons a:hover {
  transform: translateY(-3px);
}

.social-icons img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
  transition: filter 0.3s;
}

.social-icons a:hover img {
  filter: brightness(0) invert(0.8) sepia(1) saturate(5) hue-rotate(0deg);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  font-size: 0.85rem;
}

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

.footer-bottom p {
  margin: 5px 0;
  opacity: 0.8;
}

.footer-bottom a {
  color: #ffffff;
  text-decoration: none;
  margin-left: 15px;
  transition: color 0.3s;
}

.footer-bottom a:hover {
  color: #f1c359;
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .footer-bottom-container {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .footer-bottom a {
    margin: 0 10px;
  }
}

@media (max-width: 480px) {
  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-column {
    margin-bottom: 30px;
  }

  .footer-column h3 {
    margin-bottom: 15px;
  }
}


/* Mobile Navigation Styles - Updated */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 25px;
  z-index: 1001;
}

/* Mobile Menu Button */
.hamburger {
  width: 30px;
  height: 20px;
  position: relative;
  margin: 0 auto;
  margin-top: 13px;
}

.hamburger span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #000;
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.hamburger span:nth-child(1) {
  top: 0px;
}

.hamburger span:nth-child(2) {
  top: 8px;
}

.hamburger span:nth-child(3) {
  top: 16px;
}

/* Keep body from scrolling when mobile menu is open */
body.no-scroll {
  overflow: hidden;
}

/* Updated Mobile Navigation Styles */
@media screen and (max-width: 992px) {
  .main-nav {
    flex-wrap: wrap;
  }

  .mobile-nav-toggle {
    display: block;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 2001;
  }

  .navbar {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    background: white;
    align-items: center;
    justify-content: flex-start;
    padding-top: 100px;
    z-index: 2000;
  }

  .navbar.active {
    display: flex;
  }

  .navbar li {
    width: 100%;
    text-align: center;
    padding: 15px 0;
  }

  .logo {
    position: relative;
    z-index: 2002;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    padding: 0;
    padding-right: 35px;
    margin-top: 15px;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }

  /* For the active hamburger button */
  .mobile-nav-toggle.active .hamburger span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
  }

  .mobile-nav-toggle.active .hamburger span:nth-child(2) {
    opacity: 0;
    left: -60px;
  }

  .mobile-nav-toggle.active .hamburger span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
  }
}

@media screen and (max-width: 768px) {

  /* Hero section improvements */
  .hero {
    min-height: 70vh;
  }

  .hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
  }

  .hero p {
    font-size: 1.2rem;
  }

  /* Treatment cards improvements */
  .treatment-cards {
    gap: 15px;
  }

  .treatment-card {
    width: 100%;
    max-width: 300px;
  }

  /* About section improvements */
  .about-section h1 {
    font-size: 2rem;
    padding: 0 15px;
  }

  .about-content {
    padding: 0 15px;
  }

  /* Why choose section improvements */
  .why-choose-card {
    padding: 30px 20px;
  }

  .why-choose-card h2 {
    font-size: 2rem;
  }

  .icon-title {
    gap: 15px;
  }

  .icon-title h3 {
    font-size: 1.2rem;
  }
}

/* Small mobile devices */
@media screen and (max-width: 480px) {
  .hero {
    min-height: 70vh;
  }

  .contact-info {
    flex-direction: column;
    gap: 10px;
  }

  .contact-link {
    width: 100%;
    justify-content: center;
  }

  .treatment-card {
    height: 180px;
  }

  .card-overlay h3 {
    font-size: 1.3rem;
  }

  .visit-us-container {
    padding: 20px 15px;
  }

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

/* Home Page Content Responsive */
@media screen and (max-width: 768px) {
  .home-page_content {
    height: auto;
    padding: 60px 20px;
  }

  .inside-content_homePage {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    padding: 25px;
  }

  .text-section {
    width: 100%;
  }

  .profile-img {
    width: 180px;
    height: 180px;
    margin: 0 auto;
  }

  .features-list li {
    text-align: left;
  }

  blockquote {
    text-align: left;
  }
}
.why-choose-clean {
  background: url("images/about_background.jpg") no-repeat center center;
  background-size: cover;
  padding: 80px 20px;
  position: relative;
}
.why-choose-clean::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(255, 255, 255, 0.3);
  z-index: 0;
}


.why-clean-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.why-clean-title {
  font-size: 2.5rem;
  color: #0a3d62;
  margin-bottom: 40px;
}

.why-clean-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.why-clean-card {
  background-color: #fff;
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.why-clean-card img {
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
}

.why-clean-card h3 {
  font-size: 1.2rem;
  color: #0a3d62;
  margin-bottom: 10px;
}

.why-clean-card p {
  font-size: 1rem;
  color: #444;
  line-height: 1.5;
}

.why-clean-button {
  display: inline-block;
  background-color: #0a3d62;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

.why-clean-button:hover {
  background-color: #1e6aa6;
}



