/* -----------------------------------------------------------------
   1. CSS Variables & Reset
   ----------------------------------------------------------------- */
:root {
  --color-primary-blue: #0047ab;
  --color-bg-gradient-start: #003278;
  --color-bg-gradient-end: #0053c7;
  --blue-color: #0053c7;
  --color-accent-orange: #ed7d30;
  --color-text-cyan: #8abbff;
  --color-text-white: #ffffff;
  --color-text-dark: #000;
  --color-text-gray: #666666;
  --color-border: rgba(0, 0, 0, 0.4);

  --container-max: 1340px;
  --header-height: 70px;
  --border-radius-card: 12px;
  --border-radius-input: 4px;

  --font-primary: "Afacad", sans-serif;

  --fs-h1: 68px;
  --lh-h1: 70px;
  --fs-h2: 50px;
  --lh-h2: 56px;
  --fs-h3: 28px;
  --lh-h3: 34px;
  --fs-display: 60px;
  --lh-display: 80px;
  --fs-small: 16px;
  --lh-small: 20px;
  --fs-body: 20px;
  --fs-large: 22px;
  --lh-large: 34px;
  --fs-large-bold: 24px;
  --lh-large-bold: 33px;
  --fs-highlight: 22px;
  --lh-highlight: 28px;
  --lh-body: 1.6;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body,
a,
li,
button,
input,
textarea,
select {
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-text-dark);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

h1 {
  font-size: var(--fs-h1);
  line-height: var(--lh-h1);
  font-weight: 700;
}
h2 {
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  font-weight: 700;
}

h3 {
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  font-weight: 600;
}
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 30px;
  width: 100%;
}

.text-blue {
  color: var(--blue-color);
}


/* Initial state for the entire page */
body {
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

/* State when the page has fully loaded */
body.page-loaded {
  opacity: 1;
}

/* Optional: Smoothly reveal sections as they enter the viewport */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-on-scroll.active {
  opacity: 1;
  transform: none;
}

/* -----------------------------------------------------------------
   Menu-Bar
   ----------------------------------------------------------------- */

/* Sidebar Container */
.mobile-sidebar {
  position: fixed;
  top: 0;
  right: -100%; /* Hidden by default */
  max-width: 485px;
  width: 85%;
  height: 100%;
  overflow-y: auto;
  background: #fff;
  z-index: 10000;
  transition: right 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
}

.mobile-sidebar.open {
  right: 0;
}

/* Backdrop Overlay */
.menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: none;
}

.menu-backdrop.active {
  display: block;
}

