/* =========================
   GLOBAL & STRUCTURE
========================= */
main {
  width: 100%;
}

#nav-pages {
  color: #8b959a;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0%;
  margin: 0 auto 0 0;
  padding: 3% 0 0;
  width: fit-content;
}

#nav-pages span {
  color: #182c35;
}

/* =========================
   HERO SECTION
========================= */
.hero {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
  margin-bottom: 3%;
  flex-wrap: wrap;
  width: 100%;
}

.hero-text {
  display: flex;
  flex-direction: column;
  padding: 9% 0 0;
  width: 45%;
}

.hero-text h3 {
  color: #182c35;
  font-size: 39px;
  font-style: bold;
  font-weight: 700;
  letter-spacing: 0%;
  margin-bottom: 3%;
}

.hero-text p {
  color: #5d6b72;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0%;
}

.hero img {
  width: 46%;
}

/* =========================
   OUR VALUES SECTION
========================= */
.our-values {
  background-color: #182c35;
  color: white;
  margin: 5% 0;
  overflow: hidden;
  padding: 4% 7%;
  position: relative;
  text-align: center;
  z-index: 50;
}

.our-values h3 {
  font-size: 32px;
  font-style: bold;
  font-weight: 700;
  line-height: 48px;
  margin-bottom: 3%;
}

.our-values p {
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  margin-bottom: 3%;
  position: relative;
  text-align: center;
  z-index: 60;
}

.our-values p:nth-child(3) {
  margin: 0 auto 3%;
  width: 81%;
}

.our-values p:nth-child(4) {
  margin: 0 auto 4%;
  width: 50%;
}

.our-values button {
  background: #e74f54;
  border: transparent;
  border-bottom-right-radius: 16px;
  border-top-left-radius: 16px;
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 400;
  height: 48px;
  padding: 1% 3%;
  position: relative;
  white-space: nowrap;
  width: fit-content;
  z-index: 57;
  transition: all 0.3s ease;
}

/* Decorative Images */
.our-values .img-red {
  bottom: 0;
  opacity: 0.7;
  position: absolute;
  right: 0;
  z-index: 55;
}

.our-values .img-hidden {
  left: 0;
  opacity: 0.05;
  position: absolute;
  top: 0;
}

/* =========================
   SERVICE SECTION
========================= */
.service-container {
  display: flex;
  flex-direction: column;
}

.service-container > p{
  text-align: center;
      margin-bottom: 2rem;
    font-weight: 500;
    line-height: 1.2;
    color: #262B47;
    font-size: 1rem;
}

.service-container h3 {
  color: #262B47;
  font-size: 32px;
  font-style: bold;
  font-weight: 700;
  line-height: 48px;
  margin: 0 auto 30px;
  text-align: center;
  width: fit-content;
}

.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5%;
  justify-content: center;
  margin: 0 auto 5% 0;
}

.service {
  align-items: flex-start;
  border: 1px solid #e9edf0;
  border-bottom-right-radius: 28px;
  border-top-left-radius: 28px;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.service h4 {
  color: #182c35;
  font-size: 20px;
  font-style: bold;
  font-weight: 700;
  line-height: 32px;
  margin: 12px 0 33px;
}

.service p {
  color: #5d6b72;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0%;
  line-height: 20px;
  margin-bottom: 50px;
}

.service a {
  color: #e74f54;
  font-size: 14px;
  font-style: medium;
  font-weight: 500;
  letter-spacing: 0%;
  line-height: 20px;
}

/* =========================
   PROGRAMS SECTION
========================= */
.programs-cards{
  display: grid;
  gap: 1.5%;
  grid-template-columns: repeat(3,1fr);
}
.program-card{
  border-radius: 20px;
    padding: 30px;
    background: rgb(248, 248, 248);
    box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 6px;
    height: 100%;
    display: flex;
    flex-direction: column;
   justify-content: space-between;
    align-items: flex-start;
}
.program-card h3{
  font-size: calc(1.3rem + .6vw);
      margin-top: 0;
    margin-bottom: .5rem;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: #262B47;
}

.program-card p{
  color: rgb(85, 85, 85);
    font-size: 16px;
    line-height: 1.6;
    user-select: auto;
    margin-top: 0;
    margin-bottom: 1rem;
}
.program-card button{
  display: inline-block;
    padding: 10px 25px;
    background-color: rgb(230, 0, 18);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease-in-out;
}
.program-card button:hover{
      background-color: white;
      border: solid 1px rgb(230, 0, 18);
      color: rgb(230, 0, 18);

}



/* =========================
   SCROLL TO TOP BUTTON
========================= */
#scrollTopBtn {
  background-color: #e74f54;
  border: none;
  border-radius: 50%;
  bottom: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: #fff;
  cursor: pointer;
  font-size: 24px;
  height: 50px;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  right: 30px;
  transition: opacity 0.3s ease, transform 0.3s ease;
  visibility: hidden;
  width: 50px;
  z-index: 999;
}

#scrollTopBtn.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

#scrollTopBtn:hover {
  transform: scale(1.15);
}
