/* ===== CHOSANTA MANAGEMENT — HYBRID DESIGN (Three Steps + Pathways) ===== */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Nunito:wght@300;400;500;600;700;800&display=swap');

:root {
  /* NAVY — from both sites' nav bars */
  --navy: #1B2A4A;
  --navy-dark: #152238;
  --navy-light: #243759;
  /* GREEN — Pathways-style accent */
  --green: #4CAF50;
  --green-dark: #3D8B40;
  --green-bright: #5BC45F;
  /* BURGUNDY — Three Steps accent */
  --burgundy: #A21F55;
  --burgundy-light: #c43a70;
  /* TEAL — Three Steps secondary */
  --teal: #5BA8A0;
  --teal-dark: #3E8A82;
  /* NEUTRALS */
  --slate: #4A5568;
  --body-bg: #f0f4f8;
  --light-bg: #f7f9fc;
  --white: #ffffff;
  --text: #2D3748;
  --text-mid: #4A5568;
  --text-soft: #718096;
  --text-muted: #A0AEC0;
  --border: #E2E8F0;
  --border-light: #EDF2F7;
  /* SHADOWS */
  --shadow-sm: 0 1px 8px rgba(27,42,74,.06);
  --shadow-md: 0 4px 20px rgba(27,42,74,.1);
  --shadow-lg: 0 12px 40px rgba(27,42,74,.14);
  /* MISC */
  --radius: 10px;
  --radius-lg: 16px;
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--body-bg);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Lora', Georgia, serif; line-height: 1.3; color: var(--navy); }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 600; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

a { color: var(--green-dark); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--burgundy); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 28px; }

/* ================================================================
   TOP BAR — Dark navy like Pathways 
   ================================================================ */
.top-bar {
  background: var(--navy-dark);
  color: rgba(255,255,255,.85);
  font-size: 13px;
  padding: 8px 0;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.top-bar a { color: rgba(255,255,255,.85); }
.top-bar a:hover { color: #fff; }
.top-bar-left { display: flex; gap: 20px; align-items: center; }
.top-bar-right { display: flex; gap: 16px; align-items: center; }
.top-bar .btn-referral {
  background: var(--burgundy);
  color: #fff;
  padding: 7px 22px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.top-bar .btn-referral:hover { background: var(--burgundy-light); color: #fff; }

/* ================================================================
   NAVBAR — White bar, Three Steps layout
   ================================================================ */
.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}
.navbar .container { display: flex; justify-content: space-between; align-items: center; height: 78px; }
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo-icon {
  width: 48px; height: 48px;
  background: var(--navy);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 12px rgba(27,42,74,.2);
}
.logo-icon svg { width: 26px; height: 26px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-family: 'Lora', serif; font-size: 24px; font-weight: 700; color: var(--navy); }
.logo-sub { font-size: 9px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--green-dark); margin-top: 2px; }

.nav-links { display: flex; gap: 2px; list-style: none; }
.nav-links a {
  color: var(--text-mid);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 6px;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: .5px;
  position: relative;
}
.nav-links a:hover { color: var(--burgundy); background: rgba(162,31,85,.04); }
.nav-links a.active { color: var(--burgundy); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px; right: 16px;
  height: 3px;
  background: var(--burgundy);
  border-radius: 2px;
}

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { width: 24px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: var(--transition); }

/* ================================================================
   HERO — Full-width photo like Pathways, diagonal overlay from Three Steps
   ================================================================ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
/* Diagonal overlay — Three Steps style */
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(27,42,74,.88) 0%,
    rgba(27,42,74,.7) 35%,
    rgba(27,42,74,.2) 65%,
    transparent 100%
  );
}
/* Diagonal geometric triangles like Three Steps */
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 0 180px 600px;
  border-color: transparent transparent var(--teal) transparent;
  opacity: .15;
  z-index: 1;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 200px 700px 0 0;
  border-color: var(--navy) transparent transparent transparent;
  opacity: .1;
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 80px 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(76,175,80,.15);
  border: 1px solid rgba(76,175,80,.3);
  color: var(--green-bright);
  padding: 8px 22px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 span { color: var(--green-bright); font-style: italic; }
.hero-text { color: rgba(255,255,255,.88); font-size: 17px; line-height: 1.85; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ================================================================
   BUTTONS — Green from Pathways, rounded
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 28px;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 4px 16px rgba(76,175,80,.3);
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(76,175,80,.4); color: #fff; }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.4);
}
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: var(--green-bright); color: var(--green-bright); }

/* ================================================================
   PAGE HERO — Navy gradient for inner pages
   ================================================================ */
.page-hero {
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,42,74,.82), rgba(27,42,74,.6));
  z-index: 0;
}
.page-hero .container {
  position: relative;
  z-index: 1;
}
.page-hero h1 { color: #fff; }
.page-hero .tagline { color: var(--teal); font-size: 15px; font-weight: 500; font-style: italic; }
.breadcrumb { display: flex; gap: 8px; align-items: center; margin-bottom: 16px; font-size: 13px; color: rgba(255,255,255,.5); }
.breadcrumb a { color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: var(--green-bright); }

/* ================================================================
   SECTION
   ================================================================ */
.section { padding: 80px 0; }
.section-alt { background: var(--white); }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 50px; }
.section-header .overline {
  display: inline-block;
  font-family: 'Nunito', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 10px;
}
.section-header h2 { color: var(--navy); margin-bottom: 14px; }
.section-header p { color: var(--text-mid); font-size: 16px; }

/* ================================================================
   STATS BAR — Teal gradient (Three Steps)
   ================================================================ */
