/* ========================================
   Purnrahat Physiotherapy Clinic
   Static Website Styles
   ======================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Open+Sans:wght@400;500;600&display=swap');

/* ========================================
   CSS Variables (Design Tokens)
   ======================================== */
:root {
  /* Medical Teal - Primary Brand Color */
  --primary: hsl(167, 72%, 32%);
  --primary-dark: hsl(167, 72%, 25%);
  --primary-light: hsl(167, 72%, 45%);
  --primary-foreground: hsl(0, 0%, 100%);
  
  /* Soft Sage Green - Secondary */
  --secondary: hsl(155, 30%, 94%);
  --secondary-foreground: hsl(167, 72%, 25%);
  
  /* Warm Orange - Accent/CTA */
  --accent: hsl(25, 95%, 53%);
  --accent-light: hsl(30, 95%, 58%);
  --accent-foreground: hsl(0, 0%, 100%);
  
  /* Backgrounds */
  --background: hsl(0, 0%, 100%);
  --foreground: hsl(220, 20%, 20%);
  
  /* Cards & Surfaces */
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(220, 20%, 20%);
  
  /* Muted surfaces */
  --muted: hsl(160, 20%, 96%);
  --muted-foreground: hsl(220, 10%, 45%);
  
  /* Borders */
  --border: hsl(160, 20%, 88%);
  
  /* Border Radius */
  --radius: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  
  /* Shadows */
  --shadow-soft: 0 4px 20px -4px hsla(167, 72%, 32%, 0.15);
  --shadow-card: 0 8px 30px -8px hsla(220, 20%, 20%, 0.1);
  --shadow-cta: 0 8px 25px -5px hsla(25, 95%, 53%, 0.4);
  
  /* Gradients */
  --gradient-hero: linear-gradient(135deg, hsl(167, 72%, 32%) 0%, hsl(175, 60%, 40%) 100%);
  --gradient-cta: linear-gradient(135deg, hsl(25, 95%, 53%) 0%, hsl(30, 95%, 58%) 100%);
  
  /* Font Families */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  
  /* Container Max Width */
  --container-max: 1280px;
}

/* ========================================
   Reset & Base Styles
   ======================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* ========================================
   Utility Classes
   ======================================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

.section-padding {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .section-padding {
    padding: 6rem 0;
  }
}

.text-center {
  text-align: center;
}

.text-balance {
  text-wrap: balance;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-primary {
  background: var(--gradient-cta);
  color: var(--accent-foreground);
  box-shadow: var(--shadow-cta);
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--primary-foreground);
}

.btn-white {
  background: var(--background);
  color: var(--primary);
}

.btn-white:hover {
  background: var(--secondary);
}

/* ========================================
   Header
   ======================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

@media (min-width: 768px) {
  .header-container {
    height: 5rem;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-foreground);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
}

.logo-text {
  display: none;
}

.logo-text h1{
  font-size: 40px;
}

@media (min-width: 640px) {
  .logo-text {
    display: block;
  }
}

.logo-text h1 {
  font-size: 1.525rem;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.2;
}

.logo-text p {
  font-size: 1.0rem;
  color: var(--muted-foreground);
  margin-top: -0.125rem;
}

/* Navigation */
.nav {
  display: none;
}

@media (min-width: 768px) {
  .nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }
}

.nav-link {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  border-radius: var(--radius);
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: var(--foreground);
  background: var(--muted);
}

.nav-link.active {
  color: var(--primary);
  background: var(--secondary);
}

/* Header CTAs */
.header-ctas {
  display: none;
}

@media (min-width: 768px) {
  .header-ctas {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: transparent;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
}

.mobile-menu-toggle:hover {
  background: var(--muted);
}

@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--background);
  border-bottom: 1px solid var(--border);
  padding: 1rem;
}

.mobile-menu.open {
  display: block;
}

@media (min-width: 768px) {
  .mobile-menu {
    display: none !important;
  }
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted-foreground);
  border-radius: var(--radius);
  transition: all 0.2s ease;
}

.mobile-nav-link:hover {
  color: var(--foreground);
  background: var(--muted);
}

.mobile-nav-link.active {
  color: var(--primary);
  background: var(--secondary);
}

.mobile-ctas {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.mobile-ctas .btn {
  flex: 1;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--background) 50%, var(--muted) 100%);
}

