/*==================================================
  ERP SECTION
==================================================*/

.erp-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;

  background:
    radial-gradient(
      circle at top left,
      rgba(215, 25, 32, 0.08),
      transparent 38%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(215, 25, 32, 0.06),
      transparent 40%
    ),
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fff8f8 100%
    );
}


/*==================================================
  BACKGROUND GRID
==================================================*/

.erp-pattern {
  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.03) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.03) 1px,
      transparent 1px
    );

  background-size: 42px 42px;

  opacity: 0.6;

  pointer-events: none;
}


/*==================================================
  BACKGROUND GLOW
==================================================*/

.erp-wave {
  position: absolute;

  width: 650px;
  height: 650px;

  right: -220px;
  top: -180px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(215, 25, 32, 0.12),
      transparent 70%
    );

  filter: blur(90px);

  pointer-events: none;
}


/*==================================================
  CONTAINER
==================================================*/

.erp-section .container {
  position: relative;

  z-index: 2;

  max-width: 1200px;
}


/*==================================================
  SECTION TITLE
==================================================*/

.section-title {
  text-align: center;

  margin-bottom: 55px;
}


/*==================================================
  BADGE
==================================================*/

.section-badge {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 10px 24px;

  border-radius: 999px;

  background: #fff;

  border: 1px solid rgba(215, 25, 32, 0.15);

  color: #d71920;

  font-size: 14px;

  font-weight: 800;

  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.05);
}


/*==================================================
  TITLE
==================================================*/

.section-title h2 {
  margin-top: 20px;

  font-size: 44px;

  font-weight: 900;

  color: #222;

  line-height: 1.2;
}


/*==================================================
  DESCRIPTION SECTION
==================================================*/

.section-title p {
  width: min(760px, 90%);

  margin: 18px auto 0;

  color: #666;

  font-size: 17px;

  line-height: 1.7;
}


/*==================================================
  GRID
==================================================*/

.erp-grid {
  display: flex;

  flex-wrap: wrap;

  justify-content: center;

  align-items: stretch;

  gap: 28px;

  max-width: 1160px;

  margin: 0 auto;
}


/*==================================================
  ERP CARD
==================================================*/

.erp-card {
  position: relative;

  display: flex;

  flex-direction: column;

  width: 360px;

  min-height: 300px;

  flex: 0 1 360px;

  padding: 28px;

  overflow: hidden;

  border-radius: 26px;

  background: #fff;

  text-decoration: none;

  border: 1px solid rgba(0, 0, 0, 0.05);

  box-shadow:
    0 15px 45px rgba(0, 0, 0, 0.06);

  transition: 0.35s ease;

  box-sizing: border-box;

  cursor: pointer;

  transform: translateY(0);
}


/*==================================================
  LEFT / HEADER
==================================================*/

.erp-left {
  display: flex;

  align-items: center;

  gap: 18px;

  position: relative;

  z-index: 2;
}


/*==================================================
  COLOR LINE
==================================================*/

.erp-card::before {
  content: "";

  position: absolute;

  left: 0;
  top: 0;

  width: 5px;
  height: 100%;

  border-radius: 20px;
}


/*==================================================
  ICON
==================================================*/

.erp-icon {
  width: 75px;

  height: 75px;

  min-width: 75px;

  border-radius: 22px;

  background: #fff;

  display: flex;

  align-items: center;

  justify-content: center;

  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.08),
    inset 0 0 0 1px rgba(0, 0, 0, 0.05);

  z-index: 2;

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;

  animation: floatIcon 5s ease-in-out infinite;
}


.erp-icon img {
  width: 48px;

  max-width: 100%;

  transition: transform 0.35s ease;
}


/*==================================================
  CONTENT
==================================================*/

.erp-content {
  display: flex;

  flex-direction: column;

  justify-content: center;

  flex: 1;

  min-width: 0;

  position: relative;

  z-index: 2;
}


/*==================================================
  TITLE
==================================================*/

.erp-content h3 {
  font-size: 30px;

  font-weight: 900;

  color: #222;

  margin: 0;

  line-height: 1.15;

  transition: 0.35s ease;
}


/*==================================================
  SUBTITLE
==================================================*/

