/* =====================================================================
   Ferric Trade – enhancement layer (animations, brand colours, fixes)
   Loaded after style.css on every page. Layout is NOT changed here.
   Brand colours taken from the logo:
     --ft-dark  #4b4f58  (logo charcoal)
     --ft-grey  #9da1a2  (logo light grey)
   ===================================================================== */
:root {
  --ft-dark: #4b4f58;
  --ft-darker: #33363d;
  --ft-grey: #9da1a2;
  --ft-light: #f3f4f5;
  --ft-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 1. No sideways scrolling at laptop widths ----------------- */
html, body { overflow-x: hidden; }
@supports (overflow: clip) {
  html, body { overflow-x: clip; }   /* clip keeps the sticky header working */
}
/* The menu + brochure button were ~90px wider than the header container,
   which pushed the page sideways on 1366px laptops. Tighten link spacing
   so everything fits inside the container (same look, less gap). */
.menu-style-three .navigation-menu > ul > li { padding-left: 11px; padding-right: 11px; }
.header .navigation-menu > ul > li > a { font-size: 15px; }
.header-search-form-two { padding-left: 14px; }

/* ---------- 2. Dropdown menus in logo colours --------------------------- */
.submenu {
  border-bottom: 3px solid var(--ft-dark);
  border-top: 1px solid #eceef0;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 18px 40px rgba(51, 54, 61, 0.12);
  padding: 12px 0;
}
.submenu > li > a {
  color: var(--ft-dark);
  font-weight: 500;
  padding: 8px 28px;
  position: relative;
  transition: color .25s ease, background-color .25s ease, padding-left .3s var(--ft-ease);
}
.submenu > li > a::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 3px; height: 0;
  background: var(--ft-grey);
  transform: translateY(-50%);
  transition: height .3s var(--ft-ease);
}
.submenu > li > a:hover,
.submenu > li.active > a {
  color: var(--ft-darker);
  background-color: var(--ft-light);
  padding-left: 34px;
}
.submenu > li > a:hover::before,
.submenu > li.active > a::before { height: 60%; }
.submenu > li > a > span:after { background-color: var(--ft-dark); }

/* items slide in one after another when the menu opens */
.has-children > .submenu > li {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s ease, transform .35s var(--ft-ease);
}
.has-children:hover > .submenu > li { opacity: 1; transform: none; }
.has-children:hover > .submenu > li:nth-child(1)  { transition-delay: .18s; }
.has-children:hover > .submenu > li:nth-child(2)  { transition-delay: .21s; }
.has-children:hover > .submenu > li:nth-child(3)  { transition-delay: .24s; }
.has-children:hover > .submenu > li:nth-child(4)  { transition-delay: .27s; }
.has-children:hover > .submenu > li:nth-child(5)  { transition-delay: .30s; }
.has-children:hover > .submenu > li:nth-child(6)  { transition-delay: .33s; }
.has-children:hover > .submenu > li:nth-child(7)  { transition-delay: .36s; }
.has-children:hover > .submenu > li:nth-child(8)  { transition-delay: .39s; }
.has-children:hover > .submenu > li:nth-child(9)  { transition-delay: .42s; }
.has-children:hover > .submenu > li:nth-child(10) { transition-delay: .45s; }

/* main menu: underline grows on hover */
.navigation-menu > ul > li > a > span { position: relative; }
.navigation-menu > ul > li > a > span::before {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 2px;
  background: var(--ft-dark);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ft-ease);
}
.navigation-menu > ul > li:hover > a > span::before {
  transform: scaleX(1);
  transform-origin: left;
}
.header-sticky.is-sticky { box-shadow: 0 8px 24px rgba(51, 54, 61, .08); }

/* ---------- 3. Scroll reveal animations (added by ft-enhance.js) ------- */
.ft-js .ft-reveal {
  opacity: 0;
  transform: translate3d(0, 46px, 0);
  transition: opacity .9s var(--ft-ease), transform .9s var(--ft-ease);
  transition-delay: var(--ft-delay, 0s);
  will-change: opacity, transform;
}
.ft-js .ft-reveal.ft-left  { transform: translate3d(-50px, 0, 0); }
.ft-js .ft-reveal.ft-right { transform: translate3d(50px, 0, 0); }
.ft-js .ft-reveal.ft-zoom  { transform: scale(.92); }
.ft-js .ft-reveal.ft-in {
  opacity: 1;
  transform: none;
}

