/* ===== RESET & VARIABLES ===== */
:root {
  --blue: #1565C0;
  --blue-light: #1E88E5;
  --blue-pale: #E3F2FD;
  --green: #00897B;
  --green-light: #26A69A;
  --green-pale: #E0F2F1;
  --white: #FFFFFF;
  --off-white: #FFFFFF;
  --text-dark: #0D1B2A;
  --text-mid: #3A5068;
  --text-light: #6B8BA4;
  --border: #DCE8F5;
  --shadow: 0 8px 40px rgba(21, 101, 192, 0.10);
  --radius: 16px;
  --section-pad: 60px 5%;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--white);
  color: var(--text-dark);
  overflow-x: hidden;
}

body.loading {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

/* ===== PRELOADER ===== */
#preloader {
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.loader-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  animation: loaderPulse 2s ease-in-out infinite;
}

.loader-logo img {
  height: 50px;
  width: auto;
}

.loader-logo .brand {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 28px;
}

.loader-logo .brand span {
  color: #8CC63F;
}

.loader-logo .brand em {
  color: #2196F3;
  font-style: normal;
}

.loader-progress {
  width: 200px;
  height: 3px;
  background: var(--blue-pale);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--green));
  animation: progressFill 3s ease-in-out forwards;
}

.powered-by {
  font-size: 14px;
  color: rgba(15, 23, 42, 0.5);
  font-weight: 500;
  letter-spacing: 0.5px;
  opacity: 0;
  animation: fadeIn 0.8s 0.5s ease forwards;
}

.powered-by .parro {
  color: #8CC63F;
  font-weight: 700;
}

.powered-by .phins {
  color: #2196F3;
  font-weight: 700;
}

.brand-wrap {
  background: linear-gradient(90deg, #A3E635, #22D3EE, #A3E635);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  animation: brandShimmer 3s linear infinite;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background: #A3E635;
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 10px #A3E635;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid #A3E635;
  animation: dotPulse 2s ease-out infinite;
}

@keyframes dotPulse {
  0% {
    transform: scale(0.5);
    opacity: 1;
  }

  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

@keyframes brandShimmer {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 200% center;
  }
}

@keyframes loaderPulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
}

