.section__contact {
  padding-top: 15rem;
  padding-bottom: 8rem;
}

.section__social-media {
  background-color: var(--secondary-100);
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.image {
  display: flex;
  flex-direction: column;
  flex: 2;
}

.image img {
  width: 100%;
  min-width: 230px;
}

.card {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding-left: 2rem;
  padding-right: 0rem;
  align-items: stretch;
  justify-content: center;
  gap: 3rem;
}

.card__item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.card__item i {
  flex: 0;
  text-align: center;
  padding: 0.4rem 0.5rem;
  color: var(--text-50);
  border-radius: 15px;
  background-color: var(--primary);
  font-size: 2.5rem;
}

.card__item:last-child i {
  background-color: green;
}

.card__title {
  font-weight: bold;
}

.card__desc {
  text-decoration: none;
  color: var(--text);
}

.card__desc:hover {
  color: var(--accent);
}

/* Social Media */
.social-media {
  display: flex;
  justify-content: center; /* Center aligns the icons horizontally */
  gap: 3rem; /* Adds space between the icons */
  padding: 1rem 0; /* Adds some padding at the top and bottom */
}

.social-media a {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50px;
  background-color: var(--primary); /* Customize as needed */
  color: #fff;
  text-decoration: none;
  font-size: 1.5rem;
  transition: transform 0.3s ease, width 0.3s ease; /* Adds a transition effect */
}

.social-media a .social-text {
  display: none; /* Hide the text initially */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1rem;
}

.social-media a:hover {
  transform: scale(1.2); /* Scale up the icon on hover */
  width: 8rem;
}

.social-media a:hover i {
  display: none; /* Hide the icon on hover */
}

.social-media a:hover .social-text {
  display: block; /* Show the text on hover */
}

/* Social Media */

.section-customer {
  background-color: var(--secondary-50);
  padding-top: 15rem;
  padding-bottom: 12rem;
  text-align: center;
}

.review-cards {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.review-card {
  display: flex;
  flex-direction: column;
  border-radius: 1rem;
  padding: 1rem;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  flex: 1;
}

.review-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.review-card-body {
  margin: 2rem 0rem;
}

.review-card-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.review-card-name {
  font-size: 1.25rem;
  font-weight: bold;
  margin-right: 4px;
}

.review-card-rating {
  display: flex;
  align-items: center;
}

.review-card-rating i {
  color: var(--accent); /* Star color */
  margin-right: 4px;
}

.review-card-body {
  display: flex;
  align-items: center;
  flex: 1;
}

.review-card-text {
  font-size: 1rem;
  color: #333;
}

/* Responsive styles */
@media screen and (max-width: 1024px) {
  .section__contact .col-2 {
    flex-direction: row;
    gap: 0rem;
  }

  .section__contact .col-2 .col-2-media {
    flex: 2;
  }

  iframe {
    width: 100%;
  }

  .section__contact {
    padding-bottom: 4rem;
  }
}

@media screen and (max-width: 450px) {
  .section__contact .col-2 {
    flex-direction: column;
    gap: 2rem;
  }

  .section__contact .col-2 .col-2-media {
    flex: 2;
  }

  .card {
    padding: 0rem 4rem;
  }

  .card__item {
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .review-cards {
    flex-direction: column;
  }
}

@media (min-width: 1200px) {
  .card {
    padding-left: 4rem;
  }

  iframe {
    height: 512px;
    width: 100%;
  }
}

@media (min-width: 1600px) {
  iframe {
    height: 720px;
    width: 100%;
  }
}

@media (min-width: 1920px) {
  iframe {
    height: 1080px;
    width: 100%;
  }
}
