/*
Theme Name: Carejar Theme
Theme URI: https://anothemes.vn
Author: Anothemes
Description: Custom WordPress Theme
Version: 1.0
*/

*, *::before, *::after {
  box-sizing: border-box;
}
@font-face {
  font-family: "ES Build";
  src: url("assets/fonts/ESBuild/ESBuildTRIAL-Regular.woff2") format("woff2");
  font-weight: 400;
}

html {
  scroll-behavior: smooth;
  transition-duration: 0.3s !important;
}

[id] {
  scroll-margin-top: 120px; /* chiều cao header */
  transition-duration: 0.3s !important;
}

body {
  margin: 0;
  font-family: "Roboto", sans-serif;
  background-color: #fff;
  /* font-family: 'ES Build', sans-serif; */
}

a {
  text-decoration: none;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
  font-family: "ES Build", sans-serif;
}

ul,
ol {
  padding: 0;
  margin: 0;
}

ul {
  list-style: none;
}

.container {
  max-width: 1280px;
  margin: auto;
}

header {
  /* width: 100%; */
  position: sticky;
  top: 0;
  z-index: 9999;
  left: 0;
  background: var(--e-global-color-secondary);
  box-shadow: 0px 2px 4px 0px #0000001a;
  padding: 20px 0;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo a,
.footer-logo a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 600;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: 0%;
  text-align: center;
  color: #d0ecee;
}

.header-nav {
  display: flex;
  gap: 32px;
}

.header-nav a {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0%;
  color: #000;
  font-family: "Inter", sans-serif;
}

.header-nav a:hover {
  color: #155eef;
  font-weight: 600;
}

.header-nav a.active {
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0%;
}

/* Mobile */
.mobile-nav a.active {
  color: #000000;
  font-weight: 600;
}

.btn {
  border-radius: 9999px;
  border: none;
}

.btn a {
  padding: 12px 14px;
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: #f04d35;
  color: white;
  box-shadow: 0px 4px 6px -2px #155eef29;
  box-shadow: 0px 12px 16px -4px #155eef52;
}

.btn-primary:hover {
  background: #f04d35;
}

footer {
  background-color: var(--e-global-color-secondary);
  margin-top: 80px;
}

