* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "MuseoModerno", cursive;
  text-decoration: none;
  list-style: none;
}
:root {
  --text-color: #000000;
  --bg-color: #e5e5e5;
  --main-color: #3897c2;
  --second-color: #fff;
  --other-color: #868686;
  --big-font: 5.5rem;
  --p-font: 1rem;
  /*ajouter*/
  --max-width: 1200px;
}
.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 5rem 1rem;
}
.section__header {
  font-size: 2.5rem;
  font-weight: 600;
  text-align: center;
}
.section__subheader {
  margin-bottom: 10px;
  font-size: 1.2rem;
  text-align: center;
}
.section__description {
  max-width: 600px;
  margin-top: 1rem;
  margin-inline: auto;
  text-align: center;
}
.btn {
  padding: 0.5rem 1.5rem;
  outline: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  /*background: var(--main-color);
  color: var(--text-color);*/
}
img {
  display: flex;
  width: 100%;
}
html,
body {
  scroll-behavior: smooth;
}
body {
  background: var(--bg-color);
  color: var(--text-color);
  padding-top: 60px;
}
header {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 27px 9%;
  transition: all ease 0.55s;
}
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* Ajoutez d'autres styles nécessaires */
}
.logo {
  display: flex;
  align-items: center;
  color: var(--text-color);
  font-size: 40px;
  font-weight: bold;
  text-decoration: none; /* Supprimer le soulignement */
  width: 20%;
}
.logo i {
  vertical-align: middle;
  color: var(--main-color);
  font-size: 35px;
  margin-right: 5px;
}

.navlist {
  display: flex;
  margin-top: 1%;
}
.navlist a {
  font-size: var(--p-font);
  color: var(--text-color);
  font-weight: 600;
  margin: 0 35px;
  transition: all ease 0.55s;
  text-decoration: none; /* Supprimer le soulignement */
}
.navlist a:hover {
  color: var(--main-color);
}
.navlist a.active {
  color: var(--main-color);
}
.h-main {
  display: flex;
  align-items: center;
}
.h-btn {
  display: inline-block;
  padding: 10px 25px;
  color: var(--bg-color);
  background: var(--main-color);
  font-size: 14px;
  font-weight: 500;
  border-radius: 5px;
  border: 2px solid var(--main-color);
  margin-right: 20px;
  transition: all ease 0.55s;
}
.h-btn:hover {
  background: transparent;
  border: 2px solid var(--text-color);
  color: var(--text-color);
}
#menu-icon {
  font-size: 40px;
  color: var(--text-color);
  z-index: 10001;
  cursor: pointer;
  margin: 15px;
  display: none;
}
#darkmode {
  font-size: 30px;
  cursor: pointer;
  color: var(--text-color);
  margin-left: 10px;
}
section {
  padding: 0 12%;
}
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 1rem;
  margin-bottom: 10%;
}
.hero-img {
  height: 800px;
  width: 800px;
}
.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hero-in {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, auto));
  align-items: center;
  text-align: center;
  gap: 30px;
}
.hero-text h1 {
  font-size: var(--big-font);
  line-height: 1.3;
  font-weight: 800;
}
.hero-text h4 {
  margin: 5px 0 20px;
  color: var(--main-color);
  text-transform: uppercase;
  letter-spacing: 6px;
  font-size: 22px;
  /*font-weight: 400;*/
}
.hero-text p {
  color: var(--other-color);
  font-size: var(--p-font);
  font-weight: 500;
  line-height: 26px;
  max-width: 550px;
  margin-bottom: 4rem;
}
.box {
  background: var(--second-color);
  padding: 25px 40px;
  border-radius: 1rem;
  box-shadow: rgba(33, 35, 38, 0.1) 0px 10px 10px -10px;
  transition: all ease 0.55s;
  cursor: pointer;
}
.box img {
  max-width: 100%;
  height: auto;
}
.box h3 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 7px;
}
.box h5 {
  color: var(--main-color);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 4px;
}
.box:hover {
  transform: translateY(-5px) scale(1.1);
}
.down-arrow {
  position: absolute;
  bottom: 3.5rem;
  right: 9%;
}
.down-arrow i {
  padding: 14px;
  color: var(--bg-color);
  background: var(--text-color);
  font-size: 25px;
  border-radius: 3rem;
  cursor: pointer;
  transition: all ease 0.55s;
}
.down-arrow i:hover {
  background: var(--main-color);
  transform: translateY(5px);
}
body.color {
  --text-color: #fff;
  --bg-color: #08162a;
  --second-color: #2b3544;
}
@media (max-width: 1600px) {
  header {
    padding: 0px 3%;
    background: var(--second-color);
  }
  section {
    padding: 0 5%;
  }
}
@media (max-width: 1470px) {
  .hero-img {
    height: 700px;
    width: 700px;
  }
}
@media (max-width: 1400px) {
  :root {
    --big-font: 4rem;
    --p-font: 15px;
  }
  .box h3 {
    font-size: 20px;
    margin-bottom: 2px;
  }
  .hero-img {
    width: 600px;
    height: 600px;
  }
}
@media (max-width: 1230px) {
  .hero {
    grid-template-columns: 1fr;
    height: auto;
  }
  .hero-text {
    order: 2;
  }
  section {
    padding: 50px 5%;
  }
  .hero-img {
    margin: auto;
    height: auto;
    width: auto;
  }
  .hero-img i {
    width: 100%;
    height: auto;
    max-width: 650px;
  }
  .down-arrow {
    display: none;
  }
}
@media (max-width: 1070px) {
  header {
    padding: 0px 3%;
    background: var(--second-color);
  }
  #menu-icon {
    display: initial;
  }
  .navlist {
    position: absolute;
    top: -700px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    background: #000;
    transition: all ease 0.55s;
    text-align: center;
  }
  .navlist a {
    display: block;
    font-size: 23px;
    font-weight: 400;
    margin: 0.8rem 1.8rem;
    color: var(--second-color);
  }
  .navlist.open {
    top: 100%;
  }
}