/* images inside revealed blocks get a soft un-blur / zoom-out */
.ft-js .ft-reveal img { transition: transform 1.2s var(--ft-ease), filter 1.2s ease; }
.ft-js .ft-reveal:not(.ft-in) img { transform: scale(1.06); filter: blur(3px); }

/* ---------- 4. Heading text animation (word-by-word mask reveal) ------- */
.ft-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: .08em;
  margin-bottom: -.08em;
}
.ft-word > .ft-wi {
  display: inline-block;
  transform: translate3d(0, 105%, 0);
  opacity: 0;
  transition: transform .85s var(--ft-ease), opacity .6s ease;
  transition-delay: calc(var(--i, 0) * 55ms + var(--ft-delay, 0s));
}
.ft-split.ft-in .ft-word > .ft-wi { transform: none; opacity: 1; }

/* small accent line under section headings once they appear */
.section-title-wrap .heading,
.conact-us-wrap-one .heading { position: relative; }

/* ---------- 5. Buttons: lift + light sweep ----------------------------- */
.ht-btn, .btn, .ft-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform .35s var(--ft-ease), box-shadow .35s ease, background-color .3s ease, color .3s ease !important;
}
.ht-btn::after, .btn::after, .ft-btn::after {
  content: "";
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-20deg);
  z-index: -1;
  pointer-events: none;
}
.ht-btn:hover, .btn:hover, .ft-btn:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 24px rgba(51, 54, 61, .25);
}
.ht-btn:hover, .ft-btn:hover { background-color: var(--ft-darker); color: #fff; }
.ht-btn:hover::after, .btn:hover::after, .ft-btn:hover::after { animation: ft-shine .8s ease forwards; }
.ht-btn:active, .btn:active, .ft-btn:active { transform: translateY(-1px) scale(.98) !important; }
@keyframes ft-shine { to { left: 130%; } }

/* text links with arrows */
.btn-text { transition: letter-spacing .3s ease, color .3s ease; }
.btn-text:hover { color: var(--ft-darker); }
.btn-text i, .btn-text .fa, .btn-text .fas, .btn-text .far { transition: transform .3s var(--ft-ease); }
.btn-text:hover i, .btn-text:hover .fa, .btn-text:hover .fas, .btn-text:hover .far { transform: translateX(5px); }

/* circle arrow buttons on cards */
.circle-arrow a, .circle-arrow .arrow, .circle-arrow { transition: transform .4s var(--ft-ease), background-color .3s ease; }
.ht-box-images:hover .circle-arrow,
.ht-box-icon:hover .circle-arrow { transform: rotate(-45deg) scale(1.08); }

/* cards: gentle lift on hover */
.ht-box-images .image-box-wrap,
.ht-box-icon .icon-box-wrap {
  transition: transform .45s var(--ft-ease), box-shadow .45s ease;
}
.ht-box-images:hover .image-box-wrap,
.ht-box-icon:hover .icon-box-wrap {
  transform: translateY(-8px);
  box-shadow: 0 22px 45px rgba(51, 54, 61, .12);
}
.ht-box-images .image-box-wrap img,
.ht-box-icon .icon-box-wrap img { transition: transform .6s var(--ft-ease); }
.ht-box-images:hover .image-box-wrap img,
.ht-box-icon:hover .icon-box-wrap img { transform: scale(1.06); }

/* footer links & social icons */
.footer-widget__list a, .hover-style-link { transition: color .3s ease, padding-left .3s var(--ft-ease); }
.footer-widget__list li a:hover { padding-left: 6px; color: var(--ft-darker); }
.ht-social-networks .item a { transition: transform .35s var(--ft-ease), background-color .3s ease, color .3s ease; }
.ht-social-networks .item a:hover { transform: translateY(-4px); }
#whatsappChats { animation: ft-pulse 2.6s ease-in-out infinite; }
@keyframes ft-pulse { 0%, 100% { transform: translateX(50%) scale(1); } 50% { transform: translateX(50%) scale(1.07); } }

/* ---------- 6. Contact / enquiry form ---------------------------------- */
.ft-enquiry .contact-inner input,
.ft-enquiry .contact-inner select,
.ft-enquiry .contact-inner textarea {
  transition: background-color .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.ft-enquiry .contact-inner select {
  width: 100%;
  height: 56px;
  padding: 3px 44px 3px 20px;
  font-size: 15px;
  color: #000;
  background: #f8f8f8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%234b4f58' stroke-width='1.8' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 20px center;
  border: 1px solid #eee;
  border-color: transparent;
  border-radius: 5px;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
}
.ft-enquiry .contact-inner select:invalid { color: #8a8d93; }
.ft-enquiry .contact-inner select option { color: #000; }
.ft-enquiry .contact-inner input:focus,
.ft-enquiry .contact-inner select:focus,
.ft-enquiry .contact-inner textarea:focus {
  background-color: #fff;
  border-color: var(--ft-grey);
  box-shadow: 0 0 0 3px rgba(157, 161, 162, .25);
}
.ft-enquiry .contact-inner.ft-invalid input,
.ft-enquiry .contact-inner.ft-invalid select,
.ft-enquiry .contact-inner.ft-invalid textarea { border-color: #c0392b; }
.ft-enquiry .ft-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ft-enquiry .ft-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.ft-enquiry .ft-actions .ht-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: auto; min-width: 240px; padding: 0 30px; white-space: nowrap; line-height: 1; }
.ft-enquiry .ft-actions .ht-btn i { font-size: 20px; }
.ht-btn.ft-wa-btn { background: #25d366; }
.ht-btn.ft-wa-btn:hover { background: #1ebe5b; color: #fff; }
.ft-form-status { width: 100%; margin: 6px 0 0; font-size: 14px; min-height: 1.4em; }
.ft-form-status.ok { color: #2e7d32; }
.ft-form-status.err { color: #c0392b; }
.ft-enquiry button[disabled] { opacity: .7; pointer-events: none; }
.conact-info__list .ft-wa-link { color: #1ebe5b; font-weight: 600; }
.conact-info__list .ft-wa-link i { margin-right: 6px; }
@media (max-width: 575px) {
  .ft-enquiry .ft-actions .ht-btn { width: 100% !important; }
}

/* =====================================================================
   8. Round 2 – layout polish (same design, tighter and cleaner)
   ===================================================================== */

/* ---- Page top banners: shorter on every page ---- */
.breadcrumb-area { padding-top: 62px !important; padding-bottom: 58px !important; }
.breadcrumb-area .breadcrumb-title { font-size: 46px; line-height: 1.15; margin-bottom: 0; }
.breadcrumb-area .breadcrumb-list { margin-top: 12px; }
@media (max-width: 1199px) {
  .breadcrumb-area { padding-top: 48px !important; padding-bottom: 44px !important; }
  .breadcrumb-area .breadcrumb-title { font-size: 36px; }
}
@media (max-width: 575px) {
  .breadcrumb-area { padding-top: 36px !important; padding-bottom: 34px !important; }
  .breadcrumb-area .breadcrumb-title { font-size: 30px; }
}

/* ---- Home "Why Us" cards: smaller height and width ---- */
.ht-box-images.style-01 .image-box-wrap {
  max-width: 350px;
  margin: 0 auto;
  padding: 34px 26px 50px;
}
.ht-box-images.style-01 .image-box-wrap .box-image { margin-bottom: 22px; }
.ht-box-images.style-01 .image-box-wrap .box-image img { height: 120px; width: auto; max-width: 100%; }
.ht-box-images.style-01 .image-box-wrap .content .heading { font-size: 21px; }
.ht-box-images.style-01 .image-box-wrap .content .text br { display: none; }
.ht-box-images.style-01 .circle-arrow,
.ht-box-images.style-01 .circle-arrow a { width: 48px; height: 48px; line-height: 48px; font-size: 17px; }
.ht-box-images.style-01 .circle-arrow .middle-dot { width: 72px; height: 72px; }

/* ---- Accordions (About "Why Choose Us" + Workflow) ---- */
.faq-two-wrapper .card {
  border: 1px solid #e6e8ea !important;
  border-radius: 10px !important;
  margin-bottom: 14px !important;
  background: #fff;
  overflow: hidden;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.faq-two-wrapper .card-header { background: transparent !important; border: 0 !important; padding: 0 !important; }
.faq-two-wrapper .card-header h5 button {
  font-size: 17px !important;
  font-weight: 600 !important;
  color: var(--ft-dark) !important;
  padding: 18px 56px 18px 22px !important;
  background: transparent !important;
  line-height: 1.35;
}
.faq-two-wrapper .card-header h5 button:hover { color: var(--ft-darker) !important; background: var(--ft-light) !important; }
.faq-two-wrapper .card-header h5 button span { left: auto !important; right: 20px; }
.faq-two-wrapper .card-header h5 button span i { font-size: 20px; color: var(--ft-grey); transition: transform .35s var(--ft-ease), color .3s ease; }
.faq-two-wrapper .card-header h5 button[aria-expanded=true] span i { color: var(--ft-dark); }
.faq-two-wrapper .card-header h5 button[aria-expanded=true] { color: var(--ft-darker) !important; }
.faq-two-wrapper .card-header h5 button span i:nth-child(1) { visibility: visible !important; opacity: 1 !important; display: inline-block !important; }
.faq-two-wrapper .card-header h5 button span i:nth-child(2) { display: none !important; }
.faq-two-wrapper .card-header h5 button[aria-expanded=true] span i:nth-child(1) { transform: rotate(180deg); }
.faq-two-wrapper .card:has(button[aria-expanded=true]) {
  border-color: var(--ft-dark) !important;
  box-shadow: 0 14px 34px rgba(51, 54, 61, .10);
}
.faq-two-wrapper .card-body {
  padding: 0 22px 20px !important;
  font-size: 15px;
  line-height: 1.7;
  color: #5f636b;
}
.faq-two-wrapper .card-body p,
.faq-two-wrapper .card-body li,
.faq-two-wrapper .card-body .list-item { font-size: 15px !important; line-height: 1.7; color: #5f636b; }
.accordion-wrapper .col-lg-6 img,
.ft-page-work .accordion-wrapper img {
  width: 100%;
  border-radius: 14px !important;
  box-shadow: 0 20px 45px rgba(51, 54, 61, .14);
  object-fit: cover;
}
@media (min-width: 992px) {
  .accordion-wrapper .row > .col-lg-6:last-child { position: sticky; top: 110px; align-self: flex-start; }
  .accordion-wrapper .faq-two-wrapper { margin-top: 30px !important; }
}

/* ---- About: Compliance section ---- */
.ft-compliance__panel {
  background: var(--ft-light);
  border-radius: 18px;
  padding: 56px 52px;
}
.ft-compliance .section-sub-title { color: var(--ft-grey); letter-spacing: 3px; }
.ft-compliance .heading { font-size: 32px; line-height: 1.3; color: #2b2e34; }
.ft-compliance .text { font-size: 15px; line-height: 1.8; color: #5f636b; }
.ft-check-list { list-style: none; padding: 0; margin-bottom: 0; }
.ft-check-list li {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 12px;
  font-weight: 500; font-size: 15px; line-height: 1.55; color: #33363d;
  box-shadow: 0 6px 18px rgba(51, 54, 61, .05);
}
.ft-check-list li i {
  flex: 0 0 26px; height: 26px; line-height: 26px; text-align: center;
  border-radius: 50%; background: var(--ft-dark); color: #fff; font-size: 11px; margin-top: 1px;
}
.ft-compliance__images { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.ft-compliance__images img {
  width: 100%; height: 400px; object-fit: cover;
  border-radius: 14px; box-shadow: 0 20px 45px rgba(51, 54, 61, .15);
}
.ft-compliance__images .ft-img-b { margin-top: 48px; height: 352px; }
@media (max-width: 991px) {
  .ft-compliance__panel { padding: 36px 24px; }
  .ft-compliance__images img, .ft-compliance__images .ft-img-b { height: 240px; margin-top: 0; }
}
@media (max-width: 575px) {
  .ft-compliance .heading { font-size: 25px; }
  .ft-compliance__images { grid-template-columns: 1fr; }
}

/* ---- Workflow page ---- */
.ft-page-work .cybersecurity-about-box {
  background: var(--ft-light);
  border-left: 5px solid var(--ft-dark);
  border-radius: 16px;
  padding: 38px 44px;
}
.ft-page-work .cybersecurity-about-box .row { align-items: center; }
.ft-step {
  display: inline-block;
  background: var(--ft-dark); color: #fff;
  font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  padding: 6px 16px; border-radius: 30px;
}
.ft-page-work .ft-step-title { font-size: 24px !important; line-height: 1.35 !important; color: #2b2e34; margin-bottom: 0; }
.ft-page-work .conact-us-wrap-one.managed-it .heading {
  font-size: 17px !important; line-height: 1.75 !important; font-weight: 400 !important; color: #5a5e66;
}
.ft-page-work .modern-number-01.text-center .heading { font-size: 26px; }
.ft-page-work .modern-number-01.text-center .heading::after {
  content: ""; display: block; width: 60px; height: 3px; margin: 14px auto 0;
  background: var(--ft-grey); border-radius: 3px;
}
@media (max-width: 767px) {
  .ft-page-work .cybersecurity-about-box { padding: 28px 22px; }
  .ft-page-work .ft-step-title { font-size: 21px !important; }
}

/* ---- Shipping page: image / text rows ---- */
.ft-page-shipping .our-company-history { padding: 22px 0 !important; }
.ft-page-shipping .our-company-history .grid-wrapper { display: none; }
.ft-page-shipping .our-company-history > .container-fluid {
  max-width: 1200px;
  margin: 0 auto !important;
  padding: 0 15px;
}
.ft-page-shipping .our-company-history .row.align-items-center {
  background: #fff;
  border: 1px solid #eceef0;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(51, 54, 61, .07);
  margin: 0;
  padding: 30px 18px;
  --bs-gutter-x: 44px;
  row-gap: 26px;
}
.ft-page-shipping .faq-custom-col { float: none; max-width: none; margin: 0; padding: 4px 6px; }
.ft-page-shipping .our-company-history .heading { font-size: 26px; line-height: 1.3; color: #2b2e34; }
.ft-page-shipping .our-company-history .text,
.ft-page-shipping .our-company-history p { font-size: 15px; line-height: 1.75; color: #5f636b; }
.ft-page-shipping .our-company-history .text.mt-30 { margin-top: 14px !important; }
.ft-page-shipping .our-company-history .widget-title { font-size: 18px; color: var(--ft-dark); }
.ft-page-shipping .our-company-history .check-list { margin-bottom: 18px !important; }
.ft-page-shipping .our-company-history .check-list .list-item { font-size: 15px; line-height: 1.65; margin-bottom: 6px; }
.ft-page-shipping .rv-video-section img {
  width: 100%; height: 400px; object-fit: cover;
  border-radius: 14px !important;
}
@media (max-width: 991px) {
  .ft-page-shipping .our-company-history .row.align-items-center { padding: 22px 8px; }
  .ft-page-shipping .rv-video-section img { height: 260px; }
}

/* ---- Documentation page: shorter cards ---- */
.ft-page-documentation .box-large-image__midea { border-radius: 14px; box-shadow: 0 14px 34px rgba(51, 54, 61, .10); }
.ft-page-documentation .box-large-image__midea .images-midea { background: #9b9fa0; }
.ft-page-documentation .box-large-image__midea .images-midea.ft-tile-light { background: #e6e7e8; }
.ft-page-documentation .box-large-image__midea .images-midea img {
  width: 190px !important; height: 190px; max-width: 100%;
  display: block; margin: 0 auto;
}
.ft-page-documentation .box-large-image__midea .images-midea::after { display: none; }
.ft-page-documentation .box-large-image__midea .images-midea .heading-wrap {
  position: static; width: auto; margin: 0;
  background: var(--ft-dark);
  padding: 14px 18px;
}
.ft-page-documentation .box-large-image__midea .images-midea .heading-wrap .heading {
  font-size: 18px; line-height: 1.4; margin: 0; color: #fff;
}
.ft-page-documentation .box-large-image__wrap:hover .images-midea img { transform: scale(1.04); }
.ft-page-documentation .box-large-image__box > br { display: none; }
.ft-page-documentation .box-large-image__box .check-list { margin-top: 20px; margin-bottom: 10px !important; }
.ft-page-documentation .box-large-image__box .check-list .list-item { font-size: 14.5px; line-height: 1.65; }

/* ---- Footer contact icons ---- */
.ft-contact-list li { display: flex; align-items: flex-start; gap: 12px; }
.ft-contact-list .ft-ci {
  flex: 0 0 34px; height: 34px; line-height: 34px; text-align: center;
  border-radius: 50%; background: var(--ft-dark); color: #fff; font-size: 13px;
  transition: transform .3s var(--ft-ease), background-color .3s ease;
}
.ft-contact-list li:hover .ft-ci { transform: translateY(-2px); background: var(--ft-darker); }
.ft-contact-list li a { padding-top: 5px; }
.ft-contact-list li:hover a { padding-left: 0 !important; }

/* ---------- 7. Respect "reduce motion" settings ------------------------ */
@media (prefers-reduced-motion: reduce) {
  .ft-js .ft-reveal, .ft-js .ft-reveal img, .ft-word > .ft-wi,
  .has-children > .submenu > li { transition: none !important; opacity: 1 !important; transform: none !important; filter: none !important; }
  #whatsappChats, .ht-btn:hover::after, .btn:hover::after { animation: none !important; }
}
