/* =========================================================
   01. ROOT VARIABLES
========================================================= */

:root {
  --orange: #f97316;
  --orange-dark: #ea580c;
  --orange-light: #fff7ed;
  --orange-soft: #ffedd5;

  --black: #111827;
  --black-light: #1f2937;

  --white: #ffffff;

  --text: #334155;
  --text-light: #64748b;
  --text-muted: #94a3b8;

  --border: #e5e7eb;
  --background: #f8fafc;
  --background-light: #fffaf5;

  --shadow-small:
    0 5px 18px rgba(15, 23, 42, 0.06);

  --shadow:
    0 15px 40px rgba(15, 23, 42, 0.09);

  --shadow-orange:
    0 15px 40px rgba(249, 115, 22, 0.22);

  --radius-small: 10px;
  --radius: 16px;
  --radius-large: 24px;

  --transition: all 0.35s ease;
}


/* =========================================================
   02. RESET
========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  font-family: "Outfit", sans-serif;

  color: var(--text);

  background: var(--white);

  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

button {
  cursor: pointer;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}


/* =========================================================
   03. CONTAINER
========================================================= */

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}


/* =========================================================
   04. TOP BAR
========================================================= */

.top-bar {
  width: 100%;

  padding: 9px 0;

  background: var(--black);

  color: var(--white);

  font-size: 13px;

  position: relative;

  z-index: 1000;
}

.top-bar-flex {
  display: flex;

  justify-content: space-between;
  align-items: center;

  gap: 20px;
}

.top-bar-left,
.top-bar-right {
  display: flex;

  align-items: center;

  gap: 20px;
}

.top-bar-left a {
  display: flex;

  align-items: center;

  gap: 7px;

  color: #e2e8f0;

  transition: var(--transition);
}

.top-bar-left a:hover {
  color: var(--orange);
}

.top-bar i {
  color: var(--orange);
}

.top-bar-right a {
  width: 28px;
  height: 28px;

  display: grid;
  place-items: center;

  color: #cbd5e1;

  border-radius: 50%;

  transition: var(--transition);
}

.top-bar-right a:hover {
  color: var(--white);

  background: var(--orange);

  transform: translateY(-3px);
}


/* =========================================================
   05. HEADER
========================================================= */

header {
  position: relative;

  z-index: 999;

  background: rgba(255, 255, 255, 0.96);

  backdrop-filter: blur(15px);

  -webkit-backdrop-filter: blur(15px);

  border-bottom: 1px solid rgba(229, 231, 235, 0.9);

  box-shadow:
    0 2px 12px rgba(15, 23, 42, 0.03);

  transition: background 0.3s ease, box-shadow 0.3s ease;
}

header.is-fixed {
  position: fixed !important;

  top: 0 !important;

  left: 0 !important;

  right: 0 !important;

  width: 100% !important;

  z-index: 9999 !important;

  background: rgba(255, 255, 255, 0.98) !important;

  box-shadow: 0 4px 25px rgba(15, 23, 42, 0.12) !important;
}

.header-spacer {
  display: none;

  width: 100%;
}

.header-spacer.active {
  display: block;
}

.header-container {
  min-height: 82px;

  display: flex;

  align-items: center;

  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  perspective: 900px;
  text-decoration: none;
}

.logo img {
  width: 125px;
  height: auto;
  transform-style: preserve-3d;
  animation: navLogoSpin3D 5.5s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  filter: drop-shadow(0 4px 10px rgba(249, 115, 22, 0.3));
  transition: transform 0.3s ease, filter 0.3s ease;
  will-change: transform;
}

.logo:hover img {
  animation-play-state: paused;
  transform: scale(1.1) !important;
  filter: drop-shadow(0 8px 22px rgba(249, 115, 22, 0.65)) !important;
}

@keyframes navLogoSpin3D {
  0% {
    transform: rotateY(0deg);
    filter: drop-shadow(0 4px 10px rgba(249, 115, 22, 0.25));
  }
  20% {
    transform: rotateY(0deg); /* 20% hold time to keep logo front-facing & readable */
    filter: drop-shadow(0 4px 14px rgba(249, 115, 22, 0.4));
  }
  50% {
    transform: rotateY(180deg) scale(1.08);
    filter: drop-shadow(0 8px 24px rgba(249, 115, 22, 0.6));
  }
  80% {
    transform: rotateY(360deg);
    filter: drop-shadow(0 4px 14px rgba(249, 115, 22, 0.4));
  }
  100% {
    transform: rotateY(360deg);
    filter: drop-shadow(0 4px 10px rgba(249, 115, 22, 0.25));
  }
}

.logo:hover img {
  transform: scale(1.04);
}


/* =========================================================
   06. NAVIGATION
========================================================= */

nav {
  display: block;
  z-index: 0;
}

.nav-links {
  display: flex;

  align-items: center;

  flex-wrap: nowrap;

  gap: 0px;
}

.nav-links > li {
  position: relative;
}

.nav-links > li > a {
  position: relative;

  display: flex;

  align-items: center;

  gap: 4px;

  padding: 10px 8px;

  color: #334155;

  font-size: 13px;

  font-weight: 600;

  transition: var(--transition);

  white-space: nowrap;
}

.nav-links > li > a::after {
  content: "";

  position: absolute;

  left: 12px;
  right: 12px;

  bottom: 4px;

  height: 2px;

  background: var(--orange);

  border-radius: 20px;

  transform: scaleX(0);

  transform-origin: center;

  transition: var(--transition);
}

.nav-links > li > a:hover,
.nav-links > li > a.active {
  color: var(--orange);
}

.nav-links > li > a:hover::after,
.nav-links > li > a.active::after {
  transform: scaleX(1);
}

.nav-arrow {
  font-size: 9px;

  transition: var(--transition);
}

.dropdown:hover .nav-arrow {
  transform: rotate(180deg);
}

/* UPPHL Live Navigation Link */
.nav-links > li > a.nav-link-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ef4444 !important;
  font-weight: 700;
}

.nav-links > li > a.nav-link-live:hover {
  color: #dc2626 !important;
}

.nav-live-dot {
  width: 7px;
  height: 7px;
  background-color: #ef4444;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: navPulseDot 1.5s infinite;
}

@keyframes navPulseDot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

/* Register Now Orange Nav Button */
.nav-links > li > a.btn-nav-register {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%) !important;
  color: #ffffff !important;
  padding: 8px 16px !important;
  border-radius: 20px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  margin-left: 4px;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.35);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
}

.nav-links > li > a.btn-nav-register::after {
  display: none !important;
}

