@import url('https://fonts.googleapis.com/css2?family=Patrick+Hand&family=Poppins:wght@300;400;500;600;700&display=swap');

:root{
  --yp-green: #1a9a62;
  --yp-green-dark: #14784c;
  --yp-teal: #0f8f87;
  --yp-teal-light: #8fbfc8;
  --yp-gray: #f6f7f8;
  --yp-text: #1b1f23;
}

html, body{ height:100%; }
body{
  font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--yp-text);
  background:#fff;
}

/* ====== Top nav ====== */
.navbar{ background:#fff; border-bottom:1px solid rgba(0,0,0,.06); }
.navbar-brand img{ height:74px; width:auto; }
.navbar .nav-link{
  color: var(--yp-green) !important;
  font-weight:500;
  padding: .75rem 1.25rem;
}
.navbar .dropdown-menu{
  border-radius:14px;
  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 10px 30px rgba(0,0,0,.08);
}
.navbar .dropdown-item{ padding:.65rem 1rem; }
.navbar .dropdown-item:hover{ background: rgba(26,154,98,.08); }

.btn-yp{
  background: var(--yp-green);
  border-color: var(--yp-green);
  color:#fff;
  border-radius: 10px;
  padding: .55rem 1.0rem;
}
.btn-yp:hover{ background: var(--yp-green-dark); border-color: var(--yp-green-dark); color:#fff; }

.btn-yp-outline{
  background:#fff;
  border:1px solid rgba(0,0,0,.35);
  color:#5b6b78;
  border-radius: 10px;
  padding: .55rem 1.0rem;
}
.btn-yp-outline:hover{ background:#f5f5f5; color:#3a4752; }


.btn-yp-soft{
  background: rgba(26,154,98,.55);
  border-color: rgba(26,154,98,.55);
  color:#fff;
  border-radius: 10px;
  padding: .55rem 1.0rem;
}
.btn-yp-soft:hover{
  background: rgba(26,154,98,.70);
  border-color: rgba(26,154,98,.70);
  color:#fff;
}


/* ====== Hero blocks ====== */
.hero-photo{
  position:relative;
  width:100%;
  min-height: 420px;
  background-size: cover;
  background-position: center;
  overflow:hidden;
}
.hero-photo .hero-center{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  text-align:center;
  width:min(960px, 92%);
}
.hero-photo h1{
  font-family: "Patrick Hand", cursive;
  font-size: clamp(38px, 4vw, 54px);
  color:#ffffff;
  text-shadow:0 2px 18px rgba(0,0,0,.35);
  margin:0 0 .4rem 0;
}
.hero-photo .hero-pill{
  display:inline-block;
  background: rgba(26,154,98,.85);
  color:#fff;
  padding:.55rem 1.1rem;
  border-radius: 999px;
  font-size: clamp(14px, 1.4vw, 18px);
  letter-spacing: .2px;
}

/* Banner hero used on inner pages*/
.hero-banner-img{
  width:100%;
  display:block;
}

/* ====== Typography that matches Canva vibe ====== */
.yp-hand{
  font-family: "Patrick Hand", cursive;
  letter-spacing: .2px;
}
.yp-title{
  font-family: "Patrick Hand", cursive;
  color: var(--yp-green);
}
.yp-subtitle{
  color: #6fd0dc;
  font-weight:500;
}

/* ====== Home layout blocks ====== */
.section-pad{ padding: 70px 0; }
.helping-graphic{
  width:100%;
  max-width: 980px;
  display:block;
  margin: 12px auto 24px auto;
}
.split-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:0;
}
@media (max-width: 992px){
  .split-grid{ grid-template-columns:1fr; }
}
.split-left{
  background: var(--yp-teal);
  color:#fff;
  padding: 54px 48px;
  min-height: 420px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}
.split-left p{ margin:0; font-size: 16px; line-height:1.65; }
.split-right{
  min-height: 420px;
  background-size: cover;
  background-position:center;
}
.mission-card{
  background: var(--yp-teal);
  color:#fff;
  padding: 54px 48px;
  text-align:center;
}
.mission-card h3{
  font-family:"Patrick Hand", cursive;
  margin:0 0 12px 0;
  font-size: 34px;
}
.mission-card p{ margin:0 0 10px 0; line-height:1.75; }

/* Light teal content blocks used on service pages */
.block-light-teal{
  background: var(--yp-teal-light);
  color:#fff;
  padding: 56px 22px;
  text-align:center;
}
.block-light-teal p{ margin:0 0 16px 0; line-height:1.85; }
.block-light-teal .small{ opacity:.95; }

.block-white-center{
  padding: 54px 22px;
  text-align:center;
}
.block-white-center h2{
  font-family:"Patrick Hand", cursive;
  color: var(--yp-green);
  margin:0 0 8px 0;
  font-size: 40px;
}
.block-white-center .handline{
  font-family:"Patrick Hand", cursive;
  color: var(--yp-green);
  font-size: 28px;
  line-height:1.25;
}


/* ====== Services cards ====== */
.card-yp{
  border-radius: 14px;
  border:1px solid rgba(0,0,0,.12);
  box-shadow: 0 10px 26px rgba(0,0,0,.06);
}
.card-yp .card-title{ color: var(--yp-green); font-weight:600; }

/* ====== Footer ====== */
.site-footer{
  padding: 40px 0 18px 0;
  text-align:center;
}
.site-footer img{ height:120px; width:auto; opacity:.95; }
.site-footer .footer-links{ margin-top: 14px; line-height:1.8; }
.site-footer .fineprint{
  max-width: 1050px;
  margin: 18px auto 0 auto;
  font-size: 12.5px;
  color: rgba(0,0,0,.70);
  line-height:1.55;
}
/* ===== YouthPoint Hero: Services ===== */
.yp-hero{
  position: relative;
  width: 100%;
  height: 260px;             
  overflow: hidden;           
  display: flex;
  align-items: center;
  background-position: center 40%;
  background-size: cover;    
  background-repeat: no-repeat;
}

.yp-hero-services{
  background-image: url("../img/hero-services.png");
}
.yp-hero-cbhi{
  background-image: url("../img/hero-cbhi.png");
}
.yp-hero-homebased {
  background-image: url('../img/hero-homebased.png');
}
.yp-hero-youth-clinic {
  background-image: url('../img/hero-youth-clinic.png');
}
.yp-hero-schoolbased {
  background-image: url('../img/hero-schoolbased.png');
}
.yp-hero-mobilecrisis{
  background-image: url('../img/hero-mobilecrisis.png');
}
.yp-hero-resources{
  background-image: url('../img/hero-resources.png');
}
.yp-hero-affiliates{
  background-image: url('../img/hero-affiliates.png');
}
.yp-hero-prevention{
  background-image: url('../img/hero-prevention.png');
}
.yp-hero-healthy-families{
  background-image: url('../img/hero-healthy-families.png');
}
.yp-hero-about{
  background-image: url('../img/hero-about.png');
}
/* Keep overlay content above the bg */
.yp-hero-inner{
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 12px;
}

/* Brush + title */
.yp-hero-titlewrap{
  position: relative;
  display: inline-block;
  padding: 18px 42px; /* space for text */
}

.yp-hero-brush{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  z-index: 1;
  pointer-events: none;
}

.yp-hero-title{
  position: relative;
  z-index: 2;
  margin: 0;
  color: #fff;
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 1;
  letter-spacing: 0.5px;
}

/* Mobile */
@media (max-width: 768px){
  .yp-hero{
    height: 170px;
    background-position: center 35%;
  }
  .yp-hero-titlewrap{
    padding: 12px 18px;
  }
  .yp-hero-title{
    font-size: 1.6rem;
  }
}
.full-width-image {
  width: 100%;
  overflow: hidden;
}

.full-width-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Keep FB embed from causing horizontal scroll */
.fb-page, .fb-page span, .fb-page iframe {
  width: 100% !important;
  max-width: 100% !important;
}
.yp-bullets-wrap{
  text-align:left;
  display:inline-block;
  margin-top:12px;
}

.yp-bullets{
  padding-left:20px;
  margin:0;
}

.yp-bullets li{
  margin-bottom:8px;
}