/* Header Section */
.sidebar-header {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.sidebar-logo img {
  height: 37px;
}

.close-menu {
  background: none;
  border: none;
  cursor: pointer;
}

.close-menu img {
  width: 28px;
}

.sidebar-nav ul {
  list-style: none;
  padding: 0;
  margin-bottom: 90px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  padding: 15px 32px;
  text-decoration: none;
  transition: background 0.2s;
  gap: 15px;
}

.sidebar-link:hover {
  background-color: #eef5ff; /* Light blue tint */
  color: var(--blue-color);
}

.sidebar-link.active {
  background-color: #eef5ff; /* Light blue tint */
  color: var(--blue-color);
}

.sidebar-link:hover .nav-icon,
.sidebar-link.active .nav-icon {
  filter: brightness(0) saturate(100%) invert(14%) sepia(98%) saturate(4236%)
    hue-rotate(213deg) brightness(92%) contrast(105%);
}

.nav-home {
  filter: brightness(0) saturate(100%) invert(55%) sepia(84%) saturate(1732%)
    hue-rotate(357deg) brightness(96%) contrast(96%);
}

.nav-icon {
  width: 32px;
  height: 32px;
}

/* Footer & CTA */
.sidebar-footer {
  padding: 0px 30px 30px;
  text-align: center;
}

.btn-sidebar-contact {
  display: block;
  width: 100%;
}

/* -----------------------------------------------------------------
   2. Header Section
   ----------------------------------------------------------------- */
.site-header {
  margin-top: 20px;
  position: sticky;
  top: 0px;
  background-color: transparent;
  display: flex;
  align-items: center;
  z-index: 100;
}

.header-inner {
  height: var(--header-height);
  background: #fff;
  max-width: 1360px;
  width: 95%;
  margin: 0 auto;
  padding: 0 25px;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Active sticky state applied via JS */
.header-inner.sticky-active {
  max-width: 100%;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
}

.logo-text-blue {
  color: #0c4ca3;
}
.logo-text-orange {
  color: var(--color-accent-orange);
}

.nav-menu {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links-btn {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  color: #000;
}

.nav-link.active {
  color: #0053c7;
}

.nav-link:hover {
  color: #0053c7;
}

.header-actions {
  display: flex;
  gap: 18px;
  align-items: center;
}

.btn-contact {
  background-color: var(--blue-color);
  color: #fff;
  padding: 10px 24px;
  border-radius: 4px;
  font-weight: 500;
  transition: 0.3s all ease;
}

.btn-contact:hover {
  background-color: var(--color-accent-orange);
}

.hamburger {
  display: none;
  cursor: pointer;
}

.section-heading {
  margin: 6px 0 18px;
}

/* --- About Hero Layout --- */
.hero-banner {
  margin-top: -90px;
  background: linear-gradient(
    180deg,
    var(--color-bg-gradient-start) 0%,
    var(--color-bg-gradient-end) 100%
  );
  padding: 160px 0 40px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: visible; /* Allows breadcrumb to hang out */
}

.hero-content-wrapper {
  max-width: 870px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

.hero-banner h1 {
  margin-bottom: 28px;
}

.hero-banner p {
  width: 87%;
  margin: 0 auto;
  font-size: var(--fs-large);
  line-height: var(--lh-large);
}

/* --- Breadcrumb Box --- */
.breadcrumb-wrapper {
  position: absolute;
  bottom: -30px; /* Positions it exactly on the section line */
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.breadcrumb {
  position: relative;
  z-index: 2;
  bottom: -60px;
  width: fit-content;
  margin: 0 auto;
  background: #fff;
  padding: 13px 15px;
  border-radius: 6px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  display: flex;
  font-size: var(--fs-small) !important;
  line-height: var(--lh-small) !important;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.breadcrumb a {
  color: #0053c7;
  font-size: var(--fs-small) !important;
  line-height: var(--lh-small) !important;
  font-weight: 400;
  overflow-x: visible;
}

.active-page {
  color: #000;
}

/* -----------------------------------------------------------------
   3. Hero Section
   ----------------------------------------------------------------- */
.hero-section {
  margin-top: -90px;
  position: relative;
  background: linear-gradient(
    180deg,
    var(--color-bg-gradient-start) 0%,
    var(--color-bg-gradient-end) 100%
  );
  overflow: hidden;
  padding: 0;
  color: var(--color-text-white);
}

.hero-section .container {
  max-width: 1420px;
  padding: 180px 30px 0;
}

/* Geometric Pattern Overlay */
.hero-pattern-left,
.feature-pattern-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../assets/icons/hero-bg-pattern-left.svg");
  background-repeat: no-repeat;
  opacity: 1;
  pointer-events: none;
}

.hero-pattern-right {
  position: absolute;
  top: 10%;
  right: 0;
  width: 100%; /* Constrain width so it doesn't overlap the left pattern */
  height: 100%;
  background: url("../assets/icons/hero-bg-pattern-right.svg");
  background-repeat: no-repeat;
  background-position: top right; /* Explicitly pin the image to the top right */
  opacity: 1;
  pointer-events: none;
  z-index: 1; /* Ensure it stays behind the content but visible */
}

.banner-left-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../assets/icons/banner-bg-pattern-left.png");
  background-repeat: no-repeat;
  opacity: 1;
  pointer-events: none;
}

.pattern-binary {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%; /* Constrain width so it doesn't overlap the left pattern */
  height: 100%;
  background: url("../assets/icons/binary-pattern-white.png") no-repeat right
    center;
  background-repeat: no-repeat;
  background-position: top right; /* Explicitly pin the image to the top right */
  opacity: 1;
  pointer-events: none;
  z-index: 1; /* Ensure it stays behind the content but visible */
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr minmax(340px, 385px);
  position: relative;
  z-index: 2;
}

.hero-content {
  position: relative;
}

.hero-title {
  max-width: 730px;
  width: 85%;
  margin-bottom: 28px;
}

.text-cyan {
  color: var(--color-text-cyan);
  position: relative;
  display: inline-block;
}

.highlighted-grow {
  position: relative;
}

.man-wrapper {
  display: none;
}

/* Orange Underline Brush Stroke */
.highlighted-grow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0px;
  width: 100%;
  height: 9px;
  background: url("../assets/icons/orange-underline.png") no-repeat center;
  background-size: 100% 100%;
}

.hero-desc {
  max-width: 530px;
  width: 100%;
  font-size: var(--fs-large);
  line-height: var(--lh-large);
  margin-bottom: 32px;
}

.benefit-list {
  max-width: 425px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  color: #fff;
  gap: 12px;
  font-weight: 500;
}

.arrow-desktop {
  max-width: 160px;
  width: 100%;
  transform: rotate(180deg) scaleX(-1);
  position: relative;
  margin-top: -50%;
  left: 80%;

  animation: arrowSway 6s ease-in-out infinite;
  transform-origin: center;
}

/* Figure-eight style motion path */
@keyframes arrowSway {
  0%,
  100% {
    transform: rotate(180deg) scaleX(-1) translate(0, 0);
  }
  25% {
    transform: rotate(182deg) scaleX(-1) translate(8px, -8px);
  }
  50% {
    transform: rotate(178deg) scaleX(-1) translate(-5px, -12px);
  }
  75% {
    transform: rotate(182deg) scaleX(-1) translate(8px, -5px);
  }
}

.arrow-mobile {
  display: none;
}

.hero-visuals {
  position: relative;
  display: flex;
}

.form-card {
  background: #fff;
  padding: 24px;
  border-radius: var(--border-radius-card);
  width: 100%;
  max-width: 385px;
  box-shadow: 0 4px 4px rgba(0, 83, 199, 0.24);
  color: var(--color-text-dark);
  z-index: 10;
  position: relative;
  height: fit-content;
  margin-bottom: 50px;
}

.form-header {
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  font-weight: 600;
  text-align: center;
  width: 85%;
  margin: 0 auto;
  margin-bottom: 18px;
}

.form-input {
  width: 100%;
  padding: 10px 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-input);
  margin-bottom: 12px;
}

/* Container for relative positioning */
.form-group {
  position: relative;
}

.form-input{
  position: relative;
}

.floating-label {
  position: absolute;
  left: 20px;
  top: 3px; /* Aligned with input text initially */
  color: #878787;
  font-size: 14px;
  visibility: hidden;
  transition: all 0.2s ease;
  pointer-events: none; /* Allows clicking "through" the label to the input */
  background-color: transparent;
}

/* ONLY SHOW WHEN TYPING:
   Triggered only when the placeholder is NOT shown
*/
.form-input:not(:placeholder-shown) ~ .floating-label {
  visibility: visible;
}

.business-form .form-input:not(:placeholder-shown) {
  padding: 17px 18px 3px;
}

/* Tooltip Base */
.error-tooltip {
  position: absolute;
  bottom: -45px;
  left: 15px;
  z-index: 10;
  display: none;
  margin-top: -18px;
}

.textarea-msg .error-tooltip{
  top: 90px;
}

.business-form .error-tooltip {
  top: 62px;
}

/* Focus states for all form elements */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #e89c45 !important; /* Brand Blue */
}

/* Update these lines in main.css */
input.error ~ .error-tooltip,
select.error ~ .error-tooltip,
textarea.error ~ .error-tooltip,
.select-wrapper:has(select.error) + .error-tooltip {
  display: block !important;
}

.tooltip-content {
  background-color: #fffd8b; /* Yellow background from design */
  color: #000;
  padding: 6px 12px;
  font-size: var(--fs-small);
  line-height: var(--lh-small);
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  border: 1px solid #e89c45;
}

.tooltip-arrow {
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 17px solid #e89c45; /* Your orange/red border color */
  margin-left: 15px;
  position: relative;
}

/* The Yellow Triangle (The "Fill") */
.tooltip-arrow::after {
  content: "";
  position: absolute;
  bottom: -18.5px; /* Offset to allow 1px border at bottom */
  left: -8px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 16px solid #fffd8b;
}

.error-icon {
  width: 27px;
  height: 27px;
}

/* Red border for the invalid input */
input:invalid:not(:placeholder-shown) {
  border-color: #800000 !important;
}

/* Red border for invalid inputs */
.form-group input.error,
.form-group select.error,
.form-group textarea.error,
.select-wrapper:has(select.error) {
  border: 1px solid #800000 !important; /* Deep red for error */
}

/* Maintain blue focus only if the field is NOT currently an error */
.form-group input:focus:not(.error),
.form-group select:focus:not(.error),
.form-group textarea:focus:not(.error) {
  outline: none;
  border-color: #e89c45 !important; /* Brand Blue */
}

/* Tooltip visibility */
.form-input.error ~ .error-tooltip,
.select-wrapper:has(select.error) ~ .error-tooltip {
  display: block !important;
}

textarea {
  height: 130px;
}

.btn-submit {
  width: 100%;
  background-color: var(--color-accent-orange);
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: var(--border-radius-input);
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s all ease;
}

.btn-submit:hover {
  background-color: var(--blue-color);
}

.terms-text {
  font-size: var(--fs-small);
  line-height: var(--lh-small);
  text-align: center;
  margin-top: 12px;
  color: rgba(0, 0, 0, 0.6);
}

.terms-text a {
  font-size: var(--fs-small);
  line-height: var(--lh-small);
  color: var(--blue-color);
}

.terms-text a:hover {
  color: var(--color-accent-orange);
  text-decoration: underline;
  text-decoration-color: var(--color-accent-orange);
}

/* Man image positioning */
.man-wrapper {
  position: relative;
  bottom: -140px;
  right: 25px;
  height: fit-content;
  z-index: 5;
}

.man-wrapper-desktop {
  max-width: 422px;
  width: 43%;
  position: relative;
  left: 57%;
  height: fit-content;
  z-index: 5;
}

.man-wrapper img:last-child {
  max-width: 320px;
  width: 100%;
}

/* Service Section Styling */
.services-section {
  padding: 60px 0;
  background-color: #fff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Desktop: 3 columns */
  gap: 20px;
}

.service-card {
  background: #eef5ff; /* Light blue tint from design */
  padding: 30px 24px;
  border-radius: 12px;
  border: 1px solid #96c2ff;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 71, 171, 0.1);
}

.service-icon-wrapper {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    270deg,
    var(--color-bg-gradient-start) 0%,
    var(--color-bg-gradient-end) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-card h3 {
  margin-bottom: 12px;
}

.team-features-section {
  position: relative;
  padding: 60px 0 0;
  background: linear-gradient(
    90deg,
    var(--color-bg-gradient-start) 0%,
    var(--color-bg-gradient-end) 100%
  );
  overflow: hidden;
}

.team-features-section .container {
  max-width: 1440px;
  padding-right: 60px;
}

.features-header h2 {
  max-width: 600px;
  color: var(--color-text-white);
}

.sub-heading {
  color: var(--color-accent-orange);
  font-size: var(--fs-highlight);
  line-height: var(--lh-highlight);
  font-weight: 700;
}

.split-layout {
  display: grid;
  grid-template-columns: 0.9fr 1fr; /* Team on left, content on right */
  gap: 10px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.team-visual {
  display: flex;
  justify-content: flex-end;
  align-self: flex-end; /* Keeps team standing on the bottom edge */
}

.team-img {
  max-width: 100%;
  height: auto;
  display: block;
}

.decorative-double-circle {
  display: none;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;

  margin-top: 18px;
}

.features-content {
  margin-bottom: 50px;
}

.feature-card {
  background: #fff;
  padding: 12px;
  border-radius: 8px;
  color: var(--color-text-dark);
}

.card-text h3 {
  font-size: var(--fs-large-bold);
  line-height: var(--lh-large-bold);
}

.feature-icon {
  width: 40px;
  margin-bottom: 18px;
}

/* -----------------------------------------------------------------
   7. Services Overview Section (Icon Grid)
   ----------------------------------------------------------------- */
.services-overview-section {
  padding: 60px 0;
  background-color: #ffffff;
  text-align: center;
}

.section-header {
  margin-bottom: 36px;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
  gap: 50px 20px; /* Vertical and horizontal spacing */
}

.overview-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 302px;
  margin: 0 auto;
}

.overview-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
}

.overview-card h3 {
  font-size: var(--fs-large-bold);
  line-height: var(--lh-large-bold);
  font-weight: 700;
  margin-bottom: 6px;
}

.overview-card p {
  color: var(--color-text-dark);
}

/* -----------------------------------------------------------------
   8. Stats / Counter Section
   ----------------------------------------------------------------- */
.stats-section {
  position: relative;
  padding: 60px 0;
  /* Replace with your actual background image of the team */
  background: url("../assets/images/team-celebration-bg.webp") no-repeat center
    center;
  background-size: cover;
  color: var(--color-text-white);
  text-align: center;
}

.stats-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    270deg,
    rgba(0, 83, 199, 0.89) 0%,
    rgba(0, 50, 120, 0.89) 100%
  );
  z-index: 1;
}

