/*
 * Prashant Physiotherapy Clinic - Main stylesheet
 * Colors: Navy Blue (#002D62), Leaf Green (#3B7A1C), Accent Cyan (#00A8E8)
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Brand Color Palette */
  --primary: #002D62;          /* Deep Navy Blue */
  --primary-rgb: 0, 45, 98;
  --primary-light: #0d3c74;
  --secondary: #3B7A1C;        /* Leaf Green */
  --secondary-rgb: 59, 122, 28;
  --secondary-light: #4c9e24;
  --accent: #00A8E8;           /* Cyan/Sky Blue */
  --accent-light: #e0f4fc;
  
  /* Neutral Palette */
  --text-dark: #1E293B;        /* Charcoal Blue */
  --text-muted: #64748B;       /* Slate Grey */
  --bg-light: #F8FAFC;         /* Soft Off-White */
  --bg-white: #FFFFFF;
  --border: #E2E8F0;           /* Soft Border */
  
  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* UI Elements */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 32px rgba(0, 45, 98, 0.1);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --container-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.25;
}

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

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-subtitle {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--secondary);
  font-weight: 700;
  margin-bottom: 12px;
  display: inline-block;
  position: relative;
}

.section-subtitle::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background-color: var(--secondary);
  margin: 8px auto 0 auto;
  border-radius: 2px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
}

/* Background Utilities */
.bg-light {
  background-color: var(--bg-light);
}

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

.bg-primary h2, .bg-primary h3, .bg-primary h4 {
  color: var(--bg-white);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  gap: 8px;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--bg-white);
  box-shadow: 0 4px 12px rgba(0, 45, 98, 0.2);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 45, 98, 0.3);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--bg-white);
  box-shadow: 0 4px 12px rgba(59, 122, 28, 0.2);
}

.btn-secondary:hover {
  background-color: var(--secondary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(59, 122, 28, 0.3);
}

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

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

.btn-white {
  background-color: var(--bg-white);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

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

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  padding: 8px 0;
  box-shadow: var(--shadow-md);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  transition: var(--transition);
}

.header.scrolled .header-container {
  height: 70px;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 55px;
  width: auto;
  transition: var(--transition);
}

.header.scrolled .logo-img {
  height: 48px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
  line-height: 1;
}

.logo-tag {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--secondary);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 2px;
}

.navbar {
  display: flex;
  align-items: center;
  gap: 32px;
}

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

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dark);
  position: relative;
  padding: 8px 0;
}

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

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

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

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

/* Hamburger Menu Icon */
.hamburger {
  display: none;
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 8px;
  z-index: 1010;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: var(--transition);
  background-color: var(--primary);
  border-radius: 2px;
}

/* Mobile Nav Styles */
@media (max-width: 991px) {
  .hamburger {
    display: block;
  }
  
  .navbar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--bg-white);
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 40px 40px 40px;
    transition: var(--transition);
    z-index: 1005;
    gap: 40px;
  }
  
  .navbar.active {
    right: 0;
  }
  
  .nav-links {
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }
  
  .nav-links a {
    font-size: 1.15rem;
    display: block;
    width: 100%;
  }
  
  .navbar .btn {
    width: 100%;
  }
  
  /* Hamburger animation */
  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--secondary);
  }
  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--secondary);
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 95vh;
  display: flex;
  align-items: center;
  background-color: var(--primary);
  background: linear-gradient(135deg, rgba(0,45,98,0.96) 30%, rgba(0,45,98,0.85) 100%), url('../images/hero_clinic.png') no-repeat center center;
  background-size: cover;
  color: var(--bg-white);
  padding-top: 100px;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background-color: rgba(59, 122, 28, 0.15);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  z-index: 10;
}

.hero-tag {
  background-color: rgba(59, 122, 28, 0.2);
  color: #81C784;
  border-left: 4px solid var(--secondary);
  padding: 6px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-flex;
  margin-bottom: 24px;
  border-radius: 0 4px 4px 0;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--bg-white);
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-title span {
  background: linear-gradient(to right, #81C784, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.25rem;
  margin-bottom: 40px;
  opacity: 0.9;
  font-weight: 300;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-graphic {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
}

.hero-circle-bg {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(59, 122, 28, 0.2) 0%, rgba(0, 45, 98, 0) 70%);
  border-radius: 50%;
  position: absolute;
  animation: pulse 6s infinite alternate;
}

.hero-img-box {
  width: 380px;
  height: 380px;
  max-width: 100%;
  background-color: var(--bg-white);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  padding: 0;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.1);
  animation: morph 8s ease-in-out infinite alternate;
}

.hero-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.1); opacity: 1; }
}

@keyframes morph {
  0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  100% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
}