@media (max-width: 600px) {
  .hero-in {
    grid-template-columns: repeat(auto-fit, minmax(190px, auto));
    gap: 18px;
  }
  .box {
    padding: 10px 30px;
  }
  .h-btn {
    padding: 6px 14px;
    margin-right: 8px;
  }
  :root {
    --big-font: 3rem;
    --p-font: 14px;
  }
  .logo {
    font-size: 20px;
    width: 35%;
  }
  #menu-icon {
    margin-right: 5px;
  }
}
/**/

/*contact*/
.contact {
  position: relative;
  min-height: 100vh;
  padding: 50px 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: url(../img/contact.png);
  background-size: cover;
}
.contact .content {
  max-width: 800px;
  text-align: center;
}
.contact .content h2 {
  font-size: 36px;
  font-weight: 500;
  color: var(--second-color);
}
.contact .content p {
  font-weight: 300;
  color: var(--second-color);
}
.container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}
.container .contactInfo {
  width: 50%;
  display: flex;
  flex-direction: column;
}
.container .contactInfo .boxc {
  position: relative;
  padding: 20px 0;
  display: flex;
}
.container .contactInfo .boxc .icon {
  min-width: 60px;
  height: 60px;
  background: var(--second-color);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 22px;
}
.container .contactInfo .boxc .text {
  display: flex;
  margin-left: 20px;
  font-size: 16px;
  color: var(--second-color);
  flex-direction: column;
  font-weight: 300;
}
.container .contactInfo .boxc .text h3 {
  font-weight: 500;
  color: #424867;
}
.contact-form {
  width: 40%;
  padding: 40px;
  background: #ffffff96;
}
.contact-form h2 {
  font-size: 30px;
  color: #333;
  font-weight: 500;
}
.contact-form .inputBox {
  position: relative;
  width: 100%;
  margin-top: 10px;
}
.contact-form .inputBox input,
.contact-form .inputBox textarea {
  width: 100%;
  padding: 5px 0;
  font-size: 16px;
  margin: 10px 0;
  border: none;
  border-bottom: 2px solid #333;
  outline: none;
  resize: none;
  background: #fff0;
}
.contact-form .inputBox span {
  position: absolute;
  left: 0;
  padding: 5px 0;
  font-size: 16px;
  margin: 10px 0;
  pointer-events: none;
  transition: 0.5s;
  color: #666;
}
.contact-form .inputBox input:focus ~ span,
.contact-form .inputBox input:valid ~ span,
.contact-form .inputBox textarea:focus ~ span,
.contact-form .inputBox textarea:valid ~ span {
  color: #e91e63;
  font-size: 12px;
  transform: translateY(-20px);
}
.contact-form .inputBox input[type="submit"] {
  width: 100px;
  background: #00bcd4;
  color: var(--second-color);
  border: none;
  cursor: pointer;
  padding: 10px;
  font-size: 18px;
}
.g-recaptcha {
  /* margin: 10px 20px;*/
}
.status {
  font-size: 15px;
  color: green;
  padding: 15px;
}
.status span {
  color: red;
}
@media (max-width: 991px) {
  .contact {
    padding: 50px;
  }
  .container {
    flex-direction: column;
  }
  .container .contactInfo {
    margin-bottom: 40px;
  }
  .container .contactInfo,
  .contact-form {
    width: 100%;
  }
}

