/* ===================================
   RESET & BASE STYLES
   =================================== */
@font-face {
    font-family: "Questrial";
    src: url("/fonts/Questrial-Regular.woff2") format("woff2");
    font-display: swap;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Questrial", sans-serif;
}
a {
  text-decoration: none !important;
  color: inherit;
  cursor: pointer !important;
}
html,
body {
  margin: 0;
  padding: 0;
}
:root {
  --primary-yellow: #f7d151;
  --primary-red: #e63941;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background-color: #fff;
}

/* ===============================================================================
==================================================================================
===================================================================================
                              TEMPLATE STYLES
=================================================================================
==================================================================================
================================================================================== */

body.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 998;
}
body.overlay video,
body.overlay iframe {
  opacity: 0.2;
}
body.overlay section.hero,
body.overlay .main-content,
body.overlay .quote-wrapper svg {
  opacity: 0.1;
}
body.overlay::before {
  content: "";
  position: fixed;      /* covers entire viewport */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  z-index: 997;      /* stays on top */
  pointer-events: auto; /* blocks clicks underneath */
}

/* ===================================
   NAVIGATION STYLES
   =================================== */
.navbar {
  background-color: #fdfdff;
  padding: 0;
  position: fixed;
  top: 0;
  width: 100vw;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  opacity: 1;
  transition: transform 0.3s ease, opacity 0.3s ease;
  padding-right: 2em;
}

.navbar.navbar-hidden {
  transform: translateY(-100%);
}

.nav-container {
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 10px
}
.nav-logo {
  text-decoration: none;
}
.nav-logo p {
  font-size: max(25px,2.3vw);
  color: var(--primary-red);
  font-weight: 600;
}

.nav-logo img {
  height: 4vw;
  width: 4vw;
}

/* Toggle */
.nav-toggle {
  background: transparent;
  padding: 0.8rem 0;
  display: flex;
  justify-content: end;
  align-items: center;
  transition: all 0.3s ease;
}
.nav-toggle p {
  color: var(--primary-red);
  margin-left: 1rem;
  font-size: 1rem;
}
/* Hidden state - slides up */
.navbar.sticky.hidden {
  transform: translateY(-100%);
  opacity: 0;
}

.nav-toggle-button {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.nav-toggle span.text {
  margin-left: 10px;
  font-size: 1rem;
}

.nav-toggle .hamburger {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--primary-red);
  margin: 5px 0;
  transition: all 0.3s ease;
}

.nav-toggle.active .hamburger:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active .hamburger:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active .hamburger:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.nav-toggle:hover.nav-toggle p {
  color: var(--primary-yellow);
}
.nav-toggle:hover .hamburger{
  background-color: var(--primary-yellow);
  transform: scale(1.1);
}
/* FULLSCREEN OVERLAY MENU */

.nav-menu {
  position: fixed;
  top: 0;
  left: 0;
  background: var(--primary-red);
  color: white;
  transform: translateX(200%); /* Start hidden off-screen to the right */
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); /* Smooth easing */
  flex-direction: column;
  z-index: 999;
  padding-left: 9vw;
  width: 100%;
}

.nav-menu.active {
  transform: translateX(0);
}
body.nav-menu.active {
  overflow: hidden;
}

.close-menu {
  position: absolute;
  right: 5vw;
  top: 2em;
}
.close-menu svg {
  transition: transform 0.5s ease;
  cursor: pointer;
}

.close-menu svg:hover, .close-menu svg:focus {
  transform: rotate(90deg);
  color: var(--primary-yellow);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4rem;
  margin-top: 6rem;
  margin-bottom: 7rem;
}
.menu-column {
  width: max-content;
}

.menu-column h3 {
  color: var(--primary-yellow);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.menu-column ul {
  list-style: none;
  padding: 0;
}

.menu-column ul li {
  margin-bottom: 1rem;
}

.menu-column ul li a {
  color: white;
  text-decoration: none;
  font-size: 1.3rem;
  transition: color 0.2s;
}

.menu-column ul li a:hover {
  color: var(--primary-yellow)
}

/* Footer inside overlay */
.menu-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  position: relative;
  z-index: 2;
  margin-right: 15vw;
}
.menu-footer h1 {
  transition: all 0.3s ease;
}
.menu-footer h1:hover{
  color: #fff;
}
.menu-footer .nav-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--primary-yellow);
  font-weight: 500;
}
.menu-footer .nav-logo img {
  width: 80px;
  height: 80px;
}

