/* ===========================
   COMPONENTS CSS – ParaVolley Egypt
   =========================== */

/* ==============================
   NAVBAR
   ============================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 12px 0;
  background: #ffffff !important;
  box-shadow: 0 2px 24px rgba(200, 16, 46, 0.1);
  border-bottom: 1px solid rgba(200, 16, 46, 0.06);
  transition: var(--trans-med);
}

.navbar.scrolled {
  background: #ffffff !important;
  box-shadow: 0 4px 28px rgba(200, 16, 46, 0.14);
  padding: 8px 0;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.navbar-logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--royal-blue), var(--royal-blue-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 16px rgba(200, 16, 46, 0.3);
  transition: var(--trans-med);
}

.navbar-logo:hover .navbar-logo-icon {
  transform: rotate(-5deg) scale(1.05);
}

.navbar-logo-text {
  display: flex;
  flex-direction: column;
}

.navbar-logo-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
}

.navbar-logo-sub {
  font-size: 11px;
  color: var(--royal-blue);
  font-weight: 500;
}

/* Nav Links */
.navbar-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.navbar-links a {
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  transition: var(--trans-fast);
  white-space: nowrap;
  position: relative;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  right: 50%;
  height: 2px;
  background: var(--royal-blue);
  border-radius: 1px;
  transition: var(--trans-fast);
}

.navbar-links a:hover::after,
.navbar-links a.active::after {
  left: 14px;
  right: 14px;
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--royal-blue);
  background: rgba(200, 16, 46, 0.06);
}

/* Nav Actions */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-sponsors {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-sponsors.desktop-only {
  margin-inline-end: 10px;
}

.header-sponsors img {
  height: 48px;
  width: auto;
  border-radius: 6px;
  background: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.header-sponsors img:hover {
  transform: scale(1.05);
}

.mobile-only {
  display: none !important;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }
  .mobile-only {
    display: flex !important;
  }
  .header-sponsors.mobile-only img {
    height: 36px; /* slightly smaller on mobile to save space */
  }
}

/* Language Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 2px solid var(--royal-blue);
  color: var(--royal-blue);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--trans-fast);
  background: transparent;
  font-family: inherit;
}

.lang-toggle:hover {
  background: var(--royal-blue);
  color: var(--white);
}

/* Hamburger */
.navbar-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: var(--trans-fast);
}

.navbar-hamburger:hover { background: rgba(0,87,184,0.06); }

.hamburger-line {
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--trans-med);
}

.navbar-hamburger.open .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar-hamburger.open .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.navbar-hamburger.open .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.navbar-mobile {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 24px;
  transform: translateY(-110%);
  transition: var(--trans-med);
  z-index: 999;
  box-shadow: 0 20px 40px rgba(0,87,184,0.12);
  border-bottom: 2px solid rgba(0,87,184,0.08);
}

.navbar-mobile.open {
  transform: translateY(0);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  list-style: none;
}

.mobile-nav-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  transition: var(--trans-fast);
}

.mobile-nav-links a:hover {
  background: rgba(0,87,184,0.06);
  color: var(--royal-blue);
}

.mobile-nav-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(0,87,184,0.08);
}

/* ==============================
   FOOTER
   ============================== */
.footer {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,87,184,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.footer::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212,175,55,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

/* footer brand column */

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--royal-blue), var(--royal-blue-light));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.footer-logo-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
}

.footer-brand-desc {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.6);
  max-width: 300px;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: var(--trans-fast);
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  fill: rgba(255,255,255,0.7);
}

.footer-social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: var(--trans-fast);
}

.footer-social-link:hover {
  background: var(--royal-blue);
  color: var(--white);
  fill: var(--white);
  transform: translateY(-2px);
}

.footer-col-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 32px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

body.lang-en .footer-col-title::after {
  right: auto;
  left: 0;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--trans-fast);
}

.footer-links a:hover {
  color: var(--gold);
  transform: translateX(-4px);
}

