/* === GENERAL === */
body {
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

.text-justify {
  text-align: justify;
}

nav a:hover {
  color: #fff;	
  text-decoration: underline;
}

/* Uniformiser la hauteur des sections */
.page-section {
  min-height: calc(110vh - 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* === SECTION CEO & STAFF === */
.section-ceo-staff {
  margin-top: 65px;
  background-color: #113d5a;
  font-family: 'Segoe UI', 'Roboto', sans-serif;
  padding-top: 50px;
  padding-bottom: 60px;
}

.section-ceo-staff h4 {
  font-weight: bold;
}

.section-ceo-staff p {
  font-size: 15px;
  line-height: 1.6;
}

#gams {
  scroll-margin-top: 80px;
}

/* === SECTION APROPOS === */
#apropos {
  background-color: #f8f9fa;
  color: #000;
  padding: 70px 0;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  line-height: 1.7;
  scroll-margin-top: 65px;
}

#apropos h2 {
  text-align: center;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 30px;
}

#apropos p {
  text-align: justify;
  max-width: 1200px;
  margin: 0 auto;
}

/* === SECTION SERVICES === */
#services {
  background-color: lavender;
  font-family: 'Segoe UI', 'Roboto', sans-serif;
  padding-top: 60px;
  padding-bottom: 60px;
  scroll-margin-top: 65px;
}

#services h2 {
  text-align: center;
  font-weight: 600;
  margin-top: 10px;
  margin-bottom: 40px;
  color: black;
}

.service-box {
  text-align: center;
  padding: 20px;
}

.service-box img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.service-box h5 {
  color: darkgreen;
  font-weight: 600;
  margin-bottom: 10px;
}

.service-box p {
  text-align: justify;
  font-size: 0.95rem;
  line-height: 1.6;
  color: black;
}

/* === SECTION PROJETS === */
#projets {
  font-family: 'Poppins', sans-serif;
  padding: 80px 0;
  background-color: ghostwhite;
  color: #000;
  scroll-margin-top: 64px;
}

#projets h2 {
  text-align: center;
  font-weight: 600;
  margin-bottom: 50px;
}

.projet-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  gap: 15px;
}

.projet-item img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.projet-item h5 {
  color: #006400;
  font-weight: 600;
  margin-bottom: 5px;
  margin-top: 2px;
}

.projet-item p {
  text-align: justify;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* === SECTION TEMOIGNAGES === */
#temoignages {
  font-family: 'Poppins', sans-serif;
  padding: 80px 0;
  background-color: aliceblue;
  color: #000;
  scroll-margin-top: 60px;
}

#temoignages h2 {
  text-align: center;
  font-weight: 600;
  margin-bottom: 50px;
  color: #006400;
}

.temoignage-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 30px;
}

.temoignage-item img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.temoignage-item blockquote {
  font-style: italic;
  font-size: 0.95rem;
  margin: 0;
  text-align: justify;
  line-height: 1.6;
}

.temoignage-item footer {
  margin-top: 5px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #444;
}

/* === RESPONSIVE === */
@media only screen and (max-width: 768px) {
  .section-ceo-staff,
  #services,
  #apropos {
    min-height: auto;
    padding: 40px 15px;
  }

  .box-area {
    width: 100%;
    margin: 0 10px;
  }

  .projet-item,
  .temoignage-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: white !important;
  }
  .navbar-collapse .nav-link {
    color: #000 !important;
  }
}

@media (min-width: 992px) {
  .text-lg-white {
    color: white !important;
  }
}

/* === LOGO RESPONSIVE === */
.logo-gams {
  max-height: 65px;
}

@media (max-width: 768px) {
  .logo-gams {
    max-height: 35px;
    margin-left: 10px;
  }
}

/* Pour mobile (écrans ≤ 991.98px) */
@media (max-width: 991.98px) {
  .section-ceo-staff {
	margin-top: 60px;  
    padding-top: 100px; /* plus grand si la navbar est plus haute */
  }
}

/* Tablettes et mobiles */
@media (max-width: 991.98px) {
  #gams, #apropos, #services, #projets, #temoignages {
    scroll-margin-top: 60px;
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: rgba(25, 135, 84, 0.92); /* vert foncé semi-transparent */
    backdrop-filter: blur(3px); /* flou de fond pour effet visuel */
    padding: 1rem;
    border-radius: 0 0 8px 8px;
  }

  .navbar-collapse .nav-link {
    color: #000 !important;
    margin-bottom: 0.5rem;
    transition: background-color 0.3s ease;
    border-radius: 5px;
    padding: 0.5rem 1rem;
  }

  .navbar-collapse .nav-link:hover,
  .navbar-collapse .nav-link:active {
    background-color: #198754; /* vert Bootstrap "success" */
    color: #fff !important;
  }
}