.erp-content h5 {
  margin: 6px 0 0;

  font-size: 15px;

  color: #777;

  font-weight: 700;

  line-height: 1.4;

  transition: 0.35s ease;
}


/*==================================================
  LINE
==================================================*/

.erp-line {
  width: 60px;

  height: 4px;

  border-radius: 20px;

  margin: 14px 0;
}


/*==================================================
  DESCRIPTION
==================================================*/

.erp-content p {
  max-width: 100%;

  margin: 20px 0 55px;

  color: #666;

  line-height: 1.7;

  font-size: 14px;

  transition: 0.35s ease;
}


/*==================================================
  ARROW
==================================================*/

.erp-arrow {
  position: absolute;

  right: 24px;

  bottom: 24px;

  width: 48px;

  height: 48px;

  border-radius: 50%;

  background: #fff;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 21px;

  font-weight: 700;

  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.08);

  transition:
    transform 0.35s,
    color 0.35s,
    background 0.35s,
    box-shadow 0.35s;

  z-index: 3;
}


/*==================================================
  DOT PATTERN
==================================================*/

.erp-dots {
  position: absolute;

  top: 20px;

  right: 22px;

  width: 90px;

  height: 65px;

  opacity: 0.15;

  background-image:
    radial-gradient(
      currentColor 1.5px,
      transparent 1.5px
    );

  background-size: 12px 12px;

  transition: 0.35s;
}


/*==================================================
  CARD WAVE
==================================================*/

.erp-bg-wave {
  position: absolute;

  left: -10%;

  bottom: -60px;

  width: 120%;

  height: 150px;

  border-radius: 50%;

  opacity: 0.08;

  animation:
    waveMove 8s ease-in-out infinite;
}


/*==================================================
  COLOR THEME
==================================================*/


/*==================================================
  INTEGRAL
==================================================*/

.erp-card.integral {
  background:
    linear-gradient(
      135deg,
      #ffffff 0%,
      #f7fbff 100%
    );
}


.erp-card.integral::before {
  background: #026bb1;
}


.erp-card.integral .erp-line {
  background: #026bb1;
}


.erp-card.integral .erp-arrow {
  color: #026bb1;
}


.erp-card.integral .erp-dots {
  color: #026bb1;
}


.erp-card.integral .erp-bg-wave {
  background:
    radial-gradient(
      circle at center,
      rgba(2, 107, 177, 0.55),
      rgba(2, 107, 177, 0.12),
      transparent 70%
    );
}


/*==================================================
  IONS
==================================================*/

.erp-card.ions {
  background:
    linear-gradient(
      135deg,
      #ffffff 0%,
      #fff8f8 100%
    );
}


.erp-card.ions::before {
  background: #c62721;
}


.erp-card.ions .erp-line {
  background: #c62721;
}


.erp-card.ions .erp-arrow {
  color: #c62721;
}


.erp-card.ions .erp-dots {
  color: #c62721;
}


.erp-card.ions .erp-bg-wave {
  background:
    radial-gradient(
      circle at center,
      rgba(198, 39, 33, 0.55),
      rgba(198, 39, 33, 0.12),
      transparent 70%
    );
}


/*==================================================
  EPN
==================================================*/

.erp-card.epn {
  background:
    linear-gradient(
      135deg,
      #ffffff 0%,
      #fffaf6 100%
    );
}


.erp-card.epn::before {
  background: #fa8233;
}


.erp-card.epn .erp-line {
  background: #fa8233;
}


.erp-card.epn .erp-arrow {
  color: #fa8233;
}


.erp-card.epn .erp-dots {
  color: #fa8233;
}


.erp-card.epn .erp-bg-wave {
  background:
    radial-gradient(
      circle at center,
      rgba(250, 130, 51, 0.55),
      rgba(250, 130, 51, 0.12),
      transparent 70%
    );
}


/*==================================================
  NEUTRON
==================================================*/

.erp-card.neutron {
  background:
    linear-gradient(
      135deg,
      #ffffff 0%,
      #fff7f7 100%
    );
}


.erp-card.neutron::before {
  background: #e42016;
}


.erp-card.neutron .erp-line {
  background: #e42016;
}


