/* ============================================
   DENTAL PRACTICE TEMPLATE - MODERN RESPONSIVE CSS
   ============================================ */

/* CSS Variables */
:root {
  --primary: #0d7377;
  --primary-dark: #095557;
  --primary-light: #14a3a8;
  --secondary: #323232;
  --accent: #e8f4f4;
  --white: #ffffff;
  --off-white: #f8fafa;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --text: #1a1a1a;
  --text-light: #525252;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 40px -10px rgba(0,0,0,0.15);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Fixed circle pattern background */
.bg-circles {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background: linear-gradient(145deg, #f8fafa 0%, #ffffff 50%, #f0f7f7 100%);
}

.bg-circles::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -15%;
  width: 60%;
  height: 80%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  opacity: 0.06;
  border-radius: 50%;
  transform: rotate(-15deg);
}

.bg-circles::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -20%;
  width: 70%;
  height: 90%;
  background: linear-gradient(45deg, var(--primary-light) 0%, var(--primary) 100%);
  opacity: 0.05;
  border-radius: 50%;
  transform: rotate(20deg);
}

.bg-circle-1,
.bg-circle-2,
.bg-circle-3 {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.bg-circle-1 {
  top: 30%;
  left: -10%;
  width: 40%;
  height: 50%;
  background: var(--primary);
  opacity: 0.03;
  transform: rotate(-30deg);
}

.bg-circle-2 {
  top: 60%;
  right: -5%;
  width: 35%;
  height: 45%;
  background: linear-gradient(180deg, var(--primary-light) 0%, transparent 100%);
  opacity: 0.04;
}

.bg-circle-3 {
  top: 10%;
  left: 30%;
  width: 25%;
  height: 30%;
  background: var(--primary);
  opacity: 0.02;
  transform: rotate(45deg);
}

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

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

a:hover {
  color: var(--primary-dark);
}

ul, ol {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--secondary);
}

h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.125rem, 2.5vw, 1.5rem); }
h4 { font-size: clamp(1rem, 2vw, 1.25rem); }

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

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

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafa 100%);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.08),
    0 1px 3px rgba(0, 0, 0, 0.05),
    inset 0 -1px 0 rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  border-bottom: 1px solid rgba(13, 115, 119, 0.1);
}

.header.scrolled {
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.12),
    0 2px 6px rgba(0, 0, 0, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px;
  max-width: 1200px;
  margin: 0 auto;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
  text-decoration: none;
}

.logo:hover span {
  color: var(--primary);
}

.logo span {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--secondary);
  letter-spacing: -0.02em;
  line-height: 1.1;
  transition: color 0.2s ease;
}

.logo span::first-letter {
  color: var(--primary);
}

.logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  box-shadow:
    0 8px 16px rgba(13, 115, 119, 0.4),
    0 4px 8px rgba(0, 0, 0, 0.2),
    0 2px 4px rgba(0, 0, 0, 0.1),
    inset 0 2px 4px rgba(255, 255, 255, 0.3),
    inset 0 -2px 4px rgba(0, 0, 0, 0.2);
  background: linear-gradient(145deg, #14a3a8 0%, #0d7377 40%, #085558 100%);
  position: relative;
  transform: translateY(-1px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-icon::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  height: 40%;
  border-radius: 8px 8px 50% 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
  pointer-events: none;
}

.logo-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(255,255,255,0.2) 0%, transparent 40%);
  pointer-events: none;
}

.logo img {
  height: 100%;
  width: auto;
  max-height: 54px;
}

.logo-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--secondary);
  line-height: 1.2;
}

.logo-text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav {
  display: none;
}

.nav ul {
  display: flex;
  gap: 32px;
}

.nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  padding: 8px 0;
  position: relative;
}

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

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

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

.header-cta {
  display: none;
}

.header-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition);
}

.header-cta a:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--secondary);
  transition: var(--transition);
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--white);
  box-shadow: var(--shadow-xl);
  z-index: 1001;
  transition: right 0.3s ease;
  padding: 80px 24px 24px;
  overflow-y: auto;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--gray-600);
}

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

.mobile-nav a {
  display: block;
  padding: 14px 0;
  font-size: 0.95rem;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-200);
}

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

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  z-index: 999;
  padding: 8px 16px;
  padding-bottom: calc(8px + env(safe-area-inset-bottom));
  justify-content: space-around;
  align-items: center;
}