.footer {
  padding: 64px 0 48px 0;
  text-align: center;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-social-networks {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.footer-social-networks li a {
  color: #667085; /* màu icon mặc định */
  transition: all 0.3s ease;
}

.footer-social-networks li a:hover {
  /* background: #155EEF; */
  color: #155eef; /* đổi màu svg */
}

.footer-line {
  margin: 32px 0;
  border: 1px solid #387887;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0%;
  color: #667085;
}

.footer-links {
  display: flex;
  gap: 16px;
  color: #667085;
}

.footer-links p {
  color: #667085;
}

.footer-links p:hover {
  color: #155eef;
  cursor: pointer;
}

.footer-links li span {
  color: #eaecf0;
}

.footer-language {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.header-menu-icon {
  display: none;
  cursor: pointer;
}

/* mobile menu */

.mobile-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background: white;
  z-index: 99999;
  transition: 0.3s;
  /* padding: 24px; */
  box-shadow: -4px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-header {
  display: none;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0 0 15px;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 52px 10px;
}

.mobile-nav li:hover {
  background: #e1e1e1;
  border-radius: 10px;
}

.mobile-nav a {
  font-size: 18px;
  color: #000;
  padding: 10px;
  border-radius: 10px;
  display: block;
}

.close-menu {
  cursor: pointer;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 9999;
  display: none;
}

.menu-overlay.active {
  display: block;
}

.hero-banner {
  position: relative;
}

/* lớp dưới */
div.hero-banner::before {
  content: "";
  position: absolute;
  top: auto;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 33%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0) 100%
  ) !important;
  z-index: 1;
  opacity: 1;
  border-radius: 0 0 32px 32px;
}

/* lớp trên */
.hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 55%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
  z-index: 2;
  border-radius: 32px 0px 0px 32px;
}
html[dir="rtl"] .hero-banner::after {
  background: linear-gradient(270deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
  border-radius: 0 32px 32px 0;
}

.hero-slider-wrapper .swiper-wrapper {
  transition: transform 0.3s ease !important;
  transition-duration: 0.3s !important;
}

.faqs-wrapper .faq-answer,
.custom-basic-slider .swiper-wrapper {
  transition-duration: 0.3s !important;
}

@media screen and (max-width: 767px) {
  .overlay-img:before {
    display: block !important;
    content: "" !important;
    position: absolute;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
    inset: 0;
  }

  .our-premium-cars-title h2 {
    margin: 0 -34px;
  }

  .mobile-hidden {
    display: none !important;
  }
}

@media screen and (max-width: 991px) {
  .header-nav {
    display: none;
  }

  .container {
    width: 100%;
  }

  .header-logo {
    order: 1;
  }

  .btn-primary {
    order: 2;
    margin: auto;
  }

  .header-menu-icon {
    order: 3;
    display: block;
    max-width: 30px;
  }
}

@media screen and (max-width: 1360px) {
  header,
  footer {
    padding: 20px;
  }

  .body {
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .header-logo a img,
  .footer-logo a img {
    width: 60px;
  }

  .header-logo a span,
  .footer-logo a span {
    font-size: 20px;
  }
}

@media (max-width: 1023px) {
  .tablet-hidden {
    display: none !important;
  }
}

.car-icon-box .elementor-icon {
  background-color: #344054;
  border-radius: 8px;
  padding: 16px;
}

@media (max-width: 767px) {
  .car-icon-box .elementor-icon {
    padding: 8px;
  }
}

.car-icon-box .elementor-icon svg {
  width: 24px;
  height: 24px;
}

.aplication-works {
  width: 62% !important;
  z-index: 1;
}

@media (min-width: 1024px) {
  .desktop-hidden {
    display: none !important;
  }
}
.download-app-img.elementor-widget {
  width: 70%;
  max-width: 820px !important;
  position: relative;
}

.download-app-img img {
  width: 100%;
}

@media (max-width: 1299px) {
  .download-app-img.elementor-widget img {
    -webkit-filter: brightness(70%);
  }
}

@media (max-width: 767px) {
  .download-app-img-1 {
    left: 2% !important;
    right: unset !important;
  }
}

@media (max-width: 599px) {
  .download-app-img.elementor-widget {
    width: 100%;
  }
}

.footer-lang-switcher {
  position: relative;
  display: inline-block;
}

.lang-btn {
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: Inter, sans-serif;
  color: #667085;
  font-size: 16px;
  line-height: 24px;
  background: transparent !important;
}

.lang-dropdown {
  position: absolute;
  bottom: 100%;
  right: 0;
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  list-style: none;
  padding: 0;
  margin: 4px 0 0 0;
  min-width: 150px;
  z-index: 10;
  font-family: Inter, sans-serif;
  color: #667085;
  font-size: 16px;
  line-height: 24px;
  background: #f1efea;
}

.lang-dropdown li {
  padding: 6px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: Inter, sans-serif;
  color: #667085;
  font-size: 16px;
  line-height: 24px;
}

.lang-dropdown li:hover {
  background: #f0f0f0;
}

.lang-btn .flag img {
  width: 24px !important;
  height: 18px !important;
}

.lang-btn .flag,
.lang-dropdown .flag {
  display: flex;
  align-items: center;
}

.lang-dropdown .lang-name {
  white-space: nowrap;
}

/* FOOTER MODAL */

.footer-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;

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

  visibility: hidden;
  opacity: 0;

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

/* ACTIVE */
.footer-modal.active {
  visibility: visible;
  opacity: 1;
}

/* OVERLAY */
.footer-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);

  opacity: 0;
  transition: opacity 0.3s ease;
}

.footer-modal.active .footer-modal-overlay {
  opacity: 1;
}

/* CONTENT */
.footer-modal-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  width: 90%;
  background: #fff;
  border-radius: 12px;
  transform: scale(0.9) translateY(20px);
  opacity: 0;

  transition: all 0.3s ease;
}

/* Khi mở */
.footer-modal.active .footer-modal-content {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* CLOSE BUTTON */
.modal-close {
  border: none;
  background: none;
  cursor: pointer;
}

.modal-footer-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid #eaecf0;
}

.modal-footer-title h2 {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: 0%;
  color: #000000;
}

.modal-body {
  overflow: auto;
  max-height: 55vh;
  border: 1px solid #eaecf0;
  border-radius: 16px;
  padding: 8px;
  margin: 16px;
}

/* Chrome, Edge, Safari */
.modal-body::-webkit-scrollbar {
  width: 6px; /* độ rộng thanh scroll */
}

.modal-body::-webkit-scrollbar-track {
  background: transparent;
}

.modal-body::-webkit-scrollbar-thumb {
  background: #d9d9d9;
  border-radius: 10px;
}

/* hover (optional) */
.modal-body::-webkit-scrollbar-thumb:hover {
  background: #c0c0c0;
}

.scroll-inner::-webkit-scrollbar-track {
  border-top: 30px solid transparent;
  border-bottom: 20px solid transparent;
}

.modal-body h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.5;
  font-family: "Inter", sans-serif;
  font-weight: 600;
}

.modal-body p,
.modal-body ul {
  margin-bottom: 16px;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
}

.modal-body ul li {
  list-style: disc !important;
  margin-left: 1.8rem;
  line-height: 1.5;
}

.modal-body ol li {
  margin-left: 1.8rem;
  line-height: 1.5;
}

.transition-img img {
  transition-duration: 0.3s !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain; /* ngăn scroll lan ra ngoài modal */
}

