/* CSS Variables for Theming - Sportive Editorial */
:root {
  --deep-black: #050505;
  --pure-white: #FFFFFF;
  --izi-red: #C8102E;
  --light-gray: #F5F5F5;
  --dark-gray: #1A1A1A;

  --font-main: 'Inter', sans-serif;

  --header-height: 90px;
  --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Reset & Basics */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--deep-black);
  color: var(--pure-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Screen Reader Only (a11y) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

ul {
  list-style: none;
}

img,
video {
  max-width: 100%;
  display: block;
}

/* Utilities */
.bg-pure-white {
  background-color: var(--pure-white);
}

.bg-red {
  background-color: var(--izi-red);
}

.text-dark {
  color: var(--deep-black);
}

.text-white {
  color: var(--pure-white);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-main);
  font-weight: 800;
  /* Brutalist Bold */
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-padding {
  padding: 8rem 0;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 3rem;
  max-width: 900px;
}

/* Base Layout Classes */
.container-large {
  max-width: 1600px;
  /* Generous negative space */
  margin: 0 auto;
  padding: 0 5vw;
}

/* Buttons & Links */
.btn {
  display: inline-block;
  padding: 1.2rem 2.5rem;
  font-family: var(--font-main);
  font-size: 1.125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: center;
}

.btn-red {
  background-color: var(--izi-red);
  color: var(--pure-white);
}

.btn-red:hover,
.btn-red:focus {
  background-color: #a00b23;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(200, 16, 46, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--pure-white);
  border-color: var(--pure-white);
}

.btn-outline:hover,
.btn-outline:focus {
  background-color: var(--pure-white);
  color: var(--deep-black);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.card-link {
  display: inline-block;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 1.5rem;
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
}

.card-link:hover {
  opacity: 0.7;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: var(--deep-black);
  /* Solid black */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-smooth);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
}

.logo a {
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.main-nav ul {
  display: flex;
  gap: 2rem;
}

.main-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.5rem 0;
}

.main-nav a:hover,
.main-nav a:focus {
  color: var(--izi-red);
}

.menu-toggle {
  display: none;
}

/* Cinematic Hero */
.cinematic-hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  width: 100%;
  display: flex;
  align-items: flex-end;
  padding-bottom: 8vh;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(5, 5, 5, 0.9) 0%, rgba(5, 5, 5, 0.4) 50%, rgba(5, 5, 5, 0.1) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
}

.hero-text-wrapper {
  max-width: 850px;
}

.hero-title {
  font-size: clamp(3.5rem, 8vw, 7rem);
  margin-bottom: 1.5rem;
  line-height: 1;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 400;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 700px;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Impact & Statistics */
.impact-section {
  padding: 6rem 0;
  background-color: var(--pure-white);
  color: var(--deep-black);
  border-bottom: 1px solid var(--light-gray);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-card {
  position: relative;
  transition: var(--transition-smooth);
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: clamp(3rem, 5vw, 4.5rem);
  color: var(--izi-red);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.3;
}

/* Tooltips */
.tooltip-container {
  position: relative;
  cursor: help;
}

.tooltip-text {
  visibility: hidden;
  width: 250px;
  background-color: var(--deep-black);
  color: var(--pure-white);
  text-align: center;
  border-radius: 4px;
  padding: 10px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -125px;
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 0.85rem;
  font-weight: 400;
}

.tooltip-container:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* Take Action Buttons / Cards Grid */
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.action-card {
  background: var(--light-gray);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  min-height: 320px;
  transition: var(--transition-smooth);
}

.action-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  border-color: rgba(200, 16, 46, 0.5) !important;
}

.action-card h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.action-card p {
  font-size: 1.1rem;
  opacity: 0.8;
  margin-bottom: 2rem;
}

/* Featured Story & Latest News Grid */
.updates-section {
  background-color: var(--deep-black);
}

.updates-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 5rem;
}

.section-badge {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--izi-red);
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--dark-gray);
  padding-bottom: 1rem;
}

.featured-story {
  border-right: 1px solid var(--dark-gray);
  padding-right: 5rem;
}

.story-title {
  font-size: clamp(2.5rem, 4vw, 4rem);
  margin-bottom: 1.5rem;
}

.story-excerpt {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.news-item {
  margin-bottom: 2.5rem;
}

.news-date {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.5rem;
}

.news-title {
  font-size: 1.5rem;
  line-height: 1.3;
}

.news-divider {
  border: 0;
  height: 1px;
  background: var(--dark-gray);
  margin: 2.5rem 0;
}

.swiper-slide {
  height: auto;
}

.swiper-slide>div {
  display: flex !important;
  flex-direction: column;
  height: 100%;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
}

.swiper-slide>div>a {
  margin-top: auto;
}

.swiper-slide>div:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  border-color: rgba(200, 16, 46, 0.5);
}

.lucide {
  vertical-align: middle;
}

/* Interactive Map Section */
.map-section {
  background-color: var(--dark-gray);
}

.map-header {
  margin-bottom: 3rem;
}

.map-wrapper {
  width: 100%;
  height: 70vh;
  min-height: 600px;
  position: relative;
}

#map {
  width: 100%;
  height: 100%;
  filter: contrast(1.05);
}

/* Leaflet Overrides */
.leaflet-container {
  background: #111 !important;
}

.izi-popup .leaflet-popup-content-wrapper,
.izi-popup .leaflet-popup-tip {
  background: var(--deep-black);
  border: 1px solid #333;
  color: white;
}

.izi-popup .leaflet-popup-content {
  margin: 15px;
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--dark-gray);
  padding: 3.5rem;
  border-radius: 8px;
  max-width: 650px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.modal-close:hover {
  background: var(--izi-red);
  transform: rotate(90deg);
}

/* Global Footer */
.global-footer {
  background-color: var(--izi-red);
  padding: 6rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  margin-bottom: 6rem;
}

.footer-heading {
  font-size: 3.5rem;
  margin-bottom: 2rem;
}

.contact-details p {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.social-links {
  margin-top: 2rem;
  display: flex;
  gap: 1.5rem;
}

.social-links a {
  font-weight: 800;
  font-size: 1.25rem;
}

.social-links a:hover {
  opacity: 0.7;
}

/* Forms */
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--pure-white);
  font-family: var(--font-main);
  font-size: 1rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--pure-white);
  background: rgba(255, 255, 255, 0.15);
}

.form-submit {
  grid-column: 1 / -1;
  background-color: var(--deep-black);
  border-color: var(--deep-black);
}

.form-submit:hover {
  background-color: rgb(30, 30, 30);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.microcopy {
  font-size: 0.9rem;
  opacity: 0.8;
}

.legal-links a {
  font-size: 0.9rem;
  margin-left: 2rem;
  font-weight: 500;
}

/* Media Queries */
@media (max-width: 1200px) {

  .updates-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .featured-story {
    border-right: none;
    border-bottom: 1px solid var(--dark-gray);
    padding-right: 0;
    padding-bottom: 4rem;
  }
}

@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards-grid-3 {
    grid-template-columns: 1fr;
  }

  .main-nav {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--pure-white);
  }
}

@media (max-width: 768px) {
  .contact-form {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .legal-links a {
    margin-left: 0;
    margin-right: 2rem;
  }
}