/* ---------- BASE ---------- */
body {
  font-family: 'Poppins', sans-serif;
  background-color: #f8f9fa;
}

/* ---------- NAVBAR ---------- */
.navbar {
  border-bottom: 1px solid #ddd;
}

.navbar-brand img {
  width: 60px;
  height: auto;
}

.nav-link {
  font-weight: 500;
  color: #333;
  transition: color 0.3s;
}

.nav-link:hover {
  color: #0056b3;
}

/* ---------- BANNIÈRE ---------- */
.banner {
  background: url('../images/amopa.jpg') center/cover no-repeat;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

.banner h1 {
  font-size: 2rem;
  font-weight: 700;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 0.5rem 1rem;
  border-radius: 10px;
}

/* ---------- SECTION CONTACT (CARTES) ---------- */
.contact-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin: 2rem 0;
}

.contact-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  flex: 1 1 250px;
  max-width: 300px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
}

.contact-card i {
  font-size: 2rem;
  color: #007bff;
  margin-bottom: 0.5rem;
}

.contact-card h5 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-card p {
  margin-bottom: 0;
  color: #555;
  font-size: 0.95rem;
}

.link {
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s;
}

.link:hover {
  color: #0056b3;
}

/* ---------- TABLES ---------- */
table.table {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 1rem;
}

.table thead {
  background-color: #0056b3;
  color: #fff;
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: #f2f6fa;
}

/* ---------- SECTIONS ---------- */
.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2rem;
  text-align: center;
  color: #333;
}

.text-justify {
  text-align: justify;
}

/* ---------- FOOTER ---------- */
footer {
  background-color: #f8f9fa;
  border-top: 1px solid #ddd;
  margin-top: 40px;
  padding: 15px 0;
  text-align: center;
  color: #555;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 576px) {
  .banner {
    height: 150px;
  }

  .banner h1 {
    font-size: 1.4rem;
  }

  .contact-card {
    max-width: 100%;
  }
}