@import url('https://fonts.googleapis.com/css2?family=DM+Mono:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Instrument+Sans:ital,wght@0,400..700;1,400..700&family=Monoton&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&family=Space+Grotesk:wght@300..700&family=Unbounded:wght@200..900&display=swap');



* {
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
  font-family: var(--font-family), Arial, Helvetica, sans-serif;
}

:root {
  --font-family: 'space grotesk', sans-serif;
  --primay-color: #3F5273;
  --primary-color-lighter: rgba(63, 82, 115, 0.8);
  --primary-color-lighter: rgba(63, 82, 115, 0.4);
  --white-background-text-title: #FFFFFF;
  --dark-background: #181A1D;
  --white-text: #f5f5f5;
  --dark-text: #181A1D;
}

html,
body {
  height: 100%;
  width: 100%;
  overflow-x: none;
}

/* body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
} */

section {
  width: 100%;
  /* height: clamp(fit-content, 100%, 100%); */
  height: min(100%, 850px);
  /* max-height: 850px; */
  padding: 30px;
}

section>div {
  width: min(1440px, 100%);
}

header {
  display: flex;
  justify-content: space-between;
  /* position: fixed; */
  background-color: transparent;
  padding: 0px 30px;
  width: min(1440px, 100%);
  /* font-family: var(--font-family); */
}

header p {
  color: var(--white-text);
}

header hr {
  border: none;
  background-color: var(--white-text);
  width: 0%;
  height: 2px;
}

.nav_parent {
  display: flex;
  flex-direction: column;
  height: fit-content;
}

.nav_parent a {
  color: var(--white-text);
  text-decoration: none;
}

.nav_parent:hover {
  cursor: pointer;
}

.logo {
  width: 125px;
  height: auto;
}

h1,
li {
  font-size: clamp(32px, 1.5rem, 40px);
  font-weight: 800;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(28px, 1.5rem, 36px);
  font-weight: 700;
  text-transform: uppercase;
}

.white_title {
  font-size: clamp(28px, 1.5rem, 36px);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white-text);
}

.p1 {
  font-size: clamp(20px, 0.5rem, 26px);
  font-weight: 500;
}

.dark_txt {
  font-size: clamp(18px, 0.5rem, 24px);
  font-weight: 500;
  /* color: rgba(0.5, 0.5, 0.5, 0.7) */
  color: var(--dark-text);
}


.white_txt {
  font-size: clamp(18px, 0.5rem, 24px);
  font-weight: 500;
  /* color: rgba(0.5, 0.5, 0.5, 0.7) */
  color: var(--white-text);
}

.footer_txt {
  font-size: clamp(16px, 0.5rem, 18px);
  font-weight: 500;
  /* color: rgba(0.5, 0.5, 0.5, 0.7) */
  color: var(--white-text);
}

span {
  font-size: clamp(20px, 1.5rem, 24px);
  font-weight: 500;
  text-transform: none;
}

li {
  list-style-position: inside;
  /* sets the bullets inside the parent */
  /* list-style-type: none; removes the bullet on th lists*/
}

.hero {
  background-image: linear-gradient(rgba(0.5, 0.5, 0.5, 0.3), rgba(0.5, 0.5, 0.5, 0.3)), url(./Media/nir-himi-1-2xeFRgIgA-unsplash.jpg);
  background-size: cover;
  background-position-y: 30%;
  /* background-position-x: -40%; */
  background-position-x: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 50px;
  /* max-height: 850px; */
}

.hero_parent {
  display: flex;
  justify-content: center;
  width: min(1440px, 100%);
  height: 100%;
  gap: 50px;
}

.hero_content {
  color: var(--white-background-text-title);
  display: flex;
  flex-direction: column;
  gap: 30px;
  justify-content: center;
  width: 100%;
}

.achievement {
  display: flex;
  background-color: var(--primary-color-lighter);
  /* width: clamp(330px, 1.5em, 655px); */
  width: min(655px, 100%);
  flex-wrap: wrap;
  padding: 20px 30px;
  row-gap: 20px;
  justify-content: space-between;
  border-radius: 20px;
  backdrop-filter: blur(26px);
}

.collect_info {
  width: clamp(250px, 100%, 700px);
  /* height: clamp(420px, 100%, 600px); */
}

#form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* align-items: center; */
  padding: 30px 30px;
  background-color: rgb(255, 255, 255, 0.8);
  justify-content: space-between;
  border-radius: 10px;
  font-size: 20px;
  backdrop-filter: blur(10px);
  font-weight: 400;
  height: clamp(420px, 100%, 600px);
}

#form label {
  display: flex;
  flex-direction: column;
}

