.heading {
  font-size: 30px;
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: transform 1s ease;
  text-align: center;
}

.glass-container {
  flex-direction: row;
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
}

.glass-box {
  width: 50%;
  max-width: 550px;
  padding: 40px;
  border-radius: 24px;

  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.glass-box h2,
.glass-box h3 {
  font-weight: 500;
}

.glass-box p {
  line-height: 1.8;
  font-weight: 300;
}

.sub-section {
  margin-top: 28px;
  padding-left: 20px;
  border-left: 2px solid rgba(255, 255, 255, 0.25);
}

.sub-section h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

/* Mobile layout */
@media (max-width: 1024px) {

  .glass-container {
    flex-direction: column;
    gap: 24px;
  }

  .glass-box {
    margin: auto;
    width: 100%;
    padding: 28px 22px;
  }

  .glass-box h2 {
    font-size: 1.5rem;
    margin-bottom: 18px;
  }

  .sub-section {
    margin-top: 20px;
    padding-left: 16px;
  }

  .sub-section h3 {
    font-size: 1.05rem;
  }

  .glass-box p {
    line-height: 1.7;
  }
}

.trustees {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.trustee-card {
  width: 250px;
  background: transparent;
  padding: 40px 20px;
  text-align: center;
}

.trustee-img {
  width: 130px;
  height: 130px;
  background: transparent;
  border-radius: 50%;
  margin: 0 auto 25px;
}

.trustee-img img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.trustee-card h3 {
  width: 100%;
  color: white;
  font-family: monospace;
  font-size: 25px;
  font-weight: 400;
  margin-bottom: 12px;
}

.trustee-card p {
  color: white;
  font-family: monospace;
  font-size: 1.4rem;
  line-height: 1.4;
}

.font-30 {
  font-size: 30;
}

.footer {
  inline-size: 100%;
  background: transparent;
  color: white;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  block-size: auto;
  padding: 60px 0px;
  margin: auto;
}

.footer-left {
  text-align: center;
}

.footer-logo {
  width: 120px;
  height: auto;
  display: block;
  margin: 0 auto 25px auto;
}

.footer-left h2 {
  font-size: 42px;
  font-weight: 300;
}

@media (max-width:768px) {

  .footer {
    flex-direction: column;
    gap: 40px;
  }

  .footer-divider {
    width: 80%;
    height: 2px;
  }

  .footer-right {
    flex-direction: column;
    gap: 40px;
  }

}

.underline {
  width: 200px;
  height: 1px;
  background: white;
  margin: 12px auto 50px auto;
}

.footer-left p {
  font-size: 20px;
}

.footer-divider {
  width: 1px;
  height: 350px;
  background: white;
}

.footer-right {
  display: flex;
  gap: 80px;
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-section h3 {
  font-size: 38px;
  margin-bottom: 20px;
}

.footer-section a {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
}

.footer-section a:hover {
  opacity: .8;
}

.line {
  inline-size: 100%;
  margin: 10px 0 10px 0;
  position: relative;
  border-block-start: 2px solid #fff;
  box-sizing: border-box;
}

.navbar {
  flex-wrap: wrap;
  inline-size: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.navitem a {
  color: white;
  text-decoration: none;
}

.navitem {

  margin: 0 50px 5px 50px;
  position: flex;
  font-size: 20px;
}

.menu-btn {
  justify-content: center;
  align-items: center;
  display: none;
  cursor: pointer;
}

.headin {
  color: #fff;
  position: fixed;
  inline-size: 100%;
  inset-block-start: 0;
  inset-inline-start: 0;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 1000;
  transition: transform 0.4s ease;
  flex-direction: column;
  padding: 10px 0;
}

.backdrop-blur {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 900;
  display: grid;
  height: 150px;
  pointer-events: none;

  >span {
    grid-area: 1/1;
    transition: opacity 0.2s linear;
  }

  > :first-child {
    -webkit-backdrop-filter: blur(1px);
    backdrop-filter: blur(1px);
    -webkit-mask: linear-gradient(0deg, transparent, #000 8%);
    mask: linear-gradient(0deg, transparent, #000 8%);
  }

  > :nth-child(2) {
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    -webkit-mask: linear-gradient(0deg, transparent 8%, #000 16%);
    mask: linear-gradient(0deg, transparent 8%, #000 16%);
  }

  > :nth-child(3) {
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    -webkit-mask: linear-gradient(0deg, transparent 16%, #000 24%);
    mask: linear-gradient(0deg, transparent 16%, #000 24%);
  }

  > :nth-child(4) {
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    -webkit-mask: linear-gradient(0deg, transparent 24%, #000 36%);
    mask: linear-gradient(0deg, transparent 24%, #000 36%);
  }

  > :nth-child(5) {
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    -webkit-mask: linear-gradient(0deg, transparent 36%, #000 48%);
    mask: linear-gradient(0deg, transparent 36%, #000 48%);
  }

  > :nth-child(6) {
    -webkit-backdrop-filter: blur(32px);
    backdrop-filter: blur(32px);
    -webkit-mask: linear-gradient(0deg, transparent 48%, #000 60%);
    mask: linear-gradient(0deg, transparent 48%, #000 60%);
  }

  &::after {
    content: "";
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 60%, transparent);
    grid-area: 1/1;
  }
}


.content-large {
  font-size: 50px;
  margin: 0 auto 0 auto;
  overflow-wrap: break-word;
  max-inline-size: 50%;
  max-block-size: 30%;
  align-items: center;
  justify-items: center;
}

.content-regular {
  font-size: 30px;
  margin: 0 auto 0 auto;
  overflow-wrap: break-word;
  max-inline-size: 50%;
  max-block-size: 30%;
  align-items: center;
  justify-items: center;
}

.grid-container {
  position: relative;
  display: grid;
  block-size: 100%;
  inline-size: 100%;
  grid: auto-flow dense / repeat(2, 50%);
  justify-content: center;
  align-items: center;
  text-align: center;
}

.grid-container img {
  margin: 10%;
  display: flex;
  justify-content: center;
  align-items: center;
  inline-size: 80%;
  block-size: 80%;
  object-fit: cover;
}

.grid-container>div:nth-child(4n-1) {
  grid-column: 2;
}

.container {
  position: relative;
  max-block-size: 100vh;
  padding: 5%;
  inline-size: 100%;
  text-align: center;
  margin: auto;
}

.container-1 {
  margin: 150px auto auto auto;
  position: relative;
  justify-content: center;
  align-items: center;
  inline-size: 90%;
  text-align: center;
}

.hidden {
  overflow: hidden;
}

.parallax-container {
  overflow: hidden;
  block-size: 100vh;
  scroll-snap-align: start;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: white;
  transform-origin: left center;
  scale: 0 1;
  z-index: 2000;
}

.back-white {
  background-color: #000;
}

@media (max-width: 1024px) {

  .grid-container {
    display: grid;
    grid-template-columns: 1fr;
    place-items: center;
    position: relative;
    max-height: 100vh;
    overflow: hidden;
  }

  .grid-container img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;

    filter: blur(10px);
    transform: scale(1.1);
    /* hides blur edges */

    opacity: 0.4;
    z-index: 1;
  }

  .grid-container>div:not(:has(img)) {
    position: relative;
    z-index: 2;
    padding: 2rem;
  }

  .content-regular {
    max-width: 90%;
    font-size: 30px;
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    text-align: center;
  }
}

@media (max-width:1024px) {

  .content-large {
    font-size: 40px;
    margin: 0 auto 0 auto;
    overflow-wrap: break-word;
    max-inline-size: 50%;
    max-block-size: 30%;
    align-items: center;
    justify-items: center;
  }

  .container {

    position: relative;
    inline-size: 100%;
  }

  .container p {
    font-size: 20px;
  }

  .menu-btn {
    display: flex;
  }

  .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    -webkit-mask: linear-gradient(180deg, transparent, #000 8%);
    mask: linear-gradient(180deg, transparent, #000 8%);
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-20px);
    transition:
      max-height 0.5s ease,
      opacity 0.35s ease,
      transform 0.35s ease;
    pointer-events: none;
  }

  .navbar.active {
    display: flex;
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .navitem {
    border: 2px solid white;
    width: 100%;
    padding: 15px;
    margin: auto;
    text-align: center;
    opacity: 0;
  }

  .navbar.active .navitem {
    opacity: 1;
    transform: translateY(0);
  }

  .navbar.active .navitem:nth-child(1) {
    transition-delay: 0.05s;
  }

  .navbar.active .navitem:nth-child(2) {
    transition-delay: 0.1s;
  }

  .navbar.active .navitem:nth-child(3) {
    transition-delay: 0.15s;
  }

  .navbar.active .navitem:nth-child(4) {
    transition-delay: 0.2s;
  }

  .navbar.active .navitem:nth-child(5) {
    transition-delay: 0.25s;
  }
}

span {
  display: flex;
  gap: 1rem;
}

p {
  font-size: 25px;
}



html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 120px;
}

:root {
  --white: #ffffff;
  --accent: #000055;
}