/* Reset and base styles */
:root {
  --primary-color: #CD2945;
  --dark-color: #1D2939;
  --light-color: #ffffff;
  --gray-color: #667085;
  --container-width: 1300px;
}

body {
    line-height: 1.6;
}

.main-nav {
    display: flex;
    gap: 32px;
    font-weight: 500;
}

.main-nav a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
}

.main-nav a.active {
    color: var(--primary-color);
}




/* Layout sections */


.hero-image {
  width: 100%;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
}

.who-are-we {
  max-width: 900px;
  margin: 0 auto 4rem;
  text-align: center;
  margin-top: 20px;
}

/* Two column layout */
.flex-row {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .flex-row {
    flex-direction: row;
  }

  .col-half {
    width: 50%;
  }
}

.flex-row-reverse {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .flex-row-reverse {
    flex-direction: row-reverse;
  }

  .col-half {
    width: 50%;
  }
}

/* Image container with overlay */
.image-container {
  position: relative;
  height: 100%;
}

.image-container img {
  border-radius: 0.5rem;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay-image {
  position: absolute;
  bottom: 0;
  right: 0;
  transform: translate(25%, 25%);
  border: 4px solid white;
  border-radius: 0.5rem;
  width: 50%;
}

/* Checklist items */
.checklist {
  margin-top: 1.5rem;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.check-icon {
  color: #10b981;
  font-size: 1.25rem;
}




/* Team section */
.team-members {
  display: grid;
  grid-template-columns: 1fr; /* single column by default */
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1rem;
}

@media (min-width: 780px) {
  .team-members {
    grid-template-columns: repeat(2, 1fr); /* two columns on medium+ screens */
  }
}


.team-member {
  display: flex;
  gap: 2rem;
  background-color: #f9f9f9;
  border-radius: 1rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.06);
  padding: 1.5rem;
  align-items: center;
}

.team-member img {
  width: 250px;
  height: 300px;
  border-radius: 0.75rem;
  object-fit: cover;
}

.member-info {
  flex: 1;
}

.team-member h3 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.position {
  color: #cc1f3c; /* red tone */
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.team-member p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
}

/* Responsive for tablets and smaller screens */
@media (max-width: 768px) {
  .team-member {
    flex-direction: column;
    text-align: center;
  }

  .team-member img {
    width: 200px;
    height: auto;
  }

  .member-info {
    text-align: left;
  }
}







/* Timeline section */
.timeline-container {
  position: relative;
  padding: 2rem 0;
}

.timeline-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #dc2626;
  top: 50%;
  transform: translateY(-50%);
  z-index: 0;
}

.timeline-items {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.timeline-item {
  text-align: center;
}

.timeline-year {
  background-color: white;
  padding: 0.25rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: #dc2626;
}

.timeline-dot {
  height: 12px;
  width: 12px;
  border-radius: 50%;
  background-color: #dc2626;
  margin: 0 auto 0.5rem;
}

.timeline-text {
  font-size: 0.75rem;
}