:root {
  --body-bg-color: #f8fafc;
  --body-text-color: #222222;
  --heading-color: #222222;
  --hero-gradient1: #6f1b1b;
  --hero-gradient2: #6f1b1b;
  --footer-bg-color: #0d0d0d;
  --link-color: #da2828;
  --header-bg-color: #ffffff;
  --font-family: "Roboto", Arial, sans-serif;
  --nav-link-color: #141414;
  --footer-text-color: #ffffff;
  --header-text-color: #ffffffff;
  --accent-red: #8b0000;
  --bg-light: #f9f9fb;
  --card-bg: #ffffff;
  --text-main: #222222;
  --text-muted: #555555;
  --border-soft: #e3e3e8;
}
html {
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
h1 {
  font-size: clamp(2rem, 4vw, 2.5rem) !important;
}
h2 {
  font-size: clamp(1.6rem, 3vw, 2rem) !important;
}
h3 {
  font-size: clamp(1.4rem, 3vw, 1.7rem) !important;
}
p {
  margin-bottom: 0.5rem !important;
}

section {
  padding: 15px 0;
  scroll-margin-top: 70px;
}

h2,
h3 {
  color: var(--heading-color) !important;
}

.content-area a {
  color: var(--link-color) !important;
  text-decoration: none !important;
}

.content-area a:hover {
  color: var(--link-color) !important;
  opacity: 0.8;
}

.sidebar-page-list {
  padding: 0;
  margin: 0;
  margin-bottom: 17px;
  width: 279px;
}

.sidebar-page-list li {
  list-style-type: disc;
  list-style-position: inside;
  color: var(--heading-color);
}

.sidebar-page-list li::marker {
  color: var(--link-color);
  font-size: 1.2em;
}
.sidebar-page-list li:last-child {
  border-bottom: none;
}

.sidebar-page-list li a {
  padding: 12px 0;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  color: var(--link-color);
}

.sidebar-page-list li a:hover {
  padding-left: 11px;
}

.error_page {
  min-height: 70vh;
}

.footer-news {
  background: var(--footer-bg-color);
  border-top: 3px solid var(--link-color);
  padding: 2.5rem 1rem;
  border-radius: 12px 12px 0 0;
  position: relative;
  overflow: hidden;
  color: var(--footer-text-color);
}

.footer-news a {
  color: var(--link-color);
  text-decoration: none;
  position: relative;
}

.footer-news a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--link-color);
  transition: width 0.3s ease;
}

.footer-news a:hover::after {
  width: 100%;
}

.footer-newsletter h3 {
  color: var(--footer-text-color) !important;
  margin-bottom: 1rem;
  font-weight: 600;
}

.newsletter-form input {
  padding: 0.6rem 1rem;
  border: 1px solid var(--link-color);
  border-radius: 5px;
  font-size: 1rem;
}

.newsletter-form button {
  padding: 0.6rem 1.5rem;
  border: none;
  background: var(--link-color);
  color: #fff;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(102, 143, 106, 0.2);
}
.footer-social .social-icon {
  font-size: 1.5rem;
  margin: 0 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--link-color);
  width: 40px;
  height: 40px;
  line-height: 40px;
  border: 2px solid var(--link-color);
  border-radius: 50%;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

.footer-social .social-icon:hover {
  transform: scale(1.2) rotate(-10deg);
  background: var(--link-color);
  color: #fff;
}

.footer-news::after {
  right: 10px;
  top: auto;
  bottom: 10px;
  left: auto;
}

/* Responsive */
@media (max-width: 767px) {
  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
  }
}

.navbar {
  background-color: var(--header-bg-color) !important;
  position: sticky;
  top: 0;
  z-index: 1020;
}