@keyframes progressFill {
  0% {
    width: 0%;
  }

  100% {
    width: 100%;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== NAVBAR ===== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: transparent;
  padding: 0 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.scrolled {
  height: 70px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.nav-logo:hover {
  transform: scale(1.02);
}

.nav-logo .logo-img {
  height: 38px;
  width: auto;
  display: block;
}

.nav-logo .brand {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 26px;
  color: #fff; /* Default white for hero */
  transition: color 0.3s ease;
}

nav.scrolled .nav-logo .brand {
  color: var(--text-dark);
}

.nav-logo .brand span {
  color: #fff; /* White for hero */
  transition: color 0.3s ease;
}

nav.scrolled .nav-logo .brand span,
body.menu-open .nav-logo .brand span {
  color: #8CC63F;
}

.nav-logo .brand em {
  color: #fff;
  font-style: normal;
  transition: color 0.3s ease;
  opacity: 0.9;
}

nav.scrolled .nav-logo .brand em,
body.menu-open .nav-logo .brand em {
  color: #2196F3;
  opacity: 1;
}

/* Desktop nav links */
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  transition: all 0.3s ease;
  padding: 8px 0;
  position: relative;
}

nav.scrolled .nav-links a {
  color: var(--text-mid);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
}

nav.scrolled .nav-links a::after {
  background: var(--blue);
}

.nav-links a:hover {
  color: #fff;
}

nav.scrolled .nav-links a:hover {
  color: var(--blue);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(135deg, #8CC63F, #7BB234);
  color: #fff;
  padding: 10px 26px;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(21, 101, 192, 0.2);
}

.nav-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 28px rgba(21, 101, 192, 0.3);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border: none;
  background: none;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: #fff; /* White by default for hero */
  border-radius: 4px;
  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

nav.scrolled .hamburger span,
body.menu-open .hamburger span {
  background: var(--text-dark);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile drawer */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  transform: translateX(100%);
  transition: transform .35s ease;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu a {
  display: block;
  width: 100%;
  text-align: center;
  padding: 18px 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: color .2s, background .2s;
}

.mobile-menu a:hover {
  color: var(--blue);
  background: var(--blue-pale);
}

.mobile-menu .mob-cta {
  margin-top: 24px;
  width: 80%;
  max-width: 300px;
  background: linear-gradient(135deg, #8CC63F, #7BB234);
  color: #fff;
  padding: 16px;
  border-radius: 12px;
  font-size: 18px;
  border-bottom: none;
  border-radius: 12px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--blue) 0%, var(--green) 100%);
  color: #fff;
  padding: 90px 5% 60px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-powered {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(20px);
  padding: 10px 24px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: fadeUpCentered 0.8s 0.6s ease both;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(255, 255, 255, 0.05);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.hero-powered:hover {
  transform: translateX(-50%) translateY(-5px);
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(163, 230, 53, 0.4);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(163, 230, 53, 0.1);
}

.powered-label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  line-height: 1;
  margin-top: 5px;
  /* Optical centering against larger text */
}

.brand-wrap {
  background: linear-gradient(90deg, #A3E635, #22D3EE, #A3E635);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  animation: brandShimmer 3s linear infinite;
  font-size: 16px;
  letter-spacing: -0.2px;
  text-transform: none;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.hover-msg {
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: var(--blue);
  padding: 3px 10px;
  border-radius: 12px;
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: inline-flex;
  align-items: center;
  margin-left: 0;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-powered:hover .hover-msg {
  opacity: 1;
  max-width: 120px;
  margin-left: 10px;
}

@keyframes fadeUpCentered {
  from {
    opacity: 0;
    transform: translate(-50%, 20px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Ccircle cx='30' cy='30' r='2' fill='%23ffffff' fill-opacity='0.03'/%3E%3C/g%3E%3C/svg%3E");
}

.hero-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 137, 123, 0.3) 0%, transparent 70%);
  top: -80px;
  right: -80px;
  pointer-events: none;
  animation: floatGlow 6s ease-in-out infinite;
}

@keyframes floatGlow {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-24px) scale(1.05);
  }
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 1;
}

.hero-text {
  flex: 1;
}

.hero-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 16px;
  border-radius: 50px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 500;
  backdrop-filter: blur(10px);
  animation: fadeUp .6s ease both;
}

.hero-badge.iso-badge {
  background: rgba(255, 215, 0, 0.08);
  border-color: rgba(255, 215, 0, 0.3);
  color: #fff;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.1);
}

.hero-badge.iso-badge img {
  height: 18px;
  width: auto;
}

.hero-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(38px, 5.5vw, 66px);
  color: #fff;
  line-height: 1.05;
  margin-bottom: 14px;
  animation: fadeUp .6s .1s ease both;
}

.hero-title .accent {
  background: linear-gradient(90deg, var(--green-pale), #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: opacity 0.3s ease;
}

.hero-sub {
  font-size: clamp(18px, 2vw, 20px);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 28px;
  min-height: 5.2em;
  /* Ensure it covers 3-4 lines without shrinking */
  display: block;
}

#hero-sub::after {
  content: '|';
  animation: blink 0.7s infinite;
  margin-left: 2px;
  color: var(--green);
  font-weight: bold;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp .6s .3s ease both;
}

.btn-primary {
  background: #fff;
  color: var(--blue);
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.4);
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all .2s;
  white-space: nowrap;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 40px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  padding: 12px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  animation: fadeUp .6s .4s ease both;
  width: fit-content;
  max-width: 500px;
}

.stat {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 16px;
  position: relative;
  transition: transform 0.3s ease;
}

.stat:hover {
  transform: translateY(-5px);
}

/* Horizontal Divider */
.stat:nth-child(1),
.stat:nth-child(2) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Vertical Divider */
.stat:nth-child(odd) {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.stat:hover .stat-icon {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1) rotate(5deg);
}

.stat-info {
  text-align: left;
}

.stat-num {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 28px;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.stat-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 2px;
}

/* Mobile adjustments for stats */
@media (max-width: 1200px) {
  .hero-stats {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .hero-stats {
    margin-top: 32px;
    padding: 10px;
    gap: 0;
    border-radius: 20px;
    width: 100%;
  }

  .stat {
    gap: 12px;
    padding: 10px;
  }

  .stat-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
    border-radius: 10px;
  }

  .stat-num {
    font-size: 24px;
  }

  .stat-label {
    font-size: 10px;
    letter-spacing: 0.5px;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    padding: 16px 8px;
    gap: 0;
  }

  .stat {
    border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    flex-direction: column;
    text-align: center;
    gap: 8px;
    padding: 16px 5px;
  }

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

  .stat:nth-child(even) {
    border-right: none !important;
  }

  .stat:nth-child(3),
  .stat:nth-child(4) {
    border-bottom: none !important;
  }

  .stat-icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .stat-num {
    font-size: 20px;
  }

  .stat-label {
    font-size: 9px;
  }
}

.hero-visual {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  justify-items: end;
  align-items: center;
  animation: fadeUp .6s .3s ease both;
  position: relative;
}

.hero-image-wrap {
  grid-area: 1 / 1 / 2 / 2;
  width: 100%;
  max-width: 500px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  animation: floatImage 6s ease-in-out infinite;
  position: relative;
}

.hero-image-wrap.active {
  opacity: 1;
  visibility: visible;
}

.hero-image-wrap img {
  width: 100%;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

/* Floating Cards Styles */
.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  padding: 10px 16px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.4);
  width: 150px;
  z-index: 10;
  animation: floatCard 4s ease-in-out infinite;
  pointer-events: none;
}