body.lang-en .footer-links a:hover {
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
}

.footer-contact-icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  position: relative;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.4);
  transition: var(--trans-fast);
}

.footer-bottom-links a:hover { color: var(--gold); }

/* ==============================
   STATS / COUNTER CARDS
   ============================== */
.stats-section {
  background: linear-gradient(135deg, var(--royal-blue) 0%, var(--royal-blue-dark) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.stat-card {
  text-align: center;
  padding: 40px 24px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  transition: var(--trans-med);
}

.stat-card:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-4px);
}

.stat-icon {
  font-size: 40px;
  margin-bottom: 16px;
  display: block;
}

.stat-number {
  font-size: 56px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}

.stat-suffix {
  font-size: 32px;
  font-weight: 900;
  color: var(--gold);
}

.stat-label {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}

.stat-sublabel {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin-top: 4px;
}

/* ==============================
   HIGHLIGHT STRIP
   ============================== */
.highlight-strip {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  padding: 20px 0;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.ticker-wrapper {
  display: flex;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.highlight-ticker {
  display: flex;
  align-items: center;
  gap: 32px;
  animation: ticker 25s linear infinite;
  white-space: nowrap;
  width: max-content;
  flex-shrink: 0;
  will-change: transform;
}

/* RTL direction fix - Arabic default */
html[dir="rtl"] .highlight-ticker,
body[dir="rtl"] .highlight-ticker,
[dir="rtl"] .highlight-ticker {
  animation: tickerRTL 25s linear infinite;
}

.highlight-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  white-space: nowrap;
}

.highlight-ticker-sep {
  color: var(--dark);
  opacity: 0.4;
  font-size: 18px;
  flex-shrink: 0;
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes tickerRTL {
  0%   { transform: translateX(0); }
  100% { transform: translateX(50%); }
}

@media (max-width: 768px) {
  .highlight-ticker {
    gap: 24px;
    animation-duration: 18s;
  }
  .highlight-ticker-item { font-size: 13px; }
  .highlight-ticker-sep  { font-size: 15px; }
  .highlight-strip       { padding: 16px 0; }
}

@media (max-width: 480px) {
  .highlight-ticker {
    gap: 16px;
    animation-duration: 14s;
  }
  .highlight-ticker-item { font-size: 12px; }
}

/* ==============================
   ACHIEVEMENT TIMELINE
   ============================== */
.timeline {
  position: relative;
  padding: 40px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 50%;
  width: 2px;
  background: linear-gradient(180deg, var(--royal-blue), var(--gold));
  transform: translateX(50%);
}

body.lang-en .timeline::before {
  right: auto;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 0;
  margin-bottom: 60px;
  align-items: center;
}

.timeline-content {
  padding: 32px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: var(--trans-med);
}

.timeline-content:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.timeline-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.timeline-dot-inner {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--royal-blue), var(--gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 0 0 6px rgba(0,87,184,0.15), var(--shadow-gold);
  z-index: 1;
}

.timeline-year {
  font-size: 13px;
  font-weight: 700;
  color: var(--royal-blue);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.timeline-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.timeline-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* alt items */
.timeline-item.alt .timeline-content:first-child { grid-column: 3; }
.timeline-item.alt .timeline-dot { grid-column: 2; grid-row: 1; }
.timeline-item.alt .timeline-content:last-child { grid-column: 1; grid-row: 1; }

/* ==============================
   BOARD MEMBER CARDS
   ============================== */
.board-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--trans-med);
  perspective: 1000px;
}

.board-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.board-card-img-wrap {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
}

.board-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.board-card:hover .board-card-img-wrap img {
  transform: scale(1.05);
}

.board-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,87,184,0.85) 100%);
  opacity: 0;
  transition: var(--trans-med);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.board-card:hover .board-card-overlay { opacity: 1; }

.board-card-overlay-text {
  color: white;
  font-size: 14px;
  transform: translateY(10px);
  transition: var(--trans-med);
}