.stats-section .container {
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 80px;
}

.stat-box {
  position: relative;
  padding: 0px 20px 40px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
  z-index: 1;
}

.stat-box::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.5px; /* same as old border width */
  border-radius: inherit;

  background: linear-gradient(0deg, #ebf2ff 29%, rgba(0, 83, 199, 0) 100%);

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  pointer-events: none;
}

.stat-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
}

.stat-icon img {
  width: 100%;
  filter: brightness(0) invert(1); /* Forces icons to be white */
}

.stat-number {
  font-size: var(--fs-display);
  line-height: var(--lh-display);
  font-weight: 700;
  margin-bottom: 10px;
  color: #ebf2ff;
}

/* -----------------------------------------------------------------
   9. Portfolio Section (12 Assets Grid)
   ----------------------------------------------------------------- */
.portfolio-section {
  padding: 60px 0;
  background-color: #ffffff;
  text-align: center;
}

.portfolio-title {
  margin-bottom: 50px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns on Desktop */
  gap: 24px 20px;
}

.portfolio-item {
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden; /* Clips image to the rounded corners */
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border: 1px solid #8abbff;
}

.portfolio-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0, 83, 199, 0.15);
}

.portfolio-item img {
  max-width: 500px;
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* -----------------------------------------------------------------
   10. Portfolio Lightbox (Popup)
   ----------------------------------------------------------------- */
.lightbox {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 2000; /* Above everything else */
  padding-top: 75px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9); /* Black background with opacity */
}