.nav-links > li > a.btn-nav-register:hover {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(249, 115, 22, 0.45);
  color: #ffffff !important;
}


/* =========================================================
   07. DROPDOWN MENU
========================================================= */

.dropdown-menu {
  position: absolute;

  top: calc(100% + 10px);

  left: 0;

  min-width: 190px;

  padding: 9px;

  background: var(--white);

  border: 1px solid var(--border);

  border-radius: 13px;

  box-shadow: var(--shadow);

  opacity: 0;

  visibility: hidden;

  transform: translateY(10px);

  transition: var(--transition);

  z-index: 1000;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;

  visibility: visible;

  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;

  padding: 10px 13px;

  color: var(--text);

  font-size: 13px;

  border-radius: 8px;

  transition: var(--transition);
}

.dropdown-menu li a:hover {
  color: var(--orange);

  background: var(--orange-light);

  padding-left: 18px;
}

/* =========================================================
   NAVBAR USER PROFILE BADGE & MENU
========================================================= */

.nav-user-badge {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2px !important;
  padding: 4px 8px !important;
  background: transparent !important;
  border: none !important;
  border-radius: 8px !important;
  transition: var(--transition);
}

.dropdown-menu.dropdown-menu-right {
  left: auto !important;
  right: 0 !important;
}

.nav-user-badge:hover {
  background: rgba(249, 115, 22, 0.08) !important;
}

.nav-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--orange);
  box-shadow: 0 2px 6px rgba(249, 115, 22, 0.25);
}

.nav-user-firstname {
  font-size: 11px;
  font-weight: 700;
  color: var(--orange-dark);
  line-height: 1;
  letter-spacing: 0.2px;
  max-width: 80px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: capitalize;
}

.dropdown-user-header {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 6px;
}

.dropdown-user-header strong {
  display: block;
  font-size: 13px;
  color: var(--black);
}

.dropdown-user-header small {
  font-size: 11px;
  color: var(--orange-dark);
  font-weight: 600;
}

.dropdown-menu .logout-btn {
  color: #ef4444 !important;
}

.dropdown-menu .logout-btn:hover {
  background: #fef2f2 !important;
  color: #dc2626 !important;
}


/* =========================================================
   08. MOBILE MENU BUTTON
========================================================= */

.mobile-menu-btn {
  display: none;

  width: 42px;
  height: 42px;

  border: none;

  border-radius: 10px;

  color: var(--orange);

  background: var(--orange-light);

  font-size: 19px;

  transition: var(--transition);
}

.mobile-menu-btn:hover {
  color: var(--white);

  background: var(--orange);
}


/* =========================================================
   09. HERO SECTION
========================================================= */

.hero-section {
  position: relative;

  min-height: 650px;

  display: flex;

  align-items: center;

  overflow: hidden;

  background: #fff7ed;
}


/* =========================================================
   HERO BACKGROUND IMAGE
========================================================= */

.hero-section::before {
  content: "";

  position: absolute;

  inset: 0;

  background-image:
    linear-gradient(
      90deg,

      rgba(255, 255, 255, 0.99) 0%,

      rgba(255, 255, 255, 0.96) 25%,

      rgba(255, 255, 255, 0.78) 45%,

      rgba(255, 247, 237, 0.35) 70%,

      rgba(249, 115, 22, 0.10) 100%
    ),

    url("../images/hanball.jpg");

  background-size: cover;

  background-position: center right;

  background-repeat: no-repeat;

  animation: heroZoom 12s ease-in-out infinite alternate;
}


/* =========================================================
   HERO ORANGE SHAPES
========================================================= */

.hero-section::after {
  content: "";

  position: absolute;

  width: 450px;
  height: 450px;

  right: -180px;
  top: -170px;

  border: 70px solid rgba(249, 115, 22, 0.09);

  border-radius: 50%;

  animation: rotateCircle 18s linear infinite;
}






/* =========================================================
   HERO CONTENT
========================================================= */

.hero-content {
  position: relative;

  z-index: 5;

  width: 100%;

  max-width: 750px;

  padding: 80px 0;

  animation: heroContent 0.9s ease both;
}


/* =========================================================
   HERO BADGE
========================================================= */

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  margin-bottom: 20px;
  padding: 8px 14px;

  color: var(--orange-dark);
  background: var(--orange-light);

  border: 1px solid var(--orange-soft);
  border-radius: 30px;

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;

  box-shadow:
    0 6px 20px rgba(249, 115, 22, 0.08);
}

.hero-badge i {
  color: var(--orange);
}


/* =========================================================
   HERO HEADING
========================================================= */

.hero-content h1 {
  margin-bottom: 22px;

  color: var(--black);

  font-size: clamp(48px, 7vw, 82px);

  line-height: 0.96;

  font-weight: 800;

  letter-spacing: -3px;

  text-transform: uppercase;
}

.hero-content h1 span {
  display: block;

  margin-top: 8px;

  color: var(--orange);

  text-shadow:
    0 8px 25px rgba(249, 115, 22, 0.13);
}


/* =========================================================
   HERO PARAGRAPH
========================================================= */

.hero-content p {
  max-width: 620px;

  margin-bottom: 32px;

  color: #475569;

  font-size: 17px;

  line-height: 1.8;
}


/* =========================================================
   HERO BUTTONS
========================================================= */

.hero-actions {
  display: flex;

  align-items: center;

  flex-wrap: wrap;

  gap: 14px;
}

.btn {
  min-height: 50px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 9px;

  padding: 0 24px;

  border-radius: 10px;

  font-size: 14px;

  font-weight: 700;

  transition: var(--transition);
}


/* Primary button */

.btn-primary {
  color: var(--white);

  background:
    linear-gradient(
      135deg,
      var(--orange),
      var(--orange-dark)
    );

  border: 1px solid var(--orange);

  box-shadow:
    0 12px 28px rgba(249, 115, 22, 0.25);
}

.btn-primary:hover {
  color: var(--white);

  transform: translateY(-4px);

  box-shadow:
    0 18px 38px rgba(249, 115, 22, 0.36);
}


/* Outline button */

.btn-outline {
  color: var(--orange-dark);

  background: rgba(255, 255, 255, 0.9);

  border: 1.5px solid var(--orange);

  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  color: var(--white);

  background: var(--orange);

  transform: translateY(-4px);
}


/* =========================================================
   10. STATS SECTION
========================================================= */

.stats-section {
  position: relative;

  z-index: 10;

  margin-top: -55px;

  padding-bottom: 80px;
}

.stats-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 18px;
}

