/* ===== Base ===== */
:root {
  --navy: #19154C;
  --navy-dark: #110E38;
  --navy-light: #2A2470;
  --royal: #2A2470;
  --sky: #48AEE2;
  --sky-dark: #2f97cc;
  --cream: #F4F4F4;
}

html { scroll-behavior: smooth; }
body { font-family: 'Readex Pro', sans-serif; }
html[lang='en'] body { font-family: 'Poppins', 'Readex Pro', sans-serif; }

/* ===== Preloader ===== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.25rem;
  background:
    radial-gradient(120% 120% at 50% 30%, #2A2470 0%, transparent 60%),
    linear-gradient(135deg, #19154C 0%, #140F3D 60%, #0E0B2E 100%);
  opacity: 1;
  transition: opacity .6s ease, visibility .6s ease;
}
.preloader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
body.preloading { overflow: hidden; }

.preloader-inner {
  position: relative;
  display: grid;
  place-items: center;
  width: 180px;
  height: 180px;
}
.preloader-logo {
  width: 150px;
  height: auto;
  animation: pl-pulse 1.8s ease-in-out infinite;
}
.preloader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(72, 174, 226, 0.15);
  border-top-color: #48AEE2;
  animation: pl-spin 1s linear infinite;
}
.preloader-bar {
  width: 200px;
  height: 3px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.preloader-bar span {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: 9999px;
  background: linear-gradient(90deg, transparent, #48AEE2, transparent);
  animation: pl-load 1.2s ease-in-out infinite;
}
@keyframes pl-spin { to { transform: rotate(360deg); } }
@keyframes pl-pulse { 0%, 100% { transform: scale(1); opacity: .92; } 50% { transform: scale(1.06); opacity: 1; } }
@keyframes pl-load { 0% { transform: translateX(-120%); } 100% { transform: translateX(320%); } }

@media (prefers-reduced-motion: reduce) {
  .preloader-logo, .preloader-ring, .preloader-bar span { animation: none; }
}

::selection { background: var(--sky); color: #fff; }

/* Smooth anchor offset for fixed header */
section[id] { scroll-margin-top: 84px; }

/* ===== Header ===== */
#header { background: transparent; }
#header.scrolled {
  background: rgba(17, 14, 56, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 30px -10px rgba(0, 0, 0, 0.4);
}

.nav-link { position: relative; transition: color .25s; }
.nav-link::after {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--sky);
  transition: width .3s ease;
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after { width: 100%; }

.mobile-link {
  display: block;
  padding: 0.75rem 0.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color .2s, padding-inline-start .2s;
}
.mobile-link:hover { color: var(--sky); padding-inline-start: 0.75rem; }

/* ===== Buttons ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--sky);
  color: #fff;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  border-radius: 9999px;
  box-shadow: 0 12px 28px -8px rgba(72, 174, 226, 0.55);
  transition: transform .25s, background .25s, box-shadow .25s;
}
.btn-primary:hover { background: var(--sky-dark); transform: translateY(-2px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  border-radius: 9999px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  transition: background .25s, border-color .25s, transform .25s;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; transform: translateY(-2px); }

/* ===== Hero ===== */
.hero-bg {
  background:
    radial-gradient(120% 120% at 85% 10%, #2A2470 0%, transparent 55%),
    linear-gradient(135deg, #19154C 0%, #140F3D 60%, #0E0B2E 100%);
}
.hero-glow {
  position: absolute;
  top: -10%;
  inset-inline-end: -5%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(72, 174, 226, 0.28) 0%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.hero-ring {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 105%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, transparent 58%, rgba(72, 174, 226, 0.12) 60%, transparent 64%);
  animation: spin 40s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Stat cards */
.stat-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  padding: 1.5rem 1rem;
  text-align: center;
  backdrop-filter: blur(6px);
  transition: transform .3s, background .3s;
}
.stat-card:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.1); }
.stat-num { font-size: 2.25rem; font-weight: 800; color: var(--sky); line-height: 1; }
.stat-label { margin-top: .5rem; color: rgba(255, 255, 255, 0.75); font-size: .9rem; }

/* ===== Section helpers ===== */
.section-eyebrow {
  color: var(--sky-dark);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .8rem;
  margin-bottom: .75rem;
}
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
}
.section-sub { margin-top: 1rem; color: rgba(25, 21, 76, 0.65); font-size: 1.05rem; line-height: 1.9; }

/* ===== Feature cards (Why us) ===== */
.feature-card {
  background: #fff;
  border: 1px solid rgba(25, 21, 76, 0.06);
  border-radius: 1.25rem;
  padding: 2rem 1.75rem;
  box-shadow: 0 10px 40px -12px rgba(25, 21, 76, 0.1);
  transition: transform .3s, box-shadow .3s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px -12px rgba(25, 21, 76, 0.2); }
.feature-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--sky), var(--royal));
  color: #fff;
  margin-bottom: 1.25rem;
}
.feature-icon svg { width: 30px; height: 30px; }
.feature-title { font-size: 1.25rem; font-weight: 700; color: var(--navy); margin-bottom: .6rem; }
.feature-text { color: rgba(25, 21, 76, 0.62); line-height: 1.8; }

