:root{
    --font: 'Poppins', sans-serif;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font);
}

html, body{
  width: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
}

body{
min-height: 100vh;
height: auto;
background: linear-gradient(180deg, #111A2C 31.63%, #69C2E8 68.27%);
background-repeat: no-repeat;
background-size: 100% 100%;
overflow-x: hidden;
isolation: isolate;
}

/* faq pages now use the default main background */

body::before{
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}



body::after{
  content: "";
  position: fixed;
  inset: -60px;         
  z-index: -1;
  pointer-events: none;

}

/* ================================================================================================ HERO + NAV - By Reich Kiambati ====================================================================================================== */

section {
  margin: 0;
  padding: 0;
  display: block;
}

.hero {
  min-height: 100vh;
  margin-bottom: 0;
}

.wds-section {
  margin-top: -90px;
}

.site-header{
  position: sticky;   /* not sticky */
  top: 0;
  left: 0;
  right: 0;
  width: 100%;

  z-index: 1000;

  margin: 0;
  padding: 0;
    background: transparent;
}

.logo{
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 50%;
}

.menu-btn{
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Hide hamburger on non-phones */
.menu-icon{
  display: none;
}

/* Normal desktop links row stays visible */
.container.nav{
  max-width: 100%;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  justify-content: flex-end;
}

.links{
  display: flex;
  gap: 32px;
  align-items: center;
}

/* ========================================== Hamburger Dropdown Phone layout ================================== */
@media (max-width: 767px){
  /* Show hamburger only on phones */
  .menu-icon{
    display: inline-flex;

    position: absolute;
    top: 14px;
    right: 16px;

    width: 44px;
    height: 44px;
    border-radius: 999px;

    align-items: center;
    justify-content: center;

    cursor: pointer;
    user-select: none;

    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .menu-icon .navicon{
    position: relative;
    width: 18px;
    height: 2px;
    background: rgba(255,255,255,0.92);
    border-radius: 999px;
  }

  .menu-icon .navicon::before,
  .menu-icon .navicon::after{
    content: "";
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    background: rgba(255,255,255,0.92);
    border-radius: 999px;
    transition: transform 180ms ease, top 180ms ease;
  }

  .menu-icon .navicon::before{ top: -6px; }
  .menu-icon .navicon::after{ top: 6px; }

  /* Turn hamburger into X when open */
  .menu-btn:checked + .menu-icon .navicon{
    background: transparent;
  }
  .menu-btn:checked + .menu-icon .navicon::before{
    top: 0;
    transform: rotate(45deg);
  }
  .menu-btn:checked + .menu-icon .navicon::after{
    top: 0;
    transform: rotate(-45deg);
  }

  /* ========================================== Mobile dropdown panel =====================================*/
  .container.nav{
    padding: 0;
    justify-content: flex-end;
  }

  .links{
    position: absolute;
    top: 64px; 
    right: 16px;
    left: 16px;

    display: flex;
    flex-direction: column;
    gap: 14px;

    padding: 16px 16px;
    border-radius: 16px;

    background: rgba(10, 16, 28, 0.55);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    /* hidden by default */
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;

    transition: opacity 180ms ease, transform 180ms ease;
  }

  /* Show menu when checkbox checked */
  .menu-btn:checked ~ .container.nav .links{
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .links a{
    color: rgba(255,255,255,0.92);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 13px;

    padding: 10px 12px;
    border-radius: 12px;
  }

  .links a:hover{
    background: rgba(255,255,255,0.08);
    color: #fff;
  }
}


.site-header::after{
  content: "";
  display: block;
  height: 18px;
  pointer-events: none;

}

/* Container + nav alignment */
.container.nav{
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  justify-content: flex-end; /* pushes links to the right */
}

/* Your nav row */
.links{
  display: flex;
  gap: 32px;
  align-items: center;
}

/* Link styling */
.links a{
  position: relative;
  text-decoration: none;

  color: rgba(255,255,255,0.92);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  padding: 10px 2px;
}

/* Underline animation */
.links a::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;

  height: 2px;
  width: 100%;

  background: rgba(255,255,255,0.95);
  border-radius: 1px;

  /* start hidden and slid right */
  transform: translateX(10px) scaleX(0);
  transform-origin: right;
  opacity: 0;

  transition: transform 180ms ease, opacity 180ms ease;
}

.links a:hover::after,
.links a:focus-visible::after{
  /* animate in from right to left */
  transform: translateX(0) scaleX(1);
  opacity: 1;
}

.links a:hover{
  color: #fff;
}


.links a.active::after{
  transform: translateX(0) scaleX(1);
  opacity: 1;
}


.moon{
    position: absolute;
    top: -12%!important;    
    width: 889px;
    height: 915px;
    left: 9%;
    animation: moon 360s infinite linear;
    z-index: 0;
    opacity: 0.55;
}

@keyframes moon{
    0%{
        transform: translate(-50%,0) rotate(0deg);
    }
    100%{
        transform: translate(-50%,0) rotate(360deg);
    }
}

.grains{
  position: fixed;
  inset: 0;
  width: 100vw;

  object-fit: cover;
  object-position: center;

  z-index: 0;
  opacity: 0.9;
}

/* ============================================== Join us Button ===========================================*/
.join-us{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 26px;
  border-radius: 999px;
  left: 42%;
  top: 600px;

  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;

  background: #979AAF;
  border: 1px solid #979AAF;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  overflow: hidden; /* keeps shine inside */
  box-shadow: 0 10px 35px rgba(0,0,0,0.25);

  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}

.join-us:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.28);
}
 
/* Diagonal slash shine layer */
.join-us::before{
  content: "";
  position: absolute;
  inset: -60% -40%;
  pointer-events: none;

  background:
    linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.35) 50%, transparent 60%),
    linear-gradient(115deg, transparent 46%, rgba(255,255,255,0.18) 52%, transparent 58%),
    linear-gradient(115deg, transparent 52%, rgba(255,255,255,0.10) 56%, transparent 60%);

  transform: translateX(-70%);
  opacity: 0;
}

