/* Main Stylesheet Importing All Modules */
@import url('variables.css');
@import url('reset.css');
@import url('layout.css');
@import url('components.css');
@import url('animations.css');
@import url('responsive.css');

/* Custom Section Styles */

/* Header / Navbar */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: var(--z-sticky);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  padding: var(--spacing-2) 0 0 0;
  /* Starts higher */
  pointer-events: none;
  /* Let clicks pass through empty areas */
}

.header .nav-container {
  background: transparent;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  padding: var(--spacing-1) var(--spacing-6);
  border-radius: 100px;
  pointer-events: auto;
  /* Enable clicks on the container */
  border: 1px solid transparent;
  max-width: 98%;
  /* Slightly wider before scroll */
}

.header.scrolled {
  padding: var(--spacing-2) 0 0 0;
  /* Floats down */
}

.header.scrolled .nav-container {
  background: var(--color-primary-dark);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 92%;
  /* Shrinks inwards slightly */
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-group {
  display: flex;
  align-items: center;
  position: relative;
}

/* Wrap the logo in a white rectangular badge with rounded bottom corners */
.logo-group a {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-white);
  border-radius: 0 0 20px 20px;
  width: 140px;
  min-height: 150px;
  padding: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: -24px;
  margin-bottom: -40px;
  position: relative;
  z-index: 10;
}

/* Offset the header padding when scrolled to keep logo fixed to the top edge */
.header.scrolled .logo-group a {
  margin-top: -32px;
}

/* Mobile logo — compact size */
@media (max-width: 1024px) {
  .logo-group a {
    width: 56px;
    min-height: 60px;
    margin-top: -5px;
    margin-bottom: -12px;
    padding: 5px;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
  }

  .header.scrolled .logo-group a {
    margin-top: -7px;
  }
}

.logo-img {
  width: 100%;
  height: auto;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  mix-blend-mode: normal;
  border-radius: 0 !important;
}

.nav-links {
  display: flex;
  gap: var(--spacing-4);
  align-items: center;
}

.nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-white);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  transition: all 0.3s ease;
  position: relative;
}

.header.scrolled .nav-link {
  color: var(--color-white);
  text-shadow: none;
}

.header.scrolled .btn-primary {
  background-color: var(--color-accent);
  color: var(--color-primary-dark);
  border-color: var(--color-accent);
}

.header.scrolled .consultation-btn {
  color: var(--color-primary-dark);
  border-color: var(--color-white);
  background-color: var(--color-white);
}

.header.scrolled .consultation-btn:hover {
  background-color: var(--color-gray-400);
  border-color: var(--color-gray-400);
  color: var(--color-accent);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  /* RTL */
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width var(--transition-normal);
}

.nav-link:hover {
  color: var(--color-secondary);
}

.nav-link:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.8rem;
  color: var(--color-white);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  transition: all 0.3s ease;
}

.header.scrolled .mobile-menu-btn {
  color: var(--color-white);
  text-shadow: none;
}

@media (max-width: 1024px) {

  /* Mobile nav handled by responsive.css — mobile-menu-btn displayed as flex */
  .mobile-menu-btn {
    display: flex;
  }
}


/* 1. Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 80px;
  color: var(--color-white);
}

/* Background Image — sharp, full-cover */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../media/heroPhoto.jpg');
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
  z-index: 1;
  transform: scale(1.04);
  animation: hero-ken-burns 18s ease-in-out infinite alternate;
  -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

@keyframes hero-ken-burns {
  0% {
    transform: scale(1.04) translateX(0);
  }

  100% {
    transform: scale(1.10) translateX(-1%);
  }
}

