
:root{
  --yos-orange:#f26f23;
  --ink:#0a0a0a;
  --muted:#666;
  --soft:#fafafa;
  --line:#ececec;
  --shadow:0 16px 34px rgba(0,0,0,.08);
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;scroll-behavior:smooth}
body{font-family:Avenir,system-ui,-apple-system,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;color:var(--ink);background:#fff}

.topbar{background:var(--yos-orange);color:#fff;font-size:16px;padding:6px 16px;text-align:center}
.nav{position:sticky;top:0;background:#fff;border-bottom:1px solid var(--line);z-index:60}
.nav .inner{max-width:1200px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;padding:12px 18px}
.nav .brand{display:flex;align-items:center;gap:12px}
.nav .brand img{height:64px}
.nav .cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    background: var(--yos-orange);
    color: #fff;
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 16px; /* control text size */
    box-shadow: var(--shadow);
    line-height: 1.2; /* keeps it compact */
}

.hero{position:relative}
.hero img{width:100%;height:auto;display:block;filter:contrast(108%) saturate(102%)}
.overlay{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:20px}
.kicker{display:inline-block;background:#fff;color:var(--ink);padding:6px 12px;border-radius:999px;font-size:13px;margin-bottom:10px}
h1{color:#fff;font-weight:900;font-size:clamp(30px,5.4vw,62px);margin:6px 0 8px;text-shadow:0 14px 36px rgba(0,0,0,.38)}
.hero .sub{color:#f3f3f3;font-size:clamp(14px,2vw,18px)}

.section{max-width:1180px;margin:0 auto;padding:48px 20px}
.rule{width:72px;height:4px;background:var(--yos-orange);border-radius:3px;margin:8px 0 18px}

.usp{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:-56px}
.usp .item{background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);padding:20px;text-align:center}
.usp .title{color:var(--yos-orange);font-weight:900;font-size:18px}
.usp .copy{color:#333;margin-top:6px}

.panel{background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);padding:26px}

.svcs{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.card{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 10px 26px rgba(0,0,0,.06);transition:transform .2s ease, box-shadow .2s ease}
.card img{width:100%;height:200px;object-fit:cover;display:block}
.card .txt{padding:14px}
.card h3{margin:0 0 6px;color:var(--yos-orange);font-size:18px}
.card p{margin:0;color:#333}
.card:hover{transform:translateY(-2px);box-shadow:0 18px 36px rgba(0,0,0,.12)}

.split{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.split .bio{border:1px solid var(--line);border-radius:16px;padding:18px;box-shadow:var(--shadow)}

.strip{margin:36px 0}
.strip img{width:100%;display:block}

.map-wrap{display:grid;grid-template-columns:2fr 1fr;gap:18px}
.map{border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:var(--shadow)}
.address{border:1px solid var(--line);border-radius:16px;padding:18px;box-shadow:var(--shadow);background:#fff}

.cta-wrap{max-width:100%;padding:48px 20px;text-align:center;margin:16px 0 0}
.cta-btn{display:inline-block;background:var(--yos-orange);color:#fff;text-decoration:none;padding:12px 18px;border-radius:12px;font-weight:900;box-shadow:var(--shadow)}

.footer{background:#0f0f0f;color:#fff;margin-top:44px}
.footer .inner{max-width:1180px;margin:0 auto;padding:24px 20px;display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap}
.small{color:#cfcfcf;font-size:15px}

@media(max-width:900px){
  .usp{grid-template-columns:1fr}
  .svcs{grid-template-columns:1fr 1fr}
  .split{grid-template-columns:1fr}
  .map-wrap{grid-template-columns:1fr}
}
@media(max-width:600px){
  .svcs{grid-template-columns:1fr}
}

@media (max-width: 768px) {
    .nav .cta {
        padding: 8px 12px;
        font-size: 14px;
        border-radius: 8px;
        font-weight: 700; /* slightly lighter */
        gap: 6px;
    }
}

@media (max-width: 480px) {
    .nav .cta {
        padding: 6px 10px;
        font-size: 13px;
        border-radius: 6px;
        font-weight: 600;
        gap: 4px;
    }
}


.nav .contact-links {
  display: flex;
  gap: 10px; /* space between phone and email */
  flex-wrap: wrap;
}

.nav .cta.email {
  background: #333; /* dark background for contrast */
  font-weight: 700;
}

.nav .cta.email:hover {
  background: var(--yos-orange); /* highlight on hover */
}



.cards-section {
  padding: 60px 20px;
  background: #f9f9f9;
}

.cards-section .section-title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 40px;
  font-weight: 700;
  color: #222;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;   /* prevents full width stretch */
  margin: 0 auto;       /* centers the grid */
}

.card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
  padding: 16px;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}

.card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.card h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #222;
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}

.card p {
  margin-top: 12px;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
}


.hero-ed {
  position: relative;
  width: 100%;
  height: 320px; /* reduced height */
  overflow: hidden;
}

.hero-ed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.85) contrast(1.05); /* darken image slightly */
}

.overlay-ed {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.45); /* darker layer for readability */
}

.overlay-ed h1 {
  color: #fff;
  font-weight: 900;
  font-size: clamp(28px, 4.5vw, 50px);
  margin: 10px 0;
  text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.overlay-ed .sub {
  color: #f0f0f0;
  font-size: clamp(14px, 2vw, 18px);
  max-width: 700px;
  margin-top: 6px;
  line-height: 1.5;
}

.overlay-ed .kicker {
  display: inline-block;
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13px;
  margin-bottom: 10px;
  font-weight: 600;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .hero-ed {
    height: 240px;
  }
  .overlay-ed h1 {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .hero-ed {
    height: 200px;
  }
  .overlay-ed {
    padding: 16px;
  }
  .overlay-ed h1 {
    font-size: 1.4rem;
  }
}

/* Causes Section — compact with uploaded image */
.section-causes {
  width: 100%;
  background: #f9f9f9;
  padding: 20px 20px; /* reduced top padding */
  margin: 0;
}

.section-causes .inner-causes {
  max-width: 1180px;
  margin: 0 auto;
}

.section-causes h2 {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--yos-orange);
  margin-bottom: 12px;
}

.section-causes .rule {
  margin-bottom: 16px;
}

/* Flex layout for top-aligned image */
.split-flex {
  display: flex;
  gap: 20px;
  align-items: flex-start; /* top align */
  flex-wrap: wrap;
}

.text-col {
  flex: 1 1 50%;
}

.img-col {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start; /* ensures top alignment */
}

.img-col img {
  width: 100%;
  height: 285px;          /* fixed height */
  object-fit: cover;      /* crop to fit container */
  border-radius: 12px;
  box-shadow: var(--shadow);
  display: block;
  margin-top: 0;
  align-self: flex-start; /* aligns top of image with text top */
}

/* Responsive stacking */
@media (max-width: 900px) {
  .split-flex {
    flex-direction: column;
    gap: 16px;
  }
  .img-col img {
    height: 200px; /* slightly shorter on mobile */
  }
}

.img-col1 {
  flex: 1 1 50%;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start; /* top align */
}

.img-col1 img {
  width: 100%;
  height: auto;       /* allow vertical images to keep natural height */
  max-width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow);
  display: block;
}

/* Responsive stacking */
@media (max-width: 900px) {
  .img-col1 img {
    width: 100%;
    height: auto;
  }
}


/* Floating WhatsApp Bar */
.whatsapp-float {
  position: fixed;
  bottom: 154px;
  right: 6px; /* more towards center */
  background-color: #25D366;
  color: #fff;
  border-radius: 30px;
  padding: 10px 18px;
  font-size: 18px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  z-index: 1000;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.05);
  background-color: #20b858;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.whatsapp-float i {
  font-size: 22px;
}

.whatsapp-float span {
  font-family: 'Arial', sans-serif;
  font-size: 16px;
}

/* Mobile: show only icon for compact view */
@media (max-width: 600px) {
  .whatsapp-float {
    right: 20px;
    padding: 10px;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    justify-content: center;
  }

  .whatsapp-float span {
    display: none;
  }
}
