.page-hero {
  padding: 120px 0;
  background: url("../images/home_cover.jpg") no-repeat center center;
  background-size: 100% 100%;
  color: white;
  height: 80vh;
  display: flex;
  align-items: center;
  align-content: center;
}

.page-hero::before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0, 28, 119, 0.45) 47%, rgba(0, 60, 255, 0.1) 78%);

  /* background-color: rgba(2, 32, 105, 0.5); */
}
.page-hero h1 {
  font-weight: 700;
  font-size: 3.5rem;
}
.page-hero .lead {
  font-weight: 700;
  font-size: 28px;
  color: var(--text-light);
}

.section {
  padding: 80px 0;
}

.section-title {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
}
.lead {
  font-weight: 400;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0%;
}

.section-bg {
  background-color: var(--background-color);
}

.prize-card {
  text-align: center;
  padding: 2.5rem;
  border-radius: 15px;
  background-color: #fff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%; /* Ensure cards are same height */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.prize-card .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.prize-card h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.prize-card p {
  color: var(--text-dark);
}

.winner-card {
  text-align: center;
  padding: 1.5rem;
}

.winner-card img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid var(--accent-color);
  margin-bottom: 1rem;
}

.winner-card h5 {
  margin-bottom: 0.25rem;
}

.cta-section {
  /* background-color: var(--primary-color); */
  color: rgba(0, 0, 0, 1);
  text-align: center;
  padding: 5rem 0;
  font-family: Montserrat;
  font-weight: 500;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
}

.cta-section h2 {
  color: rgba(14, 43, 99, 1);
  margin-bottom: 1.5rem;
  font-family: Montserrat;
  font-weight: 700;
  font-size: 48px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
}

.btn-apply {
  background-color: rgba(0, 79, 159, 1);
  color: white;
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn-apply:hover {
  background-color: var(--primary-color);
  color: var(--text-light);

  /* color: var(--primary-color); */
  transform: translateY(-2px);
}
.list-item-icon {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-right: 0.75rem;
}

.objective-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem;
}

.objective-item .icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.objective-item p {
  font-weight: 500;
  color: var(--primary-color);
}
.timeline {
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: rgba(217, 217, 217, 1);
  transform: translateX(-50%);
  border-radius: 2px;
}

.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  position: relative;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item-content {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 20px;
  position: relative;
  width: calc(50% - 30px); /* Adjust for the line and circle */
}

.timeline-item:nth-child(even) .timeline-item-content {
  margin-right: auto;
}

.timeline-item:nth-child(odd) .timeline-item-content {
  margin-left: auto;
}

.timeline-item-dot {
  width: 25px;
  height: 25px;
  background-color: rgba(0, 79, 159, 1);
  border-radius: 50%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  border: 4px solid white; /* To make it pop from the line */
}

.timeline-item-title {
  font-weight: 700;
  color: rgba(14, 43, 99, 1);
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0%;
}
.winners-carousel {
  display: flex;
  overflow-x: auto; /* Enable horizontal scrolling */
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
  padding: 0 2rem 1rem; /* Space for scrollbar */
  gap: 1.5rem; /* Space between winner cards */
  scroll-snap-type: x mandatory; /* Snap to cards */
  justify-content: space-around; /* Align items to the start */
  align-items: flex-start; /* Align items to the top */
}

.winner-card-container {
  flex: 0 0 auto; /* Prevent cards from shrinking */
  width: 280px; /* Fixed width for each card, adjust as needed */
  scroll-snap-align: start; /* Snap point at the start of each card */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  height: 16em;
  overflow: hidden;
}

.winner-card-container:hover {
  transform: translateY(-5px);
}

.winner-card-container img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--accent-color);
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.winner-card-container h5 {
  margin-bottom: 0.25rem;
  color: var(--primary-color);
  font-weight: 600;
}

.winner-card-container p {
  color: var(--text-dark);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
    transform: translateX(0);
  }
  .timeline-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .timeline-item-content {
    width: calc(100% - 50px);
    margin-left: 50px !important; /* Ensure it's always on the right */
  }
  .timeline-item-dot {
    left: 20px;
    transform: translate(-50%, -50%);
    top: 0; /* Align dot to the top of the content */
    margin-top: 20px; /* Adjust as needed for vertical alignment */
  }
  .winners-carousel {
    justify-content: initial; /* Allow content to scroll fully */
  }
  .winner-card-container {
    width: 200px; /* Smaller card width on mobile */
  }
}

@media (max-width: 575.98px) {
	.page-hero {
		background-size: cover;
		background-position: right;
	}
  .page-hero h1 {
    font-size: 2.5rem;
  }

  .page-hero .lead {
    font-size: 20px;
  }
}

.prize-intro {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem 0;
}

.prize-intro h2 {
  font-size: 3.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.prize-intro p {
  font-size: 1.25rem;
  color: var(--text-dark);
}

.divider {
    width: 1px;
    padding: 0 !important;
    background-color: #dee2e6;
    align-self: stretch;
}

@media (max-width: 500px) {
    .divider {
        display: none; /* Hide on smaller screens */
    }
}
