/* ========================================
   Dr. Donald Fischer Dentistry - Warm Professional Theme
   Version: 1.0.0
   ======================================== */

/* Import local fonts */
@import url('fonts/google-fonts.css');

/* ========================================
   1. CSS VARIABLES & ROOT
   ======================================== */
:root {
  /* Primary Colors - Deep Sea Blue (Trust, Professional) */
  --color-primary: #1E5F8A;
  --color-primary-light: #2E7BA6;
  --color-primary-dark: #164A6B;

  /* Secondary Colors - Warm Gold (Warmth, Care) */
  --color-secondary: #D4A853;
  --color-secondary-light: #E8C078;
  --color-secondary-dark: #B8923D;

  /* Accent - Fresh Green (Health, Natural) */
  --color-accent: #4A9B7F;

  /* Neutrals */
  --color-bg: #FAFBFC;
  --color-bg-alt: #F0F4F8;
  --color-surface: #FFFFFF;
  --color-border: #E2E8F0;

  /* Text */
  --color-text: #1E293B;
  --color-text-secondary: #475569;
  --color-text-muted: #94A3B8;

  /* Semantic */
  --color-success: #10B981;
  --color-error: #EF4444;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-hero: 4.5rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 40px rgba(30, 95, 138, 0.15);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s ease;
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;

  /* Layout */
  --container-max: 1200px;
  --nav-height: 70px;
}

/* ========================================
   2. RESET & BASE STYLES
   ======================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ========================================
   3. TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
}

h1 { font-size: var(--text-hero); }
h2 { font-size: var(--text-5xl); }
h3 { font-size: var(--text-4xl); }
h4 { font-size: var(--text-3xl); }
h5 { font-size: var(--text-2xl); }
h6 { font-size: var(--text-xl); }

p {
  margin-bottom: var(--space-4);
  color: var(--color-text-secondary);
}

.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-accent { color: var(--color-accent); }
.text-muted { color: var(--color-text-muted); }

/* ========================================
   4. LAYOUT
   ======================================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section {
  padding: 100px 0;
}

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

.grid {
  display: grid;
  gap: var(--space-8);
}

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

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ========================================
   5. NAVIGATION
   ======================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: var(--nav-height);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-2) var(--space-4);
  position: relative;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
  margin-right: var(--space-2);
}

.nav-logo-title {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  transition: var(--transition);
  line-height: 1.2;
}

.nav-logo-title:hover {
  color: var(--color-primary-light);
}

.nav-logo-subtitle {
  font-size: 0.55rem;
  color: var(--color-text-muted);
  letter-spacing: 0.2px;
  line-height: 1.1;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  flex-wrap: nowrap;
  flex-shrink: 1;
  min-width: 0;
}

.nav-menu li {
  position: relative;
}

.nav-menu > li:hover > .dropdown-menu,
.nav-menu > li:focus-within > .dropdown-menu {
  display: block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2);
  min-width: 200px;
  z-index: 1000;
  border: 1px solid var(--color-border);
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu a {
  display: block;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-text);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.dropdown-menu a:hover {
  background: var(--color-bg-alt);
  color: var(--color-primary);
}

.nav-link {
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-md);
  transition: var(--transition);
  font-size: var(--text-xs);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--color-primary);
  background: var(--color-bg-alt);
}

.nav-link:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.nav-cta {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: white !important;
  box-shadow: 0 2px 8px rgba(30, 95, 138, 0.25);
  padding: var(--space-1) var(--space-2) !important;
  font-size: 0.65rem !important;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
}

.nav-cta:hover {
  transform: none;
  box-shadow: 0 4px 12px rgba(30, 95, 138, 0.35);
  background: var(--color-primary-light);
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  padding: var(--space-1);
  font-size: 0.65rem;
  transition: var(--transition);
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-phone:hover {
  color: var(--color-primary-dark);
}

.nav-phone svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: var(--space-1);
  background: none;
  border: none;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--color-text);
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   6. HERO SECTION
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(-45deg, #1E5F8A, #2E7BA6, #D4A853, #4A9B7F);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  opacity: 0.95;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.08);
}

/* Hero Carousel */
.hero-carousel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out, visibility 0s ease 1s;
  background-size: cover;
  background-position: center;
}

.hero-carousel-slide.active {
  opacity: 1;
  visibility: visible;
  transition: opacity 1s ease-in-out, visibility 0s ease 0s;
}

.hero-carousel-slide:nth-child(1) {
  background: linear-gradient(135deg, rgba(30,95,138,0.85) 0%, rgba(22,74,107,0.85) 100%);
}

.hero-carousel-slide:nth-child(2) {
  background: linear-gradient(135deg, rgba(74,155,127,0.85) 0%, rgba(30,95,138,0.85) 100%);
}

.hero-carousel-slide:nth-child(3) {
  background: linear-gradient(135deg, rgba(212,168,83,0.85) 0%, rgba(30,95,138,0.85) 100%);
}

.hero-carousel-slide .slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  width: 100%;
  padding: 0 20px;
}

