/* ========================================
   ENHANCED BLOG DETAILS PAGE DESIGN
   Modern, professional styling
======================================== */

.blog-detail-page {
  background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
  min-height: 100vh;
}

.blog-detail-page .bd-hero {
  height: 450px;
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 0 0 30px 30px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(14, 165, 233, 0.2);
  animation: fadeInUp 0.8s ease-out;
}

.blog-detail-page .bd-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(14, 165, 233, 0.8),
    rgba(20, 184, 166, 0.6)
  );
  z-index: 1;
}

.blog-detail-page .bd-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(2, 6, 23, 0.1),
    rgba(2, 6, 23, 0.4)
  );
  z-index: 2;
}

.blog-detail-page .bd-hero__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px 40px;
  color: #fff;
  position: relative;
  z-index: 3;
  animation: slideInLeft 0.8s ease-out;
  animation-delay: 0.2s;
  animation-fill-mode: both;
}

.blog-detail-page .bd-crumbs {
  font-size: 0.95rem;
  opacity: 0.95;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 25px;
  backdrop-filter: blur(10px);
  margin-bottom: 1.5rem;
}

.blog-detail-page .bd-crumbs a {
  color: #e0f2fe;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-detail-page .bd-crumbs a:hover {
  color: #ffffff;
}

.blog-detail-page .bd-crumbs span {
  margin: 0 8px;
  color: #bae6fd;
  font-weight: 600;
}

.blog-detail-page .bd-title {
  margin: 20px 0 15px;
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #ffffff, #e0f2fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease-out;
  animation-delay: 0.4s;
  animation-fill-mode: both;
}

.blog-detail-page .bd-meta {
  display: flex;
  gap: 15px;
  align-items: center;
  color: #dbeafe;
  font-weight: 600;
  animation: fadeInUp 0.8s ease-out;
  animation-delay: 0.6s;
  animation-fill-mode: both;
}

.blog-detail-page .bd-badge {
  background: linear-gradient(135deg, #0ea5e9, #14b8a6);
  color: #fff;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-detail-page .bd-container {
  max-width: 1000px;
  margin: -80px auto 3rem;
  padding: 0 20px;
  position: relative;
  z-index: 4;
}

.blog-detail-page .card {
  background: #fff;
  border: none;
  border-radius: 25px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
  padding: 3rem;
  position: relative;
  overflow: hidden;
  animation: scaleIn 0.8s ease-out;
  animation-delay: 0.8s;
  animation-fill-mode: both;
}

.blog-detail-page .card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(135deg, #0ea5e9, #14b8a6);
}

.blog-detail-page .bd-article {
  line-height: 1.9;
  color: #1e293b;
  font-size: 1.1rem;
}

.blog-detail-page .bd-article h2 {
  margin: 2rem 0 1rem;
  font-size: 1.8rem;
  color: #0f172a;
  border-left: 5px solid #0ea5e9;
  padding-left: 1rem;
  background: linear-gradient(135deg, #f8fafc, #e0f2fe);
  padding: 1rem 1rem 1rem 1.5rem;
  border-radius: 0 15px 15px 0;
  font-weight: 700;
}

.blog-detail-page .bd-article h3 {
  margin: 1.5rem 0 0.8rem;
  font-size: 1.4rem;
  color: #0f172a;
  font-weight: 600;
}

.blog-detail-page .bd-article h4 {
  margin: 1.2rem 0 0.6rem;
  font-size: 1.2rem;
  color: #334155;
  font-weight: 600;
}

.blog-detail-page .bd-article p {
  margin: 1rem 0;
  color: #475569;
  font-size: 1.05rem;
}

.blog-detail-page .bd-article img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  margin: 1.5rem 0;
}

.blog-detail-page .bd-article ul {
  margin: 1rem 0 1.5rem 1.5rem;
}

.blog-detail-page .bd-article ul li {
  margin: 0.8rem 0;
  color: #475569;
  position: relative;
  padding-left: 1rem;
}

.blog-detail-page .bd-article ul li::before {
  content: '✓';
  position: absolute;
  left: -1rem;
  color: #0ea5e9;
  font-weight: bold;
}

.blog-detail-page .bd-article ol {
  margin: 1rem 0 1.5rem 1.5rem;
}

.blog-detail-page .bd-article ol li {
  margin: 0.8rem 0;
  color: #475569;
}

.blog-detail-page .bd-article blockquote {
  margin: 2rem 0;
  padding: 2rem;
  border-left: 5px solid #14b8a6;
  background: linear-gradient(135deg, #f0fdf9, #e6fffa);
  border-radius: 15px;
  color: #0f172a;
  font-style: italic;
  font-size: 1.1rem;
  position: relative;
}

.blog-detail-page .bd-article blockquote::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: #14b8a6;
  opacity: 0.3;
  font-family: serif;
}

.blog-detail-page .bd-article figure {
  margin: 2rem 0;
  text-align: center;
}

.blog-detail-page .bd-article figcaption {
  font-size: 0.95rem;
  color: #64748b;
  text-align: center;
  margin-top: 0.8rem;
  font-style: italic;
}

.blog-detail-page .bd-article a {
  color: #0ea5e9;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.blog-detail-page .bd-article a:hover {
  border-bottom-color: #0ea5e9;
  color: #0284c7;
}

.blog-detail-page .bd-article strong {
  color: #0f172a;
  font-weight: 700;
}

.blog-detail-page .bd-article em {
  color: #475569;
  font-style: italic;
}

.blog-detail-page .bd-article code {
  background: #f1f5f9;
  color: #0ea5e9;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
}

.blog-detail-page .bd-article pre {
  background: #1e293b;
  color: #e2e8f0;
  padding: 1.5rem;
  border-radius: 12px;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.blog-detail-page .bd-article pre code {
  background: none;
  color: inherit;
  padding: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .blog-detail-page .bd-hero {
    height: 350px;
    border-radius: 0 0 20px 20px;
  }
  
  .blog-detail-page .bd-hero__inner {
    padding: 40px 15px 30px;
  }
  
  .blog-detail-page .bd-title {
    font-size: 2.2rem;
  }
  
  .blog-detail-page .bd-container {
    margin: -60px auto 2rem;
    padding: 0 15px;
  }
  
  .blog-detail-page .card {
    padding: 2rem;
    border-radius: 20px;
  }
  
  .blog-detail-page .bd-article {
    font-size: 1rem;
  }
  
  .blog-detail-page .bd-article h2 {
    font-size: 1.5rem;
    padding: 0.8rem 0.8rem 0.8rem 1.2rem;
  }
  
  .blog-detail-page .bd-article h3 {
    font-size: 1.3rem;
  }
  
  .blog-detail-page .bd-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .blog-detail-page .bd-hero {
    height: 300px;
  }
  
  .blog-detail-page .bd-title {
    font-size: 1.8rem;
  }
  
  .blog-detail-page .card {
    padding: 1.5rem;
  }
  
  .blog-detail-page .bd-article {
    font-size: 0.95rem;
  }
  
  .blog-detail-page .bd-article h2 {
    font-size: 1.3rem;
  }
  
  .blog-detail-page .bd-article h3 {
    font-size: 1.2rem;
  }
}
.blogs-page .blogs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
  padding: 32px 16px;
}
.blogs-page .blog-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 18px rgba(2, 6, 23, 0.06);
}
.blogs-page .img-wrap {
  position: relative;
}
.blogs-page .img-wrap img {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.blogs-page .badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(14, 165, 233, 0.95);
  color: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}
.blogs-page .date-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 0.75rem;
}
.blogs-page .blog-content {
  padding: 12px;
}
.blogs-page .blog-content h3 {
  font-size: 1.02rem;
  margin: 0 0 4px;
}
.blogs-page .blog-content p {
  font-size: 0.92rem;
  color: #475569;
  margin: 0;
}
.blogs-page .blog-meta {
  font-size: 0.8rem;
  color: #64748b;
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
}
.blogs-page .read-more {
  margin-top: 8px;
  display: inline-block;
  background: #0ea5e9;
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.86rem;
}
.blogs-hero {
  padding: 46px 0;
  text-align: center;
  background: linear-gradient(135deg, #0ea5e9, #14b8a6);
  color: #fff;
}
.blogs-hero .title {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.blogs-hero .subtitle {
  max-width: 880px;
  margin: 0 auto;
  color: #e6f4ff;
  opacity: 0.95;
}
.blogs-hero .bar {
  width: 80px;
  height: 4px;
  background: #fff;
  border-radius: 999px;
  margin: 12px auto 0;
  opacity: 0.9;
}
.blogs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
  padding: 36px 20px;
}
.blog-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(2, 6, 23, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 28px rgba(2, 6, 23, 0.1);
}
.img-wrap {
  position: relative;
  overflow: hidden;
}
.img-wrap img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.blog-card:hover .img-wrap img {
  transform: scale(1.04);
}
.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(14, 165, 233, 0.95);
  color: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}
.date-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 0.78rem;
}
.blog-content {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.blog-content h3 {
  font-size: 1.05rem;
  margin: 0;
}
.blog-content p {
  font-size: 0.93rem;
  color: #475569;
  margin: 0;
}
.blog-meta {
  font-size: 0.82rem;
  color: #64748b;
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
}
.read-more {
  margin-top: auto;
  align-self: flex-start;
  background: #0ea5e9;
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.88rem;
  transition: 0.3s;
}
.read-more:hover {
  background: #0284c7;
}
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  min-height: 100vh;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Enhanced Color Variables - Updated to match logo palette (teal → deep blue) */
:root {
  --primary-color: #0ea5e9; /* Bright blue */
  --primary-dark: #0284c7; /* Darker blue */
  --primary-light: #38bdf8; /* Lighter blue */
  --primary-lighter: #e0f2fe; /* Very light blue */
  --secondary-color: #1e40af; /* Deep blue */
  --secondary-dark: #1e3a8a; /* Darker blue */
  --secondary-light: #3b82f6; /* Lighter blue */
  --accent-color: #14b8a6; /* Teal accent */
  --accent-light: #5eead4;
    --light-blue: #f0f9ff;
    --light-blue-50: #f8fafc;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --success-color: #10b981;
    --success-light: #34d399;
    --warning-color: #f59e0b;
    --warning-light: #fbbf24;
    --error-color: #ef4444;
    --error-light: #f87171;
    
    /* Rainbow Ribbon Colors from Logo */
    --ribbon-purple: #8b5cf6;
    --ribbon-blue: #3b82f6;
    --ribbon-green: #10b981;
    --ribbon-yellow: #fbbf24;
    --ribbon-orange: #f97316;
    --ribbon-red: #ef4444;
    
    /* Shadows - tuned for new primary color */
  --shadow-sm: 0 1px 3px 0 rgba(0, 168, 232, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 168, 232, 0.15);
  --shadow-lg: 0 10px 15px -3px rgba(0, 168, 232, 0.2);
    --shadow-xl: 0 20px 25px -5px rgba(0, 168, 232, 0.25);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 168, 232, 0.3);
    
    /* Gradients - aligned with new palette */
  --gradient-primary: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  --gradient-accent: linear-gradient(
    135deg,
    var(--primary-light) 0%,
    var(--accent-color) 100%
  );
  --gradient-light: linear-gradient(
    135deg,
    var(--primary-lighter) 0%,
    #f8fafc 100%
  );
  --gradient-hero: linear-gradient(
    135deg,
    #ffffff 0%,
    var(--primary-lighter) 100%
  );
  --gradient-logo: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color),
    var(--secondary-color)
  );
  --gradient-ribbon: linear-gradient(
    135deg,
    #8b5cf6 0%,
    #3b82f6 16%,
    #10b981 33%,
    #fbbf24 50%,
    #f97316 66%,
    #ef4444 100%
  );
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
}

/* Enhanced Global Styles */
html {
    scroll-behavior: smooth;
}

body {
    background: var(--white);
    min-height: 100vh;
}

/* Ensure proper container framing across all pages */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* Ensure sections don't overflow their containers */
section {
    position: relative;
    overflow: hidden;
}

/* Navigation - Matching Image */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid #e5e7eb;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav-logo i {
    font-size: 2rem;
    animation: heartbeat 2s infinite;
}

@keyframes heartbeat {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--gray-800);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

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

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

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

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

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

/* Hero Section - Matching Image */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
  /* Soft brand gradient instead of plain white */
  background: linear-gradient(135deg, #ecfeff 0%, #e0f2fe 40%, #f0fdfa 100%);
    padding-top: 120px;
    position: relative;
    overflow: hidden;
  margin-bottom: 0;
}

/* Subtle brand color glow in the hero background */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      800px 400px at 85% 10%,
      rgba(14, 165, 233, 0.18),
      transparent 60%
    ),
    radial-gradient(
      700px 350px at 10% 90%,
      rgba(20, 184, 166, 0.16),
      transparent 60%
    );
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 768px) {
    .hero {
    min-height: auto;
    padding-top: 90px; /* offset fixed header */
    padding-bottom: 0.25rem;
  }
  .hero + .about-preview {
    margin-top: 0 !important;
    }
}

@media (max-width: 480px) {
    .hero {
    min-height: auto;
    padding-top: 84px; /* offset fixed header */
    padding-bottom: 0.2rem;
  }
  .hero + .about-preview {
    margin-top: 0 !important;
    }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.15),
    rgba(37, 99, 235, 0.08)
  );
    animation: float 8s ease-in-out infinite;
    filter: blur(1px);
}

.hero-shape-1 {
    width: 300px;
    height: 300px;
    top: 5%;
    right: 5%;
    animation-delay: 0s;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.12),
    rgba(37, 99, 235, 0.06)
  );
}

.hero-shape-2 {
    width: 200px;
    height: 200px;
    top: 70%;
    left: 3%;
    animation-delay: 3s;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.1),
    rgba(37, 99, 235, 0.05)
  );
}

.hero-shape-3 {
    width: 150px;
    height: 150px;
    top: 15%;
    left: 70%;
    animation-delay: 6s;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.08),
    rgba(37, 99, 235, 0.04)
  );
}

