/* Helping Hands Neurodiversity Foundation - Styles */
:root {
  --navy: #0F2C4C;
  --teal: #0D9488;
  --teal-light: #14B8A6;
  --gold: #F59E0B;
  --purple: #7C3AED;
  --blue: #3B82F6;
  --green: #10B981;
  --orange: #F97316;
  --bg: #F8FAFC;
  --text: #1E293B;
  --text-light: #475569;
  --white: #FFFFFF;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --radius: 12px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

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

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

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

a[href^="tel:"] {
  white-space: nowrap;
}

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

/* Header & Nav */
header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 0;
}

.logo-link img {
  height: 72px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--navy);
  font-weight: 500;
  font-size: 16px;
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--navy);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, rgba(15, 44, 76, 0.85), rgba(13, 148, 136, 0.75)), url('imagine_images/b63c2b6a-4ed5-462b-b36d-e07a10a4cd3a.jpg') center/cover no-repeat;
  color: var(--white);
  padding: 120px 0 100px;
  text-align: center;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 32px;
  opacity: 0.95;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  background: var(--teal-light);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  margin-left: 12px;
}

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

/* Sections */
section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--navy);
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto 48px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

@media (min-width: 769px) {
  .card-grid:has(> :nth-child(4):last-child) {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.card h3 {
  color: var(--navy);
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.card p {
  color: var(--text-light);
}

.featured {
  background: linear-gradient(to right, #f0fdfa, #ecfeff);
  border-left: 6px solid var(--teal);
}

/* Mission / Vision */
.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.mission-vision img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.mission-box, .vision-box {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.mission-box h3, .vision-box h3 {
  color: var(--teal);
  margin-bottom: 16px;
  font-size: 1.5rem;
}

/* Footer */
footer {
  background: var(--navy);
  color: var(--white);
  padding: 60px 0 30px;
}

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

.footer-content h4 {
  margin-bottom: 16px;
  color: var(--teal-light);
}

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

.footer-content a {
  color: #CBD5E1;
}

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

.footer-content p + p {
  margin-top: 8px;
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #334155;
  color: #94A3B8;
  font-size: 14px;
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: var(--navy);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

/* Page specific */
.page-header {
  background: var(--navy);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.page-header h1 {
  font-size: 2.8rem;
}

.page-header p {
  margin-top: 8px;
  opacity: 0.9;
}

.contact-card p {
  margin-bottom: 12px;
}

.contact-card a {
  font-weight: 600;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
    padding: 8px;
    line-height: 1;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow);
    z-index: 1000;
  }

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

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

  .logo-link img {
    height: 56px;
  }

  .nav-container {
    padding: 10px 16px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero {
    padding: 80px 0 60px;
  }

  .mission-vision,
  .two-col {
    grid-template-columns: 1fr !important;
  }

  .btn-secondary {
    margin-left: 0;
    margin-top: 12px;
    display: block;
  }

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

  .page-header {
    padding: 40px 0;
  }

  .page-header h1 {
    font-size: 2rem;
  }
}
