html, body {
  overflow-x: hidden;
}
body {
    font-family: 'Segoe UI', sans-serif;
    padding-top: 80px;
    scroll-behavior: smooth;
}

.section-title {
    font-weight: 700;
    color: #0b3d2e;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: "";
    width: 60px;
    height: 3px;
    background: #f4c430;
    display: block;
    margin: 8px auto 0;
}

/* NAVBAR */
.navbar {
    background-color: #0b3d2e;
    transition: 0.3s;
}

.navbar.scrolled {
    background-color: #05281e !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.navbar .nav-link {
    color: #fff !important;
    font-weight: 500;
}

.navbar .nav-link:hover {
    color: #f4c430 !important;
}

/* HERO */
.hero-slide {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}

.carousel-caption {
    bottom: 30%;
}

/* STATS */
.stats-section {
    background: linear-gradient(rgba(11,61,46,0.9), rgba(11,61,46,0.9)),
                url('../images/stats-bg.png') center/cover no-repeat;
}

.stats-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f4c430;
}

/* PARTNERS */
.partner-logo {
    max-height: 90px;
    opacity: 0.8;
    transition: 0.3s;
}

.partner-logo:hover {
    opacity: 1;
    transform: scale(1.1);
}


/* ================= PROJETS ================= */

.project-card {
    border-radius: 15px;
    overflow: hidden;
    transition: 0.4s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.project-img {
    height: 250px;
    object-fit: cover;
    transition: 0.4s ease;
}

.project-card:hover .project-img {
    transform: scale(1.05);
}
/* Navbar scroll */
.navbar.scrolled {
background-color: #0b3d2e !important;
transition: 0.3s;
}

/* Stats */
.stats-section {
background: linear-gradient(135deg, #198754, #0b3d2e);
}

.counter {
font-size: 2.5rem;
font-weight: bold;
}

/* Projects */
.project-img {
height: 250px;
object-fit: cover;
}

.project-card:hover {
transform: translateY(-8px);
transition: 0.3s;
}

/* WhatsApp */
.whatsapp-float {
position: fixed;
bottom: 20px;
right: 20px;
background: #25D366;
color: white;
font-size: 24px;
padding: 15px;
border-radius: 50%;
z-index: 999;
}

/* Back to top */
#backToTop {
position: fixed;
bottom: 80px;
right: 20px;
display: none;
background: #f4c430;
color: #0b3d2e;
border: none;
padding: 10px 15px;
border-radius: 50%;
font-size: 18px;
cursor: pointer;
z-index: 999;

}

/* Champ email en bleu avec texte blanc */
.mc-field-group input[type="email"] {
    background-color: #0d6efd;   /* bleu */
    color: #ffffff;              /* texte blanc */
    border: 2px solid #0b5ed7;   /* bordure bleu foncé */
    border-radius: 5px;
    padding: 10px;
    width: 100%;
    font-size: 16px;
    outline: none;
    transition: 0.3s ease;
}

/* Couleur du texte placeholder */
.mc-field-group input[type="email"]::placeholder {
    color: #e0e0e0; /* gris clair pour visibilité */
}

/* Effet au clic */
.mc-field-group input[type="email"]:focus {
    background-color: #0b5ed7; /* bleu plus foncé */
    border-color: #ffffff;    /* bordure blanche au focus */
    box-shadow: 0 0 6px rgba(13, 110, 253, 0.6);
}

/* ===== FOOTER PREMIUM ===== */

.footer-premium {
  background: linear-gradient(135deg, #0b3d2e, #0b3d2e); /* vert nuit uniforme */
  color: #fff;
  padding: 60px 0;
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-title {
  font-weight: bold;
  margin-bottom: 15px;
}

.footer-text {
  font-size: 14px;
  line-height: 1.6;
}

.footer-contact p {
  font-size: 14px;
  margin-bottom: 6px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #f4c430;
  padding-left: 5px;
}

.footer-divider {
  border-color: rgba(255,255,255,0.2);
  margin: 30px 0;
}

/* ===== Bas footer ===== */

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  color: #fff;
  font-size: 14px;
}

/* ===== Icônes officielles ===== */

.social-icons a {
  display: inline-block;
  width: 45px;
  height: 45px;
  line-height: 45px;
  text-align: center;
  border-radius: 50%;
  margin-right: 10px;
  color: #fff;
  font-size: 18px;
  transition: all 0.3s ease;
}

.facebook { background: #1877F2; }
.twitter { background: #1DA1F2; }
.instagram { background: radial-gradient(circle at 30% 30%, #fdf497, #fd5949, #d6249f, #285AEB); }
.linkedin { background: #0A66C2; }
.youtube { background: #FF0000; }

.social-icons a:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.3);
}

/* ===== Responsive ===== */

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .social-icons {
    margin-bottom: 15px;
  }
}

/* Inputs newsletter */
#mc_embed_signup input[type="email"] {
  padding: 8px 12px;
  border-radius: 4px;
  border: none;
  margin-right: 5px;
}

#mc_embed_signup input[type="submit"] {
  padding: 8px 15px;
  border: none;
  border-radius: 4px;
  background: #f4c430;
  color: #000;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

#mc_embed_signup input[type="submit"]:hover {
  background: #e0b800;
}
