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

:root {
  --primary-blue: #1976d2;
  --secondary-blue: #1a7fe8;
  --dark-blue: #0d47a1;
  --light-blue: #e3f2fd;
  --gold: #ffd700;
  --gold-dark: #ffa500;
  --silver: #c0c0c0;
  --bronze: #cd7f32;
  --gradient-primary: linear-gradient(135deg, #1976d2 0%, #1a7fe8 100%);
  --gradient-gold: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
  --gradient-dark: linear-gradient(135deg, #0d47a1 0%, #1976d2 100%);
  --text-primary: #212121;
  --text-secondary: #757575;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
}

body {
  font-family: "Cairo", sans-serif;
  direction: rtl;
  color: var(--text-primary);
  background: var(--white);
  overflow-x: hidden;
}

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

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.navbar {
  padding: 15px 0;
}

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

.limo-logo {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary-blue);
  letter-spacing: -1px;
  font-family: "Cairo", sans-serif;
  position: relative;
}

.limo-logo::after {
  content: "";
  position: absolute;
  left: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 16px;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  right: 0;
  width: 0;
  height: 3px;
  background: var(--gradient-primary);
  transition: width 0.3s;
}

.nav-links a:hover {
  color: var(--primary-blue);
}

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

/* Hero Section */
.hero {
  position: relative;
  background: var(--gradient-primary);
  padding: 150px 0 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.stars {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, white, transparent),
    radial-gradient(2px 2px at 60% 70%, white, transparent),
    radial-gradient(1px 1px at 50% 50%, white, transparent),
    radial-gradient(1px 1px at 80% 10%, white, transparent),
    radial-gradient(2px 2px at 90% 60%, white, transparent),
    radial-gradient(1px 1px at 30% 80%, white, transparent);
  background-size: 200% 200%;
  animation: twinkle 10s ease-in-out infinite;
  opacity: 0.6;
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 0.8;
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: var(--white);
}

.sparkle {
  font-size: 60px;
  animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
  50% {
    transform: scale(1.2) rotate(180deg);
    opacity: 0.8;
  }
}

.hero-title {
  font-size: 72px;
  font-weight: 800;
  margin: 20px 0;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
}

.hero-year {
  font-size: 120px;
  font-weight: 900;
  background: linear-gradient(135deg, #ffd700, #fff, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 10px 0;
  text-shadow: 0 0 40px rgba(255, 215, 0, 0.5);
  animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-subtitle {
  font-size: 28px;
  margin: 20px 0 40px;
  font-weight: 400;
  animation: fadeInUp 1s ease-out 0.4s backwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 60px;
  animation: fadeInUp 1s ease-out 0.6s backwards;
}

.btn {
  display: inline-block;
  text-decoration: none;
  padding: 18px 40px;
  font-size: 18px;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
  font-family: "Cairo", sans-serif;
}

.btn-primary {
  background: var(--gradient-gold);
  color: var(--dark-blue);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 215, 0, 0.6);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-blue);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
}

.btn-large {
  padding: 20px 50px;
  font-size: 22px;
}

.hero-dates {
  display: flex;
  gap: 40px;
  justify-content: center;
  animation: fadeInUp 1s ease-out 0.8s backwards;
}

.date-box {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 30px 40px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s;
}

.date-box:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-5px);
}

.date-box i {
  font-size: 48px;
  color: var(--gold);
}

.date-label {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 5px;
}

.date-value {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 3px;
}

.date-hijri {
  font-size: 14px;
  opacity: 0.8;
}

.wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 120px;
}

.wave-divider path {
  fill: var(--white);
}

/* Goals Section */
/* .goals {
    padding: 100px 0;
    background: var(--white);
} */

/* .section-title {
  font-size: 48px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 20px;
  color: var(--text-primary);
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
} */
.section-title {
  font-size: 48px;
  font-weight: 800;
  text-align: center;
  margin: 0 auto 20px;
  color: var(--text-primary);
  position: relative;
  display: block;
  width: fit-content;
  max-width: 100%;
  padding: 0 10px; /* prevents edge clipping */
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  right: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 60px;
}

