@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #ffffff;
}

/* Page Container */
.page-container {
  max-width: 1350px;
  margin: auto;
}

/* Hero Section */
.hero {
  background: url("./images/hero.jpg")
    no-repeat center center/cover;
  color: white;
  text-align: left;
  padding: 5rem 5rem;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 90vh;
}

/* Dark overlay for readability */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.hero .container,
.hero-content {
  position: relative;
  z-index: 1;
}
.hero-content {
  margin-top: 6rem;
}
/* Header */

.logo img {
  width: 14rem;
}
.hero-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

/* Navigation */
nav ul {
  list-style: none;
  display: flex;
  font-family: "Space Grotesk", sans-serif;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  text-decoration: none;
  color: white;
  font-weight: 600;
}

/* Contact */
.contact {
  display: flex;
  font-family: "Space Grotesk", sans-serif;
  align-items: center;
}

.contact span {
  margin-right: 2rem;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.btn-outline {
  padding: 15px 40px;
  border: 2px solid white;
  text-decoration: none;
  color: white;
  border-radius: 50px;
  margin-right: 20px;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background-color: white;
  color: #004eac;

  transform: scale(1.05);
}

.btn-primary {
  background-color: #1a56db;
  color: #fff;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  border: 1px solid #1a56db;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-primary:hover,
.free-trial-button:hover {
  background-color: #004eac;
  border: 1px solid #004eac;
}

/* Hero Content */
.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  max-width: 550px;
  line-height: 49.92px;
  letter-spacing: -1.92px;
  font-family: "Space Grotesk", sans-serif;
}

.hero p {
  font-size: 16px;
  margin-bottom: 30px;
  max-width: 600px;
  line-height: 20.8px;
  font-family: "Poppins", serif;
}
.free-trial-button {
  background-color: #1a56db;
  color: #fff;
  padding: 1.7rem 5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  border: 1px solid #1a56db;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
}

/* Feature section */
.feature-section,
.savoirPlus {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 10rem;
}

.feature-section h1,
.savoirPlus h1 {
  font-size: 3rem;
  line-height: 49.92px;
  letter-spacing: -1.92px;
  margin-bottom: 5rem;
  font-weight: 400;
  color: #1a1a1a;
  font-family: "Space Grotesk", sans-serif;
  width: 60%;
  text-align: center;
}

.feature-container,
.savoirPlus-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
}

.feature,
.savoirPlusItem {
  width: 30%;

  border-radius: 8px;

  margin: 10px;
  padding: 20px;
  text-align: left;
  box-sizing: border-box;
}

.feature img,
.savoirPlusItem img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 10px;
}

.feature h2,
.savoirPlusItem h2 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 400;
  font-size: 2rem;
  margin-bottom: 10px;
  line-height: 31px;
}
.feature p,
.savoirPlusItem p {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #676b76;
  line-height: 20px;
  font-family: "Poppins", serif;
}

/*
construction-software-advantages "Quels sont les avantages à opter pour un logiciel BTP ?"
  */
.construction-software-advantages,
.our-customers-appreciate {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: 10rem;
}

.construction-software-advantages h1,
.our-customers-appreciate h1 {
  font-size: 3rem;
  line-height: 49.92px;
  letter-spacing: -1.92px;
  margin-bottom: 5rem;
  font-weight: 400;
  color: #1a1a1a;
  font-family: "Space Grotesk", sans-serif;
  width: 60%;
  text-align: center;
}

.construction-software-advantages__container,
.our-customers-appreciate__container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.construction-software-advantages__item,
.our-customers-appreciate__item {
  display: flex;
  align-items: center;
  gap: 5rem;
  margin-top: 5rem;
}

.construction-software-advantages__text,
.our-customers-appreciate__text {
  width: 35rem;
  text-align: left;
}

.construction-software-advantages__item img,
.our-customers-appreciate__item img {
  width: 30rem;
  border-radius: 8px;
  max-height: 400px;
  object-fit: cover;
}

.construction-software-advantages__item h2,
.our-customers-appreciate__item h2 {
  font-size: 2rem;
  color: #1e1a16;
  font-weight: 400;
  line-height: 31px;
  margin-bottom: 15px;
  font-family: "Space Grotesk", sans-serif;
}

.construction-software-advantages__item p,
.our-customers-appreciate__item p {
  font-size: 1rem;
  line-height: 20.8px;
  font-family: "Poppins", serif;
  color: #676b76;
}

/* Precise coding  */
.precise-coding {
  text-align: center;
  display: flex;
  align-items: center;
  flex-direction: column;
  margin-top: 10rem;
}
.precise-coding h1 {
  font-size: 3rem;
  line-height: 49.92px;
  letter-spacing: -1.92px;
  margin-bottom: 5rem;
  font-weight: 400;
  color: #1a1a1a;
  font-family: "Space Grotesk", sans-serif;
  width: 50%;
  text-align: center;
}
.precise-coding h2 {
  font-size: 2rem;
  color: #1e1a16;
  line-height: 31px;
  font-weight: 400;
  letter-spacing: -1.2px;
  margin-bottom: 20px;
  font-family: "Space Grotesk", sans-serif;
}
.precise-coding__item p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 15px;
  color: #676b76;
  font-family: "Poppins", serif;
}