/* Cinematic dark overlay — makes image dark but visible */
.hero-overlay-dark {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(160deg,
      rgba(10, 5, 2, 0.82) 0%,
      rgba(30, 12, 5, 0.75) 40%,
      rgba(43, 24, 16, 0.65) 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

/* Bottom gradient to blend into page body */
.hero-overlay-gradient {
  display: none;
}

/* Ambient gold glow — bottom right */
.hero-glow {
  position: absolute;
  bottom: -80px;
  left: 10%;
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse at center,
      rgba(200, 155, 60, 0.22) 0%,
      rgba(200, 155, 60, 0.08) 50%,
      transparent 80%);
  z-index: 3;
  filter: blur(30px);
  animation: glow-breathe 6s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes glow-breathe {
  0% {
    opacity: 0.7;
    transform: scale(1);
  }

  100% {
    opacity: 1;
    transform: scale(1.15);
  }
}

/* Form styling classes */
.req-star {
  color: var(--color-danger, #e74c3c);
  margin-right: 0.25rem;
  font-weight: bold;
}

.opt-label {
  color: var(--color-text-muted);
  font-size: 0.8rem;
  margin-right: 0.35rem;
  font-weight: normal;
}

/* Floating gold particles */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.9), rgba(200, 155, 60, 0.3));
  animation: particle-float linear infinite;
  opacity: 0;
}

.particle-1 {
  width: 6px;
  height: 6px;
  left: 15%;
  bottom: -20px;
  animation-duration: 12s;
  animation-delay: 0s;
}

.particle-2 {
  width: 4px;
  height: 4px;
  left: 35%;
  bottom: -20px;
  animation-duration: 15s;
  animation-delay: 3s;
}

.particle-3 {
  width: 8px;
  height: 8px;
  left: 55%;
  bottom: -20px;
  animation-duration: 10s;
  animation-delay: 1.5s;
}

.particle-4 {
  width: 5px;
  height: 5px;
  left: 70%;
  bottom: -20px;
  animation-duration: 14s;
  animation-delay: 5s;
}

.particle-5 {
  width: 3px;
  height: 3px;
  left: 85%;
  bottom: -20px;
  animation-duration: 11s;
  animation-delay: 2s;
}

.particle-6 {
  width: 7px;
  height: 7px;
  left: 25%;
  bottom: -20px;
  animation-duration: 13s;
  animation-delay: 4s;
}

@keyframes particle-float {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 0.8;
  }

  90% {
    opacity: 0.4;
  }

  100% {
    transform: translateY(-110vh) rotate(720deg);
    opacity: 0;
  }
}

/* Main hero content */
.hero-content {
  position: relative;
  z-index: 5;
  max-width: 760px;
  text-align: right;
  padding: 0;
  padding-top: 7rem;
}

.hero-partnership {
  margin-top: var(--spacing-6);
  max-width: 560px;
  width: 100%;
}

.showcase-glass-hero {
  width: 100%;
  padding: 1.8rem 1.6rem;
  background: linear-gradient(180deg, rgba(38, 18, 10, 0.62) 0%, rgba(25, 10, 5, 0.5) 100%);
  border: 1px solid rgba(212, 175, 55, 0.38);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.showcase-glass-hero .showcase-badge {
  justify-content: center;
  margin-bottom: 1.35rem;
}

.showcase-glass-hero .showcase-images {
  gap: 0;
  width: 100%;
}

.showcase-glass-hero .logo-box {
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
}

.showcase-glass-hero .logo-box img {
  max-height: 160px;
}

/* Award badge chip */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(200, 155, 60, 0.15));
  border: 1px solid rgba(212, 175, 55, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #FFD966;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  margin-bottom: var(--spacing-4);
  letter-spacing: 0.04em;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.hero-badge i {
  font-size: 1rem;
  color: #FFD966;
}

/* Main Title */
.hero-title {
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: var(--font-black);
  line-height: 1.25;
  color: #FFFFFF;
  margin-bottom: var(--spacing-4);
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.8), 0 2px 10px rgba(0, 0, 0, 0.6);
  letter-spacing: 0;
}

.hero-title-accent {
  display: block;
  background: linear-gradient(90deg, #FFD966 0%, #C89B3C 40%, #FFE680 70%, #C89B3C 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: hero-title-shine 5s linear infinite;
  text-shadow: none;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.8));
}

@keyframes hero-title-shine {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 220% center;
  }
}

/* Subtitle */
.hero-subtitle {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  color: #FFFFFF;
  margin-bottom: var(--spacing-8);
  font-weight: 600;
  line-height: 1.8;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.9), 0 1px 4px rgba(0, 0, 0, 0.6);
  max-width: 650px;
}

