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

/*************** ADD CUSTOM CSS HERE.   ***************/
/* s1 */

.s1_home .section-bg {
  display: flex;
  justify-content: flex-end;
}

.s1_home .section-bg:after {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: calc(50% + 2px);
  height: calc(100% + 2px);
  background: linear-gradient(90deg,
      rgb(255, 255, 255) 0%,
      rgba(255, 255, 255, 0.85) 18%,
      rgba(255, 255, 255, 0) 45%);
}

.s1_home .section-bg img {
  width: 50%;
  object-fit: cover;
  object-position: left;
  transform: rotateY(180deg);
  position: relative;
}

.s1_home_col_2 img {
  transform: rotateY(180deg);
}

.s1_home_col_2>.img {
  position: relative;
}

.s1_home_col_2>.col-inner:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      rgb(255, 255, 255) 0%,
      rgba(255, 255, 255, 0.85) 18%,
      rgba(255, 255, 255, 0) 45%);
}

.s1_home_highline {
  display: inline-flex;
  align-items: center;
  background: rgb(255, 233, 239);
  color: rgb(140, 73, 26);
  padding: 6px 16px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* s2 */

.s2_home_row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.verified-profile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.verified-profile__icon {
  flex: 0 0 auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgb(140, 73, 26);
  background-color: rgb(255, 255, 255);
}

.verified-profile__icon .material-icons {
  font-family: "Material Icons";
  font-size: 28px;
}

.verified-profile__number {
  font-family: "Caprasimo", cursive;
  font-size: 24px;
  color: rgb(32, 30, 29);
}

.verified-profile__text {
  font-size: 16px;
  color: rgb(100, 92, 80);
}

/* s3 */

.s3_home_row_2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.s3_home_col {
  transition: 0.2s;
}

.s3_home_col:hover {
  transform: translateY(-6px) !important;
}

/* s4 */
.s4_home_row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 64px;
}

.s4_home_row_2 {
  gap: 18px;
}

.safety_feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.safety_feature_icon {
  flex: 0 0 auto;
  margin-top: 2px;
  font-size: 20px;
  color: #728157;
}

.safety_feature strong {
  display: block;
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 8px;
  color: rgb(32, 30, 29);
}

.safety_feature p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: rgb(100, 92, 80);
}

/* s5 */

.s5_home_row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
}

.meti-card__icon {
  flex: 0 0 auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  color: rgb(86, 99, 63);
  background-color: rgb(255, 255, 255);
}

.meti-card__icon .material-icons {
  font-family: "Material Icons";
  font-size: 60px;
  color: rgb(252, 3, 95);
}

.s5_home_logo img {
  height: 44px;
  width: auto;
  margin-left: auto;
  display: block;
  background: rgb(255, 255, 255);
  border-radius: 8px;
  padding: 4px 10px;
}

.s5_home_grid_logo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.s5_home_col .col-inner.box-shadow-1.box-shadow-1-hover {
  box-shadow: rgba(46, 43, 37, 0.14) 0px 12px 32px;
}

/* s6 */
.s6_home .feature-card:hover {
  background: rgb(253, 247, 240);
}

.s6_home .feature-icon .material-icons {
  font-size: 52px;
}

.s6_home .feature-card {
  border: 1px solid rgb(238, 226, 216);
  transition: 0.2s;
}

.slogan-pink {
  color: rgb(255, 57, 134);
}

.slogan-orange {
  color: rgb(198, 113, 57);
}

.slogan-green {
  color: rgb(114, 129, 87);
}

/* s7 */
/* =========================================
   MOMENTS ROW
========================================= */

.moments-row {
  margin-left: auto !important;
  margin-right: auto !important;

  display: grid !important;

  grid-template-columns:
    0.7fr 1fr 1fr 1fr 1fr 0.7fr;

  gap: 32px;

  align-items: center;

  position: relative;
}

/* =========================================
   COLUMNS
========================================= */

.moments-row>.col {
  width: auto !important;
  max-width: none !important;
  flex-basis: auto !important;

  padding: 0 !important;
  margin: 0 !important;

  position: relative;
}

/* =========================================
   ROTATION
========================================= */

.moment-col-1 {
  transform: rotate(5deg);
}

.moment-col-2 {
  transform: rotate(-4deg);
}

.moment-col-3 {
  transform: rotate(3deg);
  margin-top: 24px !important;
}

.moment-col-4 {
  transform: rotate(4deg);
  margin-top: 24px !important;
}

.moment-col-5 {
  transform: rotate(-3deg);
}

.moment-col-6 {
  transform: rotate(-5deg);
}

/* =========================================
   IMAGE
========================================= */

