@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #0b1f3a;
  --navy-mid: #132848;
  --gold: #c9a84c;
  --gold-light: #e8c96a;
  --cream: #f8f5ef;
  --cream-mid: #efe9de;
  --white: #ffffff;
  --text-dark: #0b1f3a;
  --text-muted: #5a6a7e;
  --text-light: #8a9bb0;
  --border: #ddd5c5;
  --ff-display2: 'Playfair Display', Georgia, serif;
  --ff-display: 'Outfit', sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--ff-display);
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.75;
}

img {
  max-width: 100%;
  height: auto;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--cream);
}

::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 3px;
}

::selection {
  background: var(--gold);
  color: var(--navy);
}

/*  Reveal  */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s var(--ease-out),
    transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/*  Nav  */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition:
    background 0.4s,
    backdrop-filter 0.4s,
    box-shadow 0.4s;
}

header.scrolled {
  background: rgba(11, 31, 58, 0.95);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(201, 168, 76, 0.2);
}

.navbar {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
  min-width: 0;
}

.logo {
  height: 38px;
  width: auto;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}

.brand-text {
  font-family: var(--ff-display2);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: min(220px, 45vw);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  font-family: var(--ff-display);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.25s;
  position: relative;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.donate-btn {
  font-family: var(--ff-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold);
  border: none;
  padding: 0.6rem 1.4rem;
  cursor: pointer;
  border-radius: 2px;
  transition:
    background 0.25s,
    transform 0.2s;
  line-height: 1;
  white-space: nowrap;
}

.donate-btn:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1002;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition:
    transform 0.35s var(--ease-in-out),
    opacity 0.2s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Overlay Backdrop */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.35s;
}

.nav-overlay.open {
  display: block;
  opacity: 1;
}

@media (max-width: 900px) {
  header.scrolled {
    backdrop-filter: none; /* remove this — it traps fixed children */
    -webkit-backdrop-filter: none;
  }

  /* compensate with a solid bg instead */
  header.scrolled {
    background: rgba(11, 31, 58, 0.98);
  }
}

/*  Mobile Nav  */
@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    bottom: 0;
    width: min(290px, 82vw);
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 5rem 2rem 2rem;
    gap: 2rem;
    transform: translateX(110%);
    transition: transform 0.45s var(--ease-out);
    z-index: 1001;
    overflow-y: auto;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.75);
  }

  .donate-btn {
    font-size: 0.85rem;
    padding: 0.75rem 1.6rem;
    width: 100%;
  }

  .hamburger {
    display: flex;
  }
}

/*  Hero — Ken Burns Crossfade  */
.hero {
  position: relative;
  height: calc(100dvh + 72px);
  min-height: calc(100vh + 72px);
  overflow: hidden;
}

@media (max-width: 400px) {
  .hero {
    height: calc(100dvh + 64px);
    min-height: calc(100vh + 64px);
  }
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: kb-fade 30s linear infinite;
}

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(11, 31, 58, 0.65) 0%,
    rgba(11, 31, 58, 0.8) 100%
  );
}

/* Stagger Each Slide */
.hero-slide:nth-child(1) {
  animation-delay: 0s;
}

.hero-slide:nth-child(2) {
  animation-delay: 6s;
}

.hero-slide:nth-child(3) {
  animation-delay: 12s;
}

.hero-slide:nth-child(4) {
  animation-delay: 18s;
}

.hero-slide:nth-child(5) {
  animation-delay: 24s;
}

@keyframes kb-fade {
  0% {
    opacity: 0;
    transform: scale(1.08);
  }

  4% {
    opacity: 1;
  }

  20% {
    opacity: 1;
    transform: scale(1);
  }

  24% {
    opacity: 0;
  }

  100% {
    opacity: 0;
    transform: scale(1);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.25rem;
}

.hero-tag {
  font-family: var(--ff-display2);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.35);
  padding: 0.45rem 1.2rem;
  border-radius: 2px;
  margin-bottom: 1.75rem;
  display: inline-block;
  animation: fade-up 1s var(--ease-out) 0.3s both;
}