.stats-bar {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  padding: 50px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-item h3 { font-size: 2.2rem; color: #fff; margin-bottom: 6px; }
.stat-item p { color: rgba(255,255,255,.8); font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }

/* ================================================================
   VALUE CARDS — Pathways-style with green line icons, centered text
   ================================================================ */
.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; }
.value-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
  position: relative;
}
.value-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--teal));
  border-radius: 16px 16px 0 0;
  opacity: 0;
  transition: .4s ease;
}
.value-card:hover::before { opacity: 1; }
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.value-icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  color: var(--green);
}
.value-card h3 { color: var(--navy); margin-bottom: 12px; }
.value-card p { color: var(--text-mid); font-size: 14.5px; line-height: 1.75; }

/* VALUES TABS SWITCHER (MOBILE) */
.values-tabs {
  display: none;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.values-tab-btn {
  background: var(--white);
  border: 2px solid var(--border);
  color: var(--text-mid);
  padding: 8px 14px;
  border-radius: 20px;
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-sm);
}
.values-tab-btn:hover {
  border-color: var(--green);
  color: var(--green-dark);
}
.values-tab-btn.active {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(76,175,80,.2);
}

@media (max-width: 768px) {
  .values-tabs {
    display: flex;
  }
  .value-grid-mobile-tabs {
    grid-template-columns: 1fr !important;
    gap: 0;
  }
  .value-grid-mobile-tabs .value-card {
    display: none;
  }
  .value-grid-mobile-tabs .value-card.active {
    display: block;
    animation: valueFadeIn .4s ease;
  }
}

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

/* ================================================================
   CARDS — Three column like Pathways "About / Careers / Services"
   ================================================================ */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-img { height: 220px; overflow: hidden; position: relative; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: .5s ease; }
.card:hover .card-img img { transform: scale(1.04); }
/* Overlay text on card images — Pathways style */
.card-img-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(27,42,74,.7));
}
.card-img-overlay h3 { color: #fff; font-size: 1.4rem; }
.card-body { padding: 28px; }
.card-body h3 { color: var(--navy); margin-bottom: 10px; }
.card-body p { color: var(--text-mid); font-size: 15px; margin-bottom: 20px; }

/* ================================================================
   QUALITY TABS
   ================================================================ */
.quality-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; justify-content: center; }
.quality-tab {
  padding: 10px 24px;
  border-radius: 24px;
  border: 2px solid var(--border);
  background: var(--white);
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-mid);
  cursor: pointer;
  transition: var(--transition);
}
.quality-tab:hover { border-color: var(--green); color: var(--green-dark); }
.quality-tab.active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.quality-content { display: none; animation: fadeUp .5s ease; }
.quality-content.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* ================================================================
   CTA BANNER — Navy/Purple like Pathways "Reach Out" section
   ================================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  bottom: -60px; right: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(76,175,80,.08), transparent 70%);
  border-radius: 50%;
}
.cta-banner h2 { color: #fff; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,.8); margin-bottom: 28px; font-size: 16px; }

/* ================================================================
   CONTACT
   ================================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(76,175,80,.1);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.contact-info-card {
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  border-radius: var(--radius-lg);
  padding: 40px;
  color: #fff;
}
.contact-info-card h3 { color: #fff; margin-bottom: 24px; }
.contact-detail { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.contact-detail-icon {
  width: 46px; height: 46px;
  background: rgba(76,175,80,.15);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
}
.contact-detail h4 { color: var(--green-bright); font-family: 'Nunito', sans-serif; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 4px; }
.contact-detail p { color: rgba(255,255,255,.85); font-size: 14px; line-height: 1.65; }
.contact-detail a { color: rgba(255,255,255,.85); }
.contact-detail a:hover { color: var(--green-bright); }

.map-container { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); margin-top: 40px; }
.map-container iframe { width: 100%; height: 400px; border: 0; }

/* ================================================================
   CHECK LIST
   ================================================================ */
.check-list { list-style: none; }
.check-list li {
  position: relative;
  padding: 14px 18px 14px 48px;
  margin-bottom: 8px;
  background: var(--light-bg);
  border-radius: var(--radius);
  border-left: 3px solid var(--green);
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.6;
  transition: var(--transition);
}
.check-list li:hover { background: #e8f5e9; }
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--green);
  font-weight: 800;
  font-size: 14px;
}

/* ================================================================
   CONTENT BLOCK
   ================================================================ */
.content-block { max-width: 780px; margin: 0 auto; }
.content-block h2 { color: var(--navy); margin-bottom: 18px; position: relative; padding-bottom: 14px; }
.content-block h2::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--burgundy), var(--burgundy-light));
  border-radius: 2px;
}
.content-block h3 { color: var(--green-dark); margin: 28px 0 12px; }
.content-block p { color: var(--text-mid); font-size: 15.5px; margin-bottom: 16px; line-height: 1.8; }

/* ================================================================
   FOOTER — Dark navy like Pathways
   ================================================================ */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.75);
  padding: 60px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer h4 { color: #fff; font-family: 'Nunito', sans-serif; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 20px; }
.footer-about .logo { margin-bottom: 16px; }
.footer-about p { font-size: 14px; line-height: 1.75; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,.6); font-size: 14px; transition: var(--transition); }
.footer-links a:hover { color: var(--green-bright); padding-left: 4px; }
.footer-contact p { font-size: 13px; margin-bottom: 8px; display: flex; align-items: flex-start; gap: 8px; line-height: 1.6; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(255,255,255,.4);
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,.4); font-size: 12px; }
.footer-bottom-links a:hover { color: var(--green-bright); }

/* ================================================================
   SCROLL REVEAL
   ================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 968px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 78px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 16px; }
  .navbar .container { position: relative; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .top-bar-left { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 75vh; }
  .card-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .value-grid { grid-template-columns: 1fr; }
}
