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

/*************** ADD CUSTOM CSS HERE.   ***************/
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
/* Shortcode [imta_quick_services] */
.imta-quick-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  margin: 0;
  background: white;
    padding: 22px;
    border-radius: 22px;
    box-shadow: 0 20px 60px rgba(27, 63, 47, .12);
}

.imta-quick-item {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(64, 113, 34, .16);
  border-radius: 16px;
  color: #183e2f;
  display: flex;
  flex-direction: column;
  gap: 9px;
  justify-content: center;
  min-height: 132px;
  padding: 18px 10px;
  text-align: center;
  text-decoration: none;
  transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease, color .25s ease, transform .25s ease;
}

.imta-quick-icon {
  align-items: center;
  background: #f3f8ef;
  border-radius: 50%;
  color: #407122;
  display: inline-flex;
  font-size: 28px;
  height: 48px;
  justify-content: center;
  line-height: 1;
  transition: background-color .25s ease, color .25s ease, transform .25s ease;
  width: 48px;
}

.imta-quick-label {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.imta-quick-item:hover,
.imta-quick-item:focus-visible {
  background: #407122;
  border-color: #407122;
  box-shadow: 0 12px 24px rgba(64, 113, 34, .22);
  color: #fff;
  transform: translateY(-4px);
}

.imta-quick-item:hover .imta-quick-icon,
.imta-quick-item:focus-visible .imta-quick-icon {
  background: rgba(255, 255, 255, .18);
  color: #fff;
  transform: scale(1.06);
}

@media only screen and (max-width: 849px) {
  .imta-quick-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media only screen and (max-width: 549px) {
  .imta-quick-grid {
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .imta-quick-item {
    min-height: 116px;
  }
}

:root {
  --susy-green: #315c48;
  --susy-green-dark: #183e2f;
  --susy-green-deep: #0a2b1f;
  --susy-gold: #e8c78c;
  --susy-mint: #d9e7df;
  --susy-white: #fff;
  --susy-white-14: rgba(255, 255, 255, .14);
  --susy-white-50: rgba(255, 255, 255, .5);
  --susy-white-52: rgba(255, 255, 255, .52);
  --susy-white-76: rgba(255, 255, 255, .76);
  --susy-white-82: rgba(255, 255, 255, .82);
  --susy-hero-overlay-strong: rgba(6, 33, 23, .48);
  --susy-hero-overlay: rgba(10, 43, 31, .32);
  --susy-hero-overlay-light: rgba(10, 43, 31, .08);
  --susy-hero-overlay-end: rgba(10, 43, 31, .04);
  --susy-hero-bottom-overlay: rgba(10, 37, 27, .14);
  --susy-hero-light-start: rgba(255, 255, 235, .32);
  --susy-hero-light-middle: rgba(255, 255, 235, .13);
  --susy-header-shadow: rgba(12, 46, 33, .10);
}

/* Trang chủ: header phủ trên hero theo thiết kế Susy America. */
.home .header {
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 30;
}
.header-main {
  border-bottom: 1px solid var(--susy-white-14);
  color: var(--susy-white);
}

.header-wrapper,
.header-main,
.header-bg-container,
.header-bg-color {
  background: transparent;
}

.home .header-main {
  background: rgba(10, 43, 31, .16);
  -webkit-backdrop-filter: blur(14px) saturate(125%);
  backdrop-filter: blur(14px) saturate(125%);
}
.header-main{
  background: white;
}

.home .header-main .nav > li > a,
.home .header-main .nav > li > a > i,
.home .header-main .logo a {
  color: var(--susy-white) !important;
}

.header-main .nav > li > a:hover,
.header-main .nav > li.active > a {
  color: #61c922;
}

.nav-cta {
  align-items: center !important;
  animation: susy-cta-gradient 5.5s ease-in-out infinite;
  background: linear-gradient(110deg, #315c48 0%, #407122 35%, #5b8a39 52%, #407122 70%, #315c48 100%);
  background-size: 260% 100%;
  border: 1px solid #407122;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(64, 113, 34, .28);
  color: var(--susy-white) !important;
  display: inline-flex;
  font-weight: 700 !important;
  justify-content: center;
  min-height: 44px !important;
  overflow: hidden;
  padding: 10px 24px !important;
  position: relative;
  transition: background-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.nav-cta::before {
  animation: susy-cta-shimmer 4.6s cubic-bezier(.22, .61, .36, 1) infinite;
  background: linear-gradient(105deg, transparent 34%, rgba(255, 255, 255, .08) 43%, rgba(255, 255, 255, .38) 50%, rgba(255, 255, 255, .08) 57%, transparent 66%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  transform: translateX(-130%);
}

.nav-cta:hover {
  box-shadow: 0 12px 28px rgba(64, 113, 34, .48);
  color: var(--susy-white);
  transform: translateY(-2px);
}

@keyframes susy-cta-gradient {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes susy-cta-shimmer {
  0%,
  58% {
    transform: translateX(-130%);
  }
  78%,
  100% {
    transform: translateX(130%);
  }
}
.header-main .nav > li > a:hover, .header-main .nav > li.active > a{
  color: #61c922 !important;
}
@media only screen and (min-width: 850px) {
  .header-main .header-inner {
    gap: clamp(18px, 2vw, 10px);
    position: relative;
  }

  .header-main .header-inner > .flex-col.hide-for-medium.flex-left {
    flex: 1 1 auto;
    left: auto;
    margin: 0;
    min-width: 0;
    position: static;
    top: auto;
    transform: none;
  }

  .header-main .header-nav-main.nav-left {
    align-items: center;
    justify-content: space-around;
  }

  .header-main .header-nav-main.nav-left > li {
    margin: 0;
  }

  .header-main .header-inner > .flex-col.hide-for-medium.flex-right {
    flex: 0 0 auto;
    margin-left: auto;
    margin-right: 0;
  }
}

.header-main .logo img {
  width: 80px;
    height: 80px;
    padding: 4px;
    display: block;
    object-fit: contain;
    background: rgba(255, 255, 255, .86);
    border-radius: 50%;
}

/* GTranslate is an HTML menu item: reserve its space so it cannot overlap the CTA. */
@media only screen and (min-width: 850px) {
  .header-main .header-nav-main.nav-right {
    align-items: center;
    gap: 16px;
  }

  .header-main .header-nav-main.nav-right > li.html_nav_position_text_top {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    margin: 0 !important;
  }

  .header-main .gtranslate_wrapper {
    flex: 0 0 174px;
    line-height: 1;
    min-width: 174px;
    position: relative;
    z-index: 50;
  }

  .header-main .gt_switcher .gt_selected > a {
    align-items: center;
    display: flex !important;
    min-height: 32px;
    white-space: nowrap;
    gap:10px; 
  }

  .header-main .gt_switcher .gt_option {
    left: 0 !important;
    min-width: 100%;
    right: auto !important;
    top: 100% !important;
    z-index: 60;
  }
}

@media only screen and (min-width: 850px) and (max-width: 1100px) {
  .header-main .header-nav-main.nav-left {
    gap: 18px;
  }

  .header-main .header-nav-main.nav-left > li > a {
    font-size: 11px;
  }

  .header-main .nav-cta {
    font-size: 11px;
    min-height: 38px !important;
    padding: 8px 14px !important;
  }

  .header-main .gtranslate_wrapper {
    flex-basis: 140px;
    min-width: 140px;
  }

  .header-main .gt_switcher .gt_selected > a {
    font-size: 12px;
  }
}


/* Header sticky cần nền sáng để vẫn dễ đọc khi rời khỏi hero. */
.header.stuck .header-main,
.header-wrapper.stuck .header-main {
  background: var(--susy-white);
  box-shadow: 0 7px 20px var(--susy-header-shadow);
}

.home .header.stuck .header-main .nav > li > a,
.home .header.stuck .header-main .nav > li > a > i,
.home .header-wrapper.stuck .header-main .nav > li > a,
.home .header-wrapper.stuck .header-main .nav > li > a > i {
  color: #333 !important;
}

/* Phân cấp màu menu header: mặc định, trang chủ và sticky header. */
.header-main .nav > li > a:not(.nav-cta),
.header-main .nav > li > a:not(.nav-cta) > i {
  color: #333 !important;
}

.home .header-main .nav > li > a:not(.nav-cta),
.home .header-main .nav > li > a:not(.nav-cta) > i {
  color: #fff !important;
}

.header.stuck .header-main .nav > li > a:not(.nav-cta),
.header.stuck .header-main .nav > li > a:not(.nav-cta) > i,
.header-wrapper.stuck .header-main .nav > li > a:not(.nav-cta),
.header-wrapper.stuck .header-main .nav > li > a:not(.nav-cta) > i {
  color: #333 !important;
}

.header-main .nav > li.active > a:not(.nav-cta),
.header-main .nav > li.current-menu-item > a:not(.nav-cta),
.header-main .nav > li.current_page_item > a:not(.nav-cta),
.header-main .nav > li.active > a:not(.nav-cta) > i,
.header-main .nav > li.current-menu-item > a:not(.nav-cta) > i,
.header-main .nav > li.current_page_item > a:not(.nav-cta) > i {
  color: #61c922 !important;
}

.header.stuck .header-main .nav > li.active > a:not(.nav-cta),
.header.stuck .header-main .nav > li.current-menu-item > a:not(.nav-cta),
.header.stuck .header-main .nav > li.current_page_item > a:not(.nav-cta),
.header.stuck .header-main .nav > li.active > a:not(.nav-cta) > i,
.header.stuck .header-main .nav > li.current-menu-item > a:not(.nav-cta) > i,
.header.stuck .header-main .nav > li.current_page_item > a:not(.nav-cta) > i,
.header-wrapper.stuck .header-main .nav > li.active > a:not(.nav-cta),
.header-wrapper.stuck .header-main .nav > li.current-menu-item > a:not(.nav-cta),
.header-wrapper.stuck .header-main .nav > li.current_page_item > a:not(.nav-cta),
.header-wrapper.stuck .header-main .nav > li.active > a:not(.nav-cta) > i,
.header-wrapper.stuck .header-main .nav > li.current-menu-item > a:not(.nav-cta) > i,
.header-wrapper.stuck .header-main .nav > li.current_page_item > a:not(.nav-cta) > i {
  color: #61c922 !important;
}

.home .header.stuck .header-main .nav > li > .nav-cta,
.home .header-wrapper.stuck .header-main .nav > li > .nav-cta {
  color: #fff !important;
}

.header-main .nav > li > .nav-cta {
  color: #fff !important;
}

.home .header.stuck .header-main .nav > li.active > a,
.home .header.stuck .header-main .nav > li.current-menu-item > a,
.home .header.stuck .header-main .nav > li.current_page_item > a,
.home .header-wrapper.stuck .header-main .nav > li.active > a,
.home .header-wrapper.stuck .header-main .nav > li.current-menu-item > a,
.home .header-wrapper.stuck .header-main .nav > li.current_page_item > a {
  color: #61c922 !important;
}

.header.stuck .header-main .header-logo,
.header-wrapper.stuck .header-main .header-logo {
  display: block !important;
}

.header.stuck .header-main .header-logo-dark,
.header-wrapper.stuck .header-main .header-logo-dark {
  display: none !important;
}

/* Hero chỉ dùng class để tương thích với UX Builder. */
.home .section.hero {
  align-items: center;
  color: var(--susy-white);
  display: flex;
  height: 100vh;
  min-height: 790px;
  overflow: hidden;
  padding: 150px 0 100px;
  position: relative;
}

.home .section.hero .section-bg {
  background: var(--susy-green-deep);
}

.home .section.hero .section-bg::after {
  background:
    linear-gradient(90deg, var(--susy-hero-overlay-strong) 0%, var(--susy-hero-overlay) 42%, var(--susy-hero-overlay-light) 75%, var(--susy-hero-overlay-end) 100%),
    linear-gradient(0deg, var(--susy-hero-bottom-overlay), transparent 34%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.home .section.hero::before {
  background: linear-gradient(180deg, var(--susy-hero-light-start) 0%, var(--susy-hero-light-middle) 42%, transparent 82%);
  content: "";
  filter: blur(45px);
  height: 140%;
  opacity: .72;
  pointer-events: none;
  position: absolute;
  right: 5%;
  top: -25%;
  transform: rotate(13deg);
  width: 420px;
  z-index: 2;
}

.home .section.hero .section-content {
  position: relative;
  z-index: 3;
}



.home .section.hero .hero-label {
  align-items: center;
  color: var(--susy-white-82);
  display: flex;
  font-size: 11px;
  gap: 12px;
  letter-spacing: 4px;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.home .section.hero .hero-label::before {
  background: var(--susy-gold);
  content: "";
  height: 1px;
  width: 35px;
}

.home .section.hero h1 {
  color: var(--susy-white);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(52px, 7vw, 89px);
  letter-spacing: -2px;
  line-height: 1.12;
  margin-bottom: 0;
}

.home .section.hero h1 em {
  color: var(--susy-mint);
  font-weight: 400;
}

.home .section.hero h1 + p {
  color: var(--susy-white-76);
  font-size: 16px;
  margin: 25px 0 34px;
  max-width: 530px;
}

.home .section.hero .stack {
  gap: 14px;
}

.home .section.hero .stack .text > p {
  margin-bottom: 0;
}

.home .section.hero .btn {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 600;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  transition: .3s;
}

.home .section.hero .btn-primary {
  background: var(--susy-green);
  color: var(--susy-white);
}

.home .section.hero .btn-primary:hover {
  background: var(--susy-green-dark);
  color: var(--susy-white);
  transform: translateY(-2px);
}

.home .section.hero .btn-light {
  border-color: var(--susy-white-50);
  color: var(--susy-white);
}

.home .section.hero .btn-light:hover {
  background: var(--susy-white);
  color: var(--susy-green-dark);
}


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/

  .header-main .header-inner {
    min-height: 72px;
  }

  .header-main .logo img {
    max-height: 55px;
  }

  .home .section.hero {
    height: auto;
    min-height: 790px;
    padding: 140px 0 90px;
  }

  .home .section.hero::before {
    right: -180px;
  }

  .home .section.hero h1 {
    font-size: clamp(46px, 14vw, 64px);
  }

  .home .section.hero .hero-label {
    letter-spacing: 2.5px;
  }

  .home .section.hero .stack {
    align-items: flex-start;
    flex-direction: column;
  }

}
.header-top{
      background: linear-gradient(110deg, #315c48 0%, #407122 35%, #5b8a39 52%, #407122 70%, #315c48 100%);
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #7f9d8d;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 12px;
    font-weight: 600;
}
h2 {
    color: var(--green-dark) !important;
    font-size: clamp(38px, 5vw, 50px);
    margin-bottom: 18px;
    font-weight: 500 !important;
}
.eyebrow::before {
    content: "";
    width: 26px;
    height: 1px;
    background: var(--gold);
}
.button-custom {
    position: relative;
    overflow: hidden;
    border: none !important;

    background: linear-gradient(
        120deg,
        #315c48,
        #407122,
        #5b8a39,
        #315c48
    ) !important;

    background-size: 260% 100% !important;
    animation: greenGradient 5.5s ease-in-out infinite;

    color: #fff !important;
    font-weight: 600;
    font-size: 13px;
    line-height: 1.3;
    min-height: 0;
    padding: 10px 20px;

    box-shadow: 0 6px 16px rgba(49, 92, 72, .24);
    transition: all .3s ease;
}

/* Vệt sáng chạy qua nút */
.button-custom::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -70%;
    width: 40%;
    height: 200%;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.65),
        transparent
    );

    transform: rotate(20deg);
    animation: buttonShine 2.8s infinite;
}

.button-custom span {
    position: relative;
    z-index: 2;
}

.button-custom:hover {
    transform: translateY(-2px);
    box-shadow:
        0 10px 22px rgba(49, 92, 72, .3),
        0 0 16px rgba(91, 138, 57, .18);
}

@keyframes greenGradient {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes buttonShine {
    0%   { left: -70%; }
    45%, 100% { left: 140%; }
}
.about-images {
    min-height: 600px;
    position: relative;
}

.about-images .about-image-main {
    width: 75% !important;
    height: 535px;
    margin: 0;
    border-radius: 180px 180px 18px 18px;
    overflow: hidden;
}

.about-images .about-image-main .img-inner,
.about-images .about-image-small .img-inner {
    height: 100%;
}

.about-images .about-image-main img,
.about-images .about-image-small img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-images .about-image-small {
    width: 45% !important;
    height: 300px;
    box-sizing: border-box;
    margin: 0;
    position: absolute;
    right: 0;
    bottom: -60px;
    border: 8px solid white;
    border-radius: 110px 110px 16px 16px;
    overflow: hidden;
    z-index: 1;
}

@media only screen and (max-width: 849px) {
    .about-images {
        min-height: 470px;
    }

    .about-images .about-image-main {
        height: 420px;
    }

    .about-images .about-image-small {
        height: 230px;
    }
}
.about-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
        margin: 11px 0 20px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    padding: 14px 16px;
    background: #f6faf5;
    border: 1px solid #dbe8dc;
    border-radius: 12px;
    color: #315c48;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    box-shadow: 0 6px 16px rgba(49, 92, 72, .06);
    transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}

.about-feature:hover {
    background: #eef6eb;
    box-shadow: 0 10px 22px rgba(49, 92, 72, .12);
    transform: translateY(-3px);
}

@media only screen and (max-width: 549px) {
    .about-features {
        grid-template-columns: 1fr;
    }
}

.section-head.center .eyebrow::after {
    content: "";
    width: 26px;
    height: 1px;
    background: var(--gold);
}
.service-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    transition: .35s;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(29, 59, 45, .1);
}
.service-card a{
  color: #407122;
}
.service-card .box-text{
  padding: 20px;
}

/* Shortcode [imta_experience_list] */
.imta-experience-list {
  margin: 30px 0;
}

.imta-experience-item {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #dedfd7;
}

.imta-experience-number {
  flex: 0 0 auto;
  color: #c6a56d;
  font-family: "Playfair Display", serif;
  font-size: 20px;
  line-height: 1.35;
}

.imta-experience-details h3 {
  margin: 0 0 4px;
  color: #234236;
  font-size: 20px;
  line-height: 1.35;
}

.imta-experience-details p {
  margin: 0;
  color: #75877f;
  font-size: 13px;
  line-height: 1.6;
}

@media only screen and (max-width: 549px) {
  .imta-experience-item {
    gap: 15px;
    padding: 18px 0;
  }

  .imta-experience-details h3 {
    font-size: 18px;
  }
}
.why-item {
    padding: 27px;
    background: white;
    border-radius: 17px;
    height: 250px;
}
.heading-care{
      font-size: 20px;
      font-family: "Playfair Display", serif;
      margin-bottom: 10px;
}
.testimonials .section-head h2 {
    color: white !important;
}
@media only screen and (max-width: 549px) {
  .why-item {
    height: 100%;
}
}
.testimonial-box{
      padding: 35px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 18px;
}
.testimonial-box .testimonial-meta{
  color:#fff;
}
.testimonial-box p{
  margin-bottom: 0px;
}
.hero h1 {
    font-size: clamp(40px, 7.4vw, 92px);
    letter-spacing: -2px;
    font-weight: 500;
}

.hero h1 em {
    color: #dfeac8;
    font-weight: 500;
}
.btn.btn-light{
    position: relative;
    overflow: hidden;

    color: #fff;
    font-weight: 600;
    letter-spacing: .3px;

    border: 1px solid rgba(255,255,255,.45);
    border-radius: 999px;

    background:
        linear-gradient(
            110deg,
            rgba(255,255,255,.08),
            rgba(174,209,135,.28),
            rgba(255,255,255,.12)
        );

    background-size: 220% 100%;
    backdrop-filter: blur(8px);

    box-shadow:
        0 8px 30px rgba(8,45,30,.22),
        inset 0 1px 0 rgba(255,255,255,.18);

    animation: serviceBtnFlow 4s ease-in-out infinite;
    transition: all .35s ease;
}

.btn.btn-light::before{
    content: "";
    position: absolute;
    top: -50%;
    left: -70%;
    width: 45%;
    height: 200%;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.5),
        transparent
    );

    transform: rotate(20deg);
    transition: .6s;
}

.btn.btn-light:hover{
    color: #173b2c;
    background: #fff;

    transform: translateY(-3px);

    box-shadow:
        0 15px 40px rgba(8,45,30,.28),
        0 0 25px rgba(205,232,177,.25);
}

.btn.btn-light:hover::before{
    left: 130%;
}

@keyframes serviceBtnFlow{
    0%,100%{
        background-position: 0% 50%;
    }

    50%{
        background-position: 100% 50%;
    }
}
