/* ============================================================
   ROSCO — Official Identity Transition
   Style Sheet | style.css
   Version: 1.0 | 2025
   Designer: Professional UI/UX
============================================================ */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  --gold:        #C9A227;
  --gold-light:  #e8c44a;
  --gold-dark:   #a07d18;
  --navy:        #1F2E5A;
  --navy-dark:   #141e3c;
  --navy-light:  #2a3d7a;
  --white:       #ffffff;
  --gray-50:     #f9f9f9;
  --gray-100:    #f3f4f6;
  --gray-200:    #e5e7eb;
  --gray-400:    #9ca3af;
  --gray-600:    #6b7280;
  --gray-800:    #1f2937;
  --green:       #10b981;
  --red:         #ef4444;
  --font-en:     'Inter', sans-serif;
  --font-display:'Playfair Display', serif;
  --font-ar:     'Tajawal', sans-serif;
  --transition:  all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm:   0 2px 8px rgba(31,46,90,0.08);
  --shadow-md:   0 8px 32px rgba(31,46,90,0.12);
  --shadow-lg:   0 20px 60px rgba(31,46,90,0.18);
  --shadow-gold: 0 4px 24px rgba(201,162,39,0.25);
  --radius:      16px;
  --radius-sm:   8px;
  --radius-lg:   24px;
}

/* ===== GLOBAL RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-en);
  background: var(--gray-50);
  color: var(--gray-800);
  overflow-x: hidden;
  line-height: 1.7;
}

/* ===== PARTICLES CANVAS ===== */
#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
}

/* ============================================================
   LOADING SCREEN
============================================================ */
.loading-screen {
  position: fixed;
  inset: 0;
  background: var(--navy-dark);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-inner {
  text-align: center;
  color: var(--white);
}

.loading-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2.5rem;
}

.loading-brand {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.15em;
  line-height: 1;
}

.loading-sub {
  font-size: 0.875rem;
  color: var(--gray-400);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

.loading-bar-wrap {
  width: 280px;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 99px;
  overflow: hidden;
  margin: 0 auto 1rem;
}

.loading-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  border-radius: 99px;
  animation: loadBar 2.2s ease forwards;
}

@keyframes loadBar {
  0%   { width: 0%; }
  60%  { width: 70%; }
  100% { width: 100%; }
}

.loading-text {
  font-size: 0.8rem;
  color: var(--gray-400);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================================
   NAVBAR
============================================================ */
#mainNav {
  background: transparent;
  padding: 1.25rem 0;
  transition: var(--transition);
  z-index: 1000;
}

#mainNav.scrolled {
  background: rgba(20, 30, 60, 0.97);
  backdrop-filter: blur(20px);
  padding: 0.75rem 0;
  box-shadow: var(--shadow-md);
}

.navbar-brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.12em;
  line-height: 1;
}

.nav-logo-sub {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.navbar-nav .nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.5rem 1rem !important;
  transition: var(--transition);
  position: relative;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 60%;
}

.navbar-nav .nav-link:hover {
  color: var(--gold) !important;
}

.btn-nav-cta {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold)) !important;
  color: var(--navy-dark) !important;
  border-radius: 99px !important;
  padding: 0.5rem 1.5rem !important;
  font-weight: 700 !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.05em;
}

.btn-nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* ============================================================
   HERO SECTION
============================================================ */
.hero-section {
  min-height: 100vh;
  background:
    linear-gradient(165deg,
      rgba(20,30,60,0.97) 0%,
      rgba(31,46,90,0.94) 40%,
      rgba(20,30,60,0.98) 100%
    ),
    url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920&q=90') center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(201,162,39,0.07) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 30%, rgba(42,61,122,0.15) 0%, transparent 60%);
  z-index: 0;
}

/* Floating Shapes */
.floating-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
  animation: floatAnim 8s ease-in-out infinite;
}

