:root {
  /**
  @font family declaration
  */
  --tp-ff-teko: 'Teko', serif;
  --tp-ff-body: 'Inter', sans-serif;
  --tp-ff-heading: 'Inter', sans-serif;
  --tp-ff-inter: 'Inter', sans-serif;
  --tp-ff-p: 'Inter', sans-serif;
  --tp-ff-besley: 'Besley', serif;
  --tp-ff-mango-thin: 'MangoGrotesqueThin', serif;
  --tp-ff-mango-light: 'MangoGrotesqueLight', serif;
  --tp-ff-mango: 'MangoGrotesque', serif;
  --tp-ff-mango-medium: 'MangoGrotesqueMed', serif;
  --tp-ff-mango-semibold: 'MangoGrotesqueSemBd', serif;
  --tp-ff-mango-bold: 'MangoGrotesque', serif;
  --tp-ff-clash-light: 'ClashDisplay-Light', serif;
  --tp-ff-clash-regular: 'ClashDisplay-Regular', serif;
  --tp-ff-clash-medium: 'ClashDisplay-Medium', serif;
  --tp-ff-clash-semibold: 'ClashDisplay-Semibold', serif;
  --tp-ff-clash-bold: 'ClashDisplay-Bold', serif;
  --tp-ff-grotesk: 'Space Grotesk', serif;
  --tp-ff-platform: 'Platform', serif;
  --tp-ff-playfair: 'Playfair Display', serif;
  --tp-ff-satisfy: 'Satisfy', cursive;
  --tp-ff-dirtyline: 'dirtyline-36daysoftype-2022', serif;
  --tp-ff-phudu: 'Phudu', serif;
  --tp-ff-poppins: 'Poppins', serif;
  --tp-ff-onest: 'Onest', serif;
  --tp-ff-fontawesome: "Font Awesome 6 Pro";
  /**
  @color declaration
  */
  --tp-common-white: #ffffff;
  --tp-common-black: #141414;
  --tp-common-black-2: #232323;
  --tp-common-black-3: #000;
  --tp-common-black-4: #0a0a0a;
  --tp-common-black-5: #121212;
  --tp-common-black-6: #212121;
  --tp-common-black-7: #0E0F11;
  --tp-common-black-8: #1a1b1e;
  --tp-common-black-9: #16302f;
  --tp-common-black-10: #21212D;
  --tp-common-cream: #f9f4e8;
  --tp-common-cream-2: #FFF6BF;
  --tp-common-cream-3: #ffffe6;
  --tp-common-yellow: #ffc446;
  --tp-common-yellow-1: #FFF669;
  --tp-common-yellow-green: #E9FF48;
  --tp-common-green-light: #D0FF71;
  --tp-common-green-regular: #C1ED00;
  --tp-common-green-solid: #17312F;
  --tp-common-pink-light: #FDE1DA;
  --tp-common-paste: #43D4A0;
  --tp-common-paste-2: #0C5752;
  --tp-common-sky: #C5FCFC;
  --tp-common-red: #FF4851;
  --tp-common-red-2: #FF481F;
  --tp-common-red-3: #FF5722;
  --tp-common-blue: #7463FF;
  --tp-common-brown: #453030;
  --tp-grey-1: #f8f8f8;
  --tp-grey-2: #f1f1f1;
  --tp-grey-3: #F8F8FB;
  --tp-grey-4: #F6F8EF;
  --tp-coffe-1: #653624;
  --tp-coffe-2: #552411;
  --tp-cream-1: #B7AB98;
  --tp-cream-2: #CFC292;
  --tp-text-body: #2e2d2d;
  --tp-theme-green: #A0FF27;
  --tp-theme-pink: #EC6FD5;
  --tp-theme-yellow: #FFB701;
  --tp-border-1: #EAEBED;
  --tp-border-2: #e7e7e7;

  /* main color */
  --tp-brand-primary-color: #34679A;
  --tp-navi-background-color: #14293D;
  --tp-secondary-color: #2AB7CA;
  --tp-secondary-light-color: #6bd3e0;
  --accent-color: #F6C90E;
  --temp1: #F0A500;
  --section-background: #8DA9C4;



  /* main text color */
  --tp-heading-text-color: #0F0F0F;
  --tp-primary-text-color: #34679A;
  --tp-h2-text-color: #1C1C1C;
  --tp-subtitle-text-color: #3C3C3C;
  --tp-white-text-color: #FFFFFF;
  --tp-sub-white-text-color: #E1E8F0;
}