.mobile-bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.65rem;
  color: var(--gray-500);
  text-decoration: none;
  padding: 6px 12px;
}

.mobile-bottom-nav a i {
  font-size: 1.1rem;
}

.mobile-bottom-nav a:hover,
.mobile-bottom-nav a.active {
  color: var(--primary);
}

.mobile-bottom-nav .call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  margin-top: -28px;
  box-shadow: 0 4px 15px rgba(13,115,119,0.4);
  font-size: 1.25rem;
}

.mobile-bottom-nav .call-btn:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: scale(1.05);
}

/* Add padding to body for mobile bottom nav */
body {
  padding-bottom: 70px;
}

@media (min-width: 768px) {
  .mobile-bottom-nav {
    display: none;
  }
  body {
    padding-bottom: 0;
  }
}

.mobile-nav-cta {
  margin-top: 24px;
}

.mobile-nav-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: var(--white);
  padding: 14px 24px;
  border-radius: var(--radius);
  font-weight: 500;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  padding: 60px 0 40px;
  background: var(--secondary);
  overflow: hidden;
  border-radius: 24px;
  margin: 120px 20px 40px;
  max-width: 1400px;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.4),
    0 12px 24px -8px rgba(13, 115, 119, 0.3);
}

@media (min-width: 768px) {
  .hero {
    margin: 120px 40px 60px;
    border-radius: 32px;
    min-height: 450px;
    padding: 80px 0 60px;
  }
}

@media (min-width: 1024px) {
  .hero {
    margin: 120px 60px 60px;
  }
}

@media (min-width: 1520px) {
  .hero {
    margin: 120px auto 60px;
  }
}

.hero-bg-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroFade 24s infinite;
}

.hero-bg-slide:nth-child(1) {
  background-image: url('https://images.pexels.com/photos/3845981/pexels-photo-3845981.jpeg?auto=compress&cs=tinysrgb&w=1260');
  animation-delay: 0s;
}

.hero-bg-slide:nth-child(2) {
  background-image: url('https://images.pexels.com/photos/3845806/pexels-photo-3845806.jpeg?auto=compress&cs=tinysrgb&w=1260');
  animation-delay: 6s;
}

.hero-bg-slide:nth-child(3) {
  background-image: url('https://images.pexels.com/photos/3845625/pexels-photo-3845625.jpeg?auto=compress&cs=tinysrgb&w=1260');
  animation-delay: 12s;
}

.hero-bg-slide:nth-child(4) {
  background-image: url('https://images.pexels.com/photos/3881449/pexels-photo-3881449.jpeg?auto=compress&cs=tinysrgb&w=1260');
  animation-delay: 18s;
}

@keyframes heroFade {
  0% { opacity: 0; }
  4% { opacity: 1; }
  25% { opacity: 1; }
  29% { opacity: 0; }
  100% { opacity: 0; }
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,115,119,0.9) 0%, rgba(50,50,50,0.85) 100%);
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 70%;
  height: 150%;
  background: var(--white);
  opacity: 0.03;
  border-radius: 50%;
  transform: rotate(-15deg);
  z-index: 2;
}

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

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--primary);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

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

.hero h1 {
  margin-bottom: 16px;
  color: var(--white);
}

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

.hero-text {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 28px;
  max-width: 500px;
}

.hero .hero-inner {
  position: relative;
  z-index: 3;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.stat {
  text-align: center;
}

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

.stat-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-image {
  position: relative;
  display: none;
}

.hero-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.hero-image-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-image-badge i {
  font-size: 1.5rem;
  color: var(--primary);
}

.hero-image-badge-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--secondary);
}

.hero-image-badge-text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--gray-500);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

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

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

.btn-secondary {
  background: var(--white);
  color: var(--secondary);
  border: 1px solid var(--gray-300);
}

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

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.4);
}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}

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

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

/* ============================================
   SECTIONS
   ============================================ */
section {
  padding: 60px 0;
}

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

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-header h2 {
  margin-bottom: 12px;
}

.section-header p {
  font-size: 0.95rem;
  color: var(--gray-500);
}

/* ============================================
   ABOUT / INTRO SECTION
   ============================================ */
.about {
  background: transparent;
}

.about.has-gradient {
  position: relative;
  background: transparent;
  overflow: hidden;
}

