/* =========== RESET / TOKENS =========== */
@font-face {
  font-family: "Avenir" !important;
  src: url("../fonts/AvenirLTStd-Roman.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

.full {
  font-family: "Avenir", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #111;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}

/* =========== HELPERS =========== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
}
.lg {
  font-size: 1.125rem;
}
.subtitle {
  font-size: 1.5rem;
  margin-block: 0.5rem 1.5rem;
}
.yellow {
  background: #FFC300;
  color: black;
}

/* =========== Implementing new IKF-font (START) =========== */

/* =========== Implementing new IKF-font (END) =========== */
section {
  padding: 4rem max(5vw, 1.25rem);
}

/* =========== HERO =========== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr auto;
  grid-template-columns: auto 1fr;
  place-items: center;
  color: white;
  margin-bottom: 2rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.6); /* darker for text contrast */
}

.hero-text-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 max(5vw, 1.5rem);
  width: 100%;
  grid-row: 2;
  grid-column: 1;
  z-index: 2;
}

.hero-text {
  font-family: "Avenir", sans-serif;
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 max(5vw, 1.5rem) 1.5rem;
}
.hero-text h1 {
  margin-bottom: 1rem;
}

.hero-text h2 {
  margin-bottom: 1.5rem;
}

.hero_buttons {
  display: flex;
}

.btn.yellow {
  display: flex;
  justify-content: center; /* horizontal */
  align-items: center;
  background-color: #FFC300;
  margin-right: 1.5rem;
  color: black;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  height: 60px;
  width: fit-content;
}

.register_text {
  font-family: "Avenir", sans-serif;
  font-size: 1rem;
}

.calendar {
  height: 1.5rem;
  width: 1.5rem;
}

.calendar-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
  width: 60px; /* Or match it with the register button */
  padding: 0; /* Reset padding if needed */
  border-radius: 0.5rem;
  background-color: #FFC300;
}

.calendar-btn img {
  height: 24px;
  width: 24px;
}

@media (max-width: 500px) {
  .hero {
    grid-template-rows: auto auto !important;
    grid-template-columns: 1fr !important;
    place-items: start !important;
    padding-left: 1.5rem !important;
    padding-bottom: 2rem !important;
  }

  .hero-text {
    padding-left: 1rem !important;
    padding-bottom: 2rem !important;
    text-align: left !important;
  }

  .hero-text .title h1 {
    font-size: 3rem !important;
  }

  .hero-text .subtitle h2 {
    font-size: 1.25rem !important;
    word-wrap: break-word !important;
  }

  .hero_buttons {
    flex-direction: row !important;
    gap: 1rem !important;
    flex-wrap: nowrap !important;
  }

  .btn.yellow {
    height: auto !important;
    padding: 0.75rem 1rem !important;
  }
}

/* =========== MAIN CONTAINER =========== */
/* =========== PART 2 CONTAINER =========== */
.part-two-container {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 4rem;
  padding: 0.5rem max(5vw, 1.5rem);
  background-color: #fff;
  max-width: 1200px;
  margin: 0 auto;
}

/* =========== LEFT COLUMN =========== */
.left-col {
  display: grid;
  grid-template-rows: auto auto; /* About + Journey */
  gap: 2.5rem;
}

/* =========== ABOUT SECTION =========== */
.about .title p {
  margin-bottom: 2rem;
}

.about .para p {
  line-height: 1.75;
  color: #000;
}

/* =========== JOURNEY SECTION =========== */
.main {
  margin-bottom: 2.5rem;
}

.journey-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.step {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 1.25rem 1rem;
  display: grid;
  gap: 0.5rem;
  background: #fff;
  max-width: 100%; /* Ensures card never overflows grid */
}

.step .title {
  font-size: 2rem;
  font-weight: 350;
  margin-bottom: 0.5rem;
  line-height: 1.6;
  color: #000;
  text-align: left;
  padding-left: 0.75rem;
}

.step .fee {
  padding-left: 0.75rem;
  font-size: 1.25rem;
  line-height: 1.4;
  color: #000;
  font-weight: 400;
  text-align: left;
}

.step .desc {
  padding-left: 0.75rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #000;
}

/* Hover effect */
.step:hover {
  background: linear-gradient(to bottom, #fff8e1, #ffc300);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

/* =========== RIGHT COLUMN =========== */
.right-col {
  display: grid;
  gap: 3rem;
}

/* =========== WHY IT MATTERS =========== */

.why-matters .pillar {
  display: grid;
  gap: 0.8rem;
}

.sub-main {
  margin-bottom: 1rem;
}

.why-matters .pillar .para {
  font-size: 1rem;
  line-height: 1.6;
  color: #000;
}

/* =========== RESPONSIVE =========== */
@media (max-width: 834px) {
  .part-two-container {
    grid-template-columns: 1fr;
  }

  .journey-steps {
    grid-template-columns: 1fr; /* Stack cards on small screens */
  }

  .left-col,
  .right-col {
    width: 100%;
  }

  .right-col {
    margin-top: 2rem;
  }
}

/* =========== Features =========== */

.feature-strip {
  display: flex;
  justify-content: left;
  gap: 3rem; /* adjust spacing as needed */
  font-size: 1rem;
  font-weight: 400;
  margin: 0 auto 2rem auto;
  max-width: 1200px;
}

.dot {
  display: inline-block;
  width: 5ch; /* approximate width of a tab */
}

/* =========== PART-3 =========== */

.season-highlight {
  padding: 0rem max(5vw, 1.5rem);
  background: #fff;
  max-width: 1200px;
  margin: auto;
  margin-top: 2rem;
}

.season-highlight .title {
  margin-top: 2rem;
  margin-bottom: 2.5rem;
}

.season-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

/* Responsive for small screens */
@media (max-width: 834px) {
  .season-grid {
    grid-template-columns: 1fr;
  }
}

/* =========== FAQ =========== */

/* =========== Media query to fix buttons =========== */
@media (max-width: 500px) {
  .hero_buttons {
    flex-direction: row !important; /* Keep side by side */
    flex-wrap: nowrap !important; /* Prevent wrapping */
    gap: 1rem !important;
    justify-content: start !important;
  }

  .btn.yellow,
  .calendar-btn {
    height: 50px;
    padding: 0.5rem 1rem !important;
    font-size: 0.9rem;
    min-width: auto;
    width: auto;
  }

  .calendar-btn img {
    height: 20px;
    width: 20px;
  }
}