.shape-1 {
  width: 500px; height: 500px;
  background: var(--gold);
  top: -150px; right: -100px;
  animation-delay: 0s;
}
.shape-2 {
  width: 300px; height: 300px;
  background: var(--navy-light);
  bottom: -80px; left: -80px;
  animation-delay: 2s;
  opacity: 0.08;
}
.shape-3 {
  width: 200px; height: 200px;
  background: var(--gold-light);
  top: 30%; left: 10%;
  animation-delay: 4s;
}
.shape-4 {
  width: 150px; height: 150px;
  background: var(--white);
  bottom: 20%; right: 15%;
  animation-delay: 6s;
  opacity: 0.03;
}

@keyframes floatAnim {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-30px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 9rem 0 5rem;
}

.official-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(201,162,39,0.15);
  border: 1px solid rgba(201,162,39,0.4);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 1.5rem;
  border-radius: 99px;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.hero-title-ar {
  font-family: var(--font-ar);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.5rem;
  direction: rtl;
}

.hero-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 99px;
  margin: 1.5rem auto;
}

.hero-body-ar {
  font-family: var(--font-ar);
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  direction: rtl;
  line-height: 2;
  margin-bottom: 0.75rem;
}

.hero-body-en {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.gold-text { color: var(--gold); }

.hero-cta-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.btn-hero-primary {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  color: var(--navy-dark) !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 1rem 2.5rem;
  border-radius: 99px;
  border: none;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: var(--transition);
  box-shadow: 0 6px 28px rgba(201,162,39,0.35);
  display: inline-flex;
  align-items: center;
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(201,162,39,0.5);
  color: var(--navy-dark) !important;
}

.btn-hero-secondary {
  background: rgba(255,255,255,0.08);
  color: var(--white) !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 1rem 2.5rem;
  border-radius: 99px;
  border: 1px solid rgba(255,255,255,0.2);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
}

.btn-hero-secondary:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-3px);
}

.hero-info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.hero-info-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.75);
  font-size: 0.82rem;
  padding: 0.45rem 1.2rem;
  border-radius: 99px;
  backdrop-filter: blur(10px);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
}

.scroll-mouse {
  width: 26px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 99px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--gold);
  border-radius: 99px;
  animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50%       { opacity: 0; transform: translateY(8px); }
}

/* ============================================================
   STATS SECTION
============================================================ */
.stats-section {
  background: var(--navy);
  padding: 2.5rem 0;
  position: relative;
  z-index: 1;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  border-right: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  transition: var(--transition);
}

.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(255,255,255,0.03); }

.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.gold-icon { font-size: 1.8rem; }

.stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================================
   GLASS CARD UTILITY
============================================================ */
.glass-card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(201,162,39,0.15);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ============================================================
   SECTION HEADER UTILITY
============================================================ */
.section-header {
  margin-bottom: 1rem;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: rgba(201,162,39,0.1);
  border: 1px solid rgba(201,162,39,0.25);
  padding: 0.35rem 1rem;
  border-radius: 99px;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.section-title-ar {
  font-family: var(--font-ar);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold-dark);
  direction: rtl;
  margin-bottom: 1rem;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 99px;
  margin: 1rem auto 0;
}

.section-header.text-start .section-divider {
  margin-left: 0;
}

/* ============================================================
   IDENTITY COMPARISON SECTION
============================================================ */
.comparison-section {
  padding: 7rem 0;
  background: var(--gray-100);
  position: relative;
  z-index: 1;
}

.brand-card {
  height: 100%;
  overflow: hidden;
  position: relative;
}

