
.page-hero {
  padding: 120px 0;
  background: url("../images/gap_landing.jpg") no-repeat center center;
  background-size: cover;
  color: white;
  height: 80vh;
  align-items: center;
	display: flex;
  align-content: center;
  position: relative;
  overflow: hidden;
   height: 80vh;
  align-items: 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%);


}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 700;

  color: var(--text-light); /* Override for hero */
}

.page-hero .lead {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-light);
}

.section {
  padding: 4rem 0;
}

.section-bg {
  background-color: var(--bg-light);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  position: relative;
  padding-bottom: 10px;
}

/*.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--accent-color);
  border-radius: 5px;
} */

.partner-logo {
  max-height: 100px;
  max-width: 100%;
  object-fit: contain;
}

.card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.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;
}

.cta-section h2 {
  color: rgba(14, 43, 99, 1);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}


.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;
}
.institution-item {
  flex-basis: 22%; /* Adjust as needed for spacing */
  margin: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.institution-logo {
  max-width: 80px; /* Adjust the size of the logos as needed */
  height: auto;
  margin-bottom: 10px;
}


/* For smaller screens, adjust the flex-basis to allow more items per row */
@media (max-width: 768px) {
  .institution-item {
    flex-basis: 45%; /* Two items per row on medium screens */
  }
}

@media (max-width: 576px) {
  .institution-item {
    flex-basis: 90%; /* One item per row on small screens */
  }
}
/* Styles for objective icons */
.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);
}

/* Styles for Application Process (adapted from Stages of Competition) */
.process-step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  position: relative;
}

.process-step-icon {
  width: 50px;
  height: 50px;
  min-width: 50px; /* Prevent shrinking */
  min-height: 50px; /* Prevent shrinking */
  background-color: rgba(0, 79, 159, 1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-right: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1; /* Ensure icon is above line */
}

.process-step-content {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 1.5rem;
  flex-grow: 1;
}

.process-step-content h4 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.process-line {
  position: absolute;
  left: 24px; /* Adjust to align with center of icons */
  top: 60px; /* Start below the first icon */
  bottom: 0; /* Extend to the bottom */
  width: 2px;
  background-color: rgba(217, 217, 217, 1);
  z-index: 0;
}

@media (max-width: 768px) {
  .process-line {
    display: none; /* Hide line on small screens for simpler layout */
  }
  .process-step {
    margin-bottom: 20px;
  }
  .process-step-icon {
    margin-bottom: 15px;
    margin-right: 0; /* Remove horizontal margin */
  }
  .process-step-content {
    margin-left: 0; /* Remove horizontal margin */
    width: 100%;
  }
  
  .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 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);
}

/* Filters Container */
.filters {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.school-filter,
.year-filter {
  display: flex;
  align-items: center;
  gap: 10px;
}

.school-filter label,
.year-filter label {
  font-size: 15px;
  font-weight: 600;
  color: #1f2937;
  white-space: nowrap;
  margin: 0;
}

.school-select,
.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;
}

.school-select:hover,
.year-select:hover {
  border-color: var(--primary-color);
  background-color: #f9fafb;
}

.school-select:focus,
.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;
}

/* 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;
}

/* Year Filter Wrapper - Keep for legacy support */
.year-filter-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 3rem;
}

.year-filter-wrapper label {
  font-size: 16px;
  font-weight: 500;
  color: #374151;
  white-space: nowrap;
}

.year-select {
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 16px;
  padding: 8px 15px;
  min-width: 120px;
  background-color: white;
  cursor: pointer;
}

.year-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(30, 60, 114, 0.1);
}

.year-select:hover {
  border-color: #9ca3af;
}

/* Winners Carousel */
.winners-carousel {
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1rem 0 1rem 0;
  gap: 1.5rem;
  scroll-snap-type: x mandatory;
  align-items: flex-start;
  justify-content: center;
}

.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 */
.winner-card-container {
  flex: 0 0 auto;
  width: 280px;
  scroll-snap-align: start;
  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) {
  .year-filter-wrapper {
    flex-direction: column;
    gap: 10px;
  }

  .year-select {
    width: 100%;
    min-width: unset;
  }

  .winner-card-container {
    width: 250px;
  }

  .winner-image {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 480px) {
  .winner-card-container {
    width: 220px;
    padding: 1rem;
  }

  .winner-image {
    width: 100px;
    height: 100px;
    border-width: 3px;
  }

  .winner-name {
    font-size: 0.95rem;
  }

  .winner-business {
    font-size: 0.85rem;
  }

  .btn-view-details {
    padding: 6px 12px;
    font-size: 0.85rem;
  }
}