.contact-section {
  width: 100%;
  padding: 44px 0;
  background: #e8e8e9;
}

.contact-section .container {
  max-width: 1421px;
  margin: 0 auto;
}

.contact-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 80px 77px;
  gap: 60px;
  background: #ffffff;
  border-radius: 24px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  max-width: 646px;
}

.contact-info h2 {
  font-family: PPNeueMontreal-Regular, sans-serif;
  font-weight: 600;
  font-size: 36px;
  line-height: 47px;
  color: #000000;
  margin: 0 0 24px 0;
}

.company-description {
  font-family: PPNeueMontreal-Regular, sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 23px;
  color: #000000;
  margin: 0 0 32px 0;
}

.services-description {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  color: #000000;
  max-width: 507px;
}

.services-description p {
  font-family: PPNeueMontreal-Regular, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #000000;
  margin: 0 0 16px 0;
}

.services-description p:last-child {
  margin-bottom: 0;
}

.btn-contact {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 12px 24px;
  gap: 10px;
  background: #ad2324;
  border-radius: 8px;
  text-decoration: none;
  color: #ffffff;
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 21px;
  transition: background-color 0.3s ease;
}

.btn-contact:hover {
  background-color: #8e1d1e;
  color: #ffffff;
}

.arrow-right {
  width: 20px;
  height: 20px;
  position: relative;
  display: inline-block;
}

.contact-map {
  flex: none;
  order: 1;
}

.map-image {
  width: 622px;
  height: 342px;
  border-radius: 5px;
  object-fit: cover;
}

/* Animation for content */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.contact-section.visible .contact-info {
  animation: fadeInLeft 0.8s ease forwards;
}

.contact-section.visible .contact-map {
  animation: fadeInRight 0.8s ease forwards;
}

/* Responsive styles */
@media (max-width: 1440px) {
  .contact-content {
    padding: 60px 50px;
  }

  .map-image {
    width: 500px;
    height: 300px;
  }
}

@media (max-width: 1200px) {
  .contact-content {
    padding: 50px 40px;
    gap: 40px;
  }

  .contact-info h2 {
    font-size: 40px;
  }

  .company-description {
    font-size: 18px;
  }

  .map-image {
    width: 450px;
    height: 280px;
  }
}

@media (max-width: 992px) {
  .contact-content {
    flex-direction: column;
    padding: 40px 30px;
  }

  .contact-info {
    max-width: 100%;
    gap: 30px;
  }

  .map-image {
    width: 100%;
    height: auto;
    max-height: 400px;
  }
}

@media (max-width: 768px) {
  .contact-section .container {
    padding: 0 20px;
  }

  .contact-content {
    padding: 30px 20px;
  }

  .contact-info h2 {
    font-size: 32px;
  }

  .company-description {
    font-size: 16px;
  }

  .services-description {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .contact-section {
    padding: 30px 0;
  }

  .contact-content {
    padding: 25px 15px;
  }

  .contact-info {
    gap: 20px;
  }

  .contact-info h2 {
    font-size: 28px;
  }
}