/* heading text styles */
.heading-h1 {
  color: #111013;
  font-size: 100px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 50px;
  letter-spacing: -4px;
  text-transform: uppercase;
}

.heading-h1-highlight {
  color: var(--tp-brand-primary-color);
}

@media only screen and (min-width: 1200px) and (max-width: 1399px),
only screen and (min-width: 992px) and (max-width: 1199px) {
  .heading-h1 {
    font-size: 90px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px),
(max-width: 767px) {
  .heading-h1 {
    font-size: 70px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px),
(max-width: 767px) {
  .heading-h1-box {
    flex-wrap: wrap;
    justify-content: start !important;
  }
}

.heading-h1-box p {
  color: #111013;
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
}

@media only screen and (min-width: 768px) and (max-width: 991px),
(max-width: 767px) {
  .heading-h1-box p br {
    display: none;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px),
(max-width: 767px) {
  .heading-h1-box p {
    padding-top: 20px;
  }
}

.heading-h1-box .ar-about-us-4-icon {
  margin-right: 75px;
}

.cert-img {
  width: 200px;
  /* or 100%, 80px, etc. */
  height: auto;
  /* keeps the aspect ratio */
  margin-bottom: 20px;
  /* space between images */
  overlay: auto;
}



.custom-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.custom-card:hover {
  transform: translateY(-5px);
}

.card-content {
  position: relative;
  padding: 30px 25px 15px 25px;
}

.card-number {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 100px;
  font-weight: 700;
  color: #000;
  opacity: 0.05;
  animation: fadePulse 4s linear infinite;
}

@keyframes fadePulse {
  0% {
    opacity: 0.03;
  }

  50% {
    opacity: 0.12;
  }

  100% {
    opacity: 0.03;
  }
}

.card-title {
  font-weight: 700;
  color: #000;
  position: relative;
  z-index: 1;
}

.card-text {
  color: #555;
  font-size: 15px;
  margin-bottom: 25px;
  position: relative;
  z-index: 1;
}

.divider {
  height: 1px;
  background: #ddd;
  margin-bottom: 15px;
}

.card-link {
  text-transform: uppercase;
  font-weight: 600;
  font-size: 13px;
  color: #000;
  text-decoration: none;
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.card-link:hover {
  color: #34679A;
  /* your primary color */
}

.card-image img {
  width: 100%;
  height: auto;
  display: block;
}

.card-number-gradient {
  font-size: 120px;
  font-weight: 800;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.05));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  margin: 0;
  line-height: 1;
}



.tp_reveal_anim {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

.tp_reveal_anim.visible {
  opacity: 1;
  transform: translateY(0);
}



/* hvac */
/* combatibility start */
.custom-card {
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(to bottom, #fff, #f8f8f8);
  position: relative;
}

/* Big faint number — behind everything */
.bg-number {
  position: absolute;
  top: 10px;
  right: 40px;
  font-size: 220px;
  font-weight: 700;
  background: linear-gradient(145deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.1));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.1;
  z-index: 0;
  /* behind all content */
  pointer-events: none;
}

/* Text and image above number */
.card-body,
.card-img {
  position: relative;
  z-index: 1;
}

.card-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0 0 20px 20px;
}

/* combatibility */









/* shading */
/* Overlay */
/* === POPUP REDESIGN === */

/* CSS Variables for easy color changes */
:root {
  --popup-zalo-blue: #0068FF;
  --popup-call-green: var(--tp-brand-primary-color);
  --popup-text-dark: #212529;
  --popup-text-light: #6c757d;
  --popup-bg-light: #f8f9fa;
  --popup-border-light: #e9ecef;
  --popup-radius: 16px;
  --popup-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

/* 1. Overlay */
#callPopup.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  /* Modern blur effect */
  -webkit-backdrop-filter: blur(4px);
  display: none;
  /* Hidden by default */
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 16px;
  /* Add padding for small screens */
}

/* 2. Content Box */
#callPopup .popup-content {
  background: #fff;
  width: 90%;
  max-width: 380px;
  padding: 2.5rem 2rem;
  /* Increased padding */
  border-radius: var(--popup-radius);
  box-shadow: var(--popup-shadow);
  position: relative;
  text-align: center;
  /* Center-align all content */
  animation: popupAnimate 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* 3. Header: Icon, Title, Subtext */
#callPopup .popup-icon {
  font-size: 2.5rem;
  color: var(--popup-zalo-blue);
  /* Use a primary color */
  margin-bottom: 1rem;
}

#callPopup .popup-content h3 {
  font-size: 1.5rem;
  /* Larger title */
  font-weight: 700;
  color: var(--popup-text-dark);
  margin: 0 0 8px 0;
  /* Tighter margin */
}