.board-card:hover .board-card-overlay-text { transform: translateY(0); }

.board-card-body {
  padding: 20px;
  text-align: center;
}

.board-card-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.board-card-role {
  font-size: 13px;
  color: var(--royal-blue);
  font-weight: 500;
}

/* ==============================
   STRATEGY CARDS
   ============================== */
.strategy-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-md);
  transition: var(--trans-med);
  position: relative;
  overflow: hidden;
}

.strategy-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, rgba(0,87,184,0.06), transparent);
  border-radius: 0 var(--radius-lg) 0 120px;
  transition: var(--trans-med);
}

body.lang-en .strategy-card::before {
  right: auto;
  left: 0;
  border-radius: var(--radius-lg) 0 120px 0;
}

.strategy-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0,87,184,0.25);
}

.strategy-card:hover::before {
  width: 160px;
  height: 160px;
  background: linear-gradient(135deg, rgba(0,87,184,0.1), transparent);
}

.strategy-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--royal-blue), var(--royal-blue-light));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(0,87,184,0.25);
  transition: var(--trans-med);
}

.strategy-card:hover .strategy-icon {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 12px 32px rgba(0,87,184,0.35);
}

.strategy-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.strategy-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==============================
   SPONSORSHIP CARDS
   ============================== */
.sponsor-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--trans-med);
  position: relative;
  border-top: 4px solid var(--royal-blue);
}

.sponsor-card.featured {
  border-top-color: var(--gold);
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}

.sponsor-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--shadow-lg);
}

.sponsor-card.featured:hover {
  transform: translateY(-8px) scale(1.04);
}

.sponsor-badge-top {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gold);
  color: var(--dark);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

body.lang-en .sponsor-badge-top { right: auto; left: 16px; }

.sponsor-card-header {
  padding: 40px 32px 32px;
  text-align: center;
  background: linear-gradient(135deg, rgba(0,87,184,0.04), transparent);
}

.sponsor-tier {
  font-size: 13px;
  font-weight: 700;
  color: var(--royal-blue);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.sponsor-name {
  font-size: 28px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}

.sponsor-tagline {
  font-size: 14px;
  color: var(--text-muted);
}

.sponsor-card-body {
  padding: 0 32px 40px;
}

.sponsor-benefits {
  list-style: none;
  margin-bottom: 32px;
}

.sponsor-benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,87,184,0.06);
  font-size: 15px;
  color: var(--text-body);
}

.sponsor-benefit-item:last-child { border-bottom: none; }

.benefit-check {
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, var(--royal-blue), var(--royal-blue-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 12px;
  color: white;
}

/* ==============================
   NEWS CARDS
   ============================== */
.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--trans-med);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.news-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-card-img { transform: scale(1.05); }

.news-card-img-wrap {
  overflow: hidden;
  position: relative;
}

.news-card-category {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--royal-blue);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

body.lang-en .news-card-category { right: auto; left: 12px; }

.news-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card-date {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.news-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.4;
  flex: 1;
}

.news-card-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.news-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--royal-blue);
  transition: var(--trans-fast);
}

.news-card-link:hover { gap: 10px; }

/* ==============================
   CONTACT FORM
   ============================== */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
}

.form-input,
.form-select,
.form-textarea {
  padding: 14px 18px;
  border: 2px solid rgba(0,87,184,0.12);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-family: inherit;
  color: var(--dark);
  background: var(--white);
  transition: var(--trans-fast);
  outline: none;
  width: 100%;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--royal-blue);
  box-shadow: 0 0 0 4px rgba(0,87,184,0.08);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ==============================
   DASHBOARD / STATS CHARTS
   ============================== */
.dashboard-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  transition: var(--trans-med);
}

.dashboard-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.dashboard-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Progress bar */
.progress-bar-wrap {
  margin-bottom: 20px;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text-body);
  font-weight: 500;
}

