/* Lato as a single family with multiple weights */
@font-face {
  font-family: "Lato";
  src: url("../font/Lato/Lato-Regular.woff2") format("woff2"), url("../font/Lato/Lato-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("../font/Lato/Lato-Bold.woff2") format("woff2"), url("../font/Lato/Lato-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("../font/Lato/Lato-SemiBold.woff2") format("woff2"), url("../font/Lato/Lato-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("../font/Lato/lato-medium.woff2") format("woff2"), url("../font/Lato/lato-medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Kanit-regular";
  src: url("../font/Kanit/Kanit-Regular.woff2") format("woff2"), url("../font/Kanit/Kanit-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
.kanit-regular {
  font-family: "Kanit-regular";
}
@font-face {
  font-family: "Kanit-semibold";
  src: url("../font/Kanit/Kanit-SemiBold.woff2") format("woff2"), url("../font/Kanit/Kanit-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-display: swap;
}
.kanit-semibold {
  font-family: "Kanit-semibold";
}
@font-face {
  font-family: "Kanit-medium";
  src: url("../font/Kanit/Kanit-Medium.woff2") format("woff2"), url("../font/Kanit/Kanit-Medium.ttf") format("truetype");
  font-style: normal;
  font-display: swap;
}
.kanit-medium {
  font-family: "Kanit-medium";
}
@font-face {
  font-family: "Kanit-extra-bold";
  src: url("../font/Kanit/Kanit-ExtraBold.woff2") format("woff2"), url("../font/Kanit/Kanit-ExtraBold.ttf") format("truetype");
  font-style: normal;
  font-display: swap;
}
.Kanit-extra-bold {
  font-family: "Kanit-extra-bold";
}
@font-face {
  font-family: "lato-bold";
  src: url("../font/Lato/Lato-Bold.woff2") format("woff2"), url("../font/Lato/Lato-Bold.ttf") format("truetype");
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "lato-regular";
  src: url("../font/Lato/Lato-Regular.woff2") format("woff2"), url("../font/Lato/Lato-Regular.ttf") format("truetype");
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "lato-medium";
  src: url("../font/Lato/lato-medium.woff2") format("woff2"), url("../font/Lato/lato-medium.ttf") format("truetype");
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "lato-semibold";
  src: url("../font/Lato/Lato-SemiBold.woff2") format("woff2"), url("../font/Lato/Lato-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-display: swap;
}
.lato-semibold {
  font-family: "lato-semibold";
}
.lato-medium {
  font-family: "lato-medium";
}
.lato-bold {
  font-family: "lato-bold";
}
.lato-regular {
  font-family: "lato-regular";
}
.bg-main-section {
  background-color: #f9f9f9;
}
.blue-color {
  color: #164c92;
}
p {
  font-family: "lato-medium";
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0px;
  color: #8f8f8f;
}
/* ========== Global Styles ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: clip;
}

body {
  overflow-x: clip;
  max-width: 100vw;
  font-family: "lato-regular", "lato-regular", Lato, sans-serif;
}

section,
footer,
.partnership-bar {
  overflow-x: clip;
}

/* ========== Hero Section ========== */
.banner-background-img {
  background-image: url("../img/bg%20img%202.png");
  background-repeat: no-repeat;
  background-size: cover;
}
.hero-section {
  min-height: 700px;
  position: relative;
  background: #040d21;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../img/landing/bg%20img.webp") center center / cover no-repeat;
  z-index: 0;
}

.hero-section > .d-flex {
  position: relative;
}

.hero-section > .d-flex > .flex-grow-1 {
  margin-left: 130px;
}

/* hero flex margin responsive handled in consolidated breakpoints below */

/* ========== Sidebar Navigation ========== */
.sidebar {
  width: 133px;
  background: #ffffff;
  padding-top: 0;
  z-index: 9999;
  flex-shrink: 0;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  overflow: visible;
  box-shadow: 0px 4px 34px 0px #0000001a;
}

/* White cover so flyout slides out from BEHIND the sidebar */
.sidebar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  z-index: 6;
  pointer-events: none;
}

.sidebar-logo {
  width: 210px;
  padding: 28px 10px;
  border-radius: 0 0 60px 0px;
  background-color: #164c92;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 11;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border-width: 0px 1.5px 1.5px 0px;
  border-style: solid;
  border-color: #ffffff;
  margin: 0 auto;
}

.logo-width {
  width: 125px !important;
  height: 55px !important;
}

.sidebar-logo img {
  width: 90%;
  height: auto;
}

.sidebar .nav {
  gap: 0;
}

.sidebar .nav-item {
  border-bottom: 1px solid #ebebeb;
}

.sidebar .nav-link {
  font-family: "Kanit-regular";
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0px;
  text-align: center;
  color: #494949;
  padding: 24px 10px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 7;
  border-bottom: 2px solid #e8e8e8;
}
button.nav-link {
  background: none;
  border: none;
  cursor: pointer;
  width: 100%;
}

.sidebar .nav-link:hover {
  color: #164c92;
  background: #f5f8ff;
}

.sidebar .nav-link.active {
  color: #164c92;
  font-weight: 600;
  background: transparent;
}

.sidebar .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 5px;
  background: #164c92;
  border-radius: 10px 10px 0 0;
}

/* ========== Sidebar Flyout Menu ========== */
.has-flyout {
  position: relative;
}

.flyout-menu {
  position: fixed;
  top: 50%;
  left: 0px;
  transform: translateY(-50%);
  width: 1160px;
  height: fit-content;
  background: #05326d;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    left 0.5s ease,
    opacity 0.4s ease;
  z-index: 5;
  overflow-y: auto;
  border-top-right-radius: 80px;
  border-bottom-right-radius: 80px;
}

.has-flyout:hover .flyout-menu {
  opacity: 1;
  visibility: visible;
  left: 130px;
}

/* When a sidebar flyout link is clicked, the React Header tags <body>
   with `.flyout-suppressed`. This rule hides every flyout via
   `display: none !important`, beating the :hover rule above (which
   only animates opacity/visibility/left). The class is removed on
   the next sidebar mouseleave OR after ~800ms so hover-to-open works
   again the next time the cursor returns. */
body.flyout-suppressed .flyout-menu,
body.flyout-suppressed .has-flyout:hover .flyout-menu {
  display: none !important;
}

.flyout-inner {
  padding: 50px 60px 40px;
  text-align: left;
}

.flyout-col {
  padding-right: 20px;
  text-align: left;
}

.flyout-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 1.7;
  max-width: 280px;
}

.flyout-title {
  font-family: "Lato";
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  padding-bottom: 24px;
  position: relative;
  display: block;
  text-align: left;
}

.flyout-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60%;
  height: 1px;
  background: #ffffff;
  border-radius: 0;
}

.flyout-title::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 5px;
  background: #ffffff;
  border-radius: 10px;
  z-index: 1;
}

.flyout-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.flyout-list li {
  margin-bottom: 14px;
}

.flyout-list li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: all 0.2s ease;
  display: block;
  text-align: left;
}

.flyout-list li a:hover {
  color: #ffffff;
  padding-left: 5px;
}

/* ========== Hero Content ========== */
.hero-content {
  padding: 80px 0 0px 0px;
}

.hero-title {
  font-family: "Kanit-semibold";
  font-size: 50px;
  line-height: 60px;
  letter-spacing: 0px;
  color: #ffffff;
}

.hero-subtitle {
  font-family: "lato-semibold";
  font-weight: 700;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: 0px;
  color: #ffffff;
  max-width: 450px;
}

/* Explore Services Button */
.btn-explore {
  background: #ffffff;
  color: #164c92;
  border: none;
  border-radius: 30px;
  padding: 15px 24px;
  font-family: "lato-semibold";
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.btn-explore i {
  display: inline-block;
  width: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateX(-10px);
  transition:
    width 0.3s ease,
    opacity 0.3s ease,
    transform 0.3s ease;
}

.btn-explore:hover {
  background: #ffffff;
  color: #164c92;
  box-shadow: 0 4px 20px rgba(22, 76, 146, 0.4);
}

.btn-explore:hover i {
  width: 18px;
  opacity: 1;
  transform: translateX(0);
}

/* ISO Badges */
.iso-badges {
  margin-top: 35px;
}

.iso-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.iso-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
}

.iso-icon img {
  width: 80%;
  height: 100%;
  object-fit: contain;
}

