.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 1rem 0;
  margin-bottom: -7rem;
  z-index: 2;
  overflow: hidden;
}

.text-wrapper {
  position: relative;
  margin-bottom: 25vh;
  margin-top: -5vh;
  z-index: 3;
  color: white;
  max-width: 800px;
}

.hero-title {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.2;
  background: linear-gradient(90deg, #ffffff, #eae8e6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  font-size: 1.1rem;
  font-weight: 400;
  color: #eee;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-bottom-fade {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to bottom, transparent, #111);
  z-index: 2;
  pointer-events: none;
}

.cta-bar h2 {
  font-size: 2rem;
  font-weight: 500;
  margin: 0;
}

.cta-bar img {
  width: 64px;
  height: 64px;
}

.sdg-corner {
  position: absolute;
  bottom: 77%;
  right: 1%;
  margin-bottom: 8vh;
  transition: linear;
  z-index: 5;
  border-radius: 10px;
  width: 100px;
  max-width: 25vw;
  opacity: 0.95;
}

.sdg13-layout {
  background: #fff;
  color: white;
  font-family: "Outfit", sans-serif;
  padding: 4rem 1.5rem;
}

.sdg13-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.video-frame iframe {
  width: 100%;
  height: 300px;
  border-radius: 1rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.sdg13-label {
  color: #14cb5a;
  font-size: 0.85rem;
  font-family: "Helvetica Neue", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 0.5rem;
}

.sdg13-heading {
  font-size: 2rem;
  font-weight: 500;
  font-family: "Helvetica Neue", sans-serif;
  margin: 0 0 1.25rem;
  color: black;
  line-height: 1.3;
}

.sdg13-content p {
  font-family: "Helvetica Neue", sans-serif;
  font-size: 1.05rem;
  text-align: justify;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

/* Responsive Design */
@media (max-width: 900px) {
  .sdg13-container {
    grid-template-columns: 1fr;
    text-align: justify;
  }

  .sdg13-heading {
    font-size: 1.75rem;
  }

  .sdg13-content p {
    font-size: 1rem;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .block-heading {
    font-size: 1.75rem;
  }

  .block-content p {
    font-size: 1rem;
  }
}

.content-hub-section {
  color: #111;
  font-family: "Outfit", sans-serif;
  padding: 4rem 1.5rem;
  width: 100%;
}

.content-hub-section .block-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.content-hub-section .block-content {
  text-align: center;
}

.content-hub-section .block-label {
  color: #0cc170;
  font-size: 0.85rem;
  font-family: "Helvetica Neue", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 0.5rem;
}

.content-hub-section .block-heading {
  font-size: 2rem;
  font-weight: 500;
  font-family: "Helvetica Neue", sans-serif;
  margin: 0 0 1.25rem;
  color: #111;
  line-height: 1.3;
}

.content-hub-section .block-content p {
  font-family: "Helvetica Neue", sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  color: #444;
}

@media (max-width: 768px) {
  .content-hub-section .block-heading {
    font-size: 1.6rem;
  }

  .content-hub-section .block-content p {
    font-size: 1rem;
  }
}

.wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  height: 320px;
  width: 100%;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(40px);
}

.card.show {
  opacity: 1;
  transform: translateY(0);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.4s ease;
}

.card:hover img {
  transform: scale(1.05);
}

.card .info {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  z-index: 2;
  opacity: 0;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: opacity 0.4s ease;
}

.card:hover .info {
  opacity: 1;
}

.card .info h1 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
}

.card .info p {
  font-size: 0.9rem;
  color: #ccc;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.card .button {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 0.75rem;
  text-align: center;
  font-family: "Helvetica Neue", sans-serif;
  text-transform: uppercase;
  padding: 0.5rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(6px);
}

@media (max-width: 1200px) {
  .wrapper {
    grid-template-columns: repeat(1, 1fr);
    width: 80%;
  }
}

@media (max-width: 768px) {
  .wrapper {
    grid-template-columns: repeat(1, 1fr);
    width: 80%;
  }
}

#explore {
  scroll-margin-top: 7.5rem;
}
