/* === Global Styles === */
body {
  font-family: 'Baloo 2', cursive;
  margin: 0;
  padding: 0;
  background: #fff8f0;
  color: #333;
  font-size: 16px;
}

.title-text {
  font-size: 28px;
  color: #fff8f0;
  font-weight: bold;
  text-shadow: 1px 1px 2px #000;
}

/* === Header and Navigation === */
header {
  background-color: #ff6f00;
  color: white;
  padding: 1rem;
  text-align: center;
}

nav {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

/* === Footer === */
footer {
  background-color: #ff6f00;
  color: #fff;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}

/* Member List Grid View */
.member-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  padding: 20px;
  text-align: center;
}

.member-card {
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.member-card:hover {
  transform: translateY(-5px);
}

.member-photo {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #f77f00;
  margin-bottom: 100px;
}

.member-name {
  font-weight: bold;
  font-size: 1.05rem;
  color: #333;
}

/* Carousel View */
.carousel-section {
  padding: 2rem;
  text-align: center;
  background: #fffdf9;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  margin: auto;
}

.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 1rem;
  padding: 1rem 2rem;
  -webkit-overflow-scrolling: touch;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-card {
  flex: 0 0 auto;
  width: 180px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  text-align: center;
  padding: 16px 10px;
  transition: transform 0.3s ease;
}

.carousel-card:hover {
  transform: scale(1.05);
}

.carousel-card img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #f77f00;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  margin-bottom: 10px;
}

.carousel-card p {
  font-weight: bold;
  font-size: 1rem;
  margin: 0;
}

h1 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: rgba;
}

/* Carousel Arrows */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: white;
  background: #f77f00;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  transition: background 0.3s;
}

.carousel-btn:hover {
  background: #d65f00;
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}