* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #0d2d4d;
  --secondary-color: #4db8e8;
  --dark-blue: #1e5a8e;
  --light-blue: #e8f4f8;
  --text_dark: #2c3e50;
  --text_light: #6c757d;
  --white: #ffffff;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text_dark);
  background: var(--light-blue);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Updated page title section styles for internal pages */
.page-title-section {
  background: var(--secondary-color);
  padding: 2rem 0;
  text-align: center;
}

.page-title-text {
  color: var(--white);
  font-size: 2rem;
  font-weight: 600;
  margin: 0;
}

/* Added mobile menu toggle button styles - hidden on desktop */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
  background: var(--primary-color);
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 5px;
  flex-direction: column;
  gap: 5px;
  width: 45px;
  height: 45px;
  justify-content: center;
  align-items: center;
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background: var(--white);
  transition: all 0.3s;
}

/* Added mobile menu close button - hidden on desktop */
.mobile-menu-close {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1003;
}

.close-icon {
  font-size: 3rem;
  color: var(--white);
  line-height: 1;
}

/* Updated header styles - logo overlaps menu bar, menu bar full width */
/* Header */
.header {
  position: relative;
  background: transparent;
  z-index: 100;
  margin-bottom: 0;
}

.logo-wrapper {
  position: absolute;
  left: 40px;
  top: -90px;
  z-index: 102;
}

.logo-image {
  height: 240px;
  width: auto;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.nav {
  background: var(--primary-color);
  padding: 0 40px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 60px;
  width: 100%;
  position: relative;
  z-index: 101;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
}

.nav-link {
  text-decoration: none;
  color: var(--white);
  font-weight: 500;
  transition: color 0.3s;
  font-size: 1.1rem;
  padding: 0.5rem 0;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--secondary-color);
}

/* Updated banner to not have margin-top since header is now below it */
/* Banner */
.banner {
  position: relative;
  height: 350px;
  overflow: hidden;
}

.banner-slider {
  position: relative;
  height: 100%;
}

.banner-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.banner-slide.active {
  opacity: 1;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--white);
  z-index: 2;
  width: 90%;
  max-width: 800px;
}

.banner-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-content p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.banner-prev,
.banner-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(30, 90, 142, 0.7);
  color: var(--white);
  border: none;
  padding: 1rem 1.5rem;
  cursor: pointer;
  font-size: 1.5rem;
  transition: background 0.3s;
  z-index: 3;
}

.banner-prev:hover,
.banner-next:hover {
  background: rgba(30, 90, 142, 0.9);
}

.banner-prev {
  left: 20px;
}

.banner-next {
  right: 20px;
}

/* Removed old header styles, updated button and section styles */
/* Buttons */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--secondary-color);
  color: var(--white);
}

.btn-primary:hover {
  background: #3aa5d5;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(77, 184, 232, 0.4);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-color);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: transparent;
  color: var(--white);
}

/* Services section with dark blue background */
/* Remove margin from sections below header */
/* Services Section */
.services {
  padding: 5rem 0;
  background: var(--light-blue);
  margin-top: 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--dark-blue);
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--primary-color);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(13, 45, 77, 0.4);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--secondary-color), var(--dark-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.service-card h3 {
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--light-blue);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* CTA section with primary dark blue background */
/* CTA Section */
.cta {
  background: var(--primary-color);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--light-blue);
}

/* Footer with dark blue background and logo added */
/* Footer */
.footer {
  background: var(--dark-blue);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-logo img {
  height: 120px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-logo p {
  color: var(--light-blue);
  line-height: 1.8;
}

.footer h3 {
  margin-bottom: 1rem;
  color: var(--secondary-color);
  font-size: 1.3rem;
}

.footer-info p {
  color: var(--light-blue);
  margin-bottom: 0.5rem;
}

.address {
  margin-top: 1rem;
  line-height: 1.8;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s;
  padding: 0.5rem 1rem;
  background: rgba(77, 184, 232, 0.2);
  border-radius: 5px;
}

.social-link:hover {
  color: var(--secondary-color);
  background: rgba(77, 184, 232, 0.3);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--light-blue);
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25d366;
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: transform 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* Page Header */
.page-header {
  background: var(--primary-color);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.3rem;
  color: var(--light-blue);
}

/* About Page */
/* About content section starts immediately after header */
.about-content {
  padding: 5rem 0;
  background: var(--light-blue);
  margin-top: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-text h2 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.about-text h3 {
  color: var(--dark-blue);
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
}

.about-text p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  color: var(--text_dark);
}

.treatment-list,
.values-list {
  list-style: none;
  padding-left: 0;
}

.treatment-list li,
.values-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text_dark);
}

