/* ===============================
   ATMS Hero Section
================================ */

.atms-hero {
  width: 100%;
  background: #035695;
  position: relative;
  overflow: hidden;
}

.atms-hero-slider {
  width: 100%;
  height: calc(100vh - 118px);
  min-height: 820px;
  max-height: 920px;
  position: relative;
  background: #035695;
  overflow: hidden;
}

.atms-hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 55.5% 44.5%;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.atms-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ===============================
   Left Content
================================ */

.atms-hero-content {
  background: #035695;
  color: #ffffff;
  padding-left: clamp(100px, 11.8vw, 230px);
  padding-right: 60px;
  padding-top: clamp(230px, 28vh, 310px);
  padding-bottom: 100px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.atms-hero-content h1 {
  margin: 0 0 24px;
  max-width: 610px;
  color: #ffffff;
  font-family: "Geist", Arial, sans-serif;
  font-size: clamp(38px, 2.8vw, 52px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0;
}

.atms-hero-content p {
  margin: 0 0 48px;
  max-width: 760px;
  color: #ffffff;
  font-family: "Geist", Arial, sans-serif;
  font-size: clamp(16px, 1.08vw, 20px);
  font-weight: 400;
  line-height: 1.45;
  white-space: nowrap;
}

/* ===============================
   Buttons
================================ */

.atms-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.atms-hero-btn {
  min-width: 206px;
  height: 56px;
  padding: 0 24px;
  border-radius: 9px;
  background: #3d86bd;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Geist", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.atms-hero-btn:hover,
.atms-hero-btn:focus {
  background: #ffe331;
  color: #111111;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

/* ===============================
   Trust Box
================================ */

.atms-hero-trust {
  width: 233px;
  min-height: 115px;
  padding: 24px 28px 20px;
  border: 1px solid #ffffff;
  border-radius: 18px;
  background: transparent;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 78px;
  cursor: pointer;
  transition:
    background 0.28s ease,
    border-color 0.28s ease,
    color 0.28s ease,
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

.atms-hero-trust strong {
  color: #ffffff;
  font-family: "Geist", Arial, sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  transition: color 0.28s ease;
}

.atms-hero-trust span {
  margin-top: 8px;
  color: #ffffff;
  font-family: "Geist", Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  transition: color 0.28s ease;
}

.atms-hero-trust:hover {
  background: #d00000;
  border-color: #d00000;
  color: #ffffff;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.18);
}

.atms-hero-trust:hover strong,
.atms-hero-trust:hover span {
  color: #ffffff;
}

/* ===============================
   Slider Dots
================================ */

.atms-hero-dots {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 6px;
  margin-bottom: 0;
}

.atms-hero-dots button {
  width: 20px;
  height: 20px;
  min-width: 20px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: width 0.25s ease, background 0.25s ease;
}

.atms-hero-dots button.is-active {
  width: 58px;
  background: #ffe331;
}

/* ===============================
   Right Image
================================ */

.atms-hero-image-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #035695;
}

.atms-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: scale(1);
  transition:
    transform 1.2s cubic-bezier(0.22, 1, 0.36, 1),
    filter 1.2s ease;
  will-change: transform;
}

.atms-hero-image-wrap:hover .atms-hero-image {
  transform: scale(1.20);
  filter: brightness(1.04);
}

/* ===============================
   Laptop
================================ */

@media (max-width: 1440px) {
  .atms-hero-slider {
    min-height: 780px;
  }

  .atms-hero-content {
    padding-left: 115px;
    padding-right: 45px;
    padding-top: 235px;
    padding-bottom: 92px;
  }

  .atms-hero-content h1 {
    font-size: 42px;
    max-width: 520px;
  }

  .atms-hero-content p {
    font-size: 17px;
    margin-bottom: 38px;
  }

  .atms-hero-btn {
    min-width: 190px;
    height: 52px;
    font-size: 15px;
  }

  .atms-hero-trust {
    width: 215px;
    min-height: 105px;
    margin-bottom: 68px;
  }

  .atms-hero-trust strong {
    font-size: 32px;
  }
}

/* ===============================
   Small Laptop / Tablet Landscape
================================ */

@media (max-width: 1200px) {
  .atms-hero-slider {
    min-height: 740px;
  }

  .atms-hero-content {
    padding-left: 70px;
    padding-top: 215px;
    padding-bottom: 86px;
  }

  .atms-hero-content h1 {
    font-size: 38px;
  }

  .atms-hero-content p {
    font-size: 16px;
    white-space: normal;
  }

  .atms-hero-btn {
    min-width: 170px;
    height: 50px;
    font-size: 14px;
  }
}

/* ===============================
   Tablet / Mobile Stack
================================ */

@media (max-width: 991px) {
  .atms-hero-slider {
    height: auto;
    min-height: auto;
    max-height: none;
  }

  .atms-hero-slide {
    position: relative;
    display: none;
    grid-template-columns: 1fr;
    height: auto;
  }

  .atms-hero-slide.is-active {
    display: block;
  }

  .atms-hero-content {
    min-height: 680px;
    padding: 100px 42px 92px;
  }

  .atms-hero-content h1 {
    max-width: 620px;
    font-size: 42px;
    line-height: 1.15;
    margin-bottom: 24px;
  }

  .atms-hero-content p {
    max-width: 100%;
    white-space: normal;
    font-size: 18px;
    margin-bottom: 36px;
  }

  .atms-hero-actions {
    margin-bottom: 26px;
  }

  .atms-hero-trust {
    margin-bottom: 72px;
  }

  .atms-hero-image-wrap {
    height: 520px;
  }

  .atms-hero-image {
    object-position: center top;
  }
}

/* ===============================
   Mobile
================================ */

@media (max-width: 767px) {
  .atms-hero-content {
    min-height: 660px;
    padding: 74px 24px 92px;
  }

  .atms-hero-content h1 {
    font-size: 34px;
    line-height: 1.18;
    margin-bottom: 20px;
  }

  .atms-hero-content p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 30px;
  }

  .atms-hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .atms-hero-btn {
    width: 100%;
    min-width: 0;
    height: 54px;
  }

  .atms-hero-trust {
    width: 100%;
    max-width: 245px;
    min-height: 104px;
    padding: 22px 26px;
    margin-bottom: 68px;
  }

  .atms-hero-trust strong {
    font-size: 32px;
  }

  .atms-hero-image-wrap {
    height: 430px;
  }
}

/* ===============================
   Small Mobile
================================ */

@media (max-width: 480px) {
  .atms-hero-content {
    min-height: 630px;
    padding: 62px 20px 88px;
  }

  .atms-hero-content h1 {
    font-size: 30px;
  }

  .atms-hero-content p {
    font-size: 15px;
  }

  .atms-hero-trust {
    margin-bottom: 60px;
  }

  .atms-hero-dots button {
    width: 17px;
    height: 17px;
    min-width: 17px;
  }

  .atms-hero-dots button.is-active {
    width: 48px;
  }

  .atms-hero-image-wrap {
    height: 360px;
  }
}

/* ===============================
   Force Hover Color Safety
================================ */

.atms-hero-trust:hover {
  background: #d00000 !important;
  border-color: #d00000 !important;
}

.atms-hero-trust:hover strong,
.atms-hero-trust:hover span {
  color: #ffffff !important;
}

/* Override Hello Elementor reset.css button hover */
.atms-hero .atms-hero-dots button,
.atms-hero .atms-hero-dots button:hover,
.atms-hero .atms-hero-dots button:focus {
  background-color: #ffffff !important;
  color: inherit !important;
  border: 0 !important;
  outline: none !important;
}

.atms-hero .atms-hero-dots button.is-active,
.atms-hero .atms-hero-dots button.is-active:hover,
.atms-hero .atms-hero-dots button.is-active:focus {
  background-color: #ffe331 !important;
}