.hero-section {
  padding: 140px 0 130px 0;
  position: relative;
  overflow: hidden;
  color: var(--header-text-color);
}
@media (max-width: 525px) {
  .hero-section {
    padding: 130px 0 170px 0;

  }
}
.hero-section.gradient-bg {
  background: linear-gradient(135deg, #0f172a 0%, #020617 85%);
}

.curved-arc {
  clip-path: ellipse(85% 100% at 50% 0%);
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.navbar-light .navbar-nav .nav-link {
  color: var(--nav-link-color, #141414) !important;
}

.navbar-light .navbar-nav .nav-link.active {
  color: var(--link-color) !important;
  font-weight: bold;
}
/* Mobile nav */
@media (max-width: 1199.98px) {
  .navbar-collapse {
    position: fixed;
    top: 61px;
    left: 15px;
    right: 15px;
    background-color: color-mix(
      in srgb,
      var(--header-bg-color) 65%,
      transparent
    );
    backdrop-filter: blur(12px);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    padding: 15px;
    margin: 0;
  }

  .navbar-nav {
    width: 100%;
  }

  .navbar-nav .nav-item {
    margin: 7px 0;
  }

  .navbar-nav .nav-item:hover {
    transform: translateY(-1px);
  }

  .navbar-nav .nav-link {
    font-size: 1.2rem;
    font-weight: 500;
    text-decoration: none;
    display: block;
    padding: 0;
  }

  .navbar-toggler {
    z-index: 10000;
    position: relative;
    border: var(--bs-border-width) solid var(--nav-link-color, #141414) !important;
  }
}

.custom-dropdown {
  border: 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  min-width: 220px;
  background: color-mix(
    in srgb,
    var(--header-bg-color) 65%,
    transparent
  ) !important;
  backdrop-filter: blur(12px);
}

.custom-dropdown .dropdown-item {
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
  color: var(--nav-link-color, #141414) !important;
  font-weight: 500;
  border-radius: 0;
  text-wrap: wrap;
}
.dropdown-menu {
  display: none;
}

.custom-dropdown .dropdown-item:hover {
  color: #fff;
  background: color-mix(
    in srgb,
    var(--header-bg-color) 95%,
    transparent
  ) !important;
}

.nav-item.dropdown > .nav-link {
  display: flex;
  align-items: center;
}

.nav-item.dropdown > .nav-link .arrow {
  position: relative;
  margin-left: auto;
  border: solid var(--nav-link-color, #141414);
  border-width: 0 2px 2px 0;
  padding: 3px;
  transform: rotate(45deg);
  transition: transform 0.25s;
}
.dropdown.open .dropdown-menu {
  display: block;
}

@media (min-width: 1200px) {
  .nav-item.dropdown {
    position: relative;
  }
  .nav-item.dropdown > .nav-link .arrow {
    margin-left: 7px;
  }
  .custom-dropdown.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0;
    z-index: 1000;
  }

  .nav-item.dropdown:hover > .nav-link .arrow {
    transform: rotate(-135deg);
  }
  .nav-item.dropdown:hover > .dropdown-menu {
    display: block !important;
  }
}
@media (max-width: 1199px) {
  .nav-item.dropdown > .nav-link .arrow {
    padding: 4px;
  }
}

.floating-rounded-navbar {
  background-color: var(--header-bg-color) !important;
  position: fixed !important;
  top: 15px !important;
  left: 7px !important;
  right: 7px !important;
  width: calc(100% - 11px) !important;
  z-index: 2000;
  border-radius: 21px;
  transition: all 0.3s ease;
}

@media (max-width: 1199.98px) {
  .floating-rounded-navbar .navbar-collapse {
    top: 85px !important;
  }
}

.navbar-brand {
  margin-right: 0 !important;
}
.heading {
  background: #ffffff;
  border-radius: 14px;
  padding: 2rem 2.2rem;
  margin: 2rem 0;
  border: 1px solid #e5e5e5;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.heading:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
}

.heading h2 {
  margin-top: 0;
  font-size: 1.8rem;
  font-weight: 700;
  color: #8b0000; /* dark red accent */
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 0.5rem;
}

.heading h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: #8b0000;
  border-radius: 50px;
  opacity: 0.85;
}

.heading p {
  margin: 0.7rem 0;
  color: #444444;
  font-size: 1rem;
  line-height: 1.65;
}
.matches {
  background: #ffffff;
  border: 1px solid #e7e7e7;
  padding: 27px 21px;
  border-radius: 14px;
  margin: 2.2rem 0;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.matches:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
}

/* Subtle background accent stripe */
.matches::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 420px;
  height: 420px;
  background: rgba(139, 0, 0, 0.06);
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
}

.matches h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-top: 0;
  color: #8b0000;
  position: relative;
  padding-bottom: 0.4rem;
  letter-spacing: 0.4px;
}

/* Accent bar under the title */
.matches h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 4px;
  background: #8b0000;
  border-radius: 30px;
  opacity: 0.9;
}

.matches p {
  color: #444;
  line-height: 1.65;
  margin-top: 0.8rem;
  font-size: 1.05rem;
}

/* Image enhancements */
.matches img {
  border-radius: 14px;
  outline: 2px solid rgba(139, 0, 0, 0.15);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.matches img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
}
.full-width-section {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.cust-bg {
  background: #fff0f0;
}
.colored {
  color: var(--link-color);
}
/* 404 Page Wrapper */
.error-page-wrapper {
  min-height: 60vh;
  color: #f9fafb;
  padding: 4rem 1rem;
}

/* Card (glassmorphism style) */
.error-card {
  background: rgba(15, 23, 42, 0.85);
  border-radius: 1.75rem;
  padding: 3rem 2.5rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow:
    0 24px 60px rgba(15, 23, 42, 0.7),
    0 0 0 1px rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  position: relative;
}

/* Badge Icon */
.error-badge {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 30%, #f97316, #ea580c);
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 12px 30px rgba(248, 113, 113, 0.4);
}

/* Big 404 */
.error-code {
  font-size: clamp(3rem, 8vw, 4.5rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #f97316, #fb7185, #38bdf8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Title & Text */
.error-title {
  font-size: clamp(1.75rem, 3vw, 2.1rem);
  font-weight: 700;
  color: #e5e7eb !important;
}

.error-text {
  color: #9ca3af;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.error-btn-primary {
  background: linear-gradient(135deg, #f97316, #fb7185);
  border: none;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(248, 113, 113, 0.5);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.error-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(248, 113, 113, 0.7);
  filter: brightness(1.05);
}

.error-btn-secondary {
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: #e5e7eb;
  font-weight: 500;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.error-btn-secondary:hover {
  background: rgba(15, 23, 42, 0.8);
  color: #f9fafb;
  border-color: #e5e7eb;
  transform: translateY(-1px);
}

/* Floating decorations */
.error-decoration {
  position: absolute;
  border-radius: 999px;
  filter: blur(26px);
  opacity: 0.7;
  pointer-events: none;
  z-index: -1;
}

.error-decoration-1 {
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(251, 113, 133, 0.9), transparent 65%);
  top: -60px;
  right: -60px;
  animation: float1 10s ease-in-out infinite alternate;
}

.error-decoration-2 {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.9), transparent 65%);
  bottom: -80px;
  left: -80px;
  animation: float2 11s ease-in-out infinite alternate;
}

/* Animations */
@keyframes float1 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(-20px, 20px) scale(1.08);
  }
}

@keyframes float2 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(25px, -25px) scale(1.04);
  }
}