/*footer*/
.footer-area {
  margin-top: 15px;
  padding: 100px 0;
  background-color: #0093e9;
  background-image: linear-gradient(90deg, #0093e9 0%, #80d0c7 100%);
  color: var(--second-color);
  position: relative;
}

.main {
  width: 1200px;
  margin: 0 auto;
}
.footer {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  flex-direction: row;
}
.single-footer {
  width: 230px;
}
.single-footer:first-child {
  width: 400px;
}
.single-footer h4 {
  text-transform: capitalize;
  font-size: 22px;
  margin-bottom: 20px;
}
.footer-social a {
  color: var(--second-color);
  border: 1px solid var(--second-color);
  width: 40px;
  height: 40px;
  display: inline-block;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  margin-right: 10px;
}

.footer-social {
  margin-top: 20px;
}
.single-footer {
  width: 230px;
}
.single-footer ul {
  list-style: none;
}
.single-footer ul li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}
.single-footer ul li a {
  color: var(--second-color);
  text-transform: capitalize;
  text-decoration: none;
}
.single-footer ul li a i {
  position: absolute;
  left: 0;
  top: 5px;
}
.copy {
  text-align: center;
  text-transform: capitalize;
  margin-top: 50px;
}

@media only screen and (max-width: 600px) {
  .main {
    width: 300px;
  }

  .single-footer:first-child,
  .single-footer {
    width: 100%;
    margin-bottom: 30px;
  }
}

@keyframes footer_wave {
  0% {
    transform: translateX(0%);
  }
  50% {
    transform: translateX(25%);
  }
  100% {
    transform: translateX(50%);
  }
}

.footer-area {
  background: url(../img/vague.png);
  overflow: hidden;
  background-size: cover;
  background-repeat: no-repeat;
}

/*about*/
body .heading {
  background-color: var(--bg-color);
  color: var(--text-color);
}
.heading {
  width: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  margin: 20px auto;
}
.heading h1 {
  margin-top: 3%; /*rajouter*/
  font-size: 50px;
  color: var(--text-color);
  margin-bottom: 25px;
  position: relative;
}
.heading h1::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 4px;
  display: block;
  margin: 0 auto;
  background-color: var(--bg-color);
}
.heading p {
  font-size: 18px;
  color: var(--text-color);
  margin-bottom: 35px;
}
.containera {
  width: 90%;
  margin: 0 auto;
  padding: 10px 20px;
}
.about {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.about-image {
  flex: 1;
  margin-right: 40px;
  overflow: hidden;
}
.about-image img {
  max-width: 100%;
  height: auto;
  display: block;
  transition: 0.5s ease;
}
.about-image:hover img {
  transform: scale(1.2);
}
.about-content {
  flex: 1;
}
.about-content h2 {
  font-size: 23px;
  margin-bottom: 15px;
  color: var(--text-color);
}
.about-content p {
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-color);
}
.about-content .read-more {
  display: inline-block;
  padding: 10px 20px;
  text-decoration: none;
}
@media screen and (max-width: 768px) {
  .heading {
    padding: 0px 20px;
  }
  .heading h1 {
    margin-top: 3%; /*rajouter*/
    font-size: 36px;
  }
  .heading p {
    font-size: 17px;
    margin-bottom: 0px;
  }
  .container {
    padding: 0px;
  }
  .about {
    padding: 20px;
    flex-direction: column;
  }
  .about-image {
    margin-right: 0px;
    margin-bottom: 20px;
  }
  .about-content p {
    padding: 0px;
    font-size: 16px;
  }
  .about-content .read-more {
    font-size: 16px;
  }
}

/*service*/
.container-service {
  width: 100%;
  /*height: 100vh;*/
  padding: 0 8%;
  margin-bottom: 5%; /*j'ai rajouter*/
}
.container-service h1 {
  text-align: center;
  padding-top: 10%;
  margin-bottom: 60px;
  font-weight: 600;
  position: relative;
}
.container-service h1::after {
  content: "";
  background: var(--bg-color);
  width: 100px;
  height: 5px;
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
}
.row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 30px;
}
.service {
  text-align: center;
  padding: 25px 10px;
  border-radius: 5px;
  font-size: 14px;
  cursor: pointer;
  background: transparent;
  transition: transform 0.5s, background 0.5s;
}
.service i {
  font-size: 40px;
  margin-bottom: 10px;
  color: var(--bg-color);
}
.service h2 {
  font-weight: 600;
  margin-bottom: 8px;
}
.service:hover {
  background: var(--text-color);
  color: var(--main-color);
  transform: scale(1.05);
}
.service:hover i {
  color: var(--main-color);
}

/*project*/
.project__header {
  margin-bottom: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  gap: 2rem;
}
.project__nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  row-gap: 2rem;
}
.project__btn {
  /*color: var(--text-color);
  background-image: none;
  background-color: transparent;*/
}
.mixitup-control-active {
  /*color: var(--second-color);
  background-image:var(--other-color);*/
}
.project__grid {
  display: grid;
  gap: 1rem;
}
.project__card img {
  border-radius: 5px;
  cursor: pointer;
}
/*service*/