/* ===== Purpose / Vision / Mission ===== */
.pvm-card {
  position: relative;
  background: var(--cream);
  border: 1px solid rgba(25, 21, 76, 0.07);
  border-radius: 1.25rem;
  padding: 2.5rem 1.75rem 2rem;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.pvm-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px -14px rgba(25, 21, 76, 0.22); }
.pvm-card.is-featured {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff;
  border-color: transparent;
}
.pvm-card.is-featured .pvm-title { color: #fff; }
.pvm-card.is-featured .pvm-text { color: rgba(255, 255, 255, 0.82); }
.pvm-card.is-featured .pvm-num { color: rgba(255, 255, 255, 0.14); }
.pvm-num {
  position: absolute;
  top: .75rem;
  inset-inline-end: 1.25rem;
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(72, 174, 226, 0.16);
  line-height: 1;
}
.pvm-title { font-size: 1.4rem; font-weight: 800; color: var(--navy); margin-bottom: .9rem; }
.pvm-text { color: rgba(25, 21, 76, 0.66); line-height: 1.9; }

/* ===== Strategy ===== */
.strat-card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 2rem 1.75rem;
  border: 1px solid rgba(25, 21, 76, 0.06);
  box-shadow: 0 10px 40px -14px rgba(25, 21, 76, 0.12);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: transform .3s, box-shadow .3s;
}
.strat-card:hover { transform: translateY(-5px); box-shadow: 0 18px 46px -14px rgba(25, 21, 76, 0.2); }
.strat-num {
  flex-shrink: 0;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky), var(--royal));
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
}
.strat-text { color: rgba(25, 21, 76, 0.7); line-height: 1.85; padding-top: .35rem; }

/* ===== Products ===== */
.products-glow {
  position: absolute;
  top: 20%;
  inset-inline-start: -8%;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(72, 174, 226, 0.22) 0%, transparent 70%);
  pointer-events: none;
}
.prod-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  backdrop-filter: blur(6px);
  transition: transform .3s, background .3s, border-color .3s;
}
.prod-card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.09); border-color: rgba(72, 174, 226, 0.4); }
.prod-icon {
  width: 60px; height: 60px;
  display: grid; place-items: center;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--sky), var(--royal));
  color: #fff;
  margin-bottom: 1.25rem;
}
.prod-icon svg { width: 32px; height: 32px; }
.prod-title { font-size: 1.15rem; font-weight: 700; color: #fff; margin-bottom: .7rem; }
.prod-text { color: rgba(255, 255, 255, 0.7); line-height: 1.8; font-size: .95rem; }

/* ===== Services ===== */
.serv-card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  border: 1px solid rgba(25, 21, 76, 0.06);
  box-shadow: 0 10px 40px -14px rgba(25, 21, 76, 0.1);
  transition: transform .3s, box-shadow .3s;
  position: relative;
  overflow: hidden;
}
.serv-card::before {
  content: '';
  position: absolute;
  top: 0; inset-inline-start: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--sky), var(--royal));
  transform: scaleX(0);
  transform-origin: inline-start;
  transition: transform .35s ease;
}
.serv-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px -14px rgba(25, 21, 76, 0.2); }
.serv-card:hover::before { transform: scaleX(1); }
.serv-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 1rem;
  background: rgba(72, 174, 226, 0.12);
  color: var(--sky-dark);
  margin-bottom: 1.25rem;
}
.serv-icon svg { width: 30px; height: 30px; }
.serv-title { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: .6rem; }
.serv-text { color: rgba(25, 21, 76, 0.62); line-height: 1.8; font-size: .95rem; }

/* ===== Partners ===== */
.partner-card {
  background: var(--cream);
  border: 1px solid rgba(25, 21, 76, 0.07);
  border-radius: 1.25rem;
  padding: 1.75rem;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.partner-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px -16px rgba(25, 21, 76, 0.22); border-color: rgba(72, 174, 226, 0.4); }
.partner-logo {
  height: 80px;
  display: flex;
  align-items: center;
  margin-bottom: 1.25rem;
}
.partner-logo img { max-height: 64px; max-width: 180px; width: auto; object-fit: contain; }
.partner-name { font-size: 1.1rem; font-weight: 800; color: var(--navy); margin-bottom: .6rem; }
.partner-text { color: rgba(25, 21, 76, 0.62); line-height: 1.8; font-size: .92rem; }

/* ===== Testimonials ===== */
.quote-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(25, 21, 76, 0.06);
  border-radius: 1.25rem;
  padding: 2.5rem 2rem 2rem;
  box-shadow: 0 10px 40px -14px rgba(25, 21, 76, 0.1);
  transition: transform .3s, box-shadow .3s;
}
.quote-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px -16px rgba(25, 21, 76, 0.2); }
.quote-mark {
  position: absolute;
  top: .5rem;
  inset-inline-start: 1.5rem;
  font-size: 4.5rem;
  line-height: 1;
  font-weight: 900;
  color: rgba(72, 174, 226, 0.2);
  font-family: Georgia, serif;
}
.quote-text { color: rgba(25, 21, 76, 0.78); line-height: 1.9; font-size: 1.02rem; margin-bottom: 1.5rem; position: relative; }
.quote-author { display: flex; flex-direction: column; gap: .15rem; border-top: 1px solid rgba(25, 21, 76, 0.08); padding-top: 1rem; }
.quote-name { font-weight: 700; color: var(--navy); }
.quote-role { font-size: .85rem; color: var(--sky-dark); }