/* Small devices tweaks */
@media (max-width: 576px) {
  .error-card {
    padding: 2.25rem 1.75rem;
    border-radius: 1.5rem;
  }

  .error-actions {
    gap: 0.75rem;
  }
}
/* === FOOTER BASE === */
.footer-news {
  background: linear-gradient(135deg, #0f172a 0%, #020617 85%);
  color: #e2e8f0;
  padding: 3.5rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}

/* Subtle glow background elements */
.footer-news::before,
.footer-news::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.25;
  z-index: 0;
}

.footer-news::before {
  background: #fb7185;
  top: -60px;
  left: -40px;
}

.footer-news::after {
  background: #38bdf8;
  bottom: -60px;
  right: -40px;
}

/* Make sure content stays above glow */
.footer-news * {
  position: relative;
  z-index: 2;
}

/* === FOOTER TOP === */
.footer-top {
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  padding-bottom: 1.2rem;
}

.footer-contact p {
  font-size: 0.95rem;
  color: #cbd5e1;
}

.footer-links {
  font-size: 0.95rem;
  color: #cbd5e1;
}

.footer-links a {
  color: #f1f5f9;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.25s ease, opacity 0.25s ease;
}

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

/* Icon near email */
.footer-icon {
  margin-right: 4px;
  opacity: 0.9;
}

/* === NEWSLETTER SECTION === */
.footer-newsletter h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #f8fafc;
}

.newsletter-form input {
  padding: 0.7rem 1rem;
  border-radius: 50px;
  border: none;
  outline: none;
  width: 260px;
  background: rgba(255, 255, 255, 0.08);
  color: #f1f5f9;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.newsletter-form input::placeholder {
  color: #94a3b8;
}

.newsletter-form input:focus {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 2px rgba(148, 163, 184, 0.35);
}

.newsletter-form button {
  border: none;
  padding: 0.7rem 1.4rem;
  border-radius: 50px;
  font-weight: 600;
  background: linear-gradient(135deg, #fb7185, #f97316);
  color: white;
  opacity: 0.5;
  cursor: not-allowed;
  transition: 0.25s ease;
}

.newsletter-form button:enabled {
  opacity: 1;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(249, 115, 22, 0.35);
}

.newsletter-form button:enabled:hover {
  transform: translateY(-2px);
}

/* === SOCIAL ICONS === */
.footer-social {
  margin-top: 1.6rem;
  gap: 18px;
}

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.06);
  transition: transform 0.25s ease, background 0.25s ease, opacity 0.25s ease;
}

.social-icon:hover {
  opacity: 0.9;
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

/* === Responsive Tweaks === */
@media (max-width: 576px) {
  .newsletter-form input {
    width: 100%;
  }
}