#form input,
select {
  /* appearance: none;
  -webkit-appearance: none; */
  padding: 10px;
  border-radius: 10px;
  outline: none;
  /* inline: none; */
  background-color: #E5e5e5;
  border: 2px solid #c5c5c5;
  box-shadow: none;
}

#form input:focus,
select:focus {
  border-color: var(--dark-background);
}

.main_cta {
  width: fit-content;
  padding: 15px 25px;
  color: var(--white-background-text-title);
  background-color: var(--primay-color);
  border: none;
  border-radius: 100px;
  transition: scale 0.5s ease;
  height: fit-content;
  font-size: 16px;
  /* position: fixed;
  right: 10px;
  bottom: 15px;
  z-index: 2; */
}

.main_cta:hover {
  scale: 1.01;
  cursor: pointer;
}

/* #form fieldset {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  justify-content: space-between;
} */

.section_2 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: 70px;
  gap: 60px;
  height: fit-content;
  align-items: center;
  /* height: 1024px; */
}

.intro_2 {
  display: flex;
  flex-direction: column;
  width: min(1440px, 100%);
  /* width: min(80%, 1440px); */
  gap: 20px;
  /* height: 600px; */
}

.trait_description {
  display: flex;
  justify-content: space-between;
  align-items: end;
  height: 600px;
  padding: 0px 30px;
}

.trait {
  width: 100%;
}

.description {
  /* width: 80%; */
  width: 676px;
  height: clamp(400px, 100%, 500px);
  background-color: var(--primay-color);
  border-radius: 10px;
  padding: 30px;
  color: var(--white-text);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.description svg {
  width: clamp(60px, 100%, 80px);
  /* height: clamp(60px, 100%, 80px); */
  /* height: auto; */
  /* height: fit-content; */
  height: 80px;
}

.section_4 {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: fit-content
}

.section_4>div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  /* min-height: 100vh; */
  height: fit-content;
  padding: 50px 30px;
  width: min(1440px, 100%);
  margin-bottom: 50px;
}

/* ---------- Intro (right aligned block) ---------- */
.intro_4 {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  text-align: right;
}

.intro_4>* {
  width: 858px;
  max-width: 100%;
  margin: 0;
}

/* ---------- Image + program ---------- */
.img_program {
  width: 100%;
  display: flex;
  align-items: start;
  justify-content: center;
  gap: 100px;
  /* height: clamp(400px, 100%, 500px); */
  height: fit-content;
}

.program_img {
  display: none;
  width: 100%;
  height: 500px;
  /* padding: 50px; */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #e5e5e5;
  border-radius: 10px;
  overflow: hidden;
  background-image: url(./Media/program_img.jpg);
  background-size: cover;
}

.program_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* hide the empty placeholder image so no broken icon shows */
.program_img img[src=""],
.program_img img:not([src]) {
  display: none;
}

.program {
  /* flex: 1 0 0;
  min-width: 0;
  align-self: stretch; */
  width: min(1000px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 50px;
}

/* ---------- Tabs (pill switcher) ---------- */
.program_tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 15px;
  background: rgba(63, 82, 115, 0.8);
  border-radius: 100px;
  gap: 10px;
}

