.modal {
  display: none; /* hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center; 
}

/* =========================
   About Page Styles
   ========================= */

/* Hero section */
.about-hero {
  background: url("images/about-hero.jpg") no-repeat center center/cover;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.about-hero .hero-content {
  background: rgba(0, 0, 0, 0.6);
  padding: 20px 40px;
  border-radius: 10px;
}

/* General about sections */
.about-section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: auto;
  text-align: center;
}

.about-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #ffd700;
}

.about-section p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Values cards */
.values {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.value-card {
  background: #1a1a1a;
  color: white;
  padding: 20px;
  flex: 1 1 250px;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px #ffd700;
}

/* Team section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.team-member {
  background: #1a1a1a;
  color: white;
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
}

.team-member:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px #ffd700;
}

.team-member h3 {
  margin: 10px 0 5px;
  font-size: 1.2rem;
  color: #ffd700;
}

/* Partners */
.partners-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
}

.partners-logos img {
  max-height: 60px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.partners-logos img:hover {
  filter: grayscale(0%);
}

/* =====================
   Modal Styles
   ===================== */


.modal-content {
  background: #1a1a1a;
  color: white;
  padding: 30px;
  max-width: 500px;
  width: 90%;
  border-radius: 15px;
  text-align: center;
  animation: fadeIn 0.3s ease;
  position: relative;
}

.modal-content img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: 15px;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #ffd700;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
