@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap");

* {
  margin: 0;
}
header {
  padding-left: 135px;
  padding-right: 135px;
  padding-top: 20px;
  padding-bottom: 20px;
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo_info {
  display: flex;
  align-items: center;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  align-items: center;
  padding: 0px;
}
nav ul li {
  font-family: Quicksand;
  font-size: 20px;
  font-weight: 500;
  line-height: 30px;
  letter-spacing: 0%;
  text-align: left;
}

.logo {
  width: 62px;
  height: 62px;
}
.info {
  color: rgba(17, 17, 17, 1);
  font-family: Quicksand;
  font-size: 32px;
  font-weight: 700;
  line-height: 30px;
  text-align: left;
}
.contact-btn {
  width: 197px;
  height: 50px;
  border-radius: 12px;
  background: rgba(254, 163, 1, 1);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 10px;
  color: rgba(255, 255, 255, 1);
  font-family: Quicksand;
  font-size: 20px;
  font-weight: 600;
  line-height: 30px;
  text-align: left;
  border: 0;
}
.banner {
  padding-left: 135px;
  padding-right: 135px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.banner-info {
  display: flex;
  flex-direction: column;
  width: 640px;
  height: auto;
  gap: 24px;
}
.banner-title {
  height: auto;
  font-family: Quicksand;
  font-size: 56px;
  font-weight: 700;
  line-height: 61px;
  text-align: left;
}
.banner-subtitle {
  color: rgba(17, 17, 17, 1);
  font-family: Quicksand;
  font-size: 20px;
  font-weight: 400;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: left;
}
.banner-btn {
  width: 197px;
  height: 50px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(17, 17, 17, 1);
  color: rgba(255, 255, 255, 1);
  font-family: Quicksand;
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
  text-align: left;
}
.banner-pic {
  width: 468.61px;
  height: 575px;
}

.curriculum {
  height: auto;
  padding: 60px 140px 60px 140px;
  background-image: url(../assets/bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.curriculum-heading {
  color: rgba(0, 0, 0, 1);
  font-family: Quicksand;
  font-size: 46px;
  font-weight: 700;
  line-height: 57.5px;
  letter-spacing: 0%;
  text-align: center;
}

.all-curriculum {
  margin-top: 80px;
  margin-bottom: 80px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.curriculum-1,
.curriculum-2,
.curriculum-3 {
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 33px;
  align-items: center;
  padding: 53px 40px 53px 40px;
}
.curriculum-1 {
  box-sizing: border-box;
  border: 0.94px solid rgba(222, 245, 255, 1);
  border-radius: 18.86px;
  box-shadow: inset 0px 0px 28.29578971862793px 0.94px rgba(0, 0, 0, 0.05);
  background-color: rgba(255, 255, 255, 1);
  background-image: linear-gradient(
    180deg,
    rgba(222, 245, 255, 1),
    rgba(255, 255, 255, 0) 40%
  );
}
.curriculum-2 {
  box-sizing: border-box;
  border: 0.94px solid rgba(255, 244, 220, 1);
  border-radius: 18.86px;
  box-shadow: inset 0px 0px 28.29578971862793px 0.94px rgba(0, 0, 0, 0.05);
  background-color: rgba(255, 255, 255, 1);
  background-image: linear-gradient(
    180deg,
    rgba(255, 244, 220, 1),
    rgba(255, 255, 255, 0) 40%
  );
}
.curriculum-3 {
  box-sizing: border-box;
  border: 0.94px solid rgba(242, 232, 255, 1);
  border-radius: 18.86px;
  box-shadow: inset 0px 0px 28.29578971862793px 0.94px rgba(0, 0, 0, 0.05);
  background-color: rgba(255, 255, 255, 1);
  background-image: linear-gradient(
    180deg,
    rgba(238, 225, 255, 1),
    rgba(255, 255, 255, 0) 40%
  );
}

.curriculum-img {
  width: 136.76px;
  height: 136.76px;
}
.curriculum-title {
  color: rgba(32, 32, 32, 1);
  font-family: Quicksand;
  font-size: 24.52px;
  font-weight: 700;
  line-height: 30.65px;
  letter-spacing: 0%;
  text-align: center;
}
.curriculum-subtitle {
  width: 286.26px;
  color: rgba(128, 128, 128, 1);
  font-family: Raleway;
  font-size: 15.09px;
  font-weight: 500;
  line-height: 28.3px;
  letter-spacing: 0%;
  text-align: center;
}
.curriculum a {
  text-decoration: none;
}

.readmore-1,
.readmore-2,
.readmore-3 {
  font-family: Quicksand;
  font-size: 15.09px;
  font-weight: 700;
  line-height: 28.3px;
  letter-spacing: 0%;
  text-align: center;
}
.readmore-1 {
  color: rgba(100, 200, 255, 1);
}
.readmore-2 {
  color: rgba(240, 170, 0, 1);
}
.readmore-3 {
  color: rgba(135, 0, 255, 1);
}
.curriculum-btns {
  display: flex;
  gap: 10px;
}
.curriculum-btn {
  width: 60px;
  height: 60px;
  border-radius: 30px;
  background: rgba(254, 163, 1, 1);
  border: 0px;
  color: rgba(255, 255, 255, 1);
  font-family: Quicksand;
  font-size: 24px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0%;
  text-align: center;
  cursor: progress;
}

.story {
  height: auto;
  padding: 60px 140px 60px 140px;
  display: flex;
  flex-direction: column;
  gap: 80px;
  align-items: center;
  background: linear-gradient(
      0deg,
      rgba(254, 163, 1, 0.3),
      rgba(255, 255, 255, 0.3) 100%
    ),
    url(../assets/bg.png);
  background-repeat: no-repeat;
  background-size: contain;
}
.story-headline {
  color: rgba(0, 0, 0, 1);
  font-family: Quicksand;
  font-size: 46px;
  font-weight: 700;
  line-height: 57.5px;
  letter-spacing: 0%;
  text-align: center;
}
.stories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.story1 {
  width: 540px;
  height: auto;
  background-color: white;
  border-radius: 16px;
  padding-bottom: 30px;
}

.story2-5 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 19px;
}

.story-img1 {
  width: 540px;
  height: 337px;
  border-radius: 16px;
}
.story-des {
  padding-left: 38px;
  padding-right: 38px;
  display: flex;
  flex-direction: column;
}
.story-date {
  width: 174.51px;
  height: 47.93px;
  border-radius: 47.93px;
  background: rgba(60, 216, 232, 1);
  border: 0px;
  color: rgba(255, 255, 255, 1);
  font-family: Raleway;
  font-size: 15.34px;
  font-weight: 500;
  line-height: 28.76px;
  letter-spacing: 0%;
  text-align: center;
  text-transform: capitalize;
  position: relative;
  top: -30px;
  right: -5px;
}

.story-title1 {
  color: rgba(0, 0, 0, 1);
  font-family: Quicksand;
  font-size: 24px;
  font-weight: 700;
  line-height: 38.35px;
  letter-spacing: 0%;
  text-align: left;
  margin-bottom: 50px;
}
.story-subtitle {
  color: rgba(102, 102, 102, 1);
  font-family: Raleway;
  font-size: 15.34px;
  font-weight: 500;
  line-height: 28.76px;
  letter-spacing: 0%;
  text-align: left;
}
.story2,
.story3,
.story4,
.story5 {
  width: 290.69px;
  height: 301.61px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 1);
}

.story-img {
  width: 291px;
  height: 177px;
  border-radius: 16px 16px 0px 0px;
}

.story-title2,
.story-title3,
.story-title4,
.story-title5 {
  color: rgba(0, 0, 0, 1);
  font-family: Quicksand;
  font-size: 15.34px;
  font-weight: 700;
  line-height: 28.76px;
  letter-spacing: 0%;
  text-align: left;
}

.story-date2,
.story-date3,
.story-date4,
.story-date5 {
  width: 174.51px;
  height: 38.35px;
  border-radius: 47.93px;
  border: 0px;
  color: rgba(255, 255, 255, 1);
  font-family: Raleway;
  font-size: 15.34px;
  font-weight: 500;
  line-height: 28.76px;
  letter-spacing: 0%;
  text-align: center;
  text-transform: capitalize;
  position: relative;
  top: -20px;
}

.story-date2,
.story-date4,
.story-date5 {
  background: rgba(149, 178, 38, 1);
}

.story-date3 {
  background: rgba(93, 88, 240, 1);
}

.story-btn {
  width: 197px;
  height: 50px;
  border-radius: 12px;
  background: rgba(17, 17, 17, 1);
  color: rgba(255, 255, 255, 1);
  font-family: Quicksand;
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
  letter-spacing: 0%;
  text-align: center;
}
.fun-footer {
  text-align: center;
  padding: 16px;
  font-family: "Fira Sans", sans-serif;
  font-size: 14px;
  color: #000000;
  background: rgba(254, 163, 1, 0.3);
  position: relative;
  overflow: hidden;
}

.fun-footer::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    rgba(138, 43, 226, 0.5),
    rgba(75, 0, 130, 0.6),
    rgba(138, 43, 226, 0.5)
  );
  animation: continuous-glow 6s linear infinite;
  filter: blur(30px);
  z-index: 0;
}

.fun-footer * {
  position: relative;
  z-index: 1;
}

@keyframes continuous-glow {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* Extra large devices (large laptops and desktops) */
@media only screen and (min-width: 1200px) and (max-width: 1440px) {
  .curriculum {
    padding-left: 80px;
    padding-right: 80px;
  }
  .curriculum-1,
  .curriculum-2,
  .curriculum-3 {
    padding: 45px 10px 45px 10px;
  }
}

/* Large devices (laptops/desktops) */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
  header {
    padding-left: 90px;
    padding-right: 90px;
  }
  .info {
    font-size: 26px;
  }
  .logo {
    width: 50px;
    height: 50px;
  }
  .banner {
    padding-left: 90px;
    padding-right: 90px;
    gap: 10px;
  }
  .contact-btn {
    width: 140px;
    height: 40px;
  }
  .banner-title {
    font-size: 48px;
  }
  .banner-subtitle {
    font-size: 18px;
  }
  .banner-btn {
    width: 140px;
    height: 40px;
    font-size: 17px;
  }
  .banner-pic {
    width: 400.61px;
    height: 500px;
  }
  .curriculum {
    padding-left: 80px;
    padding-right: 80px;
  }
  .curriculum-1,
  .curriculum-2,
  .curriculum-3 {
    padding: 45px 10px 45px 10px;
  }
  .stories {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/* Medium devices (tablets) */
@media only screen and (min-width: 768px) and (max-width: 991px) {
  header {
    padding-left: 30px;
    padding-right: 30px;
  }
  nav ul {
    gap: 13px;
  }
  .info {
    font-size: 26px;
  }
  .logo {
    width: 50px;
    height: 50px;
  }
  .banner {
    padding-left: 30px;
    padding-right: 30px;
    gap: 10px;
  }
  .contact-btn {
    width: 140px;
    height: 40px;
  }
  .banner-title {
    font-size: 40px;
    line-height: normal;
  }
  .banner-subtitle {
    font-size: 16px;
  }
  .banner-btn {
    width: 140px;
    height: 40px;
    font-size: 17px;
  }
  .banner-pic {
    width: 380.61px;
    height: 400px;
  }

  .all-curriculum {
    flex-wrap: wrap;
    margin-top: 40px;
    margin-bottom: 40px;
  }
  .curriculum {
    padding-left: 80px;
    padding-right: 80px;
  }
  .curriculum-1,
  .curriculum-2,
  .curriculum-3 {
    padding: 45px 10px 45px 10px;
    flex: 1 1;
  }
  .curriculum-heading {
    font-size: 38px;
  }
  .stories {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .fun-footer
  {
    font-size: 13px;
  }
}

/* Small devices (portrait tablets and large phones) */
@media only screen and (min-width: 600px) and (max-width: 767px) {
  header {
    padding-left: 20px;
    padding-right: 20px;
  }
  .nav {
    gap: 10px;
  }
  nav ul {
    gap: 10px;
  }
  nav ul li {
    font-size: 16px;
  }
  .info {
    font-size: 20px;
  }
  .logo {
    width: 40px;
    height: 40px;
  }
  .banner {
    padding-left: 20px;
    padding-right: 20px;
    gap: 10px;
  }
  .contact-btn {
    width: 100px;
    height: 35px;
    padding: 6px;
    font-size: 15px;
  }
  .banner-title {
    font-size: 30px;
    line-height: normal;
  }
  .banner-subtitle {
    font-size: 14px;
  }
  .banner-btn {
    width: 100px;
    height: 35px;
    font-size: 15px;
    padding: 6px;
  }
  .banner-pic {
    width: 330.61px;
    height: 300px;
  }
  .all-curriculum {
    flex-wrap: wrap;
    margin-top: 40px;
    margin-bottom: 40px;
  }
  .curriculum {
    padding-left: 80px;
    padding-right: 80px;
  }
  .curriculum-1,
  .curriculum-2,
  .curriculum-3 {
    padding: 45px 10px 45px 10px;
    flex: 1 1;
  }
  .curriculum-heading {
    font-size: 36px;
  }
  .stories {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .story2,
  .story3,
  .story4,
  .story5 {
    width: 240.69px;
    height: auto;
    padding-bottom: 10px;
  }
  .story-img {
    width: 240.69px;
  }
  .fun-footer
  {
    font-size: 13px;
  }

}

/* Extra small devices (phones) */
@media only screen and (max-width: 599px) {
  header {
    padding-left: 20px;
    padding-right: 20px;
  }
  .nav {
    gap: 10px;
  }
  nav ul {
    gap: 10px;
  }
  nav ul li {
    font-size: 16px;
  }
  .info {
    font-size: 20px;
  }
  .logo {
    width: 40px;
    height: 40px;
  }
  .banner {
    padding-left: 20px;
    padding-right: 20px;
    gap: 10px;
    flex-direction: column-reverse;
  }
  .contact-btn {
    width: 100px;
    height: 35px;
    padding: 6px;
    font-size: 15px;
  }
  .banner-info {
    width: 357px;
    align-items: center;
  }
  .banner-title {
    font-size: 30px;
    line-height: normal;
    text-align: center;
  }
  .banner-subtitle {
    font-size: 14px;
    text-align: center;
  }
  .banner-btn {
    width: 131px;
    height: 42px;
    font-size: 16px;
    padding: 6px;
  }
  .banner-pic {
    width: 336.58px;
    height: 413px;
  }
  /* Hide normal nav content initially */
  .nav ul,
  .nav .contact-btn {
    display: none;
  }

  header,
  .nav {
    position: relative;
    overflow: visible;
    z-index: 5;
  }

  /* Hamburger icon */
  .nav::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: url("../assets/hamburger-menu.png") no-repeat center;
    background-size: contain;
    cursor: pointer;
    z-index: 20;
  }

  /* Show dropdown on hover */
  .nav:hover {
    flex-direction: column;
    align-items: center;
  }

  /* Show menu and button */
  .nav:hover ul,
  .nav:hover .contact-btn {
    display: flex;
  }

  /* Dropdown container (shared background for ul + button) */
  .nav:hover ul {
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 15px 0;
    gap: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
  }

  /* Contact button directly below li's, same white box */
  .nav:hover .contact-btn {
    background: rgba(254, 163, 1, 1);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 10px; /* small gap within white box */
  }

  /* Each list item full width and centered */
  .nav ul li {
    width: 100%;
    text-align: center;
    background: #fff;
  }
  .all-curriculum {
    flex-wrap: wrap;
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .curriculum {
    padding-left: 20px;
    padding-right: 20px;
  }
  .curriculum-1,
  .curriculum-2,
  .curriculum-3 {
    padding: 45px 10px 45px 10px;
    flex: 1 1;
  }
  .curriculum-heading {
    font-size: 26px;
  }
  .story {
    padding: 60px 40px 60px 40px;
  }
  .stories {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .story-headline {
    font-size: 35px;
  }
  .story2,
  .story3,
  .story4,
  .story5 {
    width: 160.69px;
    height: auto;
    padding-bottom: 10px;
  }
  .story-img {
    width: 160.69px;
    height: auto;
  }
  .story1 {
    width: 320px;
  }
  .story-img1 {
    width: 320px;
    height: auto;
  }
  .story-title1 {
    margin-bottom: 20px;
  }

  .story-date2,
  .story-date3,
  .story-date4,
  .story-date5 {
    width: 110px;
    height: 29.35px;
    font-size: 9px;
    left: -10px;
  }
  .story-des {
    padding-left: 20px;
    padding-right: 20px;
  }
  .story-title2,
  .story-title3,
  .story-title4,
  .story-title5 {
    font-size: 9px;
    line-height: 20px;
  }
  .story-btn {
    width: 100px;
    height: 40px;
    font-size: 16px;
  }
  .fun-footer
  {
    font-size: 13px;
  }
}