.hero-carousel-slide .slide-tagline {
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: var(--space-4);
  opacity: 0.9;
}

.hero-carousel-slide .slide-heading {
  font-family: var(--font-heading);
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-4);
}

.hero-carousel-slide .slide-subheading {
  font-size: var(--text-2xl);
  opacity: 0.9;
}

.hero-carousel-indicators {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-3);
  z-index: 20;
}

.hero-carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: 2px solid white;
  cursor: pointer;
  transition: var(--transition);
}

.hero-carousel-indicator.active {
  background: white;
  transform: scale(1.2);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: 0 var(--space-6);
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: white;
  padding: var(--space-2) var(--space-6);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  margin-bottom: var(--space-6);
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: fadeInUp 1s ease;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: var(--text-hero);
  font-weight: 700;
  color: white;
  line-height: 1.1;
  margin-bottom: var(--space-6);
  animation: fadeInUp 1s ease 0.1s both;
}

.hero-subtitle {
  font-size: var(--text-xl);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-10);
  font-weight: 400;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.4s both;
}

.hero-info {
  margin-top: var(--space-16);
  display: flex;
  justify-content: center;
  gap: var(--space-12);
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.6s both;
}

.hero-info-item {
  text-align: center;
  color: white;
}

.hero-info-value {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
}

.hero-info-label {
  font-size: var(--text-sm);
  opacity: 0.8;
}

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

/* ========================================
   7. BUTTONS
   ======================================== */
.btn {
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-8);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-base);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-dark) 100%);
  color: white;
  box-shadow: 0 4px 14px rgba(212, 168, 83, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 168, 83, 0.5);
}

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

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

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

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

.btn-ghost {
  background: transparent;
  color: var(--color-primary);
  padding: var(--space-3) 0;
}

.btn-ghost:hover {
  color: var(--color-primary-light);
}

.btn:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ========================================
   8. SECTION HEADERS
   ======================================== */
.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.section-tag {
  display: inline-block;
  background: var(--color-bg-alt);
  color: var(--color-primary);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ========================================
   9. SERVICES
   ======================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.service-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-10) var(--space-8);
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

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

.service-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
  transition: var(--transition);
}

.service-icon svg {
  width: 36px;
  height: 36px;
  color: white;
}

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

.service-title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.service-desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ========================================
   10. ABOUT SECTION
   ======================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-20);
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image-main {
  width: 100%;
  height: 500px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
}

.about-image-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--color-secondary);
  color: white;
  padding: var(--space-5) var(--space-8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-badge-number {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
}

.about-badge-text {
  font-size: var(--text-sm);
}

.about-content {
  padding: var(--space-10) 0;
}

.about-tag {
  display: inline-block;
  background: var(--color-primary);
  color: white;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-6);
}

.about-title {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-6);
  line-height: 1.2;
}

.about-text {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-8);
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.about-feature {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 500;
}

.about-feature-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-success);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-feature-icon svg {
  width: 14px;
  height: 14px;
  color: white;
}

/* ========================================
   11. TESTIMONIALS
   ======================================== */
.testimonials {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  position: relative;
  overflow: hidden;
}

.testimonials .section-tag {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.testimonials .section-title {
  color: white;
}

.testimonials .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.testimonial-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  position: relative;
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: 80px;
  color: var(--color-primary);
  opacity: 0.2;
  position: absolute;
  top: 20px;
  left: 30px;
  line-height: 1;
}

.testimonial-text {
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: var(--space-6);
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: var(--text-xl);
}

.testimonial-name {
  font-weight: 600;
  color: var(--color-text);
}

.testimonial-location {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ========================================
   12. CONTACT SECTION
   ======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-20);
}

.contact-info {
  padding: var(--space-10) 0;
}

.contact-title {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-6);
}

.contact-text {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-10);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

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

.contact-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
}

.contact-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-1);
}

.contact-value {
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.5;
}

.contact-form-wrapper {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: var(--space-12);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
}

.contact-form-title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-8);
}

/* ========================================
   13. FORMS
   ======================================== */
.form-group {
  margin-bottom: var(--space-6);
}

.form-label {
  display: block;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--space-2);
  font-size: var(--text-sm);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--text-base);
  transition: var(--transition);
  background: var(--color-bg);
  color: var(--color-text);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(30, 95, 138, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-text-muted);
}

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

.form-btn {
  width: 100%;
  padding: var(--space-4);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-base);
  cursor: pointer;
  transition: var(--transition);
}

.form-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30, 95, 138, 0.35);
}

/* ========================================
   14. FOOTER
   ======================================== */
.footer {
  background: var(--color-text);
  color: white;
  padding: var(--space-20) 0 var(--space-10);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-16);
  margin-bottom: var(--space-16);
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.footer-desc {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

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

.footer-social-link svg {
  width: 20px;
  height: 20px;
  color: white;
}

.footer-title {
  font-weight: 600;
  margin-bottom: var(--space-6);
  font-size: var(--text-base);
}

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

.footer-link {
  margin-bottom: var(--space-3);
}

.footer-link a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: var(--text-sm);
  transition: var(--transition);
}