@keyframes float {
  0%,
  100% {
        transform: translateY(0px) rotate(0deg) scale(1); 
        opacity: 0.8;
    }
    50% { 
        transform: translateY(-30px) rotate(180deg) scale(1.1); 
        opacity: 1;
    }
}

.hero-content {
    display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
    align-items: center;
    position: relative;
    z-index: 2;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-text {
  max-width: 820px;
  animation: fadeHero 0.6s ease-out;
}

.hero-title {
  font-size: 3.1rem;
    font-weight: 800;
    color: var(--secondary-color);
  margin-bottom: 0.9rem;
  line-height: 1.05;
  letter-spacing: -0.5px;
    position: relative;
  max-width: 840px;
}

.hero-title::after {
  content: "";
    position: absolute;
  bottom: -12px;
    left: 0;
  width: 90px;
  height: 3px;
    background: var(--primary-color);
    border-radius: var(--radius-full);
}

.hero-subtitle {
  font-size: 1.08rem;
  color: #3b4a61;
  margin-bottom: 1.25rem;
  line-height: 1.55;
  max-width: 640px;
    font-weight: 400;
  max-width: 680px;
  letter-spacing: 0.2px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
  flex-wrap: nowrap;
  animation: fadeHero 0.7s ease-out 0.1s both;
  margin-top: 1rem; /* push buttons below text to avoid overlap */
}

/* Keep hero buttons side-by-side */
.hero-actions .btn {
  white-space: nowrap;
  min-width: 0;
}

@keyframes fadeHero {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Button Styles - Exact Match */
.hero .btn {
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    font-family: inherit;
    letter-spacing: 0.025em;
    min-width: 160px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero .btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    box-shadow: var(--shadow-md);
}

.hero .btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hero .btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero .btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

.hero .btn i {
    font-size: 1.1em;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1.2s ease-out 0.6s both;
    position: relative;
    padding: 0;
    transform: translateY(-60px);
}

.hero-doctor-img {
  width: clamp(640px, 42vw, 1200px);
  max-width: 1200px;
  height: auto;
    object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  border: none;
  transition: transform 0.5s cubic-bezier(0.2, 0.6, 0.2, 1);
    position: relative;
  animation: none;
}

@media (min-width: 1400px) {
  .hero-doctor-img {
    max-width: 1300px;
  }
}

.hero-image:hover .hero-doctor-img {
  transform: none;
  box-shadow: none;
}

/* Ensure both slides use identical image sizing (no card look) */
.hero-slide[data-index="1"] .hero-doctor-img {
  width: clamp(500px, 40vw, 600px);
  max-width: 600px;
  height: 600px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transform: translateY(-70px);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(255, 255, 255, 0.8), 0 10px 20px rgba(14, 165, 233, 0.1);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(14, 165, 233, 0.05));
  backdrop-filter: blur(10px);
}

/* Slight upward nudge for slide 1 image */
.hero-slide[data-index="0"] .hero-doctor-img {
  width: clamp(500px, 40vw, 600px);
  max-width: 600px;
  height: 600px;
  object-fit: cover;
  object-position: center 20%;
  transform: translateY(-70px);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(255, 255, 255, 0.8), 0 10px 20px rgba(14, 165, 233, 0.1);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(14, 165, 233, 0.05));
  backdrop-filter: blur(10px);
}

@media (max-width: 1200px) {
  .hero-slide[data-index="0"] .hero-doctor-img {
    height: 550px;
    transform: translateY(0px);
    max-width: 550px;
    object-position: center 20%;
  }
}

@media (max-width: 1024px) {
  .hero-slide[data-index="0"] .hero-doctor-img {
    height: 500px;
    transform: translateY(0px);
    max-width: 450px;
    object-position: center 20%;
  }
}

@media (max-width: 768px) {
  .hero-slide[data-index="0"] .hero-doctor-img {
    height: 450px;
    transform: translateY(0px);
    max-width: 300px;
    object-position: center 20%;
  }
}

/* Slight left nudge for slide 1 text */
.hero-slide[data-index="0"] .hero-text {
  transform: translateX(-150px);
}

@media (max-width: 768px) {
  .hero-slide[data-index="0"] .hero-text {
    transform: translateX(0px);
  }
}

@media (max-width: 1200px) {
  .hero-slide[data-index="1"] .hero-doctor-img {
    height: 550px;
    max-width: 550px;
    object-position: center 20%;
    transform: translateY(-60px);
  }
}

@media (max-width: 1024px) {
  .hero-slide[data-index="1"] .hero-doctor-img {
    height: 500px;
    max-width: 450px;
    object-position: center 20%;
    transform: translateY(-50px);
  }
}

@media (max-width: 768px) {
  .hero-slide[data-index="1"] .hero-doctor-img {
    height: 350px;
    max-width: 280px;
    object-position: center 20%;
    transform: translateY(-40px) translateX(-15px);
  }
}

/* Better spacing between text and image */
.hero-content {
  gap: 1.75rem;
}

@media (max-width: 1024px) {
  .hero-doctor-img {
    width: clamp(520px, 50vw, 800px);
    max-width: 800px;
    height: auto;
  }
  .hero-content {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.75rem;
  }
  .hero-image {
    transform: translateY(-50px);
  }
}

/* Fine tune slide 1 layout */
.hero-slide[data-index="0"] .hero-image {
  transform: translateX(16px);
}
.hero-slide[data-index="0"] .hero-text {
  padding-right: 10px;
}
/* Apply same visual balance for slide 2 */
.hero-slide[data-index="1"] .hero-image {
  transform: translateX(16px);
}
.hero-slide[data-index="1"] .hero-text {
  padding-right: 10px;
  transform: translateX(-150px);
}

@media (max-width: 768px) {
  .hero-slide[data-index="1"] .hero-text {
    transform: translateX(0px);
  }
}

@media (max-width: 768px) {
  .hero-doctor-img {
    max-width: 300px;
    height: 350px;
  }
  .hero-image {
    transform: translateY(-30px);
  }
}

/* Hero slider */
.hero-slider {
  position: relative;
  overflow: hidden;
}
.hero-track {
  display: flex;
  transition: transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
  will-change: transform;
}
.hero-slide {
  min-width: 100%;
  flex: 0 0 100%;
}
.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}
.hero-dot.active {
  background: var(--primary-color);
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .hero-dots {
    bottom: 14px;
  }
}

.hero-doctor-img::before {
  content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.1;
    z-index: -1;
    animation: pulse 3s ease-in-out infinite;
}

.hero-doctor-img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}

/* Mobile Responsive Hero Section */
@media (max-width: 1024px) {
    .hero-content {
        gap: 3rem;
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-doctor-img {
        width: 350px;
        height: 350px;
    }
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 0 20px;
    }
    
    .hero-text {
        order: 1;
    }
    
    .hero-image {
        order: 2;
        margin-top: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        max-width: 100%;
    }
    
    .hero-actions {
        justify-content: center;
        gap: 1rem;
    flex-wrap: nowrap;
    margin-top: 1.25rem;
    }
    
    .hero .btn {
        padding: 14px 28px;
        font-size: 1rem;
        min-width: 140px;
    }
    
    .hero-doctor-img {
    width: clamp(420px, 65vw, 600px);
    max-width: 600px;
    height: auto;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero .btn {
    width: auto;
    max-width: none;
    }
    
    .hero-doctor-img {
    width: clamp(280px, 80vw, 460px);
    max-width: 460px;
    height: auto;
    }
    
    /* Hide hero shapes on very small screens for better performance */
    .hero-shape {
        display: none;
    }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.2;
  }
}

/* Smooth float animation for hero image */
@keyframes heroFloat {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
        width: 0;
    }
    to {
        opacity: 1;
        transform: translateX(0);
        width: 120px;
    }
}

/* About Our Practice Section - Matching Image */
.about-preview {
  padding: 3.25rem 0;
    background: var(--white);
    position: relative;
    text-align: center;
  margin-top: 0;
}

/* Section Headers - Matching Image */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.about-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-card::before {
  content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
  background: linear-gradient(
    135deg,
    var(--secondary-color) 0%,
    var(--secondary-light) 100%
  );
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.about-card:hover::before {
    transform: scaleX(1);
}

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

.card-icon {
    width: 70px;
    height: 70px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.about-card:hover .card-icon {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.card-icon i {
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.about-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--secondary-dark);
    margin-bottom: 1rem;
}

.about-card p {
    color: var(--gray-600);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Our Services Section - Matching Image */
.services-preview {
    padding: 5rem 0;
    background: var(--white);
    position: relative;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    margin-bottom: 3rem;
}

.service-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
    text-align: center;
    position: relative;
}

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

.service-image {
  height: 220px;
    overflow: hidden;
    position: relative;
  padding: 0;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
  border-radius: 0;
  max-width: none;
  max-height: none;
  margin: 0;
    display: block;
}

.service-card:hover .service-img {
    transform: scale(1.1);
}

.service-content {
    padding: 1.5rem;
    text-align: center;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.service-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.service-content p {
    color: var(--gray-600);
    line-height: 1.5;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    justify-content: center;
    font-size: 0.95rem;
}

.service-link:hover {
    color: var(--primary-dark);
    gap: 0.8rem;
}

.services-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.services-cta::before,
.blogs-cta::before {
  content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--accent-color),
    var(--primary-color)
  );
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.services-cta .btn,
.blogs-cta .btn {
    background: var(--gray-50);
    color: var(--gray-700);
    border: 2px solid var(--gray-200);
    padding: 16px 36px;
    font-size: 1.1rem;
    min-width: 200px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 12px;
}

.services-cta .btn::before,
.blogs-cta .btn::before {
  content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.services-cta .btn:hover,
.blogs-cta .btn:hover {
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.25);
}

.services-cta .btn:hover::before,
.blogs-cta .btn:hover::before {
    opacity: 1;
}

.services-cta .btn:active,
.blogs-cta .btn:active {
    transform: translateY(-1px);
}

/* Icon styling for View All buttons */
.services-cta .btn i,
.blogs-cta .btn i {
    font-size: 1.2em;
    margin-right: 8px;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.services-cta .btn:hover i,
.blogs-cta .btn:hover i {
    transform: translateX(3px);
    opacity: 1;
}

/* Add subtle background pattern */
.services-cta::after,
.blogs-cta::after {
  content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  background-image: radial-gradient(
      circle at 20% 80%,
      rgba(37, 99, 235, 0.03) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(37, 99, 235, 0.03) 0%,
      transparent 50%
    );
    pointer-events: none;
}

/* Statistics Section */
.stats-section {
    padding: 6rem 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
  content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    display: block;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    animation: countUp 2s ease-out;
    white-space: nowrap;
    overflow: visible;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Blogs Section */
.blogs {
    padding: 8rem 0;
    background: var(--white);
}

.blogs-grid {
    display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    margin-bottom: 3rem;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--gray-200);
}

.blog-card:hover {
  transform: translateY(-6px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-color);
}

.blog-image {
  height: 180px;
    position: relative;
    overflow: hidden;
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-img {
    transform: scale(1.1);
}

.blog-date {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.8rem;
    border-radius: var(--radius-md);
    text-align: center;
    min-width: 60px;
}

.date-day {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
}

.date-month {
    display: block;
    font-size: 0.8rem;
    opacity: 0.9;
    text-transform: uppercase;
}

.blog-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-content h3 {
  font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-900);
  margin-bottom: 0.75rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-content p {
    color: var(--gray-600);
  line-height: 1.5;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--gray-200);
}

.blog-author {
    color: var(--primary-color);
    font-weight: 500;
}

.blog-category {
    color: var(--gray-500);
    background: var(--gray-100);
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
  gap: 0.4rem;
    transition: all 0.3s ease;
  font-size: 0.9rem;
  margin-top: auto;
}

.read-more:hover {
    color: var(--primary-dark);
    gap: 0.8rem;
}

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

/* Testimonials Section */
.testimonials {
    padding: 8rem 0;
    background: var(--gray-50);
}

.testimonials-grid {
    display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
  transform: translateY(-6px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-color);
}

.testimonial-content {
    margin-bottom: 2rem;
}

.stars {
    margin-bottom: 1rem;
}

.stars i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.testimonial-content p {
    color: var(--gray-700);
    line-height: 1.7;
    font-style: italic;
    font-size: 1.1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.patient-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.3rem;
}

.author-info span {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    padding: 8rem 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-content {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.cta-text {
    text-align: center;
    margin-bottom: 4rem;
}

.cta-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.cta-text p {
    font-size: 1.2rem;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-700);
    font-weight: 500;
}

.cta-feature i {
    color: var(--success-color);
    font-size: 1.2rem;
}

.cta-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.cta-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-card:hover {
  transform: translateY(-6px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-color);
}

.cta-card-header {
    margin-bottom: 1.5rem;
}

.cta-card-header i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.cta-card-header h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.cta-card p {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.05),
    rgba(37, 99, 235, 0.03)
  );
    animation: float 8s ease-in-out infinite;
}

.cta-shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.cta-shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    left: 5%;
    animation-delay: 3s;
}

.cta-shape-3 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 70%;
    animation-delay: 6s;
}