.precise-coding__container {
  display: flex;
  justify-content: center;
  gap: 5rem;
}

.precise-coding__item--left {
  text-align: left;
  width: 42%;
}

.precise-coding__item--right {
  width: 42%;
  text-align: left;
}

.precise-coding__item ul {
  list-style-type: none;
  padding-left: 0;
  font-family: "Poppins", serif;
  color: #676b76;
  margin-bottom: 10px;
}

.precise-coding__item ul li {
  font-size: 1rem;
}

@media (max-width: 768px) {
  .precise-coding__item--left,
  .precise-coding__item--right {
    width: 100%;
  }
}

/* oFFER SECTION "Une offre accessible à tous et sans engagement
 */

.offer-section {
  display: flex;
  margin: 5rem 0rem;
  align-items: center;
  justify-content: space-between;
  background-color: #1a56db;
  padding: 3rem 4rem;
  border-radius: 3rem;
  overflow: hidden;
}

.offer-content {
  color: #fff;
  max-width: 50%;
}

.offer-content h1,
.services-section h1 {
  font-size: 3rem;
  margin-bottom: 2rem;
  line-height: 49.92px;
  letter-spacing: -1.92px;
  font-weight: 400;
  font-family: "Space Grotesk", sans-serif;
}

.offer-content {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 30px;
  font-size: 1.2rem;
  text-decoration: none;
  font-weight: bold;
  margin-top: 1rem;
}

.offer-image img {
  object-fit: cover;
  border-radius: 15px;
}

.offer-button {
  background-color: white;
  color: #1a56db;
  padding: 1.7rem 5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  border: 1px solid #1a56db;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
  margin-top:20px;
}
.offer-button:hover {
  background-color: white;
  color: #1a56db;
}

/* Service section */
.services-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10rem 4rem;
  flex-wrap: wrap;
  background: #f8f8f7;
  border-radius: 3rem;
}
.service-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.services-section h1 {
  font-size: 3rem;
  margin-bottom: 2rem;
  line-height: 49.92px;
  letter-spacing: -1.92px;
  font-weight: 400;
  font-family: "Space Grotesk", sans-serif;
}

.service-card {
  background-color: #fff;
  border: 1px solid #ebe6e6;
  border-radius: 2rem;
  padding: 2rem;
  width: calc(33.33% - 20px);
  display: flex;
  flex-direction: column;
  justify-content: start;
  height: 45rem;
  position: relative;
  cursor: pointer;
}
.service-card:hover .service-button {
  background-color: #004eac; /* Change to a darker blue when hovered */
  color: white; /* Change the text color to white */
}

.service-icon {
  background: #1a56db;
  display: flex;
  align-items: start;
  justify-content: start;
  gap: 1.4rem;
  font-family: "Space Grotesk", sans-serif;
  color: #ffffff;
  border-top-left-radius: 2rem;
  border-top-right-radius: 2rem;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 2rem;
  font-size: 18px;
  font-weight: 400;
}

.service-list {
  list-style-type: none;
  padding: 0;
  margin-bottom: 1.5rem;
  margin-top: 5rem;
}

.service-list li a {
  text-decoration: none;
  color: #676b76;
  font-size: 14px;
  font-family: "Poppins", serif;
}
.service-list li {
  display: flex; /* Use flexbox to align the tick and text */
  align-items: center; /* Vertically center the items */
  margin-bottom: 10px;
  font-size: 1rem;
  color: #333;
}

.service-list li img {
  margin-right: 10px;
  width: 12px;
  height: 12px;
}

.service-list li a {
  text-decoration: none;
  color: #676b76;
  font-size: 14px;
  font-family: "Poppins", serif;
}

.service-button {
  background-color: transparent;
  color: #1a56db;
  padding: 1rem;
  text-align: center;
  border-radius: 25px;
  text-decoration: none;
  display: block;
  margin-top: auto;
  font-family: "Poppins";
  border: 1px solid #1a56db;
  transition: background-color 0.3s;
}

.service-button:hover {
  background-color: #004eac;
  color: white;
}

/* More about the software "En savoir plus sur le logiciel ? */
.savoirPlusItem {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Pushes content apart */
  background-color: white;
  border: 1px solid rgb(225, 221, 221);
  height: 35rem;
  border-radius: 1.5rem;
  padding: 15px;
  cursor: pointer;
}

.savoirPlusItem img {
  width: 20rem;
  height: 12rem;
}

.savoirPlusItem h2 {
  font-size: 22px;
  line-height: 24.3px;
  color: #1e1a16;
}

.savoirPlusItem p {
  font-size: 16px;
  line-height: 20.8px;
  color: #676b76;
  flex-grow: 1;
}

.savoirPlusItem a {
  text-decoration: none;
  font-family: "Poppins";
  color: #1a56db;
  font-weight: 500;
  margin-top: auto;
  margin-bottom: 1rem;
}