.footer-link a:hover {
  color: white;
}

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

.footer-copyright {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.footer-certifications {
  display: flex;
  gap: var(--space-6);
}

.footer-cert {
  height: 40px;
  opacity: 0.7;
  transition: var(--transition);
}

.footer-cert:hover {
  opacity: 1;
}

/* ========================================
   15. ANIMATIONS
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ========================================
   16. FEATURES LIST
   ======================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.feature-item:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
  color: white;
}

.feature-content {
  flex: 1;
}

.feature-title {
  font-weight: 600;
  color: var(--color-text);
  font-size: var(--text-sm);
}

.feature-desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* ========================================
   17. CTA SECTION
   ======================================== */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  padding: var(--space-16) 0;
  text-align: center;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  color: white;
  margin-bottom: var(--space-4);
}

.cta-text {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-8);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   18. MAP SECTION
   ======================================== */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

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

/* ========================================
   19. HOURS TABLE
   ======================================== */
.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table tr {
  border-bottom: 1px solid var(--color-border);
}

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

.hours-table td {
  padding: var(--space-3) 0;
  font-size: var(--text-sm);
}

.hours-table td:first-child {
  font-weight: 500;
  color: var(--color-text);
}

.hours-table td:last-child {
  text-align: right;
  color: var(--color-text-secondary);
}

/* ========================================
   20. SOCIAL LINKS
   ======================================== */
.social-links {
  display: flex;
  gap: var(--space-3);
}

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

.social-link:hover {
  background: var(--color-primary);
}

.social-link svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
  transition: var(--transition);
}

.social-link:hover svg {
  color: white;
}

/* ========================================
   21. PAGE HEADER (Inner Pages)
   ======================================== */
.page-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.05);
}

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

.page-header-title {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  color: white;
  margin-bottom: var(--space-4);
}

.page-header-subtitle {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-6);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: white;
}

.breadcrumb span {
  opacity: 0.5;
}

/* ========================================
   22. WHY CHOOSE US
   ======================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.why-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.why-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
}

.why-icon svg {
  width: 32px;
  height: 32px;
  color: white;
}

.why-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.why-desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ========================================
   23. RESPONSIVE BREAKPOINTS
   ======================================== */

/* Tablet - 1024px */
@media (max-width: 1024px) {
  :root {
    --text-hero: 3.5rem;
    --text-5xl: 2.5rem;
    --text-4xl: 2rem;
  }

  .nav-container {
    height: auto;
    min-height: var(--nav-height);
    padding: var(--space-2) var(--space-4);
    flex-wrap: wrap;
  }

  .nav-logo {
    margin-right: auto;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-surface);
    padding: var(--space-4);
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    flex-direction: column;
    gap: var(--space-1);
    max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
    z-index: 999;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-link {
    padding: var(--space-3) var(--space-4);
    width: 100%;
    text-align: left;
    display: block;
    font-size: var(--text-sm);
  }

  .nav-menu.active .nav-cta {
    margin-top: var(--space-2);
    width: 100%;
    justify-content: center;
  }

  .dropdown-menu {
    display: none;
    position: static;
    box-shadow: none;
    padding: 0 0 0 var(--space-4);
    border: none;
    background: transparent;
  }

  .dropdown-menu.active {
    display: block;
  }

  .dropdown-menu a {
    padding: var(--space-2) var(--space-4);
  }

  .nav-phone-desktop {
    display: none;
  }

  .nav-phone-mobile {
    display: flex !important;
  }

  .nav-toggle {
    display: flex;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }

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

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

/* Mobile - 768px */
@media (max-width: 768px) {
  :root {
    --text-hero: 2.5rem;
    --text-5xl: 2rem;
    --text-4xl: 1.75rem;
    --text-3xl: 1.5rem;
    --nav-height: 60px;
  }

  .container {
    padding: 0 var(--space-4);
  }

  .section {
    padding: 60px 0;
  }

  .nav-logo-title {
    font-size: var(--text-base);
  }

  .nav-logo-subtitle {
    display: none;
  }

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

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

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

  .about-image-badge {
    right: 10px;
    bottom: -10px;
    padding: var(--space-4) var(--space-6);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-6);
    text-align: center;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

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

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

/* Small Mobile - 480px */
@media (max-width: 480px) {
  :root {
    --text-hero: 2rem;
    --text-5xl: 1.75rem;
    --text-4xl: 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-info {
    flex-direction: column;
    gap: var(--space-4);
  }
}

/* ========================================
   24. PRINT STYLES
   ======================================== */
@media print {
  .nav,
  .hero,
  .testimonials,
  .contact-form-wrapper,
  .footer-social,
  .cta-section {
    display: none;
  }

  .section {
    padding: 20px 0;
  }

  body {
    font-size: 12pt;
    color: black;
    background: white;
  }
}

/* ========================================
   25. ACCESSIBILITY
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Focus visible for keyboard navigation */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-primary);
  color: white;
  padding: var(--space-2) var(--space-4);
  z-index: 9999;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
