/* 
   Dr. Humna Physiotherapy & Spine Specialist
   Website Stylesheet - Modern, Responsive, and Niche-Tailored (Teal/Mint Medical Theme)
*/

:root {
  /* Colors */
  --color-primary: #0d9488;      /* Deep Teal */
  --color-primary-hover: #0f766e;
  --color-primary-light: #f0f9ff; /* Very soft light blue/teal background */
  --color-secondary: #14b8a6;    /* Mint Accent */
  --color-accent: #34d399;       /* Light Mint */
  --color-dark: #0f172a;         /* Slate 900 */
  --color-dark-muted: #334155;   /* Slate 700 */
  --color-light: #f8fafc;        /* Slate 50 */
  --color-white: #ffffff;
  --color-border: #e2e8f0;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-white);
  color: var(--color-dark-muted);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  padding-bottom: 60px; /* Space for mobile sticky footer */
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

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

ul {
  list-style: none;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

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

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

.text-center {
  text-align: center;
}

.section-title {
  font-size: 2.2rem;
  color: var(--color-dark);
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--color-secondary);
  margin: 15px auto 0;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-dark-muted);
  max-width: 600px;
  margin: 0 auto 50px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-weight: 600;
  border-radius: 8px;
  transition: var(--transition-fast);
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
  background-color: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

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

.btn-white:hover {
  background-color: var(--color-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Sticky Header */
header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: var(--transition-normal);
}

header.scrolled {
  padding: 10px 0;
  box-shadow: var(--shadow-md);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--color-primary);
}

.logo svg {
  width: 32px;
  height: 32px;
  fill: var(--color-primary);
}

.nav-links {
  display: none;
}

.nav-links a {
  font-weight: 500;
  color: var(--color-dark-muted);
}

.nav-links a.active {
  color: var(--color-primary);
  font-weight: 700;
}

.header-cta {
  display: none;
}

/* Mobile Nav Toggle */
.nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: block;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--color-dark);
  margin: 5px 0;
  transition: var(--transition-fast);
}

/* Responsive Navbar */
@media (min-width: 992px) {
  .nav-links {
    display: flex;
    gap: 30px;
  }
  
  .nav-links a:hover {
    color: var(--color-primary);
  }
  
  .header-cta {
    display: block;
  }
  
  .nav-toggle {
    display: none;
  }
}

/* Mobile Menu Expansion */
.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: var(--color-white);
  box-shadow: var(--shadow-md);
  padding: 20px;
  border-top: 1px solid var(--color-border);
}

.mobile-nav.open {
  display: block;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mobile-nav a {
  display: block;
  padding: 10px 0;
  font-size: 1.1rem;
  border-bottom: 1px solid #f1f5f9;
}

.mobile-nav .btn {
  margin-top: 10px;
  width: 100%;
}

/* Hero Section */
.hero {
  padding: 60px 0;
  background-color: var(--color-primary-light);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .hero {
    padding: 100px 0;
  }
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
  }
}

.hero-content {
  text-align: center;
}

@media (min-width: 992px) {
  .hero-content {
    text-align: left;
  }
}

.badge-gold {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #fef3c7;
  color: #b45309;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
  border: 1px solid #fde68a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-gold svg {
  width: 16px;
  height: 16px;
  fill: #b45309;
}

.hero-title {
  font-size: 2.2rem;
  line-height: 1.2;
  color: var(--color-dark);
  font-weight: 800;
  margin-bottom: 20px;
}

.hero-title span {
  color: var(--color-primary);
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--color-dark-muted);
  margin-bottom: 30px;
}

.hero-bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 35px;
  text-align: left;
}

.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--color-dark);
}

.hero-bullets li svg {
  width: 20px;
  height: 20px;
  fill: var(--color-secondary);
  flex-shrink: 0;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

@media (min-width: 576px) {
  .hero-ctas {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 992px) {
  .hero-ctas {
    justify-content: flex-start;
  }
}

.hero-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 20px;
  transition: var(--transition-normal);
}

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

/* Stats Section */
.stats {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 40px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-secondary);
}

.service-icon {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  width: 60px;
  height: 60px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.service-title {
  font-size: 1.3rem;
  color: var(--color-dark);
  font-weight: 700;
  margin-bottom: 15px;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--color-dark-muted);
  flex-grow: 1;
  margin-bottom: 20px;
}

.service-bullets {
  margin-bottom: 25px;
}