.brand-card-badge {
  padding: 0.6rem 1.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

.badge-old {
  background: linear-gradient(90deg, #ef4444, #b91c1c);
  color: var(--white);
}

.badge-new {
  background: linear-gradient(90deg, var(--green), #059669);
  color: var(--white);
}

.brand-card-logo-wrap {
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid var(--gray-200);
}

/* ===== Replace Logo Placeholders ===== */
.logo-placeholder {
  width: 180px;
  height: 120px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed;
}

.logo-placeholder--old {
  border-color: rgba(239,68,68,0.3);
  background: rgba(239,68,68,0.04);
}

.logo-placeholder--new {
  border-color: rgba(201,162,39,0.4);
  background: rgba(201,162,39,0.04);
}

.logo-placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-text-placeholder {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.1em;
}

.logo-subtitle-placeholder {
  font-size: 0.65rem;
  color: var(--gray-400);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

/* Actual logo image class (used when replacing placeholder) */
.brand-logo-img {
  max-width: 180px;
  max-height: 110px;
  object-fit: contain;
}

.brand-card-body {
  padding: 1.75rem;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.brand-name--old { color: var(--gray-600); }
.brand-name--new { color: var(--navy); }

.brand-fullname {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 1.25rem;
  line-height: 1.4;
}

.brand-detail {
  display: flex;
  align-items: center;
  font-size: 0.88rem;
  color: var(--gray-600);
  margin-bottom: 0.6rem;
}

.brand-detail i {
  color: var(--gold);
  width: 16px;
}

.brand-url {
  font-weight: 600;
}

.brand-url--old {
  color: var(--gray-600);
  text-decoration: line-through;
}

.brand-url--new {
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
}

.brand-url--new:hover { color: var(--gold-dark); }

.brand-status-bar {
  margin-top: 1.5rem;
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-align: center;
}

.status-old {
  background: rgba(239,68,68,0.08);
  color: #b91c1c;
  border: 1px solid rgba(239,68,68,0.2);
}

.status-new {
  background: rgba(16,185,129,0.08);
  color: #065f46;
  border: 1px solid rgba(16,185,129,0.2);
}

/* Transition Arrow */
.transition-arrow-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.transition-arrow-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  box-shadow: var(--shadow-gold);
  animation: pulseArrow 2s ease-in-out infinite;
}

@keyframes pulseArrow {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 24px rgba(201,162,39,0.25); }
  50%       { transform: scale(1.1); box-shadow: 0 8px 40px rgba(201,162,39,0.5); }
}

.transition-arrow-label,
.transition-arrow-label-ar {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-600);
}

.transition-arrow-label-ar {
  font-family: var(--font-ar);
  direction: rtl;
}

@media (max-width: 991px) {
  .transition-arrow-icon {
    transform: rotate(90deg);
  }
}

/* ============================================================
   TRANSITION INFO SECTION
============================================================ */
.transition-section {
  padding: 7rem 0;
  background: var(--white);
  position: relative;
  z-index: 1;
}

.transition-body-en {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.9;
  margin-bottom: 1rem;
}

.transition-body-ar {
  font-family: var(--font-ar);
  font-size: 1.05rem;
  color: var(--navy);
  direction: rtl;
  line-height: 2.1;
  padding: 1.25rem;
  background: rgba(31,46,90,0.04);
  border-right: 4px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: 1.5rem;
}

.transition-features {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tf-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.tf-item:hover {
  border-color: var(--gold);
  background: rgba(201,162,39,0.04);
}

.tf-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.tf-text h6 {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.tf-text p {
  font-size: 0.82rem;
  color: var(--gray-600);
  margin: 0;
}

/* Transition Visual Card */
.transition-visual-card {
  overflow: hidden;
}

.tvc-header {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--gold-light);
  padding: 1.25rem 1.75rem;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.tvc-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tvc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  gap: 1rem;
}

.tvc-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-400);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tvc-value {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  text-align: right;
}

.tvc-value.old-value {
  color: var(--gray-400);
  text-decoration: line-through;
}

.tvc-value.new-value {
  color: var(--navy);
  font-weight: 700;
}

.tvc-link {
  text-decoration: none;
  color: var(--navy) !important;
}

.tvc-link:hover { color: var(--gold-dark) !important; }

.status-badge-active {
  background: rgba(16,185,129,0.1);
  color: #065f46;
  padding: 0.3rem 0.9rem;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid rgba(16,185,129,0.25);
}

.status-badge-active i {
  font-size: 0.5rem;
  vertical-align: middle;
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

.tvc-footer {
  background: rgba(201,162,39,0.06);
  border-top: 1px solid rgba(201,162,39,0.15);
  padding: 1rem 1.75rem;
  font-size: 0.8rem;
  color: var(--gold-dark);
  font-style: italic;
}

/* ============================================================
   TIMELINE SECTION
============================================================ */
.timeline-section {
  padding: 7rem 0;
  background: var(--gray-100);
  position: relative;
  z-index: 1;
}

.timeline-wrap {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline-wrap::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--gold), var(--navy));
  transform: translateX(-50%);
  border-radius: 99px;
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 3rem);
  position: relative;
  margin-bottom: 3rem;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 3rem);
}

