/* ===========================
   FOUNDERS & MESSAGES CSS
=========================== */
body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  transition: background 0.5s ease, color 0.5s ease;
}
body.dark-mode {
  background: #111;
  color: #fff;
}

.dark-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* Section Styles */
.founders-section.upgraded-style {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e0e5ec 100%);
  transition: background 0.5s ease;
  position: relative;
}
body.dark-mode .founders-section.upgraded-style {
  background: linear-gradient(135deg, #1a1a1a 0%, #111111 100%);
}

/* Page Title */
.founders-section.upgraded-style .container .section-title.fancy-title {
  display: flex;
  flex-direction: column;
  align-items: center; /* center horizontally */
  justify-content: center; /* optional, center vertically if needed */
}
.fancy-title {
  font-size: 3rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 50px;
  color: #222;
  transition: color 0.5s ease;
}
body.dark-mode .fancy-title {
  color: #ffd700;
}

/* Founders Grid */
.founders-container.premium-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  justify-items: center;
}

/* Founder Card */
.founder-card.neon-card {
  background: #111;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.founder-card.neon-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 0 40px rgba(255, 215, 0, 0.8);
}
.founder-card .img-wrapper {
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-bottom: 2px solid #ffd700;
}
.founder-card .img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.founder-card:hover .img-wrapper img {
  transform: scale(1.1);
}
.founder-card figcaption {
  padding: 1rem 1.5rem;
  text-align: center;
}
.founder-card h3.glow-text {
  color: #ffd700;
  text-shadow: 0 0 5px #ffd700, 0 0 10px #ffd700, 0 0 20px #ffd700;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  transition: color 0.5s ease, text-shadow 0.5s ease;
}
.founder-card p {
  color: #aaa;
  font-size: 1rem;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  z-index: 999;
}
.modal.show {
  display: flex;
}
.modal-content {
  background: #111;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 0 20px #ffd700;
  color: #fff;
  max-width: 500px;
  width: 90%;
  transform: scale(0.8);
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}
.modal.show .modal-content {
  transform: scale(1);
  opacity: 1;
}
.modal .close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2rem;
  color: #ffd700;
  cursor: pointer;
}

/* Floating Shapes */
.floating-shapes span {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,215,0,0.2);
  animation: float 6s ease-in-out infinite;
}
.shape-1 { top: 20%; left: 10%; width: 80px; height: 80px; animation-delay: 0s; }
.shape-2 { top: 70%; left: 80%; width: 100px; height: 100px; animation-delay: 2s; }
.shape-3 { top: 40%; left: 50%; width: 60px; height: 60px; animation-delay: 4s; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(45deg); }
}