.iso-badge span {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Hero Image */
.hero-image-col {
  position: relative;
}

.hero-image {
  text-align: center;
  padding: 80px 0 0px 0px;
}

.hero-image img {
  max-height: 520px;
  object-fit: contain;
  animation: floatUpDown 3s ease-in-out infinite;
  will-change: transform;
}

@keyframes floatUpDown {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0);
  }
}

/* ========== Right Side Actions ========== */
.side-actions {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1050;
}

.side-icons {
  position: fixed;
  right: 0;
  bottom: 20px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.enquire-btn {
  writing-mode: sideways-lr;
  text-orientation: mixed;
  background: #ffffff;
  color: #164c92;
  text-decoration: none;
  padding: 26px 18px;
  font-family: "Lato";
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 20px;
  text-transform: uppercase;
  text-align: center;
  border-radius: 24px 0px 0px 24px;
  box-shadow: 0px 4px 34px 0px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

/* ========== Enquire Now Panel (right side) ========== */
.enquire-panel {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%) translateX(100%);
  width: 380px;
  z-index: 1051;
  transition: transform 0.3s ease;
}

.enquire-panel.open {
  transform: translateY(-50%) translateX(0);
}

.enquire-modal-content {
  border: none;
  border-radius: 20px 0 0 20px;
  padding: 30px 28px;
  box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.2);
  background: #fff;
}

.enquire-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding: 0;
  border: none;
}

.enquire-modal-title {
  font-family: "Kanit-semibold";
  font-size: 20px;
  color: #164c92;
  margin: 0;
  letter-spacing: 1px;
}

.enquire-modal-close {
  background: none;
  border: none;
  font-size: 28px;
  color: #333;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  transition: color 0.2s ease;
}

.enquire-modal-close:hover {
  color: #000;
}

.enquire-modal-body {
  padding: 0;
}

.enquire-form-group {
  margin-bottom: 16px;
}

.enquire-form-input {
  width: 100%;
  padding: 12px 20px;
  border: 0.8px solid rgba(226, 226, 226, 0.6);
  border-radius: 50px;
  font-family: "lato-regular";
  font-size: 14px;
  color: #333;
  outline: none;
  transition: border-color 0.2s ease;
  background: #fafafa;
}

.enquire-form-input:focus {
  border-color: #164c92;
  box-shadow: none;
}

.enquire-form-input:focus-visible {
  outline: 2px solid #164c92;
  outline-offset: 2px;
}

.enquire-form-input::placeholder {
  color: #999;
}

.enquire-textarea {
  border-radius: 16px;
  resize: none;
}

.enquire-submit-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 50px;
  background: linear-gradient(135deg, #164c92, #0d2e5c);
  color: #ffffff;
  font-family: "lato-bold";
  font-size: 16px;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: opacity 0.3s ease;
  margin-top: 4px;
}

.enquire-submit-btn:hover {
  opacity: 0.9;
}

.side-icon {
  width: 50px;
  height: 50px;
  border-radius: 24px 0 0 24px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  text-decoration: none;
  background: #ffffff;
  box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.1);
}

.chat-icon {
  color: #164c92;
  width: 50px;
  height: 60px;
  padding: 10px;
  gap: 10px;
  overflow: hidden !important;
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
  transition:
    width 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.2s ease;
}

.chat-bot-svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.whatsapp-img {
  width: 32px;
  height: 32px;
}
.chat-hover-text {
  font-family: "Lato";
  font-size: 16px;
  font-weight: 700;
  font-style: normal;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: justify;
  color: #164c92;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.25s ease 0s;
}

.chat-icon:hover {
  width: 145px;
  background: #ffffff;
}

.chat-icon:hover .chat-hover-text {
  opacity: 1;
  transition: opacity 0.25s ease 0.15s;
}

.whatsapp-icon {
  color: #25d366;
  width: 50px;
  height: 60px;
  padding: 10px;
  gap: 10px;
  overflow: hidden !important;
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
  transition:
    width 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.2s ease;
}

.whatsapp-icon .bi-whatsapp {
  font-size: 28px;
  flex-shrink: 0;
}

.whatsapp-hover-text {
  font-family: "Lato";
  font-size: 16px;
  font-weight: 700;
  font-style: normal;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: justify;
  color: #25d366;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.25s ease 0s;
}

.whatsapp-icon:hover {
  width: 145px;
  background: #ffffff;
  color: #25d366;
}

.whatsapp-icon:hover .whatsapp-hover-text {
  opacity: 1;
  transition: opacity 0.25s ease 0.15s;
}

/* ========== Partnership Bar ========== */
.partnership-bar {
  position: relative;
  z-index: 10;
  margin-top: -60px;
  margin-bottom: -52px;
  padding: 0;
}

.partnership-bar .row {
  border-radius: 20px;
}

.partnership-title {
  font-family: "Kanit-semibold";
  font-size: 24px;
  color: #164c92;
  line-height: 32px;
  letter-spacing: 0px;
}

.partner-logo {
  padding: 10px 20px;
  border-left: 1px solid #e0e0e0;
  transition: all 0.3s ease;
  position: relative;
}
.partner-logo-none {
  padding: 10px 20px;
  border-left: none;
  transition: all 0.3s ease;
  position: relative;
}
.partner-logo-none img {
  max-height: 50px;
  object-fit: contain;
  transition: all 0.4s ease;
  filter: grayscale(40%);
}

.partner-logo img {
  max-height: 50px;
  object-fit: contain;
  transition: all 0.4s ease;
  filter: grayscale(40%);
}

/* .partner-logo:hover {
  background: rgba(22, 76, 146, 0.05);
  border-radius: 8px;
} */

.partner-logo:hover img {
  transform: scale(1.12);
  filter: grayscale(0%) drop-shadow(0 2px 8px rgba(22, 76, 146, 0.15));
}
.partner-logo-none:hover img {
  transform: scale(1.12);
  filter: grayscale(0%) drop-shadow(0 2px 8px rgba(22, 76, 146, 0.15));
}

/* ========== Mobile Top Bar ========== */
.mobile-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  background: #040d21;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  height: 56px;
}

.mobile-logo img {
  height: 36px;
  width: auto;
}

.mobile-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border: none;
  background: transparent;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Hamburger → Close (X) animation */
.mobile-hamburger.open .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-hamburger.open .hamburger-line:nth-child(2) {
  opacity: 0;
}
.mobile-hamburger.open .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========== Mobile Offcanvas ========== */
.mobile-offcanvas {
  background: #05326d !important;
  max-width: 320px;
  width: 85%;
}

.mobile-offcanvas .offcanvas-header {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

button.mobile-nav-link {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  outline: none;
}

button.mobile-nav-link:focus-visible {
  outline: 2px solid #164c92;
  outline-offset: 2px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-family: "Kanit-regular";
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s ease;
}

.mobile-nav-link.active {
  color: #ffffff;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
}

.mobile-nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.mobile-nav-link i {
  margin-left: auto;
  font-size: 12px;
  transition: transform 0.3s ease;
}

.mobile-nav-link[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.mobile-submenu {
  list-style: none;
  padding: 0 0 10px 0;
  margin: 0;
  background: rgba(0, 0, 0, 0.15);
}

.mobile-submenu-group {
  padding: 10px 20px 5px 30px;
}

.mobile-submenu-group h6 {
  font-family: "Lato";
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.mobile-submenu-group a,
.mobile-submenu li a {
  display: block;
  padding: 6px 20px 6px 30px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
}

.mobile-submenu-group a:hover,
.mobile-submenu li a:hover {
  color: #ffffff;
  padding-left: 35px;
}

.mobile-offcanvas-footer {
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: auto;
}

.btn-mobile-enquire {
  background: #ffffff;
  color: #164c92;
  border-radius: 30px;
  padding: 12px 24px;
  font-family: "Lato";
  font-weight: 700;
  font-size: 15px;
}

.btn-mobile-enquire:hover {
  background: #f0f0f0;
  color: #164c92;
}

.mobile-action-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.2rem;
  text-decoration: none;
  transition: background 0.3s ease;
}

.mobile-action-icon:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* ========== Mobile Fixed Bottom Bar ========== */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  background: #ffffff;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  border-top: 1px solid #e8e8e8;
  height: 56px;
}

.bottom-bar-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: "Lato";
  font-size: 11px;
  font-weight: 600;
  gap: 2px;
  transition: background 0.2s ease;
  border-right: 1px solid #f0f0f0;
}

