/* ============================================================
   الاتحاد العام لنقابات العاملين بالمهن الرياضية في العراق
   Main Stylesheet - RTL Arabic Design
   ============================================================ */

/* ---- Google Fonts & Variables ---- */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&family=Tajawal:wght@300;400;500;700;800&display=swap');

:root {
  /* Primary Colors - Iraqi flag inspired */
  --primary:       #b00000;   /* deep red */
  --primary-dark:  #800000;
  --primary-light: #e63333;
  --secondary:     #1a5c2a;   /* deep green */
  --secondary-light: #228b3a;
  --accent:        #c8a020;   /* gold */
  --accent-light:  #f0c040;
  --dark:          #111827;
  --dark-2:        #1f2937;
  --dark-3:        #374151;
  --mid:           #6b7280;
  --light:         #f3f4f6;
  --white:         #ffffff;
  --border:        #e5e7eb;

  /* Typography */
  --font-main: 'Cairo', 'Tajawal', sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 4px rgba(0,0,0,.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.18);

  /* Transitions */
  --trans: .3s ease;
}

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

html {
  direction: rtl;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: color var(--trans); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-pad { padding: 80px 0; }
.section-pad-sm { padding: 50px 0; }

/* ---- Top Bar ---- */
.top-bar {
  background: var(--dark);
  color: #d1d5db;
  font-size: .82rem;
  padding: 7px 0;
  border-bottom: 2px solid var(--primary);
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.top-bar-right { display: flex; align-items: center; gap: 16px; }
.top-bar-left { display: flex; align-items: center; gap: 14px; }
.top-bar a { color: #d1d5db; }
.top-bar a:hover { color: var(--accent); }
.top-bar .social-icons { display: flex; gap: 10px; }
.top-bar .social-icons a {
  width: 28px; height: 28px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem;
  transition: background var(--trans);
}
.top-bar .social-icons a:hover { background: var(--primary); color: #fff; }

/* ---- Header / Navbar ---- */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 20px;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.navbar-brand img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 50%;
  border: 3px solid var(--primary);
  box-shadow: 0 0 0 3px var(--accent);
}
.brand-text h1 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.3;
  max-width: 280px;
}
.brand-text span {
  font-size: .75rem;
  color: var(--mid);
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-menu a {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--dark-3);
  position: relative;
  transition: all var(--trans);
}
.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
  background: rgba(176,0,0,.06);
}
.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: 2px; right: 16px; left: 16px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.nav-cta {
  background: var(--primary) !important;
  color: var(--white) !important;
  padding: 9px 20px !important;
  border-radius: 8px !important;
}
.nav-cta:hover { background: var(--primary-dark) !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px; height: 2.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--trans);
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 50%, #1a1a2e 100%);
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(176,0,0,.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(26,92,42,.15) 0%, transparent 45%),
    radial-gradient(circle at 60% 80%, rgba(200,160,32,.08) 0%, transparent 40%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}
.hero-text { color: var(--white); }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,160,32,.15);
  border: 1px solid rgba(200,160,32,.4);
  color: var(--accent-light);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero-badge i { font-size: .9rem; }
.hero-title {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 20px;
  color: var(--white);
}
.hero-title span { color: var(--accent-light); }
.hero-subtitle {
  font-size: 1.05rem;
  color: #9ca3af;
  margin-bottom: 36px;
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  background: var(--primary);
  color: var(--white);
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: .95rem;
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: all var(--trans);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline-light {
  background: transparent;
  color: var(--white);
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: .95rem;
  border: 2px solid rgba(255,255,255,.3);
  cursor: pointer;
  transition: all var(--trans);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); }

