html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
  overflow-x: hidden;
  font-family: Arial;
  line-height: 1.4;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

a {
  text-decoration: none;
}

:root {
  --primary-color-main: #054d7f;
  --white-color-text: #fff;
}

/*CSS main LDP*/

main {
  background: linear-gradient(to bottom right, #0e70b6, #5790b8);
}

.ldp-background {
  margin: auto;
  max-width: 600px;
  width: 100%;
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.ldp-main {
  position: relative;
}

.ldp-main-page-one {
  max-width: 550px;
  margin: auto;
  width: 100%;
  text-align: center;
}

.ldp-main-page-one img {
  object-fit: cover;
}

.ldp-mauto {
  margin: auto;
}

.text-center {
  text-align: center;
}

.ldp-main-form {
  box-sizing: border-box;
  padding: 10px 15px;
  min-height: 360px;
  height: 360px;
}

.ldp-main-page-two-text {
  max-width: 430px;
  width: 430px;
  margin: auto;
}

.ldp-main-page-one-item {
  max-width: 550px;
  width: 550px;
  margin: auto;
}

.form-playout {
  border: 2px solid var(--primary-color-main);
  border-radius: 12px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  background: var(--white-color-text);
}

.form-playout-img-title {
  max-width: 360px;
  padding: 10px 0 0;
}

.form-playout-img-title img {
  object-fit: cover;
}

.form-playout-p-input {
  padding: 10px 30px;
}

.ldp-input-group {
  margin-bottom: 20px;
  text-align: center;
}

.ldp-input::placeholder {
  color: var(--primary-color-main);
  font-size: 18px;
  opacity: 1;
}

.ldp-input:focus::placeholder {
  color: transparent;
}

.ldp-input-group input,
.ldp-input-group select {
  width: 500px;
  color: var(--primary-color-main);
  padding: 10px 5px 10px 15px;
  box-sizing: border-box;
  border-radius: 8px;
  font-size: 20px;
  outline: none;
  transition: border-color 0.3s ease;
  border: 1px solid var(--primary-color-main);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.ldp-button,
.ldp-button-main {
  background-color: var(--white-color-text);
  border-radius: 10px;
  border: none;
  color: var(--primary-color-main);
  text-transform: uppercase;
  font-size: 20px;
  padding: 12px 20px 10px;
  display: block;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin: auto;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.ldp-button-main {
  background-color: var(--primary-color-main);
  color: var(--white-color-text);
}

.ldp-button:hover,
.ldp-button-main:hover {
  transform: translateY(-3px);
}

.modal-text {
  max-width: 430px;
  margin: auto;
  padding: 0 0 10px;
}

.ldp-button:hover {
  transform: translateY(-3px);
}

.ldp-main-page-one-flex ul {
  display: flex;
  flex-direction: column;
}

.footer_section {
  padding-top: 40px;
  color: var(--white-color-text);
  position: relative;
  z-index: 0;
  padding-bottom: 35px;
  margin: -1px auto 0 auto;
}

.footr-ldp {
  margin: auto;
  max-width: 590px;
  width: 100%;
}

.footr-ldp ul li {
  padding: 5px 0;
}

.hotline-f a {
  color: var(--white-color-text);
}

/* Overlay mờ nền */
.ldp-modal-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.7);
}

.ldp-modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ldp-modal-content {
  max-width: 500px;
  width: 500px;
  background-color: #fff;
  background-image: url("https://nhakhoahanquoc.com.vn/wp-content/themes/jwhanquoc/landingpage/assets/2025/File_LDP/images/banner-modal-pc600x577px.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 12px;
  padding: 30px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  aspect-ratio: 600 / 400; /* ✅ Giúp tránh layout shift */
}

.ldp-modal-close {
  position: absolute;
  top: 5px;
  right: 10px;
  font-size: 36px;
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.ldp-modal-close:hover {
  transform: rotate(90deg);
}

.hotline-phone-ring-circle {
  width: 100px;
  height: 100px;
  top: 2px;
  left: 1px;
  position: absolute;
  background-color: transparent;
  border-radius: 100%;
  border: 2px solid #ffffff;
  -webkit-animation: phonering-alo-circle-anim 1.2s infinite ease-in-out;
  animation: phonering-alo-circle-anim 1.2s infinite ease-in-out;
  transition: all 0.5s;
  -webkit-transform-origin: 50% 50%;
  -ms-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
  opacity: 0.5;
}

.hotline-phone-ring-circle-fill {
  width: 75px;
  height: 75px;
  top: 14px;
  left: 14px;
  position: absolute;
  background-color: rgb(188 188 188 / 70%);
  border-radius: 100%;
  border: 2px solid transparent;
  -webkit-animation: phonering-alo-circle-fill-anim 2.3s infinite ease-in-out;
  animation: phonering-alo-circle-fill-anim 2.3s infinite ease-in-out;
  transition: all 0.5s;
  -webkit-transform-origin: 50% 50%;
  -ms-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
}

.hotline-phone-ring-img-circle {
  background-color: #fff;
  width: 50px;
  height: 50px;
  top: 27px;
  left: 27px;
  position: absolute;
  background-size: 20px;
  border-radius: 100%;
  border: 2px solid transparent;
  -webkit-animation: phonering-alo-circle-img-anim 1s infinite ease-in-out;
  animation: phonering-alo-circle-img-anim 1s infinite ease-in-out;
  -webkit-transform-origin: 50% 50%;
  -ms-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hotline-phone-ring-img-circle .pps-btn-img img {
  width: 40px;
  height: 40px;
}

.ldp-hotline-phone-ring-wrap {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 100;
}

.hotline-phone-ring {
  position: relative;
  visibility: visible;
  background-color: transparent;
  width: 110px;
  height: 110px;
  cursor: pointer;
  z-index: 92;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transition: visibility 0.5s;
  left: 0;
  bottom: 0;
  display: block;
}

.hotline-bar {
  position: absolute;
  background: rgb(163 0 0 / 85%);
  height: 40px;
  width: 160px;
  line-height: 40px;
  border-radius: 3px;
  padding: 0 10px;
  background-size: 100%;
  cursor: pointer;
  transition: all 0.8s;
  -webkit-transition: all 0.8s;
  z-index: 9;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.1);
  border-radius: 50px !important;
  left: 33px;
  bottom: 37px;
  background: #fff;
}

.hotline-bar > a {
  color: #bd1a16;
  text-decoration: none;
  font-size: 15px;
  font-weight: bold;
  text-indent: 50px;
  display: block;
  letter-spacing: 0;
  line-height: 40px;
  text-transform: uppercase;
  font-family: Arial;
}

.ldp_btn_fixed {
  position: fixed;
  bottom: 35px;
  right: 30px;
  cursor: pointer;
  z-index: 99;
}

.ldp_btn_fixed a img {
  animation: glowingPulse 2.5s infinite ease-in-out;
  border-radius: 50%;
  transition: all 0.3s ease-in-out;
  width: 100px;
  height: 100px;
}

@keyframes phonering-alo-circle-fill-anim {
  0% {
    -webkit-transform: rotate(0) scale(0.7) skew(1deg);
    opacity: 0.6;
  }
  50% {
    -webkit-transform: rotate(0) scale(1) skew(1deg);
    opacity: 0.6;
  }
  100% {
    -webkit-transform: rotate(0) scale(0.7) skew(1deg);
    opacity: 0.6;
  }
}

@keyframes phonering-alo-circle-anim {
  0% {
    -webkit-transform: rotate(0) scale(0.5) skew(1deg);
    -webkit-opacity: 0.1;
  }
  30% {
    -webkit-transform: rotate(0) scale(0.7) skew(1deg);
    -webkit-opacity: 0.5;
  }
  100% {
    -webkit-transform: rotate(0) scale(1) skew(1deg);
    -webkit-opacity: 0.1;
  }
}

@keyframes glowingPulse {
  0% {
    box-shadow: inset 0 0 5px rgba(5, 88, 144, 0.5),
      0 0 10px rgba(5, 88, 144, 0.4);
    filter: drop-shadow(0 0 5px rgba(5, 88, 144, 0.4));
    transform: scale(1);
  }
  40% {
    box-shadow: inset 0 0 10px rgba(5, 88, 144, 0.6),
      0 0 15px rgba(5, 88, 144, 0.6);
    filter: drop-shadow(0 0 8px rgba(5, 88, 144, 0.6));
    transform: scale(1.05);
  }
  70% {
    box-shadow: inset 0 0 15px rgba(5, 88, 144, 0.8),
      0 0 25px rgba(5, 88, 144, 0.8);
    filter: drop-shadow(0 0 12px rgba(5, 88, 144, 0.8));
    transform: scale(1.1);
  }
  100% {
    box-shadow: inset 0 0 5px rgba(5, 88, 144, 0.5),
      0 0 10px rgba(5, 88, 144, 0.4);
    filter: drop-shadow(0 0 5px rgba(5, 88, 144, 0.4));
    transform: scale(1);
  }
}

.ldp-modal-content img.loaded {
  width: 390px;
}

img.width100 {
  max-width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 480px) {
  .ldp-main,
  .ldp-main-page-one {
    max-width: 430px;
    width: 100%;
    text-align: center;
  }

  .ldp-input-group input,
  .ldp-input-group select {
    width: 300px;
  }

  .ldp-main-form {
    max-width: 380px;
    margin: auto;
    height: 360px;
  }

  .ldp-main-page-one img {
    max-width: 360px;
    width: 360px;
    height: 500px;
  }

  .form-playout-img-title {
    text-align: center;
  }

  .form-playout-img-title img.loaded {
    width: 300px;
  }

  .form-playout-p-input {
    box-sizing: border-box;
    max-width: 300px;
    width: 300px;
    margin: auto;
    padding: 10px 0;
  }

  .ldp-main-page-two-text {
    max-width: 300px;
    width: 300px;
  }

  .ldp-main-page-two-text img {
    width: 300px;
    height: 38px;
  }

  .ldp-modal-content {
    max-width: calc(100% - 60px);
    width: 390px;
    margin: 0 20px;
    padding: 20px;
    height: 350px;
  }

  .modal-text {
    max-width: 300px;
    width: 300px;
    margin: auto;
  }

  .ldp-main-page-one-item {
    max-width: 360px;
    width: 360px;
    margin: auto;
  }

  .ldp-main-page-one-item img {
    width: 100%;
  }

  img.width100 {
    width: 100%;
    margin: 0 auto;
  }

  .footer_section .footr-ldp ul {
    margin-block-start: 1em;
    margin-block-end: 1em;
    padding-inline-start: 40px;
  }

  .img-responsive {
    width: 80px;
    height: auto;
  }

  .ldp_btn_fixed {
    right: 10px !important;
    bottom: 38%;
  }

  .ldp-hotline-phone-ring-wrap {
    bottom: 36%;
    left: 0;
    z-index: 9999;
  }

  .hotline-bar {
    display: none;
  }

  .ldp_btn_fixed a img {
    width: 60px;
    height: 60px;
  }
}