.erp-card.neutron .erp-arrow {
  color: #e42016;
}


.erp-card.neutron .erp-dots {
  color: #e42016;
}


.erp-card.neutron .erp-bg-wave {
  background:
    radial-gradient(
      circle at center,
      rgba(228, 32, 22, 0.55),
      rgba(228, 32, 22, 0.12),
      transparent 70%
    );
}


/*==================================================
  DUA DIMENSI
==================================================*/

.erp-card.dua-dimensi {
  background:
    linear-gradient(
      135deg,
      #ffffff 0%,
      #f7fbff 100%
    );
}


.erp-card.dua-dimensi::before {
  background: #026bb1;
}


.erp-card.dua-dimensi .erp-line {
  background: #026bb1;
}


.erp-card.dua-dimensi .erp-arrow {
  color: #026bb1;
}


.erp-card.dua-dimensi .erp-dots {
  color: #026bb1;
}


.erp-card.dua-dimensi .erp-bg-wave {
  background:
    radial-gradient(
      circle at center,
      rgba(2, 107, 177, 0.55),
      rgba(2, 107, 177, 0.12),
      transparent 70%
    );
}


/*==================================================
  HOVER
==================================================*/

.erp-card:hover {
  transform: translateY(-10px);
}


.erp-card:hover .erp-icon {
  transform:
    scale(1.08)
    rotate(-4deg);
}


.erp-card:hover .erp-icon img {
  transform: scale(1.08);
}


.erp-card:hover h3 {
  transform: translateX(4px);
}


.erp-card:hover h5 {
  transform: translateX(4px);
}


.erp-card:hover p {
  transform: translateX(4px);
}


.erp-card:hover .erp-arrow {
  transform: translateX(5px);
}


.erp-card:hover .erp-dots {
  opacity: 0.35;

  transform: scale(1.1);
}


/*==================================================
  SHINE EFFECT
==================================================*/

.erp-card::after {
  content: "";

  position: absolute;

  top: -120%;

  left: -45%;

  width: 45%;

  height: 320%;

  transform: rotate(25deg);

  background:
    linear-gradient(
      to right,
      transparent,
      rgba(255, 255, 255, 0.45),
      transparent
    );

  transition: 1s;

  pointer-events: none;
}


.erp-card:hover::after {
  left: 135%;
}


/*==================================================
  PREMIUM SHADOW
==================================================*/


/* INTEGRAL */

.erp-card.integral:hover {
  box-shadow:
    0 30px 60px rgba(2, 107, 177, 0.2);
}


.erp-card.integral:hover .erp-icon {
  box-shadow:
    0 20px 45px rgba(2, 107, 177, 0.18);
}


.erp-card.integral:hover .erp-arrow {
  background: #026bb1;

  color: #fff;
}


/* IONS */

.erp-card.ions:hover {
  box-shadow:
    0 30px 60px rgba(198, 39, 33, 0.22);
}


.erp-card.ions:hover .erp-icon {
  box-shadow:
    0 20px 45px rgba(198, 39, 33, 0.18);
}


.erp-card.ions:hover .erp-arrow {
  background: #c62721;

  color: #fff;
}


/* EPN */

.erp-card.epn:hover {
  box-shadow:
    0 30px 60px rgba(250, 130, 51, 0.22);
}


.erp-card.epn:hover .erp-icon {
  box-shadow:
    0 20px 45px rgba(250, 130, 51, 0.18);
}


.erp-card.epn:hover .erp-arrow {
  background: #fa8233;

  color: #fff;
}


/* NEUTRON */

.erp-card.neutron:hover {
  box-shadow:
    0 30px 60px rgba(228, 32, 22, 0.22);
}


.erp-card.neutron:hover .erp-icon {
  box-shadow:
    0 20px 45px rgba(228, 32, 22, 0.18);
}


.erp-card.neutron:hover .erp-arrow {
  background: #e42016;

  color: #fff;
}


/* DUA DIMENSI */

.erp-card.dua-dimensi:hover {
  box-shadow:
    0 30px 60px rgba(2, 107, 177, 0.2);
}


