
:root {
  --bg: #0B132B;
  --primary: #2563EB;
  --secondary: #015d47;
  --text: #E0F2FE;
  --accent: #F97316;
   --surface: #111C44;
   --subheaders:rgb(0, 88, 252);
   --cardBackground: #111C44;
}

body.theme-dark{
  --bg: #0B132B;
  --primary: #2563EB;
  --secondary: #015d47;
  --text: #E0F2FE;
  --accent: #F97316;
   --surface: #111C44;
   --subheaders:rgb(0, 88, 252);
   --cardBackground: #111C44;
    --surfaceOne: #0f40d3;
   
}

body.theme-neutral{
    --bg: #F4F2EE;
  --primary: #6E7F6A;  
  --secondary: #A89F91;
  --text: #2F2F2F;      
  --accent: #C7A27C;
  --surface: #d8bb8c;    
  --subheaders:#575844; 
    --cardBackground: #2F2F2F;
}

body.theme-bright{
   --bg: #d6dbdf; 
  --primary: #5B5FEF;   
  --secondary: #22D3EE; 
  --text: #0F172A;
  --accent: #FFCA3A; 
  --surface:#0c2366;
  --surfaceOne: #0a1e59;
  --subheaders:rgb(97, 4, 143);
    --cardBackground: rgb(97, 4, 143) ;
  --cardText:#E0F2FE;
  --heroStrong:rgb(0, 136, 255);

}

nav .logo img {
  height: 75px;   /* try 30–50px depending on your nav */
  width: auto;
  object-fit: contain;
}

/* =========================
   NAV DROPDOWN
========================= */

.dropdown-nav {
  position: relative;
}

.dropdown-btn {
  background: none;
  border: none;
  color: var(--secondary);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
}

.dropdown-content {
  position: absolute;
  top: 100%;

  left: 50%;
  transform: translateX(-50%);

  min-width: 220px;
  max-width: 90vw;

  background: white;
  border-radius: 12px;

  box-shadow: 0 10px 25px rgba(0,0,0,0.15);

  display: none;
  flex-direction: column;

  overflow: hidden;
  z-index: 1000;
}

.dropdown-content a {
  padding: 1rem 1.2rem;
  color: var(--secondary);
  text-decoration: none;
  transition: background 0.2s ease;
}

.dropdown-content a:hover {
  background: rgba(0,0,0,0.05);
}

.dropdown-nav:hover .dropdown-content {
  display: flex;
}

/* ********************************************************* */




.purple{
  color:rgb(97, 4, 143);
}

.orange{
 color:rgb(253, 135, 0)
}

.yellow{
   color:rgb(253, 228, 0)
}

.green{
   color:rgb(63, 253, 0)
}

.blue{
  color:rgb(0, 136, 255)
}

.pink{
  color:rgb(255, 0, 183)
}

.red{
  color:rgb(240, 70, 70)
}

html{
  font-size: 1.5rem;
}

p{
  text-align: center;
}

h1, h2, h3{
  text-align: center;
}

main > h1 {
  text-align: center;
  margin-top: 3rem;
  font-size: 2.5rem;
}

main {
  max-width: 1100px;
  margin: auto;
  padding: 2rem;
}

main h1{
  text-align: center;
  color: var(--accent)
}

.hero {
  text-align: center;
  padding: 4rem 2rem;
  
}

.hero h1{
color:var(--subheaders);
}

.hero strong{
  color:var(--heroStrong);
}

body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}

section {
  max-width: 1100px;
  margin: 4rem auto;
  padding: 0 2rem;
}

/* .callout {
  max-width: 800px;
  margin: 4rem auto;
  padding: 2rem;
  background: var(--surface);
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
} */

/* NAV */
nav {
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding: 1.5rem;
  background: white;
}

nav a {
  text-decoration: none;
  color: var(--secondary);
  font-weight: 600;
}

/* HERO */
header {
  text-align: center;
  padding: 4rem 2rem;
}

header h1 {
  font-size: 2.8rem;
}

header p {
  max-width: 700px;
  margin: auto;
}

.button {
  margin-top: 1.5rem;
  padding: 0.8rem 2rem;
  border-radius: 40px;
  border: none;
  background: var(--primary);
  color: var(--text);
  cursor: pointer;
  text-decoration: none;
}

summary{
  color:var(--subheaders)
}