/* Enhanced Responsive Design */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .blogs-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .cta-actions {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2.25rem;
    }
  /* Bring About section slightly closer on mobile */
  .about-preview {
    padding: 3rem 0;
    margin-top: 0px;
  }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-image {
        height: 180px;
    }
    
    .service-img {
        object-fit: contain;
        object-position: center;
    }
    
    .blogs-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .about-card,
    .service-card,
    .blog-card,
    .testimonial-card,
    .cta-card {
        padding: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

/* Footer */
.footer {
    background: var(--gray-800);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-600);
    opacity: 0.8;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

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

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image-container {
        width: 250px;
        height: 250px;
    }

    .hero-image-container i {
        font-size: 6rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .about-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* Beautiful Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    font-family: inherit;
    letter-spacing: 0.025em;
    min-width: 120px;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn:active {
    transform: translateY(0);
}

.btn i {
    font-size: 1.1em;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(2px);
}

/* Primary Button */
.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

/* Secondary Button */
.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

/* Outline Button - Beautiful Secondary Style */
.btn-outline {
    background: var(--gray-100);
    color: var(--gray-700);
    border: 2px solid var(--gray-200);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.btn-outline::before {
  content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
    transition: left 0.5s ease;
}

.btn-outline:hover {
    background: var(--gray-200);
    color: var(--gray-800);
    border-color: var(--gray-300);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.btn-outline:hover::before {
    left: 100%;
}

.btn-outline:active {
    background: var(--gray-300);
    transform: translateY(0);
}

/* Large Button */
.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
    min-width: 160px;
}

/* Button with Icon Animation */
.btn-with-icon {
    position: relative;
}

.btn-with-icon i {
    margin-left: 8px;
    transition: all 0.3s ease;
}

.btn-with-icon:hover i {
    transform: translateX(4px);
}

/* CTA Section Buttons */
.cta-actions .btn {
    width: 100%;
    margin-bottom: 1rem;
}

/* Services and Blogs CTA Buttons */
.services-cta,
.blogs-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.services-cta::before,
.blogs-cta::before {
  content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--accent-color),
    var(--primary-color)
  );
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.services-cta .btn,
.blogs-cta .btn {
    background: var(--gray-50);
    color: var(--gray-700);
    border: 2px solid var(--gray-200);
    padding: 16px 36px;
    font-size: 1.1rem;
    min-width: 200px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 12px;
}

.services-cta .btn::before,
.blogs-cta .btn::before {
  content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.services-cta .btn:hover,
.blogs-cta .btn:hover {
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.25);
}

.services-cta .btn:hover::before,
.blogs-cta .btn:hover::before {
    opacity: 1;
}

.services-cta .btn:active,
.blogs-cta .btn:active {
    transform: translateY(-1px);
}

/* Icon styling for View All buttons */
.services-cta .btn i,
.blogs-cta .btn i {
    font-size: 1.2em;
    margin-right: 8px;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.services-cta .btn:hover i,
.blogs-cta .btn:hover i {
    transform: translateX(3px);
    opacity: 1;
}

/* Add subtle background pattern */
.services-cta::after,
.blogs-cta::after {
  content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  background-image: radial-gradient(
      circle at 20% 80%,
      rgba(37, 99, 235, 0.03) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(37, 99, 235, 0.03) 0%,
      transparent 50%
    );
    pointer-events: none;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--gray-200);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Additional Page Styles */

/* About Page Styles */
.about-hero {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
    color: var(--white);
    padding: 8rem 0 4rem;
    text-align: center;
}

/* Shared hero style for Services/Treatments pages to match About */
.page-hero,
.treatment-hero {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
    color: var(--white);
    padding: 8rem 0 4rem;
    text-align: center;
}
.page-hero h1,
.treatment-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.page-hero .breadcrumb,
.treatment-hero .breadcrumb {
    display: inline-block;
  color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}
.page-hero .breadcrumb a,
.treatment-hero .breadcrumb a {
    color: #ffffff;
    text-decoration: none;
}
.page-hero .breadcrumb a:hover,
.treatment-hero .breadcrumb a:hover {
    text-decoration: underline;
}

.about-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.doctor-profile {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}

.doctor-profile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%230ea5e9" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.profile-image .image-container {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 25px 50px rgba(14, 165, 233, 0.4);
    position: relative;
    animation: scaleIn 0.8s ease-out;
    transition: all 0.4s ease;
}

.profile-image .image-container::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    border-radius: 50%;
    opacity: 0.2;
    animation: pulse 2s infinite;
}

.profile-image .image-container:hover {
    transform: scale(1.05);
    box-shadow: 0 30px 60px rgba(14, 165, 233, 0.5);
}

.doctor-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 8px solid white;
    position: relative;
    z-index: 2;
}

.profile-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    position: relative;
    animation: slideInLeft 0.8s ease-out;
    animation-delay: 0.2s;
    animation-fill-mode: both;
}

.profile-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    border-radius: 20px 20px 0 0;
}

.profile-content h2 {
    font-size: 2.8rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-content h3 {
    font-size: 1.3rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.profile-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #64748b;
    margin-bottom: 2rem;
}

.credentials {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #f8fafc, #e0f2fe);
    border-radius: 12px;
    border-left: 4px solid #0ea5e9;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
}

.credential-item:nth-child(1) { animation-delay: 0.3s; }
.credential-item:nth-child(2) { animation-delay: 0.4s; }
.credential-item:nth-child(3) { animation-delay: 0.5s; }

.credential-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(14, 165, 233, 0.15);
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
}

.credential-item i {
    font-size: 1.5rem;
    color: #0ea5e9;
    width: 30px;
    text-align: center;
}

.credential-item span {
    font-size: 1rem;
    color: #1e293b;
    font-weight: 600;
}

/* Responsive Design for Doctor Profile */
@media (max-width: 768px) {
    .profile-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .profile-image .image-container {
        width: 280px;
        height: 280px;
    }
    
    .profile-content {
        padding: 2rem;
    }
    
    .profile-content h2 {
        font-size: 2.2rem;
    }
    
    .profile-content h3 {
        font-size: 1.1rem;
    }
    
    .credentials {
        gap: 0.8rem;
    }
    
    .credential-item {
        padding: 0.8rem 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .credential-item:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 480px) {
    .doctor-profile {
        padding: 4rem 0;
    }
    
    .profile-image .image-container {
        width: 220px;
        height: 220px;
    }
    
    .profile-content {
        padding: 1.5rem;
    }
    
    .profile-content h2 {
        font-size: 1.8rem;
    }
    
    .profile-content h3 {
        font-size: 1rem;
    }
    
    .profile-description {
        font-size: 1rem;
    }
    
    .credential-item {
        padding: 0.6rem 0.8rem;
    }
    
    .credential-item span {
        font-size: 0.9rem;
    }
}

.mission-vision {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    position: relative;
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.mv-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
    animation: scaleIn 0.8s ease-out;
    transition: all 0.4s ease;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
}

.mv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.12);
}

.mv-card:nth-child(1) { animation-delay: 0.1s; }
.mv-card:nth-child(2) { animation-delay: 0.2s; }