#callPopup .popup-subtext {
  font-size: 0.95rem;
  color: var(--popup-text-light);
  margin-bottom: 2rem;
  /* Space before buttons */
}

/* 4. Button Group */
#callPopup .button-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  /* Replaces margin-bottom on buttons */
}

#callPopup button {
  display: flex;
  /* To align icon and text */
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 20px;
  /* Taller buttons */
  border-radius: 12px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  margin: 10px;
}

/* Add icons to buttons */
#callPopup button i {
  margin-right: 10px;
  font-size: 1.1rem;
}

#callPopup button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

/* Call button (Green for 'go') */
#callOption {
  background-color: var(--popup-call-green);
  color: white;
}

#callOption:hover {
  background-color: var(--tp-brand-primary-color);
}

/* Zalo button (Official Zalo Blue) */
#zaloOption {
  background-color: var(--popup-zalo-blue);
  color: white;
}

#zaloOption:hover {
  background-color: #0058d6;
}

/* 5. Close Icon Button */
#callPopup .popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--popup-text-light);
  background-color: var(--popup-bg-light);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

#callPopup .popup-close:hover {
  color: var(--popup-text-dark);
  background-color: var(--popup-border-light);
  transform: rotate(90deg);
}

/* 6. Animation */
@keyframes popupAnimate {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ========================================
   Header Search Modal Redesign
======================================== */

/* Search Area Container */
.tp-search-area {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100vh !important;
  background: #0a0a0a !important;
  backdrop-filter: none !important;
  z-index: 99999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(-20px) !important;
  animation: none !important;
  transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s ease !important;
}

.tp-search-area.opened {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

/* Close Button */
.tp-search-close {
  position: absolute;
  top: 30px;
  right: 30px;
  z-index: 10;
}

.tp-search-close-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  color: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 18px;
}

.tp-search-close-btn:hover {
  background: #f5f5f5;
  border-color: rgba(0, 0, 0, 0.25);
  transform: rotate(90deg);
}

/* Search Content */
.tp-search-content {
  animation: searchSlideUp 0.4s ease;
}

@keyframes searchSlideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tp-search-title {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: -0.5px;
}

/* Search Form */
.tp-search-form-wrapper {
  position: relative;
}

.tp-search-input-box {
  background: #fff;
  border-radius: 60px;
  overflow: visible;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border: 1.5px solid #e8e8e8;
  transition: all 0.3s ease;
}

.tp-search-input-box:focus-within {
  box-shadow: 0 8px 40px rgba(232, 99, 42, 0.15);
  border-color: #e8632a;
  transform: translateY(-2px);
}

.tp-search-input {
  width: 100%;
  height: 70px;
  padding: 0 80px 0 35px;
  border: none;
  font-size: 16px;
  font-weight: 400;
  color: #111;
  background: transparent;
  outline: none;
  font-family: var(--tp-ff-inter);
}

.tp-search-input::placeholder {
  color: #aaa;
  font-family: var(--tp-ff-inter);
  font-size: 15px;
}

.tp-search-submit-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #e8632a;
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tp-search-submit-btn:hover {
  background: #d0541e;
  transform: translateY(-50%) scale(1.06);
}

.tp-search-submit-btn svg {
  width: 20px;
  height: 20px;
}

/* Search Hints */
.tp-search-hint {
  text-align: center;
  margin-top: 30px;
}

.tp-search-hint p {
  color: rgba(0, 0, 0, 0.4);
  font-size: 14px;
  margin: 0;
}

.tp-search-keyword {
  display: inline-block;
  padding: 4px 12px;
  background: #f2f2f2;
  border-radius: 20px;
  color: #444;
  margin: 0 5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tp-search-keyword:hover {
  background: #e8632a;
  color: #fff;
  transform: translateY(-2px);
}

/* Autocomplete Dropdown Adjustments */
#header-autocomplete-dropdown {
  margin-top: 15px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .tp-search-close {
    top: 20px;
    right: 20px;
  }

  .tp-search-close-btn {
    width: 40px;
    height: 40px;
  }

  .tp-search-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .tp-search-input {
    height: 60px;
    font-size: 15px;
    padding: 0 70px 0 25px;
  }

  .tp-search-submit-btn {
    width: 48px;
    height: 48px;
  }

  .tp-search-hint {
    margin-top: 20px;
  }

  .tp-search-keyword {
    font-size: 13px;
    padding: 3px 10px;
  }
}

@media (max-width: 480px) {
  .tp-search-title {
    font-size: 20px;
  }

  .tp-search-input {
    height: 55px;
    font-size: 14px;
    padding: 0 65px 0 20px;
  }

  .tp-search-submit-btn {
    width: 44px;
    height: 44px;
  }
}

/* ========================================
   AUTOCOMPLETE SEARCH STYLES
   ======================================== */

.autocomplete-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  margin-top: 5px;
  max-height: 450px;
  overflow-y: auto;
}

