:root {
  --body-bg-color: #eff0f1;
  --body-text-color: #222222;
  --heading-color: #275a82;
  --font-family: system-ui;
  --hero-gradient1: #667eea;
  --hero-gradient2: #764ba2;
  --footer-bg-color: #16284b;
  --link-color: #00bfff;
  --header-bg-color: #fff;
}

body {
  background: var(--body-bg-color) !important;
  color: var(--body-text-color) !important;
  font-family: var(--font-family) !important;
  overflow-x: hidden;
}

h1 {
  font-size: clamp(2rem, 4vw, 2.5rem) !important;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2rem) !important;
  color: var(--heading-color);
}

h3 {
  font-size: clamp(1.4rem, 3vw, 1.7rem) !important;
}

p {
  margin-bottom: 0.5rem !important;
}

h2 {
  color: var(--heading-color);
}

section {
  padding: 17px 0;
}

.main-content a,
.footer a {
  color: var(--link-color, #2563eb) !important;
  transition: color 0.2s;
}

.main-content a:hover,
.footer a:hover {
  color: color-mix(in srgb, var(--link-color) 80%, black) !important;
}

.navbar.sticky-top {
  position: sticky;
  top: 0;
  z-index: 1020;
  box-shadow: 0 2px 12px 0 rgba(99, 102, 241, 0.08);
}

.navbar {
  background: var(--header-bg-color, #fff) !important;
}

.navbar-toggler {
  border: none;
  outline: none;
  box-shadow: none;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  background: #2d2d2d8e;
  transition: background 0.2s;
}

.navbar-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler:focus,
.navbar-toggler:hover {
  background: var(--link-color);
}

.navbar-collapse {
  border-radius: 0 0 12px 12px;
  margin-top: 0.5rem;
  padding: 0.5rem 0;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    position: absolute;
    top: 100%;
    right: 16px;
    left: auto;
    z-index: 100;
    background: #f8fafc;
    border-radius: 15px;
    margin-top: 0.5rem;
    padding: 0.5rem 0;
    max-width: 320px;
    width: 90vw;
  }

  .navbar-nav .nav-link {
    padding: 0.75rem 1.5rem;
    font-size: 1.15rem;
    border-radius: 6px;
    margin: 0.25rem 0;
    text-align: center;
  }

  .navbar-nav .nav-link.active,
  .navbar-nav .nav-link:focus,
  .navbar-nav .nav-link:hover {
    background: var(--link-color);
    color: #fff !important;
  }
}

.hero-section {
  position: relative;
  width: 100%;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-section.with-bg {
  background-size: cover;
  background-position: center;
  color: #fff;
  position: relative;
}

.hero-section.with-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
  pointer-events: none;
}

.hero-section.gradient-bg {
  background: linear-gradient(135deg, var(--hero-gradient1, #667eea) 0%, var(--hero-gradient2, #764ba2) 100%);
  color: #fff;
  position: relative;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 64px 0;
  text-align: center;
  width: 100%;
}

.hero-afterh1 {
  margin-top: 1.5rem;
  font-size: 1.25rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: bold;
}

.footer {
  font-size: 1rem;
  border-top: 1px solid #e5e7eb;
  padding: 11px 0;
  background: var(--footer-bg-color, #667eea);
  color: #fff;
}

.sitename {
  font-weight: 600;
  color: #fff;
  text-decoration: underline;
}

.footer a {
  color: #fff;
  text-decoration: none;
}

.footer p {
  margin-bottom: 0 !important;
}

.footer a:hover {
  text-decoration: none;
}


.jules-rimet-section {
  background: linear-gradient(135deg, #002f6c, #005baa);
  color: #ffffff;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  margin: 1rem auto;
  font-family: 'Segoe UI', 'Roboto', sans-serif;
  position: relative;
  overflow: hidden;
}

.jules-rimet-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
  border-bottom: 2px solid #ffffff33;
  padding-bottom: 0.5rem;
  color: white !important;
}

.jules-rimet-text {
  font-size: 1.1rem;
  line-height: 1.8;
}

.img_el {
  padding: 60px 0;
  position: relative;
}

.img_el:before {
  content: "";
  background: color-mix(in srgb, #00000091, transparent 10%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.img_el .img_el-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url("/assets/img/fifa-grows.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.img_el .container {
  position: relative;
  z-index: 3;
}

.img_el .container h2,
.img_el .container p {
  color: white !important;
}

.img_el .container h3 {
  color: #EF8A54;
}

.full-width-section {
  width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    box-sizing: border-box;
    overflow-x: hidden;
}

.world-cup-impact {
  background-color: #f2f2f2;
  color: #222;
  padding: 1rem;
  border-radius: 10px;
  margin: 1rem auto;
  font-family: 'Helvetica Neue', 'Segoe UI', sans-serif;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.impact-title {
  font-size: 1.8rem;
  color: #0b3d91;
  /* Dark blue for emphasis */
  margin-bottom: 1rem;
  border-left: 4px solid #0b3d91;
  padding-left: 0.75rem;
}

.impact-text {
  font-size: 1.05rem;
  line-height: 1.7;
}

.future-of-world-cup {
  background-color: #ffffff;
  border-left: 6px solid #0b3d91;
  padding: 1rem;
  border-radius: 10px;
  font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.future-title {
  font-size: 1.9rem;
  margin-bottom: 1rem;
  color: #0b3d91;
}

.future-text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #333;
  margin-bottom: 1.25rem;
}

.future-text strong {
  color: #0b3d91;
}

.future-text a {
  color: #005baa;
  text-decoration: underline;
  transition: color 0.3s;
}

.future-text a:hover {
  color: #003d73;
}

.error-page-football {
  background: linear-gradient(135deg, #007bff, #003566);
  /* deep blue sporty tones */
  color: #fff;
  background-image: url('https://www.transparenttextures.com/patterns/grass.png');
  /* football pitch texture */
  background-repeat: repeat;
  animation: fadeIn 1s ease;
}

.football-icon {
  width: 100px;
  height: auto;
  animation: bounce 1.5s infinite;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
}

.error-code {
  font-size: 7rem;
  letter-spacing: 5px;
  color: #ffffff;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.error-message {
  font-size: 2rem;
  color: #ffda44;
  /* vibrant yellow */
}

.error-description {
  font-size: 1.125rem;
  color: #332f2f;
}

.error-page-btn {
  background-color: #28a745;
  border: none;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.2s;
}

.error-page-btn:hover {
  background-color: #218838;
  transform: scale(1.05);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.colored {
  background: linear-gradient(90deg, #fdd835, #f44336, #00fff3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.colored::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #fdd835, #f44336, #00fff3);
  border-radius: 2px;
  animation: slideUnderline 3s infinite linear;
}