/* Projects Hero Section */
.projects-hero {
  position: relative;
  background: url('assets/Group 7860.png') center/cover no-repeat;
  min-height: 420px;
  height: 420px;
  display: flex;
  align-items: flex-end;
}
.about-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.about-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}

/* Center-align last card if it's alone in the last row of a 3-column grid */
.ventures-grid > .venture-card.horizontal-card:last-child:nth-child(3n+1) {
  grid-column: 2 / 3;
}

.ventures-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 0 auto;
  max-width: 1100px;
}

.venture-card.horizontal-card {
  background: #fff;
  padding: 12px;
  min-height: 140px;
  height: 100%;
  box-sizing: border-box;
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: row;
  align-items: center;
}



@media (max-width: 1100px) {
  .venture-card.horizontal-card {
    width: calc(50% - 16px);
  }
}

@media (max-width: 700px) {
  .venture-card.horizontal-card {
    width: 100%;
    min-width: unset;
  }
  .ventures-grid {
    gap: 20px;
  }
}

/* Center last card if it's alone in last row */
.ventures-grid .venture-card.horizontal-card:last-child:nth-child(3n+2),
.ventures-grid .venture-card.horizontal-card:last-child:nth-child(3n+1) {
  margin-left: auto;
  margin-right: auto;
}
/* Horizontal venture card layout: image left, text right */

.venture-card.horizontal-card .venture-img-wrap {
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  border-radius: 8px;
  margin-bottom: 12px;
  width: 64px;
  height: 64px;
  margin-bottom: 0;
  margin-right: 24px;
}

.venture-card.horizontal-card .venture-icon {
  object-fit: contain;
}

.venture-card.horizontal-card .venture-content-wrap {
  justify-content: flex-start;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
/* Venture card title and description styling for compact look */
.venture-title {
  font-family: 'Roboto';
  font-weight: 700;
  font-size: 16px;
  color: #000;
  margin-bottom: 6px;

}

.venture-desc {
  font-family: 'Roboto';
  font-size: 12px;
  color: #000;

}

@media (max-width: 1100px) {
  .ventures-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .ventures-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
/* projects.css - Custom styles for Projects page */

.projects-hero {
  background: url('assets/projects-hero.jpg') center/cover no-repeat;
  height: 260px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.projects-hero::before {
  content: '';
  position: absolute;
  inset: 0;

  z-index: 1;
}
.projects-hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  width: 100%;
  padding-bottom: 32px;
}
.projects-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.projects-subtitle {
  font-size: 1.1rem;
  color: #e6e6e6;
  margin-bottom: 0;
}
.ventures-section {
background: #F2F2F2 0% 0% no-repeat padding-box;
  padding: 48px 0 48px 0;
}
.ventures-headline {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
  font-family: 'roboto';
}
.ventures-desc {
  text-align: center;
  color: #444;
  font-size: 1.05rem;
  margin-bottom: 36px;
}

.venture-card {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  padding: 28px 18px 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 210px;
}
.venture-icon {
  width: 48px; height: 48px; margin-bottom: 14px;
}


.projects-cta {
  text-align: center;
  padding: 48px 0 32px 0;
  background: #fff;
}
.projects-cta-text {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.cta-btn {
  background: #FDB913;
  color: #222;
  border: none;
  padding: 14px 48px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
@media (max-width: 1100px) {
  .ventures-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .ventures-grid {
    gap: 18px;
  }
  .venture-card.horizontal-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 18px 8px;
    min-height: 0;
  }
  .venture-img-wrap {
    margin-right: 0;
    margin-bottom: 12px;
    height: 64px;
    justify-content: center;
  }
  .venture-content-wrap {
    align-items: center;
  }
  .venture-card.horizontal-card .venture-content-wrap {
    align-items: center;
    text-align: center;
  }
  .venture-title,
  .venture-desc {
    text-align: center;
  }
}
@media (max-width: 700px) {
  .ventures-grid { grid-template-columns: 1fr; }
}