.mv-icon {
    width: 80px;
    height: 80px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.mv-icon i {
    font-size: 2rem;
    color: var(--white);
}

.mv-card h3 {
    font-size: 1.8rem;
    color: var(--gray-800);
    margin-bottom: 1.5rem;
}

.mv-card p {
    color: var(--gray-600);
    line-height: 1.8;
}

.experience {
    padding: 6rem 0;
    background: var(--white);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
  content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: 50%;
    text-align: right;
    padding-right: 3rem;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 50%;
    margin-right: 0;
    text-align: left;
    padding-left: 3rem;
}

.timeline-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.timeline-content::before {
  content: "";
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -60px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -60px;
}

.timeline-date {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.achievements {
    padding: 6rem 0;
    background: var(--gray-100);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.achievement-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.achievement-card::before {
  content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.achievement-icon {
    width: 80px;
    height: 80px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.achievement-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.achievement-card h3 {
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.achievement-card p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.achievement-year {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.values {
    padding: 6rem 0;
    background: var(--white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    text-align: center;
    padding: 2rem;
}

.value-icon {
    width: 70px;
    height: 70px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.value-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.value-card h3 {
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Services Page Styles */
.services-hero {
    background: linear-gradient(135deg, #f0fbff 0%, #e0f2fe 100%);
    color: #1e293b;
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.services-hero::before {
  content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    z-index: 1;
}

.services-hero .container {
    position: relative;
    z-index: 2;
}

.services-hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge i {
    font-size: 1rem;
}

.services-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.services-hero-content p {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 3rem;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ff6b35;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
  color: white;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(255, 107, 53, 0.1),
    rgba(247, 147, 30, 0.1)
  );
    animation: float 6s ease-in-out infinite;
}

.hero-shapes .shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.hero-shapes .shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.hero-shapes .shape-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
  0%,
  100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.section-badge i {
    font-size: 0.9rem;
}

/* Breadcrumbs Section */
.breadcrumbs-section {
    background: #f8fafc;
    padding: 2rem 0;
    border-top: 1px solid #e2e8f0;
}

.breadcrumbs-section .breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #64748b;
}

.breadcrumbs-section .breadcrumb a {
    color: #ff6b35;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumbs-section .breadcrumb a:hover {
    color: #f7931e;
}

.breadcrumbs-section .breadcrumb span {
    color: #94a3b8;
    font-weight: 500;
}

.breadcrumbs-section .breadcrumb i {
    font-size: 0.9rem;
}

/* Related Treatments Sidebar - Enhanced Design */
.related-treatments {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
    border: 2px solid transparent;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(20px);
}

.related-treatments::before {
  content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #ff6b35, #f7931e, #0ea5e9, #14b8a6);
    border-radius: 20px;
    padding: 2px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
}

.related-treatments h3 {
    color: #1e293b;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.related-treatments h3 i {
    color: #ff6b35;
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.current-treatment {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ff8c42 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 18px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.4);
  }
  to {
    box-shadow: 0 20px 45px rgba(255, 107, 53, 0.6);
  }
}

.current-treatment::before {
  content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 120px;
    height: 120px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.15) 0%,
    transparent 70%
  );
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(-10px, -10px) rotate(120deg);
  }
  66% {
    transform: translate(10px, -5px) rotate(240deg);
  }
}

.current-treatment i {
    font-size: 1.5rem;
    color: white;
    z-index: 2;
    position: relative;
    animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-5px);
  }
  60% {
    transform: translateY(-3px);
  }
}

.current-treatment span {
    font-weight: 700;
    font-size: 1.1rem;
    z-index: 2;
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.treatment-status {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.3),
    rgba(255, 255, 255, 0.1)
  );
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-left: auto;
    z-index: 2;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite;
}

.other-treatments {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    z-index: 2;
}

.treatment-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid transparent;
    border-radius: 15px;
    color: #64748b;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(10px);
}

.treatment-link::before {
  content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, #0ea5e9 0%, #14b8a6 50%, #06b6d4 100%);
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
}

.treatment-link::after {
  content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #ff6b35, #f7931e, #0ea5e9, #14b8a6);
    border-radius: 15px;
    padding: 2px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.treatment-link:hover {
    color: white;
    transform: translateX(8px) translateY(-2px);
    box-shadow: 0 15px 40px rgba(14, 165, 233, 0.4);
    border-color: transparent;
}

.treatment-link:hover::before {
    width: 100%;
}

.treatment-link:hover::after {
    opacity: 1;
}

.treatment-link i {
    font-size: 1.1rem;
    color: #0ea5e9;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 2;
    position: relative;
    animation: float 3s ease-in-out infinite;
}

.treatment-link:hover i {
    color: white;
    transform: scale(1.2) rotate(5deg);
    animation: none;
}

.treatment-link span {
    font-weight: 600;
    font-size: 0.95rem;
    z-index: 2;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.treatment-link:hover span {
    color: white;
    transform: translateX(2px);
}

.main-services {
    padding: 6rem 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.main-services .container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.services-grid-large {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.service-card-large {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

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

.service-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-icon-large {
    width: 70px;
    height: 70px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  border-radius: 0;
}

.service-header h3 {
    font-size: 1.5rem;
    color: var(--gray-800);
}

.service-description {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-list {
    list-style: none;
    margin-bottom: 2rem;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--gray-700);
}

.service-list li i {
    color: var(--success-color);
    font-size: 0.9rem;
}

.additional-services {
    padding: 6rem 0;
    background: var(--gray-100);
    position: relative;
    overflow: hidden;
}

.additional-services .container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.additional-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

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

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

.additional-service-icon {
    width: 60px;
    height: 60px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.additional-service-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.additional-service-card h3 {
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.additional-service-card p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.technology {
    padding: 6rem 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.technology .container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.technology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.technology-item {
    text-align: center;
    padding: 2rem;
}

.technology-icon {
    width: 60px;
    height: 60px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.technology-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.technology-item h3 {
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.technology-item p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.insurance-payment {
    padding: 6rem 0;
    background: var(--gray-100);
    position: relative;
    overflow: hidden;
}

.insurance-payment .container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.payment-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.payment-icon {
    width: 60px;
    height: 60px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.payment-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.payment-card h3 {
    color: var(--gray-800);
    margin-bottom: 1.5rem;
}

.payment-card ul {
    list-style: none;
}

.payment-card ul li {
    padding: 0.5rem 0;
    color: var(--gray-600);
    border-bottom: 1px solid var(--gray-200);
}

.payment-card ul li:last-child {
    border-bottom: none;
}

/* Appointment Page Styles */
.appointment-hero {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
    color: var(--white);
    padding: 8rem 0 4rem;
    text-align: center;
}

.appointment-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.appointment-form-section {
    padding: 6rem 0;
    background: var(--gray-100);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.form-header h2 {
    font-size: 2rem;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.form-header p {
    color: var(--gray-600);
}

.appointment-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

.appointment-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.info-icon i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.info-card h3 {
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.info-card ul {
    list-style: none;
}

.info-card ul li {
    padding: 0.25rem 0;
    color: var(--gray-600);
}

.why-choose-us {
    padding: 6rem 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 70px;
    height: 70px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.feature-card h3 {
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Testimonials Page Styles */
.testimonials-hero {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
    color: var(--white);
    padding: 8rem 0 4rem;
    text-align: center;
}

.testimonials-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.featured-testimonials {
    padding: 6rem 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.testimonial-card.featured {
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, var(--white) 0%, var(--light-blue) 100%);
}

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.stars i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.testimonial-text {
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.author-info h4 {
    color: var(--gray-800);
    margin-bottom: 0.25rem;
}

.author-info span {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.patient-stories {
    padding: 6rem 0;
    background: var(--gray-100);
}

.stories-grid {
    display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.story-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.story-image {
    height: 200px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-image i {
    font-size: 4rem;
    color: var(--white);
}

.story-content {
    padding: 2rem;
}

.story-content h3 {
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.story-excerpt {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.story-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.story-author {
    color: var(--primary-color);
    font-weight: 600;
}

.story-date {
    color: var(--gray-500);
}

.testimonial-stats {
    padding: 4rem 0;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
    color: var(--white);
}

.leave-review {
    padding: 6rem 0;
    background: var(--white);
}

.review-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.review-header {
    text-align: center;
    margin-bottom: 3rem;
}

.review-header h2 {
    font-size: 2rem;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.review-header p {
    color: var(--gray-600);
}

.review-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.rating-stars {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.rating-stars input[type="radio"] {
    display: none;
}

.rating-stars label {
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--gray-300);
    transition: color 0.3s ease;
}

.rating-stars input[type="radio"]:checked ~ label,
.rating-stars label:hover,
.rating-stars label:hover ~ label {
    color: var(--accent-color);
}

/* Contact Page Styles */
.contact-hero {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
    color: var(--white);
    padding: 8rem 0 4rem;
    text-align: center;
}

.contact-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-info {
    padding: 6rem 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.contact-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.contact-card h3 {
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.contact-card p {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.contact-form-map {
    padding: 6rem 0;
    background: var(--gray-100);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form-section {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.map-section {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Doctor & Hospital Information Banner */
.doctor-hospital-info {
    background: var(--gradient-primary);
    padding: 3rem 0;
    color: var(--white);
}

.info-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 2rem;
}

.info-left .contact-highlight {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact-icon-large {
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
}

.contact-details h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.phone-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.info-right .doctor-profile {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.doctor-info h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.qualifications p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: var(--white);
    opacity: 0.9;
}

.qualifications p strong {
    color: var(--white);
    opacity: 1;
}

.doctor-photo .profile-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--white);
    box-shadow: var(--shadow-lg);
}

.hospital-info {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hospital-info h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--white);
    font-weight: 700;
}

.hospital-info p {
    color: var(--white);
    opacity: 0.9;
    font-size: 1rem;
}

/* Responsive for Doctor & Hospital Info */
@media (max-width: 768px) {
    .info-banner {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .info-left .contact-highlight {
        justify-content: center;
    }
    
    .info-right .doctor-profile {
        flex-direction: column;
        text-align: center;
    }
    
    .doctor-photo .profile-img {
        width: 100px;
        height: 100px;
    }
}

.map-container h3 {
    color: var(--gray-800);
    margin-bottom: 1.5rem;
}

.map-wrapper {
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.map-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.map-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-600);
}

.map-info i {
    color: var(--primary-color);
}

.emergency-contact {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--error-color), #dc2626);
    color: var(--white);
}

.emergency-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.emergency-icon {
    font-size: 3rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.emergency-text h2 {
    margin-bottom: 1rem;
}

.emergency-phone {
    margin: 2rem 0;
}

.emergency-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    color: var(--error-color);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.emergency-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.emergency-note {
    opacity: 0.9;
    font-size: 0.9rem;
}

.faq-section {
    padding: 6rem 0;
    background: var(--white);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--gray-100);
}

.faq-question h3 {
    color: var(--gray-800);
    margin: 0;
    font-size: 1.1rem;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

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

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--gray-600);
    line-height: 1.6;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Responsive Design for Additional Pages */
@media (max-width: 768px) {
    .profile-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .mv-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 50px;
        margin-right: 0;
        text-align: left;
        padding-left: 2rem;
        padding-right: 1rem;
    }

    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -35px;
        right: auto;
    }

    .services-grid-large {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .emergency-content {
        flex-direction: column;
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .testimonials-grid,
    .stories-grid {
        grid-template-columns: 1fr;
    }
}

/* Blogs Section */
.blogs {
    padding: 8rem 0;
    background: var(--white);
}

.blogs-grid {
    display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    margin-bottom: 3rem;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--gray-200);
}

.blog-card:hover {
  transform: translateY(-6px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-color);
}

.blog-image {
  height: 180px;
    position: relative;
    overflow: hidden;
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-img {
    transform: scale(1.1);
}

.blog-date {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.8rem;
    border-radius: var(--radius-md);
    text-align: center;
    min-width: 60px;
}

.date-day {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
}

.date-month {
    display: block;
    font-size: 0.8rem;
    opacity: 0.9;
    text-transform: uppercase;
}

.blog-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-content h3 {
  font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-900);
  margin-bottom: 0.75rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-content p {
    color: var(--gray-600);
  line-height: 1.5;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--gray-200);
}

.blog-author {
    color: var(--primary-color);
    font-weight: 500;
}

.blog-category {
    color: var(--gray-500);
    background: var(--gray-100);
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
  gap: 0.4rem;
    transition: all 0.3s ease;
  font-size: 0.9rem;
  margin-top: auto;
}

.read-more:hover {
    color: var(--primary-dark);
    gap: 0.8rem;
}

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

/* Testimonials Section */
.testimonials {
    padding: 8rem 0;
    background: var(--gray-50);
}

.testimonials-grid {
    display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
  transform: translateY(-6px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-color);
}

.testimonial-content {
    margin-bottom: 2rem;
}

.stars {
    margin-bottom: 1rem;
}

.stars i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.testimonial-content p {
    color: var(--gray-700);
    line-height: 1.7;
    font-style: italic;
    font-size: 1.1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.patient-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.3rem;
}

.author-info span {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    padding: 8rem 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-content {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.cta-text {
    text-align: center;
    margin-bottom: 4rem;
}

.cta-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.cta-text p {
    font-size: 1.2rem;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-700);
    font-weight: 500;
}

.cta-feature i {
    color: var(--success-color);
    font-size: 1.2rem;
}

.cta-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.cta-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-card:hover {
  transform: translateY(-6px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-color);
}

.cta-card-header {
    margin-bottom: 1.5rem;
}

.cta-card-header i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.cta-card-header h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.cta-card p {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.05),
    rgba(37, 99, 235, 0.03)
  );
    animation: float 8s ease-in-out infinite;
}

.cta-shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.cta-shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    left: 5%;
    animation-delay: 3s;
}

.cta-shape-3 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 70%;
    animation-delay: 6s;
}

/* Enhanced Responsive Design */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .blogs-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .cta-actions {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2.25rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-image {
        height: 180px;
    }
    
    .service-img {
        object-fit: contain;
        object-position: center;
    }
    
    .blogs-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .about-card,
    .service-card,
    .blog-card,
    .testimonial-card,
    .cta-card {
        padding: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

/* --- Clean Professional Header Styles --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  border-bottom: 1px solid #e5e7eb;
  min-height: 80px;
  transition: all 0.3s ease;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
}

/* Logo Section */
.site-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(
    135deg,
    var(--secondary-light) 0%,
    var(--secondary-color) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.2);
  border: 2px solid #dbeafe;
  transition: all 0.3s ease;
}

.logo-letter {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: "Poppins", sans-serif;
}

.site-logo:hover .logo-icon {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

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

.doctor-name {
  font-size: 1.1rem;
  font-weight: 700;
    color: var(--secondary-color);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.doctor-specialty {
  font-size: 0.9rem;
  color: #6b7280;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Navigation */
.site-nav {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0 auto;
  flex: 1;
  justify-content: center;
}

.site-nav-link {
  color: #374151;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 12px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  text-align: center;
}

.site-nav-link:hover {
  background: #f3f4f6;
    color: var(--secondary-color);
  transform: translateY(-1px);
}

.site-nav-link.active {
  background: var(--gradient-primary);
  color: #ffffff;
  font-weight: 600;
}

.site-nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: #ffffff;
  border-radius: 2px;
}

/* Beautiful Navigation Dropdowns */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
}

.dropdown-toggle i {
  font-size: 0.75rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: #6b7280;
}

.nav-dropdown:hover .dropdown-toggle i {
  transform: rotate(180deg);
    color: var(--secondary-color);
}

/* Desktop dropdown toggle active styles */
.nav-dropdown.active .dropdown-toggle {
  color: #ffffff !important;
}

.nav-dropdown.active .dropdown-toggle * {
  color: #ffffff !important;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-15px);
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 8px 16px rgba(0, 0, 0, 0.1);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  padding: 12px 0;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Dropdown Arrow */
.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: white;
  border-left: 1px solid #e5e7eb;
  border-top: 1px solid #e5e7eb;
  transform: translateX(-50%) rotate(45deg);
}

.dropdown-item {
  display: block;
  padding: 12px 24px;
  color: #374151;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 1px solid #f8fafc;
  position: relative;
  overflow: hidden;
}

/* Keep dropdown items with dark text for readability */

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.dropdown-item:hover {
  color: #ffffff !important;
  padding-left: 28px;
  transform: translateX(4px);
}

.dropdown-item:hover * {
  color: #ffffff !important;
}

.dropdown-item:hover::before {
  width: 100%;
}

/* Services Dropdown Specific Styling */
.nav-dropdown:nth-child(3) .dropdown-menu {
  min-width: 200px;
}

/* Treatments Dropdown Specific Styling */
.nav-dropdown:nth-child(4) .dropdown-menu {
  min-width: 200px;
  max-height: 400px;
  overflow-y: auto;
}

/* Custom Scrollbar for Treatments Dropdown */
.nav-dropdown:nth-child(4) .dropdown-menu::-webkit-scrollbar {
  width: 4px;
}

.nav-dropdown:nth-child(4) .dropdown-menu::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 2px;
}

.nav-dropdown:nth-child(4) .dropdown-menu::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 2px;
}

.nav-dropdown:nth-child(4) .dropdown-menu::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* CTA Button */
.site-cta {
  background: var(--secondary-color);
  color: #ffffff;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.95rem;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
  transition: all 0.3s ease;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  flex-shrink: 0;
}

.site-cta:hover {
  background: var(--secondary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Mobile Menu Button */
.header-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  cursor: pointer;
  gap: 4px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.header-burger:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

.header-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #6b7280;
  border-radius: 1px;
  transition: all 0.3s ease;
}

.header-burger.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.header-burger.open span:nth-child(2) {
  opacity: 0;
}

.header-burger.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .header-container {
    padding: 0 20px;
  }
  
  .site-nav-link {
    padding: 10px 16px;
    font-size: 0.95rem;
    min-width: 70px;
  }
  
  .doctor-name {
    font-size: 1rem;
  }
  
  .doctor-specialty {
    font-size: 0.85rem;
  }
}

/* Body scroll lock when mobile menu is open */
body.nav-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .site-header {
    min-height: 70px;
  }
  
  .header-container {
    height: 70px;
    padding: 0 16px;
  }
  
  .logo-icon {
    width: 40px;
    height: 40px;
  }
  
  .logo-letter {
    font-size: 1.3rem;
  }
  
  .logo-text {
    display: none;
  }
  
  .site-nav {
    position: fixed;
    left: -100vw;
    top: 70px;
    flex-direction: column;
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(248, 250, 252, 0.98) 100%
    );
    backdrop-filter: blur(25px);
    width: 100vw;
    height: calc(100vh - 70px);
    text-align: center;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    padding: 2rem 0 2.5rem 0;
    gap: 0;
    z-index: 999;
    margin: 0;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
  }
  
  .site-nav.open {
    left: 0;
  }
  
  /* Mobile Navigation Overlay */
  .site-nav::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .site-nav.open::before {
    opacity: 1;
  }
  
  /* Custom Scrollbar for Mobile Navigation */
  .site-nav::-webkit-scrollbar {
    width: 6px;
  }
  
  .site-nav::-webkit-scrollbar-track {
    background: transparent;
  }
  
  .site-nav::-webkit-scrollbar-thumb {
    background: rgba(14, 165, 233, 0.3);
    border-radius: 3px;
  }
  
  .site-nav::-webkit-scrollbar-thumb:hover {
    background: rgba(14, 165, 233, 0.5);
  }
  
  .site-nav-link {
    padding: 20px 24px;
    border-radius: 12px;
    font-size: 1.1rem;
    min-width: auto;
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 12px 20px;
    width: calc(100% - 40px);
    max-width: calc(100vw - 80px);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    font-weight: 500;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #374151;
    white-space: nowrap;
    text-overflow: ellipsis;
    min-height: 56px;
  }
  
  .site-nav-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
  }
  
  .site-nav-link:hover::before {
    opacity: 1;
  }
  
  .site-nav-link span {
    position: relative;
    z-index: 2;
  }
  
  .site-nav-link:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    color: #374151;
    transform: translateX(4px);
    border-color: #e2e8f0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  }
  
  .site-nav-link.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.3);
    border-color: var(--primary-color);
    transform: translateX(0);
  }
  
  .site-nav-link.active::before {
    opacity: 0;
  }
  
  .site-cta {
    display: flex;
    padding: 10px 20px;
    font-size: 0.9rem;
    min-width: 80px;
  }
  
  /* Clean & Smooth Mobile Dropdown Styles - Fixed Positioning */
  .nav-dropdown {
    position: static;
    width: 100%;
    margin: 2px 0;
    /* Prevent accidental opening */
    pointer-events: auto;
  }
  
  .dropdown-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: calc(100% - 40px);
    max-width: calc(100vw - 80px);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 18px;
    margin: 12px 20px;
    padding: 20px 24px;
    border: 2px solid transparent;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    font-weight: 600;
    color: #374151;
    font-size: 1.1rem;
    text-decoration: none;
    position: relative;
    min-height: 64px;
    text-align: center;
    backdrop-filter: blur(10px);
  }

  /* Position dropdown icon on the right */
  .dropdown-toggle i {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.85rem;
    color: #64748b;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.8;
  }

  .dropdown-toggle:hover i {
    color: #374151;
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
  }
  
  .dropdown-toggle:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    color: #1e293b;
    transform: translateX(6px) translateY(-2px);
    border-color: #e2e8f0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  }
  
  .dropdown-toggle i {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
    color: #64748b;
    padding: 6px;
    border-radius: 6px;
    background: #f1f5f9;
  }
  
  /* Mobile Dropdown Toggle - Clean Design */
  .dropdown-toggle {
    color: #374151 !important;
    font-size: 1.1rem !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .nav-dropdown.active .dropdown-toggle {
    border-color: var(--primary-color) !important;
    background: linear-gradient(
      135deg,
      var(--primary-color),
      var(--accent-color)
    ) !important;
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
    box-shadow: 0 12px 40px rgba(0, 168, 232, 0.35);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-color: transparent;
    transform: translateX(0) scale(1.03);
    margin-bottom: 0;
    z-index: 10;
    position: relative;
    font-weight: 700;
    backdrop-filter: blur(20px);
  }
  
  .nav-dropdown.active .dropdown-toggle i {
    transform: rotate(180deg);
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
  }

  .nav-dropdown.active .dropdown-toggle * {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
  }

  /* Ensure text content is visible */
  .dropdown-toggle span,
  .dropdown-toggle .dropdown-text {
    display: inline-block !important;
    flex: 1 !important;
    text-align: left !important;
  }

  /* Force text content to be visible - Remove any hiding styles */
  .dropdown-toggle {
    visibility: visible !important;
    opacity: 1 !important;
    display: flex !important;
  }

  .dropdown-toggle * {
    visibility: visible !important;
    opacity: 1 !important;
    display: inline !important;
  }

  /* Force text visibility - Mobile specific */
  @media (max-width: 768px) {
    .dropdown-toggle {
      color: #374151 !important;
      font-size: 1.1rem !important;
      font-weight: 600 !important;
    }
    
    .nav-dropdown.active .dropdown-toggle {
      color: #ffffff !important;
      font-size: 1.1rem !important;
      font-weight: 600 !important;
      background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--accent-color)
      ) !important;
      text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
    }

    .nav-dropdown.active .dropdown-toggle * {
      color: #ffffff !important;
      text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
    }

    /* Remove any pseudo-elements that might hide text */
    .dropdown-toggle::before,
    .dropdown-toggle::after {
      display: none !important;
    }

    /* Force text to be visible with maximum specificity */
    .site-nav .nav-dropdown .dropdown-toggle {
      color: #374151 !important;
      font-size: 1.1rem !important;
      font-weight: 600 !important;
      display: flex !important;
      align-items: center !important;
      justify-content: flex-start !important;
      text-align: left !important;
      position: relative !important;
    }

    /* Center the text and position icon on the right */
    .site-nav .nav-dropdown .dropdown-toggle i {
      position: absolute !important;
      right: 20px !important;
      top: 50% !important;
      transform: translateY(-50%) !important;
    }

    .site-nav .nav-dropdown.active .dropdown-toggle {
      color: #ffffff !important;
      background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--accent-color)
      ) !important;
      text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
    }

    /* Ensure original text is visible */
    .site-nav .nav-dropdown .dropdown-toggle {
      text-indent: 0 !important;
      line-height: 1.2 !important;
    }

    .site-nav .nav-dropdown .dropdown-toggle * {
      color: inherit !important;
      text-shadow: inherit !important;
    }
  }
  
  /* Professional Dropdown Menu - Perfectly Centered */
  .dropdown-menu {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 16px;
    margin: 0 20px 12px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 2px solid #e2e8f0;
    padding: 0;
    position: static;
    width: calc(100% - 40px);
    max-width: calc(100vw - 80px);
    transform: scaleY(0) translateY(-5px);
    transform-origin: top;
  }
  
  .nav-dropdown.active .dropdown-menu {
    max-height: 600px;
    opacity: 1;
    visibility: visible;
    padding: 16px 0 20px 0;
    margin-bottom: 16px;
    transform: scaleY(1) translateY(0);
  }

  /* Add a subtle header to dropdown menus */
  .dropdown-menu::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    opacity: 0.6;
  }

  /* Ensure dropdowns only open on explicit click, not hover */
  .nav-dropdown:not(.active) .dropdown-menu {
    max-height: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: scaleY(0) !important;
  }
  
  /* Perfect connection - no gaps */
  .nav-dropdown.active .dropdown-toggle {
    margin-bottom: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-color: transparent;
  }
  
  .nav-dropdown.active .dropdown-menu {
    margin-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
  
  /* Professional spacing */
  .nav-dropdown {
    margin-bottom: 8px;
  }

  /* Better spacing between navigation sections */
  .site-nav > * {
    margin-bottom: 4px;
  }

  .site-nav > *:last-child {
    margin-bottom: 0;
  }
  
  .nav-dropdown.active {
    margin-bottom: 0;
  }
  
  .dropdown-item {
    padding: 16px 20px 16px 45px;
    font-size: 1rem;
    color: #374151 !important;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
    text-decoration: none;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
    margin: 0 12px 6px 12px;
    border-radius: 16px;
    text-align: left;
    opacity: 0;
    transform: translateY(-6px);
    animation: slideInDropdown 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94)
      forwards;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    width: calc(100% - 24px);
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
  }

  /* Keep dropdown items with dark text for readability on mobile */

  /* Staggered animation for dropdown items */
  .dropdown-item:nth-child(1) {
    animation-delay: 0.05s;
  }
  .dropdown-item:nth-child(2) {
    animation-delay: 0.08s;
  }
  .dropdown-item:nth-child(3) {
    animation-delay: 0.11s;
  }
  .dropdown-item:nth-child(4) {
    animation-delay: 0.14s;
  }
  .dropdown-item:nth-child(5) {
    animation-delay: 0.17s;
  }
  .dropdown-item:nth-child(6) {
    animation-delay: 0.2s;
  }
  .dropdown-item:nth-child(7) {
    animation-delay: 0.23s;
  }
  .dropdown-item:nth-child(8) {
    animation-delay: 0.26s;
  }
  .dropdown-item:nth-child(9) {
    animation-delay: 0.29s;
  }
  .dropdown-item:nth-child(10) {
    animation-delay: 0.32s;
  }
  .dropdown-item:nth-child(11) {
    animation-delay: 0.35s;
  }
  .dropdown-item:nth-child(12) {
    animation-delay: 0.38s;
  }

  @keyframes slideInDropdown {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .dropdown-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }
  
  .dropdown-item::before {
    content: "●";
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 0.8rem;
    transition: all 0.3s ease;
    opacity: 0.7;
  }
  
  .dropdown-item:hover {
    background: linear-gradient(135deg, #ff6b35, #f7931e) !important;
    color: #ffffff !important;
    padding-left: 48px;
    transform: translateX(6px) translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    border-color: #ff6b35 !important;
  }
  
  .dropdown-item:hover * {
    color: #ffffff !important;
  }
  
  /* Additional specificity for mobile dropdown items */
  @media (max-width: 768px) {
    .dropdown-item:hover,
    .dropdown-item:hover span,
    .dropdown-item:hover * {
      color: #ffffff !important;
    }
    
    .dropdown-item:active,
    .dropdown-item:active span,
    .dropdown-item:active * {
      color: #ffffff !important;
    }
  }
  
  /* Maximum specificity rule for dropdown items */
  .site-nav .nav-dropdown .dropdown-menu .dropdown-item:hover {
    color: #ffffff !important;
  }
  
  .site-nav .nav-dropdown .dropdown-menu .dropdown-item:hover * {
    color: #ffffff !important;
  }
  
  .site-nav .nav-dropdown .dropdown-menu .dropdown-item:active {
    color: #ffffff !important;
  }
  
  .site-nav .nav-dropdown .dropdown-menu .dropdown-item:active * {
    color: #ffffff !important;
  }
  
  /* Force white text with even higher specificity */
  .site-nav .nav-dropdown.active .dropdown-menu .dropdown-item:hover,
  .site-nav .nav-dropdown.active .dropdown-menu a.dropdown-item:hover {
    color: #ffffff !important;
    background: linear-gradient(
      135deg,
      var(--primary-color),
      var(--accent-color)
    ) !important;
  }
  
  .site-nav .nav-dropdown.active .dropdown-menu .dropdown-item:active,
  .site-nav .nav-dropdown.active .dropdown-menu a.dropdown-item:active {
    color: #ffffff !important;
    background: linear-gradient(
      135deg,
      var(--primary-color),
      var(--accent-color)
    ) !important;
  }
  
  .dropdown-item:hover::before {
    color: #ffffff !important;
    opacity: 1;
    transform: translateY(-50%) scale(1.2);
  }
  
  .dropdown-item:active {
    background: linear-gradient(
      135deg,
      var(--primary-color),
      var(--accent-color)
    ) !important;
    color: #ffffff !important;
    transform: translateX(2px);
  }
  
  .dropdown-item:active * {
    color: #ffffff !important;
  }
  
  /* Force white text on hover - Mobile Specific */
  .nav-dropdown.active .dropdown-item:hover,
  .nav-dropdown.active .dropdown-item:hover span,
  .nav-dropdown.active .dropdown-item:hover * {
    color: #ffffff !important;
  }
  
  .nav-dropdown.active .dropdown-item:active,
  .nav-dropdown.active .dropdown-item:active span,
  .nav-dropdown.active .dropdown-item:active * {
    color: #ffffff !important;
  }
  
  /* Mobile dropdown items - Force white text when active */
  @media (max-width: 768px) {
    .nav-dropdown.active .dropdown-menu .dropdown-item:hover {
      color: #ffffff !important;
      background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--accent-color)
      ) !important;
    }
    
    .nav-dropdown.active .dropdown-menu a.dropdown-item:hover {
      color: #ffffff !important;
      background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--accent-color)
      ) !important;
    }
  }
  
  .header-burger {
    display: flex;
    z-index: 1000;
  }
  
  /* Mobile Navigation Close Button */
  .mobile-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: var(--primary-color);
    border: 2px solid var(--white);
    border-radius: 50%;
    color: #ffffff !important;
    font-size: 1.8rem;
    font-weight: 600;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    z-index: 1001;
  }
  
  .mobile-close:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
  }
  
  .mobile-close:active {
    transform: scale(0.95);
  }
  
  /* Show close button only when mobile menu is open */
  .site-nav.open .mobile-close {
    display: flex;
  }
  
  /* Mobile close button positioning fix */
  .site-nav {
    position: relative;
  }
  
  .mobile-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1001;
  }
  
  @media (max-width: 768px) {
    .mobile-close {
      display: none; /* Hidden by default on mobile */
    }
  }
}

  @media (max-width: 480px) {
  .header-container {
    padding: 0 12px;
  }
  
  .logo-icon {
    width: 36px;
    height: 36px;
  }
  
  .logo-letter {
    font-size: 1.2rem;
  }
  
  .site-nav-link {
    font-size: 1rem;
    padding: 14px 0;
  }
  
  /* Ensure mobile navigation works on all pages */
  .site-nav {
    position: fixed;
    left: -100vw;
    top: 70px;
    width: 100vw;
    height: calc(100vh - 70px);
    z-index: 999;
  }
  
  .site-nav.open {
    left: 0;
  }
  
  .header-burger {
    order: 3;
    margin-left: auto;
  }
  
  /* Ensure proper container framing on mobile */
  .container {
    padding: 0 16px;
  }
  
  .services-hero-content,
  .section-header {
    padding: 0 10px;
  }
}

/* Blogs Page Styles */
.blogs-hero {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
    color: var(--white);
    padding: 8rem 0 4rem;
    text-align: center;
}

.blogs-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.blogs-hero-content p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

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

.hero-stats .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hero-stats .stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Blog Categories */
.blog-categories {
    padding: 3rem 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
}

.categories-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.category-btn {
    padding: 12px 24px;
    border: 2px solid var(--gray-200);
    background: var(--white);
    color: var(--gray-600);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
}

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

/* Featured Blog */
.featured-blog {
    padding: 6rem 0;
    background: var(--gray-50);
}

.featured-blog-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
}

.featured-blog-image {
    position: relative;
    overflow: hidden;
}

.featured-blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-blog-card:hover .featured-blog-img {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 20px;
}

.featured-category {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.featured-blog-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.featured-blog-content h2 {
    font-size: 1.8rem;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.featured-blog-content p {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.blog-meta span {
    font-size: 0.9rem;
    color: var(--gray-500);
}

.blog-category {
    background: var(--light-blue);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 15px;
    font-weight: 500;
}

.read-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.featured-blog-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.author-info h4 {
    color: var(--gray-900);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.author-info span {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.featured-blog-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.social-share {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-share span {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.share-btn {
    width: 35px;
    height: 35px;
    background: var(--gray-100);
    color: var(--gray-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* All Blogs Grid */
.all-blogs {
    padding: 6rem 0;
    background: var(--white);
}

.blogs-grid-large {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 24px;
    margin-bottom: 4rem;
}

.blog-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
}

.blog-card:hover {
  transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.blog-image {
  height: 180px;
    position: relative;
    overflow: hidden;
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-img {
    transform: scale(1.1);
}

.blog-date {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.8rem;
    border-radius: 12px;
    text-align: center;
    min-width: 60px;
}

.date-day {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
}

.date-month {
    display: block;
    font-size: 0.8rem;
    opacity: 0.9;
    text-transform: uppercase;
}

.blog-category-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--light-blue);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-content h3 {
    font-size: 1.3rem;
    color: var(--gray-900);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-content p {
    color: var(--gray-600);
  line-height: 1.5;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--gray-200);
    flex-wrap: wrap;
    gap: 0.5rem;
}

.blog-author {
    color: var(--primary-color);
    font-weight: 500;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
  gap: 0.4rem;
    transition: all 0.3s ease;
  font-size: 0.9rem;
  margin-top: auto;
}

.read-more:hover {
    color: var(--primary-dark);
    gap: 0.8rem;
}

/* Load More Section */
.load-more-section {
    text-align: center;
}

.load-more-btn {
    padding: 16px 32px;
    font-size: 1.1rem;
    min-width: 200px;
}

/* Newsletter */
.newsletter {
    padding: 6rem 0;
    background: var(--gray-50);
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.newsletter-icon i {
    font-size: 2rem;
    color: var(--white);
}

.newsletter-content h3 {
    font-size: 2rem;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.newsletter-content p {
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.newsletter-form .form-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input {
    flex: 1;
    min-width: 300px;
    padding: 16px 20px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.newsletter-form .btn {
    padding: 16px 32px;
    font-size: 1rem;
    min-width: 150px;
}

.newsletter-note {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive Design for Blogs */
@media (max-width: 1024px) {
    .featured-blog-card {
        grid-template-columns: 1fr;
    }
    
    .featured-blog-content {
        padding: 2rem;
    }
    
    .blogs-grid-large {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .blogs-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .categories-filter {
        gap: 0.5rem;
    }
    
    .category-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .featured-blog-content h2 {
        font-size: 1.5rem;
    }
    
    .newsletter-form .form-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .newsletter-form input {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .blogs-hero-content h1 {
        font-size: 2rem;
    }
    
    .featured-blog-content {
        padding: 1.5rem;
    }
    
    .blog-content {
        padding: 1.5rem;
    }
    
    .blogs-grid-large {
        grid-template-columns: 1fr;
    }
}

/* Blog Date Badge */
.blog-date-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.blog-date-badge .date-day {
    display: block;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.blog-date-badge .date-month {
    display: block;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    margin-top: 2px;
}

/* Ensure blog-image has relative positioning for absolute badge positioning */
.blog-image {
    position: relative;
    overflow: hidden;
}

/* Floating Action Buttons */
.floating-actions {
    position: fixed;
    bottom: 100px;
    z-index: 9999;
    pointer-events: none;
    display: block !important;
    visibility: visible !important;
}

.whatsapp-btn,
.back-to-top-btn {
    position: fixed;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 24px;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    pointer-events: auto;
    opacity: 0;
    visibility: hidden;
}

.whatsapp-btn:hover,
.back-to-top-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* WhatsApp Button (Left Side) */
.whatsapp-btn {
    position: fixed;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 24px;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    pointer-events: auto;
    left: 30px;
    bottom: 100px;
  background: #25d366;
    opacity: 1;
    visibility: visible;
}

.whatsapp-btn:hover {
  background: #128c7e;
    color: white;
}

/* Back to Top Button (Right Side) */
.back-to-top-btn {
    right: 30px;
    bottom: 100px;
    background: var(--primary-color);
}

.back-to-top-btn:hover {
    background: var(--primary-dark);
    color: white;
}

.back-to-top-btn.show {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .whatsapp-btn {
        left: 20px;
        bottom: 80px;
    }
    
    .back-to-top-btn {
        right: 20px;
        bottom: 80px;
    }
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 3rem 0;
}

.page-btn {
    padding: 12px 18px;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 50px;
    justify-content: center;
}

.page-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.page-btn.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.page-btn.active:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.page-btn.next {
    background: var(--primary-color);
    color: white;
    padding: 12px 20px;
}

.page-btn.next:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.page-btn.next i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.page-btn.next:hover i {
    transform: translateX(3px);
}

/* Responsive pagination */
@media (max-width: 768px) {
    .pagination {
        gap: 8px;
        margin: 2rem 0;
    }
    
    .page-btn {
        padding: 10px 14px;
        font-size: 14px;
        min-width: 40px;
    }
    
    .page-btn.next {
        padding: 10px 16px;
    }
}

/* Logo Image Styles */
.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    margin-right: 15px;
}

/* Responsive logo */
@media (max-width: 768px) {
    .logo-img {
        height: 40px;
        margin-right: 12px;
    }
}

/* ===== Modern Treatment Pages ===== */
.treatment-hero {
  background: linear-gradient(135deg, var(--primary-lighter) 0%, #ffffff 100%);
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.treatment-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%230ea5e9" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
  opacity: 0.3;
}

.treatment-hero .container {
  position: relative;
  z-index: 2;
}

.breadcrumb-enhanced {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out;
}

.breadcrumb-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(14, 165, 233, 0.1);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 25px;
  transition: all 0.3s ease;
  border: 1px solid rgba(14, 165, 233, 0.2);
}

.breadcrumb-link:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.3);
}

.breadcrumb-separator {
  color: #64748b;
  font-size: 0.8rem;
}

.breadcrumb-current {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(
    135deg,
    var(--secondary-color),
    var(--primary-color)
  );
  color: white;
  border-radius: 25px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.25rem;
  color: #64748b;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 2rem;
}

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

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: gray;
  font-weight: 500;
}

.stat-numbers {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.stat-labels {
  font-size: 0.9rem;
  color: white;
  font-weight: 500;
}

.treatment-layout {
  padding: 4rem 0 6rem;
}

.treatment-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

.treatment-content {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.treatment-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
}

.content-header {
  margin-bottom: 2rem;
}

.content-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.content-header p {
  font-size: 1.1rem;
  color: #64748b;
  line-height: 1.6;
}

.treatment-section {
  margin-bottom: 3rem;
}

.treatment-section h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.treatment-section h3 i {
  color: var(--primary-color);
  font-size: 1.3rem;
}

.treatment-grid-small {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.treatment-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.treatment-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.card-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.card-icon i {
  color: white;
  font-size: 1.2rem;
}

.treatment-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.treatment-card p {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.5;
}

.treatment-options {
  display: grid;
  gap: 1.5rem;
}

.option-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.option-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.option-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.option-header i {
  color: var(--primary-color);
  font-size: 1.2rem;
}

.option-header h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--secondary-color);
}

.option-card p {
  color: #64748b;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.option-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.option-card li {
  padding: 0.25rem 0;
  color: #64748b;
  position: relative;
  padding-left: 1.5rem;
}

.option-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: 600;
}

.follow-up-grid {
  display: grid;
  gap: 1rem;
}

.follow-up-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

.follow-up-item i {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-top: 0.25rem;
}

.follow-up-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.follow-up-item p {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.5;
}

.treatment-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}

.side-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.side-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
}

.side-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.side-card h3 i {
  color: var(--primary-color);
}

.side-card p {
  color: #64748b;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.side-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.side-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f1f5f9;
}

.side-list li:last-child {
  border-bottom: none;
}

.side-list a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
}

.side-list a:hover {
  color: var(--primary-color);
}

.side-list i {
  color: var(--primary-color);
  width: 16px;
}

.emergency-card {
  background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
  border: 1px solid #fecaca;
}

.emergency-card h3 {
  color: #dc2626;
}

.emergency-card h3 i {
  color: #dc2626;
}

.emergency-btn {
  background: linear-gradient(135deg, #dc2626, #ef4444);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.emergency-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .treatment-hero {
    padding: 6rem 0 3rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .treatment-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .treatment-content {
    padding: 1.5rem;
  }

  .treatment-grid-small {
    grid-template-columns: 1fr;
  }

  .breadcrumb-enhanced {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* ===== Enhanced Treatment/Service Layouts ===== */
.section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1rem 0 1.5rem;
}
.section-nav a {
  padding: 0.55rem 0.9rem;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  color: #334155;
  background: #fff;
  transition: 0.2s;
  font-weight: 500;
}
.section-nav a:hover {
  background: #0ea5e9;
  color: #fff;
  border-color: #0ea5e9;
}

.content-section { 
  padding: 1.25rem 1.25rem;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #ffffff;
  margin: 1rem 0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}
.content-section h2 {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
}
.content-section p {
  color: #475569;
  line-height: 1.75;
}

/* Alternating accent for consecutive blocks */
.content-section:nth-of-type(2n) {
  background: linear-gradient(180deg, #f8fafc, #ffffff);
}
.content-section.section-accent {
  background: #f0f9ff;
  border-color: #bae6fd;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 0.75rem;
}
@media (max-width: 768px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
}

.info-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1rem 1.1rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.info-card i {
  color: #0ea5e9;
  font-size: 1.05rem;
  margin-top: 0.25rem;
}
.info-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}
.info-card p,
.info-card ul {
  margin: 0;
  color: #475569;
}
.info-card ul {
  padding-left: 1.1rem;
}

/* FAQ */
.faq {
  margin-top: 1rem;
}
.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  margin-bottom: 0.8rem;
}
.faq-question {
  padding: 1rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 600;
  color: #0f172a;
}
.faq-answer {
  padding: 0 1.1rem 1rem;
  display: none;
  color: #475569;
}
.faq-item.active .faq-answer {
  display: block;
}
.faq-item.active .faq-question {
  background: #f0f9ff;
}

/* Why Choose Us enhanced */
.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.why-list li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  padding: 0.45rem 0;
  color: #334155;
}
.why-list i {
  color: #14b8a6;
  margin-top: 0.15rem;
}

/* Polished Treatment Aesthetic */
.treatment-hero {
  position: relative;
  overflow: hidden;
}
.treatment-hero .container {
  position: relative;
  z-index: 2;
}
.treatment-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      1200px 400px at -10% -20%,
      rgba(14, 165, 233, 0.18),
      transparent 60%
    ),
    radial-gradient(
      800px 300px at 110% 0%,
      rgba(20, 184, 166, 0.18),
      transparent 60%
    );
  pointer-events: none;
}

.treatment-content {
  position: relative;
}
.treatment-content::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(
    140deg,
    rgba(14, 165, 233, 0.35),
    rgba(20, 184, 166, 0.25)
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.side-card {
  position: relative;
}
.side-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(
    140deg,
    rgba(14, 165, 233, 0.25),
    rgba(20, 184, 166, 0.2)
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.service-cta .btn {
  box-shadow: 0 8px 18px rgba(2, 132, 199, 0.15);
}
.service-cta .btn.btn-outline {
  border-color: #0ea5e9;
  color: #0ea5e9;
}
.service-cta .btn.btn-outline:hover {
  background: #0ea5e9;
  color: #fff;
}

.faq-question i {
  transition: transform 0.25s ease;
}
.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

/* Enhanced Treatment Page Design */
.treatment-hero {
  background: linear-gradient(
    135deg,
    #f0fbff 0%,
    #e0f2fe 30%,
    #f1f5f9 70%,
    #f8fafc 100%
  );
    color: #1e293b;
    padding: 10rem 0 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.treatment-hero::before {
  content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ff6b35" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%230ea5e9" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%2314b8a6" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="%23f7931e" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.treatment-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease-out;
}

.treatment-hero p {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 3rem;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Enhanced Treatment Layout Container */
.treatment-layout {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.treatment-layout::before {
  content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ff6b35" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
    animation: float 30s ease-in-out infinite;
}

.treatment-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

@media (max-width: 1024px) {
    .treatment-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Enhanced Treatment Content */
.treatment-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 24px;
    padding: 3.5rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.treatment-content::before {
  content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #ff6b35, #f7931e, #0ea5e9, #14b8a6);
    border-radius: 20px;
    padding: 2px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
}

.treatment-content h2 {
    color: #1e293b;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.treatment-content h3 {
    color: #374151;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
    position: relative;
    z-index: 2;
}

.treatment-content p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.treatment-content ul {
    position: relative;
    z-index: 2;
}

.treatment-content ul li {
    color: #64748b;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.treatment-content ul li::before {
  content: "✓";
    position: absolute;
    left: 0;
    color: #14b8a6;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Enhanced Treatment Sidebar */
.treatment-sidebar {
    position: sticky;
    top: 120px;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Enhanced Side Cards */
.side-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(20px);
}

.side-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.side-card::before {
  content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #ff6b35, #f7931e, #0ea5e9, #14b8a6);
    border-radius: 18px;
    padding: 2px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.side-card:hover::before {
    opacity: 1;
}

.side-card h3 {
    color: #1e293b;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.side-list {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 2;
}

.side-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: #64748b;
    font-weight: 500;
    transition: all 0.3s ease;
}

.side-list li:hover {
    color: #1e293b;
    transform: translateX(5px);
}

.side-list i {
    color: #14b8a6;
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

/* Enhanced Buttons */
.service-cta .btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.service-cta .btn::before {
  content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
    transition: left 0.5s;
}

.service-cta .btn:hover::before {
    left: 100%;
}

.service-cta .btn-primary {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border: none;
    color: white;
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
}

.service-cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.4);
}

.service-cta .btn-outline {
    background: transparent;
    border: 2px solid #0ea5e9;
    color: #0ea5e9;
    box-shadow: 0 10px 25px rgba(14, 165, 233, 0.2);
}

.service-cta .btn-outline:hover {
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(14, 165, 233, 0.3);
}

/* Treatment Banner Images */
.treatment-banner {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 3rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    height: 400px;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.treatment-banner:hover .banner-image {
    transform: scale(1.05);
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.2) 100%
  );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.treatment-banner:hover .banner-overlay {
    opacity: 1;
}

.banner-content {
    text-align: center;
    color: white;
    padding: 2rem;
}

.banner-content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-content p {
    font-size: 1.2rem;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Breadcrumb Banner Section */
.breadcrumb-banner {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 200px;
    margin: 2rem 0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.breadcrumb-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    transition: all 0.3s ease;
}

.breadcrumb-banner:hover .breadcrumb-image {
    filter: brightness(0.8);
    transform: scale(1.02);
}

.breadcrumb-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.1) 100%
  );
    display: flex;
    align-items: center;
    justify-content: center;
}

.breadcrumb-overlay .breadcrumb {
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 2rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
}

.breadcrumb-overlay .breadcrumb a {
    color: #ff6b35;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb-overlay .breadcrumb a:hover {
    color: #f7931e;
}

.breadcrumb-overlay .breadcrumb span {
    color: #64748b;
    font-weight: 500;
}

.breadcrumb-overlay .breadcrumb i {
    font-size: 0.9rem;
}

/* Enhanced Section Navigation */
.section-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.section-nav::before {
  content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #ff6b35, #f7931e, #0ea5e9, #14b8a6);
    border-radius: 16px;
    padding: 1px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.section-nav:hover::before {
    opacity: 1;
}

.section-nav a {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: white;
    color: #64748b;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid #e2e8f0;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.section-nav a:hover {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
    border-color: transparent;
}

/* Enhanced FAQ Section */
.faq-item {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #1e293b;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
}

.faq-answer {
    padding: 0 2rem 1.5rem 2rem;
    color: #64748b;
    line-height: 1.6;
    background: white;
}

/* Enhanced Service CTA */
.service-cta {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 2rem;
    border-radius: 20px;
    margin-top: 3rem;
    text-align: center;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.service-cta::before {
  content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #ff6b35, #f7931e, #0ea5e9, #14b8a6);
    border-radius: 20px;
    padding: 1px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-cta:hover::before {
    opacity: 1;
}

/* ===== COMPREHENSIVE MOBILE RESPONSIVE ENHANCEMENTS ===== */

/* Enhanced Mobile Responsive Design for Treatment Pages */
@media (max-width: 1024px) {
    /* Treatment pages responsive adjustments */
    .treatment-hero h1 {
        font-size: 3rem;
    }
    
    .treatment-hero p {
        font-size: 1.1rem;
    }
    
    .treatment-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Dropdown optimizations for tablets */
    .nav-dropdown .dropdown-menu {
        max-height: 50vh;
        overflow-y: auto;
    }
}

@media (max-width: 768px) {
    /* Enhanced Treatment Pages Mobile Styles */
    .treatment-hero {
        padding: 6rem 0 4rem;
    }
    
    .treatment-hero h1 {
        font-size: 2.5rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }
    
    .treatment-hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .treatment-layout {
        padding: 2rem 0;
    }
    
    .treatment-content {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
    
    .treatment-content h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .treatment-content h3 {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
    }
    
    .treatment-content p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
    
    .treatment-content ul,
    .treatment-content ol {
        padding-left: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .treatment-content li {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 0.5rem;
    }
    
    /* Enhanced breadcrumb styling for mobile */
    .breadcrumb-enhanced {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 2rem;
    }
    
    .breadcrumb-link,
    .breadcrumb-current {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    /* Info cards mobile optimization */
    .info-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .info-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .info-card p,
    .info-card ul {
        font-size: 0.9rem;
    }
    
    /* FAQ mobile optimization */
    .faq-item {
        margin-bottom: 1rem;
    }
    
    .faq-question {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .faq-answer {
        padding: 0 1rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Section navigation mobile optimization */
    .section-nav {
        flex-direction: column;
        gap: 0.75rem;
        margin: 1rem 0;
    }
    
    .section-nav a {
        padding: 1rem;
        text-align: center;
        font-size: 0.9rem;
    }
    
    /* Treatment banners mobile optimization */
    .treatment-banner {
        height: 300px;
        border-radius: 16px;
    }
    
    .breadcrumb-banner {
        height: 150px;
        border-radius: 16px;
    }
    
    /* Side cards mobile optimization */
    .side-card {
        padding: 2rem;
        border-radius: 16px;
        margin-bottom: 2rem;
    }
    
    /* Mobile-optimized dropdown improvements */
    .nav-dropdown .dropdown-menu {
        max-height: 70vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 12px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    }
    
    .dropdown-item {
        padding: 16px 20px 16px 45px;
        font-size: 0.95rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
    }
    
    .dropdown-item:last-child {
        border-bottom: none;
    }
    
    .dropdown-item:hover {
    background: linear-gradient(
      135deg,
      var(--primary-color),
      var(--accent-color)
    );
        color: white;
        transform: translateX(5px);
    }
    
    /* Mobile navigation improvements */
    .site-nav {
    padding: 2rem 1rem 1rem 1rem;
    }
    
    .nav-dropdown {
        margin-bottom: 8px;
    }
    
    .dropdown-toggle {
        padding: 16px 20px;
        font-size: 1.1rem;
        font-weight: 600;
        border-radius: 12px;
        background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
        border: 2px solid #e2e8f0;
        transition: all 0.3s ease;
    }
    
    .nav-dropdown.active .dropdown-toggle {
    background: linear-gradient(
      135deg,
      var(--primary-color),
      var(--accent-color)
    );
        color: white;
        border-color: var(--primary-color);
        box-shadow: 0 8px 25px rgba(0, 168, 232, 0.3);
    }
    
    /* Touch-friendly improvements */
    .btn {
        min-height: 48px;
        padding: 14px 24px;
        font-size: 1rem;
        border-radius: 12px;
    }
    
    .site-cta {
        padding: 14px 24px;
        font-size: 1rem;
        min-height: 48px;
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    /* Extra small mobile optimizations */
    .container {
        padding: 0 16px;
    }
    
    .treatment-hero {
        padding: 5rem 0 3rem;
    }
    
    .treatment-hero h1 {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .treatment-hero p {
        font-size: 0.95rem;
    }
    
    .treatment-content {
        padding: 1.5rem 1rem;
    }
    
    .treatment-content h2 {
        font-size: 1.6rem;
    }
    
    .treatment-content h3 {
        font-size: 1.3rem;
    }
    
    .treatment-content p {
        font-size: 0.9rem;
    }
    
    .treatment-content li {
        font-size: 0.9rem;
    }
    
    /* Breadcrumb mobile optimization */
    .breadcrumb-enhanced {
        margin-bottom: 1.5rem;
    }
    
    .breadcrumb-link,
    .breadcrumb-current {
        padding: 0.3rem 0.6rem;
        font-size: 0.85rem;
    }
    
    /* Info cards small mobile optimization */
    .info-card {
        padding: 0.8rem;
    }
    
    .info-card h3 {
        font-size: 1rem;
    }
    
    .info-card p,
    .info-card ul {
        font-size: 0.85rem;
    }
    
    /* FAQ small mobile optimization */
    .faq-question {
        padding: 0.8rem;
        font-size: 0.95rem;
    }
    
    .faq-answer {
        padding: 0 0.8rem 0.8rem;
        font-size: 0.85rem;
    }
    
    /* Section navigation small mobile */
    .section-nav a {
        padding: 0.8rem;
        font-size: 0.85rem;
    }
    
    /* Treatment banners small mobile */
    .treatment-banner {
        height: 250px;
    }
    
    .breadcrumb-banner {
        height: 120px;
    }
    
    /* Side cards small mobile */
    .side-card {
        padding: 1.5rem;
    }
    
    /* Mobile dropdown optimizations for small screens */
    .nav-dropdown .dropdown-menu {
        max-height: 60vh;
        border-radius: 10px;
    }
    
    .dropdown-item {
        padding: 14px 16px 14px 40px;
        font-size: 0.9rem;
    }
    
    /* Touch-friendly buttons for small screens */
    .btn {
        min-height: 44px;
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    .site-cta {
        padding: 12px 20px;
        font-size: 0.9rem;
        min-height: 44px;
    }
    
    /* Mobile navigation small screen optimization */
    .site-nav {
    padding: 1.5rem 0.8rem 1rem 0.8rem;
    }
    
    .dropdown-toggle {
        padding: 14px 16px;
        font-size: 1rem;
    }
}

/* ===== MOBILE DROPDOWN ENHANCEMENTS ===== */
@media (max-width: 768px) {
    /* Enhanced mobile dropdown functionality */
    .nav-dropdown {
        position: static;
        width: 100%;
        margin: 4px 0;
    }
    
    .dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 16px 20px;
        background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
        border: 2px solid #e2e8f0;
        border-radius: 12px;
        color: #374151;
        font-size: 1.1rem;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s ease;
        position: relative;
    }
    
    .dropdown-toggle:hover {
        background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
        border-color: #cbd5e1;
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }
    
    .dropdown-toggle i {
        font-size: 0.9rem;
        transition: transform 0.3s ease;
        color: #64748b;
    }
    
    .nav-dropdown.active .dropdown-toggle {
    background: linear-gradient(
      135deg,
      var(--primary-color),
      var(--accent-color)
    );
        color: white;
        border-color: var(--primary-color);
        box-shadow: 0 12px 40px rgba(0, 168, 232, 0.35);
    }
    
    .nav-dropdown.active .dropdown-toggle i {
        transform: rotate(180deg);
        color: white;
    }
    
    .dropdown-menu {
        position: static;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        background: white;
        border: 2px solid #e2e8f0;
        border-top: none;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        margin-top: 0;
    }
    
    .nav-dropdown.active .dropdown-menu {
        max-height: 70vh;
        opacity: 1;
        visibility: visible;
        padding: 16px 0;
        margin-top: -2px;
    }
    
    .dropdown-item {
        display: block;
        padding: 16px 20px 16px 45px;
        color: #374151;
        text-decoration: none;
        font-size: 0.95rem;
        font-weight: 500;
        border-bottom: 1px solid #f1f5f9;
        transition: all 0.3s ease;
        position: relative;
    }
    
    .dropdown-item:last-child {
        border-bottom: none;
    }
    
    .dropdown-item:hover {
    background: linear-gradient(
      135deg,
      var(--primary-color),
      var(--accent-color)
    );
        color: white;
        transform: translateX(8px);
        padding-left: 50px;
    }
    
    .dropdown-item:active {
        transform: translateX(5px) scale(0.98);
    }
    
    /* Add visual indicators for dropdown items */
    .dropdown-item::before {
    content: "→";
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--primary-color);
        font-weight: bold;
        transition: all 0.3s ease;
    }
    
    .dropdown-item:hover::before {
        color: white;
        transform: translateY(-50%) translateX(3px);
    }
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */
@media (max-width: 768px) {
    /* Focus states for better accessibility */
    .dropdown-toggle:focus {
        outline: 3px solid rgba(0, 168, 232, 0.3);
        outline-offset: 2px;
    }
    
    .dropdown-item:focus {
        outline: 2px solid rgba(0, 168, 232, 0.5);
        outline-offset: -2px;
    }
    
    /* High contrast mode support */
    @media (prefers-contrast: high) {
        .dropdown-toggle {
            border-width: 3px;
        }
        
        .dropdown-item {
            border-bottom-width: 2px;
        }
    }
    
    /* Reduced motion support */
    @media (prefers-reduced-motion: reduce) {
        .dropdown-toggle,
        .dropdown-item,
        .dropdown-menu {
            transition: none;
        }
    }
}

/* ===== ENHANCED BLOG CARD DESIGN ===== */
.blog-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.blog-card:hover::before {
  opacity: 1;
}

.blog-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 60px rgba(14, 165, 233, 0.15) !important;
  border-color: rgba(14, 165, 233, 0.2) !important;
}

.blog-image {
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.blog-img {
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-img {
  transform: scale(1.08) !important;
}

/* Enhanced Blog Date Badge */
.blog-date-badge {
  background: rgba(14, 165, 233, 0.95) !important;
  backdrop-filter: blur(10px);
  border-radius: 12px !important;
  padding: 8px 12px !important;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.date-day {
  font-size: 1.1rem !important;
  font-weight: 700 !important;
}

.date-month {
  font-size: 0.7rem !important;
  font-weight: 600 !important;
}

/* Enhanced Blog Content */
.blog-content h3 {
  color: #1e293b !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
}

.blog-content p {
  color: #64748b !important;
  line-height: 1.6 !important;
}

/* Enhanced Blog Meta */
.blog-meta {
  border-top: 1px solid rgba(14, 165, 233, 0.1) !important;
  padding-top: 12px !important;
}

.blog-author {
  color: #64748b !important;
  font-weight: 500 !important;
}

.blog-category {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  ) !important;
  color: white !important;
  padding: 4px 12px !important;
  border-radius: 20px !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.3);
}

/* Enhanced Read More Button */
.read-more {
  color: var(--primary-color) !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  transition: all 0.3s ease !important;
  position: relative;
}

.read-more::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.read-more:hover::after {
  width: 100%;
}

.read-more:hover {
  color: var(--primary-dark) !important;
  transform: translateX(4px) !important;
}

.read-more i {
  transition: transform 0.3s ease;
}

.read-more:hover i {
  transform: translateX(4px);
}

/* Ensure read more text is visible on filled buttons within blog cards */
.blogs-page .read-more,
.blogs .blog-card .read-more {
  color: #ffffff !important;
}

/* ===== FOOTER BOTTOM WITH MEDDYLIST ===== */
.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.developed-by {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.developed-text {
  color: var(--gray-500);
  font-size: 1.9rem;
  font-weight: 500;
}

.meddylist-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--gray-600);
  transition: all 0.3s ease;
  padding: 0.6rem;
  border-radius: 8px;
}

.meddylist-logo .logo-img {
  width: 150px;
  height: 100px;
  object-fit: contain;
}

/* Responsive Footer Bottom */
@media (max-width: 768px) {
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .developed-by {
    justify-content: center;
  }
}

/* =======================
   Contact Page Styles (migrated from contact.html)
   ======================= */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.contact-hero {
  background: linear-gradient(135deg, #0ea5e9 0%, #14b8a6 100%);
  color: #fff;
  padding: 8rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
  opacity: 0.3;
}
.contact-hero-content {
  position: relative;
  z-index: 2;
  animation: fadeUp 0.8s ease both;
}
.contact-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.contact-hero p {
  font-size: 1.3rem;
  opacity: 0.95;
  font-weight: 400;
}
.doctor-hospital-info {
  background: linear-gradient(135deg, #0ea5e9 0%, #14b8a6 100%);
  padding: 4rem 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.doctor-hospital-info::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
  opacity: 0.2;
}
.info-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
  animation: fadeIn 0.9s ease both;
}
.contact-highlight {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: fadeUp 0.8s ease both;
}
.contact-icon-large {
  width: 80px;
  height: 80px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0ea5e9;
  font-size: 2rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}
.contact-details h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: #fff;
  font-weight: 600;
  opacity: 0.9;
}
.phone-number {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.doctor-profile {
  background: #fff;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 2.5rem;
  position: relative;
  animation: fadeUp 0.85s ease both;
}
.doctor-profile::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, #0ea5e9, #14b8a6);
  border-radius: 22px;
  z-index: -1;
}
.doctor-info h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #1e293b;
  font-weight: 800;
  line-height: 1.2;
}
.qualifications p {
  margin-bottom: 0.8rem;
  color: #475569;
  font-weight: 500;
  font-size: 1rem;
}
.qualifications p:last-child {
  color: #0ea5e9;
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: 1rem;
}
.profile-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #0ea5e9;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}
.hospital-info {
  text-align: center;
  padding-top: 3rem;
  border-top: 2px solid rgba(255, 255, 255, 0.3);
  position: relative;
  z-index: 2;
}
.hospital-info h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.hospital-info p {
  color: #fff;
  opacity: 0.9;
  font-size: 1.1rem;
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
}
.contact-info {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}
.contact-card {
  background: #fff;
  padding: 3rem 2.5rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  animation: fadeUp 0.7s ease both;
}
.contact-card:nth-child(1) {
  animation-delay: 0.05s;
}
.contact-card:nth-child(2) {
  animation-delay: 0.15s;
}
.contact-card:nth-child(3) {
  animation-delay: 0.25s;
}
.contact-card:nth-child(4) {
  animation-delay: 0.35s;
}
.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #0ea5e9, #14b8a6);
}
.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
  border-color: #0ea5e9;
}
.contact-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #e0f2fe, #f0f9ff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  transition: all 0.3s ease;
}
.contact-card:hover .contact-icon {
  background: linear-gradient(135deg, #0ea5e9, #14b8a6);
  transform: scale(1.1);
}
.contact-icon i {
  font-size: 2rem;
  color: #0ea5e9;
  transition: all 0.3s ease;
}
.contact-card:hover .contact-icon i {
  color: #fff;
}
.contact-card h3 {
  color: #1e293b;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  font-weight: 700;
}
.contact-card p {
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 2rem;
  font-size: 1rem;
}
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}
.btn-primary {
  background: linear-gradient(135deg, #0ea5e9, #14b8a6);
  color: #fff;
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.3);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #0369a1, #0f766e);
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(14, 165, 233, 0.4);
}
.btn-secondary {
  background: linear-gradient(135deg, #14b8a6, #0ea5e9);
  color: #fff;
  box-shadow: 0 8px 25px rgba(20, 184, 166, 0.3);
}
.btn-secondary:hover {
  background: linear-gradient(135deg, #0f766e, #0369a1);
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(20, 184, 166, 0.4);
}
.contact-form-map {
  padding: 6rem 0;
  background: #fff;
}
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}
.contact-form-section {
  background: #fff;
  padding: 3.5rem;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
  animation: fadeUp 0.8s ease both;
}
.contact-form-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #0ea5e9, #14b8a6);
}
.form-header h2 {
  color: #1e293b;
  margin-bottom: 1rem;
  font-size: 2rem;
  font-weight: 700;
}
.form-header p {
  color: #64748b;
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.form-group {
  margin-bottom: 2rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.8rem;
  color: #1e293b;
  font-weight: 600;
  font-size: 1rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #f8fafc;
  font-family: "Poppins", sans-serif;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #0ea5e9;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
  transform: translateY(-1px);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-top: 1rem;
}
.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 0.2rem;
}
.checkbox-group label {
  margin-bottom: 0;
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #64748b;
}
.form-submit {
  margin-top: 2rem;
}
.map-section {
  background: #fff;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
  animation: fadeUp 0.9s ease both;
}
.map-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #0ea5e9, #14b8a6);
}
.map-section h3 {
  color: #1e293b;
  margin-bottom: 2rem;
  font-size: 1.6rem;
  font-weight: 700;
}
.map-wrapper {
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
}
.map-wrapper iframe {
  width: 100%;
  height: 350px;
  border: none;
  display: block;
}
.map-info {
  background: #f8fafc;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}
.map-info p {
  color: #64748b;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1rem;
  line-height: 1.5;
}
.map-info p:last-child {
  margin-bottom: 0;
}
.map-info i {
  color: #0ea5e9;
  width: 18px;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.emergency-contact {
  padding: 3.5rem 0;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.emergency-contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
  opacity: 0.2;
}
.emergency-content {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1.25rem;
  max-width: 920px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  animation: fadeUp 0.6s ease both;
}
.emergency-icon i {
  font-size: 4rem;
  color: #fff;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
.emergency-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 800;
}
.emergency-text p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}
.emergency-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: #dc2626;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1rem;
  margin: 0.25rem 0 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}
.emergency-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}
.faq-section {
  padding: 3.5rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
}
.section-header {
  text-align: center;
  margin-bottom: 4rem;
  animation: fadeIn 0.8s ease both;
}
.section-header h2 {
  color: #0f172a;
  font-size: 1.9rem;
  margin-bottom: 0.4rem;
  font-weight: 800;
}
.section-header p {
  color: #64748b;
  font-size: 1.2rem;
}
.faq-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 20px rgba(2, 6, 23, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 0.8rem;
}
.faq-item:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.faq-question {
  padding: 1rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 600;
  color: #0f172a;
}
.faq-question:hover {
  background: #f8fafc;
}
.faq-question h3 {
  color: #1e293b;
  font-size: 1.2rem;
  margin: 0;
  font-weight: 600;
}
.faq-question i {
  color: #0ea5e9;
  transition: transform 0.3s ease;
  font-size: 1.1rem;
}
.faq-answer {
  padding: 2rem;
  background: #f8fafc;
}
.faq-answer p {
  color: #64748b;
  margin: 0;
  line-height: 1.7;
  font-size: 1rem;
}
.floating-actions {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 1000;
}
.whatsapp-btn {
  width: 60px;
  height: 60px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.8rem;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
}
.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6);
}
.back-to-top-btn {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #0ea5e9, #14b8a6);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(14, 165, 233, 0.4);
  transition: all 0.3s ease;
}
.back-to-top-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 40px rgba(14, 165, 233, 0.6);
}

/* Home: Treatments Section */

/* Hero image sizing tweaks */
.hero-image .hero-doctor-img {
  width: 100%;
  max-width: 1200px;
  height: auto;
  object-fit: cover;
}
@media (min-width: 1200px) {
  .hero-image .hero-doctor-img {
    max-width: 1400px;
  }
}
@media (max-width: 1024px) {
  .hero-image .hero-doctor-img {
    max-width: 900px;
    height: auto;
  }
}
@media (max-width: 768px) {
  .hero-image .hero-doctor-img {
    max-width: 600px;
    height: auto;
  }
}
@media (max-width: 480px) {
  .hero-image .hero-doctor-img {
    max-width: 460px;
    height: auto;
  }
}
.treatments {
  padding: 64px 0;
  background: #f8fafc;
}
.treatments .section-header h2 {
  margin-bottom: 6px;
}
.treatments .section-header p {
  color: #64748b;
}
.treatments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 18px;
}
.treatment-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 14px;
  text-decoration: none;
  transition: transform 0.28s ease, box-shadow 0.28s ease,
    border-color 0.28s ease, background 0.28s ease;
  box-shadow: 0 6px 16px rgba(2, 6, 23, 0.06);
  position: relative;
  overflow: hidden;
}
.treatment-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    135deg,
    var(--primary-color, #0ea5e9),
    var(--accent-color, #14b8a6)
  );
  opacity: 0.95;
}
.treatment-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      120px 60px at -20% -20%,
      rgba(14, 165, 233, 0.08),
      transparent 60%
    ),
    radial-gradient(
      120px 60px at 120% 120%,
      rgba(20, 184, 166, 0.08),
      transparent 60%
    );
  opacity: 0;
  transition: opacity 0.3s ease;
}
.treatment-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(2, 6, 23, 0.14);
  border-color: rgba(14, 165, 233, 0.5);
  background: linear-gradient(180deg, #ffffff 0%, #f4fbff 100%);
}
.treatment-card:hover::after {
  opacity: 1;
}
.treatment-card h3 {
  position: relative;
  z-index: 1;
}
.treatment-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(
    0deg,
    rgba(14, 165, 233, 0.06),
    rgba(14, 165, 233, 0.06)
  );
  display: grid;
  place-items: center;
  transition: box-shadow 0.3s ease;
  box-shadow: 0 1px 0 rgba(2, 6, 23, 0.04) inset;
}
.treatment-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.treatment-card:hover .treatment-image {
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.12);
}
.treatment-card:hover .treatment-image img {
  transform: scale(1.06);
}
.treatment-card h3 {
  margin: 0;
  font-size: 1rem;
  color: #0f172a;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.1px;
  transition: color 0.25s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
}
.treatment-card:hover h3 {
  color: var(--primary-color, #0ea5e9);
}
@media (max-width: 768px) {
  .treatments {
    padding: 48px 0;
  }
  .treatments-grid {
    gap: 14px;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}
@media (max-width: 480px) {
  .treatments {
    padding: 40px 0;
  }
  .treatment-card {
    padding: 12px;
  }
  .treatments-grid {
    gap: 12px;
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========================================
   ENHANCED SMOOTH ANIMATIONS
   Available on all pages
======================================== */

/* Keyframe Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0%, 100% { 
    transform: scale(1); 
  }
  50% { 
    transform: scale(1.05); 
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { 
    transform: translateY(0); 
  }
  40% { 
    transform: translateY(-10px); 
  }
  60% { 
    transform: translateY(-5px); 
  }
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* Enhanced Service Cards */
.service-card {
  animation: scaleIn 0.6s ease-out;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 168, 232, 0.1), transparent);
  transition: left 0.6s ease;
  z-index: 1;
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 168, 232, 0.2);
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

/* Enhanced Info Cards */
.info-card {
  animation: slideInLeft 0.8s ease-out;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.info-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 168, 232, 0.1), transparent);
  transition: left 0.8s ease;
}

.info-card:hover::after {
  left: 100%;
}

.info-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 168, 232, 0.15);
}

.info-card:nth-child(1) { animation-delay: 0.2s; }
.info-card:nth-child(2) { animation-delay: 0.4s; }
.info-card:nth-child(3) { animation-delay: 0.6s; }

/* Section Headers */
.section-header {
  animation: slideInLeft 0.8s ease-out;
}

/* FAQ Items */
.faq-item {
  animation: slideInRight 0.6s ease-out;
  transition: all 0.3s ease;
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.4s; }

.faq-item:hover {
  transform: translateX(10px);
}

/* Service Link Hover Effects */
.service-link {
  transition: all 0.3s ease;
}

.service-link:hover {
  transform: translateX(5px);
  color: #0ea5e9;
}

.service-link i {
  transition: transform 0.3s ease;
}

.service-link:hover i {
  transform: translateX(3px);
}

/* Service Image Hover Effects */
.service-image {
  transition: all 0.3s ease;
  overflow: hidden;
  border-radius: 12px;
}

.service-card:hover .service-image {
  transform: scale(1.05);
}

.service-img {
  transition: all 0.3s ease;
}

.service-card:hover .service-img {
  transform: scale(1.1);
}

/* Blog Cards */
.blog-card {
  animation: scaleIn 0.6s ease-out;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.blog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 168, 232, 0.1), transparent);
  transition: left 0.6s ease;
}

.blog-card:hover::before {
  left: 100%;
}

.blog-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 168, 232, 0.15);
}

.blog-card:nth-child(1) { animation-delay: 0.1s; }
.blog-card:nth-child(2) { animation-delay: 0.2s; }
.blog-card:nth-child(3) { animation-delay: 0.3s; }

/* Testimonial Cards */
.testimonial-card {
  animation: fadeInUp 0.8s ease-out;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 168, 232, 0.1), transparent);
  transition: left 0.6s ease;
}

.testimonial-card:hover::before {
  left: 100%;
}

.testimonial-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 168, 232, 0.15);
}

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }

/* Treatment Cards */
.treatment-card {
  animation: scaleIn 0.6s ease-out;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.treatment-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 168, 232, 0.1), transparent);
  transition: left 0.6s ease;
}

.treatment-card:hover::before {
  left: 100%;
}

.treatment-card:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 168, 232, 0.15);
}

/* About Cards */
.about-card {
  animation: fadeInUp 0.8s ease-out;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 168, 232, 0.1), transparent);
  transition: left 0.6s ease;
}

.about-card:hover::before {
  left: 100%;
}

.about-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 168, 232, 0.15);
}

.about-card:nth-child(1) { animation-delay: 0.1s; }
.about-card:nth-child(2) { animation-delay: 0.2s; }
.about-card:nth-child(3) { animation-delay: 0.3s; }

/* CTA Cards */
.cta-card {
  animation: scaleIn 0.8s ease-out;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 168, 232, 0.1), transparent);
  transition: left 0.6s ease;
}

.cta-card:hover::before {
  left: 100%;
}

.cta-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 168, 232, 0.15);
}

.cta-card:nth-child(1) { animation-delay: 0.1s; }
.cta-card:nth-child(2) { animation-delay: 0.2s; }
.cta-card:nth-child(3) { animation-delay: 0.3s; }

/* Hero Section Animations */
.services-hero-content {
  animation: fadeInUp 1s ease-out;
}

