@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --top-bar-bg: #E64A19;
  --navy-primary: #0A4260;
  --navy-hover: #073046;
  --action-teal: #0082AD;
  --action-teal-hover: #00688B;
  --magenta-accent: #C2185B;
  --magenta-hover: #9C1045;
  --lawn-green: #2E7D32;
  --lawn-green-hover: #1B5E20;
  --alert-red: #D32F2F;
  --alert-red-hover: #B71C1C;
  --heading-dark: #0F172A;
  --body-slate: #475569;
  --bg-white: #FFFFFF;
  --bg-mint: #F0FDF4;
  --bg-slate: #F8FAFC;
  --border-light: #E2E8F0;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 25px rgba(10, 66, 96, 0.12);
}

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

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--body-slate);
  background-color: var(--bg-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--heading-dark);
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

h1 { font-size: 2.6rem; letter-spacing: -0.02em; }
h2 { font-size: 2.1rem; letter-spacing: -0.015em; margin-top: 1.5rem; }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.2rem; }

p {
  margin-bottom: 1.2rem;
  max-width: 75ch;
}

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

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

/* TOP UTILITY BAR */
.top-bar {
  background-color: var(--top-bar-bg);
  color: #FFFFFF;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-notice {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.top-bar-links a {
  color: #FFFFFF;
  text-decoration: none;
  opacity: 0.95;
  font-weight: 500;
  padding: 0.2rem 0;
}

.top-bar-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* MAIN HEADER */
.main-header {
  background-color: var(--navy-primary);
  color: #FFFFFF;
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: var(--shadow-md);
}

.header-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-symbol {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--lawn-green), var(--action-teal));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-title {
  color: #FFFFFF;
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.brand-tagline {
  color: #CBD5E1;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* NAVIGATION MENU */
.main-nav {
  display: flex;
  align-items: center;
}

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

.nav-item {
  position: relative;
}

.nav-link {
  color: #F1F5F9;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.65rem 0.9rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 44px;
  min-width: 44px;
}

.nav-link:hover, .nav-item:hover > .nav-link {
  background-color: var(--navy-hover);
  color: #FFFFFF;
}

/* DROPDOWN */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #FFFFFF;
  min-width: 240px;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
  border: 1px solid var(--border-light);
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 0.65rem 1.25rem;
  color: var(--heading-dark);
  font-size: 0.9rem;
  font-weight: 500;
  min-height: 44px;
  line-height: 1.4;
}

.dropdown-link:hover {
  background-color: var(--bg-slate);
  color: var(--action-teal);
  padding-left: 1.5rem;
}

/* MOBILE NAV TOGGLE */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: #FFFFFF;
  font-size: 1.5rem;
  padding: 0.5rem;
  border-radius: 8px;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

/* STICKY ACTION STRIP */
.action-strip {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
  padding: 0.65rem 1.5rem;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 68px;
  z-index: 850;
}

.action-strip-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.action-strip-badge {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--lawn-green);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.action-strip-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.65rem 1.3rem;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  min-height: 44px;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.btn-teal {
  background-color: var(--action-teal);
  color: #FFFFFF;
}
.btn-teal:hover {
  background-color: var(--action-teal-hover);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.btn-magenta {
  background-color: var(--magenta-accent);
  color: #FFFFFF;
}
.btn-magenta:hover {
  background-color: var(--magenta-hover);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.btn-green {
  background-color: var(--lawn-green);
  color: #FFFFFF;
}
.btn-green:hover {
  background-color: var(--lawn-green-hover);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.btn-alert-red {
  background-color: var(--alert-red);
  color: #FFFFFF;
}
.btn-alert-red:hover {
  background-color: var(--alert-red-hover);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  color: var(--navy-primary);
  border: 1.5px solid var(--navy-primary);
}
.btn-outline:hover {
  background-color: var(--navy-primary);
  color: #FFFFFF;
}

/* CONTAINER & LAYOUT */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

.section-hero {
  background: linear-gradient(135deg, #0A4260 0%, #0F2D3D 100%);
  color: #FFFFFF;
  padding: 4rem 1.5rem 3.5rem;
  position: relative;
}

.hero-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.hero-summary-2-sentences {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #E2E8F0;
  margin-bottom: 1.5rem;
  font-weight: 500;
  border-left: 4px solid var(--top-bar-bg);
  padding-left: 1rem;
  max-width: 68ch;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* ASYMMETRIC ORGANIC LEAF BORDERS FOR MEDIA CARDS */
.leaf-card-media {
  border-radius: 20px 80px 20px 80px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid rgba(255, 255, 255, 0.25);
  background-color: #000;
  line-height: 0;
}

.leaf-card-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  transition: transform 0.4s ease;
}

.leaf-card-media:hover img {
  transform: scale(1.03);
}

/* STANDALONE NOTRE MISSION CARD (120-150 words) */
.notre-mission-highlight-card {
  background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
  border: 2px solid #86EFAC;
  border-radius: 16px;
  padding: 2rem;
  margin: 2.5rem 0;
  box-shadow: var(--shadow-md);
  position: relative;
}

.notre-mission-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.notre-mission-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-color: var(--lawn-green);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.notre-mission-title {
  font-size: 1.6rem;
  color: var(--lawn-green-hover);
  margin-bottom: 0;
}

.notre-mission-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #1E293B;
  font-weight: 500;
}

/* METRICS GRID */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.metric-item {
  background: var(--bg-slate);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}

.metric-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--action-teal);
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

.metric-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--heading-dark);
}

/* CARDS GRID */
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

.cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

.content-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.card-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
  width: fit-content;
}