.tab {
  padding: 20px 30px;
  border: 0;
  border-radius: 100px;
  background: transparent;
  color: #e5e5e5;
  font: 500 16px/normal 'Space Grotesk', sans-serif;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.tab:hover:not(.is-active) {
  color: #fff;
}

.tab.is-active {
  background: #fff;
  color: #000;
}

.tab:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ---------- Panels ---------- */
/* Both panels share one grid cell so the layout never jumps when switching */
.program_panels {
  display: grid;
  width: 100%;
}

.panel {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  /* text-align: center; */
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s linear 0.35s;
}

.panel>div {
  display: flex;
  width: 100%;
  height: fit-content;
  background-color: var(--primary-color-lighter);
  border-radius: 7px;
}

.time {
  background-color: var(--primay-color);
  padding: 7px;
  border-top-left-radius: 7px;
  border-bottom-left-radius: 7px;
  /* width: min(200px, 100%); */
  /* width: fit-content; */
}

.activity {
  padding: 7px;
}

.panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

.panel_title,
.panel_text {
  width: 100%;
  margin: 0;
  line-height: normal;
}

.section_5 {
  background-color: var(--dark-background);
  display: flex;
  flex-direction: column;
  gap: 70px;
  /* overflow-x: hidden; */
  align-items: center;
  height: fit-content;
}

.intro_5 {
  color: var(--white-text);
  width: 100%;
}

.txt {
  display: flex;
  align-items: flex-end;
  color: #e9e9e9;
  text-align: right;
  flex-direction: column;
  gap: 20px;
}

.txt p {
  width: 80%;
}

.section_6 {
  overflow-y: hidden;
  /* border: 2px solid red; */
  padding-bottom: 0px;
  margin-top: 50px;
  margin-bottom: 50px;
  background-color: #FFFFFF;
}

.section_6::-webkit-scrollbar {
  display: none;
}

.fade {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 30px;
  gap: 50px;
  background-color: var(--primay-color);
  border-radius: 10px;
  /* border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px; */
  /* color: var(--white-text); */
  color: #e9e9e9;
  align-items: center;
}

.fade>div {
  width: min(1440px, 100%);
}

.fade p {
  text-align: right;
  /* color: */
  width: 80%;
}

.why {
  position: relative;
  /* z-index: 1px; */
}

.section_7 {
  /* margin-top: 50px; */
  background-image: linear-gradient(rgba(0.5, 0.5, 0.5, 0.1), rgba(0.5, 0.5, 0.5, 0.1)), url(./Media/sebastian-schuster-pFv5PYlDQBk-unsplash.jpg);
  background-size: cover;
  display: flex;
  gap: 50px;
  justify-content: center;
  align-items: start;
}

.section_7>div {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  height: 100%;
}

.partners {
  display: flex;
  flex-direction: column;
  background-color: var(--primary-color-lighter);
  width: min(655px, 100%);
  height: fit-content;
  flex-wrap: wrap;
  padding: 20px 30px;
  row-gap: 20px;
  justify-content: space-between;
  align-items: start;
  border-radius: 15px;
  backdrop-filter: blur(26px);
  color: var(--white-text);
}

.scroll_sponsors {
  display: flex;
  gap: 30px;
  overflow-x: hidden;
  width: 100%;
}

.scroll_sponsors::-webkit-scrollbar {
  display: none;
}

.sponsors {
  display: flex;
  gap: 20px;
  width: 100%;
  height: 125px;
  justify-content: center;
}

footer {
  display: flex;
  background-color: var(--primay-color);
  padding: 30px;
  color: var(--white-text);
  justify-content: space-between;
  /* position: fixed;
  z-index: -1;
  bottom: 0;
  width: 100%;
  left: 0;
  opacity: 0; */
}

footer>:nth-child(1) {
  display: flex;
  flex-direction: column;
  justify-content: start;
  gap: 20px;
}

.logo_footer {
  width: min(400px, 100%);
}

.contact {
  display: flex;
  flex-direction: column;
  text-align: right;
  gap: 20px;
}

.socials {
  display: flex;
  gap: 5px;
  justify-content: flex-end;
}

.socials svg {
  width: 60px;
  height: 60px;
  padding: 10px;
  fill: var(--white-text);
  border-radius: 70px;
  transition: all 0.5s ease;
}

.socials svg:hover {
  fill: var(--primay-color);
  background-color: var(--white-text);
  border-radius: 70px;
}

.mail {
  color: var(--white-text);
  font-size: clamp(18px, 1.5rem, 20px);
}

@media (max-width: 900px) {
  .section_4 {
    height: fit-content;
  }

  .img_program {
    flex-direction: column;
  }

  .program_img {
    width: 100%;
    /* height: 400px; */
    padding: 20px;
  }

  .program {
    gap: 60px;
  }

  .intro_4 {
    align-items: flex-start;
    text-align: left;
  }

  .cursor {
    display: none;
  }
}

@media(max-width: 800px) {
  .hero {
    height: fit-content;
    align-items: center;
  }

  /* .hero_parent {
    flex-direction: column;
  } */
}

@media(max-width: 700px) {
  /* .hero {
    height: fit-content;
  } */

  header {
    padding: 0px;
  }

  .hero_parent {
    flex-direction: column;
  }

  .trait_description {
    flex-direction: column-reverse;
    gap: 20px;
    height: fit-content;
    padding: 0px;
    padding-top: 10px;
    height: 100vh;
  }

  .description {
    width: 100%;
    height: 400px;
  }

  .section_4>div {
    padding: 50px 0px;
  }

  .section_7 {
    height: fit-content;
  }

  .section_7>div {
    flex-direction: column;
    /* height: fit-content; */
  }

  footer {
    flex-direction: column-reverse;
    gap: 50px;
  }

  .socials {
    justify-content: flex-start;
  }

  .contact {
    text-align: left;
  }
}

@media(max-width: 500px) {
  .section_6 {
    display: flex;
    flex-direction: column;
    height: fit-content;
    gap: 30px;
  }

  .fade {
    height: fit-content;
  }

  .program_img {
    height: 400px;
  }

  .panel>div {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .time {
    width: 100%;
    border-top-right-radius: 7px;
    border-bottom-left-radius: 0px;
  }
}