.stat-card {
  position: relative;

  overflow: hidden;

  padding: 28px 20px;

  text-align: center;

  background: var(--white);

  border: 1px solid var(--border);

  border-radius: var(--radius);

  box-shadow: var(--shadow);

  transition: var(--transition);

  animation: cardReveal 0.7s ease both;
}

.stat-card::before {
  content: "";

  position: absolute;

  width: 100px;
  height: 100px;

  top: -45px;
  right: -45px;

  background: var(--orange-soft);

  border-radius: 50%;

  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-9px);

  border-color: rgba(249, 115, 22, 0.35);

  box-shadow: var(--shadow-orange);
}

.stat-card:hover::before {
  transform: scale(1.5);
}

.stat-number {
  position: relative;

  color: var(--orange);

  font-size: 38px;

  line-height: 1;

  font-weight: 800;

  margin-bottom: 9px;
}

.stat-label {
  position: relative;

  color: var(--text-light);

  font-size: 13px;

  font-weight: 600;
}


/* =========================================================
   11. COMMON SECTIONS
========================================================= */

.featured-match-section,
.standings-preview-section,
.news-section {
  padding: 90px 0;
}

.featured-match-section,
.news-section {
  background: var(--background);
}

.standings-preview-section {
  background: var(--white);
}


/* =========================================================
   SECTION HEADER
========================================================= */

.section-header {
  max-width: 700px;
  margin: 0 auto 42px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-header h2 {
  position: relative;
  display: block;
  width: 100%;
  margin-bottom: 13px;
  color: var(--black);
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.2;
  font-weight: 800;
}

.section-header h2::after {
  content: "";

  display: block;

  width: 45px;
  height: 4px;

  margin: 12px auto 0;

  background: var(--orange);

  border-radius: 20px;
}

.section-header p {
  color: var(--text-light);

  font-size: 15px;
}


/* =========================================================
   12. UPCOMING MATCHES
========================================================= */

.carousel-container {
  position: relative;

  display: flex;

  align-items: center;

  gap: 15px;
}

.carousel-track-wrapper {
  width: 100%;

  overflow: hidden;

  padding: 12px 3px 25px;
}

.carousel-track {
  display: flex;

  gap: 20px;

  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);

  will-change: transform;
}

.carousel-match-card {
  flex: 0 0 calc((100% - 40px) / 3);

  min-width: calc((100% - 40px) / 3);

  max-width: calc((100% - 40px) / 3);

  box-sizing: border-box;

  overflow: hidden;

  background: var(--white);

  border: 1px solid var(--border);

  border-radius: var(--radius-large);

  box-shadow: var(--shadow-small);

  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.carousel-match-card:hover {
  transform: translateY(-9px);

  border-color: rgba(249, 115, 22, 0.35);

  box-shadow: var(--shadow-orange);
}


/* Match banner */

.match-status-banner {
  padding: 11px 15px;

  text-align: center;

  color: var(--white);

  background:
    linear-gradient(
      90deg,
      var(--orange-dark),
      var(--orange)
    );

  font-size: 11px;

  font-weight: 800;

  letter-spacing: 1px;

  text-transform: uppercase;
}


/* Match body */

.match-card-body {
  padding: 24px 18px;
}

.team-vs-team {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.match-team-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.match-team-logo-small {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2.5px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease;
  box-sizing: border-box;
}

.match-team-logo-small svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.35));
}

.carousel-match-card:hover .match-team-logo-small {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 18px rgba(249, 115, 22, 0.35);
}

.team-name-small {
  color: var(--black);
  text-align: center;
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.25;
}

.vs-divider {
  width: 42px;
  height: 42px;

  display: grid;

  place-items: center;

  color: var(--orange);

  background: var(--orange-light);

  border: 1px solid var(--orange-soft);

  border-radius: 50%;

  font-size: 10px;

  font-weight: 800;
}

.match-info-details {
  padding-top: 18px;

  border-top: 1px dashed var(--border);
}

.match-info-details p {
  display: flex;

  align-items: center;

  gap: 10px;

  margin: 8px 0;

  color: var(--text-light);

  font-size: 12px;
}

.match-info-details i {
  width: 17px;

  color: var(--orange);
}


/* Carousel buttons */

.carousel-btn {
  flex: 0 0 auto;

  width: 45px;
  height: 45px;

  display: grid;

  place-items: center;

  color: var(--orange);

  background: var(--white);

  border: 1px solid var(--border);

  border-radius: 50%;

  box-shadow: var(--shadow-small);

  transition: var(--transition);
}

.carousel-btn:hover {
  color: var(--white);

  background: var(--orange);

  border-color: var(--orange);

  transform: scale(1.08);
}


/* =========================================================
   13. STANDINGS TABLE
========================================================= */

.compact-table-wrapper {
  overflow-x: auto;

  background: var(--white);

  border: 1px solid var(--border);

  border-radius: var(--radius);

  box-shadow: var(--shadow-small);
}

.compact-table {
  width: 100%;

  border-collapse: collapse;
}

.compact-table th {
  padding: 17px 20px;

  color: #7c2d12;

  background: var(--orange-light);

  font-size: 12px;

  font-weight: 800;

  text-align: left;

  text-transform: uppercase;

  letter-spacing: 0.6px;
}

.compact-table td {
  padding: 18px 20px;

  border-top: 1px solid var(--border);

  font-size: 14px;
}

.compact-table tbody tr {
  transition: var(--transition);
}

.compact-table tbody tr:hover {
  background: #fffaf5;
}

.center-align {
  text-align: center !important;
}

.compact-team-meta span {
  color: var(--black);

  font-weight: 700;
}

.qualifier-row td:first-child {
  color: var(--orange) !important;
}

.view-more-container {
  margin-top: 30px;

  text-align: center;
}


/* =========================================================
   14. NEWS SECTION
========================================================= */

.news-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 24px;
}

.news-card {
  overflow: hidden;

  background: var(--white);

  border: 1px solid var(--border);

  border-radius: var(--radius-large);

  box-shadow: var(--shadow-small);

  transition: var(--transition);

  animation: cardReveal 0.7s ease both;
}

.news-card:hover {
  transform: translateY(-9px);

  border-color: rgba(249, 115, 22, 0.3);

  box-shadow: var(--shadow);
}


/* News image */

.news-image {
  position: relative;

  height: 220px;

  overflow: hidden;
}

.news-image::after {
  content: "";

  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      to top,
      rgba(17, 24, 39, 0.28),
      transparent 55%
    );
}

.news-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 0.6s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.08);
}


/* News content */

