/* Module variables mapping to existing theme tokens */
:root {
  --White: #fff;
  --Text: #585858;
  --Text-2: #ffffffcc;
  --Text-4: #0d401c;
  --Primary: #0d401c;
  --Bg-8: #f5f5f5;
}

/* tf-container helpers copied from mod02 style */
.tf-container {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  padding-right: 15px;
  padding-left: 15px;
  width: 1320px;
  max-width: 100%;
}
.tf-container .row {
  margin-left: -15px !important;
  margin-right: -15px !important;
}
.tf-container .row > * {
  padding-left: 15px !important;
  padding-right: 15px !important;
}
.tf-container.full { width: 100%; }
.tf-container.w-1780 { width: 100%; max-width: 1810px; }
.tf-container.w-1290 { width: 100%; max-width: 1320px; }
.tf-container.w-1620 { width: 100%; max-width: 1650px; }

/* s-box-portfolio section basics */
.s-box-portfolio { position: relative; z-index: 4; margin-top: -344px; }

/* box-portfolio style variants used by modules */
.box-portfolio.style-4 { position: relative; }
.box-portfolio.style-4 .content {
  background-color: var(--White);
  border-radius: 20px;
  top: 398px; bottom: 20px; left: 20px; right: 23px;
  text-align: center; padding: 0 35px 10px; height: 81px;
}
.box-portfolio.style-4 .content .icon { margin-bottom: 22px; visibility: hidden; opacity: 0; transform: scale(0); transition: all 0.3s ease; }
.box-portfolio.style-4 .content .icon i { color: var(--Text-4); font-size: 61px; }
.box-portfolio.style-4 .content .title { color: var(--Text-2); margin-bottom: 23px; padding-bottom: 29px; display: flex; align-items: center; justify-content: center; margin-top: -55px; white-space: nowrap; }
.box-portfolio.style-4 .content .title::after { visibility: hidden; opacity: 0; transform: translateY(20px); transition: all 0.3s ease; left: unset; width: 64px; height: 3px; }
.box-portfolio.style-4 .content .text { color: var(--Text); margin-bottom: 32px; transform: translateY(15px); transition: all 0.3s ease; visibility: hidden; opacity: 0; }
.box-portfolio.style-4 .content .bot { justify-content: center; transition: all 0.3s ease; transform: translateY(15px); visibility: hidden; opacity: 0; }
.box-portfolio.style-4 .content .bot a { background-color: var(--Primary); color: var(--White); display: block; padding: 20px 35px; border-radius: 8px; letter-spacing: 0.5px; }
.box-portfolio.style-4 .content .bot a:hover { background-color: var(--Text-4); }
.box-portfolio.style-4:hover .content { padding: 59px 35px 10px; top: 20px; height: calc(100% - 40px); }
.box-portfolio.style-4:hover .content .title { margin-top: 0 !important; letter-spacing: 0.5px; }
.box-portfolio.style-4:hover .content .title::after { visibility: visible; opacity: 1; transform: translateY(0); }
.box-portfolio.style-4:hover .content .icon { visibility: visible; opacity: 1; transition-delay: 0.1s; transform: scale(1); margin-bottom: 35px; }
.box-portfolio.style-4:hover .content .text { transition-delay: 0.2s; transform: translateY(0); visibility: visible; opacity: 1; }
.box-portfolio.style-4:hover .content .bot { transition-delay: 0.3s; transform: translateY(0); visibility: visible; opacity: 1; }
.box-portfolio.style-4::after { background: linear-gradient(to top, rgba(13, 64, 28, 0.89), transparent); }

/* Ensure images fully cover the card container */
.box-portfolio.style-5 .image { height: 380px; overflow: hidden; border-radius: 20px; }
@media (min-width: 992px) { .box-portfolio.style-5 .image { height: 450px; } }
.box-portfolio.style-5 .image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.box-portfolio.style-5 .content { bottom: -90px; left: 42px; right: 46px; }
.box-portfolio.style-5 .content .bot { margin-top: 0; }
.box-portfolio.style-5 .content .title { margin-bottom: 48px; padding-bottom: 23px; }
.box-portfolio.style-5:hover .content { bottom: 43px; }
.box-portfolio.style-5:hover .content .sub { margin-bottom: 17px; }
.box-portfolio.style-5:hover .content .title { margin-bottom: 28px; padding-bottom: 23px; }
.box-portfolio.style-5:hover .content .bot { margin-top: 0; }

.box-portfolio-style-2 { display: flex; border-radius: 20px; overflow: hidden; height: 100%; }
.box-portfolio-style-2 .image { width: 100%; }
.box-portfolio-style-2 .content { max-width: 481px; width: 100%; }

/* s-project section and slider pagination */
.s-project { position: relative; z-index: 0; }
.s-project .heading-side { background-color: var(--Primary); padding: 115px 0 450px; }
.s-project .heading-side .s-img-item.item-2 { position: absolute; right: 0; bottom: 0; }
.s-project .heading-side .s-img-item.item-3 { position: absolute; bottom: -30px; width: 100%; }
.s-project .heading-side .s-img-item.item-3 img { height: 60px; width: 100%; }
.s-project .slider-side { background-color: var(--Bg-8); padding-bottom: 100px; }
.s-project .slider-side .slider-s-project { margin-top: -400px; }
.s-project .slider-side .bot { margin-top: 50px; display: flex; align-items: center; justify-content: space-between; }
.s-project .s-img-item.item-4 { width: 100%; position: absolute; bottom: -30px; left: 0; }
.s-project .s-img-item.item-4 img { height: 60px; width: 100%; }

