/* ============================================
   Ronald Lee Optometrist — Styles
   Aesthetic: Refined Clinical Warmth
   ============================================ */

/* --- Custom Properties --- */
:root {
  --teal-900: #0a3d3f;
  --teal-800: #0d5254;
  --teal-700: #0f6b6e;
  --teal-600: #128588;
  --teal-500: #159da0;
  --teal-400: #3dbfc2;
  --teal-300: #7dd8da;
  --teal-200: #b5e8e9;
  --teal-100: #dff5f5;
  --teal-50: #f0fafa;

  --cream: #faf8f5;
  --cream-dark: #f0ede8;
  --warm-white: #fdfcfa;

  --text-primary: #1a2a2b;
  --text-secondary: #4a5e5f;
  --text-muted: #7a8e8f;
  --text-light: #a8b8b9;

  --gold-accent: #c4973b;
  --gold-light: #e8d5a8;

  --shadow-sm: 0 1px 3px rgba(10, 61, 63, 0.06);
  --shadow-md: 0 4px 16px rgba(10, 61, 63, 0.08);
  --shadow-lg: 0 8px 32px rgba(10, 61, 63, 0.1);
  --shadow-xl: 0 16px 48px rgba(10, 61, 63, 0.12);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --max-width: 1120px;
  --section-padding: clamp(4rem, 8vw, 7rem);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--warm-white);
  overflow-x: hidden;
}

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

a {
  color: var(--teal-700);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--teal-500);
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  line-height: 1.2;
  color: var(--teal-900);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--teal-400);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin-top: 1rem;
}

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

section {
  padding: var(--section-padding) 0;
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  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; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

.nav.scrolled {
  background: rgba(253, 252, 250, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 0.6rem 0;
}

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

.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.35rem;
  color: var(--teal-900);
  letter-spacing: -0.01em;
}

.nav-logo span {
  color: var(--teal-600);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal-500);
  border-radius: 2px;
  transition: width 0.3s ease;
}

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

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

.nav-links .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  background: var(--teal-700);
  color: var(--warm-white) !important;
  padding: 0.75rem 1.1rem !important;
  border-radius: var(--radius-xl);
  font-size: 0.88rem;
  line-height: 1;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease !important;
}

.nav-links .nav-cta::after { display: none !important; }

.nav-links .nav-cta:hover {
  background: var(--teal-600);
  color: white !important;
  transform: translateY(-1px);
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--teal-900);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.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);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(165deg, var(--teal-50) 0%, var(--warm-white) 40%, var(--cream) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -15%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--teal-200) 0%, transparent 70%);
  opacity: 0.3;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-light) 0%, transparent 70%);
  opacity: 0.2;
  pointer-events: none;
}

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

.hero-text {
  max-width: 560px;
}

.hero-greeting {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--teal-600);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s 0.3s forwards;
}

.hero h1 {
  margin-bottom: 1.25rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s 0.5s forwards;
}

.hero h1 em {
  font-style: normal;
  color: var(--teal-600);
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s 0.7s forwards;
}

.hero-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: -0.8rem;
  margin-bottom: 1.75rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s 0.8s forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s 0.9s forwards;
}

.hero-actions .btn-primary {
  padding: 1rem 2.4rem;
}

/* Hero photo placeholder */
.hero-photo {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s 0.6s forwards;
}

.hero-photo-frame {
  width: 380px;
  height: 460px;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, var(--teal-100), var(--cream-dark));
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.hero-photo-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.hero-photo-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(15, 107, 110, 0.1);
}

.photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--teal-400);
}

.photo-placeholder svg {
  width: 64px;
  height: 64px;
  opacity: 0.5;
}

.photo-placeholder span {
  font-size: 0.8rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.photo-placeholder-profile {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.75), transparent 55%),
    linear-gradient(135deg, rgba(223, 245, 245, 0.9), rgba(250, 248, 245, 0.95));
}

.photo-placeholder-monogram {
  width: 108px;
  height: 108px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 107, 110, 0.12);
  box-shadow: var(--shadow-sm);
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  color: var(--teal-700);
  letter-spacing: 0.08em;
}

/* Decorative ring behind photo */
.hero-photo-ring {
  position: absolute;
  width: 420px;
  height: 500px;
  border-radius: var(--radius-xl);
  border: 2px solid var(--teal-200);
  top: 20px;
  left: 20px;
  opacity: 0.4;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-xl);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--teal-700);
  color: white;
  box-shadow: 0 4px 16px rgba(15, 107, 110, 0.25);
}

.btn-primary:hover {
  background: var(--teal-600);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(15, 107, 110, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--teal-700);
  border: 1.5px solid var(--teal-300);
}

.btn-outline:hover {
  background: var(--teal-50);
  border-color: var(--teal-500);
  color: var(--teal-700);
}

.btn svg {
  width: 18px;
  height: 18px;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  background: var(--warm-white);
}

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

.about-visual {
  position: relative;
}

.about-photo-frame {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--teal-50), var(--cream));
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-stat-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0;
}

.about-stat {
  flex: 1;
  background: white;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--teal-100);
  text-align: center;
}

.about-stat-number {
  font-family: 'DM Serif Display', serif;
  font-size: 1.8rem;
  color: var(--teal-700);
  line-height: 1;
}

