body {
  padding-top: 76px;
  --font-family: Montserrat, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.navbar {
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  padding: 15px 0;
}

.navbar-nav {
  margin: 0 auto;
}

.nav-link {
  color: #333 !important;
  font-weight: 500;
  padding: 0.5rem 1.5rem !important;
}

.nav-link:hover {
  color: #28a745 !important;
}

.logo {
  height: 50px;
  width: auto;
}

.btn-success {
  background-color: #28a745;
  border-color: #28a745;
  padding: 8px 20px;
}

.btn-outline-success {
  border-color: #28a745;
  color: #28a745;
  padding: 8px 20px;
}

.btn-outline-success:hover {
  background-color: #28a745;
  color: white;
}


/* Banner 1 */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('https://images.unsplash.com/photo-1501854140801-50d01698950b?auto=format&fit=crop&q=80');
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  align-items: center;
  margin-bottom: 0;
}


.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #fff;
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.hero-buttons {
  margin-top: 30px;
}


/*Banner 2*/
.projet{
  background:rgb(255, 255, 255);
  background-size: cover;
  background-position: center;
  height: 50vh;
  display: flex;
  align-items: center;
  margin-bottom: 0;
}

.projet-title {
  font-size: 3.5rem;
  font-family: Montserrat, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  color: rgb(0, 0, 0);
  margin-bottom: 20px;
  line-height: 1.2;
}

.projet-subtitle {
    font-size: 1.25rem;
    color: black;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
}




section {
  display: flex;
  align-items: center;
  padding: 80px 0;
  scroll-margin-top: 76px;
}

.section-subtitle {
  color: #28a745;
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.section-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #4a5568;
  margin-bottom: 3rem;
}

.feature-card {
  margin-bottom: 2rem;
}

.feature-icon {
  color: #28a745;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-title {
  font-weight: 600;
  margin-bottom: 1rem;
}

.feature-text {
  color: #4a5568;
  line-height: 1.6;
}

.testimonial {
  background-color: #f8fafc;
  padding: 2rem;
  border-radius: 1rem;
  margin-top: 3rem;
}

.testimonial-text {
  font-size: 1.25rem;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

@media (max-width: 991.98px) {
  .nav-buttons {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
  }
  
  .navbar-collapse {
    text-align: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    padding: 0 20px;
  }

  .section-title {
    font-size: 2rem;
  }
}

#rejoigneznous{
  background-color: #ebffe8;
}

/* From Uiverse.io by nikk7007 */  
.button {
  --color: #28a745;
  padding: 0.8em 1.7em;
  background-color: transparent;
  border-radius: .3em;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: .5s;
  font-weight: 400;
  font-size: 17px;
  border: 1px solid;
  font-family: inherit;
  text-transform: uppercase;
  color: #28a745 ;
  z-index: 1;
 }
 
 .button::before, .button::after {
  content: '';
  display: block;
  width: 50px;
  height: 50px;
  transform: translate(-50%, -50%);
  position: absolute;
  border-radius: 50%;
  z-index: -1;
  background-color: var(--color);
  transition: 1s ease;
 }
 
 .button::before {
  top: -1em;
  left: -1em;
 }
 
 .button::after {
  left: calc(100% + 1em);
  top: calc(100% + 1em);
 }
 
 .button:hover::before, .button:hover::after {
  height: 410px;
  width: 410px;
 }
 
 .button:hover {
  color: #FFFF;
 }
 
 .button:active {
  filter: brightness(.8);
 }
 


 .cards {
  display: flex; 
  flex-direction: row; 
  gap: 15px; 
}

.cards .card {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative; 
  border-radius: 10px;
  color: black; 
  cursor: pointer;
  transition: 400ms;
  background: white; 
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); 
}

.cards .card:hover {
  transform: scale(1.1); 
}

.cards:hover > .card:not(:hover) {
  filter: blur(10px); 
  transform: scale(0.9); 
}




/*button projet sec-2*/
.animated-button {
  position: relative;
  display: inline-block;
  padding: 12px 24px;
  border: none;
  font-size: 16px;
  background-color: #e0e0e0; /* Light grey background */
  border-radius: 100px;
  font-weight: 600;
  color: black; /* Black text */
  box-shadow: 0 0 0 2px white;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.animated-button span:last-child {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background-color: #28a745; /* Green ripple effect */
  border-radius: 50%;
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.320, 1);
}

.animated-button span:first-child {
  position: relative;
  z-index: 1;
}

.animated-button:hover {
  background-color: #28a745; /* Green background */
  color: white; /* White text */
  box-shadow: 0 0 0 5px #0000; /* Remove shadow */
}

.animated-button:active {
  scale: 0.95;
}

.animated-button:hover span:last-child {
  width: 150px;
  height: 150px;
  opacity: 1;
}


#projet-approche{
  padding: 0em;
  color: white;
  background-color: #28a745;
}

#newsletter{
  padding: 0em;
  color: white;
  background-color: #ebffe8; 
}
/*images*/

.image-row {
  display: flex;
  width: 100%;
}

.image-row img {
  flex: 1 1 0;
  object-fit: cover; /* Ensures images fill their containers without distortion */
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  display: block; /* Removes inline spacing behavior of images */
}

.image-row:nth-child(1) img {
  max-height: 30em; /* Adjust to control the height for the top row */
}

.image-row:nth-child(2) img {
  max-height: 50em; /* Adjust to control the height for the bottom row */
}

/* cirlce icons*/

/* Section Background */
#projet-approche, #questions {
  background-color: #ebffe8; /* Light green tone */
}


/* Circle Icons */
.icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem; /* Icon size */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

/* Vertical Divider */
.vertical-line {
  width: 2px;
  height: 50px;
  background: #d3d3d3; /* Light gray */
  margin: 0 auto 3rem auto; /* Space above and below */
}


.partenaires{
  height: 10em;
  width: 15em;
  margin: 2%;
}


/*agir.html*/

/* From Uiverse.io by kamehame-ha */ 
.coolinput {
  display: flex;
  flex-direction: column;
  width: fit-content;
  position: static;
  max-width: 240px;
}

.coolinput label.text {
  font-size: 0.75rem;
  color: #818CF8;
  font-weight: 700;
  position: relative;
  top: 0.5rem;
  margin: 0 0 0 7px;
  padding: 0 3px;
  background: #e8e8e8;
  width: fit-content;
}

.coolinput input[type=text].input {
  padding: 11px 10px;
  font-size: 0.75rem;
  border: 2px #818CF8 solid;
  border-radius: 5px;
  background: #e8e8e8;
}

.coolinput input[type=text].input:focus {
  outline: none;
}


/*Form */

form {
  max-width: 600px;
  margin: 2rem auto;
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

input, textarea {
  width: 100%;
  padding: 0.8rem;
  margin: 0.5rem 0;
  border: 1px solid #ddd;
  border-radius: 4px;
}