.hero-title {
  font-family: var(--ff-display2);
  font-size: clamp(2.4rem, 7vw, 6.5rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
  animation: fade-up 1s var(--ease-out) 0.5s both;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-sub {
  font-family: var(--ff-display);
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.03em;
  max-width: 440px;
  line-height: 1.75;
  margin-bottom: 2.75rem;
  animation: fade-up 1s var(--ease-out) 0.7s both;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fade-up 1s var(--ease-out) 0.9s both;
}

.btn-hero-primary {
  font-family: var(--ff-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold);
  text-decoration: none;
  padding: 0.9rem 2.2rem;
  border-radius: 2px;
  transition:
    background 0.25s,
    transform 0.2s;
  display: inline-block;
}

.btn-hero-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn-hero-secondary {
  font-family: var(--ff-display);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: transparent;
  text-decoration: none;
  padding: 0.9rem 2.2rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 2px;
  transition:
    border-color 0.25s,
    background 0.25s,
    transform 0.2s;
  display: inline-block;
}

.btn-hero-secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: fade-up 1s var(--ease-out) 1.2s both;
}

.hero-scroll span {
  font-family: var(--ff-display);
  font-size: 0.55rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(201, 168, 76, 0.8), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%,
  100% {
    transform: scaleY(1);
    opacity: 0.7;
  }

  50% {
    transform: scaleY(0.6);
    opacity: 1;
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*  Shared Section  */
section {
  position: relative;
}

.section-label {
  font-family: var(--ff-display2);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
  display: block;
}

.section-title {
  font-family: var(--ff-display2);
  font-size: clamp(1.9rem, 3.5vw, 3.25rem);
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.section-title em {
  font-style: italic;
  color: var(--gold);
}

.section-lead {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.85;
}

.inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.gold-divider {
  width: 56px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 1.5rem;
  display: block;
}

.gold-divider-left {
  margin-left: 0;
}

/*  Eligibility Banner  */
.banner {
  background: var(--navy);
  padding: 5rem 1.5rem;
  overflow: hidden;
}

.banner::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.1);
  pointer-events: none;
}

.banner::after {
  content: '';
  position: absolute;
  top: -30%;
  right: 5%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.08);
  pointer-events: none;
}

.banner-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.banner-text h2 {
  font-family: var(--ff-display);
  font-size: clamp(1.6rem, 2.8vw, 2.6rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.banner-text p {
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--ff-display);
  font-size: 0.95rem;
  max-width: 460px;
  line-height: 1.75;
}

.banner-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  flex-shrink: 1;
  min-width: 0;
}

.btn-banner-primary {
  font-family: var(--ff-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold);
  text-decoration: none;
  padding: 0.85rem 1.85rem;
  border-radius: 2px;
  transition:
    background 0.25s,
    transform 0.2s;
  display: inline-block;
  white-space: nowrap;
}

.btn-banner-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn-banner-outline {
  font-family: var(--ff-display);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: transparent;
  text-decoration: none;
  padding: 0.85rem 1.85rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  transition:
    border-color 0.25s,
    background 0.25s,
    transform 0.2s;
  display: inline-block;
  white-space: nowrap;
}

.btn-banner-outline:hover {
  border-color: var(--white);
  transform: translateY(-2px);
}

/*  Application Cards  */
.app-section {
  padding: 7rem 1.5rem;
  background: var(--cream);
}

.app-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.app-header .section-lead {
  margin: 0 auto;
}

.cards-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--border);
}

.app-card {
  background: var(--white);
  overflow: hidden;
  transition:
    transform 0.4s var(--ease-out),
    box-shadow 0.4s;
  position: relative;
  cursor: pointer;
}

.app-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(11, 31, 58, 0.12);
  z-index: 1;
}

.app-card-img {
  height: 220px;
  overflow: hidden;
}

.app-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.app-card:hover .app-card-img img {
  transform: scale(1.06);
}

.app-card-body {
  padding: 1.75rem;
}

.app-card-num {
  font-family: var(--ff-display);
  font-size: 2.8rem;
  font-weight: 400;
  color: var(--cream-mid);
  line-height: 1;
  margin-bottom: 0.4rem;
  display: block;
}

.app-card-body h3 {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 0.7rem;
  line-height: 1.25;
}

.app-card-body p {
  font-family: var(--ff-display);
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.4rem;
}

.card-link {
  font-family: var(--ff-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.25s;
}

.card-link::after {
  content: '→';
  transition: transform 0.25s;
}

.card-link:hover {
  gap: 0.75rem;
}

.card-link:hover::after {
  transform: translateX(4px);
}

/*  About  */
.about-section {
  padding: 8rem 1.5rem;
  background: var(--navy);
  overflow: hidden;
}

.about-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-img-wrap {
  position: relative;
  overflow: visible;
}

.about-img-wrap::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: 2rem;
  right: -2rem;
  bottom: -2rem;
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 2px;
  pointer-events: none;
  /* clip to avoid triggering horizontal overflow */
  overflow: hidden;
}