.service-bullets li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  margin-bottom: 8px;
  font-weight: 500;
}

.service-bullets li svg {
  width: 14px;
  height: 14px;
  fill: var(--color-primary);
  flex-shrink: 0;
}

.service-link {
  color: var(--color-primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.95rem;
  margin-top: auto;
}

.service-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: var(--transition-fast);
}

.service-card:hover .service-link svg {
  transform: translateX(4px);
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: center;
}

@media (min-width: 992px) {
  .about-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
  }
}

.about-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-image-wrapper::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border: 2px solid var(--color-white);
  border-radius: 15px;
  z-index: 1;
  pointer-events: none;
}

.about-image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.about-title {
  font-size: 2rem;
  color: var(--color-dark);
  font-weight: 700;
  margin-bottom: 20px;
}

.about-desc {
  font-size: 1.05rem;
  margin-bottom: 25px;
}

.about-bullets {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  margin-bottom: 30px;
}

@media (min-width: 576px) {
  .about-bullets {
    grid-template-columns: repeat(2, 1fr);
  }
}

.about-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
}

.about-bullets li svg {
  width: 20px;
  height: 20px;
  fill: var(--color-secondary);
  flex-shrink: 0;
}

/* Location & Booking Section */
.booking-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 992px) {
  .booking-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 35px;
  box-shadow: var(--shadow-md);
}

.contact-info-list {
  margin-bottom: 30px;
}

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

.contact-info-icon {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.contact-info-text h4 {
  font-size: 1rem;
  color: var(--color-dark);
  font-weight: 700;
  margin-bottom: 2px;
}

.contact-info-text p {
  font-size: 0.95rem;
}

.map-wrapper {
  border-radius: 12px;
  overflow: hidden;
  height: 250px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

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

/* Form Styling */
.booking-form-wrapper {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 35px;
  box-shadow: var(--shadow-md);
}

.form-title {
  font-size: 1.5rem;
  color: var(--color-dark);
  margin-bottom: 20px;
  font-weight: 700;
}

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.booking-form .btn {
  width: 100%;
}

.form-success-msg {
  display: none;
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.rating {
  color: #f59e0b;
  display: flex;
  gap: 4px;
  margin-bottom: 15px;
}

.rating svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.testimonial-text {
  font-style: italic;
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.client-avatar {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  font-weight: 700;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
}

.client-name h4 {
  font-size: 0.95rem;
  color: var(--color-dark);
  font-weight: 700;
}

.client-name p {
  font-size: 0.8rem;
  color: var(--color-dark-muted);
}

/* FAQs Section */
.faq-max-width {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-dark);
  transition: var(--transition-fast);
}

.faq-question:hover {
  background-color: var(--color-light);
  color: var(--color-primary);
}

.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-normal);
}

.faq-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out, padding var(--transition-normal) ease-out;
  padding: 0 20px;
  font-size: 0.95rem;
  border-top: 0 solid var(--color-border);
  background-color: var(--color-light);
}

.faq-item.active .faq-answer {
  max-height: 200px; /* Arbitrary high value to allow expansion */
  padding: 20px;
  border-top-width: 1px;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* CTA Promo Section */
.cta-promo {
  background-color: var(--color-primary-hover);
  color: var(--color-white);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-promo-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.cta-promo-text {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 30px;
  opacity: 0.9;
}

/* Footer */
footer {
  background-color: var(--color-dark);
  color: #94a3b8;
  padding: 60px 0 20px;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 60px;
  }
}

.footer-col h3 {
  color: var(--color-white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-white);
  margin-bottom: 15px;
}

.footer-logo svg {
  width: 28px;
  height: 28px;
  fill: var(--color-primary);
}

.footer-links li {
  margin-bottom: 12px;
}

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

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  fill: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Mobile Sticky Conversion Bar */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-white);
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
  display: grid;
  grid-template-columns: 1fr 1fr;
  z-index: 999;
}

@media (min-width: 768px) {
  .mobile-sticky-bar {
    display: none;
  }
}

.sticky-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 10px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-white);
  text-align: center;
}

.sticky-action-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.sticky-call {
  background-color: var(--color-primary);
}

.sticky-call:active {
  background-color: var(--color-primary-hover);
}

.sticky-whatsapp {
  background-color: #25d366;
}

.sticky-whatsapp:active {
  background-color: #128c7e;
}
