*{
  box-sizing: border-box;
  font-family: Times New Roman, serif;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

/* Logo responsive */
.logo{
  width: clamp(80px, 20vw, 200px);
  height: clamp(80px, 20vw, 200px);
  object-fit: contain;
}

/* Header responsive */
.entete {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;
  padding: 10px 15px;
  flex-wrap: wrap;
  position: relative;
}

.menu-items {
  display: flex;
  gap: 25px;
  align-items: center;
}

/* Bouton hamburger */
.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: #00561b;
  z-index: 1000;
}

/* Menu responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .menu-items {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 999;
    padding: 10px 0;
  }

  .menu-items a {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: block;
    width: 100%;
  }

  .menu-items.active {
    display: flex;
  }
}

.menu{
  text-decoration: none;
  font-weight: bold;
  font-family: Times New Roman, serif;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color:#00561b;
  transition: color 0.3s ease;
}
@media (min-width: 992px) {
  .menu {
    font-size: 1.5rem; /* taille plus grande pour les écrans larges */
  }
}
.menu:hover{
  color:#ff7f00;
}

/* Banner responsive */
.banner {
  position: relative;
  background-image: url('../images/imag.png');
  background-size: cover;
  background-position: center;
  height: 100vh;
  min-height: 500px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 86, 27, 0.6);
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
  max-width: 1200px;
}

.titrebanner {
  font-size: clamp(2rem, 8vw, 6rem) !important;
  margin-bottom: 20px;
  line-height: 1.2;
}

.display-4{
  color: #ff7f00;
}

.lead{
  font-size: clamp(1.2rem, 4vw, 2.5rem);
  margin-bottom: 0;
}

/* Stats section responsive */
.stats-section {
  padding: 60px 20px;
}

.border-thick {
  border-width: 2px !important; 
  border-color: #00561b !important;
}

.fw-bold{
  color: #00561b;
  font-size: clamp(2rem, 5vw, 3rem);
}

/* Carousel responsive */
.urgence-section {
  padding: 60px 20px;
  background-color: #fff;
}

.title{
  color: #00561b;
  font-weight: bolder;
  text-align: center;
  text-decoration: underline;
  text-decoration-color: #ff7f00;
  font-style: italic;
  font-size: clamp(2rem, 8vw, 6rem);
  margin: 40px 0;
}

.titlecarou{
  font-size: clamp(1.5rem, 4vw, 2.5rem) !important;
}