.swiper-pagination.style-1 { position: relative; display: flex; align-items: center; }
.swiper-pagination.style-1 .swiper-pagination-bullet {
  width: 8px; height: 8px; background: var(--Primary); opacity: 1; position: relative; display: flex; align-items: center; justify-content: center;
}
.swiper-pagination.style-1 .swiper-pagination-bullet:not(:last-child) { margin-right: 24px; }
.swiper-pagination.style-1 .swiper-pagination-bullet::after { content: ""; position: absolute; width: 15px; height: 15px; }
.swiper-pagination.style-1 .swiper-pagination-bullet.swiper-pagination-bullet-active { width: 15px; height: 15px; background-color: var(--Text-4); }

/* mod03 product section styles copied from style03 */
.section-xxl { padding: 50px 0; }
@media (min-width: 768px) { .section-xxl { padding: 90px 0; } }
@media (min-width: 992px) { .section-xxl { padding: 100px 0; } }

.product { position: relative; text-align: center; padding: 20px 15px 30px; max-width: 300px; margin-left: auto; margin-right: auto; z-index: 1; }
.product::before { position: absolute; content: ""; top: 0; right: 0; bottom: 0; left: 0; background: #f5f5f5; border-radius: 6px; pointer-events: none; z-index: -1; }
.product-figure { display: flex; align-items: flex-end; justify-content: center; min-height: 180px; }
.product-title { font-weight: 500; letter-spacing: 0; text-transform: uppercase; }
.product-price { display: inline-block; vertical-align: middle; font-size: 15px; line-height: 1; font-weight: 700; letter-spacing: 0; color: #76aa6f; }
.product-price-old { font-weight: 400; text-decoration: line-through; color: rgba(21, 21, 21, 0.5); }
.product-price-old + .product-price { margin-left: 8px; }
.product-badge { display: inline-block; position: absolute; text-align: center; top: 25px; right: 15px; padding: 5px 12px; font-size: 14px; line-height: 1; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; border-radius: 6px; color: #ffffff; z-index: 1; }
.product-badge-new { background: #93a6ab; }
.product-badge-sale { background: #f96666; }
.product-button-wrap { display: flex; align-items: center; justify-content: center; }
.product-button .button { text-align: center; padding: 0; width: 50px; height: 50px; font-size: 20px; line-height: 46px; border-radius: 50%; }
.product-button + .product-button { margin-left: 20px; }
* + .product-title { margin-top: 20px; }
* + .product-price-wrap { margin-top: 0; }
* + .product-button-wrap { margin-top: 15px; }
@media (min-width: 992px) { .product-figure { min-height: 200px; } }
@media (min-width: 992px) {
  .desktop .product { padding-bottom: 40px; }
  .desktop .product::before { display: none; }
  .desktop .product-badge, .desktop .product-body { transition: all .2s ease; }
  .desktop .product-button-wrap { align-items: flex-end; position: absolute; content: ""; top: 0; right: 0; bottom: 0; left: 0; padding: 20px 20px 40px; background: #f5f5f5; border-radius: 6px; transition: all .2s ease; z-index: -1; }
  .desktop .product-button { opacity: 0; transform: scale(0); transition: all .15s ease; will-change: transform; }
  .desktop .product:hover { z-index: 2; }
  .desktop .product:hover .product-badge, .desktop .product:hover .product-body { transform: translate3d(0, -18px, 0); }
  .desktop .product:hover .product-button-wrap { top: -18px; bottom: -60px; background: #ffffff; box-shadow: 0 1px 18px 0 rgba(0, 0, 0, 0.09); }
  .desktop .product:hover .product-button { opacity: 1; transform: none; transition-duration: .3s; }
  .desktop .product:hover .product-button:nth-child(1) { transition-delay: .1s; }
  .desktop .product:hover .product-button:nth-child(2) { transition-delay: .25s; }
  .desktop * + .product-button-wrap { margin-top: 0; }
}
@media (min-width: 768px) { .radio-panel .radio-custom, .radio-panel .radio-custom-dummy { top: 4px; } .radio-panel .radio-inline { font-size: 18px; } }

/* s-faq styles from mod02 */
.s-faq { padding-top: 87px; padding-bottom: 86px; }
.s-faq .content-section { padding-top: 20px; max-width: 722px; width: 100%; margin-right: auto; }
.s-faq .s-right { max-width: 500px; width: 100%; margin-left: auto; }
.s-faq .s-right .image-wrap { position: relative; z-index: 0; }
.s-faq .s-right .image-wrap .image { border-radius: 20px 20px 0 0; overflow: hidden; }
.s-faq .s-right .img-item { position: absolute; right: -20px; top: 30%; z-index: 1; }
.s-faq .s-right .content { border-radius: 0 0 20px 20px; background-color: var(--Text-4); padding: 40px 50px 50px 46px; }
.s-faq .s-right .content .text { color: var(--White); line-height: 40px; margin-bottom: 38px; }
@media (min-width: 1200px) { .s-faq { padding-bottom: 150px; } .s-faq .content-section { max-width: unset; padding-top: 0; margin-right: unset; padding-bottom: 30px; } .s-faq .s-right { margin-left: unset; max-width: unset; } .s-faq .s-right .image img { height: 400px; object-fit: cover; } }