:root {
  --color-bg-dark-1: #020d13;
  --color-bg-dark-2: #081921;
  --color-bg-dark-3: #051319;
  --color-bg-footer: #030e15;
  --color-bg-footer-bottom: #07161e;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-text-dark: #05141b;
  --color-text-grey: #a4a4a4;
  --color-gold-1: #ebd287;
  --color-gold-2: #ae9659;
  --color-teal-1: #1d8688;
  --color-teal-2: #0f212a;
  --font-primary: "Readex Pro", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-primary);
  background: linear-gradient(180deg, var(--color-bg-dark-1) 0%, var(--color-bg-dark-2) 41.21%);
  color: var(--color-white);
  overflow-x: hidden;
  direction: rtl;
}

* {
  box-sizing: border-box;
}

.container {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-right: 40px;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

section {
  position: relative;
  padding-top: 80px;
  padding-bottom: 80px;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

@media (max-width: 768px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
    width: 100%;
    max-width: 100vw;
    margin: 0 auto;
    overflow-x: hidden;
  }
  
  section {
    padding-top: 60px;
    padding-bottom: 60px;
    width: 100vw;
    max-width: 100vw;
    margin-left: 0;
    margin-right: 0;
    overflow-x: hidden;
  }
}

/* CSS for section section:header */
.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  background: linear-gradient(180.03deg, #020d13 58.78%, #081921 99.97%);
  display: block;
  width: 100%;
  max-width: 100vw;
}
.main-header {
  position: relative;
  z-index: 10;
  padding-bottom: 0;
  background: none;
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 32px 40px 0 40px;
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
}
.logo-title-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  min-width: 180px;
}
.logo-icon {
  width: 72px;
  height: 67px;
}
.logo-text {
  font-weight: 500;
  font-size: 18px;
  color: var(--color-white);
  text-align: right;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.logo-text span {
  display: block;
}
.signup-container {
  min-width: 180px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}
.signup-btn {
  background-color: rgba(10, 20, 25, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  padding: 12px 28px;
  font-size: 16px;
  color: var(--color-white);
  transition: background-color 0.3s;
  text-decoration: none;
  display: inline-block;
  backdrop-filter: blur(2px);
}
.signup-btn:hover {
  background-color: rgba(10, 20, 25, 0.8);
}
.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.main-nav ul {
  display: flex;
  gap: 56px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.main-nav a {
  font-size: 16px;
  color: var(--color-white);
  text-decoration: none;
  transition: color 0.3s;
}
.main-nav a:hover {
  color: rgba(255, 255, 255, 0.8);
}
.hero-content,
.hero-inner,
.hero-title-block,
.hero-main-image-block {
  position: relative;
  z-index: 10;
}
.hero-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 60vh;
  gap: 48px;
  padding: 0 20px;
  overflow: hidden;
}
.hero-title-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  z-index: 2;
}
.hero-title-main {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 700;
  color: #ebd287;
  text-align: right;
  margin: 0 0 0 40px;
  line-height: 1.1;
  gap: 0.1em;
}

/* Enhanced responsive hero title */
@media (max-width: 480px) {
  .hero-title-main {
    font-size: clamp(24px, 7vw, 36px);
    margin: 0;
    text-align: center;
    align-items: center;
    gap: 0.05em;
  }
}
.hero-title-main span {
  display: block;
}
.hero-main-image-block {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  z-index: 2;
}
.hero-trophy-img {
  width: 420px;
  height: auto;
  max-width: 100%;
  margin-left: 0;
}
/* --- Curved Background --- */
.hero-curve-bg {
  position: absolute;
  left: 50%;
  top: 0;
  width: 180vw;
  height: 90vw;
  max-width: 2000px;
  max-height: 1100px;
  transform: translate(-50%, -20%);
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse 90% 60% at 50% 0%, #7a6532 60%, #1a2327 100%);
  border-bottom-left-radius: 50% 40%;
  border-bottom-right-radius: 50% 40%;
  box-shadow: 0 40px 120px 0 #ae965933;
}
.hero-trophy-base-img {
  width: 440px;
  height: 177px;
  top: 60%;
  z-index: 2;
}
.hero-rings {
  position: absolute;
  width: 582px;
  height: 317px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -35%);
  z-index: 1;
}
.hero-rings-inner,
.hero-rings-outer {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border-radius: 50%;
}
.hero-rings-inner {
  border: 1.2px solid;
  border-image: linear-gradient(
      45deg,
      rgba(255, 255, 255, 0),
      rgba(251, 217, 94, 1),
      rgba(70, 41, 2, 1),
      rgba(0, 0, 0, 0)
    )
    1;
}
.hero-rings-outer {
  border: 6.6px solid;
  border-image: linear-gradient(
      45deg,
      rgba(255, 255, 255, 0),
      rgba(251, 217, 94, 1),
      rgba(70, 41, 2, 1),
      rgba(0, 0, 0, 0)
    )
    1;
  filter: blur(22.5px);
}
.hero-bg-ellipse-1,
.hero-bg-ellipse-2 {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  border-radius: 50%;
}
.hero-bg-ellipse-1 {
  width: 1760px;
  height: 1059px;
  bottom: -283px;
  background: #885e19;
  z-index: 1;
}
.hero-bg-ellipse-2 {
  width: 1760px;
  height: 975px;
  bottom: -180px;
  opacity: 0.5;
  background: #020d13;
  z-index: 2;
}