.join-us:hover::before{
  opacity: 1;
  animation: shineSweep 900ms ease forwards;
}

@keyframes shineSweep{
  from{ transform: translateX(-70%); }
  to{ transform: translateX(70%); }
}

/* Optional subtle inner glow */
.join-us::after{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;

  background: radial-gradient(120px 60px at 30% 30%, rgba(103,190,227,0.22), transparent 60%);
  opacity: 0.9;
}



/* =================================== SHOOTING STAR ANIMATION ======================================*/
.star{
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;

  position: absolute;        
  transform-origin: 100% 0;
  opacity: 0;

  /* 10s loop, but flight happens only at the start */
  animation: star-ani 10s infinite ease-out;
}

.star::after{
  content:'';
  position:absolute;
  top: 0px;
  left: 4px;

  border: 2px solid #F00;
  border-width: 2px 150px 2px 150px;
  border-color: transparent transparent transparent #fff;

  transform: rotate(-45deg) translate3d(1px, -1px, 0);
  transform-origin: 0% 100%;

  animation: shooting-ani 10s infinite ease-out;
}


.star{
  display:block;
  width:4px;
  height:4px;
  border-radius:50%;
  background:#FFF;

  position:absolute;
  transform-origin:100% 0;
  opacity:0;

  animation: star-ani 10s infinite ease-out;
}

.star::after{
  content:'';
  position:absolute;
  top:0px;
  left:4px;

  border:2px solid #F00;
  border-width:2px 150px 2px 150px;
  border-color:transparent transparent transparent #FFF;

  transform:rotate(-45deg) translate3d(1px, -1px, 0);
  transform-origin:0% 100%;

  animation: shooting-ani 10s infinite ease-out;
}

/*alternating delays */
.star1{ top:150px; left:900px; animation-delay:0s; }
.star1::after{ animation-delay:0s; }

.star2{ top:320px; left:980px; animation-delay:5s; }
.star2::after{ animation-delay:5s; }

@keyframes star-ani{
  0%{
    opacity:0;
    transform:scale(0) rotate(0) translate3d(0, 0, 0);
  }
  1%{
    opacity:1;
    transform:scale(1) rotate(0) translate3d(0, 0, 0);
  }
  4%{
    opacity:1;
    transform:scale(1) rotate(0) translate3d(-200px, 200px, 0);
  }
  9%{
    opacity:0; /* fade out BEFORE the end */
    transform:scale(1) rotate(0) translate3d(-280px, 280px, 0);
  }
  10%{
    opacity:0;
    transform:scale(1) rotate(0) translate3d(-300px, 300px, 0);
  }
  100%{
    opacity:0;
    transform:scale(1) rotate(0) translate3d(-300px, 300px, 0);
  }
}

