/* Lakshana Holistic Clinic - Premium CSS */
:root {
  --primary-color: #2f5d50;
  --secondary-color: #607D8B;
  --accent-color: #FFC107;
  --text-dark: #2c3e50;
  --text-light: #5e6c76;
  --bg-light: #f5f5f5;
  --bg-white: #ffffff;
  --border-color: #e0e0e0;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Montserrat', sans-serif;
}

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

body {
  font-family: var(--font-body);
  line-height: 1.7;
  color: var(--text-light);
  background-color: var(--bg-white);
  scroll-behavior: smooth;
}

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

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--text-dark);
}

h1 { font-size: 3.5rem; margin-bottom: 1rem; }
h2 { font-size: 2.5rem; text-align: center; margin-bottom: 2rem; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }

p { margin-bottom: 1rem; }
a { color: var(--primary-color); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--accent-color); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-transform: uppercase;
  cursor: pointer;
  font-size: 0.95rem;
}

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

.btn-primary:hover {
  background-color: #24493f;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  transform: translateY(-3px);
}

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

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

.btn-nav-cta {
  background-color: var(--primary-color);
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
  margin-left: 20px;
}

/* Header */
header {
  background-color: white; /* solid background for clean appearance */
  padding: 5px 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03); /* subtle shadow */
}



header .container {
  min-height: 64px; /* previously 80px, optional */
  display: flex;
  justify-content:space-between;
  align-items: center;
}

.header-logo {
  max-height: 80px;
  display: block;
  object-fit: contain;
}



nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-dark);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: -4px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger .bar {
  width: 25px;
  height: 3px;
  background-color: var(--text-dark);
  margin: 4px 0;
  transition: 0.3s;
}


/* ========== Mobile Header & Navigation Styling ========== */

/* Mobile Header & Navigation Enhancements */
@media (max-width: 768px) {
  header {
    background-color: transparent;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: none;
  }

  .header-logo {
    max-height: 36px;
    width: auto;
  }

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  flex-grow: 1;
  display: flex;
  justify-content: center;
}

.hamburger {
  flex-shrink: 0;
}

  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    cursor: pointer;
    gap: 5px;
    z-index: 1100;
  }

  .hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: all 0.3s ease-in-out;
  }

  .hamburger.open .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

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

  .hamburger.open .bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background-color: white;
    position: absolute;
    top: 100%;
    left: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease-in-out;
  }

  .nav-links.active {
    display: flex;
    animation: slideDown 0.3s ease-in-out;
  }

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

  .nav-links li {
    width: 100%;
    text-align: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links a {
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 500;
  }
}

/* Hero */
.hero {
  background: var(--bg-white);
  padding: 80px 0;
}

.hero-content-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 60px;
}

.hero-text-area {
  flex: 1;
  min-width: 300px;
}

.hero-text-area p {
  font-size: 1.2rem;
  max-width: 600px;
}

.hero-image-area {
  flex: 1;
  min-width: 300px;
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-main-image {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.floating-sparkle {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background-color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.sparkle-icon {
  color: white;
  font-size: 1.8rem;
}

/* Sections */
.section-padded {
  padding: 80px 0;
}

.section-light-bg {
  background-color: var(--bg-light);
}

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

/* Service Cards */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--bg-white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  text-align: center;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* About Section */
.about-content {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: center;
}

.about-text, .about-image {
  flex: 1;
  min-width: 300px;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
}

/* Testimonials */
.testimonial-slider {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.testimonial-card {
  background: var(--bg-white);
  padding: 30px;
  border-radius: 10px;
  max-width: 400px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  font-style: italic;
}

.testimonial-card cite {
  display: block;
  font-weight: bold;
  margin-top: 10px;
  color: var(--primary-color);
  font-style: normal;
}

/* Appointment Form */
.appointment-form {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-dark);
}

input, select, textarea {
  width: 100%;
  padding: 12px 15px;
  font-size: 1rem;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  font-family: var(--font-body);
}

textarea {
  resize: vertical;
}

/* Contact */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.contact-item p, .contact-item a {
  color: var(--text-light);
}

/* Footer */
footer {
  background: var(--secondary-color);
  color: white;
  padding: 40px 0;
  text-align: center;
}

.social-links a {
  color: white;
  font-size: 1.4rem;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--accent-color);
}

/* Fade In Animation */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  text-align: center;
}

.stat-item {
  background-color: var(--bg-white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.stat-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.stat-number {
  font-size: 2.8rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 5px;
}

#stats h3 {
  font-size: 2.4rem;
  color: var(--primary-color);
  margin-top: 10px;
}

#stats p {
  font-size: 1rem;
  color: var(--text-light);
}

.logo {
  display: flex;
  align-items: center;
  padding-top: 5px; /* Optional tweak */
}

header .container {
  align-items: center;
  min-height: 10px;
}

.logo {
  opacity: 0;
  animation: fadeInLogo 1.2s ease forwards;
  animation-delay: 0.4s;
}

@keyframes fadeInLogo {
  to {
    opacity: 1;
  }
}

.hero {
  padding-top: 200px; /* create space for transparent header */
}

/* Fixing the mobile header layout */
/* Fixing the mobile header layout */


}