.lightbox-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 600px;
  border-radius: 10px;
  animation: zoomIn 0.3s; /* Smooth entry animation */
}

@keyframes zoomIn {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.close-lightbox {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #f1f1f1;
  font-size: var(--fs-h1);
  line-height: var(--lh-h1);
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.close-lightbox:hover {
  color: var(--color-accent-orange);
}

/* -----------------------------------------------------------------
   11. Pricing / Growth Packages Section
   ----------------------------------------------------------------- */
.pricing-section {
  position: relative;
  padding: 60px 0;
  background: linear-gradient(
    180deg,
    var(--color-bg-gradient-start) 0%,
    var(--color-bg-gradient-end) 100%
  );
  overflow: hidden;
}

.text-center {
  text-align: center;
}

.pricing-main-title {
  color: var(--color-text-white);
  margin-bottom: 36px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
  z-index: 2;
}

.pricing-card {
  background: #ebf2ff; /* Light base tint from design */
  border-radius: 10px;
  padding: 20px; /* Outer spacing for the border effect */
  transition: 0.3s all ease;
}

.pricing-card:hover {
  transform: translatey(-8px);
}

.card-header {
  background: #8abbff; /* Light blue header from design */
  padding: 15px 5px;
  text-align: center;
  border-radius: 5px;
  margin-bottom: 20px;
}

.header-body-divider {
  width: 100%;
  height: 1px;
  background-color: #0053c7;
  margin-bottom: 32px;
}

.card-header h3 {
  font-size: var(--fs-large-bold);
  line-height: var(--lh-large-bold);
  color: var(--color-text-dark);
}

.feature-list {
  background: #ffffff;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

/* Custom Checkmark Styling */
.check-icon {
  position: relative;
  top: 2px;
  width: 26px;
  height: 26px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

/* -----------------------------------------------------------------
   12. Success & Testimonials Section
   ----------------------------------------------------------------- */
.success-section {
  padding: 60px 0;
  background-color: #fff;
}

.success-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.8fr;
  gap: 20px;
  align-items: flex-start;
}

.success-info {
  padding-inline: 33px;
}

.policy-strategy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-item {
  max-width: 250px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.info-item h3 {
  font-size: var(--fs-large-bold);
  line-height: var(--lh-large-bold);
  font-weight: 700;
}

.info-icon {
  width: 50px;
  margin: 0 auto 12px;
}

/* Container and Slider Layout */
.testimonials-container {
  padding: 40px 25px;
  position: relative;
}

.testimonial-slider {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  position: relative;
}

/* Central Vertical Divider with Circles */
.slider-divider {
  position: absolute;
  left: 50%;
  top: 10px;
  bottom: 20%;
  width: 2px;
  background-color: #0053c7;
  transform: translateX(-50%);
}

.slider-divider::before,
.slider-divider::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  background-color: #0053c7;
  border-radius: 50%;
  left: 50%;
  transform: translateX(-50%);
}

.slider-divider::before {
  top: 0;
}
.slider-divider::after {
  bottom: 0;
}

/* Testimonial Content Styling */
.testimonial-text {
  font-size: var(--fs-large);
  line-height: var(--lh-large);
  margin-bottom: 24px;
}

.testimonial-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.testimonial-user {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.user-meta h4 {
  font-size: var(--fs-large-bold);
  line-height: var(--lh-large-bold);
  font-weight: 700;
  margin: 0;
}

/* Rating Layout (5.0 + Stars) */
.rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.content-right {
  justify-content: flex-end;
}

.rating .score {
  font-size: var(--fs-display);
  line-height: var(--lh-display);
  font-weight: 700;
  color: var(--color-text-dark);
}

.stars {
  display: flex;
}

/* Slider Navigation Buttons */
.slider-nav {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: -60px; /* Adjust to sit between sections as per design */
  position: relative;
  z-index: 10;
}

.nav-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid #0053c7;
  background: #fff;
  color: #0053c7;
  cursor: pointer;
  transition: 0.3s;
  flex-shrink: 0;
}

.right-arrow {
  transform: rotate(180deg);
}

.nav-btn:hover {
  background: #0053c7;
  color: #fff;
}

.nav-btn:hover img {
  filter: brightness(0) invert(1);
}
/* -----------------------------------------------------------------
   13. Partner Logos Section
   ----------------------------------------------------------------- */
.partners-section {
  padding: 50px 0;
  background-color: #ebf2ff; /* Light blue bar from design */
}

.partners-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: clamp(30px, 3vw, 60px);
}

.partners-grid img {
  max-height: 110px;
  width: auto;
}

/* --- Footer Styling --- */
.site-footer {
  background-color: #003278; /* Deep blue from image */
  color: #fff;
  padding: 60px 0 0;
  position: relative;
  overflow: hidden;
}

.footer-pattern {
  position: absolute;
  top: -30%;
  right: 0;
  width: 100%; /* Constrain width so it doesn't overlap the left pattern */
  height: 100%;
  background: url("../assets/icons/footer-pattern.webp");
  background-repeat: no-repeat;
  background-position: top right; /* Explicitly pin the image to the top right */
  opacity: 1;
  pointer-events: none;
  z-index: 1; /* Ensure it stays behind the content but visible */
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 0.82fr 1fr 1.55fr 0.9fr;
  gap: 40px;
  padding-bottom: 40px;
  position: relative;
  z-index: 2;
}

.paper-plane-decoration {
  position: absolute;
  left: 12%;
  bottom: 20%;
  /* Apply the Glide animation */
  animation: planeGlide 8s ease-in-out infinite;
  transform-origin: center;
}

/* Drifting flight path with subtle tilting */
@keyframes planeGlide {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(10px, -15px) rotate(5deg);
  }
  50% {
    transform: translate(-10px, -20px) rotate(-3deg);
  }
  75% {
    transform: translate(-15px, -10px) rotate(2deg);
  }
}

.footer-brand {
  max-width: 340px;
  width: 100%;
}

.footer-brand .footer-logo img {
  height: 43px;
  margin-bottom: 12px;
}

.footer-links h3 {
  font-size: var(--fs-large-bold);
  line-height: var(--lh-large-bold);
  margin-bottom: 14px;
  font-weight: 700;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links ul li {
  display: flex;
  align-items: flex-start;
  color: var(--color-text-white);
  gap: 10px;
}

/* Orange bullet points */
.footer-links ul li::before {
  content: "";
  position: relative;
  top: 12px;
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: var(--color-accent-orange);
}

.footer-links ul li a {
  transition: 0.3s;
}

.footer-links ul li a:hover {
  color: var(--color-accent-orange);
}

.copyright-bar {
  position: relative;
  z-index: 2;
  background-color: #214d8a; /* Lighter blue bar */
  text-align: center;
  padding: 10px 0;
  font-size: var(--fs-small) !important;
  line-height: var(--lh-small) !important;
}

.text-orange {
  color: var(--color-accent-orange);
}

/* -----------------------------------------------------------------
   4. TABLET BREAKPOINT
   ----------------------------------------------------------------- */
@media (max-width: 1300px) {
  :root {
    --fs-small: 15px;
    --fs-h1: 60px;
    --lh-h1: 64px;
    --fs-h2: 45px;
    --lh-h2: 52px;
    --fs-h3: 26px;
    --lh-h3: 32px;
    --fs-display: 54px;
    --lh-display: 72px;
    --fs-large: 21px;
    --lh-large: 32px;
    --fs-large-bold: 22px;
    --lh-large-bold: 30px;
    --fs-body: 19px;
    --fs-highlight: 20px;
    --lh-highlight: 26px;
  }

  .section-heading {
    margin: 0 0 14px;
  }

  .hero-banner h1 {
    margin-bottom: 12px;
  }

  .hero-banner p {
    width: 90%;
  }

  .hero-section .container {
    padding: 160px 30px 0;
  }

  .arrow-desktop {
    margin-top: -48%;
    left: 76%;
  }

  .benefit-list {
    width: 60%;
  }

  .team-features-section .container {
    padding-right: 40px;
  }

  .split-layout {
    grid-template-columns: 0.75fr 1fr;
  }

  .decorative-double-circle {
    display: block;
    position: absolute;
    top: 15%;
    left: 30%;
  }

  .stats-grid {
    gap: 36px;
  }

  .pricing-grid {
    gap: 24px;
  }

  .testimonials-container {
    padding: 40px 20px;
  }

  .partners-section {
    padding: 45px 0;
  }

  .partners-grid img {
    max-height: 90px;
  }
}

@media (max-width: 1100px) {
  :root {
    --fs-body: 18px;
    --fs-h1: 55px;
    --lh-h1: 58px;
    --fs-h2: 44px;
    --lh-h2: 50px;
    --fs-h3: 26px;
    --lh-h3: 32px;
    --fs-display: 52px;
    --lh-display: 68px;
    --fs-large: 20px;
    --lh-large: 30px;
    --fs-large-bold: 22px;
    --lh-large-blod: 30px;
  }

  .nav-menu {
    display: none;
  }
  .hamburger {
    display: block;
  }

  .hero-section .container {
    padding: 150px 30px 0;
  }

  .banner-left-pattern {
    left: -20%;
  }

  .pattern-binary {
    top: -5%;
  }

  .man-wrapper-desktop {
    display: none;
  }

  .man-wrapper {
    display: block;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }

  .hero-content {
    padding: 0 30px;
    display: flex;
    flex-direction: column;
  }

  .hero-desc {
    max-width: 100%;
    margin: 0 auto;
    margin-bottom: 26px;
  }

  .benefit-list {
    width: 100%;
    text-align: left;
  }

  .hero-pattern-left {
    top: 5%;
    background: url("../assets/icons/hero-bg-pattern-left-tab.svg");
    background-repeat: no-repeat;
  }

  .hero-pattern-right {
    background: url("../assets/icons/hero-bg-pattern-right-tab.svg");
    background-repeat: no-repeat;
    background-position: top right;
  }

  .hero-visuals {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
    align-items: flex-end;
  }

  .form-header {
    width: 70%;
    margin: 0 auto 18px;
  }

  .hero-title {
    width: 90%;
    margin: 0 auto;
    margin-bottom: 14px;
  }

  .terms-text {
    width: 75%;
    margin: 12px auto 0;
  }

  .man-wrapper {
    position: relative;
    right: auto;
    bottom: 0;
  }

  .arrow-desktop {
    margin-top: 0;
    transform: rotate(-80deg) scaleX(-1);
    position: absolute;
    width: 180px;
    top: 70%;
    left: 60%;
    bottom: revert;
    /* Apply the synchronized Sway animation */
    animation: arrowSwayMobile 6s ease-in-out infinite;
    transform-origin: center;
  }

  /* Specialized figure-eight path for 30-degree base rotation */
  @keyframes arrowSwayMobile {
    0%,
    100% {
      transform: rotate(-80deg) scaleX(-1) translate(0, 0);
    }
    25% {
      transform: rotate(-83deg) scaleX(-1) translate(8px, -8px);
    }
    50% {
      transform: rotate(-86deg) scaleX(-1) translate(-4px, -12px);
    }
    75% {
      transform: rotate(-83deg) scaleX(-1) translate(8px, -4px);
    }
  }

  .team-features-section {
    padding: 20px 0 0;
  }

  .team-features-section .container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 30px;
  }
  .split-layout {
    grid-template-columns: 1fr; /* Stacked */
    gap: 50px;
  }

  .team-visual {
    justify-content: center;
    order: -1; /* Image moves to top */
  }
  .features-header h2 {
    max-width: 80%;
    margin: 0;
  }

  .team-img {
    max-width: 512px;
    width: 90%;
  }

  .decorative-double-circle {
    top: 7%;
    right: 8%;
    left: revert;
  }

  .features-title {
    margin: 0 auto;
  }

  .services-section,
  .services-overview-section,
  .stats-section {
    padding: 50px 0;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns for tablet */
    justify-content: center;
    gap: 24px 20px;
  }

  .service-card {
    padding: 20px 18px;
  }

  /* Center the third card on its own row if needed */
  .service-card:last-child {
    grid-column: span 2;
    width: 50%;
    margin: 0 auto;
  }

  .overview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 20px;
  }

  .stats-grid {
    gap: 12px;
  }

  .stat-box {
    padding: 0px 10px 30px;
  }

  .portfolio-section {
    padding: 50px 0;
  }

  .portfolio-title {
    margin-bottom: 32px;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on Tablets */
  }

  .pricing-section {
    padding: 40px 0;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns for tablet */
    gap: 32px 20px;
  }

  .pricing-card:last-child {
    grid-column: span 2;
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
  }

  .success-section {
    padding: 40px 0;
  }

  .testimonials-container {
    padding: 40px 20px 10px;
  }

  .success-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .strategy-divider {
    display: none;
  }

  .policy-strategy {
    flex-direction: row;
  }

  .slider-nav {
    margin-top: -35px;
  }

  .partners-section {
    padding: 25px 0;
  }

  .partners-grid img {
    max-height: 65px;
  }

  .footer-pattern {
    top: -25%;
  }

  .paper-plane-decoration {
    left: 22%;
    bottom: 15%;
  }

  .footer-main-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 33px;
  }

  .footer-links ul li::before {
    top: 10px;
  }

  .footer-grid {
    grid-template-columns: 0.7fr 1fr 1.6fr 0.8fr;
    gap: clamp(18px, 2vw, 50px);
  }
}