@keyframes shooting-ani{
  0%{
    opacity:0;
    transform:rotate(-45deg) translate3d(1px,-1px,0) scale(1);
  }
  1%{ opacity:1; }
  5%{
    opacity:1;
    transform:scale(1) rotate(-45deg) translate(0px, 0px);
  }
  9%{
    opacity:0; /* fade out BEFORE the end */
    transform:scale(0.6) rotate(-45deg) translate(0px, -0.8px);
  }
  10%{
    opacity:0;
    transform:scale(0.5) rotate(-45deg) translate(0px, -1px);
  }
  100%{
    opacity:0;
    transform:scale(0.5) rotate(-45deg) translate(0px, -1px);
  }
}

/*========================================= Optimizing for different screen sizes ==========================================*/

/* IPhone 14 pro Max for reference */
@media (max-width: 480px){
  .logo{
    width: 95%;
    height: auto;
  }

  .moon{
    width: 600px;
    height: 600px;
    left: 5%;
    top: -120px;
    opacity: 0.5;
  }

  .join-us{
    left: 30%;
    top: 570px;
  }

  .star1{
    top: 200px;
    left: 500px;
  }
  .star2{
    top: 450px;
    left: 400px;
  }

  .grains{
    opacity: 1;
  }
}

/*IPhone 12 Profor reference*/

@media (max-width: 400px){
  .join-us{
    top: 520px;
  }
}

/*IPhone XR for reference*/

@media (max-width: 415px){
  .join-us{
    top: 540px;
  }
}

/* IPhone SE for reference */

@media (max-width: 380px){
  .moon{
    width: 500px;
    height: 500px;
    left: 0%;
    top: -150px;
    opacity: 0.45;
  }
  .logo{
    top: 45%;
  }
  .join-us{
    top: 440px;
    width:60%;
  }

  .star1{
    top: 150px;
    left: 300px;
  }
  .star2{
    top: 350px;
    left: 250px;
  }
}

/*laptop and desktop optimizations*/
@media (min-width: 1023px){
  .moon{
    width: 750px;
    height: 750px;
    left: 11%;
    top: -10px;
    opacity: 0.6;
  }
  .join-us{
    top: 500px;
  }
  .star2{
    top: 450px
  }
}

@media (min-width: 760px) and (max-width: 999px){
  .moon{
    top: -120px;
  }
  .logo{
    size: 900px;
  }
}

/* Larger desktops */
@media (min-width: 1400px){
  .moon{
    width: 850px;
    height: 850px;
    left: 12%;
    top: -10px;
    opacity: 0.6;
  }
  .join-us{
    top: 560px;
  }

  .star2{
    top: 500px
  }
  .container.nav{
    max-width: 1600px;
  }
}

/* 4K Screens */
@media (min-width: 2550px){
  .moon{
    width: 1000px;
    height: 1000px;
    left: 14%;
    top: -10px;
    opacity: 0.6;
  }

  .join-us{
    top: 730px;
  }

  .star1{
    top: 150px;
    left: 1400px;
  }
  .star2{
    top: 650px;
    left: 1200px;
  }

  .container.nav{
    max-width: 2450px;
  }
  .links{
    gap: 48px;
  }
  .links a{
    font-size: 16px;
    letter-spacing: 0.14em;
  }

  .logo{
    align-items: center;
  }
  .join-us{
    align-items: center;
    width: 260px;
    height: 60px;
    font-size: 18px;
    left: 45%;
  }
}

/* ============================================== Page content (e.g. Why WDS) =========================================== */
.page-content {
  padding: 80px 24px 48px;
  max-width: 720px;
  margin: 0 auto;
}

/* ============================================== Why WDS Section (from wds-section.html) =========================================== */
.wds-section {
  position: relative;
  width: 100%;
  min-height: 560px;
  background-repeat: no-repeat;
  overflow: visible;
  z-index: 3; /* allow shooting stars to render across section boundaries */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.wds-section .wds-section-grains {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
}

.wds-section .shooting-star {
  position: absolute;
  transform-origin: right center;
  width: 200px;
  height: 18px;
  transform: rotate(25deg);
  opacity: 0.95;
  z-index: 1; /* keep above backgrounds, below content */
  filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.95)) drop-shadow(0 0 24px rgba(255, 200, 0, 0.8)) drop-shadow(0 0 40px rgba(255, 180, 0, 0.6));
}