.treatment-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.stat {
  background: var(--dark-blue);
  color: var(--white);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
}

.stat h3 {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

/* Location */
.location {
  padding: 5rem 0;
  background: var(--primary-color);
}

.location h2 {
  text-align: center;
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.location-info {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
}

.location-info h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.location-info p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  color: var(--text_dark);
}

.location-map iframe {
  border-radius: 10px;
  width: 100%;
  height: 400px;
}

/* Services Detail */
/* Services detail section starts immediately after header */
.services-detail {
  padding: 5rem 0;
  background: var(--light-blue);
  margin-top: 0;
}

.service-detail-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
  align-items: center;
  background: var(--white);
  padding: 3rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.service-detail-card.reverse {
  direction: rtl;
}

.service-detail-card.reverse > * {
  direction: ltr;
}

.service-detail-content h2 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.service-detail-content p {
  color: var(--text_dark);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.service-detail-content ul {
  list-style: none;
  padding-left: 0;
}

.service-detail-content li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text_dark);
}

.service-detail-content li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
}

.service-detail-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

/* Contact Page */
/* Contact section starts immediately after header */
.contact-section {
  padding: 5rem 0;
  background: var(--light-blue);
  margin-top: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info {
  background: var(--white);
  padding: 3rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.contact-info h2 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.contact-info > p {
  color: var(--text_dark);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-item svg {
  flex-shrink: 0;
  color: var(--secondary-color);
}

.contact-item h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: var(--text_dark);
  line-height: 1.6;
}

.contact-item a {
  color: var(--secondary-color);
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

.contact-form {
  background: var(--white);
  padding: 3rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.contact-form h2 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text_dark);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
}

.map-section {
  width: 100%;
}

/* Updated responsive styles for new logo alignment */
/* Updated responsive styles for logo overlap */
/* Responsive */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .nav-list {
    gap: 1.5rem;
  }

  .nav-link {
    font-size: 1rem;
  }

  .logo-wrapper {
    left: 30px;
    top: -70px;
  }

  .logo-image {
    height: 180px;
  }
}

@media (max-width: 768px) {
  /* Hide banner on mobile/responsive */
  .banner {
    display: none !important;
  }

  /* Show mobile menu toggle button */
  .mobile-menu-toggle {
    display: flex;
  }

  /* Mobile menu close button visible in mobile nav */
  .mobile-menu-close {
    display: block;
  }

  .header-container {
    flex-direction: column;
    align-items: center;
  }

  .logo-section {
    padding: 20px;
    text-align: center;
  }

  /* Logo positioned at top left on mobile, within bounds */
  .logo-wrapper {
    position: absolute;
    left: 20px;
    transform: none;
    top: -80px;
    text-align: left;
    padding: 0;
    z-index: 102;
  }

  .logo-image {
    height: 120px;
  }

  /* Mobile navigation as toggle overlay */
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--primary-color);
    padding: 80px 20px 20px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    transition: right 0.3s ease-in-out;
    z-index: 1002;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
  }

  .nav.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .nav-list li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-link {
    display: block;
    padding: 1rem;
    font-size: 1.1rem;
    width: 100%;
  }

  /* Page title section spacing adjusted for mobile */
  .page-title-section {
    margin-top: 60px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .service-card h3 {
    font-size: 1.1rem;
  }

  .service-card p {
    font-size: 0.9rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-logo img {
    height: 100px;
  }

  .about-grid,
  .location-grid,
  .service-detail-card,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-detail-card.reverse {
    direction: ltr;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .page-header p {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Smaller logo on very small screens, aligned left with padding */
  .logo-wrapper {
    top: 0px;
    left: 15px;
  }

  .logo-image {
    height: 90px;
  }

  .nav-list {
    gap: 0;
  }

  .nav-link {
    font-size: 1rem;
    padding: 0.875rem;
  }

  .banner-content h1 {
    font-size: 1.5rem;
  }

  .banner-content p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .cta h2 {
    font-size: 2rem;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
}
