@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Paytone+One&display=swap");
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden !important;
  scroll-behavior: smooth;
}

body {
  /* overflow-x: hidden; */
  background-color: #faffff;
  font-family: "Poppins", sans-serif;
}

header {
  max-width: 100%;
  /* background: url("../images/bg.png") no-repeat center center/cover; */
  height: 100vh; /* Full screen height */
}

.navbar {
  /* padding-top: 20px; */
  width: 100%;
  align-items: center;
  position: absolute; /* Place navbar on top of hero */
  top: 20px;
  right: 0;
  padding: 0 20px; /* instead of right:40px; */
  width: 100%;
  background: transparent; /* or rgba(0,0,0,0.3) if you want a dark overlay */
  z-index: 10; /* keep navbar above hero */
}

.navbar ul {
  display: flex;
  justify-content: flex-end;
  gap: 40px;
  align-items: center;
}

.navbar ul li {
  list-style-type: none;
}

.navbar ul li a {
  text-decoration: none;
  color: #0a506e;
}

.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-img {
  width: 50%;
  padding-left: 20px;
  height: auto;
  display: block;
}

.hero-img img {
  width: 90%;
}

.hero-text {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 10px;
  padding-right: 20px;
}

.hero-text h1 {
  font-family: "Paytone One", sans-serif;
  /* background-color: #0a506e; */
  color: #0a506e;
  /* padding: 10px 24px; */
  font-size: 62px;
  font-weight: 400;
  text-align: right;
  margin: 0;
  line-height: 1.1;
}
.hero-text p {
  font-size: 18px;
  color: #0a506e;
  text-align: right;
}

.program-details {
  display: flex;
  justify-content: space-between;
}

.program-cards {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.prog-img {
  width: 50%;
  display: flex;
  justify-content: end;
  align-items: flex-end;
}

.prog-img img {
  width: 80%;
}

.prog-card {
  margin-left: 20px;
  padding: 25px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  gap: 5px;
  color: #fff;
  width: 480px;
  height: 80px;
}

.prog-card h2 {
  font-family: "Paytone One", sans-serif;
  font-weight: 500;
  font-size: 20px;
}
.prog-card p {
  text-align: center;
  font-size: 16px;
  font-weight: 300;
}

.mission {
  display: flex;
  justify-content: center;
  align-items: center;
  /* gap: 50px; */
}

.mission .vision {
  width: 200px;
  height: 200px;
  padding: 25px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-top: 4rem;
}

.mission img {
  width: 60%;
}

/* .mission .v2 {
  margin-top: 60px;
}
.mission .vision h2 {
  font-family: "Paytone One", sans-serif;
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 500;
}
.mission .vision p {
  text-align: center;
  font-weight: 300;
  font-size: 15px;
} */

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  /* margin: 20px 40px; */
  color: #fff;
  background-color: #0a506e;
  /* border-radius: 100px; */
  margin-top: 80px;
  font-family: "Paytone One", sans-serif;
  font-size: 16px;
  font-weight: 500;
}

.footer .social a i {
  color: #fff;
  font-size: 24px;
  margin-right: 20px;
}

.comm-image {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 160px;
}

.comm-image img {
  width: 80%;
}

/* Menu icon */
.menu-icon {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

.aboutsection-info {
  width: 100%;
  padding: 40px;
  margin-top: 1.2rem;
  background-color: #0a506e;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  z-index: 99999;
  position: relative;
}

.aboutsection-info .about-info {
  width: 50%;
}

.aboutsection-info .about-info p {
  font-weight: 300;
  line-height: 2;
}

.aboutsection-info .about-image {
  width: 50%;
}

.aboutsection-info .about-image img {
  width: 80%;
}

.mob-img {
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
  .mob-img {
    display: block;
  }

  .desk {
    display: none;
  }
  html {
    overflow-x: hidden;
  }
  header {
    height: auto;
  }
  .aboutsection-info {
    flex-direction: column;
    /* padding: 10px; */
    width: 100%;
    margin-top: 40px;
  }
  .aboutsection-info .about-info {
    width: 100%;
  }
  .aboutsection-info .about-image {
    width: 100%;
  }
  .navbar {
    z-index: 1000; /* keeps navbar above other elements */
    flex-direction: column;
    justify-content: flex-end;
    align-items: end;
    padding: 20px;
  }
  .navbar ul {
    max-height: 0;
    overflow: hidden;
    flex-direction: column;
    /* width: 90%; */
    background: #0a506e;
    color: #fff;
    padding: 0;
    margin-top: 20px;
    transition: max-height 0.4s ease, padding 0.3s ease;
  }
  .navbar ul li a {
    color: #fff;
  }
  .navbar ul.show {
    max-height: 300px; /* adjust to expected height */
    padding: 15px;
  }

  .menu-icon {
    position: absolute;
    display: block;
    top: 0;
    right: 10px;
  }
  .hero {
    flex-direction: column;
  }
  .hero-img {
    width: 100%;
    padding-left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .hero-text {
    width: 100%;
  }
  .hero-text p {
    font-size: 16px;
  }
  .hero-text h1 {
    font-size: 44px;
  }
  .hero-text a {
    font-size: 14px;
    margin-top: 5px;
  }
  .program-details {
    flex-direction: column-reverse;
  }
  .program-cards {
    width: 100%;
  }

  .prog-card {
    margin-left: 0;
    padding: 20px;
    width: 80%;
  }
  .prog-card h2 {
    font-size: 16px;
  }
  .prog-card p {
    font-size: 14px;
  }
  .prog-img {
    width: 100%;
  }
  .mission {
    margin-top: 4rem;
    flex-direction: column;
    gap: 20px;
  }
  .mission .v2 {
    margin-top: 0;
  }
  .footer {
    margin: 0;
    margin-top: 80px;
  }

  .footer h2 {
    font-size: 16px;
  }

  .footer .social a i {
    font-size: 18px;
  }

  .comm-image img {
    width: 100%;
  }
}
