/* HERO */
.hero{
  position:relative;
  overflow:hidden;
  padding:105px 0 115px;
  background:
    radial-gradient(circle at 86% 18%,rgba(247,147,30,.14),transparent 27%),
    radial-gradient(circle at 6% 88%,rgba(23,59,143,.09),transparent 27%),
    linear-gradient(135deg,var(--cream),var(--white) 52%,var(--light-blue))
}

.hero:before{
  position:absolute;
  top:60px;
  right:-70px;
  width:240px;
  height:240px;
  border:30px solid rgba(247,147,30,.08);
  border-radius:50%;
  content:""
}

.hero:after{
  position:absolute;
  bottom:-75px;
  left:-55px;
  width:170px;
  height:170px;
  background:var(--light-blue);
  content:"";
  opacity:.8;
  transform:rotate(12deg)
}

.hero-content{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:1.08fr .92fr;
  align-items:center;
  gap:80px
}

.hero-text .section-label{
  color:var(--orange)
}

.hero-text h1{
  max-width:720px;
  margin-bottom:24px;
  color:var(--blue);
  font-size:clamp(2.7rem,5vw,4.8rem);
  line-height:1.04
}

.hero-description{
  max-width:650px;
  color:var(--text);
  font-size:1.12rem;
  line-height:1.8
}

.hero-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:32px
}

.hero-image-wrap{
  position:relative
}

.hero-image{
  position:relative
}

.hero-image:before{
  position:absolute;
  top:-20px;
  right:-20px;
  width:100%;
  height:100%;
  background:var(--orange);
  content:""
}

.hero-image:after{
  position:absolute;
  right:-34px;
  bottom:-34px;
  z-index:2;
  width:85px;
  height:85px;
  background:var(--blue);
  content:""
}

.hero-image img{
  position:relative;
  z-index:1;
  display:block;
  width:100%;
  min-height:470px;
  border:8px solid var(--white);
  box-shadow:0 18px 45px rgba(15,40,102,.16);
  object-fit:cover
}


/* HOW WE HELP */
.services{
  background:var(--white)
}

.services .section-heading{
  max-width:760px;
  margin-bottom:48px
}

.services .section-label{
  color:var(--orange)
}

.services-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px
}

.service-card{
  position:relative;
  min-height:350px;
  overflow:hidden;
  padding:32px 28px 78px;
  border:1px solid var(--border);
  border-top:6px solid var(--blue);
  background:var(--white);
  box-shadow:0 8px 24px rgba(15,40,102,.06);
  transition:transform .2s ease,box-shadow .2s ease
}

.service-card:nth-child(2){
  border-top-color:var(--orange)
}

.service-card:nth-child(3){
  border-top-color:var(--blue)
}

.service-card:hover{
  transform:translateY(-6px);
  box-shadow:0 14px 32px rgba(15,40,102,.12)
}

.service-icon{
  display:grid;
  width:58px;
  height:58px;
  margin-bottom:25px;
  place-items:center;
  background:var(--light-blue);
  color:var(--blue);
  font-family:var(--heading-font);
  font-size:.85rem;
  font-weight:900
}

.service-card:nth-child(2) .service-icon{
  background:var(--light-orange);
  color:var(--dark-orange)
}

.service-card h3{
  margin-bottom:13px;
  color:var(--blue)
}

.service-card p{
  margin-bottom:22px;
  line-height:1.7
}

.service-card .text-link{
  position:absolute;
  bottom:28px;
  color:var(--blue);
  font-weight:800
}

.service-card .text-link:hover{
  color:var(--orange)
}


/* HOW IT WORKS */
.how-it-works{
  background:var(--light-blue)
}

.how-it-works .section-heading{
  max-width:760px;
  margin-bottom:55px
}

.how-it-works .section-label{
  color:var(--orange)
}

.steps-grid{
  position:relative;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px
}

.steps-grid:before{
  position:absolute;
  top:35px;
  right:15%;
  left:15%;
  z-index:0;
  height:3px;
  background:rgba(23,59,143,.15);
  content:""
}

.step{
  position:relative;
  z-index:1;
  padding:0 20px;
  text-align:center
}