.fc-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.fc-text h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1px;
}

.fc-text p {
  font-size: 9px;
  color: var(--text-mid);
  white-space: nowrap;
}

/* Card Positions Nearer to Phone */
.hero-partners {
  background: linear-gradient(90deg, #f8fafc, #ffffff, #f8fafc);
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.01);
}

.partners-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 0 5%;
}

.partners-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  white-space: nowrap;
  flex-shrink: 0;
}

.partners-marquee {
  flex: 1;
  overflow: hidden;
  position: relative;
  /* subtle fade on edges */
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.partners-track {
  display: flex;
  gap: 60px;
  align-items: center;
  width: max-content;
  animation: scrollPartners 25s linear infinite;
}

.partners-track:hover {
  animation-play-state: paused;
}

@keyframes scrollPartners {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 30px));
  }

  /* 50% width minus half gap */
}

.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
  filter: grayscale(1);
  transition: all .4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
  white-space: nowrap;
}

.partner-item img {
  height: 38px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.partner-item:hover,
.partner-item.focused {
  opacity: 1;
  filter: grayscale(0);
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .partners-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .partners-marquee {
    width: 100%;
  }
}

.c1 {
  top: 6%;
  left: 90px;
  animation-delay: 0s;
}

.c2 {
  top: 38%;
  left: -30px;
  animation-delay: 0.5s;
}

.c3 {
  top: 76%;
  left: -100px;
  animation-delay: 1s;
}

.c4 {
  top: 12%;
  right: -10px;
  animation-delay: 0.3s;
}

.c5 {
  top: 48%;
  right: -60px;
  animation-delay: 0.8s;
}

.c6 {
  top: 88%;
  right: 90px;
  animation-delay: 1.2s;
}

@keyframes floatCard {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* Adjust for smaller screens (Laptops/Tablets) */
@media(max-width: 1100px) {
  .hero-inner {
    gap: 30px;
    padding: 0 4%;
  }

  .hero-visual {
    transform: scale(0.9);
    transform-origin: right center;
  }

  .floating-card {
    width: 120px;
    padding: 6px 10px;
  }

  /* Bring cards closer to avoid clipping */
  .c1 { left: 0px; }
  .c2 { left: -15px; }
  .c3 { left: 5px; }
  .c4 { right: -5px; }
  .c5 { right: -20px; }
  .c6 { right: 30px; }

  .hero-stats {
    max-width: 440px;
    padding: 8px;
  }
  
  .stat {
    padding: 15px 12px;
  }
}


@keyframes floatImage {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

/* ===== SECTION COMMONS ===== */
.section-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 10px;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 4vw, 44px);
  color: var(--text-dark);
  line-height: 1.1;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.75;
}

/* ===== ABOUT / SLIDES ===== */
.about {
  background: #FFFFFF;
  padding: var(--section-pad);
  overflow: hidden;
}

.about-header {
  max-width: 1200px;
  margin: 0 auto 60px;
}

.slide {
  max-width: 1240px;
  margin: 0 auto 40px;
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 60px;
  border-radius: 32px;
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .7s ease, transform .7s ease;
}

#slide1 {
  background: linear-gradient(135deg, rgba(52, 161, 235, 0.04) 0%, rgba(52, 161, 235, 0.08) 100%);
}

#slide2 {
  background: linear-gradient(135deg, rgba(135, 211, 59, 0.04) 0%, rgba(135, 211, 59, 0.08) 100%);
}

