/* ===== FOUNDERS SECTION (works with your day/night toggle) ===== */

.founders-section {
  padding: 80px 20px;
  text-align: center;
  transition: background 0.5s ease, color 0.5s ease;
}

/* ---------- DAY MODE ---------- */
body.day-mode .founders-section {
  background: linear-gradient(135deg, #fafafa, #ffffff);
  color: #222;
}

body.day-mode .section-title {
  color: #222;
}

body.day-mode .section-title::after {
  background: #007bff;
}

body.day-mode .founder-card {
  background: rgba(255, 255, 255, 0.9);
  color: #222;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* ---------- NIGHT MODE ---------- */
body.night-mode .founders-section {
  background: linear-gradient(135deg, #121212, #1f1f1f);
  color: #f9f9f9;
}

body.night-mode .section-title {
  color: #f9f9f9;
}

body.night-mode .section-title::after {
  background: #4f9cff;
}

body.night-mode .founder-card {
  background: rgba(35, 35, 35, 0.9);
  color: #f0f0f0;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.05);
}

/* ---------- SHARED CARD STYLES ---------- */
.founders-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 40px;
}

.founder-card {
  padding: 30px;
  border-radius: 15px;
  width: 280px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.5s ease, color 0.5s ease;
}

.founder-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.founder-card img {
  width: 100%;
  border-radius: 50%;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.founder-card:hover img {
  transform: scale(1.05);
}

.founder-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.founder-card p {
  font-size: 0.95rem;
  opacity: 0.8;
}