/* Hero action buttons */
.hero-actions {
  display: flex;
  gap: var(--spacing-4);
  margin-bottom: var(--spacing-6);
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: linear-gradient(135deg, #DDB868 0%, #C89B3C 50%, #AA7F28 100%);
  color: #1A0A00;
  border: 1px solid rgba(255, 230, 130, 0.5);
  padding: 0.95rem 2.2rem;
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(200, 155, 60, 0.55), 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hero-primary::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 200%;
  height: 200%;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: skewX(-20deg) translateX(-60%);
  transition: transform 0.65s ease;
}

.btn-hero-primary:hover::before {
  transform: skewX(-20deg) translateX(100%);
}

.btn-hero-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 18px 45px rgba(200, 155, 60, 0.7), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.10);
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  padding: 0.95rem 2.2rem;
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  text-decoration: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.20);
  border-color: rgba(255, 230, 130, 0.6);
  color: #FFD966;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

/* Hero Flex Layout */
.hero-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  width: 100%;
}

.hero-logos-showcase {
  flex-shrink: 0;
  margin-top: 7rem;
}

.showcase-glass {
  background: rgba(25, 10, 5, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-2xl);
  padding: 2.5rem 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.showcase-glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #DDB868, #C89B3C);
}

.showcase-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  color: #FFD966;
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
}

.showcase-badge i {
  font-size: 1.2rem;
}

.showcase-images {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.showcase-images .logo-box {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 0rem;
  width: 250px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 2px solid transparent;
}

.showcase-images .logo-box:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.2);
}

.showcase-images img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.showcase-images .logo-box:hover img {
  transform: scale(1.05);
}

@media (max-width: 992px) {
  .hero-flex {
    flex-direction: column;
    justify-content: center;
    gap: 3rem;
  }

  .hero-partnership {
    max-width: 100%;
  }

  .showcase-glass-hero {
    max-width: 560px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .hero-partnership {
    margin-top: var(--spacing-5);
  }

  .showcase-glass-hero {
    padding: 1.45rem 1.1rem;
  }

  .showcase-glass-hero .logo-box {
    max-width: 220px;
  }

  .showcase-glass-hero .logo-box img {
    max-height: 140px;
  }
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 10;
  opacity: 0.8;
  animation: fade-in-up 1.5s 2s both;
}

.hero-scroll-indicator span {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.08em;
}

.scroll-mouse {
  width: 26px;
  height: 42px;
  border: 2px solid rgba(212, 175, 55, 0.7);
  border-radius: 13px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.25);
}

.scroll-dot {
  width: 5px;
  height: 10px;
  background: #C89B3C;
  border-radius: 3px;
  animation: scroll-dot-move 2s ease-in-out infinite;
}

@keyframes scroll-dot-move {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  50% {
    transform: translateY(8px);
    opacity: 0.4;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Hero entrance animations */
.hero-anim-1 {
  opacity: 0;
  transform: translateY(24px);
  animation: hero-fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

.hero-anim-2 {
  opacity: 0;
  transform: translateY(30px);
  animation: hero-fade-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.55s forwards;
}

.hero-anim-3 {
  opacity: 0;
  transform: translateY(24px);
  animation: hero-fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.8s forwards;
}

.hero-anim-4 {
  opacity: 0;
  transform: translateY(20px);
  animation: hero-fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) 1.05s forwards;
}

.hero-anim-5 {
  opacity: 0;
  transform: translateY(18px);
  animation: hero-fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) 1.3s forwards;
}

@keyframes hero-fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(16px);
  }

  to {
    opacity: 0.8;
    transform: translateX(-50%) translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    padding-top: 90px;
    min-height: 100svh;
  }

  .hero-content {
    padding: var(--spacing-8) 0;
    max-width: 100%;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-scroll-indicator {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions .btn-hero-primary,
  .hero-actions .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }
}


/* Subcategories reveal - Restored Premium Layout */
.category-card {
  position: relative;
  overflow: hidden;
  align-self: flex-start;
  /* CRITICAL: Prevents other cards in the grid from stretching */
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.category-subs {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  margin-top: 0;
  border-top: 1px solid var(--color-gray-200);
  padding-top: 0;
}

.category-card:hover .category-subs {
  max-height: 800px;
  opacity: 1;
  margin-top: var(--spacing-4);
  padding-top: var(--spacing-4);
}

.sub-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  margin-bottom: var(--spacing-2);
  color: var(--color-text-muted);
}

