:root {
  --yellow: #f2c413;
  --black: #333333;
  --white: #ffffff;
}

/* GLOBAL >>> Text color */
.text-yellow {
  color: var(--yellow) !important;
}
.text-blue {
  color: #11355d !important;
}

/* GLOBAL >>> Text color */
.fw-800 {
  font-weight: 800;
}

/* GLOBAL >>> Dotted Pattern */
.dotted-pattern:before {
  content: "";
  background: url("/wp-content/themes/divi-child/assets/img/bg-section.webp");
  background-repeat: no-repeat;
  background-size: contain;
  mix-blend-mode: multiply;

  position: absolute;
  z-index: 1;

  width: 100%;
  height: 900px;
}
.dotted-pattern.dotted-top-left:before {
  top: 0;
  left: 0;
}
.dotted-pattern.dotted-top-right:before {
  transform: scaleX(-1);
  top: 0;
  right: 0;
}
.dotted-pattern.dotted-bottom-right:before {
  transform: rotate(180deg);
  right: 0;
  bottom: 0;
}

/* GLOBAL >>> Custom Badge */
.custom-badge {
  width: fit-content;
}

/* GLOBAL >>> Row Counter Plus */
.row-counter-plus .percent-value:after {
  content: "+";
}

/* GLOBAL >>> Row Product */
.row-product {
  --gap: 30px;
  column-gap: var(--gap);
  flex-wrap: wrap;
  padding-block: 20px;

  display: flex;
  justify-content: space-between;
}
.row-product .et_pb_column:last-child {
  display: flex;
}
.row-product .et_pb_column:last-child .et_pb_blurb {
  margin: 0;
}
.row-product .et_pb_column:last-child .et_pb_image {
  display: flex;
  align-items: center;
  margin-right: 20px;
}
.row-product .et_pb_column_1_3 {
  margin-right: 0;
  flex: 1 1 calc(33.333% - (var(--gap) * 2 / 3));
  max-width: calc(33.333% - (var(--gap) * 2 / 3));
}
.row-product .et_pb_column_1_3:hover {
  border: 3px solid #0973e7;
}
.row-product .et_pb_column_1_3 .et_pb_blurb .et_pb_blurb_container {
  vertical-align: middle;
}

/* GLOBAL >>> Row Brand */
.row-brand {
  display: flex;
  gap: 10px;
}
.row-brand .et_pb_column {
  display: flex;
  justify-content: center;
  align-items: center;
}
.row-brand .et_pb_column .et_pb_image {
  margin-right: 0;
}
.row-brand .et_pb_column .et_pb_image img {
  width: auto;
}
.row-brand .et_pb_column:nth-child(2) .et_pb_image img {
  height: 45px;
}
.row-brand .et_pb_column:nth-child(3) .et_pb_image img,
.row-brand .et_pb_column:nth-child(4) .et_pb_image img {
  height: 50px;
}

/* GLOBAL >>> Row Service */
.row-service .et_pb_main_blurb_image {
  margin-bottom: 20px;
}

/* ==================================
HEADER
===================================== */
header.et-l--header {
  top: 40px;
  position: fixed;
  width: 100%;
  z-index: 2;
}
header.et-l--header .et_pb_row.et_pb_row_0_tb_header {
  align-items: center;
  padding: 5px !important;
  backdrop-filter: blur(10px);
}
header.et-l--header .et_pb_row.et_pb_row_0_tb_header .column-logo {
  display: flex;
  align-items: center;
}
header.et-l--header .et_pb_row.et_pb_row_0_tb_header .column-logo .et_pb_image {
  margin: 0 !important;
}

/* Menu */
#menu-menu {
  margin-right: 40px;
}
#menu-menu > li {
  margin-left: 40px;
}

/* ==================================
MAPS
===================================== */
#map .leaflet-marker-pane img {
  filter: hue-rotate(165deg) brightness(1.2);
}

/* ==================================
FOOTER
===================================== */
footer > .container {
  display: none;
}
footer > #footer-bottom {
  display: none;
}

/* Last Section Padding */
.entry-content .et_builder_inner_content .et_pb_section:last-child {
  padding-bottom: 220px;
}