/* Triangular streak – clip-path only on this layer so the circle isn’t clipped */
.wds-section .shooting-star::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(180, 40, 40, 0.35) 10%,
    rgba(220, 60, 50, 0.6) 28%,
    rgba(255, 120, 50, 0.8) 52%,
    rgba(255, 180, 60, 0.95) 78%,
    #ffd700 92%,
    #ffd700 100%
  );
  pointer-events: none;
}

.wds-section .shooting-star::before {
  content: "";
  position: absolute;
  right: 0;
  left: auto;
  top: 50%;
  z-index: 1;
  transform: translate(50%, -50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 12px #ffd700,
    0 0 24px rgba(255, 215, 0, 0.7);
  pointer-events: none;
}

.wds-section .star-1 {
  top: 170px;
  left: 18%;
}

.wds-section .star-2 {
  top: 100px;
  left: 28%;
}

.wds-section .star-3 {
  top: 250px;
  left: 38%;
}

.wds-section .content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 110px 50px 60px 50px;
  gap: 40px;
  margin-left: 10vw;
  margin-right: 20vw;
}

.wds-section .text-block {
  flex: 1;
  max-width: 480px;
}

.wds-section .text-block h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  line-height: 1;
}

.wds-section .text-block p {
  font-family: 'Barlow', sans-serif;
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.82);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.wds-section .image-box {
  width: min(560px, 100%);
  flex-shrink: 0;
  border-radius: 2px;
  margin-left: 20px;
}

.wds-section .image-box img {
  width: 100%;
  height: auto;
  display: block;
}


/*Adjusting photo positioning WHY WDS*/
@media (min-width:1100px){
  .wds-section .image-box{
    transform: translateX(130px);
  }
}

/* ==================== Why WDS: stacked layout (426px–1100px) ==================== */
@media (min-width: 426px) and (max-width: 1024px){
  /* Pull the section up on small/tablet/laptop so it touches the hero */
  .wds-section{
    margin-top: -92px;
    padding: 64px 20px 40px;
  }

  .wds-section .content{
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    gap: 24px;
    margin-left: 0;
    margin-right: 0;
    text-align: center;
  }

  .wds-section .image-box{
    width: min(560px, 100%);
    margin-left: 0;
  }
}

/* ==================== Why WDS: phones (<=425px) ==================== */
@media (max-width: 425px){
  .wds-section{
    margin-top: -55px;
    padding: 48px 16px 32px;
  }

  .wds-section .content{
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    gap: 20px;
    margin-left: 0;
    margin-right: 0;
    text-align: center;
  }

  .wds-section .image-box{
    width: 100%;
    margin-left: 0;
  }
}

/* ============================================== Sponsors Section =========================================== */
.sponsors-section {
  padding: 80px 24px 100px;
  padding-bottom: 250px;
}

.sponsors-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.sponsors-header {
  max-width: 540px;
  margin-bottom: 36px;
}

.sponsors-kicker {
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 6px;
}

.sponsors-title {
  font-size: clamp(2rem, 3vw, 2.4rem);
  color: #ffffff;
  margin-bottom: 10px;
}