.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.hero-stat {
  text-align: center;
}
.hero-stat .num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent-light);
  line-height: 1;
}
.hero-stat .lbl {
  font-size: .75rem;
  color: #9ca3af;
  margin-top: 4px;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero-logo-wrap {
  position: relative;
  width: 340px;
  height: 340px;
}
.hero-logo-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(176,0,0,.12) 0%, rgba(26,92,42,.1) 100%);
  border: 2px solid rgba(200,160,32,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse-ring 3s ease-in-out infinite;
  box-shadow: 0 0 60px rgba(176,0,0,.15), 0 0 100px rgba(26,92,42,.1);
}
.hero-logo-circle img {
  width: 240px;
  height: 240px;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,.5));
}
.hero-ring {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 1px solid rgba(200,160,32,.15);
  animation: spin-slow 20s linear infinite;
}
.hero-ring-2 {
  position: absolute;
  inset: -40px;
  border-radius: 50%;
  border: 1px dashed rgba(176,0,0,.12);
  animation: spin-slow 30s linear infinite reverse;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes pulse-ring {
  0%, 100% { box-shadow: 0 0 60px rgba(176,0,0,.15), 0 0 100px rgba(26,92,42,.1); }
  50% { box-shadow: 0 0 80px rgba(176,0,0,.25), 0 0 140px rgba(26,92,42,.15); }
}

.hero-floating-cards {
  position: absolute;
}
.floating-card {
  position: absolute;
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 10px 14px;
  color: var(--white);
  font-size: .78rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  animation: float 4s ease-in-out infinite;
}
.floating-card i { color: var(--accent-light); font-size: .9rem; }
.floating-card:nth-child(1) { top: -40px; right: -20px; animation-delay: 0s; }
.floating-card:nth-child(2) { bottom: -20px; left: -40px; animation-delay: 1s; }
.floating-card:nth-child(3) { top: 50%; right: -80px; transform: translateY(-50%); animation-delay: .5s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.floating-card:nth-child(3) { animation: float3 4s ease-in-out infinite .5s; }
@keyframes float3 {
  0%, 100% { transform: translateY(-50%); }
  50% { transform: translateY(calc(-50% - 10px)); }
}

/* ---- Divider Ribbon ---- */
.ribbon-divider {
  background: var(--primary);
  padding: 18px 0;
  overflow: hidden;
}
.ribbon-track {
  display: flex;
  gap: 40px;
  animation: marquee 20s linear infinite;
  white-space: nowrap;
}
.ribbon-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 700;
  font-size: .9rem;
  flex-shrink: 0;
}
.ribbon-item i { color: var(--accent-light); }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- Section Headers ---- */
.section-header { text-align: center; margin-bottom: 54px; }
.section-tag {
  display: inline-block;
  background: rgba(176,0,0,.08);
  color: var(--primary);
  padding: 5px 16px;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .05em;
  margin-bottom: 14px;
  border: 1px solid rgba(176,0,0,.15);
}
.section-title {
  font-size: 2rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 14px;
  line-height: 1.3;
}
.section-title span { color: var(--primary); }
.section-desc {
  font-size: 1rem;
  color: var(--mid);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.8;
}
.title-line {
  width: 60px;
  height: 4px;
  background: linear-gradient(to left, var(--primary), var(--accent));
  border-radius: 2px;
  margin: 14px auto 0;
}

/* ---- About Section ---- */
.about-section { background: var(--light); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-image-wrap { position: relative; }
.about-img-frame {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 30px;
}
.about-badge-float {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--primary);
  color: var(--white);
  padding: 16px 22px;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.about-badge-float .num { font-size: 2rem; font-weight: 900; line-height: 1; }
.about-badge-float .txt { font-size: .75rem; margin-top: 4px; }
.about-content { }
.about-content .section-header { text-align: right; margin-bottom: 28px; }
.about-content .title-line { margin: 14px 0 0; }
.about-text { color: var(--mid); line-height: 1.9; margin-bottom: 24px; }
.about-points { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.about-point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--white);
  padding: 12px 16px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  border-right: 3px solid var(--primary);
}
.about-point i { color: var(--primary); font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }
.about-point p { font-size: .9rem; font-weight: 600; color: var(--dark-3); }

/* ---- Unions Grid ---- */
.unions-section { background: var(--white); }
.unions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.union-card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px 22px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all var(--trans);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.union-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0; left: 0;
  height: 4px;
  background: linear-gradient(to left, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform var(--trans);
}
.union-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.union-card:hover::before { transform: scaleX(1); }
.union-icon {
  width: 68px;
  height: 68px;
  background: linear-gradient(135deg, rgba(176,0,0,.08) 0%, rgba(200,160,32,.08) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.6rem;
  color: var(--primary);
  border: 2px solid rgba(176,0,0,.12);
  transition: all var(--trans);
}
.union-card:hover .union-icon {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: scale(1.1);
}
.union-card h3 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.4;
}
.union-card p { font-size: .82rem; color: var(--mid); line-height: 1.7; }
.union-num {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 28px;
  height: 28px;
  background: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  color: var(--primary);
}

/* ---- Stats Section ---- */
.stats-section {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(176,0,0,.12) 0%, transparent 70%);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 1;
}
.stat-card {
  text-align: center;
  padding: 30px 20px;
  border-radius: 16px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  transition: all var(--trans);
}
.stat-card:hover { background: rgba(255,255,255,.07); transform: translateY(-4px); }
.stat-icon {
  width: 56px;
  height: 56px;
  background: rgba(176,0,0,.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.4rem;
  color: var(--accent-light);
}
.stat-num {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-num span { color: var(--accent-light); }
.stat-label { font-size: .85rem; color: #9ca3af; }

/* ---- News Section ---- */
.news-section { background: var(--light); }
.news-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}
.news-card-main {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--trans);
}
.news-card-main:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.news-img-wrap {
  position: relative;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  overflow: hidden;
}
.news-img-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .6;
  transition: transform var(--trans);
}
.news-card-main:hover .news-img-bg { transform: scale(1.05); }
.news-cat-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--primary);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
}
.news-img-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,.8) 0%, transparent 100%);
}
.news-img-overlay h3 {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
}
.news-body { padding: 20px; }
.news-meta { display: flex; align-items: center; gap: 16px; color: var(--mid); font-size: .8rem; margin-bottom: 10px; }
.news-meta i { color: var(--primary); }
.news-excerpt { font-size: .88rem; color: var(--mid); line-height: 1.8; }
.news-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 700;
  font-size: .85rem;
  margin-top: 12px;
}
.news-read-more:hover { gap: 10px; }