/* .goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.goal-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.goal-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-blue);
}

.goal-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 48px;
    color: var(--white);
}

.goal-card h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.goal-card p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
} */

/* Points System Section */
.points-system {
  padding: 100px 0;
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.points-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.point-card {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.point-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-primary);
}

.point-card.special::before {
  background: linear-gradient(135deg, #9c27b0, #e91e63);
}

.point-card.premium::before {
  background: var(--gradient-primary);
}

.point-card.gold::before {
  background: var(--gradient-gold);
}

.point-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-hover);
}

.point-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--gradient-gold);
  color: var(--dark-blue);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
}

.point-icon {
  width: 80px;
  height: 80px;
  background: var(--light-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 36px;
  color: var(--primary-blue);
}

.point-card.gold .point-icon {
  background: linear-gradient(135deg, #fff8dc, #ffd700);
  color: var(--gold-dark);
}

.point-value {
  font-size: 64px;
  font-weight: 900;
  color: var(--primary-blue);
  margin: 10px 0;
}

.point-card.gold .point-value {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.point-label {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.point-desc {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.points-note {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 20px;
  margin-top: 60px;
  display: flex;
  gap: 20px;
  align-items: center;
  border-right: 5px solid var(--primary-blue);
}

.points-note i {
  font-size: 32px;
  color: var(--primary-blue);
  flex-shrink: 0;
}

.points-note p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-primary);
}

/* Prizes Section */
.prizes {
  padding: 100px 0;
  background: var(--white);
}

.prizes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.prize-card {
  background: var(--white);
  padding: 40px;
  border-radius: 25px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.prize-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s;
}

.prize-card:hover::before {
  opacity: 0.05;
}

.prize-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-hover);
}

.first-prize {
  border: 3px solid var(--gold);
}

.second-prize {
  border: 3px solid var(--silver);
}

.third-prize {
  border: 3px solid var(--bronze);
}

.fourth-prize {
  border: 3px solid var(--primary-blue);
}

.prize-rank {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
  font-weight: 700;
  font-size: 16px;
}

.first-prize .prize-rank {
  color: var(--gold-dark);
}

.second-prize .prize-rank {
  color: #808080;
}

.third-prize .prize-rank {
  color: var(--bronze);
}

.fourth-prize .prize-rank {
  color: var(--primary-blue);
}

.prize-rank i {
  font-size: 24px;
}

.prize-image {
  width: 120px;
  height: 120px;
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 60px;
}

.first-prize .prize-image {
  background: linear-gradient(135deg, #fff8dc, #ffd700);
  color: var(--gold-dark);
}

.second-prize .prize-image {
  background: linear-gradient(135deg, #e8e8e8, #c0c0c0);
  color: #606060;
}

.third-prize .prize-image {
  background: linear-gradient(135deg, #f4e4c1, #cd7f32);
  color: #8b4513;
}

.fourth-prize .prize-image {
  background: var(--gradient-primary);
  color: var(--white);
}

.prize-card h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.prize-detail {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.prize-count {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-blue);
  background: var(--light-blue);
  padding: 10px 20px;
  border-radius: 20px;
  display: inline-block;
}

/* Instant Prizes */
.instant-prizes {
  margin-top: 80px;
  background: var(--gradient-primary);
  padding: 60px;
  border-radius: 30px;
  color: var(--white);
}

.instant-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.instant-title i {
  font-size: 42px;
  color: var(--gold);
}

.instant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.instant-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s;
}

.instant-card:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

.instant-icon {
  width: 90px;
  height: 90px;
  background: var(--gradient-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 42px;
  color: var(--dark-blue);
}

.instant-card h4 {
  font-size: 24px;
  margin-bottom: 20px;
}

.instant-value {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 10px;
  color: var(--gold);
}

.instant-desc {
  font-size: 18px;
  margin-bottom: 20px;
  opacity: 0.9;
}

.instant-winners {
  font-size: 20px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.2);
  padding: 10px 20px;
  border-radius: 20px;
  display: inline-block;
}

/* Timeline Section */
.timeline {
  padding: 100px 0;
  background: linear-gradient(135deg, #1976d2 0%, #0d47a1 100%);
  color: var(--white);
}

.timeline-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.timeline-item {
  position: relative;
  text-align: center;
}

.timeline-date {
  font-size: 24px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.2);
  padding: 15px 30px;
  border-radius: 30px;
  display: inline-block;
  margin-bottom: 30px;
}

.timeline-content {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 20px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s;
}

.timeline-content:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-10px);
}

.timeline-content i {
  font-size: 56px;
  margin-bottom: 20px;
  color: var(--gold);
}

.timeline-content h4 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
}