strong{
  color: var(--secondary)
}

/* VIDEO */
.video-section {
  max-width: 900px;
  margin: 4rem auto;
  padding: 0 2rem;
  text-align: center;
}

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;   
  border-radius: 20px;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;              
  width: 100%;
  height: 100%;
  border: 0;
}


/* Alternating layout */
.alt-item {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 4rem;
}

.alt-item:nth-child(even) {
  flex-direction: row-reverse;
}

.alt-text,
.alt-image {
  flex: 1;
}

.alt-image img {
  width: 100%;
  border-radius: 20px;
  display: block;
}

/* SPLIT SECTIONS */
.split {
  display: flex;
  align-items: center;
  gap: 3rem;
  max-width: 1100px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.split:nth-child(even) {
  flex-direction: row-reverse;
}

.split img {
  width: 50%;
  border-radius: 20px;
}

.split-text {
  width: 50%;
}

.split-text h2 {
  /* color: var(--accent); */
    color:var(--subheaders);
}

.split h2{
  /* color: var(--accent); */
    color:var(--subheaders);
}

/* NEW SERVICE PATHWAY SECTION */
.pathway {
  max-width: 1000px;
  margin: 5rem auto;
  padding: 0 2rem;
  text-align: center;
}

.pathway h2 {
  margin-bottom: 3rem;
}

.steps {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
}

.step {
  flex: 1;
  padding: 2rem 1.5rem;
  background: var(--primary); /* slightly lighter than bg */
  border-radius: 20px;
  position: relative;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin: 0 auto 1rem auto;
}

.step h3 {
  margin-top: 0;
  color: var(--text); /* high contrast */
}

.step p {
  color: #C7E0F5; /* softer readable blue-white */
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
}

div h3{
  color:var(--subheaders)
}

section h2{
  color:var(--subheaders);
}

/************************
grids 
************************/
.grid-3 {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 2rem;
  color:white;
  
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-3 > div:not(.card):not(.expand-card) {
  flex: 1;
  padding: 1.5rem;
  /* background: var(--surface); */
  /* background:rgb(97, 4, 143); */
   background:rgb(111, 10, 161);
  border-radius: 20px;
}

.grid-3 ul{
    list-style: none;
  padding: 0;
  margin: 0;
  color:white;
}

.grid-3 strong{
  color:rgb(255, 255, 0);
}

.One {
  color:rgb(0, 221, 255);

}

.two{
  color:rgb(255, 30, 0);

}

section h2{
  color:var(--subheaders)
}

/************************
buttons
************************/

.button-link {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.7rem 1.2rem;
  background: var(--accent);
  color: white;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

/* =========================
   NAVIGATION
========================= */

.navigate {
  background: #ffffff;
  border-bottom: 1px solid #e6e6e6;
  width: 100%;
}

.navigate nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  gap: 2.5rem;
}

nav a {
  text-decoration: none;
  color: var(--secondary);
  font-weight: 600;
}

/* =========================
   RESPONSIVE SECTION
========================= */

.responsive-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  max-width: 1100px;
  margin: 3rem auto;
  padding: 0 2rem;
}

.responsive-section img {
  width: 50%;
  border-radius: 14px;
}

.mobile-dropdown {
  width: 50%;
}

.mobile-dropdown summary {
  font-size: 2rem;
  font-weight: 600;
  list-style: none;
}

.mobile-dropdown summary::-webkit-details-marker {
  display: none;
}

.mobile-dropdown p {
  margin-top: 1rem;
}



/* =========================
   Cards
========================= */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--cardBackground);
  border-radius: 18px;
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  background: var(--card-accent, var(--accent));
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  position: absolute;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

.card h3 {
  margin-top: 0;
  font-size: 1.3rem;
  color: white;
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
  margin: 1rem 0;
}

.card p {
  color: #e7e7e7;
}