.hero-decor-1,
.hero-decor-2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.hero-decor-1 {
  top: 5rem;
  left: 2.5rem;
  width: 18rem;
  height: 18rem;
  background: hsla(167, 72%, 32%, 0.05);
}

.hero-decor-2 {
  bottom: 5rem;
  right: 2.5rem;
  width: 24rem;
  height: 24rem;
  background: hsla(25, 95%, 53%, 0.05);
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.hero-content {
  order: 2;
  text-align: center;
}

@media (min-width: 1024px) {
  .hero-content {
    order: 1;
    text-align: left;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: hsla(167, 72%, 32%, 0.1);
  color: var(--primary);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero-badge svg {
  width: 1rem;
  height: 1rem;
}

.hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 3.75rem;
  }
}

.hero h1 span {
  color: var(--primary);
}

.hero-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}

@media (min-width: 1024px) {
  .hero-description {
    margin-left: 0;
    margin-right: 0;
    font-size: 1.25rem;
  }
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .hero-ctas {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .hero-ctas {
    justify-content: flex-start;
  }
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

@media (min-width: 1024px) {
  .trust-badges {
    justify-content: flex-start;
  }
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.trust-badge span:first-child {
  font-size: 1.25rem;
}

/* Hero Image */
.hero-visual {
  order: 1;
  position: relative;
}

@media (min-width: 1024px) {
  .hero-visual {
    order: 2;
  }
}

.hero-image-container {
  position: relative;
  max-width: 28rem;
  margin: 0 auto;
}

.hero-image {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, hsla(167, 72%, 32%, 0.2) 0%, hsla(25, 95%, 53%, 0.1) 100%);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsla(167, 72%, 32%, 0.3) 0%, transparent 100%);
}

/* Floating Card */
.floating-card {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--card);
  padding: 1rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  max-width: 200px;
}

@media (min-width: 768px) {
  .floating-card {
    left: auto;
    right: -1.5rem;
  }
}

.floating-card-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.floating-card-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.floating-card-info h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
}

.floating-card-info p {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.floating-card-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  transition: gap 0.2s ease;
}

.floating-card-link:hover {
  gap: 0.5rem;
}

.floating-card-link svg {
  width: 1rem;
  height: 1rem;
}

/* ========================================
   Services Section
   ======================================== */
.services-section {
  background: var(--muted);
}

.section-header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 3rem;
}

.section-label {
  color: var(--primary);
  font-weight: 500;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--foreground);
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.section-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

.services-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: var(--card);
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: hsla(167, 72%, 32%, 0.3);
  box-shadow: var(--shadow-soft);
}

.service-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius);
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: background 0.2s ease;
}

.service-card:hover .service-icon {
  background: hsla(167, 72%, 32%, 0.1);
}

.service-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--primary);
}

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
  transition: color 0.2s ease;
}

.service-card:hover h3 {
  color: var(--primary);
}

.service-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.services-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ========================================
   About Preview Section
   ======================================== */
.about-preview-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-preview-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.about-preview-image {
  position: relative;
}