.menu-footer .social {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.social-icons {
  display: flex;
  gap: 1rem;
}
.social p {
  font-size: 1.4rem;
  transition: all 0.3s ease;
}
.social p:hover{
  color: var(--primary-yellow);
}
.social-icons a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  color: var(--primary-red);
  border-radius: 50%;
  text-decoration: none;
  font-size: 0.9rem;
  transition: transform 0.2s;
}

.social-icons a:hover {
  transform: scale(1.1);
}

/* Watermark */
.watermark {
  position: absolute;
  bottom: 0;
  right: 10rem;
  width: 11em;
  opacity: 0.2;
  pointer-events: none;
  z-index: 1;
}

/* ===============================================================================
==================================================================================
===================================================================================
                         END OF  TEMPLATE STYLES
=================================================================================
==================================================================================
================================================================================== */

/* Hero Section */
.hero {
  position: relative;
  height: 80vh;
  min-height: 250px;
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url(/images/curriculumHero.webp);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: end;
  justify-content: center;
  color: white;
  margin-bottom: 7rem;
}

.hero h1 {
  font-size: 12.4vw;
  font-weight: 100;
  text-align: left;
  letter-spacing: 2px;
}

.hero div {
  width: 100%;
  padding: 0 3rem;
  transition: linear 4s ease-in;
}

/*  Content */
.main-content {
  margin-bottom: 5rem;
}

.content-grid {
  padding: 0 3rem;
  padding-left: 0;
}
.content-text {
  display: grid;
  grid-template-columns: 1fr 1fr;

  text-align: left;
}

.content-text h2 {
  font-size: 5.2vw;
  color: var(--primary-red);
  font-weight: 400;
  padding-top: 2rem;
  text-align: center;
}

.content-text p,
.second-content-text p {
  margin-bottom: 2vw;
  color: #555;
  line-height: 1.7;
  font-size: max(18px, 1.6vw);
}

.content-text a {
  color: var(--primary-yellow);
  text-decoration: underline;
}

.content-image {
  position: relative;
}

.content-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.second-content {
  height: max-content;
}

.second-content-grid {
  height: 100%;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 4vw;
}

.second-content-text, .second-content-image {
  flex: 1;

}

.second-content-text {
  height: auto;
  text-align: left;
}
.second-content-text div {
  margin-left: 5vw;
}

.second-content-image {
  object-fit: cover;
  border-top-left-radius: 40px;
  border-bottom-left-radius: 40px;
  height: inherit;
  max-height: 45vw;
}
.second-content-image p {
  margin-bottom: 4rem;
}

.second-content-text ul {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.second-content-text li {
  margin-bottom: 0.5rem;
  color: #555;
}
/* Yellow Section */
.yellow-section {
  background: var(--primary-yellow);
  padding: 4vw 6vw;
  margin-top: 4rem;
}

.yellow-content {
  /*  max-width: 1200px;*/
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4vw;
}

.yellow-section h3 {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: #000000;
  font-weight: 500;
  font-weight: bold;
}

.yellow-section ul {
  list-style: none;
  margin-left: 2rem;
}

.yellow-section li {
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1.5rem;
}

.yellow-section li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #333;
  font-weight: bold;
}

/* Areas of Learning Experience Section */
.aole-section {
  padding: 5vw;
}

.aole-grid {
  /*max-width: 1200px;*/
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5vw;
}

.aole-card {
  background: var(--primary-red);
  color: white;
  padding: 2.5vw;
  border-radius: 12px;
  text-align: left;
}

.aole-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.aole-icon img {
  width: 18vw;
}
.aole-card h3 {
  font-size: 2.37vw;
  margin-bottom: 1rem;
  font-weight: 500;
}

.aole-card p {
  line-height: 1.6;
  font-size: 1rem;
  color: #ecf0f1;
}

/* 
  EXPLORE SECTION
 */
.explore-section {
  background: white;
  padding: 4rem 2rem;
  margin: 2rem 0;
}

.explore-container {
  /*max-width: 1100px;*/
  margin: 0 auto;
}

