header {
  width: 100vw;
  height: 80vh;

  display: grid;
  grid-template-columns: 1fr 1fr;

  align-items: stretch;

  padding: 0 8vw;
  box-sizing: border-box;
  overflow: hidden;
}

header>div:first-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

header>div:last-child {
  position: relative;

  display: flex;
  justify-content: center;
  align-items: center;
}

header h1 {
  font-size: clamp(3rem, 6vw, 7rem);
  line-height: 1;
  margin: 0;
}

header p {
  margin-top: 1rem;
  font-size: clamp(1rem, 3.2vw, 4rem);
}

header input {
  height: 52px;
  width: calc(92% - 30px);
  min-width: 200px;
  max-width: clamp(1px, 675px, 90vw);
  border: none;
  border-radius: 30px;
  padding-left: 20px;
  padding-right: 53px;
  font-size: 16px;
  outline: none;
  box-shadow: 0 1px 3px rgba(23, 23, 23, 0.24);
  margin-top: 20px;
}

.laser {
  position: absolute;
  top: -20vh;
  left: 50%;
  transform: translateX(-50%);
  height: 60vh;
  z-index: 1;

  width: 60vw;
  min-width: 500px;

  background-size: contain;
  background-position: center bottom;

  background-repeat: no-repeat;
  background-image: url('../img/landing/laser/1.webp');

  animation: laserPulse 3s infinite;
}

@keyframes laserPulse {
  0% {
    background-image: url('../img/landing/laser/1.webp');
  }

  16.66% {
    background-image: url('../img/landing/laser/2.webp');
  }

  33.33% {
    background-image: url('../img/landing/laser/3.webp');
  }

  50% {
    background-image: url('../img/landing/laser/4.webp');
  }

  66.66% {
    background-image: url('../img/landing/laser/5.webp');
  }

  83.33% {
    background-image: url('../img/landing/laser/6.webp');
  }

  100% {
    background-image: url('../img/landing/laser/1.webp');
  }
}

.header_logo {
  position: relative;
  z-index: 2;


  max-width: 400px;
  width: 100%;

  filter: drop-shadow(0 0 40px #ffffff) drop-shadow(0 0 100px #03d781);

  animation: slowSpin 24s linear infinite;
}

@keyframes slowSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.partners-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2cm 5vw;
  font-family: inherit;
}

h2 {
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 1.5cm;
}

h2 em {
  font-style: italic;
  font-weight: 300;
  color: #e2e2e2;
}

.partners-section p {
  grid-column: 1 / -1;
  padding: 10px;
}

.partners-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;

  max-width: 36cm;

  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.6cm;

  overflow: hidden;
  cursor: pointer;
}

.partner-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4cm;

  padding: 1.2cm 0.5cm;
  background-color: rgba(20, 30, 35, 0.4);

  border-right: 1px dashed rgba(255, 255, 255, 0.15);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
}

.partner-box:hover {
  background: #3edce255;
}

.partner-box:nth-child(4n) {
  border-right: none;
}


.partner-box:nth-child(n+5) {
  border-bottom: none;
}

.partner-name {

  font-size: 1.4rem;
  font-weight: 600;
  color: #a8b8b8;
  white-space: nowrap;

}

.partner-icon {
  display: inline-block;

  width: 0.8cm;
  height: 0.8cm;

  border-radius: 0.15cm;
  flex-shrink: 0;
}

.sf-c {
  background: #fff;
}

@media (max-width: 30cm) {
  .partners-container {
    grid-template-columns: repeat(2, 1fr);

  }


  .partner-box {
    border-right: 1px dashed rgba(255, 255, 255, 0.15);
    border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
  }


  .partner-box:nth-child(even) {
    border-right: none;
  }


  .partner-box:last-child {
    border-bottom: none;
  }
}

@media (max-width: 15cm) {
  .partners-container {
    grid-template-columns: 1fr;

  }

  .partner-name {
    font-size: 1.2rem;
    white-space: normal;

  }

  .partner-box {
    border-right: none;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
  }

  .partner-box:last-child {
    border-bottom: none;
  }
}

.center-wrapper {
  background-color: rgba(20, 30, 35, 0.4);
  border: solid 1px #ffffff24;
  border-radius: 64px;
  padding: 5rem;
  text-align: center;
  width: calc(100% - 9vw);
  max-width: 36cm;
  margin: auto;
  box-shadow: inset 0 1px 1px 0 #ffffff24, 0 8px 32px 0 #fff0;
  font-size: 1.2rem;
}

.center-wrapper p {
  margin-top: 5px;
}

.project-showcase.partners-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1cm;
  padding: 0;
  box-shadow: inset 0 1px 1px 0 #ffffff24, 0 8px 32px 0 #fff0;
  padding: 2rem;
  background-color: rgba(20, 30, 35, 0.4);
  border-radius: 64px;
}

/* 2. Make the project card a relative container for layering */
.project-showcase .project-showcase-box.partner-box {
  position: relative;
  display: block;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 0.8cm;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  /* Keeps the cards in a nice rectangular shape */
  background: transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-showcase .project-showcase-box.partner-box:hover {
  transform: translateY(-0.2cm);
  box-shadow: 0 0.5cm 1cm rgba(0, 0, 0, 0.3);
  opacity: 1;
  /* Resetting the opacity from the previous snippet */
}

/* 3. Stretch the image to fill the background */
.project-showcase img.partner-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Ensures the image doesn't warp */
  border-radius: 0;
  box-shadow: none;
  z-index: 1;
}

/* 4. Overlay the text at the bottom with the blur effect */
.project-showcase .partner-name {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0.6cm 0.8cm;
  margin: 0;

  /* The Glassmorphism Effect */
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);

  box-sizing: border-box;
  z-index: 2;
  /* Keeps the text above the image */
  font-size: 1.6rem;
  color: #ffffff;
  text-align: left;
}

/* Responsive fallback */
@media (max-width: 15cm) {
  .project-showcase.partners-container {
    grid-template-columns: 1fr;
  }
}

.magnifier {
  position: absolute;
  top: 0;
  left: 0;
  width: 120px;
  /* Size of the magnifying glass */
  height: 120px;
  border-radius: 50%;
  /* Makes it a circle */

  /* Styling to make it look like a lens */
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0.5cm 1cm rgba(0, 0, 0, 0.4),
    inset 0 0 0.2cm rgba(255, 255, 255, 0.1);
  background-repeat: no-repeat;

  /* Crucial: Prevents the magnifier from blocking mouse events meant for the card */
  pointer-events: none;

  /* Keeps it above the image and the text (text is z-index: 2) */
  z-index: 3;

  /* 
    POSITIONING: 
    We use the independent 'translate' property tied to CSS variables. 
    There is intentionally NO transition on this so it follows the mouse instantly.
    The '- 50%' centers the circle exactly on the cursor tip.
  */
  translate: calc(var(--x, 0px) - 50%) calc(var(--y, 0px) - 50%);

  /* 
    ANIMATION: 
    We transition the scale and opacity for a smooth shrink/grow effect.
    The cubic-bezier gives it a slight bouncy "pop" effect.
  */
  scale: 0;
  opacity: 0;
  transition: scale 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    opacity 0.3s ease;
}

/* When hovering over the box, trigger the animation in */
.project-showcase-box.partner-box:hover .magnifier {
  scale: 1;
  opacity: 1;
}

.school {
  text-align: left;
  padding: 3rem;
}

.school div {
  background: rgba(20, 30, 35, 0.4);
  padding: 2rem;
  border-radius: 64px;
}

.school img {
  border-radius: 32px;
  width: 100%;
  margin-bottom: 20px;
}