.news-list { display: flex; flex-direction: column; gap: 16px; }
.news-item {
  background: var(--white);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: all var(--trans);
  border-right: 4px solid transparent;
}
.news-item:hover { border-right-color: var(--primary); box-shadow: var(--shadow-md); transform: translateX(-4px); }
.news-item-icon {
  width: 44px;
  height: 44px;
  background: rgba(176,0,0,.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.news-item-body h4 { font-size: .88rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; line-height: 1.4; }
.news-item-body span { font-size: .75rem; color: var(--mid); }

.news-footer { text-align: center; margin-top: 36px; }

/* ---- Services / Objectives Section ---- */
.objectives-section { background: var(--white); }
.objectives-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.obj-card {
  padding: 30px 24px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  transition: all var(--trans);
}
.obj-card:hover { border-color: var(--primary); box-shadow: 0 8px 30px rgba(176,0,0,.1); transform: translateY(-4px); }
.obj-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.obj-icon.red { background: rgba(176,0,0,.1); color: var(--primary); }
.obj-icon.green { background: rgba(26,92,42,.1); color: var(--secondary); }
.obj-icon.gold { background: rgba(200,160,32,.1); color: var(--accent); }
.obj-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.obj-card p { font-size: .86rem; color: var(--mid); line-height: 1.8; }

/* ---- Leadership Section ---- */
.leadership-section { background: var(--light); }
.leaders-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.leader-card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--trans);
}
.leader-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.leader-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
  font-weight: 700;
  border: 3px solid var(--white);
  box-shadow: 0 4px 16px rgba(176,0,0,.25);
}
.leader-card h3 { font-size: .95rem; font-weight: 700; margin-bottom: 6px; }
.leader-card .role {
  font-size: .78rem;
  color: var(--primary);
  font-weight: 600;
  background: rgba(176,0,0,.08);
  padding: 3px 12px;
  border-radius: 50px;
  display: inline-block;
}