.about-preview-img {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.about-preview-img img {
  width: 100%;
  aspect-ratio: 3.7/5;
  object-fit: cover;
}

.stats-card {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

@media (max-width: 767px) {
  .stats-card {
    right: 1.5rem;
  }
}

.stats-card-number {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

.stats-card-label {
  font-size: 0.875rem;
  opacity: 0.8;
}

.about-preview-content .section-label {
  text-align: left;
}

.about-preview-content h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--foreground);
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .about-preview-content h2 {
    font-size: 2.25rem;
  }
}

.about-preview-content > p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.about-preview-content > p:last-of-type {
  margin-bottom: 2rem;
}

.highlights-list {
  margin-bottom: 2rem;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.highlight-item svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.highlight-item span {
  color: var(--foreground);
}

/* ========================================
   Testimonials Section
   ======================================== */
.testimonials-section {
  background: var(--primary);
  color: var(--primary-foreground);
  position: relative;
  overflow: hidden;
}

.testimonials-decor-1,
.testimonials-decor-2 {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.testimonials-decor-1 {
  top: 0;
  left: 0;
  width: 16rem;
  height: 16rem;
  transform: translate(-50%, -50%);
}

.testimonials-decor-2 {
  bottom: 0;
  right: 0;
  width: 24rem;
  height: 24rem;
  transform: translate(50%, 50%);
}

.testimonials-section .section-header {
  position: relative;
}

.testimonials-section .section-label {
  color: rgba(255, 255, 255, 0.8);
}

.testimonials-section .section-title {
  color: var(--primary-foreground);
}

.testimonials-section .section-description {
  color: rgba(255, 255, 255, 0.8);
}

.testimonials-grid {
  display: grid;
  gap: 1.5rem;
  position: relative;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-quote-icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--accent);
  opacity: 0.8;
  margin-bottom: 1rem;
}

.testimonial-text {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.testimonial-author h4 {
  font-size: 1rem;
  font-weight: 600;
}

.testimonial-author p {
  font-size: 0.875rem;
  opacity: 0.6;
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
}

.testimonial-stars svg {
  width: 1rem;
  height: 1rem;
  fill: var(--accent);
  color: var(--accent);
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
  background: var(--muted);
}

.cta-card {
  background: var(--card);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  text-align: center;
  max-width: 56rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .cta-card {
    padding: 3rem;
  }
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--secondary);
  color: var(--primary);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.cta-badge svg {
  width: 1rem;
  height: 1rem;
}

.cta-card h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .cta-card h2 {
    font-size: 2.25rem;
  }
}

.cta-card > p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto 2rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

.cta-hours {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 1.5rem;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--foreground);
  color: var(--background);
  padding: 0px 30px;
}

.footer-main {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-main {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 2rem;
  }
}

.footer-about .logo {
  margin-bottom: 1rem;
}

.footer-about p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.footer-contact svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.footer-contact span,
.footer-contact a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.footer-contact a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

/* ========================================
   Floating CTA
   ======================================== */
.floating-cta {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 40;
}

.floating-cta a {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease;
}

.floating-cta a:hover {
  transform: scale(1.1);
}

.floating-cta-phone {
  background: var(--primary);
}

.floating-cta-phone svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary-foreground);
}

.floating-cta-whatsapp {
  background: var(--gradient-cta);
  box-shadow: var(--shadow-cta);
  animation: pulse-soft 2s ease-in-out infinite;
}

.floating-cta-whatsapp svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--accent-foreground);
}

@keyframes pulse-soft {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

/* ========================================
   About Page Specific Styles
   ======================================== */
.page-hero {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--background) 50%, var(--muted) 100%);
}

.page-hero-content {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
}

.page-hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .page-hero h1 {
    font-size: 3rem;
  }
}

.page-hero p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.75;
}

/* Doctor Section */
.doctor-section-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .doctor-section-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.doctor-image-container {
  position: relative;
}

.doctor-image {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.doctor-image img {
  width: 100%;
  aspect-ratio: 5/6;
  object-fit: cover;
}

.doctor-image-decor {
  position: absolute;
  z-index: -1;
  top: 1.5rem;
  left: 0.5rem;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-2xl);
  background: hsla(167, 72%, 32%, 0.1);
}

.doctor-content .section-label {
  text-align: left;
}

.doctor-content h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--foreground);
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .doctor-content h2 {
    font-size: 2.25rem;
  }
}

.doctor-title {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 1rem;
}

.doctor-bio {
  color: var(--muted-foreground);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.doctor-bio p {
  margin-bottom: 1rem;
}

.doctor-features {
  display: grid;
  gap: 1rem;
}

@media (max-width: 640px) {
  .page-hero h1 {
  font-size: 2.0rem;
  font-weight: 700;
  color: var(--foreground);
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

.stats-card {
  position: absolute;
  bottom: -4.5rem;
  right: -1.5rem;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.stats-card {
    right: -0.5rem;
}

.about-preview-content{
  margin-top: 24px;
}

}

.doctor-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.doctor-feature svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
}

.doctor-feature span {
  color: var(--foreground);
}

/* Values Section */
.values-section {
  background: var(--muted);
}

.values-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
    .doctor-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.value-card {
  background: var(--card);
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  text-align: center;
}

.value-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius);
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.value-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--primary);
}