.hero-ellipse-bg {
  position: absolute;
  left: 50%;
  top: -50vw; /* Move ellipse much higher */
  width: 200vw; /* Make ellipse very wide */
  height: 120vw; /* Make ellipse very tall */
  transform: translateX(-50%);
  background: linear-gradient(180.03deg, #020d13 58.78%, #081921 99.97%);
  border-bottom-left-radius: 50% 40%;
  border-bottom-right-radius: 50% 40%;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  z-index: 0;
  pointer-events: none;
}

@media (max-width: 992px) {
  .header-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  .hero-inner {
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    gap: 24px;
  }
  .hero-title-main {
    font-size: 36px;
    margin: 0 0 24px 0;
    text-align: center;
    align-items: center;
  }
  .hero-trophy-img {
    width: 80vw;
  }
}

/* CSS for section section:about */
.about-section {
  background-color: var(--color-white);
  color: var(--color-text-dark);
  text-align: center;
  padding-top: 120px;
  padding-bottom: 120px;
  margin-top: -100px;
  position: relative;
  z-index: 3;
}
.about-title {
  font-size: 43.2px;
  font-weight: 700;
  margin-bottom: 43px;
}
.about-text {
  font-size: 21.6px;
  line-height: 43.2px;
  max-width: 999px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .about-section {
    margin-top: -60px;
    border-top-left-radius: 50% 60px;
    border-top-right-radius: 50% 60px;
    padding-top: 100px;
    padding-bottom: 60px;
  }
  .about-title {
    font-size: 32px;
    margin-bottom: 24px;
  }
  .about-text {
    font-size: 18px;
    line-height: 1.8;
  }
}

/* CSS for section section:goals */
.goals-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 100px 20px;
  background: linear-gradient(180deg, #020d13 58.79%, #081921 100%);
  overflow: hidden;
}

.goals-title {
  font-family: "Readex Pro", sans-serif;
  font-weight: 700;
  font-size: 43px;
  color: linear-gradient(to right, #ebd287, #ae9659);
  background: linear-gradient(to right, #ebd287, #ae9659);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  margin-bottom: 60px;
  z-index: 10;
}

.goals-container {
  position: relative;
  width: 830px;
  height: 830px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Decorative circles */
.decorative-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.circle-1 {
  width: 830px;
  height: 830px;
  border: 5.77px solid;
  border-image: conic-gradient(
      from 33.45deg at 33.45% 58.59%,
      transparent 2.88%,
      #fbd95e 34.13%,
      #462902 47.12%,
      transparent 99.9%
    )
    1;
  filter: blur(19.73px);
}

.circle-2 {
  width: 830px;
  height: 830px;
  border: 1.07px solid;
  border-image: conic-gradient(
      from 33.45deg at 33.45% 58.59%,
      transparent 2.88%,
      #fbd95e 34.13%,
      #462902 47.12%,
      transparent 99.9%
    )
    1;
}

.circle-3 {
  width: 581px;
  height: 317px;
  border: 1.22px solid;
  border-image: conic-gradient(
      from 33.45deg at 33.45% 58.59%,
      transparent 0.1%,
      #462902 52.88%,
      #fbd95e 65.87%,
      transparent 97.12%
    )
    1;
  top: 361px;
  left: 0px;
}

.circle-4 {
  width: 581px;
  height: 317px;
  border: 6.57px solid;
  border-image: conic-gradient(
      from 33.45deg at 33.45% 58.59%,
      transparent 2.88%,
      #fbd95e 34.13%,
      #462902 47.12%,
      transparent 99.9%
    )
    1;
  filter: blur(22.47px);
  top: 361px;
  left: 0px;
}

.circle-5 {
  width: 581px;
  height: 317px;
  border: 1.22px solid;
  border-image: conic-gradient(
      from 33.45deg at 33.45% 58.59%,
      transparent 2.88%,
      #fbd95e 34.13%,
      #462902 47.12%,
      transparent 99.9%
    )
    1;
  top: 388px;
  left: 0px;
}

.circle-6 {
  width: 581px;
  height: 317px;
  border: 6.57px solid;
  border-image: conic-gradient(
      from 33.45deg at 33.45% 58.59%,
      transparent 2.88%,
      #fbd95e 34.13%,
      #462902 47.12%,
      transparent 99.9%
    )
    1;
  filter: blur(22.47px);
  top: 388px;
  left: 0px;
}

/* Goal items */
.goal-item {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 20px;
  transform-origin: center;
  transition: all 0.3s ease;
}

.goal-1 {
  top: 408px;
  left: 22px;
  width: 596px;
  height: 133px;
  opacity: 1;
}

.goal-2 {
  top: 612px;
  left: 25px;
  width: 610px;
  height: 281px;
  opacity: 0.5;
}

.goal-3 {
  top: 782px;
  left: 179px;
  width: 582px;
  height: 417px;
  opacity: 0.5;
}

.goal-4 {
  top: 898px;
  left: 523px;
  width: 453px;
  height: 564px;
  opacity: 0.5;
}

.goal-5 {
  top: 931px;
  left: 1092px;
  width: 136px;
  height: 597px;
  opacity: 0.5;
}

.goal-6 {
  top: 765px;
  left: 1307px;
  width: 411px;
  height: 584px;
  opacity: 0.5;
}

.goal-7 {
  top: 533px;
  left: 1445px;
  width: 562px;
  height: 456px;
  opacity: 0.5;
}

.goal-text {
  font-family: "Readex Pro", sans-serif;
  font-weight: 400;
  font-size: 26px;
  line-height: 1.25;
  color: transparent;
  background: linear-gradient(to bottom right, #ebd287, #ae9659);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: right;
  flex: 1;
}

.goal-number {
  font-family: "Readex Pro", sans-serif;
  font-weight: 400;
  font-size: 106px;
  line-height: 1.25;
  color: transparent;
  background: linear-gradient(to bottom right, #ebd287, #ae9659);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  width: 55px;
}

.goal-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(to bottom right, #ebd287, #ae9659);
  flex-shrink: 0;
}

/* Hover effects */
.goal-item:hover {
  opacity: 1 !important;
  transform: scale(1.05);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .goals-container {
    width: 350px;
    height: 350px;
    transform: scale(0.8);
  }

  .goals-title {
    font-size: 32px;
  }

  .goal-text {
    font-size: 18px;
  }

  .goal-number {
    font-size: 60px;
  }
}

/* CSS for section section:tracks */
.tracks-section {
  background-color: var(--color-bg-dark-3);
}
.tracks-title {
  font-size: 43.2px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 43px;
}
.tracks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.track-card {
  position: relative;
  overflow: hidden;
  transition: min-height 0.35s, padding 0.35s;
  --min-height: 340px;
  height: 390px;
  border-radius: 8.7px;
  backdrop-filter: blur(2px);
  background: linear-gradient(342deg, rgba(251, 217, 94, 0.03) 0%, rgba(251, 217, 94, 0.1) 32.08%);
}
.track-card:nth-child(2) {
  background: linear-gradient(180deg, rgba(114, 114, 114, 0.1) 0%, rgba(3, 3, 3, 0.1) 100%);
}
.track-card:nth-child(3) {
  background: linear-gradient(208deg, rgba(28, 124, 127, 0.2) 0%, rgba(15, 33, 42, 0.2) 83.9%);
}
.card-content {
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  text-align: center;
}
.card-icon {
  margin-bottom: 20px;
  height: 105px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-icon img {
  max-height: 100%;
}
.track-card h3 {
  font-size: 29px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: auto;
  padding-bottom: 20px;
}
.track-card:nth-child(1) h3 {
  background: linear-gradient(204deg, #ebd287 0%, #ae9659 152.53%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.track-card:nth-child(2) h3 {
  background: linear-gradient(204deg, #acb2af 0%, #3f3f3f 152.53%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.track-card:nth-child(3) h3 {
  background: linear-gradient(203deg, #1d8688 0%, #0f212a 194.86%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.track-card p {
  font-size: 14.3px;
  font-weight: 300;
}
.track-card:nth-child(1) p {
  color: #c2ab54;
}
.track-card:nth-child(2) p {
  color: #757575;
}
.track-card:nth-child(3) p {
  color: #186064;
}
.card-tag {
  position: absolute;
  top: 20px;
  left: 0;
  background-color: rgba(255, 255, 255, 0.16);
  border-radius: 0px 36px 36px 0px;
  padding: 9px 16px 9px 9px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14.3px;
  font-weight: 300;
}
/* Enhanced responsive tracks grid */
@media (max-width: 992px) {
  .tracks-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .tracks-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .track-card {
    height: auto;
    min-height: 280px;
    padding: 16px;
  }
  
  .card-content {
    padding: 20px 16px;
  }
  
  .card-icon {
    height: 80px;
    margin-bottom: 16px;
  }
  
  .track-card h3 {
    font-size: clamp(18px, 5vw, 24px);
    margin-bottom: 12px;
    padding-bottom: 12px;
  }
  
  .track-desc {
    font-size: clamp(12px, 3.5vw, 14px);
    line-height: 1.5;
    margin-bottom: 12px;
  }
  
  .track-card p {
    font-size: clamp(11px, 3vw, 12px);
  }
}

@media (max-width: 480px) {
  .tracks-grid {
    gap: 12px;
  }
  
  .track-card {
    min-height: 240px;
  }
  
  .card-content {
    padding: 16px 12px;
  }
  
  .card-icon {
    height: 60px;
    margin-bottom: 12px;
  }
  
  .track-card h3 {
    font-size: clamp(16px, 4.5vw, 20px);
    margin-bottom: 8px;
    padding-bottom: 8px;
  }
}

/* CSS for section section:stages */
.stages-section {
  background-color: var(--color-white);
  color: var(--color-black);
}
.stages-title {
  font-size: 43.2px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
}
.timeline {
  position: relative;
  width: 80%;
  margin: 0 auto 60px;
  padding-top: 60px;
  padding-bottom: 20px;
}
.timeline-line {
  position: absolute;
  top: 40%;
  right: 0;
  left: 0;
  height: 2.7px;
  background: linear-gradient(
    to left,
    rgba(184, 184, 184, 0) 5.55%,
    rgba(184, 184, 184, 0.72) 84.53%,
    #0f0c3d 91.86%,
    rgba(184, 184, 184, 0) 97.73%
  );
  z-index: 0;
  transform: translateY(-50%);
}
.timeline-list {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  z-index: 1;
  padding: 0;
  margin: 0;
  list-style: none;
  height: 70px;
}
.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: none;
  position: relative;
  cursor: pointer;
  transition: opacity 0.3s;
  min-width: 120px;
}
.timeline-dot {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background-color: #d9d9d9;
  display: block;
  flex-shrink: 0;
  transition: background 0.3s, box-shadow 0.3s, transform 0.3s;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.timeline-label {
  font-size: 21.6px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.2);
  transition: color 0.3s, font-size 0.3s;
  position: absolute;
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: max-content;
  z-index: 3;
  background: none;
}
.timeline-item.active .timeline-dot {
  background-color: #ae9659;
  box-shadow: 0 0 0 6px rgba(174, 150, 89, 0.15);
  transform: translate(-50%, -50%) scale(1.15);
}
.timeline-item.active .timeline-label {
  color: #ae9659;
  font-size: 20px;
}
/* Enhanced responsive timeline */
@media (max-width: 900px) {
  .timeline {
    width: 95%;
    padding-top: 40px;
    padding-bottom: 15px;
  }
  
  .timeline-list {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
  
  .timeline-item {
    min-width: 100px;
    flex: 1;
  }
  
  .timeline-label {
    font-size: 12px;
    max-width: 100px;
    white-space: normal;
    word-break: break-word;
    text-overflow: ellipsis;
  }
}

@media (max-width: 640px) {
  .timeline {
    width: 100%;
    padding-top: 20px;
    margin-bottom: 30px;
    overflow: visible;
  }
  
  .timeline-line {
    display: none;
  }
  
  .timeline-list {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    height: auto;
    min-height: auto;
    overflow: visible;
  }
  
  .timeline-item {
    width: 100%;
    max-width: 300px;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 16px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin: 0 auto;
    position: relative;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .timeline-dot {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
  }
  
  .timeline-label {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    font-size: clamp(12px, 3.5vw, 14px);
    max-width: none;
    text-align: left;
    flex: 1;
    white-space: normal;
    word-wrap: break-word;
    overflow: hidden;
    text-align: center;
    padding-top: 8px;
    line-height: 1.2;
    margin: 0 auto;
    display: block;
  }
  .timeline-item.active .timeline-label {
    font-size: 14px;
  }
}
/* Remove old timeline-dot and timeline-labels CSS if present */
.timeline-dot:not(.timeline-list .timeline-dot),
.timeline-labels {
  display: none !important;
}
.stage-cards-container {
  position: relative;
  width: 100%;
  max-width: 1058px;
  margin: 0 auto;
  min-height: 320px;
}
.stage-card {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  background: linear-gradient(213deg, #ae9659 0%, #483e25 146.64%);
  border-radius: 8.7px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 40px;
  width: 100%;
  max-width: 1058px;
  opacity: 0;
  transform: translateY(60px) scale(0.98);
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s;
  color: var(--color-white);
  display: flex;
  align-items: center;
  gap: 40px;
}
.stage-card.active {
  display: flex;
  flex-direction: row-reverse;
  opacity: 1;
  transform: translateY(0) scale(1);
  z-index: 3;
  pointer-events: auto;
  box-shadow: 0 8px 32px rgba(174, 150, 89, 0.18), 0 2px 8px rgba(0, 0, 0, 0.1);
}
.stage-card.next {
  opacity: 1;
  transform: translateY(40px) scale(0.97);
  z-index: 2;
  pointer-events: none;
  box-shadow: 0 0 0 0 #000, 0 8px 24px #ae965933;
}
.stage-card.prev {
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}
.stage-card:not(.active):not(.next):not(.prev) {
  opacity: 0;
  z-index: 0;
  pointer-events: none;
}
.stage-icon-wrapper {
  flex-shrink: 0;
  margin-bottom: 0;
}
.stage-icon-wrapper img {
  max-height: 100%;
}
.stage-details {
  color: var(--color-white);
  flex-grow: 1;
  text-align: right;
}
.stage-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 13px;
}
.stage-header h3 {
  font-size: 21.6px;
  font-weight: 500;
  color: var(--color-black);
}
.stage-date {
  background-color: #593d12;
  border-radius: 90px;
  padding: 4px 11px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
}
.stage-date img {
  height: 16px;
}
.stage-details p {
  font-size: 21.6px;
  font-weight: 300;
  line-height: 1.25;
}
@media (max-width: 900px) {
  .stage-cards-container {
    min-height: 250px;
    max-width: 100vw;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .stage-card,
  .stage-card.active,
  .stage-card.next {
    box-sizing: border-box;
    padding: 18px 6px 18px 6px;
    font-size: 12px;
    flex-direction: column;
    gap: 8px;
    width: 98vw;
    max-width: 500px;
    min-width: 0;
    min-height: 220px;
    margin: 0 auto 12px auto;
    left: unset;
    right: unset;
    align-items: center;
    justify-content: flex-start;
  }
  .stage-details,
  .stage-details p {
    word-break: break-word;
    text-align: center;
  }
  .stage-header {
    flex-direction: column-reverse;
    gap: 8px;
  }
  .stage-header h3 {
    font-size: 14px;
    text-align: center;
  }
  .stage-date {
    font-size: 11px;
    padding: 2px 6px;
  }
  .stage-icon-wrapper img {
    max-width: 60px;
  }
}

/* CSS for section section:faq */
.faq-section {
  background: var(--color-bg-dark-2);
  padding: 120px 0;
}
.faq-title {
  font-size: 48px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
}
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.faq-item {
  background: rgba(59, 59, 59, 0.08);
  border-radius: 12px;
  backdrop-filter: blur(3px);
  overflow: hidden;
}
.faq-question {
  padding: 20px 30px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
.faq-question::-webkit-details-marker {
  display: none;
}
.faq-question::after {
  content: "+";
  font-size: 24px;
  opacity: 0.3;
  transition: transform 0.3s;
}
.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}
.faq-answer {
  padding: 0 30px 20px;
  font-size: 16px;
  font-weight: 300;
  color: var(--color-text-grey);
  line-height: 1.8;
}

/* CSS for section section:footer */
.footer-section {
  padding: 0;
  background-color: var(--color-bg-footer);
}
.site-footer {
  padding: 80px 0;
}
.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}
.footer-about {
  max-width: 457px;
}
.footer-logo {
  width: 401px;
  margin-bottom: 27px;
}
.footer-about p {
  font-size: 14.4px;
  font-weight: 700;
}
.footer-links-group {
  display: flex;
  gap: 114px;
}
.footer-links h4,
.footer-social h4 {
  font-size: 14.4px;
  font-weight: 700;
  margin-bottom: 30px;
}
.footer-links ul,
.footer-social ul {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.footer-links a {
  font-size: 14.4px;
  font-weight: 400;
  color: #6e6e6e;
  transition: color 0.3s;
}
.footer-links a:hover {
  color: var(--color-white);
}
.footer-social a {
  display: flex;
  align-items: center;
  gap: 13.5px;
  font-size: 14.4px;
  font-weight: 400;
}
.social-icon {
  width: 40.5px;
  height: 40.5px;
  border: 0.9px solid #505153;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s;
}
.footer-social a:hover .social-icon {
  background-color: #505153;
}
.footer-bottom {
  background-color: var(--color-bg-footer-bottom);
  padding: 16px 0;
}
.footer-bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14.4px;
  font-weight: 400;
}
@media (max-width: 1200px) {
  .footer-container {
    flex-direction: column;
  }
  .footer-links-group {
    width: 100%;
    justify-content: space-between;
  }
}
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
  }
  .footer-links-group {
    flex-direction: column;
    gap: 40px;
  }
  .footer-bottom-container {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

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

  .faq-question {
    padding: 16px 20px;
    font-size: 14px;
  }

  .faq-answer {
    padding: 0 20px 16px;
    font-size: 14px;
  }
}

/* Animation styles */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animations for child elements */
.animate-on-scroll.visible .goal-item,
.animate-on-scroll.visible .track-card,
.animate-on-scroll.visible .faq-item {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.animate-on-scroll.visible .goal-item:nth-child(3) {
  animation-delay: 0.1s;
}
.animate-on-scroll.visible .goal-item:nth-child(4) {
  animation-delay: 0.2s;
}
.animate-on-scroll.visible .goal-item:nth-child(5) {
  animation-delay: 0.3s;
}
.animate-on-scroll.visible .goal-item:nth-child(6) {
  animation-delay: 0.4s;
}
.animate-on-scroll.visible .goal-item:nth-child(7) {
  animation-delay: 0.5s;
}
.animate-on-scroll.visible .goal-item:nth-child(8) {
  animation-delay: 0.6s;
}
.animate-on-scroll.visible .goal-item:nth-child(9) {
  animation-delay: 0.7s;
}

.animate-on-scroll.visible .track-card:nth-child(1) {
  animation-delay: 0.1s;
}
.animate-on-scroll.visible .track-card:nth-child(2) {
  animation-delay: 0.3s;
}
.animate-on-scroll.visible .track-card:nth-child(3) {
  animation-delay: 0.5s;
}

.animate-on-scroll.visible .faq-item:nth-child(1) {
  animation-delay: 0.1s;
}
.animate-on-scroll.visible .faq-item:nth-child(2) {
  animation-delay: 0.2s;
}
.animate-on-scroll.visible .faq-item:nth-child(3) {
  animation-delay: 0.3s;
}
.animate-on-scroll.visible .faq-item:nth-child(4) {
  animation-delay: 0.4s;
}
.animate-on-scroll.visible .faq-item:nth-child(5) {
  animation-delay: 0.5s;
}
.animate-on-scroll.visible .faq-item:nth-child(6) {
  animation-delay: 0.6s;
}

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

/* Goal item hover effect */
.goal-item {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.goal-item.dimmed {
  opacity: 0.3;
}

.goal-item:hover {
  transform: scale(1.05);
}

.goal-item::after {
  content: "";
  width: 22px;
  height: 22px;
  background: linear-gradient(204deg, #ebd287 0%, #ae9659 152.53%);
  border-radius: 50%;
  margin-left: 15px;
}

.goal-item:hover {
  opacity: 1;
}

.goals-visualizer:hover .goal-item:not(:hover) {
  opacity: 0.3;
}

/* --- Track Card Hover Animation: Title Smaller, Card Height Increases --- */
.track-card {
  position: relative;
  overflow: hidden;
  transition: min-height 0.35s, padding 0.35s;
  --min-height: 340px;
  height: 390px;
}
.track-card .track-title {
  transition: opacity 0.35s, transform 0.35s, font-size 0.35s;
  opacity: 1;
  transform: scale(1);
  font-size: 2rem;
  margin-bottom: 1.2rem;
}
.track-card .track-desc {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.35s, transform 0.35s;
  position: relative;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  text-align: center;
  pointer-events: none;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 0.5rem;
}
.track-card:hover,
.track-card:focus-within {
  min-height: 390px;
  padding-bottom: 2.5rem;
}
.track-card:hover .track-title,
.track-card:focus-within .track-title {
  opacity: 0.7;
  transform: scale(0.85);
  font-size: 1.1rem;
}
.track-card:hover .track-desc,
.track-card:focus-within .track-desc {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Objectives Section Figma-accurate styles */
.objectives-section {
  position: relative;
  background: linear-gradient(180deg, var(--color-bg-dark-2) 0%, var(--color-bg-dark-3) 100%);
  padding: 80px 40px;
  text-align: center;
  direction: rtl;
}
.objectives-logo-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
}
.objectives-logo {
  width: 100%;
  max-width: 200px;
  margin-bottom: 20px;
}
.objectives-title {
  font-family: "Readex Pro", sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 1.2;
  background: linear-gradient(90deg, #ae9658 9%, #b59d56 27%, #c7b152 55%, #cab651 60%, #edd38a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  text-align: center;
  margin-bottom: 40px;
}
.objectives-carousel {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  direction: rtl;
}

.carousel-container {
  overflow: hidden;
  border-radius: 16px;
  position: relative;
  width: 100%;
  max-width: 920px; /* 3 items * 280px + 2 gaps * 20px + padding */
  margin: 0 auto;
}



.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  gap: 20px;
  padding: 0 20px;
  width: max-content;
  align-items: stretch;
  cursor: grab;
  user-select: none;
}

.carousel-track:active {
  cursor: grabbing;
}

.objective-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: rgba(174, 150, 89, 0.08);
  border-radius: 16px;
  border: 2px solid rgba(174, 150, 89, 0.2);
  width: 280px;
  min-width: 280px;
  max-width: 280px;
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.objective-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(174, 150, 89, 0.1) 0%, rgba(174, 150, 89, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.objective-item:hover::before {
  opacity: 1;
}

.objective-item.active {
  background: rgba(174, 150, 89, 0.15);
  border-color: rgba(174, 150, 89, 0.5);
  transform: scale(1.02);
  box-shadow: 0 8px 32px rgba(174, 150, 89, 0.2);
}

.objective-item.dimmed {
  opacity: 0.4;
  transform: scale(0.95);
  background: rgba(174, 150, 89, 0.03);
  border-color: rgba(174, 150, 89, 0.1);
  pointer-events: auto;
}

.objective-item.dimmed:hover {
  opacity: 0.7;
  transform: scale(0.98);
  background: rgba(174, 150, 89, 0.06);
  border-color: rgba(174, 150, 89, 0.3);
}

.objective-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(220.04deg, #ebd287 6.19%, #ae9659 110.35%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Readex Pro", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-bg-dark-1);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(174, 150, 89, 0.3);
}

.objective-item.dimmed .objective-number {
  background: linear-gradient(220.04deg, rgba(235, 210, 135, 0.6) 6.19%, rgba(174, 150, 89, 0.6) 110.35%);
  box-shadow: 0 2px 8px rgba(174, 150, 89, 0.2);
}

.objective-text {
  font-family: "Readex Pro", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--color-white);
  line-height: 1.5;
  text-align: right;
  direction: rtl;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.objective-item.dimmed .objective-text {
  color: rgba(255, 255, 255, 0.6);
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.indicator {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(174, 150, 89, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  border: 2px solid transparent;
}

.indicator.active {
  background: linear-gradient(220.04deg, #ebd287 6.19%, #ae9659 110.35%);
  transform: scale(1.3);
  box-shadow: 0 0 0 4px rgba(174, 150, 89, 0.2);
  border-color: rgba(255, 255, 255, 0.2);
}

.indicator:hover:not(.active) {
  background: rgba(174, 150, 89, 0.6);
  transform: scale(1.15);
  border-color: rgba(174, 150, 89, 0.4);
}
@media (max-width: 768px) {
  .objectives-section {
    padding: 60px 20px;
  }
  
  .objectives-carousel {
    max-width: 100%;
  }
  
  .carousel-container {
    max-width: 720px; /* 3 items * 220px + 2 gaps * 15px + padding */
  }
  
  .carousel-track {
    gap: 15px;
    padding: 0 15px;
  }
  
  .objective-item {
    width: 220px;
    min-width: 220px;
    max-width: 220px;
    padding: 16px;
    gap: 16px;
  }
  
  .objective-number {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  
  .objective-text {
    font-size: 14px;
  }
  
  .carousel-indicators {
    margin-top: 24px;
    gap: 8px;
  }
  
  .indicator {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 480px) {
  .objectives-section {
    padding: 40px 16px;
  }
  
  .objectives-logo {
    max-width: 150px;
  }
  
  .objectives-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  
  .carousel-container {
    max-width: 520px; /* 3 items * 160px + 2 gaps * 10px + padding */
  }
  
  .carousel-track {
    gap: 10px;
    padding: 0 10px;
  }
  
  .objective-item {
    width: 160px;
    min-width: 160px;
    max-width: 160px;
    padding: 12px;
    gap: 8px;
  }
  
  .objective-number {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
  
  .objective-text {
    font-size: 13px;
    text-align: center;
  }
  
  .carousel-indicators {
    margin-top: 20px;
  }
}

/* --- Figma-accurate Top Navigation Bar --- */
.top-navbar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  width: 1342.8px;
  height: 60.17px;
  left: 50%;
  top: 25.2px;
  transform: translateX(-50%);
  padding: 0;
  gap: 40px;
  z-index: 100;
  background: none;
}
.header-right-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  min-width: 200px;
}
.logo-title-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  min-width: 128px;
}
.logo-icon {
  width: 72px;
  height: 52px;
}
.logo-text {
  font-family: "Readex Pro", sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  text-align: right;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.logo-text span {
  display: block;
}
.main-nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 48px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    height: auto;
}
.main-nav li a {
  font-family: "Readex Pro", sans-serif;
  font-size: 14.4px;
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-weight: 400;
  line-height: 18px;
  transition: color 0.3s;
}
.main-nav li a:hover {
  color: #ebd287;
}
.signup-btn-nav {
  background: rgba(255, 255, 255, 0.29) !important;
  border-radius: 7.2px !important;
  padding: 12px 24px !important;
  font-size: 14.4px !important;
  color: #fff !important;
  text-align: center !important;
  border: none !important;
  outline: none !important;
  cursor: pointer !important;
  transition: background 0.3s !important;
  display: inline-block !important;
  text-decoration: none !important;
}
.signup-btn-nav:hover {
  background: rgba(255, 255, 255, 0.5) !important;
  color: #fff !important;
}
.nav-spacer {
  min-width: 200px;
  height: 1px;
}

/* Mobile Navigation Styles */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: relative;
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.desktop-nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  width: 100%;
}

.mobile-logo {
  display: none;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  position: relative;
}

.mobile-nav-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  background: linear-gradient(180deg, var(--color-bg-dark-1) 0%, var(--color-bg-dark-2) 100%);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  padding: 20px 0;
}

.mobile-nav-menu.active {
  display: block;
}

.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-nav-list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-list li:last-child {
  border-bottom: none;
}

.mobile-nav-list a {
  display: block;
  padding: 16px 40px;
  font-family: "Readex Pro", sans-serif;
  font-size: 16px;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.3s;
}

.mobile-nav-list a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.mobile-signup-btn {
  background: rgba(255, 255, 255, 0.29) !important;
  border-radius: 7.2px !important;
  margin: 16px 40px !important;
  padding: 12px 24px !important;
  text-align: center !important;
  display: block !important;
}

.mobile-signup-btn:hover {
  background: rgba(255, 255, 255, 0.5) !important;
}
.lang-signup {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  width: 20%;
  height: 43.2px;
  position: relative;
}
.lang-switch {
  font-family: "Readex Pro", sans-serif;
  font-size: 14.4px;
  color: #fff;
  width: 50px;
  height: 18px;
  text-align: center;
  line-height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
.signup-btn {
  position: absolute;
 
  top: 0;
  width: 98.1px;
  height: 43.2px;
  background: rgba(255, 255, 255, 0.29);
  border-radius: 7.2px;
  font-family: "Readex Pro", sans-serif;
  font-size: 14.4px;
  color: #fff;
  text-align: center;
  line-height: 43.2px;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.signup-btn:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* CSS: Add after .hero-section rules */
.hero-bottom-curve {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 220px;
  z-index: 1;
  pointer-events: none;
}
.hero-bottom-curve svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-subtitle {
  font-family: "Readex Pro", sans-serif;
  font-size: 24px;
  color: #fff;
  margin-top: 18px;
  margin-bottom: 32px;
  text-align: right;
  line-height: 1.5;
  opacity: 0.92;
  font-weight: 400;
}
.hero-cta-btn {
  display: inline-block;
  background: linear-gradient(90deg, #ebd287 0%, #ae9659 100%);
  color: #181818;
  font-family: "Readex Pro", sans-serif;
  font-size: 20px;
  font-weight: 700;
  border: none;
  border-radius: 32px;
  padding: 16px 44px;
  text-decoration: none;
  box-shadow: 0 4px 24px 0 rgba(174, 150, 89, 0.13);
  transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.2s;
  cursor: pointer;
  outline: none;
  margin-bottom: 8px;
}
.hero-cta-btn:hover,
.hero-cta-btn:focus {
  background: linear-gradient(90deg, #ae9659 0%, #ebd287 100%);
  color: #181818;
  box-shadow: 0 8px 32px 0 rgba(174, 150, 89, 0.22);
  transform: translateY(-2px) scale(1.03);
}

.awards-section {
  padding: 32px 0; /* less vertical space */
}
.award-card {
  padding: 24px 12px 18px;
  height: 290px; /* or auto, or a smaller fixed value */
}
.awards-grid {
  gap: 40px;
}

/* Modal base styles */
.custom-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 26, 32, 0.85);
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  pointer-events: none;
}
.custom-modal[aria-modal="true"][data-visible="true"] {
  opacity: 1;
  pointer-events: auto;
}
.custom-modal-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
}
.custom-modal-content {
  position: relative;
  z-index: 2;
  animation: modal-in 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  background: linear-gradient(38deg, rgba(28, 124, 127, 0.2) 0%, rgba(15, 33, 42, 0.2) 117.38%);
  border-radius: 9.65px;
  backdrop-filter: blur(24.5px);
  overflow: hidden;
  max-width: 792px;
  width: 100%;
  padding: 0;
  height: 100%;
}
@keyframes modal-in {
  from {
    transform: translateY(40px) scale(0.98);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
.custom-modal-close {
  position: absolute;
  top: 24px;
  left: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  z-index: 3;
  transition: color 0.2s;
}
.custom-modal-close:hover,
.custom-modal-close:focus {
  color: #1d8688;
}
.deco-icon-top-left {
  position: absolute;
  top: 8px;
  left: 9px;
  opacity: 0.5;
  width: 48.61px;
  height: 48.61px;
  pointer-events: none;
}
.background-graphics {
  position: absolute;
  bottom: -80px;
  left: -100px;
  z-index: 0;
  opacity: 0.3;
  pointer-events: none;
}
.card-content-popup {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 20px 24px 35px;
}
.card-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.title {
  font-family: "Readex Pro", sans-serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 40px;
  text-align: center;
  background: linear-gradient(203deg, #1d8688 0%, #0f212a 194.86%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
  max-width: 382px;
}
.coming-soon {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 15px 12px;
  background-color: rgba(255, 255, 255, 0.11);
  border-radius: 100px;
}
.coming-soon span {
  font-family: "Readex Pro", sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 15px;
  color: #cacaca;
}
.coming-soon img {
  width: 16px;
  height: 16px;
}
.details-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: 100%;
  max-width: 744px;
}
.detail-section {
  display: block;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  width: 100%;
}
.section-title {
  font-family: "Readex Pro", sans-serif;
  font-weight: 500;
  font-size: 15.6px;
  line-height: 24px;
  color: #ffffff;
  text-align: right;
  margin: 0;
}
.section-text {
  font-family: "Readex Pro", sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 20px;
  color: #a4a4a4;
  text-align: right;
  margin: 0;
}
.tags-container {
  display: flex;
  flex-direction: row;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.tag {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  font-weight: 300;
  font-size: 15.89px;
  line-height: 1.25;
}
.tag img {
  width: 24px;
  height: 24px;
}
.tag--researcher {
  color: #148589;
}
.tag--student {
  color: #98744f;
}
@media (max-width: 900px) {
  .custom-modal-content.award-card {
    max-width: 98vw;
    padding: 0;
  }
  .card-content {
    padding: 24px 8px 20px;
  }
}
@media (max-width: 480px) {
  .title {
    font-size: 24px;
    line-height: 1.3;
  }
  .card-content {
    gap: 32px;
    padding: 16px 4px 12px;
  }
  .details-body {
    gap: 20px;
  }
  .detail-section {
    align-items: center;
  }
  .section-text,
  .section-title {
    text-align: center;
  }
  .tags-container {
    justify-content: center;
  }
  .background-graphics {
    display: none;
  }
}

/* Contractor Award Modal (Gold) */
.contractor-card {
  background: linear-gradient(180deg, #fbd95e 0%, #fbd95e 100%);
  border-radius: 9.65px;
  box-shadow: 0 8px 32px rgba(251, 217, 94, 0.15);
  border: 1.4px solid #ffc61b;
}
.contractor-title {
  background: linear-gradient(203deg, #ebd287 0%, #ae9659 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* Implementation Award Modal (Gray) */
.implementation-card {
  background: linear-gradient(38deg, #ffffff 0%, #030303 100%);
  border-radius: 9.65px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1.4px solid #c1c1c1;
}
.implementation-title {
  background: linear-gradient(203deg, #acb2af 0%, #3f3f3f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.contractor-card-dark {
  background: linear-gradient(180deg, #0f1a20 0%, #081921 100%);
  border-radius: 9.65px;
  box-shadow: 0 8px 32px rgba(251, 217, 94, 0.1);
  border: 1.4px solid #ffc61b;
  position: relative;
  overflow: overlay;
}
.contractor-title-gold {
  background: linear-gradient(203deg, #ebd287 0%, #ae9659 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 500;
  font-size: 32px;
  line-height: 40px;
  margin: 0;
  text-align: center;
  max-width: 433px;
}
.tag--gold {
  color: #fbd95e;
  background: rgba(251, 217, 94, 0.08);
}
.tag--purple {
  color: #7d5297;
  background: rgba(125, 82, 151, 0.08);
}
.tag--blue {
  color: #209cc2;
  background: rgba(32, 156, 194, 0.08);
}
.tag--green {
  color: #4f9b70;
  background: rgba(79, 155, 112, 0.08);
}
.modal-action {
  display: flex;
  justify-content: center;
  margin-top: 2px;
}
.modal-submit-btn {
  background: #fbd95e;
  color: #0f0c3d;
  font-family: "Readex Pro", sans-serif;
  font-size: 18px;
  font-weight: 400;
  border: none;
  border-radius: 7px;
  padding: 14px 64px;
  cursor: pointer;
  transition: background 0.2s;
  box-shadow: 0 2px 8px rgba(251, 217, 94, 0.1);
}
.modal-submit-btn:hover,
.modal-submit-btn:focus {
  background: #ffe07a;
}

.implementation-card-dark {
  background: linear-gradient(38deg, #181c1e 0%, #23282b 100%);
  border-radius: 9.65px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1.4px solid #c1c1c1;
  position: relative;
  overflow: hidden;
}
.implementation-title-dark {
  background: linear-gradient(203deg, #acb2af 0%, #3f3f3f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 500;
  font-size: 32px;
  line-height: 40px;
  margin: 0;
  text-align: center;
  max-width: 433px;
}
.info-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.11);
  border-radius: 100px;
  padding: 10px 18px;
  margin-top: 12px;
}
.info-pill .info-icon {
  width: 16px;
  height: 16px;
}
.info-pill span {
  color: #cacaca;
  font-family: "Readex Pro", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.25;
}
.tag--gray {
  color: #c5c5c5;
  background: rgba(197, 197, 197, 0.08);
}

/* Ensure all modal text is right-aligned for all three popups */
.custom-modal-content,
.award-card,
.card-content,
.details-body,
.detail-section,
.card-header,
.modal-action {
  text-align: right !important;
  direction: rtl;
}
.title,
.section-title,
.section-text,
.tag,
.info-pill,
.coming-soon,
.modal-submit-btn {
  text-align: right !important;
  direction: rtl;
}
.tags-container {
  justify-content: flex-end !important;
}
.info-pill,
.coming-soon {
  flex-direction: row-reverse !important;
}
.modal-submit-btn {
  display: inline-block;
  margin-right: 0;
  margin-left: 0;
}
@media (max-width: 600px) {
  .custom-modal-content,
  .award-card,
  .card-content,
  .details-body,
  .detail-section,
  .card-header,
  .modal-action {
    text-align: right !important;
  }
}

/* Force all modal popup text and content to be right-aligned and RTL, including flex alignment */
.modal-rtl,
.modal-rtl * {
  text-align: right !important;
  direction: rtl !important;
}
.modal-rtl .card-content {
  align-items: flex-end !important;
  text-align: right !important;
}
.modal-rtl .details-body,
.modal-rtl .detail-section,
.modal-rtl .card-header,
.modal-rtl .modal-action {
  align-items: flex-end !important;
  text-align: right !important;
}
.tags-container {
  justify-content: flex-end !important;
}
.info-pill,
.coming-soon {
  flex-direction: row-reverse !important;
}
/* Only apply display:block to .detail-section inside modals */
.modal-rtl .detail-section {
  display: block !important;
}

/* === Registration Page Styles (for register.html, RTL, Figma-matched) === */
.page-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
  direction: rtl;
}

.site-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0 0 0;
  background: none;
  position: relative;
  z-index: 10;
}

.logo-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  width: auto;
  height: auto;
  background: none;
}

.logo-icon {
  width: 72px;
  height: 52px;
  display: block;
}

.logo-text {
  font-weight: 500;
  font-size: 18px;
  color: var(--color-white);
  text-align: right;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.home-button {
  background-color: rgba(255, 255, 255, 0.29);
  border-radius: 8px;
  padding: 14px 24px;
  color: #ffffff;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  border: none;
  margin: 0;
  display: inline-block;
}

.header-divider {
  height: 1px;
  background-color: #747474;
  opacity: 0.1;
  border: none;
  margin: 0;
}

.main-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding-top: 50px;
  padding-bottom: 50px;
}

.emblem-container {
  position: relative;
  width: 650px;
  height: 787px;
  flex-shrink: 0; 
}

/* Responsive emblem container */
@media (max-width: 767px) {
  .emblem-container {
    width: 100%;
    max-width: 320px;
    height: auto;
    aspect-ratio: 650 / 787;
    margin: 0 auto;
    opacity: 0.7;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .emblem-container {
    width: 100%;
    max-width: 450px;
    height: auto;
    aspect-ratio: 650 / 787;
    opacity: 0.6;
  }
}

@media (min-width: 1024px) and (max-width: 1200px) {
  .emblem-container {
    width: 500px;
    height: 607px;
  }
}

.emblem-img {
  position: absolute;
}

/* Responsive emblem images */
@media (max-width: 767px) {
  .emblem-img {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: auto !important;
    transform: none !important;
    filter: none !important;
  }
  
  /* Stack images vertically on mobile */
  .emblem-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}

.registration-form-container {
  width: 477px;
  background: linear-gradient(180deg, rgba(114, 114, 114, 0.1) 0%, rgba(3, 3, 3, 0.1) 100%);
  border-radius: 8.69px;
  padding: 48px 32px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  direction: rtl;
  flex-shrink: 0;
}

.form-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-title {
  margin: 0;
  color: #ffffff;
  font-weight: 500;
  font-size: 24px;
  line-height: 1;
}

.form-subtitle {
  margin: 0;
  color: #aeaeae;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.71;
}

.registration-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.form-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.form-label {
  color: #ffffff;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.43;
  display: flex;
  gap: 4px;
}

.required-asterisk {
  color: #ff695e;
  font-weight: 600;
}

.form-input {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid #9da4ae;
  border-radius: 4px;
  padding: 12px 16px;
  color: #ffffff;
  font-family: "Readex Pro", sans-serif;
  font-size: 14px;
  text-align: right;
  direction: rtl;
}

.form-input::placeholder {
  color: #6c737f;
  font-size: 12px;
  text-align: right;
  direction: rtl;
}

.recaptcha-img {
  max-width: 100%;
  height: auto;
  border-radius: 9px;
}

.submit-button {
  width: 100%;
  background-color: #aa812c;
  border: none;
  border-radius: 4px;
  padding: 14px 0;
  color: #ffffff;
  font-family: "Readex Pro", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.43;
  cursor: pointer;
  text-align: center;
}

.form-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.footer-divider {
  width: 390px;
  max-width: 100%;
  height: 1px;
  background-color: rgba(116, 116, 116, 0.1);
}

.footer-text {
  margin: 0;
  color: #aeaeae;
  font-weight: 400;
  font-size: 12px;
  line-height: 2;
}

@media (max-width: 1100px) {
  .main-content {
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
  }
  .emblem-container {
    position: absolute;
    --top: 200px;
    left: 50%;
    transform: translateX(-50%) scale(0.6);
    z-index: -1;
    opacity: 1;
  }
  .registration-form-container {
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .page-container {
    padding: 0 16px;
  }
  .site-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0 0 0;
  }
  .ulSmall{
     flex-direction: row !important;
        justify-content: space-around;
  }
  .logo-container {
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
  }
  .logo-icon {
    width: 48px;
    height: 36px;
  }
  .logo-text {
    font-size: 14px;
    gap: 1px;
  }
  .home-button {
    font-size: 14px;
    padding: 10px 16px;
  }
  .emblem-container {
    display: block;
    overflow: visible !important;
    top: 0px !important;
  }
  .hero-title-block {
    top:100px;
    align-items: flex-end;
    justify-content: flex-start;
  }
      .card-icon {
        width: 81px !important;
    }
  .registration-form-container {
    width: 100%;
    padding: 32px 16px;
  }
}

.header-right-group {
    display: flex
;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    width: 20%;
    float: right;
}

.logo-icon {
  width: 72px;
  height: 52px;
  display: block;
}

.logo-text {
  font-weight: 500;
  font-size: 18px;
  color: var(--color-white);
  text-align: right;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.site-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0 0 0;
  background: none;
  position: relative;
  z-index: 10;
}

.home-button {
  background-color: rgba(255, 255, 255, 0.29);
  border-radius: 8px;
  padding: 14px 24px;
  color: #ffffff;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  border: none;
  margin: 0;
  display: inline-block;
}

@media (max-width: 768px) {
  .site-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0 0 0;
  }
  .header-right-group {
    gap: 8px;
  }
  .logo-icon {
    width: 48px;
    height: 36px;
  }
  .logo-text {
    font-size: 14px;
    gap: 1px;
  }
  .home-button {
    font-size: 14px;
    padding: 10px 16px;
  }
}

#registration {
  padding: 0;
}

/* Header styles from OTP page for global use */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  position: relative;
  z-index: 10;
}
.logo-container {
  position: relative;
  width: 143px;
  height: 67px;
}
.logo-container img,
.logo-container .logo-group-2 {
  position: absolute;
}
.logo-img-1 {
  left: 5px;
  top: 5px;
  width: 79px;
  height: 58px;
}
.logo-group-2 {
  left: 91px;
  top: 2px;
  width: 47px;
  height: 62px;
}
.logo-group-2 img {
  position: absolute;
}
.logo-img-2 {
  top: 35.45px;
  left: 0.51px;
  width: 37.58px;
  height: 3.71px;
}
.logo-img-3 {
  top: 5.43px;
  left: 0px;
  width: 46.55px;
  height: 11.37px;
}
.logo-img-4 {
  top: 0px;
  left: 17.61px;
  width: 11.34px;
  height: 3.15px;
}
.logo-img-5 {
  top: 31.11px;
  left: 23.26px;
  width: 0.03px;
  height: 0.28px;
}
.logo-img-6 {
  top: 34.97px;
  left: 21.86px;
  width: 2.83px;
  height: 2.83px;
}
.logo-img-7 {
  top: 44.33px;
  left: 8.34px;
  width: 29.87px;
  height: 21.56px;
}
.logo-img-8 {
  top: 44.33px;
  left: 8.34px;
  width: 29.87px;
  height: 21.55px;
}
.logo-img-9 {
  top: 50.48px;
  left: 21.42px;
  width: 3.7px;
  height: 41.86px;
}
.home-button {
  background-color: rgba(255, 255, 255, 0.29);
  border-radius: 8px;
  padding: 14px 14px;
  color: #ffffff;
  font-family: "Readex Pro", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  text-align: center;
  text-decoration: none;
  min-width: 148px;
}
@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    gap: 20px;
  }
}

/* OTP Page Specific Styles */
.main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 20px;
  padding: 0 32px;
  margin-top: -130px; /* Overlap with header */
}

.decorative-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.5;
  height: 100%;
}

.decorative-image-wrapper {
  position: relative;
  width: 650px;
  height: 787px;
}

.decorative-image-wrapper img {
  position: absolute;
  object-fit: contain;
}

.form-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.otp-form-card {
  background: linear-gradient(180deg, rgba(114, 114, 114, 0.1) 0%, rgba(3, 3, 3, 0.1) 100%);
  border-radius: 8.69px;
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 100%;
  max-width: 477px;
}

.otp-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 100%;
}

.otp-inputs {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  max-width: 389px;
}

.otp-input {
  width: 44px;
  height: 44px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background-color: transparent;
  color: #ffffff;
  font-family: "Cairo", sans-serif;
  font-size: 18px;
  text-align: center;
  line-height: 44px;
}

.otp-input:focus {
  outline: none;
  border: 2px solid #aa812c;
  box-shadow: 0 0 0 3px rgba(251, 217, 94, 0.35);
}

.resend-prompt {
  font-family: "Readex Pro", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
  color: #aeaeae;
  margin: 0;
}

.resend-link {
  color: #aa812c;
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .main-grid {
    grid-template-columns: 1fr;
    margin-top: 20px;
    gap: 40px;
  }
  .decorative-image-container {
    order: 2;
    opacity: 0.3;
  }
  .form-wrapper {
    order: 1;
  }
  .decorative-image-wrapper {
    transform: scale(0.8);
  }
}

@media (max-width: 576px) {
  .otp-form-card {
    padding: 24px 16px;
  }
  .otp-inputs {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }
  .otp-input {
    width: 40px;
    height: 40px;
  }
  .decorative-image-wrapper {
    transform: scale(0.6);
    margin-top: -150px;
  }
}
.padding-0 {
  padding: 0;
}
.top-navbar {
  width: 100%;
}
/* Method 1: Using Media Queries */

body {
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

@media (min-width: 1024px) {
  body {
    width: 80%;
    max-width: 1200px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  body {
    width: 100%;
  }
}
@media (max-width: 767px) {
  body {
    width: 100%;
  }
}
@media (min-width: 1024px) {
  header {
    width: 80%;
    max-width: 1200px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  header {
    width: 100%;
  }
}

@media (max-width: 767px) {
  header {
    width: 100%;
  }
}
header {
  margin: auto;
}

/* ============================================= */
/* Method 2: Simplified Version */
/* ============================================= */

/*
body {
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

@media (min-width: 1024px) {
  body {
    width: 80%;
    max-width: 1200px;
  }
}
*/

/* ============================================= */
/* Method 3: Using CSS Container with Padding */
/* ============================================= */

/*
body {
  margin: 0;
  padding: 0;
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 1024px) {
  .container {
    width: 80%;
    max-width: 1200px;
    padding: 0;
  }
}
*/

/* ============================================= */
/* COMPREHENSIVE RESPONSIVE DESIGN */
/* ============================================= */

/* Base responsive breakpoints */
/* Mobile: 320px - 767px */
/* Tablet: 768px - 1023px */
/* Desktop: 1024px+ */

/* Enhanced Container Responsiveness */
.container {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 4vw, 40px);
  padding-right: clamp(16px, 4vw, 40px);
  width: 100%;
}

/* ============================================= */
/* HEADER SECTION RESPONSIVE */
/* ============================================= */

/* Mobile Header (320px - 767px) */
@media (max-width: 768px) {
  .top-navbar {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-direction: row !important;
    width: 100%;
    max-width: 100vw;
    left: 0;
    transform: none;
    padding: 16px 20px;
    position: fixed;
    top: 0;
    background: linear-gradient(180deg, var(--color-bg-dark-1) 0%, var(--color-bg-dark-2) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    height: 70px;
  }
  
  /* Hide desktop navigation on mobile */
  .desktop-nav {
    display: none !important;
  }
  
  /* Show mobile hamburger button - positioned on the left */
  .mobile-menu-toggle {
    display: flex !important;
    flex-shrink: 0 !important;
    align-self: flex-start !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    position: absolute !important;
    left: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
  }
  
  /* Show mobile logo - positioned on the right */
  .mobile-logo {
    display: flex !important;
    flex-direction: row-reverse !important;
    align-items: center !important;
    gap: 12px !important;
    flex-shrink: 0 !important;
    position: absolute !important;
    right: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
  }
  
  .mobile-logo .logo-icon {
    width: 48px;
    height: 36px;
    flex-shrink: 0;
  }
  
  .mobile-logo .logo-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-white);
    text-align: right;
    line-height: 1.1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    white-space: nowrap;
  }
  
  .mobile-logo .logo-text span {
    display: block;
    font-size: 14px;
    line-height: 1.1;
    text-align: right;
  }
  
  /* Adjust hero section padding to account for fixed header */
  .hero-section {
    padding-top: 70px;
  }
}

/* Tablet Header (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .top-navbar {
    padding: 16px 24px;
    gap: 20px;
  }
  
  .logo-icon {
    width: 60px;
    height: 44px;
  }
  
  .logo-text {
    font-size: 16px;
  }
  
  .main-nav {
    gap: 24px;
  }
  
  .main-nav li a {
    font-size: 15px;
    padding: 8px 12px;
  }
  
  .signup-btn-nav {
    background: rgba(255, 255, 255, 0.29) !important;
    border-radius: 7.2px !important;
    padding: 10px 20px !important;
    font-size: 14px !important;
  }
}

/* Desktop Header (1024px+) */
@media (min-width: 1024px) {
  .top-navbar {
    padding: 18px 40px;
  }
}

/* ============================================= */
/* HERO SECTION RESPONSIVE */
/* ============================================= */

/* Mobile Hero */
@media (max-width: 1023px) {
  .hero-section {
    min-height: 70vh;
    padding: 20px 0;
    width: 100vw;
    overflow-x: hidden;
  }
  
  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 24px;
    padding: 0 16px;
    width: 100%;
    max-width: 100vw;
  margin: 0 auto;
    overflow: hidden;
}

  .hero-title-main {
    font-size: clamp(32px, 8vw, 48px);
    line-height: 1.2;
    width: 100%;
    margin: 0;
  }
  
  .emblem-container {
    width: 100%;
    max-width: 280px;
    height: auto;
    margin: 0 auto;
    overflow: hidden;
  }
  
  .emblem-img {
    max-width: 100%;
    height: auto;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: scale(0.6);
    margin: 0 auto;
    display: block;
  }
}

/* Tablet Hero */
/* @media (min-width: 768px) and (max-width: 1023px) {
  .hero-section {
    min-height: 80vh;
  }
  
  .hero-inner {
    flex-direction: row;
    gap: 32px;
    padding: 0 24px;
  }
  
  .hero-title-main {
    font-size: clamp(48px, 6vw, 64px);
  }
  
  .emblem-container {
    flex: 0 0 400px;
    height: 400px;
  }
  
  .emblem-img {
    transform: scale(0.95);
  }
} */

/* Desktop Hero */
@media (min-width: 1024px) {
  .hero-inner {
    gap: 48px;
    min-height: 60vh;
  }
  
  .hero-title-main {
    font-size: clamp(64px, 5vw, 80px);
  }
}

/* ============================================= */
/* ABOUT SECTION RESPONSIVE */
/* ============================================= */

@media (max-width: 767px) {
  .about-section {
    padding: 40px 0;
  }
  
  .about-title {
    font-size: clamp(24px, 6vw, 32px);
    margin-bottom: 16px;
  }
  
  .about-text {
    font-size: clamp(14px, 4vw, 16px);
    line-height: 1.6;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .about-section {
    padding: 60px 0;
  }
  
  .about-title {
    font-size: 36px;
    margin-bottom: 20px;
  }
  
  .about-text {
    font-size: 16px;
    line-height: 1.7;
  }
}



/* ============================================= */
/* TRACKS SECTION RESPONSIVE */
/* ============================================= */

@media (max-width: 767px) {
  .tracks-section {
    padding: 40px 0;
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
  }
  
  .tracks-title {
    font-size: clamp(24px, 6vw, 32px);
    margin-bottom: 24px;
    text-align: center;
    width: 100%;
  }
  
  .tracks-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    padding: 0 16px;
    margin: 0 auto;
  }
  
  .track-card {
    padding: 20px;
    margin: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 16px;
  }
  
  .track-title {
    font-size: clamp(16px, 4vw, 18px) !important;
    margin-bottom: 12px;
  }
  
  .track-desc {
    font-size: clamp(12px, 3vw, 14px);
    line-height: 1.5;
    margin-bottom: 12px;
  }
  
  .track-card p {
    font-size: clamp(11px, 3vw, 12px);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .tracks-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .track-card:nth-child(3) {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (min-width: 1024px) {
  .tracks-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

/* ============================================= */
/* STAGES SECTION RESPONSIVE */
/* ============================================= */

@media (max-width: 767px) {
  .stages-section {
    padding: 40px 0;
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
  }
  
  .stages-title {
    font-size: clamp(24px, 6vw, 32px);
    margin-bottom: 24px;
    text-align: center;
  }
  
  .timeline {
    margin-bottom: 30px;
    overflow: visible;
    height: auto;
  }
  
  .timeline-list {
    flex-direction: column;
    gap: 20px;
    height: auto;
    overflow: visible;
    display: flex !important;
  }
  
  .timeline-item {
    text-align: left;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    align-items: center;
    gap: 16px;
  }
  
  .timeline-dot {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    position: relative;
    top: 0;
    left: 0;
    transform: none;
  }
  
  .timeline-label {
    font-size: clamp(12px, 3vw, 14px);
    margin-top: 0;
    flex: 1;
    text-align: left;
    white-space: normal;
    word-wrap: break-word;
    position: relative;
    top: 0;
    left: 0;
    transform: none;
  }
  
  .stage-cards-container {
    gap: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }
  
  .stage-card {
    padding: 20px;
    flex-direction: column;
    text-align: center;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .stage-icon-wrapper {
    margin-bottom: 16px;
  }
  
  .stage-header h3 {
    font-size: clamp(16px, 4vw, 18px);
    margin-bottom: 12px;
  }
  
  .stage-date {
    font-size: clamp(12px, 3vw, 14px);
    margin-bottom: 16px;
  }
  
  .stage-details p {
    font-size: clamp(12px, 3vw, 14px);
    line-height: 1.6;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .stage-card {
    padding: 20px;
    flex-direction: row;
    gap: 16px;
  }
}

/* ============================================= */
/* FAQ SECTION RESPONSIVE */
/* ============================================= */

@media (max-width: 767px) {
  .faq-section {
    padding: 40px 0;
  }
  
  .faq-title {
    font-size: clamp(24px, 6vw, 32px);
    margin-bottom: 24px;
  }
  
  .faq-accordion {
    gap: 12px;
  }
  
  .faq-question {
    font-size: clamp(14px, 4vw, 16px);
    padding: 16px;
  }
  
  .faq-answer {
    font-size: clamp(12px, 3vw, 14px);
    padding: 12px 16px 16px;
    line-height: 1.6;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .faq-question {
    font-size: 16px;
    padding: 18px 20px;
  }
  
  .faq-answer {
    font-size: 14px;
    padding: 16px 20px 20px;
  }
}

/* ============================================= */
/* FOOTER SECTION RESPONSIVE */
/* ============================================= */

@media (max-width: 767px) {
  .footer-section {
    padding: 40px 0 0;
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
  }
  
  .footer-container {
    flex-direction: column;
    gap: 30px;
    text-align: center;
    width: 100%;
    max-width: 100%;
    padding: 0 16px;
    margin: 0 auto;
    box-sizing: border-box;
  }
  
  .footer-about {
    margin-bottom: 20px;
  }
  
  .footer-logo {
    width: clamp(120px, 30vw, 160px);
    height: auto;
    margin: 0 auto 16px;
  }
  
  .footer-about p {
    font-size: clamp(12px, 3vw, 14px);
    line-height: 1.6;
  }
  
  .footer-links-group {
    flex-direction: column;
    gap: 24px;
  }
  
  .footer-links h4 {
    font-size: clamp(14px, 4vw, 16px);
    margin-bottom: 12px;
  }
  
  .footer-links a {
    font-size: clamp(12px, 3vw, 14px);
  }
  
  .footer-social a {
    font-size: clamp(12px, 3vw, 14px);
    gap: 8px;
  }
  
  .social-icon {
    width: 20px;
    height: 20px;
  }
  
  .footer-bottom-container {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  
  .footer-bottom-container p,
  .footer-bottom-container a {
    font-size: clamp(10px, 3vw, 12px);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .footer-container {
    gap: 40px;
  }
  
  .footer-links-group {
    flex-direction: row;
    gap: 32px;
  }
}

/* ============================================= */
/* MODAL RESPONSIVE */
/* ============================================= */

@media (max-width: 767px) {
  .custom-modal-content {
    width: 95%;
    max-width: none;
    margin: 20px auto;
    padding: 20px;
  }
  
  .title {
    font-size: clamp(18px, 5vw, 22px);
    margin-bottom: 16px;
  }
  
  .section-title {
    font-size: clamp(14px, 4vw, 16px);
    margin-bottom: 8px;
  }
  
  .section-text {
    font-size: clamp(12px, 3vw, 14px);
    line-height: 1.6;
  }
  
  .tags-container {
    gap: 8px;
    display: flex;
    flex-direction: row-reverse;
  }
  
  .tag {
    font-size: clamp(10px, 3vw, 12px);
    padding: 6px 10px;
  }
  
  .modal-submit-btn {
    width: 100%;
    font-size: clamp(14px, 4vw, 16px);
    padding: 12px;
  }
}

/* ============================================= */
/* UTILITY CLASSES FOR RESPONSIVE */
/* ============================================= */

.mobile-only {
  display: block;
}

.tablet-only,
.desktop-only {
  display: none;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .mobile-only {
    display: none;
  }
  
  .tablet-only {
    display: block;
  }
  
  .desktop-only {
    display: none;
  }
}

@media (min-width: 1024px) {
  .mobile-only,
  .tablet-only {
    display: none;
  }
  
  .desktop-only {
    display: block;
  }
}

/* ============================================= */
/* SMOOTH TRANSITIONS FOR RESPONSIVE */
/* ============================================= */

* {
  transition: font-size 0.3s ease, padding 0.3s ease, margin 0.3s ease;
}

/* Prevent horizontal scroll on small screens */
html, body {
 --overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

* {
  max-width: 100%;
  box-sizing: border-box;
}

/* Ensure images are responsive by default */
img {
  max-width: 100%;
  height: auto;
}

/* Responsive text scaling */
.responsive-text {
  font-size: clamp(14px, 2.5vw, 18px);
}

.responsive-title {
  font-size: clamp(24px, 5vw, 48px);
}

.responsive-subtitle {
  font-size: clamp(18px, 3.5vw, 32px);
}

/* ============================================= */
/* ULTRA SMALL SCREENS FIX (320px and below) */
/* ============================================= */

@media (max-width: 320px) {
  html, body {
    width: 320px;
    max-width: 320px;
    overflow-x: hidden;
  }
  
  .container {
    width: 320px;
    max-width: 320px;
    padding-left: 12px;
    padding-right: 12px;
    margin: 0 auto;
  }
  
  section {
    width: 320px;
    max-width: 320px;
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
  }
  
  .hero-inner {
    width: 320px;
    max-width: 320px;
    padding: 0 12px;
  }
  
  .hero-title-main {
    font-size: clamp(20px, 6vw, 28px);
    margin: 0;
  }
  
  .emblem-container {
    max-width: 240px;
    margin: 0 auto;
  }
  
  .emblem-img {
    transform: scale(0.5);
  }
  
  .tracks-grid {
    width: 296px;
    max-width: 296px;
    padding: 0 12px;
    margin: 0 auto;
  }
  
  .track-card {
    width: 272px;
    max-width: 272px;
    margin: 0 auto;
  }
  
  .objectives-section {
    width: 320px;
    max-width: 320px;
    padding: 30px 12px;
  }
  
  .footer-container {
    width: 296px;
    max-width: 296px;
    padding: 0 12px;
  }
}
/* في ملف global.css */

/*
   =============
   Top Navbar
   =============
*/

.top-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 10px; /* Padding for larger screens */
  position: relative;
  z-index: 100;
  max-width: 1440px; /* Limit max width for content */
  margin: 0 auto; /* Center the content */
}
 /* In your global.css */

/* --- Default styles for main-nav (large screens) --- */
.main-nav {
  display: flex;
  justify-content: flex-end; /* Adjust as needed */
  align-items: center;
  gap: 5px; /* Space between navigation items */
  list-style: none; /* Remove bullet points */
  padding: 0;
  margin: 0;
}

/* --- Styles for links within main-nav --- */
.main-nav li a {
  /* Existing styles for your links */
  color: var(--color-white);
  text-decoration: none;
  font-size: 16px; /* Example default font size */
  padding: 8px 15px; /* Example padding */
  white-space: nowrap; /* Prevent links from wrapping */
  cursor: pointer;
}

/* --- Signup button within main-nav --- */
.main-nav .signup-btn {
  /* Your existing signup-btn styles */
  background: rgba(255, 255, 255, 0.29);
  border-radius: 7.2px;
  font-size: 14.4px;
  color: #fff;
  text-align: center;
  line-height: 43.2px;
  padding: 0 18px;
  transition: background-color 0.3s ease;
  white-space: nowrap; /* Prevent button text from wrapping */
}

/* ============================================= */
/* Media Query for SMALL SCREENS (e.g., max-width: 768px) */
/* This is where you would try to force one row (if you must) */
/* ============================================= */
@media (max-width: 768px) { /* Adjust breakpoint as needed */

  .top-navbar {
    /* Keep flex-direction: column for the main header elements */
    flex-direction: column;
    align-items: center;
    padding: 0px 0px; /* Adjust header padding for very small screens */
    gap: 15px; /* Space between logo group and nav */
  }

  .header-right-group {
    /* Ensure logo and text are centered and properly aligned */
    flex-direction: row; /* Keep logo and text side by side */
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 16px; /* Space between logo and text */
  }

  .logo-icon {
    width: 60px; /* Slightly smaller but still visible */
    height: 44px;
    flex-shrink: 0;
  }

  .logo-text {
    font-size: 16px; /* Keep a reasonable size, not too small */
    font-weight: 500;
    color: var(--color-white);
    text-align: right;
    line-height: 1.1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    white-space: nowrap; /* Prevent text wrapping */
  }

  .logo-text span {
    display: block;
    font-size: 16px; /* Maintain consistent size */
    line-height: 1.1;
  }

  /* --- Force main-nav items into one row (CAUTION!) --- */
  .main-nav {
    display: flex; /* Keep flex display */
    flex-direction: row; /* Keep it as a row */
    flex-wrap: wrap; /* Allow items to wrap if absolutely necessary */
    justify-content: flex-end; /* Center items within the row */
    gap: 8px; /* Reasonable gap */
    width: 100%; /* Take full width of parent */
    padding: 0 5px; /* Reduce horizontal padding */
    margin-top: 10px; /* Adjust spacing from element above */
  }

  /* Reduce font size and padding for individual nav links */
  .main-nav li a {
    font-size: 12px; /* Readable but compact */
    padding: 6px 10px; /* Reasonable padding */
    white-space: nowrap; /* Prevent text wrapping */
  }

  /* Reduce font size and padding for the signup button */
  .main-nav .signup-btn {
    font-size: 12px; /* Consistent with nav links */
    padding: 0 12px; /* Reasonable button padding */
    line-height: 32px; /* Proper line height */
    height: 32px; /* Appropriate button height */
    border-radius: 6px; /* Slightly smaller radius */
  }
}

/* Additional responsive styles for very small screens */
@media (max-width: 480px) {
  .top-navbar {
    padding: 12px 8px;
    gap: 12px;
  }

  .header-right-group {
    gap: 12px;
  }

  .logo-icon {
    width: 50px;
    height: 37px;
  }

  .logo-text {
    font-size: 14px;
  }

  .logo-text span {
    font-size: 14px;
  }

  .main-nav {
    gap: 6px;
    padding: 0 3px;
  }

  .main-nav li a {
    font-size: 11px;
    padding: 5px 8px;
  }

  .main-nav .signup-btn {
    font-size: 11px;
    padding: 0 10px;
    line-height: 28px;
    height: 28px;
  }
}

/* Enhanced responsive objectives section */


 .tags-container {
    justify-content: flex-start !important;
}

li{
  padding-top: 10px;
}