#slide3 {
  background: linear-gradient(135deg, rgba(156, 39, 176, 0.04) 0%, rgba(156, 39, 176, 0.08) 100%);
}

.slide:last-child {
  margin-bottom: 0;
}

.slide.visible {
  opacity: 1;
  transform: translateY(0);
}

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

.slide-img-wrap {
  flex: 0 0 240px;
  width: 240px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(21, 101, 192, 0.08);
  border-top: 32px solid #111;
  border-bottom: 32px solid #111;
  border-left: 10px solid #111;
  border-right: 10px solid #111;
  background: #111;
  transition: transform .3s, box-shadow .3s;
}

.slide-img-wrap.wide {
  flex: 0 0 540px;
  width: 540px;
  border-radius: 20px;
  border: 16px solid #111;
  background: #111;
}

/* Specific overrides for laptop mockup to prevent border doubling */
.slide-img-wrap.wide.laptop-mockup {
  background: transparent;
  box-shadow: none;
  overflow: visible;
  border-radius: 20px 20px 0 0;
}

.laptop-mockup {
  position: relative;
  background: #1a1a1a;
  border-radius: 20px 20px 0 0;
  background: #151515;
  padding: 12px;
  border-radius: 12px 12px 0 0;
  border: 1px solid #333;
}

.laptop-mockup::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: -10%;
  right: -10%;
  height: 12px;
  background: #151515;
  border-radius: 0 0 12px 12px;
  z-index: -1;
}

.slide-img-wrap:hover {
  transform: translateY(-8px);
}

.slide-img-wrap:hover img {
  box-shadow: 0 30px 70px rgba(21, 101, 192, 0.15);
}

.slide-content {
  flex: 1;
}

.slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.tag-blue {
  background: #E3F2FD;
  color: #1E88E5;
}

.tag-green {
  background: #E8F5E9;
  color: #43A047;
}

.tag-purple {
  background: #F3E5F5;
  color: #8E24AA;
}

.slide-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 18px;
  line-height: 1.2;
  color: var(--text-dark);
}

.slide-text {
  font-size: 17px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 30px;
}

.slide-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  padding: 8px 18px;
  border-radius: 50px;
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  background: #fff;
  transition: all 0.3s ease;
  cursor: default;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pill:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-pale);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 136, 229, 0.1);
}

/* ===== FEATURES ===== */
.features {
  padding: var(--section-pad);
  background: #fff;
}

.features-header {
  max-width: 1200px;
  margin: 0 auto 50px;
  text-align: center;
}

.about-header,
.features-header,
.advantages-header {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.about-header.visible,
.features-header.visible,
.advantages-header.visible {
  opacity: 1;
  transform: translateY(0);
}

.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feat-card {
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 28px 24px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease, border-color .2s, box-shadow .2s;
  position: relative;
  overflow: hidden;
}

.feat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}

.feat-card:hover::before {
  transform: scaleX(1);
}

.feat-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.feat-card:hover {
  border-color: var(--blue-light);
  box-shadow: 0 12px 40px rgba(21, 101, 192, 0.11);
  transform: translateY(-4px);
}

.feat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
  background: var(--blue-pale) !important;
}

.feat-card:nth-child(even) .feat-icon {
  background: var(--green-pale) !important;
}

.feat-card h3 {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 8px;
}

.feat-card p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ===== ADVANTAGES ===== */
.advantages {
  background: linear-gradient(160deg, var(--green) 0%, var(--blue) 100%);
  color: #fff;
  padding: var(--section-pad);
  position: relative;
  overflow: hidden;
}

.advantages::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='40' cy='40' r='1.5' fill='%23ffffff' fill-opacity='0.04'/%3E%3C/svg%3E");
}

.advantages-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.advantages-header {
  text-align: center;
  margin-bottom: 50px;
}

.advantages-header .section-label {
  color: var(--green-pale);
}

.advantages-header .section-title {
  color: #fff;
}

.advantages-header .section-desc {
  color: rgba(255, 255, 255, 0.7);
  max-width: 560px;
  margin: 0 auto;
}

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

.adv-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 32px 24px;
  text-align: center;
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease, background .2s, border-color .2s;
}

.adv-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.adv-card:hover {
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.28);
}

.adv-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 44px;
  background: linear-gradient(90deg, var(--green-pale), #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
}

.adv-card h3 {
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 8px;
}

.adv-card p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 15px;
  line-height: 1.65;
}