.sub-item::before {
  content: '•';
  color: var(--color-accent);
  font-size: 1.5rem;
}

/* Footer */
.footer {
  background: transparent !important;
  color: var(--color-primary-dark);
  padding-top: var(--spacing-16);
  padding-bottom: var(--spacing-6);
  border-top: 1px solid var(--color-accent);
}

.footer-link {
  color: var(--color-primary);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-accent);
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.social-icon:hover {
  background: var(--color-accent);
  color: var(--color-primary-dark);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: var(--spacing-12);
  padding-top: var(--spacing-6);
  text-align: center;
  color: var(--color-gray-400);
}

.badge {
  display: inline-block;
  padding: 0.3rem 1rem;
  background: rgba(200, 155, 60, 0.1);
  color: var(--color-primary-dark);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: var(--font-bold);
  border: 1px solid rgba(200, 155, 60, 0.3);
}

/* 3. Chairman Message Section Layout */
.chairman-text-section {
  width: 100%;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 0;
  margin-top: 0;
}

.chairman-image-section {
  width: 100%;
  position: relative;
  z-index: 20;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 0;
}

/* Golden Halo behind chairman photo */
.chairman-image-section::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  height: 260px;
  background: radial-gradient(ellipse at center,
      rgba(212, 175, 55, 0.45) 0%,
      rgba(212, 175, 55, 0.22) 35%,
      rgba(200, 155, 60, 0.08) 65%,
      transparent 100%);
  border-radius: 50%;
  animation: halo-pulse 3s ease-in-out infinite;
  z-index: -1;
  pointer-events: none;
}

.chairman-image-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 180px;
  background: radial-gradient(ellipse at center,
      rgba(255, 215, 80, 0.35) 0%,
      rgba(212, 175, 55, 0.15) 50%,
      transparent 100%);
  border-radius: 50%;
  animation: halo-pulse 3s ease-in-out infinite 1s;
  z-index: -1;
  pointer-events: none;
}

@keyframes halo-pulse {

  0%,
  100% {
    opacity: 0.8;
    transform: translateX(-50%) scale(1);
  }

  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.08);
  }
}

@media (min-width: 768px) {
  .chairman-text-section {
    width: 75%;
    padding: 0;
    margin-top: 0;
  }

  .chairman-image-section {
    width: 25%;
    justify-content: flex-start;
    padding: 0;
  }

  .chairman-image-section::before {
    left: 50%;
  }

  .chairman-image-section::after {
    left: 50%;
  }
}

/* Chairman card glassmorphism override */
.card.chairman-card {
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.82) 0%,
      rgba(255, 248, 210, 0.6) 50%,
      rgba(255, 255, 255, 0.75) 100%) !important;
  backdrop-filter: blur(22px) !important;
  -webkit-backdrop-filter: blur(22px) !important;
  box-shadow:
    0 15px 50px rgba(212, 175, 55, 0.12),
    0 4px 16px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

/* Benefit cards glassmorphism */
.benefit-card-large {
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.78) 0%,
      rgba(255, 248, 220, 0.5) 100%) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(212, 175, 55, 0.22) !important;
  box-shadow:
    0 6px 24px rgba(212, 175, 55, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.85) !important;
  position: relative;
  overflow: hidden;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.benefit-card-large::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
      transparent 20%,
      rgba(255, 255, 255, 0.5) 50%,
      transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.65s ease;
  pointer-events: none;
}

.benefit-card-large:hover::after {
  transform: translateX(120%);
}

.benefit-card-large:hover {
  box-shadow:
    0 18px 42px rgba(212, 175, 55, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
  border-color: rgba(212, 175, 55, 0.55) !important;
  transform: translateY(-7px);
}

.benefit-card-small {
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.78) 0%,
      rgba(255, 248, 220, 0.45) 100%) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.2) !important;
  box-shadow:
    0 4px 16px rgba(212, 175, 55, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.benefit-card-small:hover {
  box-shadow:
    0 12px 30px rgba(212, 175, 55, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
  border-color: rgba(212, 175, 55, 0.55) !important;
  transform: translateX(-6px);
}

.condition-card {
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.75) 0%,
      rgba(255, 248, 210, 0.48) 100%) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(212, 175, 55, 0.28) !important;
  box-shadow:
    0 6px 22px rgba(212, 175, 55, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.82) !important;
  transition: all 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}

