/* Style général */
@font-face {
  font-family: "Alexandria_Light";
  src: url("/modeem_custom_website/static/src/fonts/Alexandria-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Alexandria_Regular";
  src: url("/modeem_custom_website/static/src/fonts/Alexandria-Regular.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: "Alexandria_SemiBold";
  src: url("/modeem_custom_website/static/src/fonts/Alexandria-SemiBold.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Alexandria_Bold";
  src: url("/modeem_custom_website/static/src/fonts/Alexandria-Bold.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

:root{

  --color-1:#00B451;
  --color-1-hover:#077D3C;
  --color-2:#000000;
  --color-3:#3B3B3B;
  --color-4:#ffffff;
  --color-5:#E0E0E0;
  --color-6:#F2FBF6;
  --font-regular:"Alexandria_Regular";
  --font-semi:"Alexandria_SemiBold";
  --font-bold:"Alexandria_Bold";
}



body {
  font-family: "Alexandria_Regular", sans-serif;
  margin: 0;
  padding: 0;
  color: var(--color-3);
}
h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1{
font-family: "Alexandria_Regular", sans-serif !important;
}

.text-right{
  text-align: right!important;
}
.green-color{
  color: var(--color-1);
}
/*------------------- Header----------------*/

header {
  background-image: linear-gradient(180deg, #e8f8ef, #ffffff);
}

header nav {
  padding: 15px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 14px;
}
.nav-links li i{
  padding-right: 10px;
}
.nav-links.show {
  display: block;
}

.menu-toggle {
  font-size: 30px;
  background: none;
  border: none;
  cursor: pointer;

}

.nav-links li a {
  text-decoration: none;
  color: rgb(0, 0, 0);
  font-size: 16px;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: #00b451;
}

.buttons {
  display: flex;
  gap: 10px;
}



.add-btn {
  position: relative;
}

.add-btn::after {

  content: attr(data-tooltip);
  position: absolute;
  top: 125%;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
  visibility: hidden;
  opacity: 0;
  width: max-content;
  transition: opacity 0.3s ease-in-out;
}


.add-btn:hover::after {
  visibility: visible;
  opacity: 1;
}


.donate-btn {
  background-color: #e74c3c;
  color: white;
}

.green-btn {
  background-color: #00b451;
  color: white;
}

.donate-btn:hover,
.green-btn:hover {
  opacity: 0.8;
}

/* Bouton menu hamburger */
.menu-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;

}


nav ul li a:hover {
  color: #00b451;
}

/* Logo à gauche */
.logo {
  height: 90px;
  width: auto;

  order: -1;
}

/* Boutons à droite */
.buttons {
  display: flex;
  gap: 5px;
}

.buttons .add-btn {
  width: 50px;
  height: 50px;
  padding: 0;
  background-color: #ffffff;
  color: #00b451;
  font-size: 18px;
  display: flex;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 50%;
  border: 1px solid #00b451;
  align-items: center;
  justify-content: center;
}

.buttons :hover {
  background-color: #00b451;
  color: #ffffff;
}

.buttons .donate-btn {
  padding: 12px 26px;
  background-color: #222222;
  color: #ffffff;
  font-size: 15px;
  height: 50px;
  border: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 32px;
}

.green-btn {
  padding: 12px 25px;
  background-color: var(--color-1);
  color: var(--color-4);
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  border-radius: 32px;
}
.green-btn:hover,
.green-btn:focus,
.green-btn:active{
  background-color: var(--color-1-hover);
  color: var(--color-4);

}



/**-----------content-----------*/
.h2{
  font-size: 45px;
  color: var(--color-2);
  font-family: var(--font-bold);

 }
.h2{
 font-size: 40px;
 color: var(--color-2);
 font-family: var(--font-bold);

}
.h3{
  font-size: 32px;
  font-family: var(--font-semi);
  color: var(--color-2);
}
.font-25{
  font-size: 25px;
}
.home-cover {
  background-image: url("../img/headerCover.png");
  background-size: cover;
  background-position: center;
  height: 75vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: left;
  color: #ffffff;
  text-align: right;
  margin: 0rem 2rem;
  border-radius: 25px;
  position: relative;
  z-index: -1;
}

.home-cover h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.home-cover h2 {
  font: 0.4rem;
  font-weight: normal;
}

.outline-btn {
  padding: 12px 16px;
  font-size: 16px;
  font-weight: medium;
  border-radius: 25px;
  border: none;
}

.outline-btn:hover {
  background-color: #00b451;
  color: #ffffff;
  transform: scale(1.05);
}

.title {
  font-weight: 600;
  line-height: 1.5;
  text-align: right;
}

.gradient-card {
  background-image: linear-gradient(180deg, #ffffff, #e8f8ef);
  padding: 2rem;
  border-radius: 25px;
  margin: 2rem 0;
}

.gradient-card .tile {
  color: #00b451;
  font-weight: bold;
}

.green-subtitle {
  color: #00b451;
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 1rem;
}

.white-card {
  background-color: #ffffff;
  padding: 1rem;
  border-radius: 25px;
  margin: 2rem 0;
  border: 1px solid #e8f8ef;
  cursor: pointer;
  margin-right: 15px;
  flex: 1 1 22%;
  height: 22rem;
}

.slider-item-inner{
  padding: 50px 25px;
  position: relative;
justify-content: center;
align-items: center;
display: flex;
flex-direction: column;

  margin: 10px;
  border-radius: 20px;
  border: 1px solid var(--color-5);
}
.slider-item-inner:after{
  position: absolute;
  left: 0;
  bottom: 0;
  background-color: var(--color-6);
  content: '';
  height: 62%;
  z-index: -9;
  width: 100%;
  border-radius: 25px;
}
.slider-item-inner img{
  width: 200px;
  object-fit: cover;
}
.slider-item-inner .team-info{
  text-align: center;
}
.slider-item-inner .image-team{
  height: 220px;
  width: 220px;
  display: flex;
  background: #fff;
  border-radius: 1000%;
  margin-bottom: 25px;
  justify-content: center;
  align-content: center;
}

.slick-dots{
  text-align: center;
}
.slick-dots li{
  margin-right: 7px;
  display: inline-block;
  list-style: none;
}
.slick-dots li.slick-active button{
background: var(--color-1);
}
.slick-dots li button{
  font-size: 0;
  width: 12px;
  height: 12px;
  background: none;
  padding: 0;
  border: 1px solid var(--color-1);
  border-radius: 50%;
}

h3.title-border{
  position: relative;
  font-size: 38px;
  color: var(--color-2);
  font-family: var(--font-semi);
}
h3.title-border:after{
  content: "";
  position: absolute;
  height: 10px;
  width:50%;
  background-color: var(--color-1);
  right: 0;
  bottom: -25px;
}
.box-card{
  margin-bottom: 25px;
  text-align: center;
border: 1px solid var(--color-5);
padding:30px;
border-radius: 20px;
}
.box-card p{
  padding-top: 20px;
  margin-bottom: 0;
}
.box-card h3{
  padding-top: 8px;
  color: var(--color-2);
  font-size: 20px;
}
.box-card h4{
  padding: 10px 0;
  font-size: 16px;
}

a.card-link{
  display: block;
  margin-bottom: 30px;
}
a.card-link,
a.doc-block{
  color: var(--color-2);
  text-decoration: none;
}
a.doc-block{
  display: flex;
  gap: 20px;
  padding: 20px;
    text-align: center;
      flex-direction: column;
      align-content: center;
      justify-content: center;
}
a.doc-block img{
  width: 70px;
  margin: 0 auto;
}
a.doc-block  p{

  color: var(--color-2);
  font-size: 22px;

}
a.doc-block{
  border-left: 1px solid #E1F3EA;
}
.no-border{
  border-left: 0!important;
}
/* ---- custom list ------- */
.custom-list {
  list-style-type: none;
  padding: 0;
}

.custom-list li {
  display: flex;
  align-items: center;
  margin-top: 2rem;
  font-size: 20px;
  font-weight: 600;
}

.custom-list li::before {
  content: "";
  background-image: url("../img/check.svg");
  background-size: contain;
  background-repeat: no-repeat;
  width: 40px;
  height: 40px;
  margin-left: 10px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.partners-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer {
  background-image: linear-gradient(360deg, #e8f8ef, #ffffff);
}

footer ul {
  padding: 0;
  margin: 0;
}

footer ul li {
  margin: 0;
  text-align: right;
  padding: 0;
}

.footer li {
  list-style-type: none;
}

footer p {
  font-weight: 800;
}

footer ul li a {
  list-style-type: none;
  text-decoration: none;
  color: rgb(0, 0, 0);
  padding-bottom: 5px;
  display: block;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.3s;
  text-align: right;
}

.icon {
  width: 32px;
  height: 32px;
  transition: filter 0.3s ease;
  cursor: pointer;
}

.icon:hover {
  fill: #00b451;
  color: white;
}


.partners-img .customer-img {
  max-width: 10rem;
}

.partners-img:hover {
  transform: scale(1.05)
}

.footer-text {
  font-weight: 500;
  font-size: 12px;
  text-align: right;
  font-weight: inherit;
}

.text-shadow {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.text-line {
  line-height: 1.5;
}


.container2 {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    width: 100%;
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    margin-left: auto;
    margin-right: auto;
}

/* Responsive breakpoints for container2 */
@media (min-width: 576px) {
    .container2 {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container2 {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container2 {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container2 {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .container2 {
        max-width: 1650px;
    }
}
.container2 {
  padding-left: 5px;
  padding-right: 5px;
  margin-left: auto;
  margin-right: auto;

  font-family: "Alexandria_Regular", sans-serif !important;
}

.footer-card {
  border-radius: 32px;
}

.footer p {
  text-align: right;
}

.font-bold {
  font-weight: bold;
}

.green-text {
  color: #00b451;
}



/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    /* Masquer la navigation */
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 20px;
    background: #ffffff;
    padding: 20px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    z-index: 1000;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .buttons {
    display: none;
    /* Masquer les boutons pour mobile */
  }
}