.autocomplete-list {
  padding: 8px 0;
}

.autocomplete-item {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  cursor: pointer;
  transition: background 0.2s;
  border-bottom: 1px solid #f5f5f5;
  text-decoration: none;
}

.autocomplete-item:last-child {
  border-bottom: none;
}

.autocomplete-item:hover {
  background: #f8f9fa;
  text-decoration: none;
}

.autocomplete-item-image {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 15px;
  flex-shrink: 0;
}

.autocomplete-item-info {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.autocomplete-item-name {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.autocomplete-item-meta {
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: #666;
}

.autocomplete-item-sku {
  color: #888;
}

.autocomplete-item-brand {
  color: #0066cc;
  font-weight: 500;
}

.autocomplete-view-all {
  display: block;
  padding: 12px 15px;
  text-align: center;
  background: #f8f9fa;
  color: #0066cc;
  font-weight: 600;
  font-size: 14px;
  border-top: 1px solid #e0e0e0;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}

.autocomplete-view-all:hover {
  background: #e9ecef;
  text-decoration: none;
}

.autocomplete-no-results {
  padding: 20px;
  text-align: center;
  color: #999;
  font-size: 14px;
}

.autocomplete-loading {
  padding: 20px;
  text-align: center;
  color: #666;
}

/* Autocomplete Scrollbar styling */
.autocomplete-dropdown::-webkit-scrollbar {
  width: 8px;
}

.autocomplete-dropdown::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.autocomplete-dropdown::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

.autocomplete-dropdown::-webkit-scrollbar-thumb:hover {
  background: #999;
}

/* Autocomplete responsive */
@media (max-width: 575px) {
  .autocomplete-dropdown {
    font-size: 12px;
  }

  .autocomplete-item-image {
    width: 45px;
    height: 45px;
    margin-right: 12px;
  }

  .autocomplete-item-name {
    font-size: 13px;
  }
}