/* Trust Badges */
.trust-bar {
  background-color: var(--bg-light);
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

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

.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.trust-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--accent-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.trust-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.trust-text h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.trust-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* About Intro Home Page */
.about-teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.teaser-images {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.teaser-img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.teaser-img-main {
  transform: translateY(-20px);
  border: 4px solid var(--bg-white);
}

.teaser-img-secondary {
  transform: translateY(20px);
  border: 4px solid var(--bg-white);
}

.teaser-experience-badge {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--secondary);
  color: var(--bg-white);
  padding: 16px 28px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  text-align: center;
  font-family: var(--font-heading);
  min-width: 180px;
}

.teaser-experience-badge span {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.teaser-experience-badge label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-teaser-content .section-subtitle {
  margin-bottom: 8px;
}

.teaser-points {
  margin: 30px 0;
  list-style: none;
}

.teaser-points li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 16px;
  font-size: 1rem;
}

.teaser-points li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  background-color: var(--accent-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
}

/* Services Cards Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

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

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(59, 122, 28, 0.2);
}

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

.service-card:hover .service-card-icon {
  background-color: var(--secondary);
  color: var(--bg-white);
}

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

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 16px;
  transition: var(--transition);
}

.service-card:hover h3 {
  color: var(--secondary);
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-card-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

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

.service-card:hover .service-card-link {
  color: var(--secondary);
}

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

/* Why Choose Us Home Page */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.why-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-box {
  background-color: var(--bg-white);
  padding: 30px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--primary);
  transition: var(--transition);
}

.feature-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-box:nth-child(even) {
  border-top-color: var(--secondary);
}

.feature-box h4 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-box p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Testimonials Carousel */
.testimonial-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
  min-width: 100%;
  padding: 20px;
  text-align: center;
}

.testimonial-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 50px 40px;
  box-shadow: var(--shadow-md);
  position: relative;
}

.testimonial-card::before {
  content: '“';
  position: absolute;
  top: 15px;
  left: 40px;
  font-size: 6rem;
  color: rgba(59, 122, 28, 0.1);
  font-family: serif;
  line-height: 1;
}

.testimonial-rating {
  color: #F59E0B;
  margin-bottom: 16px;
  font-size: 1.25rem;
}

.testimonial-quote {
  font-size: 1.15rem;
  font-style: italic;
  margin-bottom: 24px;
  line-height: 1.7;
}

.testimonial-author h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.testimonial-author p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--border);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background-color: var(--secondary);
  width: 24px;
  border-radius: 5px;
}

/* Call to Action Callout */
.cta-banner {
  background-color: var(--primary);
  color: var(--bg-white);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(59, 122, 28, 0.25) 0%, rgba(0,45,98,0) 60%);
  pointer-events: none;
}

.cta-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 10;
}

.cta-text h2 {
  font-size: 2.25rem;
  color: var(--bg-white);
  margin-bottom: 12px;
}

.cta-text p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

/* Breadcrumb Header for Inner Pages */
.page-header {
  background-color: var(--primary);
  background: linear-gradient(135deg, rgba(0, 45, 98, 0.95), rgba(0, 45, 98, 0.85)), url('../images/hero_clinic.png') no-repeat center center;
  background-size: cover;
  padding: 140px 0 80px 0;
  color: var(--bg-white);
  text-align: center;
}

.page-header h1 {
  font-size: 2.75rem;
  color: var(--bg-white);
  margin-bottom: 12px;
}

.breadcrumbs {
  display: inline-flex;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.9;
}

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

.breadcrumbs span {
  opacity: 0.5;
}

/* About Page Styles */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.about-feature-card {
  text-align: center;
  padding: 30px 20px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-light);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.about-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  background-color: var(--bg-white);
  border-color: rgba(59, 122, 28, 0.2);
}

.about-feature-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--accent-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  font-size: 1.2rem;
}

.about-feature-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.about-feature-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Meet the Doctor Profile */
.doctor-profile-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: center;
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 60px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.doctor-img-wrapper {
  position: relative;
  background-color: var(--accent-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 4px solid var(--bg-white);
}

.doctor-img-wrapper svg, .doctor-img-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.doctor-experience-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: var(--secondary);
  color: var(--bg-white);
  padding: 6px 14px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}

.doctor-bio h3 {
  font-size: 2rem;
  margin-bottom: 4px;
}

.doctor-title {
  color: var(--secondary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.doctor-bio-text {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.doctor-credentials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  list-style: none;
}

.doctor-credentials li {
  position: relative;
  padding-left: 24px;
  font-size: 0.95rem;
}

.doctor-credentials li::before {
  content: '•';
  color: var(--secondary);
  position: absolute;
  left: 8px;
  font-size: 1.5rem;
  line-height: 1;
  top: -2px;
}

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

.faq-item {
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--primary-light);
}

.faq-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
}

.faq-icon-box {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--bg-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  transition: var(--transition);
}

.faq-item.active .faq-header {
  background-color: var(--bg-light);
}