.about-img-wrap img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 2px;
  position: relative;
  z-index: 1;
  display: block;
}

.about-badge {
  position: absolute;
  bottom: -1.5rem;
  right: 2.5rem;
  z-index: 2;
  background: var(--gold);
  color: var(--navy);
  padding: 1.2rem 1.6rem;
  border-radius: 2px;
  text-align: center;
}

.about-badge strong {
  display: block;
  font-family: var(--ff-display);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
}

.about-badge span {
  font-family: var(--ff-display);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
}

.about-content .section-label {
  color: var(--gold);
}

.about-content .section-title {
  color: var(--white);
}

.about-content .section-lead {
  color: rgba(255, 255, 255, 0.65);
  font-style: italic;
}

.about-content p {
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--ff-display);
  font-size: 0.95rem;
  line-height: 1.85;
  margin-top: 1.1rem;
}

.btn-about {
  font-family: var(--ff-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2.5rem;
  transition: gap 0.25s;
  border-bottom: 1px solid rgba(201, 168, 76, 0.35);
  padding-bottom: 0.3rem;
}

.btn-about::after {
  content: '→';
  transition: transform 0.25s;
}

.btn-about:hover {
  gap: 0.9rem;
}

.btn-about:hover::after {
  transform: translateX(4px);
}

/*  Facts  */
.facts-section {
  padding: 7rem 1.5rem;
  background: var(--cream-mid);
}

.facts-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.facts-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 4.5rem;
}

.facts-desc {
  font-family: var(--ff-display);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.85;
  max-width: 420px;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
}

.fact-item {
  background: var(--white);
  padding: 2.5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.fact-item::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.fact-item:hover {
  background: var(--navy);
}

.fact-item:hover::before {
  transform: scaleX(1);
}

.fact-item:hover .fact-num {
  color: var(--white);
}

.fact-item:hover .fact-label {
  color: rgba(255, 255, 255, 0.5);
}

.fact-num {
  font-family: var(--ff-display);
  font-size: clamp(2.4rem, 3.5vw, 3.75rem);
  font-weight: 400;
  color: var(--navy);
  display: block;
  line-height: 1;
  margin-bottom: 0.4rem;
  transition: color 0.3s;
}

.fact-label {
  font-family: var(--ff-display);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s;
}

/*  Trending / News  */
.trending-section {
  padding: 7rem 0;
  background: var(--cream);
  overflow: hidden;
}

.trending-header {
  max-width: 1280px;
  margin: 0 auto 3.5rem;
  padding: 0 1.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.trending-header .section-lead {
  margin-bottom: 0;
  max-width: 400px;
}

.view-all-link {
  font-family: var(--ff-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.25rem;
  transition:
    color 0.25s,
    border-color 0.25s;
  white-space: nowrap;
}

.view-all-link:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* News Grid — Responsive With Proper Equal Margins */
.news-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: 1.5rem;
}

.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  transition:
    transform 0.4s var(--ease-out),
    box-shadow 0.4s;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 50px rgba(11, 31, 58, 0.1);
}

.news-card-img {
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.news-card:hover .news-card-img img {
  transform: scale(1.05);
}

.news-card-body {
  padding: 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-tag {
  font-family: var(--ff-display);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.65rem;
  display: block;
}

.news-card-body h3 {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.35;
  margin-bottom: 0.65rem;
}

.news-card-body p {
  font-family: var(--ff-display);
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 1.1rem;
}

.news-read {
  font-family: var(--ff-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s;
}

.news-read::after {
  content: '→';
  transition: transform 0.25s;
}

.news-read:hover {
  color: var(--gold);
}

.news-read:hover::after {
  transform: translateX(4px);
}

/*  Events  */
.events-section {
  padding: 7rem 1.5rem;
  background: var(--navy);
}

.events-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  align-items: start;
}

.events-content .section-label {
  color: var(--gold);
}

.events-content .section-title {
  color: var(--white);
}

.events-content p {
  font-family: var(--ff-display);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  line-height: 1.85;
}

.events-list {
  list-style: none;
}

.event-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.75rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.25s;
}

.event-item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.event-item:hover .event-title {
  color: var(--gold-light);
}

.event-date-box {
  text-align: center;
  flex-shrink: 0;
}

.event-month {
  font-family: var(--ff-display);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.1rem;
}

.event-day {
  font-family: var(--ff-display);
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1;
  display: block;
}

.event-title {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.3rem;
  transition: color 0.25s;
}

.event-location {
  font-family: var(--ff-display);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

.event-arrow {
  color: rgba(255, 255, 255, 0.2);
  font-size: 1.1rem;
  transition:
    color 0.25s,
    transform 0.25s;
}

.event-item:hover .event-arrow {
  color: var(--gold);
  transform: translateX(4px);
}

/*  Video Banner  */
.video-banner {
  position: relative;
  height: 72vh;
  min-height: 460px;
  overflow: hidden;
}

#background-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 31, 58, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
}

.video-quote {
  max-width: 680px;
}

.quote-mark {
  font-family: var(--ff-display);
  font-size: 5.5rem;
  line-height: 0.4;
  color: var(--gold);
  opacity: 0.4;
  margin-bottom: 1rem;
  display: block;
}

.quote-text {
  font-family: var(--ff-display);
  font-size: clamp(1.3rem, 2.8vw, 2.1rem);
  font-weight: 400;
  font-style: italic;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 1.4rem;
}

.quote-name {
  font-family: var(--ff-display);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

/*  Contact  */
.contact-section {
  padding: 8rem 1.5rem;
  background: var(--cream-mid);
}

.contact-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-top: 2rem;
}

.contact-detail {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.contact-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--navy);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
}

.contact-detail-text span {
  font-family: var(--ff-display);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  display: block;
  margin-bottom: 0.15rem;
}

.contact-detail-text p {
  font-family: var(--ff-display);
  font-size: 0.92rem;
  color: var(--text-dark);
}

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 2.25rem;
  border-radius: 2px;
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-label {
  font-family: var(--ff-display);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.45rem;
}

.form-control {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--cream);
  padding: 0.8rem 0.95rem;
  font-family: var(--ff-display);
  font-size: 0.9rem;
  color: var(--text-dark);
  border-radius: 2px;
  transition:
    border-color 0.25s,
    background 0.25s;
  outline: none;
  resize: vertical;
}

