:root {
  --nav-height: 120px;
  --accent: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.12);
  --glass-border: rgba(255, 255, 255, 0.25);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.hero {
  position: relative;
  width: 100vw;
  height: calc(100vh - var(--nav-height));
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 30%, rgba(0,0,0,0.35) 100%);
}

/* Navbar */

.navbar {
  position: relative;
  width: 100%;
  height: var(--nav-height);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 40px;
  z-index: 10;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.navbar__section {
  display: flex;
  align-items: center;
  gap: 14px;
}

.navbar__section--left {
  justify-content: flex-start;
}

.navbar__section--center {
  justify-content: center;
}

.navbar__section--right {
  justify-content: flex-end;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: #191b30;
  border: 1.5px solid rgba(25, 27, 48, 0.35);
  border-radius: 50%;
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.social-icon svg {
  width: 15px;
  height: 15px;
}

.social-icon:hover {
  opacity: 1;
  transform: translateY(-2px);
  background: rgba(25, 27, 48, 0.08);
}

.logo img {
  height: 88px;
  width: auto;
  display: block;
}

.nav-link {
  color: #1c213f;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  opacity: 0.9;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
  opacity: 1;
  color: #c5143e;
}

.donate-btn {
  display: inline-block;
  background: #c5143e;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 10px 22px;
  border-radius: 999px;
  border: 2px solid #c5143e;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.donate-btn:hover {
  background: #1c213f;
  border-color: #1c213f;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Mobile nav toggle + dropdown menu (hidden on desktop) */

.navbar__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
}

.navbar__toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: #1c213f;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.navbar__toggle.is-open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.navbar__toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.navbar__toggle.is-open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.navbar__mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  flex-direction: column;
  gap: 18px;
  padding: 20px;
  z-index: 20;
}

.navbar__mobile-menu.is-open {
  display: flex;
}

.navbar__mobile-menu__icons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.navbar__mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* CTA glass box */

.hero__cta {
  position: absolute;
  top: 50%;
  right: 6%;
  transform: translateY(-50%);
  z-index: 10;
}

.glass-box {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 28px;
  padding: 80px 48px;
  width: 440px;
  background: rgba(122, 124, 146, 0.65);
  border: none;
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.glass-box__logo {
  width: 220px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 8px;
}

.btn {
  display: block;
  text-align: center;
  padding: 18px 28px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn--primary {
  background: #ffffff;
  color: #c5143e;
  border-color: #ffffff;
}

.btn--primary:hover {
  background: #1c213f;
  color: #ffffff;
  border-color: #1c213f;
}

.btn--secondary {
  background: #c5143e;
  color: #ffffff;
  border-color: #c5143e;
}

.btn--secondary:hover {
  background: #1c213f;
  color: #ffffff;
  border-color: #1c213f;
}

.btn--primary:hover,
.btn--secondary:hover {
  transform: translateY(-2px);
}

/* Responsive */

@media (max-width: 768px) {
  :root {
    --nav-height: 72px;
  }

  .navbar {
    padding: 0 16px;
  }

  .navbar__section {
    gap: 10px;
  }

  .navbar__section--left .social-icon {
    display: none;
  }

  .navbar__section--right .nav-link {
    display: none;
  }

  .navbar__toggle {
    display: flex;
  }

  .social-icon {
    width: 28px;
    height: 28px;
  }

  .social-icon svg {
    width: 13px;
    height: 13px;
  }

  .logo img {
    height: 48px;
  }

  .nav-link {
    font-size: 15px;
  }

  .donate-btn {
    font-size: 11px;
    padding: 7px 14px;
  }

  .hero__cta {
    right: 50%;
    transform: translate(50%, -50%);
  }

  .glass-box {
    padding: 36px 28px;
    width: 300px;
    gap: 20px;
  }

  .glass-box__logo {
    width: 160px;
  }
}

@media (max-width: 380px) {
  .glass-box {
    width: 260px;
    padding: 28px 22px;
    gap: 16px;
  }

  .glass-box__logo {
    width: 130px;
  }

  .btn {
    padding: 14px 20px;
    font-size: 15px;
  }
}

/* Short/landscape viewports: no-scroll layout needs a compressed hero */
@media (max-height: 560px) {
  :root {
    --nav-height: 56px;
  }

  .glass-box {
    padding: 18px 22px;
    gap: 12px;
  }

  .glass-box__logo {
    width: 110px;
    margin-bottom: 2px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }
}