.news-content {
  padding: 24px;
}

.news-date {
  display: inline-block;

  margin-bottom: 10px;

  padding: 5px 10px;

  color: var(--orange-dark);

  background: var(--orange-light);

  border-radius: 30px;

  font-size: 10px;

  font-weight: 700;
}

.news-content h3 {
  margin-bottom: 10px;

  color: var(--black);

  font-size: 20px;

  line-height: 1.3;
}

.news-content p {
  margin-bottom: 17px;

  color: var(--text-light);

  font-size: 13px;

  line-height: 1.7;
}

.read-more-link {
  display: inline-flex;

  align-items: center;

  gap: 7px;

  color: var(--orange);

  font-size: 13px;

  font-weight: 700;

  transition: var(--transition);
}

.read-more-link:hover {
  gap: 12px;

  color: var(--orange-dark);
}


/* =========================================================
   15. CTA SECTION
========================================================= */

.cta-section {
  position: relative;

  overflow: hidden;

  padding: 85px 0;

  background:
    linear-gradient(
      135deg,
      var(--orange),
      var(--orange-dark)
    );
}

.cta-section::before {
  content: "";

  position: absolute;

  width: 430px;
  height: 430px;

  left: -180px;
  top: -190px;

  border: 75px solid rgba(255,255,255,0.08);

  border-radius: 50%;

  animation: rotateCircle 20s linear infinite;
}

.cta-content {
  position: relative;

  z-index: 5;

  max-width: 760px;

  margin: auto;

  text-align: center;

  color: var(--white);
}

.cta-content h2 {
  margin-bottom: 15px;

  font-size: clamp(30px, 5vw, 45px);

  font-weight: 800;
}

.cta-content p {
  margin-bottom: 28px;

  color: rgba(255,255,255,0.88);

  font-size: 16px;
}

.cta-actions {
  display: flex;

  justify-content: center;

  flex-wrap: wrap;

  gap: 13px;
}

.btn-white {
  color: var(--orange);

  background: var(--white);

  border: 1px solid var(--white);
}

.btn-white:hover {
  color: var(--orange-dark);

  transform: translateY(-4px);

  box-shadow:
    0 12px 28px rgba(0,0,0,0.15);
}

.btn-outline-white {
  color: var(--white);

  background: transparent;

  border: 1px solid rgba(255,255,255,0.75);
}

.btn-outline-white:hover {
  color: var(--orange);

  background: var(--white);

  transform: translateY(-4px);
}


/* =========================================================
   16. FOOTER
========================================================= */

footer {
  color: #cbd5e1;

  background: #111827;
}

.footer-grid {
  display: grid;

  grid-template-columns:
    1.6fr
    1fr
    1fr
    1.3fr;

  gap: 45px;

  padding: 70px 0 55px;
}


/* Footer About */

.footer-about .logo {
  margin-bottom: 18px;
}

.footer-about .logo img {
  width: 135px;

  filter:
    brightness(0)
    invert(1);
}

.footer-about p {
  max-width: 350px;

  color: #94a3b8;

  font-size: 13px;

  line-height: 1.8;
}


/* =========================================================
   FOOTER (MODERN SCREENSHOT DESIGN)
========================================================= */
footer {
  background: #ffffff;
  padding: 50px 0 0;
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--orange);
}

.footer-new-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

/* 1. Top Row: 6 Large Circular Team Logos Spanning Container */
.footer-team-logos-row {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}

.footer-team-round-logo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  padding: 6px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  overflow: hidden;
}

.footer-team-round-logo:hover {
  transform: translateY(-8px) scale(1.12);
  border-color: var(--orange);
  box-shadow: 0 16px 36px rgba(249, 115, 22, 0.45);
}

.footer-team-round-logo svg,
.footer-team-round-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.15));
}

/* 2. Second Row: Navigation Links in Black */
.footer-nav-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 35px;
}

.footer-nav-menu a {
  color: #111827;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s ease;
  position: relative;
}

.footer-nav-menu a:hover {
  color: var(--orange);
  transform: translateY(-2px);
}

/* 3. Third Row: Large Center Brand Logo + Right Social Icons */
.footer-brand-social-row {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-bottom: 35px;
  position: relative;
}

.footer-center-logo {
  grid-column: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-center-logo a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  perspective: 900px;
  text-decoration: none;
}

.footer-center-logo img {
  height: 160px;
  width: auto;
  object-fit: contain;
  transform-style: preserve-3d;
  animation: navLogoSpin3D 5.5s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  filter: drop-shadow(0 6px 18px rgba(249, 115, 22, 0.35));
  transition: transform 0.3s ease, filter 0.3s ease;
  will-change: transform;
}

.footer-center-logo a:hover img {
  animation-play-state: paused;
  transform: scale(1.1) !important;
  filter: drop-shadow(0 10px 28px rgba(249, 115, 22, 0.75)) !important;
}

.footer-social-icons {
  grid-column: 3;
  display: flex;
  justify-content: flex-end;
  gap: 14px;
}