/* Section Decorations */
.decorated {
  position: relative;
  overflow: hidden;
  background: transparent;
}

/* Services Section */
.services.decorated {
  background: transparent;
}

/* Doctor Section */
.doctor.decorated {
  background: transparent;
}

/* Testimonials Section - keep teal background */

/* Insurance Section */
.insurance.decorated {
  background: transparent;
}

/* CTA Section - keep dark background */

/* Floating shapes animation */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.5;
  animation: float 6s ease-in-out infinite;
}

.floating-shape-1 {
  width: 80px;
  height: 80px;
  background: var(--primary);
  opacity: 0.06;
  top: 20%;
  left: 5%;
  animation-delay: 0s;
}

.floating-shape-2 {
  width: 120px;
  height: 120px;
  background: var(--primary-light);
  opacity: 0.04;
  top: 60%;
  right: 8%;
  animation-delay: 2s;
}

.floating-shape-3 {
  width: 60px;
  height: 60px;
  background: var(--primary);
  opacity: 0.05;
  bottom: 15%;
  left: 15%;
  animation-delay: 4s;
}

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

.about-image {
  position: relative;
}

.about-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-image-overlay {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--primary);
  color: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-lg);
  display: none;
}

.about-image-overlay .number {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.about-image-overlay span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about-content h2 {
  margin-bottom: 16px;
}

.about-content p {
  margin-bottom: 20px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about-feature i {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--primary);
  border-radius: var(--radius);
  font-size: 0.875rem;
}

.about-feature h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.about-feature p {
  font-size: 0.8rem;
  margin: 0;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
  background: transparent;
}

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

.service-card {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid transparent;
}

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

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--primary);
  border-radius: var(--radius);
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.8rem;
  margin: 0;
  color: var(--gray-500);
}

/* ============================================
   DOCTOR / TEAM SECTION
   ============================================ */
.doctor {
  background: transparent;
}

.doctor-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.1),
    0 8px 16px rgba(13, 115, 119, 0.08);
}

.doctor-image {
  position: relative;
  overflow: hidden;
  margin: 20px;
  border-radius: var(--radius-lg);
}

.doctor-image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.doctor-content {
  padding: 24px;
  padding-left: 12px;
}

.doctor-content h3 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.doctor-title {
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 16px;
}

.doctor-content p {
  font-size: 0.9rem;
}

.doctor-info {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
}

.doctor-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--gray-600);
}

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

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  background: var(--primary);
  color: var(--white);
}

.testimonials .section-label {
  color: var(--primary-light);
}

.testimonials .section-header h2 {
  color: var(--white);
}

.testimonials .section-header p {
  color: rgba(255,255,255,0.7);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.testimonial-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.1);
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 0.875rem;
  margin-bottom: 12px;
}

.testimonial-text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 16px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.testimonial-info {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
}

/* ============================================
   INSURANCE SECTION
   ============================================ */
.insurance {
  background: transparent;
}

.insurance-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.insurance-text h2 {
  margin-bottom: 16px;
}

.insurance-list {
  margin-top: 20px;
}

.insurance-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.9rem;
}

.insurance-list li:last-child {
  border-bottom: none;
}

.insurance-list i {
  color: var(--primary);
  margin-top: 3px;
}

.insurance-cta {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.insurance-cta h3 {
  margin-bottom: 8px;
}

.insurance-cta p {
  font-size: 0.875rem;
  margin-bottom: 16px;
}

/* ============================================
   CONTACT / CTA SECTION
   ============================================ */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--secondary) 100%);
  color: var(--white);
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -25%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.1) 0%, transparent 70%);
  transform: rotate(-15deg);
  pointer-events: none;
}

.cta::after {
  content: '';
  position: absolute;
  bottom: -60%;
  right: -20%;
  width: 70%;
  height: 180%;
  background: radial-gradient(ellipse, rgba(20,163,168,0.2) 0%, transparent 60%);
  pointer-events: none;
}

.cta h2 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: 2.2rem;
  position: relative;
  z-index: 1;
}

.cta p {
  position: relative;
  z-index: 1;
  max-width: 500px;
  margin: 0 auto 24px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
}