.form-control::placeholder {
  color: var(--text-light);
}

.form-control:focus {
  border-color: var(--gold);
  background: var(--white);
}

.btn-submit {
  width: 100%;
  font-family: var(--ff-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold);
  border: none;
  padding: 1rem;
  border-radius: 2px;
  cursor: pointer;
  transition:
    background 0.25s,
    transform 0.2s;
  margin-top: 0.4rem;
}

.btn-submit:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

/*  Footer  */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(201, 168, 76, 0.15);
}

.footer-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 1.5rem 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3.5rem;
}

.footer-brand-col .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 1.1rem;
}

.footer-brand-col .footer-logo img {
  height: 34px;
  filter: brightness(0) invert(1);
}

.footer-brand-col .footer-logo span {
  font-family: var(--ff-display);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--white);
  text-transform: uppercase;
}

.footer-brand-col p {
  font-family: var(--ff-display);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.8;
  max-width: 240px;
}

.footer-col h4 {
  font-family: var(--ff-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-col ul li a {
  font-family: var(--ff-display);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-col ul li a::before {
  content: '';
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.25s;
  display: inline-block;
}

.footer-col ul li a:hover {
  color: var(--white);
}

.footer-col ul li a:hover::before {
  width: 12px;
}

.footer-contact li {
  font-family: var(--ff-display);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  padding: 0.3rem 0;
}

.social-row {
  display: flex;
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.social-icon {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    border-color 0.25s,
    background 0.25s;
}

.social-icon:hover {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.1);
}

.social-icon img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(0.7);
  transition: filter 0.25s;
}

.social-icon:hover img {
  filter: brightness(0) invert(1);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.4rem 1.5rem;
}

.footer-bottom-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.footer-bottom p {
  font-family: var(--ff-display);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.05em;
}

.footer-bottom-links {
  display: flex;
  gap: 1.4rem;
}

.footer-bottom-links a {
  font-family: var(--ff-display);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: var(--gold);
}

/*  Back To Top  */
#backToTop {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 42px;
  height: 42px;
  background: var(--navy);
  border: 1px solid rgba(201, 168, 76, 0.35);
  color: var(--gold);
  font-size: 1rem;
  border-radius: 2px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.3s,
    visibility 0.3s,
    transform 0.3s,
    background 0.25s;
  z-index: 900;
}

#backToTop.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#backToTop:hover {
  background: var(--gold);
  color: var(--navy);
}