/* ---- Gallery Section ---- */
.gallery-section { background: var(--white); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  position: relative;
  cursor: pointer;
}
.gallery-item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.4);
  gap: 8px;
  font-size: .8rem;
  min-height: 200px;
}
.gallery-placeholder i { font-size: 2rem; }
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(176,0,0,.0);
  transition: background var(--trans);
}
.gallery-item:hover::after { background: rgba(176,0,0,.3); }

/* ---- CTA Section ---- */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}
.cta-content { position: relative; z-index: 1; }
.cta-content h2 { color: var(--white); font-size: 2.2rem; font-weight: 900; margin-bottom: 16px; }
.cta-content p { color: rgba(255,255,255,.85); font-size: 1rem; margin-bottom: 32px; max-width: 500px; margin-inline: auto; }
.btn-white {
  background: var(--white);
  color: var(--primary);
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: .95rem;
  border: 2px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--trans);
  cursor: pointer;
}
.btn-white:hover { background: transparent; color: var(--white); border-color: var(--white); }

/* ---- Footer ---- */
.site-footer {
  background: var(--dark);
  color: #9ca3af;
  padding-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand { }
.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.footer-logo-wrap img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid var(--primary);
}
.footer-brand-name {
  font-size: .88rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
}
.footer-desc { font-size: .84rem; line-height: 1.8; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.06);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  transition: all var(--trans);
}
.footer-social a:hover { background: var(--primary); color: var(--white); }

.footer-col h4 {
  font-size: .9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: .84rem; transition: all var(--trans); display: flex; align-items: center; gap: 6px; }
.footer-links a::before { content: '›'; color: var(--primary); font-size: 1.1rem; }
.footer-links a:hover { color: var(--white); padding-right: 4px; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: .84rem;
}
.footer-contact-item i { color: var(--primary); margin-top: 3px; flex-shrink: 0; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: .8rem;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a { color: var(--accent-light); }

/* ---- Breadcrumb ---- */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  padding: 60px 0 50px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at right, rgba(176,0,0,.2) 0%, transparent 60%);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); font-size: 2rem; font-weight: 900; margin-bottom: 12px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: #9ca3af; }
.breadcrumb a { color: var(--accent-light); }
.breadcrumb i { font-size: .7rem; }

/* ---- Scroll To Top ---- */
.scroll-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: all var(--trans);
  z-index: 999;
  border: none;
}
.scroll-top.show { opacity: 1; pointer-events: auto; }
.scroll-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ---- Utility ---- */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: 16px; }
.btn-secondary {
  background: var(--secondary);
  color: var(--white);
  padding: 11px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: .9rem;
  border: 2px solid var(--secondary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--trans);
  cursor: pointer;
}
.btn-secondary:hover { background: transparent; color: var(--secondary); }

/* ---- Form Styles ---- */
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: .88rem;
  font-weight: 700;
  color: var(--dark-3);
  margin-bottom: 6px;
}
.form-group label .req { color: var(--primary); }
.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-main);
  font-size: .9rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--trans), box-shadow var(--trans);
  outline: none;
  direction: rtl;
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(176,0,0,.1);
}
.form-control::placeholder { color: #9ca3af; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ---- Values Grid ---- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.value-card {
  background: var(--white);
  border-radius: 14px;
  padding: 26px 18px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all var(--trans);
}
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.value-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(200,160,32,.1) 0%, rgba(176,0,0,.08) 100%);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--accent);
  margin: 0 auto 14px;
  border: 1px solid rgba(200,160,32,.2);
}
.value-card h3 { font-size: .9rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.value-card p { font-size: .78rem; color: var(--mid); line-height: 1.7; }

/* ---- Page Hero (inner pages) ---- */
.page-hero { background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%); padding: 60px 0 50px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at right, rgba(176,0,0,.2) 0%, transparent 60%); }
.page-hero::after { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); font-size: 2rem; font-weight: 900; margin-bottom: 12px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: #9ca3af; }
.breadcrumb a { color: var(--accent-light); }
.breadcrumb i { font-size: .7rem; }
.page-hero-icon {
  position: absolute;
  top: 50%; left: 60px;
  transform: translateY(-50%);
  font-size: 8rem;
  color: rgba(255,255,255,.04);
  z-index: 0;
}