.social-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.15rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.social-btn.facebook { background: #1877f2; }
.social-btn.instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.social-btn.linkedin { background: #0a66c2; }
.social-btn.youtube { background: #ff0000; }

.social-btn:hover {
  transform: translateY(-4px) scale(1.12);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

/* 4. Bottom Row: Slim Orange Strip */
.footer-bottom {
  background: linear-gradient(90deg, #f97316 0%, #ea580c 100%);
  padding: 12px 0;
  width: 100%;
}

.footer-bottom-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-bottom-flex p {
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.2px;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-right: 48px;
}

.footer-legal-links a {
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  opacity: 0.95;
}

.footer-legal-links a:hover {
  color: #111827;
  text-decoration: underline;
  opacity: 1;
}

.footer-legal-links span {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
  font-size: 0.85rem;
}

@media (max-width: 1200px) {
  .footer-team-round-logo {
    width: 80px;
    height: 80px;
    padding: 10px;
  }
}

@media (max-width: 992px) {
  .footer-team-logos-row {
    justify-content: center;
    gap: 16px;
  }
  .footer-team-round-logo {
    width: 72px;
    height: 72px;
    padding: 8px;
  }
}

@media (max-width: 768px) {
  .footer-team-logos-row {
    gap: 12px;
  }
  .footer-team-round-logo {
    width: 58px;
    height: 58px;
    padding: 6px;
  }
  .footer-nav-menu {
    gap: 16px;
    font-size: 0.85rem;
  }
  .footer-brand-social-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer-center-logo {
    grid-column: 1;
  }
  .footer-center-logo img {
    height: 120px;
  }
  .footer-social-icons {
    grid-column: 1;
    justify-content: center;
  }
  .footer-bottom-flex {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  .footer-legal-links {
    padding-right: 0;
    justify-content: center;
    gap: 8px;
    flex-wrap: nowrap;
    white-space: nowrap;
  }
  .footer-legal-links a {
    font-size: 0.78rem;
  }
  .footer-legal-links span {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .footer-legal-links {
    gap: 6px;
    flex-wrap: nowrap;
    white-space: nowrap;
  }
  .footer-legal-links a {
    font-size: 0.72rem;
  }
  .footer-legal-links span {
    font-size: 0.70rem;
  }
}

@media (max-width: 360px) {
  .footer-legal-links {
    gap: 4px;
  }
  .footer-legal-links a {
    font-size: 0.65rem;
  }
  .footer-legal-links span {
    font-size: 0.65rem;
  }
}

.social-icons a {
  width: 38px;
  height: 38px;

  display: grid;

  place-items: center;

  color: #cbd5e1;

  background: #1f2937;

  border: 1px solid #374151;

  border-radius: 50%;

  transition: var(--transition);
}

.social-icons a:hover {
  color: var(--white);

  background: var(--orange);

  border-color: var(--orange);

  transform: translateY(-4px);
}


/* Footer contact */

.footer-contact p {
  display: flex;

  align-items: flex-start;

  gap: 11px;

  margin-bottom: 14px;

  color: #94a3b8;

  font-size: 13px;
}

.footer-contact i {
  width: 17px;

  margin-top: 4px;

  color: var(--orange);
}


/* =========================================================
   17. FOOTER BOTTOM
========================================================= */

.footer-bottom {
  border-top: 1px solid #263244;
}

.footer-bottom-flex {
  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 20px;

  padding: 20px 0;

  color: #64748b;

  font-size: 12px;
}


/* =========================================================
   18. ANIMATIONS
========================================================= */

@keyframes heroContent {

  from {
    opacity: 0;

    transform:
      translateY(45px);
  }

  to {
    opacity: 1;

    transform:
      translateY(0);
  }

}

@keyframes heroZoom {

  from {
    transform: scale(1.02);
  }

  to {
    transform: scale(1.08);
  }

}

@keyframes rotateCircle {

  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }

}

@keyframes cardReveal {

  from {
    opacity: 0;

    transform:
      translateY(25px);
  }

  to {
    opacity: 1;

    transform:
      translateY(0);
  }

}


/* =========================================================
   19. STAGGER ANIMATION
========================================================= */

.stat-card:nth-child(1) {
  animation-delay: 0.05s;
}

.stat-card:nth-child(2) {
  animation-delay: 0.10s;
}

.stat-card:nth-child(3) {
  animation-delay: 0.15s;
}

.stat-card:nth-child(4) {
  animation-delay: 0.20s;
}

.news-card:nth-child(1) {
  animation-delay: 0.05s;
}

.news-card:nth-child(2) {
  animation-delay: 0.15s;
}

.news-card:nth-child(3) {
  animation-delay: 0.25s;
}


/* =========================================================
   20. SELECTION
========================================================= */

::selection {
  color: var(--white);

  background: var(--orange);
}
/* =========================================================
   UPPHL - WHITE & ORANGE FOOTER
   Use on ALL pages
========================================================= */

footer {
  background: #ffffff !important;
  color: #222222 !important;
  border-top: 4px solid #f47b20 !important;
  box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.06);
}

/* Main footer */
footer .footer-grid {
  background: #ffffff !important;
  padding-top: 60px;
  padding-bottom: 50px;
}

/* Logo */
footer .footer-about .logo {
  margin-bottom: 18px;
}

footer .footer-about .logo img {
  max-width: 175px;
  height: auto;
}

/* About paragraph */
footer .footer-about p {
  color: #666666 !important;
  line-height: 1.8;
}

/* =========================================================
   FOOTER HEADINGS
========================================================= */

footer .footer-col h4 {
  color: #222222 !important;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}

/* Orange underline */
footer .footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;

  width: 45px;
  height: 3px;

  background: #f47b20 !important;
  border-radius: 10px;
}

/* =========================================================
   FOOTER LINKS
========================================================= */

footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer .footer-links li {
  margin-bottom: 12px;
}

footer .footer-links li a {
  color: #555555 !important;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

/* Orange hover */
footer .footer-links li a:hover {
  color: #f47b20 !important;
  padding-left: 7px;
}

/* =========================================================
   CONTACT
========================================================= */

footer .footer-contact p {
  color: #555555 !important;
  margin-bottom: 14px;
}

footer .footer-contact p i {
  color: #f47b20 !important;
  width: 23px;
  margin-right: 5px;
}

/* =========================================================
   SOCIAL ICONS
========================================================= */

footer .social-icons {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

footer .social-icons a {
  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #ffffff !important;
  color: #f47b20 !important;

  border: 1.5px solid #f47b20 !important;
  border-radius: 50%;

  transition: all 0.3s ease;
}

/* Social hover */
footer .social-icons a:hover {
  background: #f47b20 !important;
  color: #ffffff !important;

  transform: translateY(-5px);

  box-shadow: 0 8px 20px rgba(244, 123, 32, 0.25);
}

/* =========================================================
   FOOTER BOTTOM
========================================================= */

footer .footer-bottom {
  background: #f47b20 !important;
  border-top: none !important;
}

footer .footer-bottom-flex {
  min-height: 65px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

footer .footer-bottom p {
  color: #ffffff !important;
  margin: 0;
  font-size: 14px;
}

footer .footer-legal-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

footer .footer-legal-links a {
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  opacity: 0.92;
  transition: all 0.2s ease;
}

footer .footer-legal-links a:hover {
  opacity: 1;
  color: #111111 !important;
  text-decoration: underline;
}

footer .footer-legal-links .separator {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

/* =========================================================
   ORANGE HOVER LINE
========================================================= */

footer .footer-links li a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;

  width: 0;
  height: 2px;

  background: #f47b20;

  transition: width 0.3s ease;
}

footer .footer-links li a:hover::before {
  width: 100%;
}


/* =====================================
   FOOTER TEXT ALIGNMENT
===================================== */

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
  gap: 50px;
  align-items: start;
}

.footer-col {
  text-align: left;
}

.footer-col h4 {
  margin: 0 0 28px;
  text-align: left;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 18px;
  text-align: left;
}

.footer-links li a {
  display: block;
  text-align: left;
  text-decoration: none;
}

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0 0 18px;
  text-align: left;
}

.footer-contact p i {
  width: 20px;
  min-width: 20px;
  text-align: center;
  margin-top: 3px;
}

/* Footer About */
.footer-about {
  text-align: left;
}

.footer-about p {
  text-align: left;
  line-height: 1.7;
  margin: 0 0 20px;
}

/* Mobile */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer-col,
  .footer-col h4,
  .footer-links li,
  .footer-links li a,
  .footer-about,
  .footer-about p {
    text-align: left;
  }
}
/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

  footer .footer-grid {
    padding: 45px 20px 30px;
  }

  footer .footer-col {
    margin-bottom: 30px;
  }

  footer .footer-bottom-flex {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 8px;
    padding: 16px 10px;
  }

  footer .social-icons {
    margin-top: 18px;
  }
}
/* =========================================================
   UPPHL PAGE LOADER - HANDBALL THROW & GOAL
========================================================= */

.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* footer part  */


/* =========================================
   FOOTER LOGO
========================================= */

.footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 18px;
  position: relative;
}

.footer-logo a {
  display: inline-flex;
  align-items: center;
}

.footer-logo img {
  width: 180px;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition:
    transform 0.45s ease,
    filter 0.45s ease;
}

/* Hover Animation */
.footer-logo:hover img {
  transform: translateY(-6px) scale(1.05);
  filter: drop-shadow(0 10px 18px rgba(230, 57, 70, 0.25));
}

/* Mobile */
@media (max-width: 600px) {

  .footer-logo img {
    width: 150px;
  }

}

/* ================================
   FOOTER HEADINGS
================================ */

.footer-col h4 {
    position: relative;
    display: inline-block;
    margin: 0 0 28px;
    padding-bottom: 10px;
    font-size: 18px;
    font-weight: 700;
    color: #172033;
}

/* Orange line exactly heading ke neeche */
.footer-col h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;

    width: 55px;
    height: 3px;

    background: #e67e22;
    border-radius: 10px;
}





/* =========================================
   LOADER CONTENT & HANDBALL THROW ARENA
========================================= */

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 460px;
  width: 92%;
  padding: 20px;
  box-sizing: border-box;
  margin: 0 auto;
}

.loader-logo {
  width: 105px;
  height: auto;
  object-fit: contain;
  margin-bottom: 22px;
  filter: drop-shadow(0 4px 14px rgba(249, 115, 22, 0.3));
  animation: loaderLogoPulse 2s ease-in-out infinite;
}

@keyframes loaderLogoPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 4px 14px rgba(249, 115, 22, 0.25)); }
  50% { transform: scale(1.05); filter: drop-shadow(0 8px 24px rgba(249, 115, 22, 0.5)); }
}