.timeline-icon {
  position: absolute;
  left: 50%;
  top: 1.25rem;
  transform: translate(-50%, 0);
  width: 52px;
  height: 52px;
  background: var(--navy);
  border: 3px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  z-index: 2;
  box-shadow: 0 4px 20px rgba(201,162,39,0.2);
  transition: var(--transition);
}

.timeline-icon:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translate(-50%, -4px);
}

.timeline-icon--final {
  background: var(--gold);
  color: var(--navy);
  width: 60px;
  height: 60px;
  font-size: 1.3rem;
  box-shadow: 0 8px 32px rgba(201,162,39,0.4);
}

.timeline-card {
  max-width: 360px;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--white);
}

.timeline-card--final {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-color: var(--gold);
}

.timeline-card--final h5,
.timeline-card--final p { color: var(--white) !important; }
.timeline-card--final .timeline-ar { color: rgba(255,255,255,0.65) !important; }
.timeline-card--final .timeline-step--final { color: var(--gold); }

.timeline-step {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.timeline-card h5 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.timeline-card p {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin: 0;
}

.timeline-ar {
  font-family: var(--font-ar);
  direction: rtl;
  color: var(--gold-dark) !important;
  font-size: 0.82rem;
  margin-top: 0.4rem !important;
}

@media (max-width: 767px) {
  .timeline-wrap::before { left: 2rem; }
  .timeline-item,
  .timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-left: 5rem;
    padding-right: 0;
  }
  .timeline-icon { left: 2rem; }
  .timeline-card { max-width: 100%; }
}

/* ============================================================
   GALLERY / SLIDER SECTION
============================================================ */
.gallery-section {
  padding: 7rem 0 0;
  background: var(--navy-dark);
  position: relative;
  z-index: 1;
}

.gallery-section .section-title { color: var(--white); }
.gallery-section .section-label { background: rgba(201,162,39,0.15); border-color: rgba(201,162,39,0.3); }

.slider-img-wrap {
  position: relative;
  height: 520px;
  overflow: hidden;
}

.slider-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
  transform: scale(1.05);
  transition: transform 8s ease;
}

.carousel-item.active .slider-img { transform: scale(1); }

.slider-caption {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--white);
  z-index: 2;
  width: 80%;
}

.slider-caption h5 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.slider-caption p {
  font-size: 0.95rem;
  opacity: 0.8;
}

.carousel-control-prev,
.carousel-control-next {
  width: 56px;
  height: 56px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: rgba(201,162,39,0.8);
  opacity: 1;
  margin: 0 1rem;
}

.carousel-indicators [data-bs-slide-to] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.4);
}

.carousel-indicators .active { background: var(--gold); }

/* ============================================================
   DOCUMENTS SECTION
============================================================ */
.documents-section {
  padding: 7rem 0;
  background: var(--white);
  position: relative;
  z-index: 1;
}

.doc-card {
  padding: 2.5rem 2rem;
  text-align: center;
  height: 100%;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.doc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
}

.doc-icon-wrap {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.8rem;
  color: var(--gold);
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.doc-card:hover .doc-icon-wrap {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--white);
  transform: scale(1.1) rotate(-5deg);
}

.doc-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.doc-title-ar {
  font-family: var(--font-ar);
  font-size: 1rem;
  color: var(--gold-dark);
  direction: rtl;
  margin-bottom: 1rem;
}