.sponsors-intro {
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
}

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.sponsor-logo-placeholder{
  aspect-ratio: 9 / 9;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04));
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.06);

  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.sponsor-logo-placeholder img{
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

@media (max-width: 800px) {
  .sponsors-section {
    padding: 64px 20px 80px;
  }
  .sponsors-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .sponsor-logo-placeholder{
    max-width: 160px;
    width: 100%;
    margin: 0 auto;
    padding: 12px;
    aspect-ratio: 1 / 1;
  }

  .sponsor-logo-placeholder img{
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }
}

@media (max-width: 520px) {
  .sponsors-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

/*Adjusting the header for different screen sizes */
@media (max-width: 800px){
  .sponsors-header{
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
}

@media (min-width: 1100px){
  .sponsors-header{
    margin-left: calc(10vw - ((100vw - 1100px) / 2));
  }
}
@media (min-width: 760px) and (max-width: 999px){
  .sponsor-logo-placeholder{
    max-width: 330px;
  }
}

/* ============================================== FAQ Accordion =========================================== */
:root {
  --faq-bg: #5a2f2f;
  --faq-bg-alt: #4b2424;
  --faq-text: #ffffff;
  --faq-muted: rgba(255, 255, 255, 0.7);
  --faq-divider: rgba(255, 255, 255, 0.18);
  --faq-icon-size: 1.75rem;
  --faq-radius: 0;
  --faq-max-width: 880px;
  --faq-transition-duration: 220ms;
}

/* 1. Force the moon's container to the absolute background */
.faq-hero {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    z-index: -1 !important; 
    pointer-events: none; /* Ensures the moon doesn't block clicks on the text */
}

.moon {
    z-index: -1 !important;
}

.main-body2{
  background: #111A2C;
}


.faq-section {
  background: #111A2C;
  color: var(--faq-text);
  padding: 96px 16px 120px;
  z-index: 10;
  background: transparent; /* Ensures no weird background colors are blending */

}

.faq-inner {
  max-width: var(--faq-max-width);
  margin: 0 auto;
}

.faq-kicker,
.faq-title,
.faq-intro,
.faq-question-text,
.faq-panel p {
    color: #ffffff !important;
    opacity: 1 !important;
    text-shadow: 0px 4px 15px rgba(0, 0, 0, 1), 0px 2px 5px rgba(0, 0, 0, 1) !important;
}

.faq-header {
  margin-bottom: 40px;
}

.faq-kicker {
  font-family: 'Barlow', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faq-muted);
  margin-bottom: 8px;
}

.faq-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.4rem, 4vw, 3rem);
  line-height: 1.05;
  margin-bottom: 12px;
}

.faq-intro {
  max-width: 560px;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--faq-muted);
}

.faq-accordion {
  border-top: 1px solid var(--faq-divider);
}

.faq-item {
  border-bottom: 1px solid var(--faq-divider);
}

.faq-question-heading {
  margin: 0;
}

.faq-trigger {
  position: relative;
  width: 100%;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border: none;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.faq-trigger:focus-visible {
  outline: 2px solid #f4d3a0;
  outline-offset: 4px;
}

.faq-question-text {
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  letter-spacing: 0.03em;
  text-transform: none;
}

.faq-icon {
  flex-shrink: 0;
  width: var(--faq-icon-size);
  height: var(--faq-icon-size);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition:
    background-color var(--faq-transition-duration) ease,
    border-color var(--faq-transition-duration) ease,
    transform var(--faq-transition-duration) ease;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 2px;
  border-radius: 1px;
  background-color: var(--faq-text);
  transition:
    transform var(--faq-transition-duration) ease,
    opacity var(--faq-transition-duration) ease;
}

.faq-icon::before {
  transform: rotate(0deg);
}

.faq-icon::after {
  transform: rotate(90deg);
}

.faq-trigger[aria-expanded="true"] .faq-icon {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.8);
}

.faq-trigger[aria-expanded="true"] .faq-icon::after {
  transform: rotate(0deg);
  opacity: 0;
}

.faq-panel {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition:
    max-height 260ms cubic-bezier(0.33, 1, 0.68, 1),
    opacity 220ms ease;
}

.faq-panel.is-open {
  opacity: 1;
}