.value-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.value-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Philosophy Section */
.philosophy-section {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.philosophy-quote {
  background: hsla(155, 30%, 94%, 0.5);
  padding: 2rem;
  border-radius: var(--radius-2xl);
}

@media (min-width: 768px) {
  .philosophy-quote {
    padding: 3rem;
  }
}

.philosophy-quote blockquote {
  font-size: 1.25rem;
  font-family: var(--font-heading);
  color: var(--foreground);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .philosophy-quote blockquote {
    font-size: 1.5rem;
  }
}

.philosophy-quote cite {
  font-style: normal;
  font-weight: 500;
  color: var(--primary);
}

.philosophy-points {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
  text-align: left;
}

@media (min-width: 768px) {
  .philosophy-points {
    grid-template-columns: repeat(3, 1fr);
  }
}

.philosophy-point {
  padding: 1.5rem;
}

.philosophy-point h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.philosophy-point p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ========================================
   Services Page Specific Styles
   ======================================== */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.service-detail-card {
  background: var(--card);
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  transition: border-color 0.3s ease;
}

.service-detail-card:hover {
  border-color: hsla(167, 72%, 32%, 0.3);
}

@media (min-width: 768px) {
  .service-detail-card {
    padding: 2rem;
  }
}

.service-detail-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .service-detail-grid {
    grid-template-columns: 2fr 1fr;
  }
}

.service-detail-main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-detail-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.service-detail-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius);
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-detail-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--primary);
}

.service-detail-header h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.service-detail-header p {
  color: var(--muted-foreground);
  line-height: 1.6;
}

.service-benefits {
  margin-top: 1rem;
}

.service-benefits h3 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.service-benefits-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-benefit-tag {
  background: var(--secondary);
  color: var(--secondary-foreground);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
}

.service-for-whom {
  background: var(--muted);
  padding: 1rem;
  border-radius: var(--radius);
}

.service-for-whom h3 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.service-for-whom p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Pricing Note */
.pricing-note {
  background: var(--muted);
  padding: 3rem 0;
}

.pricing-note-card {
  background: var(--card);
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

@media (min-width: 768px) {
  .pricing-note-card {
    padding: 2rem;
  }
}

.pricing-note-card h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.pricing-note-card > p {
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* ========================================
   Blog Page Specific Styles
   ======================================== */
.blog-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.blog-card {
  background: var(--card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.blog-card:hover {
  border-color: hsla(167, 72%, 32%, 0.3);
}

.blog-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-content {
  padding: 1.5rem;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.blog-card-category {
  background: var(--secondary);
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.blog-card-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.blog-card-meta svg {
  width: 1rem;
  height: 1rem;
}

.blog-card h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.75rem;
  transition: color 0.2s ease;
}

.blog-card:hover h2 {
  color: var(--primary);
}

.blog-card-excerpt {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  transition: gap 0.2s ease;
}

.blog-card-link:hover {
  gap: 0.5rem;
}

.blog-card-link svg {
  width: 1rem;
  height: 1rem;
}

/* Blog CTA */
.blog-cta {
  background: var(--muted);
  padding: 3rem 0;
}

.blog-cta-card {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 2rem;
  border-radius: var(--radius-xl);
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .blog-cta-card {
    padding: 3rem;
  }
}

.blog-cta-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.blog-cta-card p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
}

.blog-cta-card a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--accent-foreground);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.blog-cta-card a:hover {
  opacity: 0.9;
}

.blog-cta-card a svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* ========================================
   Contact Page Specific Styles
   ======================================== */
.contact-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 2rem;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: var(--muted);
  border-radius: var(--radius);
}

.contact-item-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

.contact-item h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.contact-item p,
.contact-item a {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.contact-item a {
  color: var(--primary);
  transition: text-decoration 0.2s ease;
}

.contact-item a:hover {
  text-decoration: underline;
}

.contact-ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .contact-ctas {
    flex-direction: row;
  }
}

.contact-ctas .btn {
  flex: 1;
}

.contact-map {
  height: 400px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
}

@media (min-width: 1024px) {
  .contact-map {
    height: 100%;
    min-height: 400px;
  }
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Contact Options */
.contact-options {
  background: var(--muted);
  padding: 3rem 0;
}

.contact-options-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .contact-options-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-option {
  background: var(--card);
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  text-align: center;
}

.contact-option-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-option h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.contact-option p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