.hero-badge {
  animation: bounce 2s infinite;
}

.stat {
  animation: scaleIn 0.8s ease-out;
}

.stat:nth-child(1) { animation-delay: 0.2s; }
.stat:nth-child(2) { animation-delay: 0.4s; }
.stat:nth-child(3) { animation-delay: 0.6s; }

/* Additional Service Cards */
.additional-service-card {
  animation: scaleIn 0.6s ease-out;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.additional-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 168, 232, 0.1), transparent);
  transition: left 0.6s ease;
}

.additional-service-card:hover::before {
  left: 100%;
}

.additional-service-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 168, 232, 0.15);
}

.additional-service-card:nth-child(1) { animation-delay: 0.1s; }
.additional-service-card:nth-child(2) { animation-delay: 0.2s; }
.additional-service-card:nth-child(3) { animation-delay: 0.3s; }
.additional-service-card:nth-child(4) { animation-delay: 0.4s; }
.additional-service-card:nth-child(5) { animation-delay: 0.5s; }
.additional-service-card:nth-child(6) { animation-delay: 0.6s; }

/* Technology Items */
.technology-item {
  animation: fadeInUp 0.8s ease-out;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.technology-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 168, 232, 0.1), transparent);
  transition: left 0.6s ease;
}

.technology-item:hover::before {
  left: 100%;
}