.appel-box {
  background-color: #D4E8DB;
  padding: 30px;
  border-radius: 15px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.btn-orange {
  background-color: #ff7f00;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
  margin-top: auto;
}

.btn-orange:hover {
  background-color: #00561b;
  color: #fff;
  transform: translateY(-2px);
}
.btn-orange a {
  text-decoration: none;
  color: #fff;
}

.don-slide {
  display: none;
}

.don-slide.active {
  display: block;
}

.object-fit-cover {
  object-fit: cover;
}

/* Mission section responsive */
.mission{    
  width: 100%;
  padding: 0 20px;
}

.missonpar{
  font-size: clamp(1rem, 3vw, 1.5rem);
  text-align: justify;
  line-height: 1.6;
}

.mydon {
  border: 4px solid #00561b;
  border-radius: 20px;
  width: 100%;
  height: auto;
}

/* Support section responsive */
.soutien{
  min-height: 300px;
  width: 100%;
  background-color: #00561b;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.soutien h1{
  color: white;
  font-size: clamp(2rem, 6vw, 4rem);
  margin-bottom: 20px;
}

.para{
  color: white;
  font-size: clamp(1rem, 3vw, 1.5rem);
  max-width: 800px;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Button responsive */
.btn-don {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 200px;
  padding: 15px 30px;
  background-color: #ff7f00;
  color: white;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  text-decoration: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
  margin: 10px auto;
}

.btn-don:hover {
  background-color: #fff;
  color: #00561b;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Cards responsive */
.carte {
  border: 2px solid #00561b;
  border-radius: 15px;
  width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.carte:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.carte img {
  height: 250px;
  object-fit: cover;
}

.action{
  color: #00561b;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  line-height: 1.3;
}

/* Demand section responsive */
.blocdemande{
  background-color: rgba(0, 86, 27, 0.1);
  width: 100%;
  padding: 60px 20px;
}

.titre-demande{
  font-size: clamp(1.8rem, 5vw, 3rem);
  color: #00561b;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

.text-body-secondary, .text-body-emphasis{
  text-align: left;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  line-height: 1.6;
}

.rectang{
  width: 60px;
  background-color: #00561b;
  height: 4px;
  border-radius: 2px;
  margin-bottom: 15px;
}

/* Thank you section responsive */
.merci{
  color: #00561b;
  font-weight: bolder;
  text-align: center;
  font-style: italic;
  font-size: clamp(2rem, 6vw, 4rem);
  margin: 60px 0 30px 0;
}

/* Footer responsive */
footer {
  background-color: #ff7f00;
  color: white;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  padding: 40px 20px;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-col {
  flex: 1 1 250px;
  min-width: 250px;
}

.logo-footer {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 20px;
  object-fit: cover;
}

.texte-footer {
  font-size: 14px;
  line-height: 1.6;
  color: white;
}

.footer-col h4 {
  margin-bottom: 20px;
  font-size: 18px;
  text-transform: uppercase;
  color: white;
}

.footer-col a {
  display: block;
  color: white;
  text-decoration: none;
  margin: 8px 0;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: #00561b;
  text-decoration: underline;
}

.socials a {
  display: inline-block;
  margin-right: 15px;
  color: white;
  font-size: 24px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.socials a:hover {
  color: #00561b;
  transform: translateY(-2px);
}

/* Media Queries */
@media (max-width: 1200px) {
  .container {
    padding: 0 20px;
  }
}

@media (max-width: 992px) {
  .don-slide .row {
    flex-direction: column;
  }
  
  .don-slide img {
    margin-bottom: 20px;
  }
  
  .appel-box {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .stats-section .row > div {
    margin-bottom: 20px;
  }
  
  .footer-main {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-col {
    margin-bottom: 30px;
  }
  
  .logo-footer {
    margin: 0 auto 20px auto;
  }
  
  .socials {
    justify-content: center !important;
  }
}

@media (max-width: 576px) {
  .entete {
    padding: 10px;
  }
  
  .banner {
    height: 70vh;
    min-height: 400px;
  }
  
  .banner-content {
    padding: 0 15px;
  }
  
  .stats-section {
    padding: 40px 15px;
  }
  
  .urgence-section {
    padding: 40px 15px;
  }
  
  .soutien {
    padding: 40px 15px;
  }
  
  .blocdemande {
    padding: 40px 15px;
  }
  
  .appel-box {
    padding: 15px;
  }
  
  .btn-don {
    min-width: 180px;
    padding: 12px 20px;
  }
  
  .carte img {
    height: 200px;
  }
  
  .rectang {
    width: 40px;
    height: 3px;
  }
}

/* Utility classes */
.text-center {
  text-align: center;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.mb-3 {
  margin-bottom: 1rem;
}

.py-5 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.my-5 {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col, .col-md-4, .col-md-6, .col-lg-4, .col-lg-6 {
  padding: 0 15px;
  flex: 1;
}

@media (min-width: 768px) {
  .col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  
  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (min-width: 992px) {
  .col-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  
  .col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}
/* chiffres */

.stats-section {
    background: #f8f9fa;
    padding: 60px 0;
    text-align: center;
}


.stat-item {
    background: #fff;
    border-radius: 15px;
    padding: 30px 25px; /* padding ajusté */
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    border: 3px solid #00561b; /* ✅ Bordure verte */
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #00561b;
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.2rem;
    color: #333;
}

@media (max-width: 768px) {
  .stat-item {
    min-height: auto;
    padding: 20px 15px;
  }
}