.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%;
}

/* Year Filter Wrapper */
.year-filter-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 3rem;
}

.year-filter-wrapper label {
  font-size: 15px;
  font-weight: 600;
  color: #1f2937;
  white-space: nowrap;
  margin: 0;
}

.year-select {
  border: 2px solid #e5e7eb;
  border-radius: 6px;
  font-size: 15px;
  padding: 10px 14px;
  min-width: 150px;
  background-color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #374151;
}

.year-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(30, 60, 114, 0.15);
  background-color: white;
}

.year-select:hover {
  border-color: var(--primary-color);
  background-color: #f9fafb;
}

/* View All Link Wrapper */
.view-all-link-wrapper {
  text-align: right;
  margin-top: 2rem;
}

.view-all-link-wrapper a {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.view-all-link-wrapper a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.winners-carousel {
  display: flex;
  overflow-x: auto; /* Enable horizontal scrolling */
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
  padding: 1rem 0 1rem 0; /* Space for scrollbar */
  gap: 1.5rem; /* Space between winner cards */
  scroll-snap-type: x mandatory; /* Snap to cards */
  justify-content: center;
  align-items: flex-start; /* Align items to the top */
}

.winners-carousel::-webkit-scrollbar {
  height: 6px;
}

.winners-carousel::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.winners-carousel::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
}

.winners-carousel::-webkit-scrollbar-thumb:hover {
  background: #1e3c72;
}

.winners-carousel.no-data {
  justify-content: center;
  min-height: 200px;
  display: flex;
  align-items: center;
}

.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, box-shadow 0.3s ease;
}

.winner-card-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.winner-image {
  width: 140px;
  height: 140px;
  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-name {
  margin-bottom: 0.5rem;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.3;
}

.winner-business {
  color: rgba(102, 126, 234, 1);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.btn-view-details {
  display: inline-block;
  padding: 8px 16px;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 0.5rem;
}

.btn-view-details:hover {
  background-color: #1e3c72;
  transform: translateY(-2px);
  text-decoration: none;
  color: white;
}

@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 */
    }
}