.moment-image {
  margin: 0 !important;
  transition: 0.2s;
}

.moment-image:hover {
  transform: scale(1.1);
}

.moment-image img {
  display: block;

  width: 100%;
  height: 280px;

  object-fit: cover;

  border-radius: 16px;

  box-shadow: 0 12px 28px rgba(46, 43, 37, 0.18);
}

/* Ảnh ngoài cùng nhỏ hơn */

.moment-col-1 .moment-image img,
.moment-col-6 .moment-image img {
  height: 220px;
}

/* =========================================
   QUOTE
========================================= */

.moment-quote {
  position: absolute;

  z-index: 10;

  background: #fff;

  border-radius: 16px;

  padding: 12px 16px;

  box-shadow: 0 8px 20px rgba(46, 43, 37, 0.18);

  color: rgb(32, 30, 29);

  line-height: 1.4;

  margin: 0 !important;
}

.moment-quote p {
  margin: 0 !important;
}

/* Quote 1 */

.moment-quote-1 {
  left: 129px;
  top: 250px;
  transform: rotate(-3deg);
}

/* Quote 2 */

.moment-quote-2 {
  left: 0;
  bottom: -34px;
  transform: rotate(-6deg);
  z-index: 2;
}

/* Quote 3 */

.moment-quote-3 {
  left: 145px;
  top: 251px;
  transform: rotate(-3deg);
  z-index: 1;
}

/* Quote 4 */

.moment-quote-4 {
  bottom: -34px;
  right: -16px;
  transform: rotate(3deg);
}

/* s8 */

/* =========================================
   TESTIMONIAL SLIDER
========================================= */

.testimonials-slider {
  display: block !important;

  margin-left: auto !important;
  margin-right: auto !important;
}


/* =========================================
   UX BUILDER COL = CARD
========================================= */

.testimonials-slider>.col {
  display: block !important;

  width: auto !important;
  max-width: none !important;
  flex-basis: auto !important;

  padding: 32px !important;

  margin: 0 14px !important;

  background: #f3f9fd;

  border-radius: 24px;

  box-shadow:
    0 1px 2px rgba(46, 43, 37, 0.14);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}


/* Hover */

.testimonials-slider>.col:hover {
  transform: translateY(-4px);

  box-shadow:
    0 10px 30px rgba(46, 43, 37, 0.12);
}


/* =========================================
   STARS
========================================= */

.testimonial-stars {
  display: flex;

  gap: 2px;

  color: rgb(198, 113, 57);

  margin-bottom: 16px !important;
}


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

.testimonial-content {
  color: rgb(32, 30, 29);

  line-height: 1.7;

  margin-bottom: 22px !important;
}


/* =========================================
   AUTHOR
========================================= */

.testimonial-author {
  display: flex;

  align-items: center;

  gap: 12px;
}


/* =========================================
   SLICK
========================================= */


.testimonials-slider .slick-track {
  display: flex;
}

.testimonials-slider .slick-slide {
  height: auto;
}

.testimonials-slider .slick-slide>div {
  height: 100%;
}


/* =========================================
   DOTS
========================================= */

.testimonials-slider .slick-dots {
  bottom: -40px;
}

.testimonials-slider .slick-dots li {
  margin: 0 4px;
  width: 8px;
  height: 8px;
}

.testimonials-slider .slick-dots li button:before {
  font-size: 8px;

  opacity: 1;

  color: #e5d9cd;
}

.testimonials-slider .slick-dots li.slick-active button:before {
  color: #8c491a;
}

.col.testimonial-card>.col-inner {
  padding: 32px;
  border-radius: 24px;
  box-shadow: rgba(46, 43, 37, 0.14) 0px 1px 2px;
  background-color: rgb(243, 249, 253);
}

.col.testimonial-card {
  padding: 0 14px;
}

/* s9 */
.s9_home_row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.s9_home .pricing-card>.col-inner {
  transition: 0.25s;
}

.s9_home .pricing-card>.col-inner:hover {
  transform: translateY(-6px) !important;
  box-shadow: rgba(46, 43, 37, 0.16) 0px 12px 28px !important;
}