/* ===== CLIENTS ===== */
.clients {
  padding: 80px 0;
  background: #FFFFFF;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.logo-slider {
  padding: 20px 0;
  display: flex;
  width: 100%;
}

.logo-track {
  display: flex;
  gap: 50px;
  animation: scroll 60s linear infinite;
  white-space: nowrap;
}

.logo-track:hover {
  animation-play-state: paused;
}

.client-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 24px;
  background: #FAFCFF;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(21, 101, 192, 0.03);
}

.client-img {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: contain;
  flex-shrink: 0;
}

.client-logo span {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 16px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}


/* ===== CONTACT ===== */
.contact {
  padding: var(--section-pad);
  background: var(--off-white);
}

.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 56px;
  align-items: flex-start;
}

.contact-info {
  flex: 1;
}

.contact-info .section-desc {
  margin-bottom: 28px;
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 10px;
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.contact-item:nth-child(even) .contact-icon {
  background: var(--green-pale);
}

.contact-item h4 {
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 3px;
}

.contact-item p {
  font-size: 13px;
  color: var(--text-mid);
}

.contact-form {
  flex: 1.2;
  background: #fff;
  border-radius: 22px;
  padding: 36px;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--border);
  opacity: 0;
  transform: translateY(28px);
  transition: all .7s ease;
}

.contact-form.visible {
  opacity: 1;
  transform: translateY(0);
}

.contact-form h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dark);
  display: block;
  margin-bottom: 5px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text-dark);
  background: #FAFCFF;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue-light);
  box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
}

.submit-btn {
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  font-family: inherit;
  cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
}

.submit-btn:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(21, 101, 192, 0.3);
}

.form-success {
  display: none;
  text-align: center;
  padding: 16px;
  background: var(--green-pale);
  border-radius: 10px;
  color: var(--green);
  font-weight: 600;
  margin-top: 10px;
  font-size: 14px;
}

/* ===== FOOTER ===== */
footer {
  background: var(--white);
  color: var(--text-mid);
  padding: 80px 5% 40px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  text-decoration: none;
}

.footer-logo .logo-img {
  height: 38px;
  width: auto;
  display: block;
}

.footer-logo .brand {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: var(--text-dark);
}

.footer-logo .brand span {
  /* color: var(--green); */
  color: #8CC63F;
}

.footer-logo .brand em {
  /* color: var(--blue); */
  color: #2196F3;
  font-style: normal;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-mid);
  margin-bottom: 20px;
}

.iso-footer {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-dark);
}

.iso-footer img {
  height: 32px;
  width: auto;
}

.iso-footer strong {
  color: var(--blue);
  font-weight: 700;
}

.footer-navs {
  display: flex;
  gap: 80px;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
  font-family: 'Syne', sans-serif;
}

.footer-col a {
  display: block;
  color: var(--text-mid);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 14px;
  transition: color .2s, transform .2s;
}

.footer-col a:hover {
  color: var(--blue);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}