/* Footer Top */
.sec-footer-contact {
  margin-top: -160px;
  margin-bottom: -110px;
  z-index: 1;
}
.sec-footer-contact .et_pb_column {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sec-footer-contact + .et_pb_section .et_pb_blurb .et_pb_blurb_container {
  vertical-align: middle;
}

/* Footer Bottom */
.sec-footer-contact
  + .et_pb_section
  .et_pb_blurb
  .et_pb_blurb_container
  .et_pb_module_header {
  padding: 0;
}
.sec-footer-contact + .et_pb_section .et_pb_heading {
  height: 75px;
  display: flex;
  align-items: center;
}
.sec-footer-contact + .et_pb_section .et_pb_heading .et_pb_module_heading {
  padding: 0;
}
.sec-footer-contact .et_pb_button:after {
  margin-left: 40px !important;
}

/* Running Text */
footer .move-container {
  background-color: transparent;
}
footer .move-container .move-element {
  display: none;
}
footer .move-container .text-scroll-wrapper {
  animation: 15s linear 0s infinite normal none running scroll-anim;
}
footer .move-container .text-scroll-wrapper p {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500;
  font-size: 60px;
  line-height: 60px;
  color: rgba(255, 255, 255, 0.1);
  padding: 0;
}

/* Custom Footer */
.CustomFooterCurrentYear {
  font-size: 15px;
  color: white;
  text-align: center;
}
.CustomFooterCurrentYear a {
  color: white;
}

@media only screen and (max-width: 1440px) {
  /* ==================================
  HEADER
  ===================================== */
  header.et-l--header .et_pb_row.et_pb_row_0_tb_header > .et_pb_column:nth-child(1) {
    width: 40% !important;
  }
  header.et-l--header .et_pb_row.et_pb_row_0_tb_header > .et_pb_column:nth-child(2) {
    width: 60% !important;
  }
}

@media only screen and (max-width: 1171px) {
  /* ==================================
  HEADER
  ===================================== */
  .et_pb_menu_0_tb_header.et_pb_menu ul li {
    margin-left: 10px !important;
  }
  .et_pb_menu_0_tb_header.et_pb_menu ul li a {
    font-size: 16px;
  }
}

@media only screen and (max-width: 849px) {

  /* GLOBAL >>> Title Image */
  .title-image {
    position: absolute;
    top: -130px;
    right: 10px;
  }
  .title-image img {
    opacity: 50%;
  }

  /* GLOBAL >>> Row Product */
  .row-product .et_pb_column_1_2 {
    flex: 1 1 calc(50% - (var(--gap) * 1 / 2));
    max-width: calc(50% - (var(--gap) * 1 / 2));
    margin: 0;
  }
  .row-product .et_pb_column:last-child {
    display: block;
  }
  .row-product:last-child .et_pb_column:last-child {
    display: flex;
  }

  .row-product .et_pb_blurb .et_pb_blurb_container {
    vertical-align: middle;
  }

  /* GLOBAL >>> Row Service */
  .row-service {
    --gap: 20px;
    display: flex;
    column-gap: var(--gap);
    flex-wrap: wrap;
  }
  .row-service .et_pb_column {
    flex: 1 1 calc(33.33% - (var(--gap) * 2 / 3));
    max-width: calc(33.33% - (var(--gap) * 2 / 3));
    margin: 0;
  }

  /* GLOBAL >>> Row Brand */
  .row-brand {
    --gap: 20px;
    display: flex;
    column-gap: var(--gap);
    flex-wrap: wrap;
    justify-content: center;
  }
  .row-brand .et_pb_column {
    flex: 1 1 calc(33.33% - (var(--gap) * 2 / 3));
    max-width: calc(33.33% - (var(--gap) * 2 / 3));
    margin: 0;
  }

  /* GLOBAL >>> ROW */
  .et_pb_row {
    width: calc(100% - 30px);
  }

  /* GLOBAL >>> MENU */
  .et_mobile_menu {
    right: 0;
    width: 200px;
    left: unset;
  }

  /* ==================================
  HEADER
  ===================================== */
  header .et_pb_section .et_pb_row {
    display: flex;
  }
  header .et_pb_section .et_pb_row .et_pb_column {
    width: fit-content;
    margin: 0;
  }
  header .et_pb_section .et_pb_row .et_pb_column:last-child {
    margin-left: auto;
  }

  /* ==================================
  FOOTER
  ===================================== */
  .sec-footer-contact .et_pb_column {
    flex-direction: column;
    gap: 20px;
  }
  .sec-footer-contact + .et_pb_section > .et_pb_row:first-child {
    --gap: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap);
  }
  .sec-footer-contact
    + .et_pb_section
    > .et_pb_row:first-child
    > .et_pb_column:not(:first-child) {
    flex: 1 1 calc(50% - (var(--gap) * 1 / 2));
    max-width: calc(50% - (var(--gap) * 1 / 2));
  }

  /* Heading Text */
  .sec-footer-contact + .et_pb_section .et_pb_heading {
    height: unset;
  }

  /* Footer logo */
  .sec-footer-contact + .et_pb_section .et_pb_blurb .et_pb_blurb_content {
    margin: 0;
  }
}

@media only screen and (max-width: 430px) {
  /* GLOBAL >>> Row Produk */
  .row-product:after {
    content: unset;
  }
  .row-product {
    row-gap: var(--gap);
  }
  .row-product .et_pb_column_1_2 {
    flex: 1 1 100%;
    max-width: 100%;
  }

  /* GLOBAL >>> Row Service */
  .row-service .et_pb_column {
    flex: 1 1 calc(50% - (var(--gap) * 1 / 2));
    max-width: calc(50% - (var(--gap) * 1 / 2));
    margin: 0;
  }

  /* GLOBAL >>> Row Brand */
  .row-brand {
    --gap: 20px;
    display: flex;
    column-gap: var(--gap);
    flex-wrap: wrap;
    justify-content: center;
  }
  .row-brand .et_pb_column {
    flex: 1 1 calc(50% - (var(--gap) * 1 / 2));
    max-width: calc(50% - (var(--gap) * 1 / 2));
    margin: 0;
  }

  /* ==================================
  HEADER
  ===================================== */
  header.et-l--header .et_pb_row.et_pb_row_0_tb_header > .et_pb_column:nth-child(1) {
    width: 100% !important;
  }
  header.et-l--header .et_pb_row.et_pb_row_0_tb_header > .et_pb_column:nth-child(1) > .et_pb_module,
  header.et-l--header .et_pb_row.et_pb_row_0_tb_header > .et_pb_column:nth-child(2) {
    width: fit-content !important;
  }
  header.et-l--header .et_pb_row.et_pb_row_0_tb_header img {
    width: 50px;
  }

  /* ==================================
  FOOTER
  ===================================== */
  .sec-footer-contact
    + .et_pb_section
    > .et_pb_row:first-child
    .et_pb_text
    .et_pb_text_inner
    br {
    display: none;
  }
  .sec-footer-contact
    + .et_pb_section
    > .et_pb_row:first-child
    > .et_pb_column:not(:first-child) {
    flex: 1 1 100%;
    max-width: 100%;
  }

  /* Custom Footer */
  .et_pb_code_inner:has(.CustomFooterCurrentYear) {
    line-height: 15px;
  }
  .CustomFooterCurrentYear {
    font-size: 12px;
  }
}