/*  RESPONSIVE  */
@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 900px) {
  .about-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .events-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .banner-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .banner-text h2 {
    font-size: 1.6rem;
  }

  .banner-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-banner-primary,
  .btn-banner-outline {
    width: 100%;
    text-align: center;
    white-space: normal;
  }

  .facts-top {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    margin-bottom: 2.5rem;
  }

  .facts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trending-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
}

/* AFTER */
@media (max-width: 600px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  /* Brand/contact col spans full width */
  .footer-main .footer-col:first-child {
    grid-column: 1 / -1;
  }

  /* Contact col spans full width if it's last
  .footer-main .footer-col:last-child {
    grid-column: 1 / -1;
  } */

  .facts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Cards Go 1-Column On Small Screens */
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .app-card-img {
    height: 180px;
  }

  .about-img-wrap::before {
    display: none;
  }

  .about-badge {
    right: 1rem;
  }

  /* Events list items stack better */
  .event-item {
    gap: 1rem;
  }
}

/* Small phones ≤ 480px */
@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    text-align: center;
  }

  .contact-form-wrap {
    padding: 1.5rem 1rem;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom-links {
    gap: 1rem;
    flex-wrap: wrap;
  }
}

/* iPhone 5 / 320px and up */
@media (max-width: 400px) {
  html {
    font-size: 15px;
  }

  .navbar {
    padding: 0 1rem;
    height: 64px;
  }

  .brand-text {
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    max-width: 42vw;
  }

  .logo {
    height: 30px;
  }

  .hero-title {
    font-size: 2.1rem;
    letter-spacing: 0.01em;
  }

  .hero-sub {
    font-size: 0.88rem;
  }

  .hero-tag {
    font-size: 0.58rem;
    letter-spacing: 0.2em;
    padding: 0.4rem 0.9rem;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    padding: 0.8rem 1.4rem;
    font-size: 0.65rem;
    width: 100%;
    text-align: center;
  }

  .hero-actions {
    gap: 0.6rem;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .app-section,
  .about-section,
  .facts-section,
  .trending-section,
  .events-section,
  .contact-section {
    padding: 4rem 1rem;
  }

  .banner {
    padding: 3.5rem 1rem;
  }

  .news-grid {
    padding: 0 1rem;
    gap: 1.1rem;
  }

  .trending-header {
    padding: 0 1rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .facts-grid {
    grid-template-columns: 1fr 1fr;
  }

  .banner-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-banner-primary,
  .btn-banner-outline {
    width: 100%;
    text-align: center;
  }

  .contact-form-wrap {
    padding: 1.25rem 0.85rem;
  }

  .event-item {
    gap: 0.75rem;
  }

  .event-day {
    font-size: 2rem;
  }

  .about-img-wrap::before {
    display: none;
  }

  .about-badge {
    right: 0.75rem;
    bottom: -1rem;
    padding: 0.9rem 1rem;
  }

  .about-badge strong {
    font-size: 2rem;
  }

  .footer-main {
    padding: 3rem 1rem 2rem;
  }

  .footer-bottom {
    padding: 1.2rem 1rem;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }

  .footer-bottom-links {
    gap: 0.85rem;
    flex-wrap: wrap;
  }

  .fact-num {
    font-size: 2.1rem;
  }

  /* Ensure video banner quote text doesn't overflow */
  .video-overlay {
    padding: 1.5rem 1rem;
  }

  .quote-text {
    font-size: 1.2rem;
  }

  .quote-mark {
    font-size: 4rem;
  }

  /* Back-to-top button repositioned slightly from edge */
  #backToTop {
    bottom: 1.25rem;
    right: 1rem;
  }
}

/* Strict 320px (iPhone 5 exact) */
@media (max-width: 320px) {
  html {
    font-size: 14px;
  }

  .brand-text {
    display: none;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .cards-grid {
    gap: 0;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .event-item {
    grid-template-columns: auto 1fr auto;
    gap: 0.6rem;
  }

  .event-title {
    font-size: 1rem;
  }

  .app-card-body {
    padding: 1.25rem;
  }

  .contact-form-wrap {
    padding: 1rem 0.75rem;
  }

  .footer-bottom-links {
    flex-direction: column;
    gap: 0.5rem;
  }
}