.copy {
  font-size: 13px;
  color: var(--text-light);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE — TABLET 1024px ===== */
@media(max-width:1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .adv-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .slide-img-wrap.wide {
    flex: 0 0 340px;
    width: 340px;
  }
}

/* ===== RESPONSIVE — MOBILE 768px ===== */
@media(max-width:768px) {
  :root {
    --section-pad: 40px 5%;
  }

  /* Navbar */
  nav {
    height: 72px;
    padding: 0 5%;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  /* Hero */
  .hero {
    padding: 100px 5% 60px;
    min-height: auto;
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .hero-text {
    order: 1;
  }

  .hero-visual {
    order: 2;
    flex: none;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    margin-top: 10px;
  }

  .floating-card {
    width: 100px;
    padding: 6px 8px;
    border-radius: 12px;
    gap: 6px;
  }

  .fc-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    font-size: 12px;
    border-radius: 6px;
  }

  .fc-text h4 {
    font-size: 9px;
  }

  .fc-text p {
    font-size: 7px;
  }

  .c1 {
    top: 10%;
    left: 0%;
  }

  .c2 {
    top: 40%;
    left: -5%;
  }

  .c3 {
    top: 75%;
    left: 5%;
  }

  .c4 {
    top: 20%;
    right: 0%;
  }

  .c5 {
    top: 50%;
    right: -5%;
  }

  .c6 {
    top: 85%;
    right: 5%;
  }

  .hero-image-wrap {
    transform: scale(0.9);
    margin: 0 auto;
    width: 100%;
    grid-area: 1 / 1 / 2 / 2;
  }

  .hero-badges {
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
  }

  .hero-badge {
    font-size: 13px;
    padding: 5px 12px;
    margin: 0;
  }

  .hero-badge.iso-badge img {
    height: 14px;
  }

  .hero-title {
    font-size: clamp(30px, 7vw, 40px);
    line-height: 1.1;
    margin-bottom: 12px;
  }

  .hero-sub {
    font-size: 15px;
    margin-bottom: 25px;
    min-height: 120px;
    /* Prevent layout jumping during typing */
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-btns {
    justify-content: center;
  }



  .hero-powered {
    bottom: 20px;
    font-size: 12px;
    padding: 4px 14px;
  }

  .hero-powered .hover-msg {
    display: none;
  }

  /* Slides */
  .slide,
  .slide.reverse {
    flex-direction: column;
    gap: 28px;
    padding: 30px 20px;
  }

  .slide-img-wrap {
    flex: none;
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
    border-width: 18px 8px; /* Slimmer bezels on mobile */
  }

  .slide-img-wrap.wide {
    flex: none;
    width: 100%;
    max-width: 90%;
    margin-bottom: 25px;
    border-width: 12px;
  }

  .laptop-mockup {
    border-width: 8px;
    border-bottom-width: 14px;
    border-radius: 10px 10px 0 0;
    margin-bottom: 25px;
  }

  .laptop-mockup::after {
    left: -12%;
    right: -12%;
    bottom: -22px;
    height: 10px;
    border-radius: 0 0 12px 12px;
  }

  .laptop-mockup::before {
    bottom: -14px;
    height: 8px;
    left: -2px;
    right: -2px;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Advantages */
  .adv-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .adv-num {
    font-size: 36px;
  }

  /* Clients Mobile */
  .clients {
    padding: 40px 0;
  }

  .clients .section-header {
    margin-bottom: 30px !important;
  }

  .clients .section-title {
    font-size: 24px;
  }

  .logo-slider {
    padding: 5px 0;
  }

  .logo-track {
    gap: 20px;
  }

  .client-logo {
    gap: 10px;
    padding: 8px 16px;
    border-radius: 10px;
  }

  .client-icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .client-logo span {
    font-size: 13px;
  }

  /* Contact */
  .contact-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 36px;
  }

  .contact-form {
    padding: 24px 20px;
    width: 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* Footer */
  footer {
    padding: 60px 5% 40px;
    text-align: center;
  }

  .footer-top {
    flex-direction: column;
    gap: 48px;
    margin-bottom: 48px;
    align-items: center;
  }

  .footer-brand {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-logo {
    justify-content: center;
    margin-bottom: 16px;
  }

  .footer-brand p {
    margin: 0 auto 20px;
    max-width: 280px;
    font-size: 14px;
    line-height: 1.6;
  }

  .iso-footer {
    justify-content: center;
    margin: 0 auto;
    padding: 10px 20px;
    background: #fff; /* Brighter background for premium feel */
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  }

  .footer-navs {
    flex-direction: column;
    gap: 36px;
    width: 100%;
  }

  .footer-col h4 {
    margin-bottom: 14px;
    font-size: 16px;
  }

  .footer-col a {
    margin-bottom: 10px;
    font-size: 15px; /* Slightly larger for touch targets */
  }

  .footer-col a:hover {
    transform: none;
  }

  .footer-bottom {
    padding-top: 24px;
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .copy {
    font-size: 12px;
  }
}

/* ===== RESPONSIVE — SMALL MOBILE 480px ===== */
@media(max-width:480px) {
  :root {
    --section-pad: 30px 4%;
  }

  .hero {
    padding: 75px 4% 45px;
  }

  .hero-title {
    font-size: clamp(28px, 8vw, 38px);
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    text-align: center;
    padding: 13px 20px;
  }

  .hero-btns {
    flex-direction: column;
    gap: 10px;
  }



  .adv-grid {
    grid-template-columns: 1fr;
  }

  .clients .section-title {
    font-size: 20px;
  }

  .client-logo {
    gap: 8px;
    padding: 6px 12px;
  }

  .client-icon {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .client-logo span {
    font-size: 12px;
  }

  .adv-card {
    padding: 24px 18px;
  }

  .contact-form {
    padding: 20px 16px;
  }

  .slide-img-wrap {
    max-width: 280px;
  }

  .pill {
    font-size: 13px;
    padding: 5px 12px;
  }
}