/* ===== Customers ===== */
.cust-card {
  background: #fff;
  border: 1px solid rgba(25, 21, 76, 0.07);
  border-radius: 1rem;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.25rem;
  box-shadow: 0 6px 24px -14px rgba(25, 21, 76, 0.18);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.cust-card:hover { transform: translateY(-5px); box-shadow: 0 16px 36px -16px rgba(25, 21, 76, 0.28); border-color: rgba(72, 174, 226, 0.4); }
.cust-card img {
  max-height: 84px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .72;
  transition: filter .35s, opacity .35s;
}
.cust-card:hover img { filter: grayscale(0); opacity: 1; }

/* ===== Awards ===== */
.award-card {
  text-align: center;
  background: var(--cream);
  border: 1px solid rgba(25, 21, 76, 0.07);
  border-radius: 1.25rem;
  padding: 2.5rem 1.75rem;
  transition: transform .3s, box-shadow .3s;
}
.award-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px -16px rgba(25, 21, 76, 0.2); }
.award-icon {
  width: 72px; height: 72px;
  display: grid; place-items: center;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky), var(--royal));
  color: #fff;
}
.award-icon svg { width: 36px; height: 36px; }
.award-title { font-size: 1.15rem; font-weight: 800; color: var(--navy); margin-bottom: .6rem; }
.award-text { color: rgba(25, 21, 76, 0.62); line-height: 1.8; font-size: .92rem; }

/* ===== Contact ===== */
.contact-ic {
  flex-shrink: 0;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: .9rem;
  background: rgba(72, 174, 226, 0.15);
  color: var(--sky);
}
.contact-ic svg { width: 24px; height: 24px; }
.form-label { display: block; font-size: .9rem; font-weight: 600; color: rgba(255, 255, 255, 0.85); margin-bottom: .5rem; }
.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: .75rem;
  padding: .8rem 1rem;
  color: #fff;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.form-input::placeholder { color: rgba(255, 255, 255, 0.4); }
.form-input:focus { outline: none; border-color: var(--sky); background: rgba(255, 255, 255, 0.1); box-shadow: 0 0 0 4px rgba(72, 174, 226, 0.12); }

/* Contact form (WhatsApp) */
.contact-form {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border-radius: 1.5rem;
  padding: 1.75rem;
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.5);
}
@media (min-width: 768px) { .contact-form { padding: 2.25rem; } }
.cf-head { display: flex; align-items: center; gap: 1rem; padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.cf-head-ic {
  flex-shrink: 0;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 1rem;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(37, 211, 102, 0.5);
}
.cf-title { font-size: 1.3rem; font-weight: 700; color: #fff; line-height: 1.3; }
.cf-sub { font-size: .9rem; color: rgba(255, 255, 255, 0.6); margin-top: .15rem; }

.field { margin-bottom: 1.15rem; }
.field-wrap { position: relative; }
.field-ic {
  position: absolute;
  inset-inline-start: .9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 20px; height: 20px;
  color: var(--sky);
  pointer-events: none;
}
.field-ic.field-ic-top { top: .85rem; transform: none; }
.field-ic svg { width: 20px; height: 20px; }
.form-input.has-ic { padding-inline-start: 2.85rem; }

.btn-whatsapp {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  font-weight: 700;
  font-size: 1.02rem;
  padding: .95rem 1.5rem;
  border-radius: .9rem;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, 0.55);
  transition: transform .25s, box-shadow .25s, filter .25s;
}
.btn-whatsapp:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 18px 36px -10px rgba(37, 211, 102, 0.7); }
.btn-whatsapp:active { transform: translateY(0); }
#formNote { margin-top: .9rem; color: #25D366; font-weight: 600; }

/* ===== Footer ===== */
.footer-head { color: #fff; font-weight: 700; font-size: 1.05rem; margin-bottom: 1.1rem; }

/* Giturn credit - subtle & elegant */
.giturn-credit {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  opacity: .4;
  transition: opacity .4s ease;
}
.giturn-credit:hover { opacity: 1; }
.giturn-logo {
  height: 22px;
  width: auto;
  filter: grayscale(1) brightness(1.6);
  transition: filter .4s ease;
}
.giturn-credit:hover .giturn-logo { filter: none; }
.giturn-name {
  font-family: 'Poppins', sans-serif;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-ring { animation: none; }
  html { scroll-behavior: auto; }
}

/* ===== Scroll-to-top position respects direction ===== */
#toTop { inset-inline-end: 1.5rem; }
#toTop.show { display: flex; }