/* =========================================
   HANDBALL TRACK & GOAL LOADER
========================================= */
.handball-throw-arena {
  width: 100%;
  max-width: 400px;
  height: 50px;
  margin: 15px auto 20px;
  position: relative;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

/* Track: full width */
.throw-track-integrated {
  position: relative;
  width: 100%;
  height: 8px;
  display: flex;
  align-items: center;
  z-index: 2;
  box-sizing: border-box;
}

.throw-track-bg {
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: 20px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.08);
}

.throw-track-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 8px;
  width: 0%;
  max-width: 100%;
  background: linear-gradient(90deg, #f97316, #ea580c);
  border-radius: 20px;
  box-shadow: 0 0 14px rgba(249,115,22,0.6);
  transition: width 0.03s linear;
}

/* Ball riding the track */
.flying-handball {
  position: absolute;
  left: 0%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 3px 8px rgba(249,115,22,0.65));
  pointer-events: none;
}

.ball-svg {
  width: 100%;
  height: 100%;
  animation: ballSpin 0.35s linear infinite;
}

@keyframes ballSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.goal-flash {
  opacity: 0;
  transform: scale(0.3);
  transform-origin: center;
  transition: all 0.35s ease;
}

.goal-text-popup {
  position: absolute;
  top: -12px;
  right: -6px;
  background: #16a34a;
  color: #ffffff;
  font-weight: 900;
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 20px;
  letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.4);
  opacity: 0;
  transform: scale(0.4) rotate(8deg);
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* 4. Percentage Progress Box */
.loader-percentage-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.loader-percent-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: #111827;
  letter-spacing: -0.5px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.loader-percent-status {
  font-size: 0.82rem;
  font-weight: 800;
  color: #f97316;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

@media (max-width: 600px) {
  .loader-content {
    max-width: 340px;
    width: 88%;
    padding: 15px 10px;
  }
  .handball-throw-arena {
    max-width: 280px;
    margin: 12px auto 16px;
  }
  .loader-logo {
    width: 85px;
    margin-bottom: 18px;
  }
  .flying-handball {
    width: 20px;
    height: 20px;
  }
  .loader-percent-num {
    font-size: 1.7rem;
  }
  .loader-percent-status {
    font-size: 0.75rem;
    letter-spacing: 1px;
  }
}

@media (max-width: 360px) {
  .loader-content {
    max-width: 280px;
    width: 90%;
  }
  .handball-throw-arena {
    max-width: 240px;
  }
  .loader-logo {
    width: 75px;
  }
}


/* =========================================================
   SCROLL TO TOP BUTTON
========================================================= */

.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 9999;
}

.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.scroll-top-btn:hover {
  background: linear-gradient(135deg, #ff8533, var(--orange));
  box-shadow: 0 12px 30px rgba(249, 115, 22, 0.55);
  transform: translateY(-5px) scale(1.05);
}

.scroll-top-btn:active {
  transform: translateY(-2px) scale(0.98);
}

@media (max-width: 768px) {
  .scroll-top-btn {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    font-size: 16px;
  }
}

/* =========================================
   GLOBAL PLAYER LOGIN MODAL STYLES
========================================= */
.my-profile-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.my-profile-modal.open {
  visibility: visible;
  opacity: 1;
}

.my-profile-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
}