/* ---- Sidebar / Widgets ---- */
.sidebar-widget {
  background: var(--white);
  border-radius: 14px;
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.sidebar-widget h4 {
  font-size: .92rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-widget h4 i { color: var(--primary); }
.widget-list { display: flex; flex-direction: column; gap: 10px; }
.widget-list li a {
  font-size: .84rem;
  color: var(--dark-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed var(--border);
  transition: color var(--trans);
}
.widget-list li a:hover { color: var(--primary); }
.widget-list li a span { background: rgba(176,0,0,.08); color: var(--primary); font-size: .75rem; font-weight: 700; padding: 2px 8px; border-radius: 50px; }

/* ---- News Card (full page) ---- */
.news-card-full {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 0;
  transition: all var(--trans);
  margin-bottom: 20px;
}
.news-card-full:hover { box-shadow: var(--shadow-md); transform: translateX(-4px); }
.news-card-full .news-card-img {
  width: 220px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.news-card-full .news-card-img img { width: 100%; height: 100%; object-fit: cover; }
.news-card-full .news-card-img .news-placeholder-icon {
  font-size: 2.5rem;
  color: rgba(255,255,255,.15);
}
.news-card-full .news-card-body { padding: 20px 24px; flex: 1; display: flex; flex-direction: column; }
.news-card-full .news-cat { display: inline-block; background: rgba(176,0,0,.08); color: var(--primary); font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 50px; margin-bottom: 10px; }
.news-card-full h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; line-height: 1.5; }
.news-card-full p { font-size: .84rem; color: var(--mid); line-height: 1.8; flex: 1; }
.news-card-full .news-footer-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; font-size: .78rem; color: var(--mid); }
.news-card-full .news-footer-meta a { color: var(--primary); font-weight: 700; }

/* ---- Contact Info Cards ---- */
.contact-info-card {
  background: var(--white);
  border-radius: 14px;
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all var(--trans);
}
.contact-info-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.contact-info-card .icon-wrap {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(176,0,0,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--primary);
  flex-shrink: 0;
}
.contact-info-card h4 { font-size: .9rem; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.contact-info-card p { font-size: .84rem; color: var(--mid); line-height: 1.7; }

/* ---- Tabs ---- */
.tabs-header {
  display: flex;
  gap: 8px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 10px 20px;
  font-family: var(--font-main);
  font-size: .88rem;
  font-weight: 700;
  color: var(--mid);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: all var(--trans);
  border-radius: 4px 4px 0 0;
}
.tab-btn:hover { color: var(--primary); background: rgba(176,0,0,.04); }
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); background: rgba(176,0,0,.04); }

/* ---- Accordion FAQ ---- */
.faq-item { border-radius: 10px; border: 1px solid var(--border); overflow: hidden; margin-bottom: 10px; }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--white);
  border: none;
  font-family: var(--font-main);
  font-size: .92rem;
  font-weight: 700;
  color: var(--dark);
  text-align: right;
  cursor: pointer;
  gap: 10px;
  transition: background var(--trans);
}
.faq-question:hover { background: rgba(176,0,0,.04); }
.faq-question i { color: var(--primary); font-size: .85rem; transition: transform var(--trans); }
.faq-item.open .faq-question i { transform: rotate(45deg); }
.faq-answer { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .3s ease; font-size: .88rem; color: var(--mid); line-height: 1.9; }
.faq-item.open .faq-answer { max-height: 500px; padding: 0 20px 16px; }