.faq-panel-body {
  padding-bottom: 20px;
  padding-right: calc(var(--faq-icon-size) + 12px);
  color: var(--faq-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.faq-panel-body p + p {
  margin-top: 0.6rem;
}

.faq-list {
  margin: 0.75rem 0 0.75rem 1.2rem;
  padding: 0;
}

.faq-list li + li {
  margin-top: 0.25rem;
}

.faq-figure {
  margin: 1.2rem 0 0;
}

.faq-figure-image {
  display: block;
  width: 100%;
  max-width: 320px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.faq-figure-caption {
  margin-top: 0.5rem;
  font-size: 0.88rem;
}

.faq-figure-caption a {
  color: #f7d9a1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-figure-caption a:hover {
  text-decoration-thickness: 2px;
}

@media (max-width: 720px) {
  .faq-section {
    padding: 72px 18px 96px;
  }

  .faq-trigger {
    padding: 18px 0;
    gap: 20px;
  }

  .faq-panel-body {
    padding-right: 0;
  }
}

/* Reich - Trying some minor adjustements to see if i can fix some bugs */

html, body {
  overflow-x: hidden;
  overflow-x: clip;
}

.hero {
  position: relative;
  overflow-x: clip;
}

.hero .join-us {
  position: absolute !important;
  left: 50% !important;
  top: auto !important;
  bottom: clamp(150px, 45vh, 185px) !important;
  transform: translateX(-50%) !important;
  margin: 0 !important;
}

.hero .join-us:hover {
  transform: translateX(-50%) translateY(-1px) !important;
}
/* ================================================================================================ Meet the Team ====================================================================================================== */

#team {
  text-align: center;
  overflow: hidden;
}

#team .team-heading {
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 800;
  font-size: 32px;
  letter-spacing: 0.02em;
  margin: 0;
  color: #ffffff;
}

#team .team-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px;
  display: grid;
  row-gap: 28px;
  justify-items: center;
}

#team .team-grid {
  display: grid;
  z-index: 10;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 28px;
  width: 100%;
}

/* Center the first row of two members in a 4-column layout */
#team .team-grid > .member:nth-child(1) {
  grid-row: 1;
  grid-column: 2;
}

#team .team-grid > .member:nth-child(2) {
  grid-row: 1;
  grid-column: 3;
}

/* Force a 2 / 4 / 4 / 4 / 3 arrangement */
#team .team-grid > .member:nth-child(3),
#team .team-grid > .member:nth-child(4),
#team .team-grid > .member:nth-child(5),
#team .team-grid > .member:nth-child(6) {
  grid-row: 2;
}

#team .team-grid > .member:nth-child(7),
#team .team-grid > .member:nth-child(8),
#team .team-grid > .member:nth-child(9),
#team .team-grid > .member:nth-child(10) {
  grid-row: 3;
}

#team .team-grid > .member:nth-child(11),
#team .team-grid > .member:nth-child(12),
#team .team-grid > .member:nth-child(13),
#team .team-grid > .member:nth-child(14) {
  grid-row: 4;
}

#team .team-grid > .member:nth-child(15),
#team .team-grid > .member:nth-child(16),
#team .team-grid > .member:nth-child(17) {
  grid-row: 5;
}

#team .team-grid > .member:nth-child(15) {
  grid-column: 1 / 3;
}

#team .team-grid > .member:nth-child(16) {
  grid-column: 2 / 4;
}

#team .team-grid > .member:nth-child(17) {
  grid-column: 3 / 5;
}

#team .member {
  display: grid;
  justify-items: center;
  row-gap: 10px;
}

#team .avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #d9d9d9;
  display: block;
  object-fit: cover;
  object-position: center;
}

#team .role {
  text-transform: uppercase;
  font-size: 12px;
  line-height: 1.2;
  opacity: 0.8;
  margin: 2px 0 0 0;
  color: #ffffff;
}

#team .name {
  text-transform: uppercase;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 700;
  margin: 0;
  color: #ffffff;
}

#team .spacer-lg {
  height: 8px;
}

.cloud-1{
  position: absolute;
  width: 800px;
  height: 649px;
  z-index: 2;
  left: -10vw;
}

.cloud-2{
  position: absolute;
  width: 1000px;
  height: 649px;
  z-index: 0;
  left: 55vw;
  transform: translateY(590px) scaleX(-1);
}

@media (max-width: 900px) {
  #team .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Let auto-flow handle positions on small screens */
  #team .team-grid > .member {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  #team .avatar {
    width: 110px;
    height: 110px;
  }
}

@media (max-width: 770px) {
  #team .team-wrapper {
    padding: 40px 16px;
  }

  #team .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 18px;
  }

  #team .team-grid > .member {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  #team .team-grid > .member:last-child:nth-child(odd) {
    grid-column: 1 / -1 !important;
    justify-self: center;
    width: fit-content;
  }

  #team .avatar {
    width: 100px;
    height: 100px;
  }

  #team .name {
    font-size: 15px;
  }

  #team .role {
    font-size: 11px;
  }

  .cloud-1{
    left: -300px;
  }
  .cloud-2{
    left:100px;
    transform: translateY(700px) scaleX(-1);
  }
}