.my-profile-modal-card {
  position: relative;
  z-index: 1;
  background: #ffffff;
  width: 90%;
  max-width: 440px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  animation: modalPopIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPopIn {
  from { transform: scale(0.95) translateY(10px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 16px;
  background: #f1f5f9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 18px;
  color: #64748b;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: 0.2s;
}

.modal-close-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* =========================================================
   MEET OUR TEAMS AUTOSLIDER (HOMEPAGE)
========================================================= */
.meet-teams-section {
  background: var(--background-light);
  padding: 60px 0 70px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.teams-carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 25px 0 10px;
}

.teams-carousel-viewport {
  width: 100%;
  overflow: hidden;
  padding: 12px 4px 20px;
}

.teams-carousel-track {
  display: flex;
  gap: 18px;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

/* Team Link Card in Carousel */
.team-card-link {
  flex: 0 0 calc((100% - 54px) / 4);
  min-width: calc((100% - 54px) / 4);
  max-width: calc((100% - 54px) / 4);
  height: 240px;
  border-radius: 20px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 14px;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-sizing: border-box;
}

.team-card-link .card-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.4) 1px, transparent 1px);
  background-size: 12px 12px;
}

.team-card-link .team-crest-wrapper {
  position: relative;
  z-index: 2;
  width: 105px;
  height: 105px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 50%;
  padding: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  border: 3px solid rgba(255, 255, 255, 0.9);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.team-card-link .team-crest-wrapper svg,
.team-card-link .team-crest-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.15));
}

.team-card-link .team-card-title {
  position: relative;
  z-index: 2;
  margin-top: 14px;
  font-weight: 800;
  font-size: 0.95rem;
  color: #ffffff;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  line-height: 1.25;
}

.team-card-link:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 36px rgba(249, 115, 22, 0.3);
}

.team-card-link:hover .team-crest-wrapper {
  transform: scale(1.08);
}

/* =========================================================
   DEDICATED TEAM DETAILS PAGE (team-details.html)
========================================================= */
.dedicated-team-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  padding: 40px 0 45px;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.team-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 14px;
}

.team-hero-breadcrumb a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s;
}

.team-hero-breadcrumb a:hover {
  color: var(--orange);
}

.dedicated-team-hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.dedicated-team-hero p {
  color: #94a3b8;
  font-size: 0.95rem;
  max-width: 650px;
  margin-bottom: 24px;
}

/* 8 Team Switcher Pills */
.team-tab-selector {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.team-tab-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.team-tab-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.team-tab-btn.active {
  background: var(--orange);
  color: #ffffff;
  border-color: var(--orange);
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
}

/* Dedicated Content Section */
.dedicated-team-section {
  padding: 50px 0 80px;
  background: var(--background);
}

.team-main-profile-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 35px;
  box-shadow: var(--shadow);
  animation: teamFadeIn 0.4s ease;
}

@keyframes teamFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Header Banner inside Details */
.team-details-header-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 24px 28px;
  border-radius: 20px;
  margin-bottom: 35px;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.team-banner-left {
  display: flex;
  align-items: center;
  gap: 22px;
}

.team-banner-crest {
  width: 85px;
  height: 85px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffffff;
  padding: 6px;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.9);
  overflow: hidden;
}

.team-banner-crest svg,
.team-banner-crest img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.team-banner-text h2 {
  font-size: 1.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 4px;
}

.team-banner-text p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 0;
}

.team-banner-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.team-badge-pill {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
}

/* Group Subtitles */
.details-group-heading {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}

.details-group-heading i {
  color: var(--orange);
}

/* Management / Leadership Grid */
.details-leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 45px;
}

.details-leader-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px 22px;
  transition: all 0.3s ease;
}

.details-leader-card:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
  box-shadow: 0 10px 25px rgba(249, 115, 22, 0.15);
}

.leader-avatar-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #1e293b;
  border: 3px solid #f59e0b;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.leader-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
  margin: 0 0 4px;
}

.leader-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.badge-owner {
  background: rgba(245, 158, 11, 0.15);
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.badge-coach {
  background: rgba(14, 165, 233, 0.15);
  color: #0284c7;
  border: 1px solid rgba(14, 165, 233, 0.35);
}

.badge-captain {
  background: rgba(16, 185, 129, 0.15);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

/* Players Grid in Dedicated Page */
.details-players-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
}

.details-player-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 16px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-small);
}

.details-player-card:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.15);
}

.player-avatar-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #1e293b;
  border: 2.5px solid rgba(249, 115, 22, 0.65);
  box-shadow: 0 3px 10px rgba(249, 115, 22, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.player-card-details {
  flex: 1;
  min-width: 0;
}

.player-card-details h5 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--black);
  margin: 0 0 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-pos-text {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 500;
}

.player-jersey-tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--orange);
  background: var(--orange-soft);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(249, 115, 22, 0.3);
  margin-left: auto;
  flex-shrink: 0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .team-card-link {
    flex: 0 0 calc((100% - 36px) / 3);
    min-width: calc((100% - 36px) / 3);
    max-width: calc((100% - 36px) / 3);
  }
}

@media (max-width: 768px) {
  .team-card-link {
    flex: 0 0 calc((100% - 18px) / 2);
    min-width: calc((100% - 18px) / 2);
    max-width: calc((100% - 18px) / 2);
    height: 210px;
    padding: 14px 10px;
  }

  .team-card-link .team-crest-wrapper {
    width: 80px;
    height: 80px;
  }

  .team-card-link .team-card-title {
    font-size: 0.82rem;
    margin-top: 10px;
  }

  .team-main-profile-card {
    padding: 20px 16px;
  }

  .team-details-header-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 16px;
  }

  .details-leadership-grid {
    grid-template-columns: 1fr;
  }

  .details-players-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   INSTAGRAM LIVE FEED & SHOWCASE SECTION
========================================= */
.instagram-feed-section {
  padding: 85px 0 95px;
  background: #ffffff;
  position: relative;
}

.section-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 30px;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 auto 16px auto;
}

.instagram-showcase-container {
  max-width: 1140px;
  margin: 0 auto;
}

/* Profile Bar */
.insta-profile-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px 24px;
  margin-bottom: 28px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.insta-profile-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.insta-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.insta-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: contain;
  background: #ffffff;
  padding: 4px;
}

.insta-meta h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.verified-badge {
  color: #0284c7;
  font-size: 0.95rem;
}

.insta-handle {
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 600;
}

.insta-follow-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 18px rgba(220, 39, 67, 0.3);
}

.insta-follow-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 24px rgba(220, 39, 67, 0.45);
  color: #ffffff;
}

/* 6 Posts Grid (3x2) */
.insta-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.insta-post-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  display: block;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  aspect-ratio: 1 / 1;
  background: #0f172a;
}

.insta-post-img-wrap {
  width: 100%;
  height: 100%;
  position: relative;
}

.insta-post-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.insta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(2px);
}

.insta-overlay-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  transform: translateY(10px);
  transition: transform 0.3s ease;
}