.service__grid {
  margin-top: 4rem;
  display: grid;
  gap: 4rem;
}
.service__card {
  position: relative;
  padding: 2rem;
  padding-top: 3rem;
  text-align: center;
  background-color: var(--bg-color);
  color: var(--text-color);
  border-bottom: 2px solid transparent;
  border-radius: 5px;
  transition: 0.3s;
}

.service__card:hover {
  border-color: var(--text-color);
}
.service__card span {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 4px 10px;
  font-size: 2rem;
  background-color: var(--main-color);
  border-radius: 2px;
  transition: 0.3s;
}
.service__card:hover span {
  color: var(--second-color);
  background-image: var(--other-color);
}
.service__card h4 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
}
.service__card p {
  color: var(--text-color);
}
.swiper {
  margin-top: 4rem;
  padding-bottom: 4rem;
  width: 100%;
}
.swiper-slide {
  padding-block: 2rem;
  /*background-color: var(--other-color);*/
}
.swiper-pagination-bullet-active {
  background-color: red;
}
.client__card {
  padding: 2rem 1rem;
  max-width: 750px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
  background-color: var(--bg-color);
  color: var(--text-color);
}
.client__card img {
  max-width: 200px;
  margin: auto;
}
.client__card p {
  margin-bottom: 1rem;
}
.client__card h4 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 400;
}
.client__card h4 span {
  margin-left: 10px;
  font-size: 1rem;
}
/*blog*/
.blog__grid {
  margin-top: 4rem;
  display: grid;
  gap: 2rem 1rem;
}
.blog__card img {
  margin-bottom: 1rem;
  border-radius: 5px;
}
.blog__card p {
  margin-bottom: 5px;
  color: var(--text-color);
}
.blog__card h4 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  font-weight: 600;
}
.blog__card a {
  color: var(--text-color);
  transition: 0.3s;
}
.blog__card a:hover {
  color: var(--main-color);
}
@media (min-width: 480px) {
  .project__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem 1rem;
  }
  .service__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem 1rem;
  }
  .blog__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 768px) {
  .project__header {
    flex-direction: row;
  }
  .project__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .service__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .service__grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .client__card {
    flex-direction: row;
    align-items: center;
    text-align: left;
  }
  .blog__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1024px) {
  .project__grid {
    gap: 2rem;
  }
  .service__grid {
    gap: 1rem;
  }
  .blog__grid {
    gap: 2rem;
  }
}

/*banner*/
.conatiner {
  width: 100%;
  height: 100vh;
}
.banner {
  width: 100%;
  height: 65vh;
  background-image: url(../img/1.png);
  background-size: cover;
  background-position: 69%;
  border-radius: 10px;
  position: absolute;
  margin-top: 100px;
  background-attachment: fixed;
}

.banner-text {
  color: var(--bg-color);
  padding-top: 100px;
  margin: 50px;
  background-color: rgb(10 9 9 / 36%);
  box-shadow: 0px 10px 10px -10px rgb(33 35 38 / 94%);
  /* padding: 20px; */
}
.banner-text h2 {
  font-weight: bold;
  font-size: 25px;
  font-size: 25px;
  margin-bottom: 4%;
  color: var(--text-color);
}
.banner-text h1 {
  margin-left: 5px;
  /* font-size: 100px;*/
}
.underlined {
  text-decoration: underline;
}
a {
  text-decoration: none;
}

/*contact*/
.contact {
  min-height: 100vh;
  padding: 2em;
  align-items: center;
  display: flex;
  justify-content: center;
}
.contact > div {
  background: #fff;
  padding: 2.5em;
  border-radius: 10px;
  box-shadow: 0 0 2em rgb(0, 0, 0, 0.3);
}
.contact h1 {
  font-size: 2.5rem;
}
.contact p {
  max-width: 400px;
  line-height: 27px;
  color: #a0a0a0;
  margin: 1em 0 2em 0;
}
.contact form {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
}
.contact input,
.contact textarea {
  border: none;
  padding: 0.8em;
  width: 100%;
  border-radius: 5px;
  margin: 0.5em 0 1em 0;
  font-size: 1.1em;
  background: #eee;
  color: #969696;
}
.contact label {
  color: #a0a0a0;
}
.contact textarea {
  resize: none;
  height: 8em;
  font-family: sans-serif;
}
.contact input:focus,
.contact textarea:focus {
  outline: none;
}
.contact input::placeholder,
.contact textarea::placeholder {
  color: #bababa;
}

@media screen and (max-width: 500) {
  .contact {
    font-size: 14px;
  }
}
a {
  text-decoration: none;
}