.erp-card.dua-dimensi:hover .erp-icon {
  box-shadow:
    0 20px 45px rgba(2, 107, 177, 0.18);
}


.erp-card.dua-dimensi:hover .erp-arrow {
  background: #026bb1;

  color: #fff;
}


/*==================================================
  FLOATING WAVE
==================================================*/

@keyframes waveMove {

  0% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(-12px);
  }

  100% {
    transform: translateX(0);
  }

}


/*==================================================
  FLOATING ICON
==================================================*/

.erp-card:nth-child(2) .erp-icon {
  animation-delay: 0.5s;
}


.erp-card:nth-child(3) .erp-icon {
  animation-delay: 1s;
}


.erp-card:nth-child(4) .erp-icon {
  animation-delay: 1.5s;
}


.erp-card:nth-child(5) .erp-icon {
  animation-delay: 2s;
}


@keyframes floatIcon {

  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }

  100% {
    transform: translateY(0);
  }

}


/*==================================================
  RESPONSIVE - LARGE TABLET
==================================================*/

@media (max-width: 1100px) {

  .erp-grid {
    gap: 24px;
  }

  .erp-card {
    width: 330px;

    flex-basis: 330px;
  }

}


/*==================================================
  RESPONSIVE - TABLET
==================================================*/

@media (max-width: 991px) {

  .erp-section {
    padding: 90px 20px;
  }


  .erp-grid {
    gap: 24px;
  }


  .erp-card {
    width: 340px;

    flex-basis: 340px;
  }

}


/*==================================================
  RESPONSIVE - MOBILE
==================================================*/

@media (max-width: 768px) {

  .erp-section {
    padding: 80px 15px;
  }


  .section-title {
    margin-bottom: 45px;
  }


  .section-title h2 {
    font-size: 36px;
  }


  .section-title p {
    font-size: 16px;
  }


  .erp-grid {
    flex-direction: column;

    align-items: center;

    gap: 22px;
  }


  .erp-card {
    width: 100%;

    max-width: 420px;

    flex: 0 1 auto;

    min-height: 300px;

    padding: 25px;
  }


  .erp-left {
    align-items: center;

    gap: 16px;
  }


  .erp-icon {
    width: 70px;

    height: 70px;

    min-width: 70px;
  }


  .erp-icon img {
    width: 45px;
  }


  .erp-content h3 {
    font-size: 28px;
  }


  .erp-content h5 {
    font-size: 14px;
  }


  .erp-content p {
    max-width: 100%;

    margin-top: 18px;

    font-size: 14px;

    line-height: 1.7;
  }


  .erp-arrow {
    right: 20px;

    bottom: 20px;
  }

}


/*==================================================
  RESPONSIVE - MOBILE SMALL
==================================================*/

@media (max-width: 480px) {

  .erp-section {
    padding: 70px 12px;
  }


  .section-title h2 {
    font-size: 30px;
  }


  .section-title p {
    font-size: 15px;
  }


  .section-badge {
    font-size: 13px;

    padding: 10px 20px;
  }


  .erp-card {
    width: 100%;

    min-height: 300px;

    padding: 22px;

    border-radius: 24px;
  }


  .erp-left {
    gap: 14px;
  }


  .erp-icon {
    width: 65px;

    height: 65px;

    min-width: 65px;
  }


  .erp-icon img {
    width: 42px;
  }


  .erp-content h3 {
    font-size: 25px;
  }


  .erp-content h5 {
    font-size: 13px;
  }


  .erp-content p {
    font-size: 14px;

    line-height: 1.65;

    margin-top: 18px;
  }


  .erp-arrow {
    width: 45px;

    height: 45px;

    right: 18px;

    bottom: 18px;
  }

}


/*==================================================
  ACCESSIBILITY
==================================================*/

.erp-card:focus {
  outline: none;
}


.erp-card:focus-visible {
  outline: 3px solid rgba(215, 25, 32, 0.3);

  outline-offset: 6px;
}


/*==================================================
  REDUCE MOTION
==================================================*/

@media (prefers-reduced-motion: reduce) {

  .erp-card,
  .erp-icon,
  .erp-bg-wave {

    animation: none !important;

    transition: none !important;
  }

}