/* Hero Section */
.hero {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(../img/vente_banner.jpg);
  background-size: cover;
  color: var(--white);
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #fff;
}

.tags {
  margin: 2rem 0;
}

.tag {
  background: rgba(256, 256, 256, 0.8);
  padding: 0.5rem 1rem;
  border-radius: 3px;
  margin: 1rem 0.5rem;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  display: inline-block;
}

/* Cards */
.options {
  padding: 4rem 2rem;
  background: #2a0252;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* .card:after(:last-child) {
  border-right: 1px solid #73c9e5;
  height: 250px;
} */
/* .card__divider {
  margin: 25px 0;
  border-left: 1px solid #73c9e5;
  height: 250px;
  width: 1px;
} */
.card {
  /* background: url(../img/back-header.svg) no-repeat center #f9f9f9; */
  background: none;
  background-size: 120%;
  background-position: 20% -60%;
  padding: 1.5rem;
  border-radius: 0px;
  /* box-shadow: 0 4px 6px rgba(175, 152, 152, 0.1); */
  margin-bottom: 1.5rem;
  color: #fff;
  border: none;
}

.card:not(:last-child)::after {
  content: "";
  display: block;
  width: 1px;
  height: 180px;
  background: #73c9e5;
  position: absolute;
  right: 0;
  top: 60px;
}

body.rtl .card:not(:last-child)::after {
  content: none;
}

body.rtl .card:not(:last-child)::before {
  content: "";
  display: block;
  width: 1px;
  height: 180px;
  background: #73c9e5;
  position: absolute;
  left: 0;
  top: 60px;
}

.card ul {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
}
.card h3 {
  font-size: 40px;
  font-weight: 700;
  color: #73c9e5;
}
.card img {
  width: 20%;
  position: absolute;
  left: 224px;
  top: -13px;
  opacity: 1;
}

.card li {
  margin: 0.5rem 0;
  position: relative;
  padding-left: 25px;
}
body.rtl .card li {
  margin: 0.5rem 0;
  position: relative;
  padding-right: 25px;
}

.card li::before {
  content: "■";
  color: var(--primary-color);
  position: absolute;
  left: 0;
  top: 3px;
  font-size: 14px;
  font-weight: 700;
  line-height: 15px;
  padding-right: 10px;
}
body.rtl .card li::before {
  content: none;
}
body.rtl .card li::after {
  content: "■";
  color: var(--primary-color);
  position: absolute;
  right: 0;
  top: 3px;
  font-size: 14px;
  font-weight: 700;
  line-height: 15px;
  padding-right: 0px;
}
/* Contact Section */
.contact {
  padding: 4rem 2rem;
  /* background: var(--primary-color); */
  color: #2a0252;
}

.contact h2 {
  color: var(--sercondary-color) !important;
  text-align: center;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.contact-card {
  padding: 2rem;
  border-radius: 8px;
  background-color: #fff;
  color: #222;
}

.phone-input {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.phone-input input {
  flex: 1;
  padding: 0.6rem;
  border: 1px solid #222;
  border-radius: 8px;
}
.phone-input .btn_submit {
  border: 1px solid #73c9e7;
  display: flex;
  color: #290054;
  cursor: pointer;
  transition: all 300ms;
  justify-content: center;
  align-items: center;
  background-color: #73c9e7;
  font-weight: 500;
  border-radius: 5px;
  /* color: rgb(var(--gray-color)); */
  font-size: 16px;
  padding: 10px;
  width: auto;
  text-decoration: none;
}
.phone-input .btn_submit:hover {
  border: 1px solid #73c9e7;
  display: flex;
  color: #290054;
  cursor: pointer;
  transition: all 300ms;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  font-weight: 500;
  border-radius: 5px;
}

/* How it works Section */
.how-it-works {
  padding: 4rem 2rem;
  background: var(--white);
}

/* .how-it-works h2 {
    text-align: center;  
     margin-bottom: 3rem;
} */

.process-cards {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.process-card {
  display: flex;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  background: #f9f9f9;
  border-radius: 8px;
  /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
  border: 1px solid #73c9e7;
}

.process-card:nth-child(even) {
  flex-direction: row-reverse;
}

.process-image {
  flex: 1;
}

.process-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.process-content {
  flex: 1;
}

.process-content h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.process-content p {
  margin-bottom: 1.5rem;
  color: var(--light-text);
}

.process-content ul {
  list-style: none;
}

.process-content li {
  margin: 0.8rem 0;
  position: relative;
}

.process-content li::before {
  content: "•";
  color: var(--primary-color);
  left: 0;
  font-weight: bold;
  margin-left: 5px;
  margin-right: 5px;
}

.cta-buttons {
  padding: 0 150px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .process-card {
    flex-direction: column !important;
  }

  .process-content {
    text-align: center;
  }

  .process-content li {
    text-align: left;
  }

  .phone-input {
    display: block !important;
  }
  .phone-input .btn_submit {
    margin-top: 5px;
    width: 100% !important;
  }
  .phone-input input {
    width: 100% !important;
  }
  .cta-buttons {
    padding: 0;
  }
}
.animate__zoom-fade-in {
  animation: fade-top-to-bottom 0.5s ease-in-out;
}

@keyframes fade-top-to-bottom {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.animate__zoom-fade-in {
  animation-fill-mode: backwards;
}

@keyframes zoom-fade-in {
  from {
    transform: scale(0.5);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}