/* Footer */
.footer {
  background-color: #1a56db;
  padding: 5rem 7rem;
  border-radius: 2rem;
  margin-top: 5rem;
  margin-bottom: 5rem;

  text-align: left;
  color: white;
  font-family: "Poppins", sans-serif;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* Top Section */
.footer-container-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-container-top-left {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 2rem;
}

.footer-container-top-left img {
  width: 20rem;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.icon {
  width: 4rem;
  height: 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid rgb(188, 178, 178);
  border-radius: 50%;
  font-size: 1.2rem;
  color: white;
  transition: all 0.3s ease;
  text-decoration: none;
}

.icon:hover {
  background-color: #004eac;
  border: 1px solid #004eac;
}

.footer-container-top-right {
  display: flex;
  flex-direction: column;
  width: 50%;
}

.footer-text {
  font-size: 48px;
  font-weight: 500;
  font-family: "Space Grotesk";
}

.cta-button {
  background-color: white;
  color: #1a56db;
  border: none;
  width: 20rem;
  font-size: 16px;
  font-weight: bold;
  padding: 1.6rem 3rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.cta-button:hover {
  background-color: white;
  color: #1a56db;
}

/* Footer Links */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

/* Three Column Grid */
.footer-links-grid {
  display: flex;
  gap: 1rem;
  justify-content: start;
  margin-top: 5px;
}

/* Two Rows */
.footer-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Footer Columns */
.footer-column {
  flex: 1;
  min-width: 250px;
}

.footer-column h3 {
  font-size: 22px;
  margin-bottom: 15px;
  font-weight: bold;
  text-align: center;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
  text-align: center;
}

.footer-column ul li a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: rgb(222, 207, 207);
}

/* App Links */
.app-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: white;
  text-decoration: none;
  font-size: 16px;
}

.app-links img {
  width: 50px;
  height: 50px;
}

@media (max-width: 768px) {
  .page-container {
    max-width: 95%;
  }
  .hero {
    padding: 2rem;
    margin-top: 1rem;
    nav ul {
      display: none;
    }
  }
  .contact {
    display: none;
  }
  .free-trial-button {
    background-color: #1a56db;
    color: #fff;
    padding: 1rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    border: 1px solid #1a56db;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
  }

  .hero h1 {
    font-size: 32px;
    line-height: 35px;
  }

  .feature-container,
  .savoirPlus-container {
    flex-direction: column;
  }
  .feature-section h1,
  .savoirPlus h1 {
    font-size: 2.4rem;
    line-height: 37.92px;
    width: 100%;
    letter-spacing: -1.92px;
  }
  .feature,
  .savoirPlusItem {
    width: 100%;
    padding: 10px;
    text-align: left;
  }

  .construction-software-advantages__item,
  .our-customers-appreciate__item {
    flex-direction: column;
    margin-top: 2rem;
  }
  .construction-software-advantages h1,
  .our-customers-appreciate h1,
  .precise-coding h1,
  .offer-content h1,
  .services-section h1 {
    font-size: 2.4rem;
    line-height: 37.92px;
    width: 100%;
    letter-spacing: -1.92px;
  }
  .construction-software-advantages__text,
  .our-customers-appreciate__text {
    width: 100%;
  }
  .construction-software-advantages__item,
  .our-customers-appreciate__item {
    display: flex;
    flex-direction: column-reverse;
  }

  .construction-software-advantages__item img,
  .our-customers-appreciate__item img {
    width: 100%;
  }

  .precise-coding__container {
    flex-direction: column;
  }
  .offer-section {
    flex-direction: column;
    margin: 1rem;
    align-items: center;
    justify-content: space-between;
    background-color: #1a56db;
    padding: 1rem;
    border-radius: 3rem;
    overflow: hidden;
  }

  .offer-content {
    color: #fff;
    max-width: 100%;
  }

  .offer-content h1,
  .services-section h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
    line-height: 49.92px;
    letter-spacing: -1.92px;
    font-weight: 400;
    font-family: "Space Grotesk", sans-serif;
  }

  .offer-content {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-size: 1.2rem;
    text-decoration: none;
    font-weight: bold;
    margin-top: 1rem;
  }

  .offer-image img {
    object-fit: cover;
    width: 100%;
    border-radius: 15px;
  }

  .service-container {
    flex-direction: column;
  }
  
  .services-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: space-between;
    gap: 20px;
    padding: 5rem 1rem;
    flex-wrap: wrap;
    background: #f8f8f7;
    border-radius: 3rem;
  }
  
  
  .service-card {
   margin-bottom: 2rem;
   width: 100%;
  }
  .service-card:hover .service-button {
    background-color: #004eac; /* Change to a darker blue when hovered */
    color: white; /* Change the text color to white */
  }
  .footer {
    padding: 2rem;
  }
  .footer-container-top {
    flex-direction: column;
    width: 100%;
  }
  .footer-container-top-left img {
    width: 10rem;
  }
  .footer-container-top-right {
    width: 100%;
  }
}