.condition-card:hover {
  box-shadow:
    0 16px 38px rgba(212, 175, 55, 0.17),
    inset 0 1px 0 rgba(255, 255, 255, 0.92) !important;
  border-color: rgba(212, 175, 55, 0.6) !important;
  transform: translateY(-5px);
}

/* =========================================
   Extracted Inline Styles from index.html
   ========================================= */

      .benefits-container {
        display: grid;
        grid-template-columns: 1fr;
        gap: var(--spacing-12);
      }

      @media (min-width: 992px) {
        .benefits-container {
          grid-template-columns: 1fr 1fr;
          gap: var(--spacing-16);
        }
      }

      /* Why Participate Cards */
      .benefit-card-large {
        background: var(--color-white);
        border: 1px solid var(--color-gray-100);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
        border-radius: var(--radius-xl);
        padding: var(--spacing-8) var(--spacing-6);
        text-align: center;
        transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        display: flex;
        flex-direction: column;
        align-items: center;
        cursor: default;
        position: relative;
        overflow: hidden;
      }

      .benefit-card-large::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--color-secondary), var(--color-primary-light));
        opacity: 0;
        transition: opacity 0.5s ease;
      }

      .benefit-card-large:hover::before {
        opacity: 1;
      }

      .benefit-card-large:hover {
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
        border-color: transparent;
        transform: translateY(-8px);
      }

      .benefit-card-large .icon-wrapper {
        width: 72px;
        height: 72px;
        border-radius: 50%;
        background: rgba(107, 127, 138, 0.08);
        /* light secondary */
        color: var(--color-secondary);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: var(--spacing-5);
        transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
      }

      .benefit-card-large:hover .icon-wrapper {
        transform: scale(1.15) rotate(5deg);
        background: var(--color-secondary);
        color: var(--color-white) !important;
      }

      /* Winner Benefits Cards */
      .benefit-card-small {
        background: var(--color-white);
        border: 1px solid var(--color-gray-100);
        border-radius: var(--radius-lg);
        padding: var(--spacing-4) var(--spacing-5);
        display: flex;
        align-items: center;
        gap: var(--spacing-4);
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        cursor: default;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
      }

      .benefit-card-small:hover {
        box-shadow: 0 15px 30px rgba(212, 175, 55, 0.15);
        /* golden shadow */
        border-color: var(--color-accent);
        transform: translateX(-8px);
        /* Moves left in RTL */
      }

      .benefit-card-small .icon-wrapper {
        width: 50px;
        height: 50px;
        border-radius: var(--radius-md);
        background: rgba(212, 175, 55, 0.1);
        color: var(--color-accent);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        transition: all 0.4s ease;
      }

      .benefit-card-small:hover .icon-wrapper {
        background: var(--color-accent);
        color: var(--color-white) !important;
      }

      /* Big Trophy */
      .trophy-card {
        background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
        color: var(--color-white);
        border-radius: var(--radius-xl);
        padding: var(--spacing-8);
        text-align: center;
        box-shadow: 0 20px 40px rgba(2, 43, 58, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: var(--spacing-6);
        border: 1px solid rgba(255, 255, 255, 0.1);
        position: relative;
        overflow: hidden;
      }

      .trophy-card::after {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 60%);
        pointer-events: none;
      }
    

      .conditions-container {
        display: grid;
        grid-template-columns: 1fr;
        gap: var(--spacing-12);
      }

      @media (min-width: 992px) {
        .conditions-container {
          grid-template-columns: 1fr 1fr;
          gap: var(--spacing-16);
        }
      }

      .condition-card {
        background: transparent !important;
        border: 1px solid var(--color-accent);
        border-radius: var(--radius-xl);
        padding: 1.1rem 1.25rem;
        display: flex;
        align-items: flex-start;
        gap: 1.1rem;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: none !important;
        position: relative;
        overflow: hidden;
      }

      .condition-card::before {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        opacity: 0;
        transition: opacity 0.4s ease;
      }

      .condition-card:hover::before {
        opacity: 1;
      }

      .condition-card:hover {
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06);
        transform: translateY(-4px);
      }

      .condition-card .icon-box {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        transition: all 0.4s ease;
      }

      .condition-card:hover .icon-box {
        transform: scale(1.1);
      }

      /* Variant: Secondary (Right Column) — gold bg, dark brown icon */
      .condition-card.card-secondary::before {
        background: var(--color-accent);
      }

      .condition-card.card-secondary {
        border-color: rgba(200, 155, 60, 0.35);
      }

      .condition-card.card-secondary:hover {
        border-color: var(--color-accent);
        box-shadow: 0 12px 28px rgba(200, 155, 60, 0.12);
      }

      .condition-card.card-secondary .icon-box {
        background: rgba(200, 155, 60, 0.18);
        border: 1.5px solid rgba(200, 155, 60, 0.45);
        color: #5a3a00;
      }

      .condition-card.card-secondary:hover .icon-box {
        background: var(--color-accent);
        color: var(--color-primary-dark);
        transform: scale(1.12) rotate(5deg);
        box-shadow: 0 4px 14px rgba(200, 155, 60, 0.35);
      }

      /* Variant: Primary (Left Column) — brown bg, white icon */
      .condition-card.card-primary::before {
        background: var(--color-primary);
      }

      .condition-card.card-primary {
        border-color: rgba(74, 46, 27, 0.25);
      }

      .condition-card.card-primary:hover {
        border-color: var(--color-primary);
        box-shadow: 0 12px 28px rgba(74, 46, 27, 0.1);
      }

      .condition-card.card-primary .icon-box {
        background: rgba(74, 46, 27, 0.12);
        border: 1.5px solid rgba(74, 46, 27, 0.3);
        color: var(--color-primary);
      }

      .condition-card.card-primary:hover .icon-box {
        background: var(--color-primary);
        color: var(--color-white);
        transform: scale(1.12) rotate(-5deg);
        box-shadow: 0 4px 14px rgba(74, 46, 27, 0.3);
      }
    

          @keyframes drawLineRightToLeft {
            0% {
              width: 0;
              opacity: 0;
            }

            100% {
              width: 100%;
              opacity: 1;
            }
          }

          @keyframes shimmerLine {
            0% {
              background-position: 200% center;
            }

            100% {
              background-position: -200% center;
            }
          }

          @keyframes dotPopIn {
            0% {
              transform: scale(0) translateY(10px);
              opacity: 0;
            }

            70% {
              transform: scale(1.1) translateY(-2px);
            }

            100% {
              transform: scale(1) translateY(0);
              opacity: 1;
            }
          }

          .gold-line-animated {
            background: linear-gradient(90deg, #b58d22 0%, #ffe382 50%, #b58d22 100%);
            background-size: 200% auto;
            animation: drawLineRightToLeft 2.5s cubic-bezier(0.16, 1, 0.3, 1) forwards, shimmerLine 3s linear infinite;
            box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
            height: 100%;
            width: 100%;
            position: absolute;
            top: 0;
            right: 0;
            border-radius: 9999px;
          }

          .step-dot-1 {
            animation: dotPopIn 0.6s ease-out 0.2s backwards;
          }

          .step-dot-2 {
            animation: dotPopIn 0.6s ease-out 0.4s backwards;
          }

          .step-dot-3 {
            animation: dotPopIn 0.6s ease-out 0.6s backwards;
          }

          .step-dot-4 {
            animation: dotPopIn 0.6s ease-out 0.8s backwards;
          }

          .step-dot-5 {
            animation: dotPopIn 0.6s ease-out 1.0s backwards;
          }

          .step-dot-6 {
            animation: dotPopIn 0.6s ease-out 1.2s backwards;
          }

          /* Timeline Layout */
          .h-timeline-scroll {
            overflow-x: auto;
            padding-bottom: 1.5rem;
            scrollbar-width: none;
          }

          .h-timeline-container {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            position: relative;
            padding: 0 1rem;
          }

          .h-timeline-line {
            position: absolute;
            background-color: var(--color-gray-200);
            z-index: 0;
            border-radius: 9999px;
            overflow: hidden;
          }

          .h-timeline-line-inner {
            box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
          }

          /* Nodes */
          .h-node {
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1rem auto;
            position: relative;
            z-index: 10;
            transition: all 0.5s ease;
            cursor: pointer;
            color: var(--color-primary-dark);
          }

          .h-node i {
            transition: color 0.3s ease;
          }

          .h-node-sm {
            width: 56px;
            height: 56px;
            background-color: var(--color-white);
            border: 3px solid rgba(200, 155, 60, 0.4);
            box-shadow: 0 4px 12px rgba(200, 155, 60, 0.12);
            font-size: 1.5rem;
          }

          .h-node-sm i {
            color: var(--color-primary-dark);
          }

          .h-node-md {
            width: 64px;
            height: 64px;
            background-color: var(--color-white);
            border: 4px solid var(--color-accent);
            box-shadow: var(--shadow-lg);
            margin-top: -4px;
            color: var(--color-primary-dark);
            font-size: 1.75rem;
          }

          .h-node-lg {
            width: 64px;
            height: 64px;
            background-color: var(--color-primary-dark);
            color: var(--color-white);
            border: 6px solid var(--color-white);
            box-shadow: var(--shadow-md);
            font-size: 1.5rem;
            font-weight: 700;
          }

          .h-node-gold {
            background-color: var(--color-accent);
            font-size: 1.875rem;
          }

          /* Hover States */
          .group:hover .h-node-sm,
          .group:hover .h-node-md {
            background-color: var(--color-primary-dark);
            border-color: var(--color-primary-dark);
            transform: scale(1.12);
            box-shadow: 0 8px 25px rgba(43, 24, 16, 0.25);
          }

          .group:hover .h-node-sm i,
          .group:hover .h-node-md i {
            color: var(--color-accent);
          }

          .group:hover .h-node-lg {
            transform: translateY(-6px);
            box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
          }

          .group:hover .title-hover {
            color: var(--color-accent);
            transition: color 0.3s ease;
          }

          .group-title {
            font-weight: 700;
            color: var(--color-primary-dark);
            margin-bottom: 0.25rem;
            font-size: 1rem;
          }

          .group-subtitle {
            font-size: 0.75rem;
            color: var(--color-text-muted);
            max-width: 120px;
            margin: 0 auto;
          }

          .badge-date {
            display: inline-block;
            background-color: rgba(68, 104, 54, 0.1);
            color: var(--color-primary-dark);
            padding: 0.25rem 0.75rem;
            border-radius: 9999px;
            font-size: 0.75rem;
            font-weight: 700;
            margin-top: 0.25rem;
          }

          .badge-date-gold {
            background-color: rgba(244, 241, 225, 0.5);
            color: var(--color-accent-hover);
          }
        

          .library-swiper {
            width: 100%;
            padding: 30px 0 60px 0;
          }
          .library-swiper .swiper-slide {
            width: 280px;
            height: 340px;
            transition: all 0.4s ease;
            transform: scale(0.85);
            opacity: 0.5;
          }
          .library-swiper .swiper-slide-active {
            transform: scale(1);
            opacity: 1;
            z-index: 10;
          }
          .library-swiper .swiper-pagination-bullet-active {
            background: var(--color-accent);
          }
          .library-swiper-btn {
            color: var(--color-accent);
          }
          @media (max-width: 768px) {
            .library-swiper .swiper-slide {
              width: 240px;
              height: 300px;
            }
            .library-swiper .card {
               padding: 1.25rem !important;
            }
          }
        

          .contact-pill {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: rgba(200, 155, 60, 0.08);
            border: 1px solid rgba(200, 155, 60, 0.25);
            padding: 0.6rem 1.25rem;
            border-radius: 50px;
            color: var(--color-primary-dark);
            font-weight: 600;
            font-size: 0.95rem;
            text-decoration: none;
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            margin-top: 2rem;
          }

          .contact-pill:hover {
            background: var(--color-accent);
            color: var(--color-white);
            border-color: var(--color-accent);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(200, 155, 60, 0.3);
          }

          .contact-pill i {
            font-size: 1.2rem;
          }
        

          .faq-tabs {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 0.75rem;
            margin-bottom: 2.5rem;
          }
          .faq-tab-btn {
            background: rgba(200, 155, 60, 0.08);
            border: 1px solid rgba(200, 155, 60, 0.2);
            padding: 0.75rem 1.5rem;
            border-radius: 50px;
            color: var(--color-primary-dark);
            font-weight: 700;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
          }
          .faq-tab-btn:hover, .faq-tab-btn.active {
            background: var(--color-accent);
            color: var(--color-white);
            border-color: var(--color-accent);
            box-shadow: 0 4px 15px rgba(200, 155, 60, 0.25);
            transform: translateY(-2px);
          }
          .faq-tab-content {
            display: none;
            animation: fadeIn 0.4s ease;
          }
          .faq-tab-content.active {
            display: block;
          }
          @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
          }
        

    .apple-footer {
      background-color: transparent;
      padding: 4rem 0 2rem 0;
      border-top: 1px solid rgba(212, 175, 55, 0.2);
    }
    .apple-footer-inner {
      max-width: 1024px; /* عرض محكم على طريقة أبل */
      margin: 0 auto;
      padding: 0 1.5rem;
    }
    .apple-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 2.5rem;
      padding-bottom: 2rem;
      border-bottom: 1px solid rgba(212, 175, 55, 0.15); /* فاصل رفيع جداً */
    }
    @media (min-width: 768px) {
      .apple-grid {
        grid-template-columns: 2fr 1fr 1fr;
      }
    }
    
    .apple-brand-col img {
      max-width: 120px;
      margin-bottom: 1.25rem;
    }
    .apple-brand-title {
      font-size: 1rem;
      font-weight: 700;
      color: var(--color-primary-dark);
      margin-bottom: 0.25rem;
      letter-spacing: -0.01em;
    }
    .apple-brand-desc {
      font-size: 0.75rem;
      line-height: 1.6;
      color: var(--color-text-muted);
      max-width: 320px;
      margin-bottom: 1.25rem;
    }
    
    .apple-col-header {
      font-size: 0.75rem;
      font-weight: 700;
      color: var(--color-primary-dark);
      margin-bottom: 0.85rem;
    }
    .apple-list {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 0.6rem;
    }
    .apple-link {
      font-size: 0.75rem;
      color: var(--color-text-muted);
      text-decoration: none;
      transition: color 0.2s ease;
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }
    .apple-link:hover {
      color: var(--color-primary-dark);
      text-decoration: underline; /* تأثير أبل الكلاسيكي */
    }
    
    .apple-socials {
      display: flex;
      gap: 1rem;
    }
    .apple-social-icon {
      font-size: 1.2rem;
      color: var(--color-text-muted);
      transition: color 0.2s ease, transform 0.2s ease;
    }
    .apple-social-icon:hover {
      color: var(--color-primary-dark);
      transform: translateY(-2px);
    }
    
    .apple-bottom {
      padding-top: 1rem;
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }
    @media (min-width: 768px) {
      .apple-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
      }
    }
    
    .apple-copyright-row {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }
    @media (min-width: 1024px) {
      .apple-copyright-row {
        flex-direction: row;
        align-items: center;
        gap: 0.75rem;
      }
    }
    
    .apple-text-sm {
      font-size: 0.75rem;
      color: #86868b; /* درجة الرمادي الخاصة بأبل */
    }
    
    .apple-legal-nav {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 0.5rem;
    }
    .apple-legal-nav a {
      font-size: 0.75rem;
      color: #515154;
      text-decoration: none;
    }
    .apple-legal-nav a:hover {
      color: var(--color-primary-dark);
      text-decoration: underline;
    }
    .apple-divider {
      color: #d2d2d7;
      font-size: 0.75rem;
    }

    /* قسم المصمم مبسط وأنيق جداً */
    .apple-designer {
      font-size: 0.75rem;
      color: #86868b;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      transition: color 0.2s ease;
    }
    .apple-designer:hover {
      color: var(--color-primary-dark);
    }
  