.step-number{
  display:grid;
  width:70px;
  height:70px;
  margin:0 auto 24px;
  place-items:center;
  border:6px solid var(--light-blue);
  border-radius:50%;
  background:var(--blue);
  color:var(--white);
  font-family:var(--heading-font);
  font-size:.9rem;
  font-weight:800;
  box-shadow:0 8px 20px rgba(23,59,143,.15)
}

.step:nth-child(2) .step-number{
  background:var(--orange)
}

.step:nth-child(3) .step-number{
  background:var(--blue)
}

.step h3{
  margin-bottom:12px;
  color:var(--blue)
}

.step p{
  font-size:.96rem;
  line-height:1.7
}

.section-action{
  margin-top:45px;
  text-align:center
}


/* MISSION */
.mission-preview{
  background:var(--white)
}

.mission-grid{
  display:grid;
  grid-template-columns:.95fr 1.05fr;
  align-items:center;
  gap:85px
}

.mission-image{
  position:relative
}

.mission-image:before{
  position:absolute;
  top:-20px;
  left:-20px;
  width:44%;
  height:44%;
  background:var(--blue);
  content:""
}

.mission-image:after{
  position:absolute;
  right:-24px;
  bottom:-24px;
  z-index:0;
  width:62%;
  height:62%;
  background:var(--light-orange);
  content:""
}

.mission-image img{
  position:relative;
  z-index:1;
  display:block;
  width:100%;
  min-height:480px;
  border:7px solid var(--white);
  box-shadow:0 18px 45px rgba(15,40,102,.15);
  object-fit:cover
}

.mission-copy .section-label{
  color:var(--orange)
}

.mission-copy h2{
  margin-bottom:24px;
  color:var(--blue);
  font-size:clamp(2.2rem,4vw,3.5rem)
}

.mission-copy p:not(.section-label){
  margin-bottom:18px;
  font-size:1.04rem;
  line-height:1.75
}

.mission-copy .button{
  margin-top:10px
}


/* STUDENT RESOURCES */
.home-resources{
  background:var(--cream)
}

.home-resources .section-heading{
  max-width:760px;
  margin-bottom:48px
}

.home-resources .section-label{
  color:var(--orange)
}

.resource-home-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px
}

.resource-home-card{
  position:relative;
  display:block;
  min-height:300px;
  padding:30px 26px;
  overflow:hidden;
  border:1px solid var(--border);
  border-bottom:6px solid var(--blue);
  background:var(--white);
  transition:transform .2s ease,box-shadow .2s ease
}

.resource-home-card:nth-child(even){
  border-bottom-color:var(--orange)
}

.resource-home-card:after{
  position:absolute;
  right:-45px;
  bottom:-45px;
  width:120px;
  height:120px;
  border-radius:50%;
  background:rgba(247,147,30,.07);
  content:""
}

.resource-home-card:hover{
  transform:translateY(-6px);
  box-shadow:0 12px 28px rgba(15,40,102,.11)
}

.resource-home-card>span{
  display:grid;
  width:44px;
  height:44px;
  margin-bottom:25px;
  place-items:center;
  background:var(--light-blue);
  color:var(--blue);
  font-size:.75rem;
  font-weight:900
}

.resource-home-card:nth-child(even)>span{
  background:var(--light-orange);
  color:var(--dark-orange)
}

.resource-home-card h3{
  position:relative;
  z-index:1;
  margin-bottom:12px;
  color:var(--blue)
}

.resource-home-card p{
  position:relative;
  z-index:1;
  color:var(--text);
  line-height:1.7
}


/* OUR COMMUNITY */
.team-preview{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 90% 10%,rgba(247,147,30,.16),transparent 25%),
    linear-gradient(135deg,var(--dark-blue),var(--blue))
}

.team-preview:after{
  position:absolute;
  right:-90px;
  bottom:-100px;
  width:260px;
  height:260px;
  border:40px solid rgba(255,255,255,.05);
  border-radius:50%;
  content:""
}

.team-preview-grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:1.05fr .95fr;
  align-items:center;
  gap:75px
}

.team-preview .section-label{
  color:var(--orange)
}

.team-preview h2{
  margin-bottom:22px;
  color:var(--white);
  font-size:clamp(2.2rem,4vw,3.5rem)
}

.team-preview p:not(.section-label){
  max-width:620px;
  margin-bottom:18px;
  color:#dbe6ff;
  font-size:1.05rem;
  line-height:1.75
}