.tag-green { background: #DCFCE7; color: var(--lawn-green); }
.tag-teal { background: #E0F2FE; color: var(--action-teal); }
.tag-magenta { background: #FCE7F3; color: var(--magenta-accent); }
.tag-orange { background: #FFEDD5; color: var(--top-bar-bg); }

/* ACCORDION */
.accordion {
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  margin: 2rem 0;
}

.accordion-item {
  border-bottom: 1px solid var(--border-light);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: #FFFFFF;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--heading-dark);
  cursor: pointer;
  text-align: left;
  min-height: 44px;
}

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

.accordion-icon {
  font-size: 1.4rem;
  color: var(--action-teal);
  transition: transform 0.2s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-content {
  display: none;
  padding: 1.25rem 1.5rem;
  background-color: var(--bg-slate);
  border-top: 1px solid var(--border-light);
  font-size: 0.98rem;
}

.accordion-item.active .accordion-content {
  display: block;
}

/* FORMS */
.form-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  max-width: 680px;
  margin: 0 auto;
}

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

.form-label {
  display: block;
  font-weight: 600;
  color: var(--heading-dark);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  border: 1.5px solid var(--border-light);
  border-radius: 8px;
  background: #FFFFFF;
  color: var(--heading-dark);
  transition: border-color 0.2s ease;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--action-teal);
  box-shadow: 0 0 0 3px rgba(0, 130, 173, 0.15);
}

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

/* MODAL */
.modal-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-backdrop.active {
  display: flex;
}

.modal-box {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 2.5rem;
  max-width: 500px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: modalEnter 0.25s ease-out;
}

@keyframes modalEnter {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #DCFCE7;
  color: var(--lawn-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.25rem;
}

/* FOOTER */
.site-footer {
  background-color: var(--heading-dark);
  color: #94A3B8;
  padding: 4rem 1.5rem 2rem;
  margin-top: 4rem;
  font-size: 0.92rem;
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
}

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

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background-color: var(--action-teal);
}

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

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

.footer-links a {
  color: #CBD5E1;
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-block;
  min-height: 24px;
}

.footer-links a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.footer-accreditations {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.accreditation-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #F1F5F9;
  font-weight: 500;
  font-size: 0.9rem;
}

.accreditation-badge {
  background: var(--navy-primary);
  border: 1px solid var(--action-teal);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  color: #FFFFFF;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
}

.mandatory-legal-disclosure {
  background-color: rgba(10, 66, 96, 0.4);
  border-left: 4px solid var(--top-bar-bg);
  padding: 1.25rem 1.5rem;
  border-radius: 0 8px 8px 0;
  margin-bottom: 2rem;
  color: #E2E8F0;
  font-size: 0.88rem;
  line-height: 1.6;
}

.copyright-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

/* RESPONSIVENESS */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .cards-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.65rem; }
  .top-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .mobile-nav-toggle {
    display: flex;
  }
  .main-nav {
    display: none;
    width: 100%;
    margin-top: 1rem;
  }
  .main-nav.active {
    display: block;
  }
  .nav-list {
    flex-direction: column;
    width: 100%;
  }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: rgba(255,255,255,0.05);
    margin-left: 1rem;
  }
  .dropdown-link {
    color: #E2E8F0;
  }
  .cards-grid-3, .cards-grid-2 {
    grid-template-columns: 1fr;
  }
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .action-strip-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .action-strip-buttons {
    width: 100%;
  }
  .action-strip-buttons .btn {
    flex: 1;
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
  }
}