/* ---- Membership Steps ---- */
.membership-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.membership-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  right: 60px;
  left: 60px;
  height: 2px;
  background: linear-gradient(to left, var(--primary), var(--accent));
  z-index: 0;
}
.mem-step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.mem-step .step-num {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--primary);
  margin: 0 auto 14px;
  box-shadow: var(--shadow-sm);
}
.mem-step h4 { font-size: .9rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.mem-step p { font-size: .78rem; color: var(--mid); line-height: 1.6; }

/* ---- Alert Notification ---- */
.site-notification {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: .88rem;
  margin-bottom: 20px;
}
.site-notification.info { background: rgba(59,130,246,.08); border: 1px solid rgba(59,130,246,.2); color: #1d4ed8; }
.site-notification.success { background: rgba(26,92,42,.08); border: 1px solid rgba(26,92,42,.2); color: var(--secondary); }
.site-notification.warning { background: rgba(200,160,32,.08); border: 1px solid rgba(200,160,32,.2); color: #92400e; }
.site-notification i { font-size: 1.1rem; flex-shrink: 0; }

/* ---- Pagination ---- */
.pagination {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  margin-top: 36px;
}
.page-link {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .88rem;
  font-weight: 700;
  color: var(--dark-3);
  border: 1.5px solid var(--border);
  transition: all var(--trans);
  cursor: pointer;
}
.page-link:hover, .page-link.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* ---- Image Lightbox ---- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.lightbox.active { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 80vh; border-radius: 8px; box-shadow: var(--shadow-lg); }
.lightbox-close {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255,255,255,.1);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  border: none;
  transition: background var(--trans);
}
.lightbox-close:hover { background: var(--primary); }
.lightbox-caption {
  color: rgba(255,255,255,.7);
  font-size: .88rem;
  margin-top: 16px;
  font-family: var(--font-main);
}

/* ---- Counter Banner ---- */
.counter-banner {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 60%, rgba(176,0,0,.2) 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.counter-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(200,160,32,.06) 0%, transparent 60%);
}
.counters-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 1;
}
.counter-item {
  text-align: center;
  padding: 20px;
  border-right: 1px solid rgba(255,255,255,.06);
}
.counter-item:last-child { border-right: none; }
.counter-item .big-num {
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent-light);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.counter-item .c-label {
  font-size: .88rem;
  color: #9ca3af;
  font-weight: 600;
}
.counter-item .c-icon {
  font-size: 1.6rem;
  color: rgba(255,255,255,.1);
  margin-bottom: 12px;
  display: block;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .unions-grid { grid-template-columns: repeat(3, 1fr); }
  .leaders-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { order: -1; }
  .hero-logo-wrap { width: 240px; height: 240px; }
  .hero-logo-circle img { width: 170px; height: 170px; }
  .floating-card { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .objectives-grid { grid-template-columns: 1fr 1fr; }
  .unions-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .membership-steps { grid-template-columns: repeat(2, 1fr); }
  .membership-steps::before { display: none; }
  .counters-row { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .news-card-full { flex-direction: column; }
  .news-card-full .news-card-img { width: 100%; height: 160px; }
}

@media (max-width: 768px) {
  .hero-title { font-size: 1.8rem; }
  .section-title { font-size: 1.5rem; }
  .hamburger { display: flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0; left: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px;
    box-shadow: var(--shadow-lg);
    gap: 4px;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 10px 14px; width: 100%; }
  .top-bar { display: none; }
  .brand-text h1 { font-size: .85rem; }
  .navbar-brand img { width: 54px; height: 54px; }
}

@media (max-width: 580px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .unions-grid { grid-template-columns: 1fr; }
  .objectives-grid { grid-template-columns: 1fr; }
  .leaders-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:first-child { grid-column: span 2; }
  .hero-stats { justify-content: center; }
  .hero-actions { justify-content: center; }
  .cta-content h2 { font-size: 1.5rem; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .membership-steps { grid-template-columns: 1fr; }
  .counters-row { grid-template-columns: 1fr 1fr; }
  .counter-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.06); }
  .counter-item:last-child { border-bottom: none; }
  .page-hero h1 { font-size: 1.5rem; }
  .tabs-header { gap: 4px; }
  .tab-btn { padding: 8px 12px; font-size: .8rem; }
}