.team-preview .hero-buttons{
  margin-top:30px
}

.team-preview .button-outline-light{
  border:2px solid var(--white);
  background:transparent;
  color:var(--white)
}

.team-preview .button-outline-light:hover{
  background:var(--white);
  color:var(--blue)
}

.team-preview-image{
  position:relative
}

.team-preview-image:before{
  position:absolute;
  top:-20px;
  left:-20px;
  width:100%;
  height:100%;
  border:3px solid var(--orange);
  content:""
}

.team-preview-image:after{
  position:absolute;
  right:-25px;
  bottom:-25px;
  width:75px;
  height:75px;
  background:var(--orange);
  content:""
}

.team-preview-image img{
  position:relative;
  z-index:1;
  display:block;
  width:100%;
  min-height:420px;
  box-shadow:0 18px 45px rgba(0,0,0,.18);
  object-fit:cover
}


/* GET INVOLVED */
.home-involvement{
  background:var(--white)
}

.involvement-preview-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  align-items:center;
  gap:70px
}

.home-involvement .section-label{
  color:var(--orange)
}

.home-involvement h2{
  max-width:700px;
  margin-bottom:18px;
  color:var(--blue);
  font-size:clamp(2.2rem,4vw,3.5rem)
}

.home-involvement p:not(.section-label){
  max-width:680px;
  font-size:1.04rem;
  line-height:1.75
}

.involvement-preview-actions{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:13px
}

.involvement-preview-actions .button{
  text-align:center
}


/* FINAL CTA */
.final-cta{
  position:relative;
  overflow:hidden;
  padding:90px 0;
  background:var(--orange);
  color:var(--white)
}

.final-cta:before{
  position:absolute;
  top:-90px;
  right:8%;
  width:180px;
  height:180px;
  border:28px solid rgba(255,255,255,.1);
  border-radius:50%;
  content:""
}

.final-cta:after{
  position:absolute;
  right:-100px;
  bottom:-160px;
  width:300px;
  height:300px;
  border-radius:50%;
  background:rgba(15,40,102,.17);
  content:""
}

.final-cta-content{
  position:relative;
  z-index:2;
  max-width:800px
}

.final-cta .section-label{
  color:var(--white)
}

.final-cta h2{
  max-width:720px;
  margin-bottom:18px;
  color:var(--white);
  font-size:clamp(2.4rem,5vw,4rem)
}

.final-cta p{
  max-width:650px;
  color:rgba(255,255,255,.92);
  font-size:1.06rem;
  line-height:1.7
}

.cta-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:13px;
  margin-top:28px
}

.button-light{
  background:var(--white);
  color:var(--orange)
}

.button-light:hover{
  background:var(--blue);
  color:var(--white)
}

.button-outline-light{
  border:2px solid var(--white);
  background:transparent;
  color:var(--white)
}

.button-outline-light:hover{
  background:var(--white);
  color:var(--orange)
}


/* RESPONSIVE */
@media(max-width:1100px){
  .hero-content{
    gap:50px
  }

  .resource-home-grid{
    grid-template-columns:repeat(2,1fr)
  }

  .mission-grid,
  .team-preview-grid{
    gap:55px
  }
}

@media(max-width:900px){
  .hero-content,
  .mission-grid,
  .team-preview-grid,
  .involvement-preview-grid{
    grid-template-columns:1fr
  }

  .hero-image,
  .mission-image,
  .team-preview-image{
    max-width:680px
  }

  .services-grid{
    grid-template-columns:1fr
  }

  .service-card{
    min-height:auto
  }

  .steps-grid{
    grid-template-columns:1fr;
    gap:40px
  }

  .steps-grid:before{
    display:none
  }

  .involvement-preview-actions{
    max-width:450px
  }
}

@media(max-width:650px){
  .hero{
    padding:75px 0 85px
  }

  .hero-buttons,
  .cta-buttons{
    flex-direction:column;
    align-items:stretch
  }

  .hero-image img,
  .mission-image img,
  .team-preview-image img{
    min-height:330px
  }

  .hero-image:after,
  .team-preview-image:after{
    width:55px;
    height:55px
  }

  .resource-home-grid{
    grid-template-columns:1fr
  }

  .resource-home-card{
    min-height:auto
  }

  .final-cta{
    padding:75px 0
  }
}
