/*
Theme Name: VietPhu
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
.nav-uppercase>li>a
{
	text-transform: none !important;
}
.contact-btn {
    position: relative;
    overflow: hidden;
    transition: all .3s ease;
}

.contact-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -150%;
    width: 50%;
    height: 200%;
    background: rgba(255,255,255,.35);
    transform: rotate(25deg);
    pointer-events: none;
}

/* Chỉ kích hoạt khi hover */
.contact-btn:hover {
    animation: contactPulse 1.5s infinite;
}

.contact-btn:hover::after {
    animation: shine 1.5s infinite;
}

@keyframes contactPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255,87,34,.5);
    }
    70% {
        transform: scale(1.03);
        box-shadow: 0 0 0 12px rgba(255,87,34,0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255,87,34,0);
    }
}

@keyframes shine {
    0% {
        left: -150%;
    }
    50%, 100% {
        left: 200%;
    }
}
.welcome-chung {
    position: relative;
    display: inline-block;
}

.welcome-title {
    position: relative;
    z-index: 1;
    font-weight: bold;
    font-size: clamp(48px, 6vw, 64px);
    line-height: 1;
    letter-spacing: 1px;
    background: linear-gradient(to bottom, #d85663, rgba(86, 28, 35, 0));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.15;
}

.welcome-text {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);

    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.welcome-text span {
    font-size: clamp(16px, 1.5vw, 18px);
    line-height: 1.6;
    letter-spacing: 1px;
}
.quytrinh-swiper {
    position: relative;
}

/* Quy trình */
#quytrinh {
}
.quytrinh-main {
  padding: 50px 0 80px;
  background-image: url(../img/bg-quytrinh.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.quytrinh-main .welcome-chung {
  text-align: center;
  margin-bottom: 8px;
}
.quytrinh-main .welcome-text {
  left: 50%;
  transform: translateX(-50%);
}

.quytrinh-icon {
  position: absolute;
  z-index: 1;
  top: 10px;
  left: 10px;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.quytrinh-number {
  width: 64px;
  height: 64px;
  background-color: var(--color-main);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  font-family: var(--font-inter);
  color: white;
}
.quytrinh-icon .animated.infinite {
  animation-iteration-count: infinite;
}
.quytrinh-icon .kenit-alo-circle {
  width: calc(100% + 8px);
  height: calc(100% + 8px);
  top: -4px;
  right: -4px;
  position: absolute;
  background-color: transparent;
  -webkit-border-radius: 100%;
  -moz-border-radius: 100%;
  border-radius: 100%;
  border: 2px solid rgba(254, 0, 0, 0.4);
}
.quytrinh-icon .zoomIn {
  animation-name: zoomIn;
}
.quytrinh-icon .animated {
  animation-duration: 1s;
  animation-fill-mode: both;
}
.quytrinh-icon .kenit-alo-circle-fill {
  width: calc(100% + 16px);
  height: calc(100% + 16px);
  top: -8px;
  right: -8px;
  position: absolute;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  -webkit-border-radius: 100%;
  -moz-border-radius: 100%;
  border-radius: 100%;
  border: 2px solid transparent;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
  background-color: rgba(254, 0, 0, 0.2);
}
.quytrinh-icon .pulse {
  animation-name: pulse;
}

.quytrinh-item {
  padding: 40px 0 0 40px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.quytrinh-content {
  padding: 36px 20px;
  border-radius: 4px;
  border: 1px solid rgba(246, 107, 33, 0.6);
  background-color: white;
}
.quytrinh-img img {
  max-width: 48px;
}
.quytrinh-img:hover img {
  animation: flipX 0.6s ease-in-out;
}
.quytrinh-name {
  font-size: clamp(16px, 1.5vw, 18px);
  font-weight: 500;
  font-family: var(--font-neue);
  line-height: 1.2;
  margin: 24px 0 12px;
  text-transform: uppercase;
}

.quytrinh-desc {
  font-size: clamp(13px, 1.2vw, 14px);
  line-height: 1.6;
}
.swiperQuytrinh {
  position: relative;
  z-index: 2;
}
.quytrinh-swiper {
  position: relative;
}
.quytrinh-line {
  position: absolute;
  top: 55%;
  left: 52%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none;
  z-index: 1;
}
.process-demo-page {
  background:
    radial-gradient(circle at top center, rgba(255, 120, 80, 0.08), transparent 28%),
    #f7f7f7;
}

.process-showcase {
  padding: 72px 0;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

.process-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 124, 83, 0.12) 0, rgba(255, 124, 83, 0.06) 18%, transparent 18.5%) center top / 14px 14px repeat-x,
    linear-gradient(transparent, transparent);
  opacity: 0.8;
  pointer-events: none;
}

.process-showcase-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 68px;
  align-items: start;
}

.process-box {
  position: relative;
  min-height: 246px;
  padding: 56px 28px 28px;
  border: 1.5px solid #ff9f80;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.92);
  text-align: center;
}

.process-box::after {
  content: "";
  position: absolute;
  top: 126px;
  left: calc(100% + 4px);
  width: 60px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='20' viewBox='0 0 60 20'%3E%3Cpath d='M1 10 C8 3, 16 3, 23 10 S38 17, 45 10 S52 3, 59 10' fill='none' stroke='%23ff1e1e' stroke-width='2.5' stroke-linecap='round' stroke-dasharray='6 7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

.process-box:last-child::after {
  display: none;
}

.process-box-number {
  position: absolute;
  top: -30px;
  left: -30px;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.2), transparent 32%),
    #ff1414;
  color: #ffffff;
  font-family: "Barlow", sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  border: 6px solid rgba(255, 208, 208, 0.95);
  box-shadow: 0 8px 18px rgba(255, 42, 42, 0.14);
}

.process-box-icon {
  margin-bottom: 22px;
  color: #e12a2a;
  font-size: 3rem;
}

.process-box h3 {
  margin-bottom: 14px;
  font-size: 1.15rem;
  font-weight: 800;
  color: #343842;
}

.process-box p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #4f5561;
}

@media (max-width: 1100px) {
  .process-showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 54px 42px;
  }

  .process-box::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .process-showcase {
    padding: 40px 0;
  }

  .process-showcase-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .process-box {
    min-height: auto;
    padding: 54px 22px 24px;
  }

  .process-box-number {
    top: -24px;
    left: 18px;
    width: 68px;
    height: 68px;
    border-width: 5px;
    box-shadow: 0 8px 16px rgba(255, 42, 42, 0.12);
  }
}
.pdf-viewer {
  width: 100%;
  height: 80vh;
  min-height: 600px;
}

.pdf-viewer iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}