.doc-desc {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.doc-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(16,185,129,0.08);
  color: #065f46;
  border: 1px solid rgba(16,185,129,0.25);
  padding: 0.35rem 1rem;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 700;
}

/* ============================================================
   REDIRECT SECTION
============================================================ */
.redirect-section {
  padding: 7rem 0;
  background: var(--gray-100);
  position: relative;
  z-index: 1;
}

.redirect-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 4rem;
}

.redirect-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 3rem;
  border-radius: var(--radius-lg);
  min-width: 260px;
  max-width: 300px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.redirect-box--old {
  background: var(--white);
  border: 2px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  opacity: 0.75;
}

.redirect-box--new {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-gold), var(--shadow-lg);
}

.redirect-box:hover { transform: translateY(-6px); }

.redirect-box-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.redirect-box--old .redirect-box-icon {
  background: var(--gray-100);
  color: var(--gray-400);
}

.redirect-box--new .redirect-box-icon {
  background: rgba(201,162,39,0.2);
  color: var(--gold);
}

.redirect-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.redirect-box--new .redirect-label { color: rgba(255,255,255,0.6); }

.redirect-label-ar {
  font-family: var(--font-ar);
  font-size: 0.82rem;
  color: var(--gray-400);
  direction: rtl;
  margin-bottom: 0.75rem;
}

.redirect-box--new .redirect-label-ar { color: rgba(255,255,255,0.5); }

.redirect-url {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0.5rem 0;
  display: block;
}

.redirect-url--old {
  color: var(--gray-400);
  text-decoration: line-through;
}

.redirect-url--new {
  color: var(--gold);
  text-decoration: none;
}

.redirect-url--new:hover { color: var(--gold-light); }

.redirect-status-old {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-400);
  background: var(--gray-100);
  padding: 0.3rem 0.9rem;
  border-radius: 99px;
  margin-top: 0.5rem;
}

.redirect-status-new {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--green);
  background: rgba(16,185,129,0.15);
  padding: 0.3rem 0.9rem;
  border-radius: 99px;
  margin-top: 0.5rem;
  border: 1px solid rgba(16,185,129,0.3);
}

.redirect-status-new i { font-size: 0.5rem; vertical-align: middle; animation: blink 1.5s infinite; }

/* Animated Arrow */
.redirect-arrow-animated {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.arrow-line {
  display: flex;
  gap: 6px;
  align-items: center;
}

.arrow-dot {
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
  animation: dotFlow 1.5s ease-in-out infinite;
}

.arrow-dot:nth-child(2) { animation-delay: 0.3s; }
.arrow-dot:nth-child(3) { animation-delay: 0.6s; }

@keyframes dotFlow {
  0%, 100% { opacity: 0.2; transform: scale(0.8); }
  50%       { opacity: 1; transform: scale(1.2); }
}

.arrow-head {
  font-size: 2rem;
  color: var(--gold);
  animation: bounceRight 1.5s ease-in-out infinite;
}

@keyframes bounceRight {
  0%, 100% { transform: translateX(0); }
  50%       { transform: translateX(8px); }
}

.arrow-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
}

@media (max-width: 767px) {
  .redirect-visual { flex-direction: column; }
  .redirect-arrow-animated { transform: rotate(90deg); }
}

/* ============================================================
   IMPORTANT NOTICE SECTION
============================================================ */
.notice-section {
  padding: 5rem 0;
  background: var(--navy-dark);
  position: relative;
  z-index: 1;
}

.notice-box {
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 80px rgba(201,162,39,0.2);
}

.notice-header {
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  color: var(--navy-dark);
  padding: 1.5rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.notice-header-ar {
  font-family: var(--font-ar);
  font-size: 1rem;
  margin-right: auto;
  direction: rtl;
}

.notice-body {
  background: rgba(255,255,255,0.04);
  padding: 2.5rem;
}

.notice-lang-block {
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,162,39,0.15);
  height: 100%;
}

.notice-lang-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.notice-lang-block p {
  color: rgba(255,255,255,0.8);
  font-size: 0.93rem;
  line-height: 1.9;
  margin-bottom: 0.75rem;
}