.card a {
  display: inline-block;
  margin-top: 1.2rem;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.expand-card {
  flex: 1 1 300px; 
  padding: 1.5rem; 
  background: rgb(111, 10, 161); 
  border-radius: 20px;
  
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 15px 35px rgba(0,0,0,0.35);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.expand-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
  
}

.expand-card p {
  color: white;
}

/* LEAP CARDS */

.cardLeap {
  background: var(--cardBackground);
  border-radius: 18px;
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cardLeap::before {
  content: "";
  background: var(--heroStrong, var(--accent));
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  position: absolute;
}

.cardLeap:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

.cardLeap h3 {
  margin-top: 0;
  font-size: 1.3rem;
  color: var(--heroStrong);
}

.cardLeap p {
  color: #e7e7e7;
}

.cardLeap a {
  display: inline-block;
  margin-top: 1.2rem;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}


/* dropdown behavior ONLY for expand cards */
.expand-card .dropdown {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  opacity: 0;
}

.expand-card h3{
  color:var(--accent);
}

.expand-card.active .dropdown {
  max-height: 600px;
  opacity: 1;
  margin-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1rem;
}

.expand-card a {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.4rem 0.8rem;
  background: var(--primary);
  border-radius: 8px;
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  transition: 0.2s ease;
}

.expand-card a:hover {
  background: var(--accent);
}

.clickable {
  cursor: pointer;
}

/* =========================
   Time Line
========================= */

.timeline-section {
  max-width: 900px;
  margin: 3rem auto;
  padding: 2rem;
}

.timeline-section h1 {
  text-align: center;
  color: var(--text);
  margin-bottom: 3rem;
}

.timeline {
  position: relative;
  padding-left: 2rem;
  border-left: 3px solid var(--surfaceOne);
}

.timeline-item {
  margin-bottom: 2.5rem;
  position: relative;
  color:white;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -11px;
  top: 5px;
  width: 14px;
  height: 14px;
  background: var(--subheaders);
  border-radius: 50%;
}

.timeline-date {
  font-weight: bold;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.timeline-content {
  background: var(--cardBackground);
  padding: 1.5rem;
  border-radius: 12px;
}

/* =========================
   DONATION PAGE
========================= */

.donation-section {
  max-width: 1100px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.donation-card {
  display: flex;
  align-items: center;
  gap: 3rem;

  background: var(--cardBackground);
  border-radius: 24px;
  padding: 2rem;

  border: 1px solid rgba(255,255,255,0.08);

  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}

.donation-image,
.donation-text {
  flex: 1;
}

.donation-image img {
  width: 100%;
  border-radius: 20px;
  display: block;
}

.donation-text h2 {
  color: var(--subheaders);
  margin-top: 0;
}

.donation-text p {
  text-align: left;
  line-height: 1.7;
  margin-bottom: 1.2rem;
  color:var(--cardText)
}

.donation-text .button-link {
  margin-top: 1rem;
}

.callout {
  max-width: 800px;
  margin: 4rem auto;
  padding: 2.5rem;

  background: var(--cardBackground);

  border-radius: 20px;

  text-align: center;

  border: 2px solid var(--accent);

  box-shadow:
    0 15px 35px rgba(0,0,0,0.45),
    0 0 25px rgba(0,0,0,0.2);
}

.callout h2 {
  color: var(--accent);
  margin-top: 0;
}

.callout p {
  color: var(--cardText);
  line-height: 1.7;
}

/* =========================
   CAREERS PAGE
========================= */

.career-section {
  max-width: 1100px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.career-card {
  display: flex;
  align-items: center;
  gap: 3rem;

  background: var(--cardBackground);

  padding: 2rem;

  border-radius: 24px;

  border: 1px solid rgba(255,255,255,0.08);

  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}

.career-image,
.career-text {
  flex: 1;
}

.career-image img {
  width: 100%;
  border-radius: 20px;
  display: block;
}

.career-text h2 {
  color: var(--subheaders);
  margin-top: 0;
}

.career-text p {
  text-align: left;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

/* SERVICES AND PROGRAMS */

.service-showcase {
  max-width: 1200px;
  margin: 5rem auto;
  padding: 0 2rem;
}

.service-feature {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 5rem;
}

.service-feature.reverse {
  flex-direction: row-reverse;
}

.service-image,
.service-info {
  flex: 1;
}

.service-image img {
  width: 100%;
  border-radius: 24px;
  display: block;

  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}

.service-info h2 {
  color: var(--subheaders);
  margin-bottom: 1rem;
}

.service-info p {
  line-height: 1.8;
  text-align: left;
}


/* Contact Us */

.contact-section {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.contact-card {
  display: flex;
  gap: 3rem;
  align-items: stretch;

  background: var(--cardBackground);

  border-radius: 24px;

  padding: 2rem;

  border: 1px solid rgba(255,255,255,0.08);

  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}

.contact-info,
.contact-map {
  flex: 1;
}

.contact-info h2 {
  color: var(--subheaders);
  margin-top: 0;
}

.contact-intro {
  margin-bottom: 2rem;
  line-height: 1.7;
  color:var(--cardText)
}

.contact-details p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
  text-align: left;
  color:var(--orange);
}

.contact-details a {
  color: var(--accent);
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}


.contact-map iframe {
  width: 100%;
  height: 350px;

  border: 0;
  border-radius: 20px;
}

.building-photo {
  width: 100%;
  height: 260px;
  object-fit: cover;

  border-radius: 20px;

  margin-bottom: 1.5rem;

  box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

/* MOBILE */

@media (max-width: 768px) {

}

/* =====================================
   TABLET
===================================== */

@media (max-width: 1024px) {

  html{
    font-size: 1.2rem;
  }

  nav{
    gap: 1.5rem;
    padding: 1rem;
    flex-wrap: wrap;
  }

  .split,
  .service-feature,
  .career-card,
  .donation-card,
  .responsive-section,
  .alt-item{
    gap: 2rem;
  }

  section{
    margin: 3rem auto;
  }

  .steps{
    gap: 1rem;
  }

  .card-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}


/* =====================================
   MOBILE
===================================== */

@media (max-width: 768px) {

  html{
    font-size: 1rem;
  }

  body{
    overflow-x: hidden;
  }

  section{
    padding: 0 1rem;
    margin: 2.5rem auto;
  }

  /* NAV */

  nav{
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
  }

  nav .logo{
    width: 100%;
    text-align: center;
  }

  nav .logo img{
    height: 60px;
  }


  .dropdown-nav {
    position: relative;
  }

  .dropdown-content {
    position: absolute;

    top: calc(100% + 0.5rem);
    left: 50%;

    transform: translateX(-50%);

    width: 220px;
    max-width: 90vw;

    max-height: 60vh;
    overflow-y: auto;

    z-index: 1000;
  }


  /* HERO */

  header{
    padding: 2.5rem 1rem;
  }

  header h1{
    font-size: 2rem;
  }

  /* KEEP SPLIT LAYOUTS SIMILAR */

  .split,
  .service-feature,
  .service-feature.reverse,
  .career-card,
  .donation-card,
  .responsive-section,
  .alt-item,
  .alt-item:nth-child(even){

    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }

  .split img,
  .split-text,
  .service-image,
  .service-info,
  .career-image,
  .career-text,
  .donation-image,
  .donation-text{
    width: 50%;
    flex: 1;
  }

    .split {
    flex-direction: column;
    gap: 1.5rem;
    padding: 0 1rem;
    text-align: center;
  }

  .split img {
    width: 100%;
    max-width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 18px;
    order: -1; /* moves image above text */
  }

  .split-text {
    width: 100%;
  }

  .split-text p {
    text-align: center;
    line-height: 1.7;
    max-width: 95%;
    margin: 0 auto 1rem auto;
  }

  .split-text h2 {
    margin-bottom: 1rem;
  }

  /* STACK ONLY WHEN NECESSARY */

  .steps{
    flex-direction: column;
  }

  .card-grid{
    grid-template-columns: 1fr;
  }

  /* TIMELINE */

  .timeline{
    padding-left: 1.2rem;
  }

  .timeline-content{
    padding: 1rem;
  }

  /* BUTTONS */

  .button-link,
  .button{
    width: auto;
    font-size: 0.95rem;
  }

  /* contact us */

  .contact-card {
    flex-direction: column;
  }

  .contact-details p {
    text-align: center;
  }

  .contact-map iframe {
    min-height: 300px;
  }
}


/* =====================================
   SMALL PHONES
===================================== */

@media (max-width: 560px) {

  .split,
  .service-feature,
  .service-feature.reverse,
  .career-card,
  .donation-card,
  .responsive-section,
  .alt-item,
  .alt-item:nth-child(even){

    flex-direction: column;
    text-align: center;
  }

  .split img,
  .split-text,
  .service-image,
  .service-info,
  .career-image,
  .career-text,
  .donation-image,
  .donation-text{
    width: 100%;
  }

  .service-info p,
  .career-text p,
  .donation-text p{
    text-align: center;
  }

  header h1{
    font-size: 1.7rem;
  }
}