.bottom-bar-item:last-child {
  border-right: none;
}

.bottom-bar-item i {
  font-size: 18px;
}

.bottom-bar-enquire {
  color: #164c92;
}
.bottom-bar-chat {
  color: #164c92;
}
.bottom-bar-whatsapp {
  color: #25d366;
}
.bottom-bar-call {
  color: #164c92;
}

.bottom-bar-item:hover {
  background: #f5f8ff;
}

/* Touch device flyout override */
.flyout-menu.flyout-open {
  opacity: 1;
  visibility: visible;
  left: 130px;
}

/* section css start */
.section-two-title {
  font-family: "Kanit-semibold";
  font-size: 36px;
  line-height: 40px;
  letter-spacing: 0px;
}

.section-two-title::before {
  content: "";
  display: block;
  width: 90px;
  height: 4px;
  background: #164c92;
  border-radius: 2px;
  margin-bottom: 15px;
}

.section-two-img-wrapper {
  position: relative;
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
}
.section-two-img-wrapper img {
  max-width: 100%;
  height: auto;
}

.year-badge {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(270deg, #04405c 3.57%, #164c92 58.78%);
  will-change: transform;
  border: 4px solid #ffffff;
  position: absolute;
  bottom: 20px;
  right: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  animation: floatUpDown 3s ease-in-out infinite;
}

.year-number {
  font-family: "Kanit-extra-bold";
  font-weight: 600;
  font-size: 36px;
  color: #ffffff;
  line-height: 1;
}

.year-text {
  font-family: "lato-semibold";
  font-size: 14px;
  color: #ffffff;
  line-height: 19px;
  letter-spacing: 0%;
  text-align: center;
  text-transform: capitalize;
}

.btn-about {
  background: linear-gradient(270deg, #04405c 3.57%, #164c92 58.78%);
  color: #ffffff;
  border: none;
  border-radius: 30px;
  min-width: 183px;
  height: 54px;
  font-family: "lato-bold";
  font-weight: 700;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 24px;
  transition: all 0.3s ease;
}

.btn-about i {
  display: inline-block;
  width: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateX(-10px);
  transition:
    width 0.3s ease,
    opacity 0.3s ease,
    transform 0.3s ease;
}

.btn-about:hover {
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(22, 76, 146, 0.4);
}

.btn-about:hover i {
  width: 18px;
  opacity: 1;
  transform: translateX(0);
}

.bg-section-two {
  background-image: url("../img/section-one-bg.png");
  background-repeat: no-repeat;
  background-size: cover;
}

.industry-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

/* ========== Section 3 - Our Services Swiper ========== */
.services-section {
  background: linear-gradient(270deg, #04405c 3.57%, #164c92 58.78%);
}

/* Content-visibility for below-fold sections — skips rendering until near viewport */
.services-section,
.bg-section-two,
.contact-section,
.partner-logo-mosaic {
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

.sidebar-space {
  padding-left: 130px !important;
  padding-right: 0 !important;
}

/* sidebar-space responsive handled in consolidated breakpoints below */

.services-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0;
  padding-right: 30px;
}

.services-title {
  font-family: "Kanit-semibold";
  font-size: 36px;
  line-height: 40px;
  letter-spacing: 0px;
  color: #ffffff;
  margin: 0;
  text-align: center;
  flex: 1;
}

.services-title::before {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #ffffff;
  border-radius: 2px;
  margin: 0 auto 12px;
}

.services-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0;
  width: 103px;
  height: 48px;
  background: #0b57ba;
  border: none;
  border-radius: 160px;
  padding: 0;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  overflow: hidden;
}

.services-nav-btn:hover {
  background: #0a4da6;
}

.nav-btn-icon-left {
  width: 34px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
  position: relative;
}
.nav-btn-icon-right {
  width: 34px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
  position: relative;
}

.nav-btn-icon-left i {
  font-size: 18px;
  transition: transform 0.3s ease;
}
.services-nav-btn.services-prev:hover .nav-btn-icon-left i {
  transform: translateX(-5px);
}

.nav-btn-icon-right i {
  font-size: 18px;
  transition: transform 0.3s ease;
}
.services-nav-btn.services-next:hover .nav-btn-icon-right i {
  transform: translateX(5px);
}

.nav-btn-text {
  width: 69px;
  height: 48px;
  font-family: "Kanit-medium";
  font-size: 14px;
  color: #ffffff;
  line-height: 20px;
  letter-spacing: 0px;
  background: #05326d;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 160px;
  flex-shrink: 0;
}

/* ========== Stat Badges ========== */
.about-img-wrapper {
  position: relative;
}

.stat-badge {
  position: absolute;
  width: 130px;
  height: 182px;
  background: #f0f0f3;
  border-radius: 60px;
  border: 2px solid transparent;
  border-image-source: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  box-shadow:
    5px 5px 10px 0px rgba(174, 174, 192, 0.2),
    -5px -5px 5px 0px rgba(255, 255, 255, 0.4),
    inset 2px 2px 4px 0px #ffffff,
    inset -2px -2px 4px 0px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  animation: floatUpDown 3s ease-in-out infinite;
  will-change: transform;
  z-index: 2;
}

.stat-badge-top-left {
  animation-delay: 0s;
  top: 0;
  left: -40px;
}

.stat-badge-right {
  animation-delay: 1s;
  top: 50%;
  right: -50px;
  transform: translateY(-50%);
}

.stat-badge-bottom-left {
  animation-delay: 2s;
  bottom: 5%;
  left: -40px;
}

.stat-badge-icon {
  font-size: 24px;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.stat-badge-label {
  font-family: "Kanit-medium";
  font-size: 16px;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 18px;
  letter-spacing: 0px;
  text-align: center;
  text-transform: capitalize;
}

.stat-badge-value {
  font-family: "Kanit-semibold";
  font-size: 28px;
  font-weight: 700;
  color: #05326d;
  line-height: 1;
}

/* ========== Industries Section ========== */
.industries-title {
  text-align: center;
}

.industries-title::before {
  margin-left: auto;
  margin-right: auto;
}

/* ========== Industry Cards ========== */
.industry-card {
  position: relative;
  overflow: hidden;
  height: 350px;
}

.industry-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.industry-card:hover img {
  transform: scale(1.05);
}

.industry-label {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px 16px;
  font-family: "Kanit-medium";
  font-size: 24px;
  line-height: 24px;
  letter-spacing: 0px;
  color: #ffffff;
  text-align: center;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
  transition: opacity 0.4s ease;
}

.industry-card:hover .industry-label {
  opacity: 0;
}

/* Industry Hover Overlay */
.industry-hover-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(102, 102, 102, 0) 30%,
    rgba(0, 0, 0, 0.6) 56.28%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px 20px;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.industry-card:hover .industry-hover-overlay {
  opacity: 1;
  transform: translateY(0);
}

.industry-hover-title {
  font-family: "Kanit-medium";
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 0px;
  text-align: center;
  color: #ffffff;
  margin-bottom: 10px;
}

.industry-hover-desc {
  font-family: "lato-semibold";
  font-size: 14px;
  line-height: 21px;
  letter-spacing: 0px;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

/* ========== Blog Section ========== */
.blog-section {
  padding: 60px 0;
  background-image: url("../img/landing/background-blog-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.blog-card {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: #e8edee;
  border-radius: 20px;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}
.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(22, 76, 146, 0.15);
}
.blog-card:hover .blog-card-img img {
  transform: scale(1.08);
}
.blog-card:hover .blog-card-arrow {
  background: #164c92;
  color: #ffffff;
}

.blog-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
  border-radius: 20px 20px 0px 0px;
  z-index: 1;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-date-badge {
  position: absolute;
  top: -36px;
  right: 54px;
  background: #ffffff;
  border-radius: 50%;
  width: 65px;
  height: 65px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  z-index: 3;
}

.blog-date-badge::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #ffffff;
}

.blog-date-day {
  font-family: "Kanit-semibold";
  font-size: 24px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 105%;
  letter-spacing: 0;
  text-align: center;
  text-transform: capitalize;
}

.blog-date-month {
  font-family: "Kanit-medium";
  font-size: 14px;
  font-weight: 500;
  color: #666;
  line-height: 100%;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
}

.blog-card-body {
  background: #ffffff;
  border-radius: 20px;
  padding: 25px 20px 20px;
  margin-top: -30px;
  position: relative;
  z-index: 2;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.blog-card-title {
  font-family: "Kanit-regular";
  font-size: 18px;
  color: #1a1a1a;
  margin-bottom: 8px;
  margin-top: 10px;
}

.blog-card-text {
  font-family: "lato-medium";
  font-size: 16px;
  color: #8f8f8f;
  line-height: 22px;
  letter-spacing: 0%;
  text-transform: capitalize;
  margin-bottom: 15px;
  flex-grow: 1;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: end;
  padding-top: 12px;
}

.blog-card-meta {
  display: flex;
  gap: 20px;
}

.blog-card-meta span {
  font-family: "lato-medium";
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0%;
  text-transform: capitalize;
  color: #888;
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-card-meta i {
  font-family: "lato-medium";
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0%;
  text-transform: capitalize;
  color: #8f8f8f;
}

.blog-card-arrow {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
  text-decoration: none;
  transition: all 0.3s ease;
  background-color: #e5eaeb;
}

.blog-card-arrow:hover {
  background: #0b57ba;
  border-color: #0b57ba;
  color: #ffffff;
}

/* ========== Testimonial Section ========== */

.testimonial-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.testimonial-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/landing/client-say-bg-img.webp");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.testimonial-heading {
  position: absolute;
  top: 126px;
  left: 0;
  z-index: 2;
  width: 305px;
  height: 200px;
  background: linear-gradient(270deg, #04405c 3.57%, #164c92 58.78%);
  opacity: 0.9;
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 42px;
}

.testimonial-heading-line {
  width: 60px;
  height: 3px;
  background: #ffffff;
  margin-bottom: 12px;
}

.testimonial-heading-text {
  font-family: "Kanit-semibold";
  font-size: 36px;
  color: #ffffff;
  line-height: 40px;
  letter-spacing: 0px;
  margin: 0;
}

.testimonial-card-wrapper {
  position: relative;
  z-index: 2;
  margin-left: auto;
  width: 50%;
  padding: 40px 40px 20px 0;
}

.testimonial-card {
  background: #ffffff;
  border-radius: 30px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 15px;
}

.testimonial-stars i {
  color: #ffc107;
  font-size: 18px;
}

.testimonial-text {
  font-family: "lato-regular";
  font-size: 16px;
  color: #8f8f8f;
  line-height: 26px;
  letter-spacing: 0%;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #e8f0fe;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-avatar i {
  font-size: 20px;
  color: #0b57ba;
}

.testimonial-author-name {
  font-family: "Kanit-semibold";
  font-size: 20px;
  font-weight: 600;
  color: #1c1c1c;
  line-height: 24px;
  letter-spacing: 0;
  margin: 0;
}

.testimonial-author-role {
  font-family: "lato-semibold";
  font-size: 16px;
  color: #8f8f8f;
  line-height: 24px;
  letter-spacing: 0%;
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.testimonialSwiper {
  overflow: hidden;
}

/* Swiper */
.servicesSwiper {
  overflow: hidden;
}

.servicesSwiper .swiper-slide {
  height: auto;
}

.service-card {
  overflow: hidden;
  background: #ffffff;
  height: 100%;
  min-height: 414px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-img {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0px;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-img img {
  transform: scale(1.05);
}

/* Hover overlay */
.service-hover-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(102, 102, 102, 0) 30%,
    rgba(0, 0, 0, 0.6) 56.28%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px 20px;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.service-card:hover .service-hover-overlay {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover .service-label {
  opacity: 0;
}

.service-hover-title {
  font-family: "Kanit-medium";
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 0px;
  text-align: center;
  color: #ffffff;
  margin-bottom: 10px;
}

.service-hover-desc {
  font-family: "lato-semibold";
  font-size: 14px;
  line-height: 21px;
  letter-spacing: 0px;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.service-label {
  font-family: "Kanit-medium";
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 0px;
  color: #ffffff;
  padding: 14px 20px;
  text-align: center;
  background: transparent;
  position: relative;
  z-index: 2;
  margin-top: auto;
  transition: opacity 0.3s ease;
}

.margin-left-section {
  margin-left: 95px;
}

/* ==========================================================
   WhatsApp Chatbot Popup
   ========================================================== */
.wa-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  font-family: "Lato", Arial, sans-serif;
}

.wa-float {
  width: 60px;
  height: 60px;
  background: #25d366;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.wa-popup {
  position: absolute;
  bottom: 0;
  right: 60px;
  width: 280px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  animation: waSlideUp 0.25s ease;
}
@keyframes waSlideUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.wa-header {
  background: #25d366;
  color: #fff;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.wa-header strong {
  font-size: 15px;
}

.wa-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
}

.wa-body {
  padding: 16px;
  text-align: center;
}
.wa-body p {
  margin-bottom: 12px;
  font-size: 14px;
  color: #555;
}

.wa-option {
  display: block;
  width: 100%;
  margin: 8px 0;
  padding: 10px 14px;
  border: none;
  background: #f1f1f1;
  cursor: pointer;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  transition: background 0.2s ease, color 0.2s ease;
}
.wa-option:hover {
  background: #1da851;
  color: #fff;
}

/* ==========================================================
   RESPONSIVE BREAKPOINTS - Consolidated
   ========================================================== */

/* ===== XL: 1200-1399px ===== */
@media (max-width: 1399.98px) {
  .hero-section {
    min-height: 650px;
  }
  .hero-title {
    font-size: 44px;
    line-height: 52px;
  }
  .hero-subtitle {
    font-size: 17px;
    line-height: 24px;
  }
  /* .hero-content {
    padding: 70px 0 0px 40px;
  } */
  .hero-section > .d-flex > .flex-grow-1 {
    margin-left: 130px;
  }
  .hero-image img {
    max-height: 460px;
  }
  .hero-image {
    padding: 60px 0 0 0;
  }
  .section-two-title {
    font-size: 32px;
    line-height: 38px;
  }
  .services-title {
    font-size: 32px;
  }
  .service-card {
    min-height: 280px;
  }
  .iso-icon {
    width: 90px;
    height: 90px;
  }
  .year-badge {
    width: 120px;
    height: 120px;
    right: 50px;
    bottom: 15px;
  }
  .year-number {
    font-size: 30px;
  }
  .year-text {
    font-size: 12px;
  }
  .flyout-menu {
    width: calc(100vw - 150px);
  }
}

/* ===== LG: 992-1199px ===== */
@media (max-width: 1199.98px) {
  .hero-title {
    font-size: 36px;
    line-height: 44px;
  }
  .hero-subtitle {
    font-size: 16px;
    line-height: 24px;
  }
  .hero-content {
    padding: 60px 0 50px 0;
  }
  .hero-image img {
    max-height: 400px;
  }
  .hero-section {
    min-height: 600px;
  }
  .section-two-title {
    font-size: 28px;
    line-height: 34px;
  }
  .services-title {
    font-size: 28px;
  }
  .service-card {
    min-height: 280px;
  }
  .iso-icon {
    width: 80px;
    height: 80px;
  }
  .iso-badge span {
    font-size: 0.85rem;
  }
  .year-badge {
    width: 110px;
    height: 110px;
    right: 40px;
    bottom: 10px;
  }
  .year-number {
    font-size: 28px;
  }
  .year-text {
    font-size: 11px;
  }
  .flyout-menu {
    width: calc(100vw - 150px);
    border-top-right-radius: 40px;
    border-bottom-right-radius: 40px;
  }
  .flyout-inner {
    padding: 30px 35px 25px;
  }
  .flyout-title {
    font-size: 16px;
    margin-bottom: 14px;
    padding-bottom: 16px;
  }
  .flyout-list li a {
    font-size: 13px;
  }
  .flyout-list li {
    margin-bottom: 10px;
  }
  .section-two-img-wrapper img {
    width: 100%;
  }
}

/* ===== MD: 768-991px (sidebar hidden, mobile topbar active) ===== */
/* ========== Mobile Enquire Offcanvas ========== */
#mobileEnquireForm {
  border-radius: 20px;
  max-height: 85vh;
  height: auto !important;
  top: 50% !important;
  bottom: auto !important;
  left: 50% !important;
  right: auto !important;
  transform: translate(-50%, 100vh) !important;
  transition: transform 0.4s ease !important;
  width: 90% !important;
  max-width: 400px;
  z-index: 9999;
  border: none !important;
}

#mobileEnquireForm.show {
  transform: translate(-50%, -50%) !important;
}

#mobileEnquireForm .offcanvas-header {
  border-bottom: 1px solid #e8e8e8;
  padding: 16px 20px;
}

#mobileEnquireForm .offcanvas-body {
  padding: 20px;
  overflow-y: auto;
}

@media (max-width: 991.98px) {
  body {
    padding-bottom: 56px;
  }
  .hero-section {
    min-height: auto;
    padding-top: 56px;
  }
  .hero-section > .d-flex > .flex-grow-1 {
    margin-left: 0;
  }
  .hero-title {
    font-size: 30px;
    line-height: 38px;
    padding-top: 15px;
    padding-bottom: 15px;
  }
  .hero-subtitle {
    font-size: 15px;
    line-height: 22px;
    margin-left: auto;
    margin-right: auto;
    max-width: 400px;
  }
  .hero-content {
    padding: 50px 20px 40px;
    text-align: center;
  }
  .hero-image img {
    max-height: 350px;
  }
  .hero-image {
    text-align: center;
    padding-right: 0;
  }
  .iso-badges {
    justify-content: center;
    gap: 20px !important;
  }
  .iso-icon {
    width: 70px;
    height: 70px;
  }
  .iso-badge span {
    font-size: 0.8rem;
  }
  .btn-explore {
    margin-left: auto;
    margin-right: auto;
  }
  .partnership-bar {
    margin-top: -30px;
    margin-bottom: -30px;
    padding: 0;
  }
  .partnership-title-wrap {
    width: 100% !important;
    text-align: center;
    margin-bottom: 10px !important;
  }
  .partner-logo img,
  .partner-logo-none img {
    max-height: 35px;
  }
  .sidebar-space {
    padding-left: 15px !important;
    padding-right: 12px !important;
  }
  .sidebar-space.pt-5,
  .bg-section-two.pt-5 {
    padding-top: 0 !important;
  }
  .section-two-title {
    font-size: 26px;
    line-height: 32px;
  }
  .section-two-img-wrapper {
    text-align: center;
    margin-bottom: 30px;
  }
  .section-two-img-wrapper img {
    width: 80%;
    max-width: 500px;
  }
  .section-two-title::before {
    margin-left: auto;
    margin-right: auto;
  }
  .bg-section-two .col-xl-6,
  .bg-section-two .col-lg-6 {
    text-align: center;
  }
  .btn-about {
    margin: 0 auto;
  }
  .year-badge {
    width: 110px;
    height: 110px;
    right: 10%;
    bottom: 10px;
  }
  .services-title {
    font-size: 26px;
  }
  .service-card {
    min-height: 280px;
  }
  p {
    font-size: 15px;
    line-height: 24px;
  }
  .partnership-title {
    font-size: 0.95rem;
  }
  .services-section {
    margin-top: 0 !important;
  }
}

/* ===== SM: 576-767px ===== */
@media (max-width: 767.98px) {
  .hero-bg {
    background-image: url("../img/landing/bg-img-mobile.webp");
  }
  .hero-title {
    font-size: 26px;
    line-height: 34px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .hero-subtitle {
    font-size: 14px;
    line-height: 20px;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-content {
    padding: 30px 16px 25px;
    text-align: center;
  }
  .btn-explore {
    padding: 12px 20px;
    font-size: 14px;
  }
  .iso-icon {
    width: 60px;
    height: 60px;
  }
  .iso-badge span {
    font-size: 0.75rem;
  }
  .iso-badges {
    gap: 16px !important;
  }
  .partnership-bar {
    margin-top: -25px;
    margin-bottom: -25px;
    padding: 0;
  }
  .partnership-title-wrap {
    width: 100% !important;
    text-align: center;
    margin-bottom: 8px !important;
  }
  .partner-logo img,
  .partner-logo-none img {
    max-height: 30px;
  }
  .partner-logo {
    border-left: none;
    padding: 8px;
  }
  .partner-logo img {
    max-height: 30px;
  }
  .partnership-title {
    font-size: 0.9rem;
    padding-bottom: 8px;
  }
  .section-two-title {
    font-size: 24px;
    line-height: 30px;
    text-align: center;
  }
  .section-two-img-wrapper img {
    width: 100%;
    height: 300px;
    object-fit: contain;
    margin: 0 auto;
    display: block;
  }
  .section-two-img-wrapper {
    text-align: center;
    margin:0 auto;
    display: flex;
  }
  .bg-section-two p {
    text-align: center;
    padding: 0 10px;
  }
  .year-badge {
    width: 100px;
    height: 100px;
    right: 5%;
    bottom: 5px;
    border-width: 3px;
  }
  .year-number {
    font-size: 26px;
  }
  .year-text {
    font-size: 11px;
  }
  .sidebar-space {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .services-title {
    font-size: 22px;
  }
  .services-header {
    padding-right: 0;
    gap: 8px;
  }
  .services-nav-btn {
    width: 80px;
    height: 40px;
    padding: 0;
  }
  .nav-btn-icon-left,
  .nav-btn-icon-right {
    width: 28px;
    height: 40px;
  }
  .nav-btn-text {
    padding: 0 12px;
    font-size: 14px;
  }
  .service-card {
    min-height: 180px;
  }
  p {
    font-size: 14px;
    line-height: 22px;
  }
}

/* ===== XS: <576px ===== */
@media (max-width: 575.98px) {
  .hero-title {
    font-size: 24px;
    line-height: 32px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .hero-content {
    padding: 25px 12px 20px;
    text-align: center;
  }
  .hero-subtitle {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .btn-explore {
    padding: 10px 18px;
    font-size: 13px;
    width: auto;
    justify-content: center;
  }
  .iso-icon {
    width: 55px;
    height: 55px;
  }
  .iso-badge span {
    font-size: 0.7rem;
  }
  .iso-badges {
    gap: 12px !important;
    margin-top: 20px;
  }
  .partnership-bar {
    margin-top: -20px;
    margin-bottom: -20px;
    padding: 0;
  }
  .partnership-title-wrap {
    width: 100% !important;
    text-align: center;
    margin-bottom: 6px !important;
  }
  .partner-logo img,
  .partner-logo-none img {
    max-height: 24px;
  }
  .partnership-title {
    font-size: 0.8rem;
    padding-bottom: 6px;
  }
  .partnership-title br {
    display: none;
  }
  .section-two-title {
    font-size: 22px;
    line-height: 28px;
  }
  .section-two-img-wrapper img {
    width: 100%;
    height: 300px;
    object-fit: contain;
  }
  .bg-section-two .container-fluid {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .year-badge {
    width: 90px;
    height: 90px;
    right: 0;
    bottom: 0;
  }
  .year-number {
    font-size: 24px;
  }
  .year-text {
    font-size: 10px;
  }
  .services-title {
    font-size: 20px;
  }
  .service-card {
    min-height: 300px;
    background: #000;
  }
  .service-img {
    height: 80%;
  }
  .service-label {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 20%;
    font-size: 16px;
    padding: 10px 14px;
  }
  .services-nav-btn {
    width: 40px;
    height: 36px;
    justify-content: center;
  }
  .nav-btn-text {
    display: none;
  }
  .nav-btn-icon-left,
  .nav-btn-icon-right {
    width: 36px;
    height: 36px;
  }
  .services-header {
    padding-right: 0;
    gap: 6px;
  }
  .service-hover-title {
    font-size: 16px;
    line-height: 20px;
  }
  .service-hover-desc {
    font-size: 12px;
    line-height: 18px;
  }
  .servicesSwiper {
    border-radius: 12px;
  }
}
/* .swiper-android .swiper-slide,
.swiper-ios .swiper-slide,
.swiper-wrapper {
  transform: translate3d(12px, 0, 0);
} */

.bg-choose-section {
  background-image: url("../img/landing/bgchoose-prevoyance.webp");
  background-repeat: no-repeat;
  background-size: cover;
}

.bg-color-client {
  background-color: rgba(217, 217, 217, 0.3);
  padding: 60px;
}

/* ========== Contact Section ========== */
.contact-section {
  background-image: url("../img/landing/bgchoose-prevoyance.webp");
  background-repeat: no-repeat;
  background-size: cover;
  /* z-index: -1;
  position: relative; */
}

.contact-heading-line {
  width: 60px;
  height: 3px;
  background: #164c92;
  margin-bottom: 15px;
}

.contact-title {
  font-family: "Kanit-semibold";
  font-size: 36px;
  line-height: 40px;
  letter-spacing: 0px;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.contact-subtitle {
  font-family: "lato-medium";
  font-size: 16px;
  color: #888;
  line-height: 26px;
  letter-spacing: 0%;
  margin-bottom: 30px;
}

.contact-subtitle a {
  text-decoration: none;
  font-weight: 500;
}

.contact-form-wrapper {
  background: #ffffff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  position: relative;
  left: -3px;
  z-index: 3;
  width: 760px;
}

.contact-input {
  width: 100%;
  border: 0.8px solid rgba(226, 226, 226, 0.6);
  border-radius: 50px;
  padding: 12px 20px;
  font-family: "lato-regular", Lato, sans-serif;
  font-size: 14px;
  color: #333;
  background: transparent;
  outline: none;
  transition: border-color 0.3s ease;
}

.contact-input:focus {
  border-color: #164c92;
  box-shadow: none;
}

.contact-input:focus-visible {
  outline: 2px solid #164c92;
  outline-offset: 2px;
}

.contact-input::placeholder {
  color: #999;
}

.contact-textarea {
  border-radius: 16px;
  height: 100%;
  min-height: 90px;
  resize: none;
}

.contact-submit-btn {
  font-family: "lato-semibold";
  font-size: 16px;
  color: #ffffff;
  background: linear-gradient(270deg, #04405c 3.57%, #164c92 58.78%);
  border: none;
  border-radius: 30px;
  padding: 10px 32px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.contact-submit-btn i {
  display: inline-block;
  width: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateX(-10px);
  transition:
    width 0.3s ease,
    opacity 0.3s ease,
    transform 0.3s ease;
}
.contact-submit-btn:hover {
  background: linear-gradient(270deg, #04405c 3.57%, #164c92 58.78%);
  box-shadow: 0 4px 20px rgba(22, 76, 146, 0.4);
}
.contact-submit-btn:hover i {
  width: 18px;
  opacity: 1;
  transform: translateX(0);
}

/* ========== BUTTON SPINNER ========== */
.loader {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Page loader for lazy routes */
.page-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100%;
}
.page-loader .loader {
  width: 40px;
  height: 40px;
  border-width: 4px;
  border-color: rgba(22, 76, 146, 0.2);
  border-top-color: #164c92;
}

.contact-img-wrapper {
  height: 100%;
  overflow: hidden;
  border-radius: 0;
  position: relative;
  z-index: 2;
}

.contact-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========== Join Banner ========== */
.join-banner {
  background: linear-gradient(270deg, #04405c 3.57%, #164c92 58.78%);
  padding: 30px 0;
  /* margin-top: -40px; */
}

.join-banner-content {
  display: flex;
  align-items: center;
  gap: 30px;
}

.join-banner-text {
  font-family: "Kanit-semibold";
  font-size: 24px;
  line-height: 24px;
  letter-spacing: 0%;
  color: #ffffff;
  margin: 0;
}

.join-banner-btn {
  font-family: "lato-semibold";
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  background: transparent;
  border: 2px solid #ffffff;
  border-radius: 10px;
  width: 160px;
  height: 41px;
  padding: 0;
  text-decoration: none;
  transition: all 0.3s ease;
  background-color: #ffffff;
}

.join-banner-btn i {
  display: inline-block;
  width: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateX(-10px);
  transition:
    width 0.3s ease,
    opacity 0.3s ease,
    transform 0.3s ease;
}
.join-banner-btn:hover {
  background: #ffffff;
  color: #164c92;
}
.join-banner-btn:hover i {
  width: 18px;
  opacity: 1;
  transform: translateX(0);
}
/* Partner Logo Mosaic - Vertical Marquee */
.partner-logo-mosaic {
  display: flex;
  gap: 14px;
  height: 470px;
  overflow: hidden;
}

.marquee-col {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: marqueeUp 15s linear infinite;
  will-change: transform;
}

.marquee-track.marquee-reverse {
  animation: marqueeDown 15s linear infinite;
  will-change: transform;
}

@keyframes marqueeUp {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

@keyframes marqueeDown {
  0% {
    transform: translateY(-50%);
  }
  100% {
    transform: translateY(0);
  }
}

.logo-card {
  background: #ffffff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  height: 70px;
  min-height: 70px;
  position: relative;
}

.logo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  padding: 1.5px;
  background: linear-gradient(
    124.17deg,
    rgba(22, 76, 146, 0.5) 1.12%,
    rgba(239, 239, 239, 0.5) 31.11%,
    rgba(239, 239, 239, 0.5) 71.09%,
    rgba(22, 76, 146, 0.5) 101.07%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.logo-card img {
  max-width: 120px !important;
  max-height: 48px !important;
  object-fit: contain;
}

.marquee-col:hover .marquee-track {
  animation-play-state: paused;
}

@media (max-width: 767px) {
  .partner-logo-mosaic {
    gap: 10px;
    height: 300px;
  }
  .logo-card {
    height: 55px;
    min-height: 55px;
    padding: 10px 12px;
  }
  .logo-card img {
    max-width: 80px;
    max-height: 30px;
  }
}

.Partner-Eco-bg {
  background-image: url("../img/partner-ecosystem-bg.png");
  background-repeat: no-repeat;
  background-size: cover;
}

/* ========== Footer ========== */
.site-footer {
  background: url("../img/common/footer%20img.webp") no-repeat center center;
  background-size: cover;
  padding: 50px 0 0;
  color: #ffffff;
}

.footer-title {
  font-family: "Kanit-medium";
  font-size: 24px;
  line-height: 70px;
  letter-spacing: 0%;
  vertical-align: middle;
  text-transform: capitalize;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60%;
  height: 1px;
  background: #ffffff;
  border-radius: 0;
}

.footer-title::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 5px;
  background: #ffffff;
  border-radius: 10px;
  z-index: 1;
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-list li {
  /* display: flex; */
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-family: "lato-regular";
  font-size: 16px;
  color: #ffffff;
  line-height: 35px;
  letter-spacing: 0%;
}

.footer-contact-list li i {
  color: #ffffff;
  font-size: 14px;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  border-bottom: 1px solid #cecece;
}

.footer-links li a {
  font-family: "lato-regular";
  font-size: 16px;
  line-height: 55px;
  letter-spacing: 0%;
  color: #ffffff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.3s ease;
}

.footer-links li a:hover {
  color: #ffffff;
}

.footer-links li a i {
  font-size: 12px;
  opacity: 0;
  transform: translateX(-10px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.footer-links li a:hover i {
  opacity: 1;
  transform: translateX(0);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-social {
  display: flex;
  gap: 14px;
}

.footer-social a {
  color: #ffffff;
  font-size: 16px;
  transition: opacity 0.3s ease;
}

.footer-social a:hover {
  opacity: 0.7;
}

.footer-copyright {
  font-family: "Kanit-medium";
  font-size: 18px;
  line-height: 24px;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
  text-transform: capitalize;
  color: #ffffff;
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-family: "lato-regular";
  font-size: 14px;
  line-height: 55px;
  letter-spacing: 0%;
  color: #ffffff;
  text-decoration: underline;
  text-decoration-style: solid;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: #ffffff;
}

/* ========== TABLET: 768-991px ========== */
@media (max-width: 991.98px) {
  /* Uniform section spacing - 40px top/bottom for all sections */
  .bg-section-two,
  .services-section,
  .bg-choose-section,
  .industries-section,
  .blog-section,
  .testimonial-section,
  .contact-section,
  .partner-section,
  .join-banner {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }
  /* Override inline Bootstrap spacing classes */
  .bg-section-two .pt-5,
  .bg-section-two.pt-5,
  .bg-choose-section .pt-5,
  .contact-section .pt-5,
  .industries-section .mt-5 {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
  .services-section.mt-3,
  .services-section.mt-lg-5 {
    margin-top: 0 !important;
  }
  .bg-section-two .container .row .pt-4 {
    padding-top: 0 !important;
  }
  .join-banner {
    margin-top: 0 !important;
  }

  /* Industries */
  .industry-card {
    height: 250px;
  }
  .industry-label {
    font-size: 16px;
    padding: 12px 14px;
  }

  /* Blog */
  .blog-section {
    padding: 40px 0;
  }
  .blog-card-img {
    height: 180px;
  }
  .blog-card-title {
    font-size: 16px;
  }

  /* Testimonials */
  .testimonial-wrapper {
    min-height: 400px;
    flex-direction: column;
  }
  .testimonial-heading {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    border-radius: 20px 20px 0 0;
    padding: 24px 30px;
  }
  .testimonial-heading-text {
    font-size: 24px;
  }
  .testimonial-card-wrapper {
    width: 100%;
    padding: 20px;
    margin-left: 0;
  }
  .testimonial-card {
    padding: 24px;
  }

  /* Contact */
  .contact-form-wrapper {
    left: 0;
    width: 100%;
  }
  .contact-title {
    font-size: 26px;
  }
  .contact-img-wrapper {
    text-align: center;
    margin-top: 30px;
  }
  .contact-img-wrapper img {
    max-width: 80%;
  }

  /* Join Banner */
  .join-banner-content {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .join-banner-text {
    font-size: 18px;
  }

  /* Partner Ecosystem */
  .partner-logo-mosaic {
    height: 350px;
  }

  /* Why Choose */
  .bg-choose-section .pe-5 {
    padding-right: 0 !important;
  }

  /* About image */
  .height-about {
    height: auto !important;
  }

  /* Services header */
  .services-header {
    justify-content: center;
  }

  /* Client bg */
  .bg-color-client {
    padding: 40px 20px;
  }

  /* Partner Ecosystem ps-5 override */
  .Partner-Eco-bg.ps-5 {
    padding-left: 1.5rem !important;
  }

  /* Footer */
  .site-footer {
    padding: 40px 0 0;
  }
  .footer-title {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 14px;
    padding-bottom: 10px;
  }
  .footer-links li a {
    font-size: 13px;
    line-height: 40px;
  }
  .footer-contact-list li {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 12px;
  }
  .footer-legal a {
    line-height: 1.4;
  }
}

/* ========== MOBILE: 576-767px ========== */
@media (max-width: 767.98px) {
  /* Uniform section spacing - 35px top/bottom for all sections */
  .bg-section-two,
  .services-section,
  .bg-choose-section,
  .industries-section,
  .blog-section,
  .testimonial-section,
  .contact-section,
  .partner-section,
  .join-banner {
    padding-top: 35px !important;
    padding-bottom: 35px !important;
  }

  /* Stat Badges */
  .stat-badge {
    width: 100px;
    height: 140px;
  }
  .stat-badge-value {
    font-size: 22px;
  }
  .stat-badge-label {
    font-size: 11px;
  }
  .stat-badge-top-left {
    left: -10px;
  }
  .stat-badge-right {
    right: -10px;
  }
  .stat-badge-bottom-left {
    left: -10px;
  }

  /* Industries */
  .industry-card {
    height: 180px;
    border-radius: 10px;
  }
  .industry-label {
    font-size: 13px;
    padding: 8px 10px;
  }

  /* Blog */
  .blog-card-img {
    height: 160px;
  }
  .blog-card-body {
    padding: 20px 16px 16px;
  }
  .blog-card-title {
    font-size: 15px;
  }
  .blog-card-text {
    font-size: 13px;
  }
  .blog-card-meta span {
    font-size: 12px;
  }
  .blog-card-arrow {
    width: 34px;
    height: 34px;
  }

  /* Testimonials */
  .testimonial-wrapper {
    min-height: auto;
  }
  .testimonial-heading {
    padding: 20px 24px;
  }
  .testimonial-heading-text {
    font-size: 22px;
  }
  .testimonial-card-wrapper {
    padding: 16px;
  }
  .testimonial-card {
    padding: 20px;
  }
  .testimonial-text {
    font-size: 13px;
  }

  /* Contact */
  .contact-title {
    font-size: 22px;
  }
  .contact-subtitle {
    font-size: 13px;
  }
  .contact-form-wrapper {
    left: 0;
    width: 100%;
    padding: 20px;
  }
  .contact-img-wrapper img {
    max-width: 100%;
  }

  /* Why Choose */
  .section-two-title {
    text-align: center;
  }
  .bg-choose-section .pe-5 {
    padding-right: 0 !important;
  }
  .height-about {
    height: auto !important;
  }

  /* Join Banner */
  .join-banner-text {
    font-size: 16px;
  }
  .join-banner-btn {
    font-size: 14px;
    padding: 10px 20px;
  }

  /* Client bg */
  .bg-color-client {
    padding: 30px 15px;
  }

  /* Partner Ecosystem */
  .partner-logo-mosaic {
    height: 300px;
    gap: 10px;
  }
  .logo-card {
    height: 55px;
    min-height: 55px;
    padding: 10px 12px;
  }
  .logo-card img {
    max-width: 80px;
    max-height: 30px;
  }

  /* Footer */
  .site-footer {
    padding: 35px 0 0;
  }
  .footer-title {
    font-size: 15px;
    line-height: 1.3;
    margin-bottom: 12px;
    padding-bottom: 8px;
  }
  .footer-title::after {
    width: 80%;
  }
  .footer-title::before {
    width: 40px;
    height: 3px;
  }
  .footer-links li a {
    font-size: 13px;
    line-height: 36px;
  }
  .footer-links li a i {
    font-size: 10px;
  }
  .footer-contact-list li {
    font-size: 13px;
    line-height: 22px;
    margin-bottom: 10px;
    gap: 10px;
  }
  .footer-contact-list li i {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 16px 0;
    margin-top: 20px;
  }
  .footer-copyright {
    font-size: 13px;
    order: -1;
  }
  .footer-social {
    gap: 18px;
  }
  .footer-social a {
    font-size: 16px;
  }
  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  .footer-legal a {
    font-size: 12px;
    line-height: 1.4;
  }
}

/* ========== SMALL MOBILE: <576px ========== */
@media (max-width: 575.98px) {
  /* Uniform section spacing - 30px top/bottom for all sections */
  .bg-section-two,
  .services-section,
  .bg-choose-section,
  .industries-section,
  .blog-section,
  .testimonial-section,
  .contact-section,
  .partner-section,
  .join-banner {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
  }

  /* Stat Badges */
  .about-img-wrapper {
    overflow: visible;
    margin: 20px auto;
    max-width: 280px;
  }
  .stat-badge {
    width: 85px;
    height: 120px;
    border-radius: 40px;
  }
  .stat-badge-value {
    font-size: 18px;
  }
  .stat-badge-label {
    font-size: 9px;
  }
  .stat-badge img {
    width: 24px !important;
    height: 24px !important;
    object-fit: contain;
  }
  .stat-badge-top-left {
    top: -15px;
    left: -20px;
  }
  .stat-badge-right {
    right: -20px;
  }
  .stat-badge-bottom-left {
    bottom: -10px;
    left: -20px;
  }

  /* Industries */
  .industry-card {
    height: 140px;
    border-radius: 8px;
  }
  .industry-label {
    font-size: 12px;
    padding: 6px 8px;
  }

  /* Blog */
  .blog-card-img {
    height: 140px;
  }
  .blog-date-badge {
    width: 55px;
    height: 55px;
    right: 40px;
  }
  .blog-date-day {
    font-size: 16px;
  }
  .blog-date-month {
    font-size: 10px;
  }
  .blog-card-body {
    padding: 18px 14px 14px;
  }
  .blog-card-title {
    font-size: 14px;
  }

  /* Testimonials */
  .testimonial-heading {
    padding: 18px 20px;
  }
  .testimonial-heading-text {
    font-size: 20px;
  }
  .testimonial-card {
    padding: 16px;
  }
  .testimonial-text {
    font-size: 12px;
    line-height: 1.6;
  }
  .testimonial-stars i {
    font-size: 14px;
  }
  .testimonial-author-name {
    font-size: 14px;
  }

  /* Testimonials */
  .testimonial-wrapper {
    min-height: auto;
    border-radius: 12px;
  }
  .testimonial-bg {
    background-size: cover;
  }

  /* Contact */
  .contact-title {
    font-size: 20px;
  }
  .contact-form-wrapper {
    left: 0;
    width: 100%;
    padding: 16px;
  }
  .contact-input {
    padding: 10px 14px;
    font-size: 13px;
  }
  .contact-submit-btn {
    font-size: 14px;
    padding: 10px 20px;
    width: 100%;
  }
  .contact-textarea {
    min-height: 120px;
  }

  /* Why Choose */
  .height-about {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 16px;
  }
  .bg-choose-section {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  /* Join Banner */
  .join-banner-text {
    font-size: 15px;
  }
  .join-banner-btn {
    font-size: 13px;
    padding: 8px 18px;
  }

  /* Client bg */
  .bg-color-client {
    padding: 20px 12px;
  }

  /* Partner Ecosystem */
  .Partner-Eco-bg.ps-5 {
    padding-left: 1rem !important;
  }
  .partner-logo-mosaic {
    height: 250px;
    gap: 8px;
  }
  .logo-card {
    height: 50px;
    min-height: 50px;
    padding: 8px 10px;
  }
  .logo-card img {
    max-width: 70px;
    max-height: 28px;
  }

  /* Footer */
  .site-footer {
    padding: 25px 0 0;
  }
  .footer-title {
    font-size: 14px;
    line-height: 1.3;
    margin-bottom: 10px;
    padding-bottom: 8px;
  }
  .footer-title::after {
    width: 100%;
  }
  .footer-title::before {
    width: 35px;
    height: 3px;
  }
  .footer-links li a {
    font-size: 12px;
    line-height: 32px;
  }
  .footer-links li a i {
    font-size: 9px;
  }
  .footer-contact-list li {
    font-size: 12px;
    line-height: 20px;
    gap: 8px;
    margin-bottom: 10px;
  }
  .footer-contact-list li i {
    width: 26px;
    height: 26px;
    font-size: 11px;
  }
  .footer-bottom {
    padding: 14px 0;
    margin-top: 16px;
    gap: 10px;
  }
  .footer-social a {
    font-size: 15px;
  }
  .footer-social {
    gap: 16px;
  }
  .footer-copyright {
    font-size: 11px;
  }
  .footer-legal a {
    font-size: 11px;
    line-height: 1.4;
  }
  .footer-legal {
    gap: 8px;
  }
}

/* ========== Scroll Animations ========== */
[data-animate] {
  opacity: 0;
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
[data-animate].animated {
  opacity: 1;
  transform: none !important;
}

/* Fade Up */
[data-animate="fade-up"] {
  transform: translateY(50px);
}

/* Fade Down */
[data-animate="fade-down"] {
  transform: translateY(-50px);
}

/* Fade Left */
[data-animate="fade-left"] {
  transform: translateX(-50px);
}

/* Fade Right */
[data-animate="fade-right"] {
  transform: translateX(50px);
}

/* Zoom In */
[data-animate="zoom-in"] {
  transform: scale(0.9);
}

/* Fade In (no movement) */
[data-animate="fade-in"] {
  transform: none;
}

/* Hero section - animate immediately on page load, no waiting */
.hero-section [data-animate] {
  animation-fill-mode: forwards;
}
.hero-section [data-animate="fade-right"] {
  animation: heroFadeRight 0.8s ease forwards;
}
.hero-section [data-animate="fade-left"] {
  animation: heroFadeLeft 0.8s ease 0.2s forwards;
}
@keyframes heroFadeRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes heroFadeLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Stagger delays for child elements */
[data-animate-delay="100"] {
  transition-delay: 0.1s;
}
[data-animate-delay="200"] {
  transition-delay: 0.2s;
}
[data-animate-delay="300"] {
  transition-delay: 0.3s;
}
[data-animate-delay="400"] {
  transition-delay: 0.4s;
}
[data-animate-delay="500"] {
  transition-delay: 0.5s;
}
[data-animate-delay="600"] {
  transition-delay: 0.6s;
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  [data-animate] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}

/* ========== E-Learning Banner (Banking Page) ========== */
.hero-section.elearning-banner {
  min-height: 510px;
  position: relative;
  overflow: visible;
  /* padding-bottom: 120px; */
}

.hero-section.elearning-banner .container-fluid {
  position: relative;
  height: 100%;
  min-height: 510px;
}

.hero-section.elearning-banner .hero-image {
  height: 100%;
  display: flex;
  align-items: stretch;
}

.hero-section.elearning-banner .hero-image img {
  display: block;
}

/* E-Learning Title */
.elearning-title {
  font-size: 3.5rem;
}

/* E-Learning Description Box */
.elearning-desc-box {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1125px;
  max-width: 95%;
  background: #ffffff;
  opacity: 0.8 !important;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  padding: 30px 40px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.elearning-desc-box p {
  font-size: 18px;
  line-height: 26px;
}

/* Preserve translateX(-50%) centering even when scroll-animation .animated
   class applies `transform: none !important;` (which would break the
   absolute-positioned centering of the desc box on desktop). */
@media (min-width: 992px) {
  .elearning-desc-box,
  .elearning-desc-box[data-animate],
  .elearning-desc-box[data-animate].animated,
  .elearning-desc-box.animated {
    transform: translateX(-50%) !important;
  }
}

/* Responsive for E-Learning banner */
@media (max-width: 1199.98px) {
  .elearning-desc-box {
    width: 900px;
    padding: 25px 30px;
  }
  .elearning-desc-box p {
    font-size: 16px;
    line-height: 24px;
  }
}

@media (max-width: 991.98px) {
  .hero-section.elearning-banner {
    min-height: auto;
    padding-bottom: 0;
    padding-top: 70px;
  }
  .hero-section.elearning-banner .container-fluid {
    min-height: auto;
    flex-direction: column;
    align-items: center;
    padding-bottom: 0;
  }
  .hero-section.elearning-banner .row {
    justify-content: center;
    text-align: center;
    padding-bottom: 0 !important;
  }
  .elearning-title {
    font-size: 2.5rem;
    padding-top: 15px;
    padding-bottom: 15px;
  }
  .elearning-desc-box {
    position: relative;
    left: auto;
    transform: none;
    width: 100%;
    max-width: 100%;
    height: auto;
    padding: 20px 25px;
    opacity: 1;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
  .elearning-desc-box p {
    font-size: 15px;
    line-height: 22px;
  }
}

@media (max-width: 767.98px) {
  .hero-section.elearning-banner {
    padding-top: 60px;
  }
  .elearning-title {
    font-size: 2rem;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .elearning-desc-box {
    padding: 18px 20px;
  }
  .elearning-desc-box p {
    font-size: 14px;
    line-height: 20px;
  }
}

@media (max-width: 575.98px) {
  .hero-section.elearning-banner {
    padding-top: 56px;
  }
  .elearning-title {
    font-size: 1.6rem;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .elearning-desc-box {
    padding: 14px 15px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
  }
  .elearning-desc-box p {
    font-size: 13px;
    line-height: 19px;
  }
}

/* ==========================================================================
   Defensive override for custom Swiper navigation buttons
   --------------------------------------------------------------------------
   When the React Swiper component binds to external custom navigation
   buttons via `nextEl`/`prevEl`, Swiper may auto-add classes like
   `swiper-button-lock` (when slide count == slidesPerView) or
   `swiper-button-disabled` to those elements. Swiper's bundled
   navigation.css contains:
       .swiper-button-lock { display: none; }
   which would hide our custom buttons. This rule forces them to stay
   visible at all times. Selectors target the project's custom button
   classes only, so default `.swiper-button-prev`/`.swiper-button-next`
   behavior elsewhere is unaffected.
   ========================================================================== */
.services-nav-btn,
.services-prev,
.services-next,
.testimonial-prev,
.testimonial-next,
.history-prev-btn,
.history-next-btn {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.skip-to-content {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 9999;
}
.skip-to-content:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  width: auto;
  height: auto;
  padding: 12px 24px;
  background: #164c92;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* ========== Performance: mobile image constraints ========== */
@media (max-width: 767.98px) {
  .service-img img {
    max-height: 300px;
    object-fit: cover;
  }
}

@media (max-width: 575.98px) {
  .service-img img {
    max-height: 240px;
    object-fit: cover;
  }
}

/* ========== Performance: content-visibility for below-fold sections ========== */
.services-section,
.industries-section,
.blog-section,
.testimonial-section,
.contact-section,
.partner-section {
  content-visibility: auto;
  contain-intrinsic-size: auto 500px;
}