.s9_home_prices {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.s9_home_prices>* {
  cursor: pointer;
}

.s9_home .price-badge {
  text-align: center;
  position: absolute;
  top: -9px;
  left: 50%;
  width: 100%;
  transform: translateX(-50%);
  background: rgb(255, 57, 134);
  padding: 2px 8px;
  border-radius: 999px;
}

.s9_home .pricing-option {
  height: 50px;
  align-items: center;
  display: flex;
  justify-content: center;
  flex-flow: column;
}

.s9_home_prices .col-inner:has(.pricing-option.active) {
  background-color: rgb(255, 196, 98);
  transition: 0.2s;
}

.s9_home_btn_1 {
  position: absolute;
  bottom: 36px;
  width: calc(100% - 72px);
}

.s9_home_btn_1 .button {
  border-color: rgb(32, 30, 29);
  font-size: 20px;
  color: rgb(32, 30, 29);
}

.s9_home_btn_2 .button {
  border: unset;
  font-size: 20px;
  color: rgb(32, 30, 29);
  background-color: rgb(255, 196, 98);
}

.s9_home .pricing-card>.col-inner:hover .s9_home_btn_1 .button {
  background-color: rgb(32, 30, 29);
  color: rgb(253, 238, 242);
}

.s9_home_pricing_price {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 8px;
  align-items: flex-end;
}

.s9_home .pricing-option-off {
  width: 100%;
  font-size: 13px;
}

.s9_home .pricing-option.active .pricing-option-m {
  color: rgb(32, 30, 29) !important;
}

/* s10 */

/* =========================
   FAQ ACCORDION
========================= */

.accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Item */
.accordion .accordion-item {
  margin: 0;
  border: 1px solid #e5e5e5;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

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

.accordion .accordion-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  padding: 20px 24px;

  border: 0;
  background: #fff;

  font-size: 18px;
  font-weight: 700;

  color: #201e1d;

  cursor: pointer;

  transition:
    background-color .2s ease,
    color .2s ease;
}

/* Remove default Flatsome border */
.accordion .accordion-title,
.accordion .accordion-title:hover {
  border-top: 0;
}

/* Question text */
.accordion .accordion-title>span {
  flex: 1;
}

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

.accordion .accordion-title .toggle {
  position: static;

  flex: 0 0 18px;

  width: 18px;
  height: 18px;

  min-height: 18px;

  margin: 0;
  padding: 0;

  border: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background: transparent;

  color: #201e1d;

  transition: transform .25s ease;
}

/* Remove Flatsome icon styling */
.accordion .accordion-title .toggle i {
  font-size: 18px;
  line-height: 1;

  margin: 0;

  transition: transform .25s ease;
}

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

.accordion .accordion-item.active>.accordion-title {
  background: #fff;
}

/* Arrow rotates when opened */
.accordion .accordion-item.active .toggle {
  transform: rotate(180deg);
}

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

.accordion .accordion-inner {
  padding: 0 24px 22px;

  border: 0;

  font-size: 16px;
  line-height: 1.7;

  color: #474238;

  background: #fff;
}

/* Remove default paragraph margin */
.accordion .accordion-inner p {
  margin: 0;
}

.accordion .accordion-title .toggle {
  position: static !important;
  float: none !important;
  order: 2;
  margin-left: auto !important;
  opacity: 1;
}

.accordion .accordion-title>span {
  order: 1;
}

/* s11 */

.final-cta {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.final-cta>.section-content {
  height: 100%;
  padding: 164px 0;
}

/* UX Builder Image = background layer */
.final-cta-bg {
  position: absolute !important;
  inset: 0;
  z-index: 0;

  width: 100%;
  height: 100%;

  margin: 0 !important;
  padding: 0 !important;

  animation: ctaZoom 14s ease-in-out infinite;
}

.final-cta-bg .img-inner {
  width: 100%;
  height: 100%;
}

.final-cta-bg img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  display: block;
}

/* Gradient */
.final-cta>.section-content::after {
  content: "";

  position: absolute;
  inset: 0;

  z-index: 1;

  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.55) 55%,
      rgba(0, 0, 0, 0.7) 100%);

  pointer-events: none;
}

/* Content */
.final-cta-content {
  position: relative;
  z-index: 2;
}

/* Title */


.final-cta-button {
  line-height: 1;
  background-color: rgb(253, 238, 242) !important;
  color: rgb(32, 30, 29) !important;

  padding: 14px 26px !important;

  font-size: 15px !important;
  font-weight: 700;

  border-radius: 999px !important;

  transition:
    background-color .2s ease,
    transform .2s ease;
}

.final-cta-button:hover {
  background-color: #fff !important;
  color: rgb(32, 30, 29) !important;

  transform: translateY(-2px);
}


/* Background zoom */
@keyframes ctaZoom {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }

}

/* footer */

.footer_row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-links a {
  color: #a19786;
  text-decoration: none;
  transition: color .2s ease;
  margin-bottom: 12px;
  font-size: 13px;
  display: block;
  line-height: 1;
}

.footer-links a:hover {
  color: #fdeef2;
}