.about-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.about-text p:first-of-type {
  font-size: 1.1rem;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.about-highlight {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.about-highlight svg {
  width: 20px;
  height: 20px;
  color: var(--teal-500);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  background: var(--teal-50);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal-200), transparent);
}

.services-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.services-header .section-label {
  justify-content: center;
}

.services-header .section-subtitle {
  margin: 1rem auto 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  border: 1px solid rgba(15, 107, 110, 0.06);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-400), var(--teal-600));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

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

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

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--teal-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--teal-600);
  transition: background 0.3s ease;
}

.service-card:hover .service-icon {
  background: var(--teal-100);
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.2rem;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   QUALIFICATIONS
   ============================================ */
.qualifications {
  background: var(--warm-white);
}

.quals-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.quals-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.qual-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--teal-100);
  transition: box-shadow 0.3s ease;
}

.qual-item:hover {
  box-shadow: var(--shadow-md);
}

.qual-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-600);
  flex-shrink: 0;
}

.qual-icon svg {
  width: 20px;
  height: 20px;
}

.qual-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}

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

.qual-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  background: var(--gold-light);
  color: var(--gold-accent);
  margin-top: 0.35rem;
}

/* ============================================
   EXPERIENCE TIMELINE
   ============================================ */
.experience {
  background: var(--teal-900);
  color: white;
  position: relative;
  overflow: hidden;
}

.experience::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--teal-700) 0%, transparent 70%);
  opacity: 0.3;
}

.experience h2 {
  color: white;
}

.experience .section-label {
  color: var(--teal-300);
}

.experience .section-label::before {
  background: var(--teal-400);
}

.experience .section-subtitle {
  color: var(--teal-200);
}

.timeline {
  position: relative;
  margin-top: 3rem;
  padding-left: 2.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--teal-500), var(--teal-700));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -2.5rem;
  top: 0.25rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal-400);
  border: 3px solid var(--teal-900);
  transform: translateX(-5px);
}

.timeline-item:first-child .timeline-dot {
  background: var(--gold-accent);
  box-shadow: 0 0 0 4px rgba(196, 151, 59, 0.2);
}

.timeline-date {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--teal-300);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.timeline-role {
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem;
  color: white;
  margin-bottom: 0.25rem;
}

.timeline-company {
  font-size: 0.95rem;
  color: var(--teal-200);
  margin-bottom: 0.5rem;
}

.timeline-desc {
  font-size: 0.88rem;
  color: var(--teal-300);
  line-height: 1.6;
}

/* ============================================
   VOLUNTEER / COMMUNITY
   ============================================ */
.volunteer {
  background: var(--cream);
  position: relative;
}

.volunteer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.volunteer-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15, 107, 110, 0.06);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.volunteer-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.volunteer-year {
  font-family: 'DM Serif Display', serif;
  font-size: 1rem;
  color: var(--teal-600);
  background: var(--teal-50);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  flex-shrink: 0;
}

.volunteer-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.volunteer-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   FAQ
   ============================================ */
.faq {
  background: var(--teal-50);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.faq-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15, 107, 110, 0.06);
}

.faq-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}

.faq-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  background: var(--warm-white);
  position: relative;
}

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

.contact-info {
  padding-top: 0.5rem;
}

.contact-info p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--cream-dark);
}

.contact-detail:last-child {
  border-bottom: none;
}

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

.contact-detail-icon svg {
  width: 18px;
  height: 18px;
}

.contact-detail-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.contact-detail-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Form */
.contact-form {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--teal-100);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form-group label .required {
  color: var(--teal-500);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text-primary);
  background: var(--warm-white);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--teal-400);
  box-shadow: 0 0 0 3px rgba(21, 157, 160, 0.1);
}

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

.form-submit {
  width: 100%;
  padding: 1rem;
  background: var(--teal-700);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.form-submit:hover {
  background: var(--teal-600);
  transform: translateY(-1px);
}

.form-submit:active {
  transform: translateY(0);
}

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
}

.form-status.success {
  display: block;
  background: var(--teal-50);
  color: var(--teal-800);
  border: 1px solid var(--teal-200);
}

.form-status.error {
  display: block;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--teal-900);
  color: var(--teal-300);
  padding: 3rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.2rem;
  color: white;
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--teal-300);
}

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

.footer-copy {
  width: 100%;
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--teal-800);
  font-size: 0.82rem;
  color: var(--teal-400);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
  }

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

  .hero-photo {
    display: flex;
    margin-top: 1rem;
  }

  .hero-photo-frame {
    width: min(360px, 82vw);
    height: min(440px, 100vw);
  }

  .hero-photo-ring {
    width: min(400px, 88vw);
    height: min(480px, 108vw);
    top: 16px;
    left: 16px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .quals-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(253, 252, 250, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

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

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

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

  .about-stat-cards {
    flex-direction: row;
  }

  .contact-form {
    padding: 1.75rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }

  .hero {
    min-height: auto;
    padding-top: 7rem;
    padding-bottom: 4rem;
  }

  .hero-photo {
    margin-top: 0.5rem;
  }

  .hero-photo-frame {
    width: min(300px, 78vw);
    height: min(380px, 98vw);
  }

  .hero-photo-ring {
    width: min(332px, 84vw);
    height: min(412px, 104vw);
    top: 12px;
    left: 12px;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .timeline {
    padding-left: 2rem;
  }
}

/* --- Grain Texture Overlay --- */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}