.cta .cta-buttons {
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.cta .btn-white {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta .btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.cta .btn-outline-light {
  border: 2px solid rgba(255,255,255,0.5);
  color: var(--white);
  backdrop-filter: blur(4px);
}

.cta .btn-outline-light:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  transform: translateY(-3px);
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
  padding: 120px 0 60px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.contact-info h2 {
  margin-bottom: 20px;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--off-white);
  border-radius: var(--radius);
}

.contact-card i {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-card h4 {
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.contact-card p,
.contact-card a {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin: 0;
}

.contact-card a:hover {
  color: var(--primary);
}

.contact-form-wrapper {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.contact-form h3 {
  margin-bottom: 24px;
}

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

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-family: inherit;
  transition: var(--transition);
}

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

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

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

/* Hours */
.hours-section {
  margin-top: 32px;
}

.hours-section h3 {
  margin-bottom: 16px;
}

.hours-list {
  background: var(--off-white);
  border-radius: var(--radius);
  overflow: hidden;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--gray-200);
}

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

.hours-item .day {
  font-weight: 500;
  color: var(--gray-700);
}

.hours-item .time {
  color: var(--gray-600);
}

.hours-item.closed .time {
  color: var(--gray-400);
}

/* Map */
.map-wrapper {
  margin-top: 32px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-wrapper iframe {
  width: 100%;
  height: 300px;
  border: none;
}

/* ============================================
   INNER PAGE HEADER
   ============================================ */
.page-header {
  background: transparent;
  padding: 120px 0 60px;
  text-align: center;
}

.page-header h1 {
  margin-bottom: 12px;
}

.page-header p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1rem;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.8rem;
}

.breadcrumb a {
  color: var(--gray-500);
}

.breadcrumb span {
  color: var(--gray-400);
}

.breadcrumb .current {
  color: var(--primary);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--secondary);
  color: var(--white);
  padding: 60px 0 80px;
}

@media (min-width: 768px) {
  .footer {
    padding: 60px 0 0;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 8px;
}

.footer-logo span {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.02em;
  transition: color 0.2s ease;
}

.footer-logo:hover span {
  color: var(--primary-light);
}

.footer-logo .logo-icon {
  width: 40px;
  height: 40px;
}

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

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  margin-top: 16px;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-radius: var(--radius);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
}

.footer-column h4 {
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

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

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.footer-contact i {
  color: var(--primary-light);
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

/* ============================================
   COVID BANNER
   ============================================ */
.covid-banner {
  background: var(--accent);
  padding: 12px 20px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray-700);
  position: relative;
}

.covid-banner i {
  color: var(--primary);
  margin-right: 8px;
}

.covid-banner a {
  font-weight: 500;
  text-decoration: underline;
}

/* ============================================
   SERVICES PAGE
   ============================================ */
.services-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.service-detail-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.service-detail-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-detail-content {
  padding: 24px;
}

.service-detail-content h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.service-detail-content h3 i {
  color: var(--primary);
}

.service-detail-content p {
  font-size: 0.9rem;
}

/* ============================================
   TESTIMONIALS PAGE
   ============================================ */
.testimonials-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.testimonial-full-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
}

.testimonial-full-card .quote-icon {
  font-size: 2rem;
  color: var(--primary);
  opacity: 0.3;
  margin-bottom: 16px;
}

.testimonial-full-card blockquote {
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 20px;
}

.testimonial-full-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-full-author .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--primary);
}

.testimonial-full-author .name {
  font-weight: 600;
  color: var(--secondary);
}

.testimonial-full-author .years {
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */
@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

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

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

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

/* ============================================
   RESPONSIVE - DESKTOP
   ============================================ */
@media (min-width: 768px) {
  body {
    font-size: 16px;
  }

  section {
    padding: 80px 0;
  }

  .menu-toggle {
    display: none;
  }

  .nav {
    display: block;
  }

  .header-cta {
    display: block;
  }

  .hero {
    padding: 140px 0 100px;
  }

  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }

  .hero-image {
    display: block;
  }

  .hero-stats {
    max-width: 400px;
  }

  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }

  .about-image-overlay {
    display: block;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .doctor-card {
    grid-template-columns: 300px 1fr;
  }

  .doctor-content {
    padding: 40px;
    padding-left: 20px;
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .insurance-content {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }

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

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }

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

  .service-detail-card {
    grid-template-columns: 200px 1fr;
  }

  .service-detail-image img {
    height: 100%;
  }

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

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

  .service-card {
    padding: 28px;
  }
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.bg-light { background: transparent; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