.progress-value {
  font-weight: 700;
  color: var(--royal-blue);
}

.progress-track {
  height: 10px;
  background: rgba(0,87,184,0.1);
  border-radius: 5px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--royal-blue), var(--royal-blue-light));
  border-radius: 5px;
  width: 0%;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-fill.gold {
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
}

/* ==============================
   MAP
   ============================== */
.map-section {
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--glass-border);
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ==============================
   MEDAL GLOW
   ============================== */
.medal-glow {
  position: relative;
  display: inline-block;
}

.medal-glow::before {
  content: '';
  position: absolute;
  inset: -8px;
  background: radial-gradient(circle, rgba(212,175,55,0.5) 0%, transparent 70%);
  border-radius: 50%;
  animation: medalPulse 2.5s ease-in-out infinite;
  z-index: -1;
}

@keyframes medalPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.2); opacity: 0.3; }
}

/* ==============================
   QUICK NAV CARDS
   ============================== */
.quick-nav-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 24px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  text-align: center;
  transition: var(--trans-med);
  box-shadow: var(--shadow-sm);
}

.quick-nav-card:hover {
  background: var(--white);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0,87,184,0.25);
}

.quick-nav-icon {
  font-size: 40px;
  margin-bottom: 16px;
  transition: var(--trans-med);
}

.quick-nav-card:hover .quick-nav-icon {
  transform: scale(1.15);
}

.quick-nav-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.quick-nav-desc {
  font-size: 13px;
  color: var(--text-muted);
}

/* ==============================
   RESPONSIVE: COMPONENTS
   ============================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .navbar-links { display: none; }
  .navbar-hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .timeline::before { right: 28px; }
  body.lang-en .timeline::before { left: 28px; right: auto; }
  .timeline-item { grid-template-columns: 56px 1fr; }
  .timeline-item.alt { grid-template-columns: 56px 1fr; }
  .timeline-dot { grid-column: 1; grid-row: 1; }
  .timeline-content { grid-column: 2; grid-row: 1; padding: 20px; }
  .timeline-item.alt .timeline-content:first-child { grid-column: 2; grid-row: 1; }
  .timeline-item.alt .timeline-content:last-child { display: none; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-number { font-size: 44px; }
  .navbar-logo-text { display: none; }
}

/* ==============================
   DROPDOWN MENUS
   ============================== */
.has-dropdown {
  position: relative;
}

.dropdown-arrow {
  font-size: 10px;
  margin-left: 6px;
  opacity: 0.7;
}

html[dir="rtl"] .dropdown-arrow,
body[dir="rtl"] .dropdown-arrow,
[dir="rtl"] .dropdown-arrow {
  margin-left: 0;
  margin-right: 6px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #ffffff;
  min-width: 200px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border-radius: var(--radius-md);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  list-style: none;
  z-index: 1001;
  border: 1px solid rgba(0,87,184,0.08);
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
  padding: 0;
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--dark);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.dropdown-menu a::after {
  display: none !important; /* Override underline effect */
}

.dropdown-menu a:hover {
  background: rgba(0,87,184,0.05);
  color: var(--royal-blue);
}

/* Mobile Dropdown Menu */
.mobile-has-dropdown {
  flex-direction: column !important;
  align-items: stretch !important;
}

.mobile-dropdown-arrow {
  font-size: 12px;
  margin-left: auto; /* Pushes arrow to the right edge */
  opacity: 0.6;
}

html[dir="rtl"] .mobile-dropdown-arrow,
body[dir="rtl"] .mobile-dropdown-arrow,
[dir="rtl"] .mobile-dropdown-arrow {
  margin-left: 0;
  margin-right: auto;
}

.mobile-dropdown-menu {
  list-style: none;
  padding-inline-start: 32px;
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-dropdown-menu a {
  font-size: 15px !important;
  padding: 10px 16px !important;
  color: var(--dark) !important;
}

.mobile-dropdown-menu a:hover {
  background: transparent !important;
}