.banner-search {
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  bottom: -44px !important;
  max-width: 846px !important;
  box-shadow: 0 0 50px 5px rgba(0, 0, 0, .05);
}

@media (min-width: 767px) {
  .application-works-img {
    scale: 0.9;
    transform-origin: right bottom;
  }
}

@media (max-width: 990px) {
  .banner-search {
    max-width: 70% !important;
  }
}

@media (max-width: 767px) {
  .background-mobile {
    min-height: 0 !important;
    padding-bottom: 56.25% !important;
    background-size: cover !important;
  }

  .banner-search {
    max-width: calc(100% - 32px) !important;
    padding: 0 !important;
    bottom: 20px !important;
  }
}

.header-logo img,
.footer-logo img {
  max-height: 50px;
}

#howtouse .hero-title {
 color: white;
}

#howtouse .hero-description {
  color: var(--e-global-color-secondary);
}


#howtouse .progress-text {
  color: white;
}

#faqs .faq-question {
  color: var(--e-global-color-secondary);
}

#faqs .faq-answer {
  color: var(--e-global-color-secondary);
}

.site-content {
  padding: 70px 15px;
}
.entry-content {
  color: #073f55;
  font-size: 16px;
  line-height: 1.6;
  font-weight: normal;
  text-align: justify;
}
.entry-content h2 {
  margin-top: 50px;
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  margin-bottom: 10px;
  margin-top: 20px;
}
.entry-content p,
.entry-content ul,
.entry-content table {
  margin-bottom: 10px;
}
.entry-content p:last-child {
  margin-bottom: 0;
}
.entry-content table {
  border: 1px solid rgba(0, 0, 0, 0.1);
  width: 100%;
  border-collapse: collapse;
}
.entry-content table td,
.entry-content table th {
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 5px 10px;
}
.footer-links li:after {
  content: "|";
  color: #022833;
  display: inline-block;
  margin-left: 15px;
}
.footer-links li:last-child:after {
  display: none;
}
.footer-links li a {
  color: #D0ECEE;
}
.footer-links li a:hover {
  color: #387887;
}
.page-template-page-def header {
  display: none;
}
.elementor-12 img,
.application-works-img img {
	height: auto !important;
}
html[lang="ar"] .hero-slider-wrapper {
direction: ltr;
}
.hero-content-slider .hero-next,
.hero-content-slider .hero-prev,
.hero-slider-left .hero-next,
.hero-slider-left .hero-prev {
  border-color: #d93c25;
}
.hero-content-slider .hero-next svg path, 
.hero-content-slider .hero-prev svg path,
.hero-slider-left .hero-next svg path, 
.hero-slider-left .hero-prev svg path {
  fill: #d93c25;
}
.hero-content-slider .hero-next:hover svg path, 
.hero-content-slider .hero-prev:hover svg path,
.hero-slider-left .hero-next:hover svg path, 
.hero-slider-left .hero-prev:hover svg path {
  fill: #FFF;
}
.hero-content-slider .hero-next:hover, 
.hero-content-slider .hero-prev:hover,
.hero-slider-left .hero-next:hover, 
.hero-slider-left .hero-prev:hover {
  background: #d93c25;
  border-color: #d93c25;
}
.wpcf7 form > p {
	margin-bottom: 20px;
}
.wpcf7 input[type="text"], 
.wpcf7 input[type="email"], 
.wpcf7 input[type="tel"], 
.wpcf7 textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px; 
    background-color: #f9f9f9;
    margin-top: 5px;
}

.wpcf7 input:focus, .wpcf7 textarea:focus {
    border-color: #0073aa;
    outline: none;
}

.wpcf7 input[type="submit"] {
    background-color: #d93c25;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
}

.wpcf7 input[type="submit"]:hover {
    background-color: #f04d35;
}
@media (max-width: 767px) {
	.footer-bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .footer-bottom>* {
        margin-right: 20px;
        margin-bottom: 10px;
    }
  .site-content {
    padding-bottom: 0;
  }
  .entry-content h2 {
    margin-top: 35px;
    font-size: 1.25em;
  }
  .entry-content .table-repsonsive {
    border: none;
  }
  .table-repsonsive, .table-repsonsive thead, .table-repsonsive tbody, .table-repsonsive th, .table-repsonsive td, .table-repsonsive tr {
    display: block;
  }
  
  .table-repsonsive thead tr {
    display: none;
  }

  .table-repsonsive tbody tr {
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
  }
  
  .table-repsonsive tbody td {
    border: none;
    position: relative;
    width: 100%;
  }
  
  .table-repsonsive tbody td::before {
    content: attr(data-label);
    font-weight: bold;
    display: block;
  }
  .entry-content table td, .entry-content table th {
    word-break: break-word;
  }
  .footer-links li:after {
  	margin-left: 5px;
  }
.resp-p p {
font-size: 16px;
}
}