.faq-item.active .faq-icon-box {
  background-color: var(--secondary);
  color: var(--bg-white);
  transform: rotate(180deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-content {
  padding: 24px 28px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Services Detailed Page Styles */
.services-detailed-list {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.service-detail-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.service-detail-item:nth-child(even) {
  direction: rtl;
}

.service-detail-item:nth-child(even) * {
  direction: ltr; /* Reset text direction for readability */
}

.service-detail-graphic {
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 40px;
  border: 1px solid var(--border);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  height: 380px;
  box-shadow: var(--shadow-sm);
}

.service-detail-graphic svg {
  width: 180px;
  height: 180px;
  z-index: 5;
  color: var(--primary);
}

.service-detail-graphic::before {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(59, 122, 28, 0.1) 0%, rgba(0, 45, 98, 0) 70%);
  border-radius: 50%;
  top: 50px;
  left: 50px;
}

.service-detail-content h3 {
  font-size: 2.25rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.service-detail-content h3::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background-color: var(--secondary);
  margin-top: 8px;
}

.service-detail-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.service-detail-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 30px;
  list-style: none;
}

.service-detail-features li {
  position: relative;
  padding-left: 24px;
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 500;
}

.service-detail-features li::before {
  content: '✦';
  color: var(--secondary);
  position: absolute;
  left: 4px;
  font-size: 0.85rem;
}

/* Contact Page Styles */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-info-card {
  background-color: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 30px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

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

.contact-info-details h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.contact-info-details p, .contact-info-details a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-info-details a:hover {
  color: var(--secondary);
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-btn:hover {
  background-color: var(--secondary);
  transform: translateY(-2px);
}

/* Contact / Booking Form styling */
.contact-form-box {
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 50px;
  box-shadow: var(--shadow-md);
}

.form-title {
  font-size: 1.75rem;
  margin-bottom: 10px;
}

.form-subtitle {
  color: var(--text-muted);
  margin-bottom: 35px;
  font-size: 0.95rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

.form-control {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-dark);
  background-color: var(--bg-light);
  transition: var(--transition);
  width: 100%;
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 4px rgba(59, 122, 28, 0.15);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23002D62'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 24px;
}

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

/* Success Card */
.form-message-box {
  display: none;
  padding: 24px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  font-weight: 500;
  font-size: 0.95rem;
}

.form-message-box.success {
  background-color: #E8F5E9;
  border: 1px solid #C8E6C9;
  color: #2E7D32;
  display: block;
}

.form-message-box.error {
  background-color: #FFEBEE;
  border: 1px solid #FFCDD2;
  color: #C62828;
  display: block;
}

/* Google Map Embed Styling */
.map-section {
  padding-bottom: 0;
}

.map-container {
  height: 450px;
  width: 100%;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  border-bottom: none;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Floating Action Button (FAB) for Mobile */
.floating-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--secondary);
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  font-size: 1.5rem;
  transition: var(--transition);
}

.fab:hover {
  transform: scale(1.1);
  background-color: var(--secondary-light);
}

.fab-phone {
  background-color: var(--primary);
}

.fab-phone {
  background-color: var(--primary);
}

.fab-phone:hover {
  background-color: var(--primary-light);
}

.fab-whatsapp {
  background-color: #25D366;
}

.fab-whatsapp:hover {
  background-color: #20ba5a;
}

.fab svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Footer Styles */
.footer {
  background-color: var(--primary);
  color: rgba(255, 255, 255, 0.85);
  padding: 80px 0 30px 0;
  border-top: 4px solid var(--secondary);
  font-size: 0.925rem;
}

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

.footer-column h4 {
  color: var(--bg-white);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 8px;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--secondary);
}

.footer-logo-box {
  margin-bottom: 20px;
}

.footer-logo-box .logo-name {
  color: var(--bg-white);
}

.footer-logo-box .logo-tag {
  color: #81C784;
}

.footer-column p {
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

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

.footer-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-contact-list {
  list-style: none;
}

.footer-contact-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-contact-list svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
  color: #81C784;
  margin-top: 3px;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--bg-white);
  margin-right: 8px;
  transition: var(--transition);
}

.footer-social-btn:hover {
  background-color: var(--secondary);
  color: var(--bg-white);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

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

/* Animations Trigger Utilities */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Media Queries for Responsiveness */
@media (max-width: 991px) {
  .section-padding {
    padding: 80px 0;
  }
  .section-title {
    font-size: 2.15rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-content {
    order: 1;
  }
  .hero-graphic {
    order: 2;
  }
  .hero-img-box {
    width: 300px;
    height: 300px;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-title {
    font-size: 2.75rem;
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-teaser-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .teaser-images {
    max-width: 500px;
    margin: 0 auto;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .doctor-profile-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px;
  }
  .service-detail-item {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .service-detail-item:nth-child(even) {
    direction: ltr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-img-box {
    width: 240px;
    height: 240px;
  }
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .why-features {
    grid-template-columns: 1fr;
  }
  .about-features {
    grid-template-columns: 1fr;
  }
  .doctor-credentials {
    grid-template-columns: 1fr;
  }
  .service-detail-features {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
  .contact-form-box {
    padding: 30px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .floating-cta {
    bottom: 20px;
    right: 20px;
  }
  .fab {
    width: 48px;
    height: 48px;
  }
}

/* Responsive Grid Utilities */
.grid-2-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.list-grid {
  list-style: none;
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.teaser-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 15px 0;
}

/* Media Queries for Squeezed Grids */
@media (max-width: 991px) {
  .grid-2-cols {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 576px) {
  .list-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .teaser-highlights {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}