.notice-lang-block--ar {
  border-color: rgba(201,162,39,0.25);
}

.notice-ar-text {
  font-family: var(--font-ar);
  direction: rtl;
}

.notice-footer {
  background: rgba(201,162,39,0.1);
  border-top: 1px solid rgba(201,162,39,0.2);
  padding: 1.25rem 2.5rem;
  text-align: center;
}

.notice-cta {
  color: var(--gold-light);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
}

.notice-cta:hover { color: var(--white); }

/* ============================================================
   FOOTER
============================================================ */
.main-footer {
  background: var(--navy-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  position: relative;
  z-index: 1;
}

.footer-top {
  padding: 5rem 0 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo-wrap {
  margin-bottom: 0.75rem;
}

.footer-logo-text {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.12em;
}

.footer-brand-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  margin-bottom: 0.25rem;
}

.footer-brand-name-ar {
  font-family: var(--font-ar);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold-light);
  direction: rtl;
  margin-bottom: 1rem;
}

.footer-brand-desc {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.8;
  max-width: 300px;
}

.footer-heading {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li { margin-bottom: 0.6rem; }

.footer-links a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
}

.footer-links a i {
  font-size: 0.65rem;
  color: var(--gold);
}

.footer-links a:hover { color: var(--gold); padding-left: 4px; }

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.footer-contact-list i {
  color: var(--gold);
  margin-top: 3px;
  width: 16px;
  flex-shrink: 0;
}

.footer-contact-list a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: var(--transition);
}

.footer-contact-list a:hover { color: var(--gold); }

.footer-transition-notice {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,162,39,0.2);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.ftn-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ftn-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.ftn-val {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
}

.ftn-val.old { color: var(--gray-400); text-decoration: line-through; }
.ftn-val.new { color: var(--gold); }

.ftn-arrow {
  color: var(--gold);
  font-size: 0.9rem;
  animation: bounceDown 1.5s ease-in-out infinite;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(4px); }
}

.btn-footer-cta {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--navy-dark) !important;
  padding: 0.65rem 1.5rem;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  width: 100%;
  justify-content: center;
}

.btn-footer-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.footer-bottom {
  padding: 1.5rem 0;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
}

.footer-bottom-ar {
  font-family: var(--font-ar);
  direction: rtl;
}

/* ============================================================
   BACK TO TOP BUTTON
============================================================ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  border: none;
  border-radius: 50%;
  color: var(--navy-dark);
  font-size: 1rem;
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 12px 40px rgba(201,162,39,0.5);
}

/* ============================================================
   RESPONSIVE UTILITIES
============================================================ */
@media (max-width: 991px) {
  .timeline-item,
  .timeline-item:nth-child(even) {
    padding-left: 5rem;
    padding-right: 0;
    justify-content: flex-start;
  }
  .timeline-wrap::before { left: 2rem; transform: none; }
  .timeline-icon { left: 2rem; transform: translateX(-50%); }
}

@media (max-width: 767px) {
  .hero-title { font-size: 2.4rem; }
  .hero-title-ar { font-size: 1.3rem; }
  .section-title { font-size: 1.8rem; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat-item:last-child { border-bottom: none; }
  .tvc-row { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
  .tvc-value { text-align: left; }
  .notice-header { font-size: 0.95rem; }
  .slider-img-wrap { height: 320px; }
}

@media (max-width: 575px) {
  .hero-content { padding: 8rem 0 4rem; }
  .official-badge { font-size: 0.7rem; padding: 0.4rem 1rem; }
  .btn-hero-primary,
  .btn-hero-secondary { width: 100%; justify-content: center; }
  .hero-cta-wrap { flex-direction: column; }
}

/* ============================================================
   SMOOTH SCROLL OFFSET FOR FIXED NAV
============================================================ */
section[id] {
  scroll-margin-top: 80px;
}

/* ============================================================
   SELECTION STYLE
============================================================ */
::selection {
  background: var(--gold);
  color: var(--navy-dark);
}