/* =======================================
   DESIGN SYSTEM & VARIABLES
   ======================================= */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Brand Colors */
  --primary: #1282a2; /* Friendly Teal/Blue */
  --primary-light: #e1f4f8;
  --secondary: #ff7f50; /* Playful Coral */
  --secondary-light: #ffeee6;
  --accent: #ffb703; /* Warm Yellow */
  --text-main: #2b2d42; /* Deep Navy text */
  --text-muted: #6c757d;
  --bg-main: #ffffff;
  --bg-slate: #f8f9fa;
  
  /* Utilities */
  --border-radius: 16px;
  --card-shadow: 0 10px 30px rgba(0,0,0,0.05);
  --header-height: 80px;

  /* Animation */
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* =======================================
   RESET & BASE STYLES
   ======================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: 'Outfit', sans-serif;
  color: var(--text-main);
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.75rem;
}

p {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

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

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

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

/* =======================================
   BUTTONS
   ======================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-weight: 600;
  font-size: 1.125rem;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--secondary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 127, 80, 0.3);
}

.btn-primary:hover {
  background-color: #e66a3d;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 127, 80, 0.4);
  color: #fff;
}

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

.btn-outline:hover {
  background-color: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

/* =======================================
   HEADER & NAVIGATION
   ======================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 2px;
}

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

.nav-links a {
  color: var(--text-main);
  font-weight: 500;
  font-size: 1rem;
  position: relative;
}

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

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

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

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-main);
}

/* =======================================
   HERO SECTION
   ======================================= */
.hero {
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 6rem;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg-shape {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: var(--primary-light);
  border-radius: 50%;
  z-index: -1;
  filter: blur(60px);
}

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

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

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-wrapper img {
  border-radius: 30px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  transform: rotate(2deg);
  transition: var(--transition);
}

.hero-image-wrapper:hover img {
  transform: rotate(0deg) scale(1.02);
}

.hero-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: white;
  padding: 1.5rem;
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: bounce 3s infinite ease-in-out;
}

.hero-badge .icon {
  width: 40px;
  height: 40px;
  background: var(--secondary-light);
  color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.hero-badge div h4 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text-main);
}
.hero-badge div p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}


/* =======================================
   SERVICES GRID (PILLARS)
   ======================================= */
.services-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

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

.service-card {
  background: white;
  padding: 2.5rem;
  border-radius: 24px;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-light) 0%, transparent 100%);
  opacity: 0;
  transition: var(--transition);
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.service-card:hover::before {
  opacity: 1;
}

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

.service-card:nth-child(2) .service-icon { background: var(--secondary-light); color: var(--secondary); }
.service-card:nth-child(3) .service-icon { background: #fff3e0; color: var(--accent); }
.service-card:nth-child(4) .service-icon { background: #f3e5f5; color: #9c27b0; }

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-weight: 600;
}

.service-link:hover {
  gap: 0.8rem;
}

/* =======================================
   PROGRAMS / ABOUT
   ======================================= */
.programs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.program-image {
  position: relative;
}

.program-image img {
  border-radius: 30px;
  box-shadow: var(--card-shadow);
}

.program-list {
  list-style: none;
  margin-top: 2rem;
}

.program-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.program-list .icon {
  color: var(--primary);
  background: var(--primary-light);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 4px;
}

.program-list h4 {
  margin-bottom: 0.25rem;
}

/* =======================================
   TESTIMONIALS
   ======================================= */
.testimonials {
  text-align: center;
}

.testimonial-card {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 3rem;
  border-radius: 30px;
  box-shadow: var(--card-shadow);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 40px;
  font-size: 8rem;
  color: var(--primary-light);
  font-family: serif;
  line-height: 1;
  z-index: 0;
}

.testimonial-text {
  font-size: 1.5rem;
  color: var(--text-main);
  font-style: italic;
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
}

.testimonial-author {
  font-weight: 700;
  color: var(--primary);
}

/* =======================================
   CONTACT / CTA
   ======================================= */
.contact-section {
  background-color: var(--primary);
  color: white;
  border-radius: 40px;
  padding: 5rem 3rem;
  margin: 0 2rem 6rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h2 {
  color: white;
}

.contact-info p {
  color: rgba(255,255,255,0.8);
}

.info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.info-item .icon {
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.contact-form {
  background: white;
  padding: 3rem;
  border-radius: 20px;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.hipaa-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 1rem;
  justify-content: center;
}

/* =======================================
   FOOTER
   ======================================= */
.footer {
  background-color: var(--text-main);
  color: white;
  padding: 4rem 0 2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-about p {
  color: rgba(255,255,255,0.7);
  max-width: 400px;
  margin-top: 1rem;
}

.footer h4 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
}

/* =======================================
   ANIMATIONS & UTILITIES
   ======================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

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

/* PILLAR PAGE STYLES */
.page-header {
  padding: 8rem 0 4rem 0;
  background-color: var(--primary-light);
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.page-content {
  padding: 4rem 0;
}

.content-block {
  margin-bottom: 3rem;
}

.content-block h2 {
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.content-block ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.content-block li {
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  font-size: 1.125rem;
}

/* =======================================
   RESPONSIVE DESIGN
   ======================================= */
@media (max-width: 992px) {
  h1 { font-size: 2.8rem; }
  .hero-grid, .programs-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-image-wrapper { margin-top: 2rem; }
  .contact-section { 
    grid-template-columns: 1fr; 
    margin: 0 0 4rem 0;
    border-radius: 0;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    clip-path: circle(0% at top right);
    transition: all 0.5s ease-in-out;
  }
  .nav-links.active {
    clip-path: circle(150% at top right);
  }
  .mobile-menu-btn { display: block; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero { padding-top: 6rem; }
}
