/* ===============================
   ATMS Contact Section
================================ */

.atms-contact-section {
  width: 100%;
  background: #fdfff6;
  color: #5e5e5e;
  font-family: "Geist", Arial, sans-serif;
  padding: 21px 20px 129px;
  overflow: hidden;
}

.atms-contact-section *,
.atms-contact-section *::before,
.atms-contact-section *::after {
  box-sizing: border-box;
}

.atms-contact-container {
  width: 100%;
  max-width: 1184px;
  margin: 0 auto;
}

.atms-contact-title {
  margin: 0 0 86px;
  color: #5e5e5e;
  font-family: "Geist", Arial, sans-serif;
  font-size: 39px;
  font-weight: 700;
  line-height: 48px;
  letter-spacing: 0;
}

.atms-contact-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 46px;
}

.atms-contact-card {
  min-height: 183px;
  border: 1px solid #5e5e5e;
  border-radius: 20px;
  background-color: transparent;
  padding: 28px 28px 28px;
  color: #5e5e5e;
  transition:
    background-color 450ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 450ms cubic-bezier(0.16, 1, 0.3, 1);
}

.atms-contact-card:hover {
  background-color: #ffe331;
  border-color: #ffe331;
}

.atms-contact-card h3 {
  margin: 0 0 29px;
  color: #5e5e5e;
  font-family: "Geist", Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: color 450ms ease;
}

.atms-contact-card p {
  margin: 0;
  color: #5e5e5e;
  font-family: "Geist", Arial, sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 24px;
  letter-spacing: 0;
  transition: color 450ms ease;
}

.atms-contact-card:hover h3,
.atms-contact-card:hover p {
  color: #5e5e5e;
}

/* ===============================
   Laptop
================================ */

@media (max-width: 1366px) {
  .atms-contact-section {
    padding: 38px 20px 104px;
  }

  .atms-contact-container {
    max-width: 980px;
  }

  .atms-contact-title {
    font-size: 34px;
    line-height: 42px;
    margin-bottom: 70px;
  }

  .atms-contact-grid {
    gap: 32px;
  }

  .atms-contact-card {
    min-height: 165px;
    padding: 30px 22px 24px;
  }

  .atms-contact-card h3 {
    font-size: 17px;
    line-height: 22px;
    margin-bottom: 22px;
  }

  .atms-contact-card p {
    font-size: 16px;
    line-height: 22px;
  }
}

/* ===============================
   Tablet
================================ */

@media (max-width: 991px) {
  .atms-contact-section {
    padding: 36px 24px 86px;
  }

  .atms-contact-container {
    max-width: 720px;
  }

  .atms-contact-title {
    font-size: 32px;
    line-height: 40px;
    margin-bottom: 48px;
  }

  .atms-contact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .atms-contact-card {
    min-height: 160px;
    padding: 28px 24px;
  }
}

/* ===============================
   Mobile
================================ */

@media (max-width: 767px) {
  .atms-contact-section {
    padding: 34px 18px 74px;
  }

  .atms-contact-title {
    font-size: 30px;
    line-height: 38px;
    margin-bottom: 34px;
  }

  .atms-contact-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .atms-contact-card {
    min-height: auto;
    border-radius: 18px;
    padding: 24px 22px;
  }

  .atms-contact-card h3 {
    font-size: 17px;
    line-height: 22px;
    margin-bottom: 16px;
  }

  .atms-contact-card p {
    font-size: 15px;
    line-height: 23px;
  }
}

/* ===============================
   Small Mobile
================================ */

@media (max-width: 480px) {
  .atms-contact-section {
    padding: 32px 18px 66px;
  }

  .atms-contact-title {
    font-size: 28px;
    line-height: 34px;
  }

  .atms-contact-card {
    padding: 22px 20px;
  }

  .atms-contact-card h3 {
    font-size: 16px;
  }

  .atms-contact-card p {
    font-size: 14px;
    line-height: 22px;
  }
}