.technology-item:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 168, 232, 0.15);
}

.technology-item:nth-child(1) { animation-delay: 0.1s; }
.technology-item:nth-child(2) { animation-delay: 0.2s; }
.technology-item:nth-child(3) { animation-delay: 0.3s; }
.technology-item:nth-child(4) { animation-delay: 0.4s; }

/* Payment Cards */
.payment-card {
  animation: slideInLeft 0.8s ease-out;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.payment-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 168, 232, 0.1), transparent);
  transition: left 0.6s ease;
}

.payment-card:hover::before {
  left: 100%;
}

.payment-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 168, 232, 0.15);
}

.payment-card:nth-child(1) { animation-delay: 0.1s; }
.payment-card:nth-child(2) { animation-delay: 0.2s; }

/* Utility Classes for Manual Animation */
.animate-fadeInUp {
  animation: fadeInUp 0.8s ease-out;
}

.animate-slideInLeft {
  animation: slideInLeft 0.8s ease-out;
}

.animate-slideInRight {
  animation: slideInRight 0.8s ease-out;
}

.animate-scaleIn {
  animation: scaleIn 0.6s ease-out;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

.animate-bounce {
  animation: bounce 2s infinite;
}

/* Animation Delays */
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }
.animate-delay-6 { animation-delay: 0.6s; }
