:root {
  --primary-color: #6a1b9a; /* Deep Purple */
  --secondary-color: #9c27b0; /* Lighter Purple */
  --text-color: #333;
  --bg-color: #f9f9f9;
  --white: #ffffff;
  --light-gray: #eee;
  --font-main: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --max-width: 1200px;
  --header-height: 80px;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header */
header {
  background-color: var(--white);
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.nav-container {
  display: flex;
  justify-content: space-between; /* Logo Left, Nav Right */
  align-items: center; /* Vertically Center everything */
}

.logo {
  font-size: 1.8rem; /* Larger text */
  font-weight: 800;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 15px; /* More gap for icon */
  text-decoration: none;
  flex-shrink: 0; /* Prevent logo from squishing */
}

.logo img {
    height: 60px; /* Adjusted height to fit header nicely */
    width: auto;
    max-height: 100%; /* Ensure it doesn't overflow container */
}

.nav-menu {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  color: #555;
  font-size: 1rem;
  padding: 10px 0;
  display: block;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-color);
}

/* Dropdown Menu (Removed as per user request, but keeping styles just in case for future) */
/* .dropdown ... */


.hamburger {
  display: none;
  cursor: pointer;
  margin-right: auto; /* Move hamburger to left on mobile */
  position: absolute; /* Absolute left for mobile */
  left: 20px;
  z-index: 1001;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: #333;
  transition: all 0.3s ease-in-out;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('../img/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  padding: 100px 20px;
  text-align: center;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--white);
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 40px;
  /* Purple fill with white stroke/glow */
  color: #6a1b9a; 
  text-shadow: 
    -1px -1px 0 #fff,  
     1px -1px 0 #fff,
    -1px  1px 0 #fff,
     1px  1px 0 #fff;
  font-weight: 800;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 5px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: var(--secondary-color);
  color: var(--white);
}

.btn-outline {
    background-color: transparent; 
    border: 2px solid var(--primary-color); 
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}


/* Main Content */
.main-content {
  padding: 60px 0;
  min-height: 50vh;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5rem;
  color: var(--primary-color);
}

.content-block {
  background: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  margin-bottom: 40px;
}

.content-block h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
  scroll-margin-top: 120px; /* Offset for sticky header + spacing */
}

/* Also apply to sections if they are the targets */
section[id] {
    scroll-margin-top: 100px;
}

.content-block p {
  margin-bottom: 15px;
}

/* Grid for Therapies/Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.card {
  background: var(--white);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
}

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

.card h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    margin-bottom: 15px;
}

.profile-img {
    float: left;
    margin-right: 30px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    max-width: 320px; /* Adjusted to 320px */
}

/* Floating Badges */
.floating-badges {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-end;
}

.floating-badges img {
    height: 100px; /* Increased from 80px */
    width: auto;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s;
    background: white; /* Ensure transparency background is white if needed or just styling */
}

.floating-badges img:hover {
    transform: scale(1.1);
}

/* Address Card on Contact Page */
.address-card {
    margin-top: 60px;
    background-color: #fcf6ff; /* Very soft purple background */
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(106, 27, 154, 0.1); /* Subtle primary colored border */
    box-shadow: 0 4px 15px rgba(106, 27, 154, 0.05);
}

.address-card h3 {
    margin-bottom: 20px;
    color: var(--secondary-color); /* Use secondary color for distinction */
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 2px;
    font-weight: 600;
}

/* Footer */
footer {
  background-color: #333;
  color: var(--white);
  padding: 40px 0;
  text-align: center;
  margin-top: auto;
}

footer a {
  color: #bbb;
  margin: 0 10px;
}

footer a:hover {
  color: var(--white);
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  
  /* .nav-container inherits space-between which works for Mobile (Logo Left, Burger Right) */
  
  /* Fix for header overlap on small screens */
  @media (max-width: 480px) { /* Increased breakpoint for safety */
      .nav-container {
          flex-wrap: wrap; /* Allow wrapping */
      }
      
      .hamburger {
          margin-left: auto; /* Push burger to right */
          margin-right: 0;
          position: relative; /* Remove absolute positioning to participate in flex flow if needed, or adjust padding */
          left: auto;
          top: auto;
      }

      .logo {
          font-size: 1.2rem; /* Adjusted size */
          max-width: 75%; /* Limit width to leave room for burger */
          white-space: normal; /* Allow text wrapping */
          line-height: 1.1;
      }
      
      .logo img {
          display: block; /* Show logo icon */
          height: 40px; /* Smaller icon for mobile */
          width: auto;
      }
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: var(--header-height);
    gap: 0;
    flex-direction: column;
    background-color: var(--white);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    align-items: stretch;
    margin-left: 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-link {
      padding: 15px;
      border-bottom: 1px solid #eee;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .profile-img {
      float: none;
      display: block;
      margin: 0 auto 20px;
      width: 100%;
  }

  .floating-badges {
      flex-direction: row;
      bottom: 10px;
      right: 10px;
  }
  
  /* Floating Badges adjustments for mobile */
  .floating-badges img {
      height: 50px;
  }
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 900px;
    max-height: 80vh;
    object-fit: contain;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.clickable-img {
    cursor: pointer;
    transition: 0.3s;
}

.clickable-img:hover {
    opacity: 0.9;
}