.explore-title {
  color: var(--primary-red);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;

  margin-bottom: 3rem;
  margin-left: auto;
  margin-right: auto;
}

.explore-cards {
  display: flex;
  justify-content: space-around;
  gap: 1rem;
}
.explore-cards > * {
  flex: 1 1 0;
}
.explore-card {
  position: relative;
  display: block;
  border-radius: 40px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
   aspect-ratio: 3 / 4
}

.explore-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.explore-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.explore-card:hover .explore-card-image {
  transform: scale(1.05);
}

.explore-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  padding: 3rem 2rem 2rem;
  color: white;
}

.explore-card-title {
  margin-top: -6rem;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
/* ===================================
   FOOTER SECTION
   =================================== */
footer * {
  font-size: 1.3rem;
  color: var(--primary-red);
}
footer {
  background: #fff;
  padding: 3rem 2rem 1rem;
  position: relative;
  overflow: hidden;
  border-top: 1px solid #ddd;
}

.footer-container {
  width: 100%;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13rem;
  position: relative;
  z-index: 2;
}

/* Contact */

.footer-contact {
  color: var(--primary-red);
}

.footer-contact div {
  max-width: 40%;
}
.footer-contact p {
  margin: 0.3rem 0;
}

.footer-contact a {
  color: var(--primary-red);
  font-weight: bold;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

/* Useful Links */
.footer-links h3 {
  color: var(--primary-red);
  font-weight: bold;
  margin-bottom: 1rem;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.footer-links-grid a {
  color: var(--primary-red);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links-grid a:hover {
  color: var(--primary-yellow);
}


/* Branding + Social */
.footer-brand a {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-brand a img {
  width: 60px;
}

.footer-brand a span {
  font-weight: 600;
  /* font-size: 1rem; */
}

.footer-social {
  /* margin-top: 1rem; */

  display: flex;
  justify-content: right;
  gap: 1rem;
}

.footer-social a img {
  width: 22px;
  height: 22px;
}

/* Bottom bar */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  /* border-top: 1px solid #ddd; */
  margin-top: 2rem;
  padding-top: 1rem;

  text-align: right;
  /* font-size: 0.85rem; */
  color: #444;
}

.footer-bottom a {
  color: var(--primary-red);
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Watermark */
.footer-watermark {
  position: absolute;
  top: 50%;
  left: 45%;
  transform: translate(-50%, -50%);
  opacity: 0.4;
  z-index: 1;
  width: 18vw;
}

.footer-watermark img {
  width: 100%;
}

/*===============================================================================
      CONTACT STYLE
=================================================================================*/
/* Card Component Styles */
.cc-contact-info {
  display: flex;
  justify-content: center;
  padding: 1.4vw;
}

.cc-contact-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2vw;
  background: #fff;
  border-radius: 5vw;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 6.5vw;
  margin-bottom: 3rem;
  width: 70vw;
}

.cc-contact-details {
  font-family: "Questrial";
  color: #222;
  font-size: max(20px, 2.6vw);
  line-height: 1.6;
}

.cc-contact-button {
  display: flex;
  justify-content: flex-start;
}

.cc-contact-button .cta-button {
  display: inline-block;
  background: var(--primary-red);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: max(16px, 1.6vw);
  font-weight: 500;
  transition: background 0.3s ease;
  margin-top: 7vw;
}

@media screen and (min-width: 640px) {
  .cc-contact-details {
    flex: 2;
  }
    .cc-contact-container {
    flex-direction: row;
    align-items: center;
    margin-bottom: 7rem;
  }
  .cc-contact-button {
    justify-content: flex-end;
    /* flex: 1; */
  }
}

/*===============================================================================
      END OF CONTACT STYLE 
=================================================================================*/

/*=======================================
      TEMPLATE STYLE
======================================*/
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .menu-column ul li a {
    font-size: 2.3vw;
  }
}

@media screen and (max-width: 1000px) {
  .nav-menu {
    padding-left: 5vw;
  }
}

/* TABLET  Responsive Design */
@media screen and (max-width: 768px) {
  .hero {
    margin-bottom: 3rem;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-left: 3rem;
  }
  .content-text {
    display: block;
  }

  .content-text h2 {
    margin-bottom: 2rem;
    text-align: left;
    font-size: 8vw;
  }
  .second-content {
    height: auto;
  }
  .second-content-grid {
    display: flex;
    flex-direction: column;
  }
  .second-content-text div {
    margin-right: 5vw;
}
  .second-content-image {
    height: 85vw;
    width: 100%;
    margin-bottom: 4rem;
    max-height: unset;
    flex: unset
  }

  .second-content-text li {
    margin-bottom: 0.5rem;
    color: #555;
  }
  .yellow-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .yellow-section {
    padding: 3rem 3rem;
  }

  .bottom-section {
    padding: 2rem 1rem;
  }

  .aole-section,
  .themes-section,
  .curriculum-plans {
    padding: 2rem 3rem;
  }

  .aole-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .hidden-text {
    display: none;
  }

  /* TABLET TEMPLATE */
  .nav-logo img {
    height: 7vw;
    width: 7vw;
  }
  .menu-column ul li a {
    font-size: 3.5vw;
  }
  .menu-column h3 {
    font-size: 4vw;
  }
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .nav-menu {
    width: 100%;
    padding-bottom: 12vw;
  }
  .menu-footer {
    margin-right: 6vw;
  }

  .explore-cards {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 1.5rem;
    height: 90vh;
    width: 100%;
  }

  .explore-card-title {
    margin-left: 3r;
  }
  .footer-container {
    grid-template-columns: unset;
    gap: 4rem;
  }
  .footer-links {
    order: -1;
  }
  .footer-links h3 {
    font-size: 3vw;
  }
  footer * {
    font-size: 3.8vw;
  }
  .footer-watermark {
    top: 75%;
    left: 80%;
    width: 40vw;
  }
  .footer-bottom {
    display: block;
  }
  .footer-brand a {
    max-width: unset;
    margin-top: unset;
  }
  .footer-brand a img {
    width: 14vw;
  }
  .footer-brand a h1 {
    font-size: 5vw;
  }
  .privacy,
  .rights,
  .footer-bottom a {
    font-size: 2.8vw;
  }
  .menu-footer {
    position: unset;
  }
  .menu-footer .nav-logo {
    position: absolute;
    top: 0;
    gap: 0;
  }
  .watermark {
    bottom: 10px;
    right: 0;
    width: 12em;
  }
  .menu-footer .nav-logo img {
    width: 13vw;
    height: 13vw;
  }
  .menu-column ul li a {
    font-size: 4.5vw;
  }
  .menu-column h3 {
    font-size: 6vw;
    font-weight: 400;
  }
  .nav-logo h1 {
    font-size: 5.5vw;
  }
  .nav-toggle p {
    display: none;
  }
}

/* PHONE Responsive Design */
@media screen and (max-width: 430px) {
  .content-grid {
    padding: 0 1.8rem;
    padding-left: 1.8rem;
  }
   .nav-menu {
    height:100%
  }
  .hero {
    height: 50vh;
    min-height: 300px;
    margin-bottom: 1rem;
  }

  .hero h1 {
    font-size: 12vw;
    letter-spacing: 1px;
  }
  .content-text h2 {
    font-size: 1.8rem;
  }

  .yellow-section h3 {
    font-size: 1.1rem;
  }
  .aole-card {
    padding: 1.5rem;
  }

  .aole-card h3 {
    font-size: 1.2rem;
  }

  /*PHONE TEMPLATE */
  .nav-logo img {
    height: 9vw;
    width: 9vw;
  }
  .nav-logo p {
    font-size: max(21px, 2.5vw);
  }
  .navbar {
    padding: 0;
  }
  .menu-grid {
    margin-left: 1em;
    gap: 1rem;
    margin-bottom: 12vw;
  }
  .close-menu {
    top: 1em;
  }

  .explore-section {
    margin: unset;
    padding: 2rem;
  }
  .explore-title {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    margin-top: 1rem;
  }
  .footer-container {
    gap: 2rem;
  }
  .social p {
    font-size: 1.2rem;
  }
  footer *,
  .footer-links h3 {
    font-size: 4.8vw;
  }
  .privacy,
  .rights,
  .footer-bottom a {
    font-size: 3.08vw;
  }
  .content-text p,
  .second-content-text p {
    text-align: justify;
  }
  .yellow-section {
    padding: 7vw;
  }
  .aole-section,
  .themes-section,
  .curriculum-plans {
    padding: 7vw;
  }
}