/******************** section 1 ****************/
.hero {
  background: url("../images/news.png") no-repeat center center/cover;
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  z-index: 3;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 4;
}

.hero-content {
  position: relative;
  z-index: 8;
  padding: 20px;
}

.hero-content .small {
  font-size: 14px;
  font-weight: 500;
}

.hero-content h1 {
  font-size: 50px;
  font-weight: 600;
}

.hero-content p {
  font-size: 16px;
  margin:  20px 0; 
  line-height: 1.4;

  font-weight: 500;
  color: white;

  /* margin: 0 auto 30px; */
}

.hero-content p a {
  color: white;
  transition: 0.3s ease-in-out;
}
.hero-content p a:hover {
  color: #c77f05;
}

.underline {
  height: 5px;
  width: 214px;
  background: var(--clr-orange); /* Secondary color */
  margin: 10px auto 20px;
}
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 34px;
  }

  .hero-content p {
    font-size: 15px;
  }
}

@media (max-width: 600px) {
  .hero {
    height: 60vh;
  }

  .hero-content h1 {
    font-size: 26px;
  }

  .underline {
    width: 114px;
  }
}

/******************** section 2 ****************/

.actu {
  padding: 60px 40px;
  text-align: center;
  position: relative;
    overflow: hidden;
}

.actu-text {
  position: relative;
  z-index: 3;
}

.actu-title {
  font-size: 40px;
  background: var(--clr-orange);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  font-weight: 500;
  padding-bottom: 20px;
}

.actu-subtitle {
  max-width: 1510px;
  margin: 0 auto 50px;
  padding-bottom: 30px;

  font-size: 18px;
  font-weight: 400;

  line-height: 1.6;

  text-align: center;
}

.background {
  background: url("../images/globej.png") no-repeat center center/cover;
  position: absolute;
  background-position: left;
  background-size: contain;
  top: -70px;
  left: 0;
  height: 838px;
  width: 838px;
  z-index: 1;
  /* pointer-events: none; */
}

.container {
  max-width: 1300px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
gap: 30px;
justify-content: center;




  position: relative;
  z-index: 4;
  /* margin-right: 0; */
}

.content-left {
  grid-column: span 4;
}
.act-img {
  width: 100%;
  box-shadow: 0px 4px 4px 0px #c77f05;
  height: 445px;
  border-radius: 5px;
}
.act-img img {
  width: 100%;
  height: 100%;
  border-radius: 5px;
  object-fit: cover;
 
}
.act-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 30px 0;
  color: #757575;
  font-family: var(--ff-tertiary);
  font-weight: 400;
  font-size: 18px;
}

.act-detail p {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  width: 100%;
  text-align: center;
}

.act-detail  .Date {
  border-left:  1px solid #757575;
  border-right:  1px solid #757575;
}
.act-detail  .Date img {
opacity: 0.1;
}


.trait-noir {

  background-color: #757575;
  width: 100%;
  height: 1px;
  margin-bottom: 30px;
  opacity: 0.1;
}


.content-left h3 {
  font-family: var(--ff-tertiary);
  line-height: 40px;
  font-weight: 400;
  font-size: 30px;

  text-align: left;
  text-transform: uppercase;
  padding: 25px 0;
}

.exp{
    background: #F8F8F8CF;
    padding: 20px;

}

.exp h4{
  font-family: var(--ff-tertiary);
  font-size: 25px;
  padding-bottom: 10px;

}

        
.exp p {
    font-family: var(--ff-primary); 
font-weight: 400;
font-size: 16px;
line-height: 1.5;
letter-spacing: 0%;
text-align: justify;
padding-bottom: 10px;

}

.exp ul {
list-style: disc;
padding: 0 20px;
}
li{
  text-align: justify;
  padding-bottom: 10px;
}

.button {
    display: flex;
    justify-content: end;
}

.button .btn {
    padding: 5px 20px;
    font-size: 16px;
    font-family: var(--ff-primary);
    font-weight: 500;
    border-radius: 2px;
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
  
    text-align: center;
    background-color: #c77f05;
  }
  
  
  
  .buttons .btn a {
    color: white;
  }

  .comment {
    margin-top: 40px;
  }

  .comment h4 {
    font-family: var(--ff-tertiary);
    font-weight: 600;
    font-size: 25px;
    text-align: left;
    padding-bottom: 15px;  

  }

  .comment textarea {
    width: 100%;
    border: 1px solid #757575;
    height: 134px;
    font-family: var(--ff-primary);
    font-size: 15px;
    font-weight: 400;
    padding: 15px;
    outline: none;


  }
 
   
  .post-comments {
    background-color: #FAFAFA;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    margin-top: 20px;
  }
  
  .post-comments-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .flexs {
    display: flex;
    align-items: center;
    gap: 10px;

  }
  .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
  }
  
 
  
  .username {
    font-size: 18px;
    font-weight: 400;
    font-family: var(--ff-tertiary);
  }
  
  p.date {
    font-size: 13px;
    color: #757575;
    text-align: left;
  }
  
  .reply-btn {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
  }
  
  .reply-btn:hover {
    color: #000;
  }
  
  .post-comments-body p {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    margin: 0;
    text-align: left;
  }
  
  /* Responsive mobile */
  @media screen and (max-width: 600px) {
    .post-comments-header {
      flex-direction: column;
      align-items: flex-start;
    }
  
    .reply-btn {
      align-self: flex-end;
    }
  
    .post-comments-meta {
      margin-left: 0;
    }
  }
  
 
  