.timeline-content p {
  font-size: 16px;
  opacity: 0.9;
}

.timeline-item.highlight .timeline-content {
  background: var(--gradient-gold);
  color: var(--dark-blue);
  border-color: var(--gold);
}

.timeline-item.highlight .timeline-content i {
  color: var(--dark-blue);
}

.timeline-item.highlight .timeline-date {
  background: var(--gold);
  color: var(--dark-blue);
}

/* Rules Section */
.rules {
  padding: 100px 0;
  background: var(--white);
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.rule-card {
  background: var(--white);
  padding: 30px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 25px;
  align-items: flex-start;
  transition: all 0.3s;
  border-right: 5px solid var(--primary-blue);
}

.rule-card:hover {
  transform: translateX(-10px);
  box-shadow: var(--shadow-hover);
}

.rule-number {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  flex-shrink: 0;
}

.rule-content {
  flex: 1;
}

.rule-content i {
  font-size: 28px;
  color: var(--primary-blue);
  margin-bottom: 15px;
}

.rule-content p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-primary);
}

/* CTA Section */
.cta-section {
  padding: 100px 0;
  background: var(--gradient-dark);
  color: var(--white);
  text-align: center;
}

.cta-content h2 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 24px;
  margin-bottom: 40px;
  opacity: 0.9;
}

/* Footer */
.footer {
  background: #0d47a1;
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo .limo-logo {
  font-size: 42px;
  margin-bottom: 15px;
  color: var(--white);
}

.footer-logo p {
  font-size: 16px;
  opacity: 0.8;
  line-height: 1.6;
}

.footer-links h4,
.footer-social h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  color: var(--white);
  text-decoration: none;
  margin-bottom: 12px;
  opacity: 0.8;
  transition: all 0.3s;
}

.footer-links a:hover {
  opacity: 1;
  padding-right: 10px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
  transition: all 0.3s;
}

.social-icons a:hover {
  background: var(--gold);
  color: var(--dark-blue);
  transform: translateY(-5px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 30px;
  text-align: center;
}

.footer-bottom p {
  opacity: 0.8;
  font-size: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-year {
    font-size: 72px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-dates {
    flex-direction: column;
    gap: 20px;
  }

  .date-box {
    padding: 20px;
  }

  .section-title {
    font-size: 36px;
  }

  .goals-grid,
  .points-grid,
  .prizes-grid,
  .rules-grid {
    grid-template-columns: 1fr;
  }

  .instant-prizes {
    padding: 40px 20px;
  }
}

/* Animations */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.goal-icon,
.point-icon,
.prize-image {
  animation: float 3s ease-in-out infinite;
}

.goal-card:nth-child(2) .goal-icon,
.point-card:nth-child(2) .point-icon,
.prize-card:nth-child(2) .prize-image {
  animation-delay: 0.5s;
}

.goal-card:nth-child(3) .goal-icon,
.point-card:nth-child(3) .point-icon,
.prize-card:nth-child(3) .prize-image {
  animation-delay: 1s;
}

.goal-card:nth-child(4) .goal-icon,
.point-card:nth-child(4) .point-icon,
.prize-card:nth-child(4) .prize-image {
  animation-delay: 1.5s;
}

.logo img {
  height: 40px;
}