.insta-overlay-stats span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.insta-corner-icon {
  position: absolute;
  top: 14px;
  right: 14px;
  color: #ffffff;
  font-size: 1.3rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.insta-post-card:hover img {
  transform: scale(1.08);
}

.insta-post-card:hover .insta-overlay {
  opacity: 1;
}

.insta-post-card:hover .insta-overlay-stats {
  transform: translateY(0);
}

@media (max-width: 992px) {
  .insta-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .insta-profile-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .insta-follow-btn {
    width: 100%;
    justify-content: center;
  }
  .insta-posts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* =========================================
   OFFICIAL PARTNERS & SPONSORS AUTO-SLIDER
========================================= */
.partners-section {
  padding: 85px 0 95px;
  background: #f8fafc;
  position: relative;
  overflow: hidden;
  border-top: 1px solid #e2e8f0;
}

.partners-marquee-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 15px 0 25px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}

.partners-marquee-track {
  display: flex;
  width: max-content;
  gap: 24px;
  animation: partnersMarqueeScroll 28s linear infinite;
  will-change: transform;
}

.partners-marquee-wrapper:hover .partners-marquee-track {
  animation-play-state: paused;
}

@keyframes partnersMarqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 12px));
  }
}

.partner-card {
  width: 240px;
  min-width: 240px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-sizing: border-box;
}

.partner-card:hover {
  transform: translateY(-8px);
  border-color: var(--orange);
  box-shadow: 0 12px 28px rgba(249, 115, 22, 0.18);
}

.partner-type {
  display: inline-block;
  background: rgba(249, 115, 22, 0.1);
  color: var(--orange-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.partner-logo-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.partner-icon {
  font-size: 2.2rem;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.partner-card:hover .partner-icon {
  transform: scale(1.18);
}

.partner-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.2px;
}

@media (max-width: 768px) {
  .partner-card {
    width: 200px;
    min-width: 200px;
    padding: 18px 14px 16px;
  }
  .partner-icon {
    font-size: 1.8rem;
  }
  .partner-name {
    font-size: 0.95rem;
  }
}

/* =========================================================
   PRESIDENT SECTION (SHARED HOME & ABOUT)
   ========================================================= */

@keyframes rotateShape {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.president-section {
  position: relative;
  padding: 95px 0;
  overflow: hidden;
  background:
    linear-gradient(
      135deg,
      rgba(244, 123, 32, 0.96),
      rgba(214, 85, 5, 0.96)
    ),
    url("../images/aboutus-banner.jpeg")
    center/cover no-repeat;
}

.president-section::before {
  content: "";
  position: absolute;
  width: 450px;
  height: 450px;
  border: 80px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  top: -230px;
  right: -150px;
}

.president-section::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border: 50px solid rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  bottom: -180px;
  left: -100px;
}

.president-card {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 270px 1fr;
  align-items: center;
  gap: 55px;
  padding: 55px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.20);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.president-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.25);
}

.president-img {
  position: relative;
  width: 260px;
  height: 310px;
  /* padding: 8px;
  background: linear-gradient(
    135deg,
    var(--orange, #f47b20),
    #ffb16e
  );
  border-radius: 20px;
  transform: none !important;
  transition: var(--transition);
  box-shadow: 0 10px 25px rgba(244, 123, 32, 0.25); */
  flex-shrink: 0;
}

.president-img:hover {
  transform: none !important;
}

.president-img::after {
  display: none !important;
}

.president-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 14px;
  display: block;
}

.president-quote {
  position: relative;
}

.president-quote::before {
  content: "\201C";
  position: absolute;
  left: -15px;
  top: -65px;
  font-size: 130px;
  line-height: 1;
  font-weight: 800;
  color: rgba(244, 123, 32, 0.12);
}

.president-quote blockquote {
  position: relative;
  z-index: 2;
  margin: 0 0 25px;
  color: #252525;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.8;
  font-weight: 500;
  font-style: italic;
}

.president-quote cite {
  display: block;
  color: var(--orange, #f47b20);
  font-size: 1.1rem;
  font-weight: 800;
  font-style: normal;
  margin-bottom: 5px;
}

.president-quote span {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #666666;
  letter-spacing: 0.5px;
}

@media (max-width: 992px) {
  .president-section {
    padding: 60px 0;
  }

  .president-card {
    grid-template-columns: 1fr !important;
    padding: 35px 25px;
    gap: 25px;
    text-align: center;
    border-radius: 20px;
  }

  .president-img {
    margin: 0 auto;
    width: 200px;
    height: 240px;
    transform: none !important;
  }

  .president-quote blockquote {
    font-size: 1.05rem;
    line-height: 1.65;
    margin-bottom: 16px;
  }
}

/* =========================================================
   ORGANIZATION & COLLABORATION SECTION (SHARED)
   ========================================================= */

.org-collaboration-section {
  padding: 85px 0 80px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  position: relative;
}

.org-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(244, 123, 32, 0.1);
  color: var(--orange-dark, #d95d0b);
  border: 1px solid rgba(244, 123, 32, 0.25);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.org-collaboration-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 35px;
  max-width: 980px;
  margin: 0 auto;
}

.org-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 38px 30px 34px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.org-card:hover {
  transform: translateY(-8px);
  border-color: var(--orange, #f47b20);
  box-shadow: 0 20px 45px rgba(244, 123, 32, 0.15);
}

.org-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 22px;
}

.org-card-badge.organized-by {
  background: rgba(244, 123, 32, 0.12);
  color: #c2410c;
  border: 1px solid rgba(244, 123, 32, 0.3);
}

.org-card-badge.collaboration-with {
  background: rgba(37, 99, 235, 0.1);
  color: #1d4ed8;
  border: 1px solid rgba(37, 99, 235, 0.25);
}

.org-logo-wrapper {
  width: 140px;
  height: 140px;
  background: #ffffff;
  border: 1px solid #edf2f7;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  margin-bottom: 24px;
  transition: transform 0.35s ease;
}

.org-card:hover .org-logo-wrapper {
  transform: scale(1.06);
  border-color: rgba(244, 123, 32, 0.3);
}

.org-logo-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.org-info h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
  line-height: 1.3;
}

.org-info p {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.65;
  margin: 0;
}

/* Partner Logo Box Image Support */
.partner-logo-box img {
  max-height: 52px;
  max-width: 150px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
  transition: all 0.3s ease;
}

.partner-card:hover .partner-logo-box img {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .org-collaboration-section {
    padding: 60px 0;
  }

  .org-collaboration-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .org-card {
    padding: 28px 20px;
  }

  .org-logo-wrapper {
    width: 120px;
    height: 120px;
  }

  .org-info h3 {
    font-size: 1.2rem;
  }
}
