: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;


  /* 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);
    }
}