
@import url("./base.css");


  /* about */

.about {
    display: flex;
    background-image: url("../images/Asset Maisoft/contact.png");

    color: white;
    background-size: cover;
   background-repeat: no-repeat;
    padding:  60px 80px 120px;
    align-items: center;
    justify-content: space-between;
    

  position: relative;
height: 50vh;
   
  }

  .about-content h3{
    font-size: 45px;
   
    font-weight: 500;
    font-family: var(--ff-secondary);
    margin-bottom: 50px;
  }

  .back{
    display:  flex;
    gap: 20px;
    align-items: center;
    color: white;
    
  }
  .back a {
    color: white;
  }
  .icons {
    display: flex;
  }

  @media (max-width: 1024px) {
    .about {
      flex-direction: column;
      padding: 40px 20px;
      height: auto;
      text-align: center;
    }
  
    .about-content h3 {
      font-size: 36px;
      margin-bottom: 30px;
    }
  
    .back {
      flex-direction: column;
      gap: 10px;
    }
  
    .icons img {
      width: 20px;
    }
  }
  
  @media (max-width: 768px) {
    .about-content h3 {
      font-size: 28px;
      margin-bottom: 20px;
    }
  
    .icons img {
      width: 18px;
    }
  }
  
  @media (max-width: 480px) {
    .about-content h3 {
      font-size: 24px;
      margin-bottom: 15px;
    }
  
    .icons {
      gap: 5px;
    }
  
    .icons img {
      width: 16px;
    }
  
    .back span {
      font-size: 14px;
    }
  
    .back a {
      font-size: 14px;
    }
  }
  

/********************* CONTACT *****************************/


.contact {
  margin-top: 30px;
  padding: 60px 20px;
  text-align: center;
  font-family: var(--ff-secondary);
  background-color: #fff;
}

.contact-title {
  font-size: 40px;
  font-family: var(--ff-secondary);
  font-weight: 500;
        text-align: center;
        margin-bottom: 10px;
}



.contact-subtitle {
  max-width: 1200px;
  margin: 0 auto 50px;
  text-align: center;
 
  font-size: 18px;
  font-weight: 500;
  color: var(--clr-grey);
  line-height: 1.6;
  font-family: var(--ff-primary);
}

.contact-section {
  display: grid;
  max-width: 1378px;
  grid-template-columns: 520px 858px;
  
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff;
  height: 1008px;
  margin: 0 auto;

}

/* Colonne gauche */
.contact-info {
  color: #fff;
  padding: 30px 20px;;


  background: linear-gradient(90deg, #0647C5 0%, #0954E6 100%);

}

.contact-info h2 {
  font-size: 28px;
  font-weight: 600;
  margin: 30px 0;
  text-transform: uppercase;
  font-family: var(--ff-tertiary);
}

.contact-info p {
  font-size: 18px;
  line-height: 1.6;
  font-weight: 500;
  text-align: justify;
  font-family: var(--ff-primary);
 
}

.info-block {
  margin-top: 80px;
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: var(--ff-tertiary);

}

.icon {
 padding: 10px;
  background-color: white;
  border-radius: 10px;
}

.info-block  {
  font-size: 18px;
  line-height: 1.6;
  font-weight: 500;
  text-align: justify;
 
}

/* Colonne droite */
.contact-form {
  background-color: #F3F3F3;
  box-shadow: 0px 4px 4px 0px #00000040;
  border: 2px solid #FFFFFF;

  padding: 30px 20px;
  font-family: var(--ff-tertiary);
 
}



.form-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-bottom: 60px;

}

label {
  font-size: 18px;
  line-height: 1.6;
  font-weight: 500;
  text-align: justify;
  font-family: var(--ff-primary);
  padding-bottom: 10px;
}

input, textarea {
  padding: 24px;
  font-size: 18px;
  font-weight: 500;

  background: #FFFFFF;
color: #C5C5C5;
  border-radius: 10px;
  width: 100%;
  border: none;
  outline: none;
  font-family: var(--ff-primary);
}

textarea {
  resize: vertical;
  height: 222px;
}

button {
  display: flex;
  
justify-content: start;
align-items: center;
  background-color: #0057ff;
  gap: 10px;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  font-size: 24px;
  transition: 0.3s;
  font-family: var(--ff-tertiary);
}

button img {
  width: 46.5px;
}

button:hover {
  background-color: #003ea6;
}

@media (max-width: 768px) {
  .contact-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .contact-section {
    grid-template-columns: 1fr;
    height: 100%;
  }

  .contact-info,
  .contact-form {
    padding: 30px 20px;
  }

  .info-block {
    flex-direction: column;
    align-items: flex-start;
  }

  .info-block ul {
    padding-left: 0;
  }

  button {
    font-size: 22px;
    padding: 10px 16px;
  }

  button img {
    width: 36px;
  }
}

@media (max-width: 576px) {
  .contact-title {
    font-size: 28px;
  }

  .contact-subtitle {
    font-size: 16px;
    padding: 0 10px;
  }

  .contact-info h2 {
    font-size: 22px;
  }

  .contact-info p,
  .info-block,
  label,
  input,
  textarea {
    font-size: 16px;
  }

  input, textarea {
    padding: 16px;
  }

  .icon {
    padding: 6px;
    border-radius: 8px;
  }

  button {
    font-size: 20px;
  }

  @media (max-width: 768px) {

    .contact {
      padding: 0;
    }
    .contact-info {
      margin-bottom: 30px;
    }
  }
  
}