/* -----------------------------------------------------------------
   5. MOBILE BREAKPOINT
   ----------------------------------------------------------------- */
@media (max-width: 767px) {
  :root {
    --header-height: 50px;
    --fs-h1: 36px;
    --lh-h1: 44px;
    --fs-h2: 30px;
    --lh-h2: 36px;
    --fs-h3: 24px;
    --lh-h3: 30px;
    --fs-display: 32px;
    --lh-display: 40px;
    --fs-highlight: 18px;
    --lh-highlight: 24px;
    --fs-large: 19px;
    --lh-large: 27px;
    --fs-large-bold: 20px;
    --lh-large-blod: 28px;
    --fs-small: 14px;
    --lh-small: 22px;
  }

  .section-heading {
    margin: 0 0 12px;
  }

  .hero-banner {
    padding: 140px 0 20px;
  }

  .container,
  .team-features-section .container {
    padding: 0 20px;
  }

  .pricing-section .container{
    padding: 0 12px;
  }

  .breadcrumb {
    bottom: -40px;
    padding: 10px 15px;
  }

  .logo img {
    height: 28px;
    width: auto;
  }

  .btn-contact {
    display: none;
  }

  .btn-sidebar-contact {
    display: block;
  }

  .hero-pattern-left {
    display: none;
  }

  .hero-pattern-right {
    top: 5%;
  }

  .hero-section .container {
    padding: 120px 20px 0;
  }

  .arrow-desktop {
    display: none;
  }

  .arrow-mobile {
    display: block;
    top: 5%;
    left: 0%;
    transform: rotate(30deg) scaleX(-1);
  }

  /* Specialized figure-eight path for 30-degree base rotation */
  @keyframes arrowSwayMobile {
    0%,
    100% {
      transform: rotate(30deg) scaleX(-1) translate(0, 0);
    }
    25% {
      transform: rotate(33deg) scaleX(-1) translate(8px, -8px);
    }
    50% {
      transform: rotate(27deg) scaleX(-1) translate(-4px, -12px);
    }
    75% {
      transform: rotate(33deg) scaleX(-1) translate(8px, -4px);
    }
  }

  .man-wrapper {
    width: 70%;
    max-width: 768px;
  }

  .man-wrapper img:last-child {
    width: 75%;
    position: relative;
    left: 30%;
  }
  .hero-grid {
    gap: 28px;
  }

  .hero-content {
    padding: 0;
  }

  .hero-desc {
    margin-bottom: 20px;
  }

  .benefit-list {
    margin: 0 auto;
    gap: 15px;
  }

  .benefit-item {
    gap: 10px;
  }

  .benefit-item img {
    position: relative;
    top: 5px;
    width: 20px;
    height: 20px;
  }

  .hero-visuals {
    flex-direction: column;
    align-items: center;
  }

  .form-card {
    padding: 18px;
    margin-bottom: 36px;
  }

  .form-header {
    width: 70%;
  }

  .terms-text {
    width: 90%;
  }

  .services-section,
  .stats-section {
    padding: 35px 0;
  }

  .services-grid {
    grid-template-columns: 1fr; /* Single column for mobile */
    gap: 18px;
  }

  /* Center the third card on its own row if needed */
  .service-card:last-child {
    grid-column: auto;
    width: 100%;
  }

  .service-icon-wrapper {
    width: 60px;
    height: 60px;
  }

  .service-icon-wrapper img {
    width: 38px;
    height: 38px;
  }

  .team-features-section {
    padding: 35px 0 0;
  }

  .split-layout {
    gap: 26px;
  }

  .decorative-double-circle {
    display: none;
  }

  .features-grid {
    grid-template-columns: 1fr; /* Single column cards */
  }

  .features-header h2 {
    max-width: 100%;
    margin: 0;
  }

  .features-content {
    margin-bottom: 40px;
  }

  .services-overview-section,
  .pricing-section {
    padding: 35px 0;
  }

  .section-header {
    margin-bottom: 24px;
  }

  .overview-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .overview-card {
    max-width: 290px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 12px;
  }

  .stat-box {
    max-width: 200px;
    width: 100%;
    margin: 0 auto;
  }

  .portfolio-section {
    padding: 35px 0;
  }

  .portfolio-title {
    margin-bottom: 24px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .lightbox-content {
    width: 90%;
  }

  .pricing-grid {
    grid-template-columns: 1fr; /* Stacked for mobile */
    gap: 12px;
  }

  .pricing-card:last-child {
    max-width: 100%;
    grid-column: auto;
  }

  .success-section {
    padding: 35px 0;
  }

  .success-grid {
    gap: 24px;
  }

  .policy-strategy {
    flex-direction: column;
    gap: 36px;
  }

  .testimonials-container {
    padding: 0;
  }

  .testimonial-slider {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
  }

  /* Central Horizontal Divider with Circles */
  .slider-divider {
    top: 50%;
    left: 0px;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
  }

  .slider-divider::before,
  .slider-divider::after {
    top: 50%;
    transform: translateY(-50%);
    left: auto;
  }

  .slider-divider::before {
    left: 0;
  }

  .slider-divider::after {
    right: 0;
  }

  .testimonial-card {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .testimonial-text {
    text-align: center;
    margin-bottom: 16px;
  }

  .reverse-row {
    flex-direction: row-reverse;
  }

  .testimonial-footer {
    align-items: center;
    gap: 18px;
  }

  .slider-nav {
    margin-top: 24px;
  }

  .nav-btn {
    width: 32px;
    height: 32px;
  }

  .partners-section {
    padding: 10px 0;
  }

  .partners-grid {
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    column-gap: clamp(30px, 8vw, 60px);
    row-gap: 12px;
  }

  .partners-grid img {
    max-height: 45px;
  }

  .site-footer {
    padding: 40px 0 0;
  }

  .footer-pattern {
    top: 25%;
  }

  .paper-plane-decoration {
    transform: scaleX(-1);
    top: 20%;
    right: 10%;
    bottom: revert;
    left: revert;
    /* Apply the specialized mobile glide */
    animation: planeGlideMobile 6s ease-in-out infinite;
    transform-origin: center;
  }

  /* Keyframes for the flipped mobile plane */
  @keyframes planeGlideMobile {
    0%,
    100% {
      /* Keep the scaleX(-1) in all steps to prevent flipping back */
      transform: scaleX(-1) translate(0, 0) rotate(0deg);
    }
    50% {
      /* Subtle drifting motion */
      transform: scaleX(-1) translate(-20px, -15px) rotate(-5deg);
    }
  }
  .footer-brand .footer-logo img {
    height: 30px;
    margin-bottom: 4px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 26px;
  }

  .footer-links h3 {
    margin-bottom: 8px;
  }
}

@media (max-width: 500px) {
  .sidebar-logo img {
    height: 30px;
  }

  .close-menu img {
    width: 22px;
  }

  .sidebar-header {
    margin-bottom: 26px;
  }

  .sidebar-nav ul {
    gap: 10px;
    margin-bottom: 56px;
  }

  .sidebar-link {
    padding: 10px 16px;
  }

  .nav-icon {
    width: 24px;
    height: 24px;
  }

  .sidebar-footer {
    padding: 0px 35px 30px;
  }

  .banner-left-pattern {
    left: -40%;
  }

  .pattern-binary {
    top: 0%;
    background: url("../assets/icons/binary-pattern-white-mob.png");
    background-repeat: no-repeat;
    background-position: top right;
  }

  .man-wrapper {
    width: 100%;
  }

  .man-wrapper img:last-child {
    width: 60%;
    left: 40%;
  }
}