@media screen and (max-width: 1024px) {
  .actu-title {
    font-size: 32px;
  }

  .actu-subtitle {
    font-size: 16px;
    padding: 0 10px;
  }
}

@media screen and (max-width: 768px) {
  .actu-title {
    font-size: 28px;
  }

  .actu-subtitle {
    font-size: 16px;
    padding: 0 10px;
  }
}

@media screen and (max-width: 1050px) {
  .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .content-left, .content-right {
    grid-column: span 6;
  }

  .content-left h3 {
    font-size: 24px;
  }

  

  .act-img {
    height: 300px;
  }

  .button {
    justify-content: center;
  }

  .background {
    display: none; /* Cache le globe sur petit écran pour la lisibilité */
  }

  .comment h4 {
    font-size: 20px;
  }

  .comment textarea {
    font-size: 14px;
    height: 120px;
  }

  .content-right .com, .content-right .article {
    width: 100%;
    padding: 15px;
  }

 
 
}

@media screen and (max-width: 768px) {
  .actu-title {
    font-size: 24px;
  }

  .actu-subtitle {
    font-size: 14px;
    padding: 0 10px;
  }

  .content-left h3 {
    font-size: 20px;
    text-align: center;
    line-height: 1.4;
  }

  .act-img {
    height: 200px;
  }


  .act-detail {
    font-size: 15px;
    padding: 20px 0;
  }

  .button .btn {
    font-size: 14px;
    padding: 8px 16px;
  }

  .comment h4 {
    font-size: 18px;
  }
}

@media screen and (max-width: 580px) {

  .actu {
    padding-left: 20px;
    padding-right: 20px;
  }

  .actu-title {
  text-align: left;
  }

  .actu-subtitle {
text-align: left;
  }
  .act-detail {
    flex-direction: column;
    align-items: start;
    justify-content: start;
    gap: 10px;
    font-size: 15px;
    text-align: left;
  }
  .act-detail p {
    text-align: left;
    justify-content: flex-start;

  }

  .act-detail img {
width: 20px;
height: 20px;
  }

  .act-detail .Date {
    border: none;
  }
}



 
/********************* NOS ARTICLES *****************************/


.nos-articles {
  padding: 60px 20px;
  text-align: center;
  
  background-color: #fff;
}

.articles-title {
  font-size: 40px;
  background: var(--clr-orange);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 500;
        text-align: center;
        margin-bottom: 10px;
}



.articles-subtitle {
  max-width: 1200px;
  margin: 0 auto 50px;
  text-align: center;

  font-size: 18px;
  font-weight: 400;
 
  line-height: 1.6;
 
}


.blog-grid-section {
  padding: 40px 20px;
  max-width: 1300px;
  margin: auto;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}




.blog-card {
  background-color: #fff;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0px 4px 4px 0px #00000040;
height: 596px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
  padding: 15px 10px;
  gap: 30px;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.card-image {
  position: relative;
  height: 283px;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.card-date {
  width: 100%;
 
 display: flex;
 justify-content: end;
 gap: 10px;
 align-content: center;
 background: var(--clr-orange);
 -webkit-background-clip: text;
 -webkit-text-fill-color: transparent;
  margin: 20px 0 0;
  font-size: 14px;
 font-weight: 500;
 font-family: var(--ff-secondary);
}

.card-date img {
  width: 20px;

}

.card-content {
  padding: 20px 0 0 0;
}

.card-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-family: var(--ff-secondary);
  text-align: left;
}

.card-content p {
  font-size: 12px;
  font-weight: 400;
  font-family: var(--ff-primary);
  text-align: justify;
  padding-bottom: 40px;
}

.card-footer {
  display: flex;
  justify-content: flex-start;
  
}



.card-footer a {
  background: var(--clr-orange);
}

/* Responsive design */
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .articles-title {
    font-size: 32px;
    text-align: center;
  }

  .articles-subtitle {
    font-size: 18px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-card {
    height: auto;
  }

  .card-content p {
    padding-bottom: 20px;
  }

  .articles-title {
    font-size: 28px;
  }

  .articles-subtitle {
    font-size: 16px;
  }
}





