body {
  font-family: 'Open Sans', Helvetica, sans-serif;
  margin: 0;
  padding: 0;
  background: white;
  color: #222;
}

.presidents-section {
  text-align: center;
  padding: 40px 20px;
  margin-top:30px;
}

.section-title {
  margin-bottom: 30px;
  font-weight: 900;
  font-size: 2.5rem;
  letter-spacing: -1.5px;
  color: black;
  margin: 0 0 6px 0;
  text-align: center;
}

.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1150px;
  margin: 0 auto;
}

.carousel-container {
  overflow: hidden;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 300%; /* if 3 profiles; JS will handle scaling */
}

.profile-card {
  flex: 0 0 100%; /* each card always full width of container */
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  /* box-shadow: 0 4px 10px rgba(0,0,0,0.1); */
  box-sizing: border-box;
}


.profile-card img {
  width: 40%;
  max-width: 400px;
  border-radius: 12px;
  object-fit: cover;
}

.profile-info {
  text-align: left;
  flex: 1;
}

.profile-info h3 {
  font-size: 1.8rem;
  margin: 0 0 20px;
}

.profile-info .subtitle {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0 0 15px;
  color: #666;
}

.profile-info .bio {
  line-height: 1.6;
}

/* Navigation Arrows */
.nav-arrow {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.nav-arrow img {
  width: 25px; /* adjust arrow size */
  height: auto;
}

/* Subtle directional shift on hover */
.nav-arrow.left:hover {
  transform: translateX(-4px);
}

.nav-arrow.right:hover {
  transform: translateX(4px);
}

/* Optional: spacing around arrows */
.nav-arrow.left {
  margin-right: 10px;
}

.nav-arrow.right {
  margin-left: 10px;
}

/* Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  margin-top: 0px;
  gap: 10px;
}

.carousel-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: #bbb;
  cursor: pointer;
  transition: background 0.3s;
}

.carousel-dots button.active {
  background: #c9282d;
}

@media only screen and (max-width: 600px) {
  .profile-card {
    flex-direction: column;       /* Stack image and text */
    align-items: center;          /* Center content */
    padding: 15px;
    height: auto;                 /* Let card expand */
  }

  .profile-card img {
    width: 100%;                  /* Image spans full width */
    max-width: 100%; 
    height: auto;                  /* Keep aspect ratio */
    margin-bottom: 12px;
  }

  .profile-info {
    width: 100%;
    text-align: center;           /* Center text if desired */
  }

  .profile-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }

  .profile-info .subtitle {
    font-size: 1rem;
    margin-bottom: 8px;
  }

  .profile-info .bio {
    font-size: 0.9rem;
    line-height: 1.4;
  }

.section-title {
  margin-bottom: 30px;
  font-weight: 900;
  font-size: 1.8rem;
  letter-spacing: -1.5px;
  color: black;
  margin: 0 0 6px 0;
  text-align: center;
}

  .nav-arrow {
    display: none !important;

}

/* HIDE BIOS ON MOBILE */
.profile-info .bio {
  display: none !important;
}

/* SMALLER TEXT ON MOBILE */
.profile-info h3 {
  font-size: 1.3rem !important;
}

.profile-info .subtitle {
  font-size: 0.9rem !important;
}

  .carousel-dots {
    position: absolute;
    bottom: 50px; /* distance from bottom of carousel card */
    left: 50%;
    transform: translateX(-50%);
    margin: 0; /* ignore default margin */
    gap: 8px;
  }

  .carousel-container {
    position: relative; /* make container the positioning context */
  }

}