.absolute-footer {
  display: none;
}

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

  /*************** ADD MOBILE ONLY CSS HERE  ***************/
  .medium-logo-left .flex-left {
    display: none;
  }

  /* 	s1 */

  .s1_home .section-bg img {
    display: none;
  }

  .s1_home_col_2 {
    margin-left: -15px;
    min-width: calc(100% + 30px);
  }

  /* 	s2 */

  .s2_home_row {
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
  }

  .verified-profile {
    justify-content: flex-start;
    gap: 16px;
  }

  .verified-profile__number {
    font-size: 22px;
  }

  /* s3 */
  .s3_home_row_2 {
    grid-template-columns: repeat(1, 1fr);
  }

  /* 	s4 */
  .s4_home_row {
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
  }

  /* 	s5 */

  .s5_home_row {
    grid-template-columns: 1fr;
  }

  .meti-card__icon {
    width: 80px;
    height: 80px;
  }

  .meti-card__icon .material-icons {
    font-size: 40px;
  }

  .moments-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  /* Reset margin */

  .moment-col-3,
  .moment-col-4 {
    margin-top: 0 !important;
  }

  /* Rotation */

  .moment-col-1 {
    transform: rotate(4deg);
  }

  .moment-col-2 {
    transform: rotate(-3deg);
  }

  .moment-col-3 {
    transform: rotate(3deg);
  }

  .moment-col-4 {
    transform: rotate(-3deg);
  }

  .moment-col-5 {
    transform: rotate(3deg);
  }

  .moment-col-6 {
    transform: rotate(-4deg);
  }

  /* Image */

  .moment-image img {
    height: 260px;
  }

  .moment-col-1 .moment-image img,
  .moment-col-6 .moment-image img {
    height: 220px;
  }

  /* Quotes */

  .moment-quote-1 {
    left: 60px;
    top: 185px;
  }

  .moment-quote-2 {
    left: 0;
    bottom: -60px;
  }

  .moment-quote-3 {
    left: 60px;
    top: 220px;
  }

  .moment-quote-4 {
    right: -10px;
    bottom: -30px;
  }

  .s9_home_row {
    grid-template-columns: repeat(1, 1fr);
  }

  .s9_home_btn_1 {
    position: relative;
    bottom: unset;
    width: 100%;
  }

  .s9_home_btn_1 .button {
    font-size: 16px;
  }

  .final-cta>.section-content {
    padding: 80px 0;
  }

  .footer_row {
    gap: 30px;
  }
}

@media only screen and (max-width: 550px) {
  .medium-logo-left .logo {
    width: 120px !important;
  }

  .nav>li.html {
    font-size: 0.875em;
  }

  .s5_home_grid_logo {
    grid-template-columns: repeat(1, 1fr);
  }

  .s5_home_logo img {
    margin-left: unset;
  }

  .s5_home_row {
    gap: 24px;
  }

  .meti-card__icon {
    width: 48px;
    height: 48px;
  }

  .meti-card__icon .material-icons {
    font-size: 28px;
  }

  .moments-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Tất cả item trở về vị trí bình thường */

  .moment-col-1,
  .moment-col-2,
  .moment-col-3,
  .moment-col-4,
  .moment-col-5,
  .moment-col-6 {
    margin-top: 0 !important;
  }

  /* Rotation nhẹ hơn */

  .moment-col-1 {
    transform: rotate(3deg);
  }

  .moment-col-2 {
    transform: rotate(-3deg);
  }

  .moment-col-3 {
    transform: rotate(2deg);
  }

  .moment-col-4 {
    transform: rotate(-2deg);
  }

  .moment-col-5 {
    transform: rotate(2deg);
  }

  .moment-col-6 {
    transform: rotate(-3deg);
  }

  /* Image */

  .moment-image img {
    height: 230px;
  }

  .moment-col-1 .moment-image img,
  .moment-col-6 .moment-image img {
    height: 200px;
  }

  /* Quote 1 */

  .moment-quote-1 {
    left: 20px;
    top: 140px;
  }

  /* Quote 2 */

  .moment-quote-2 {
    left: 0;
    bottom: -28px;
  }

  /* Quote 3 */

  .moment-quote-3 {
    left: 20px;
    top: 190px;
  }

  /* Quote 4 */

  .moment-quote-4 {
    right: -10px;
    bottom: -28px;
  }

  .s9_home_prices {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .accordion {
    gap: 10px;
  }

  .accordion .accordion-item {
    border-radius: 16px;
  }

  .accordion .accordion-title {
    padding: 16px 18px;
    font-size: 16px;
  }

  .accordion .accordion-inner {
    padding: 0 18px 18px;

    font-size: 15px;
    line-height: 1.65;
  }

  .footer_row {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}