:root {
  --viva-blue: #24abe0;
  --viva-dark: #0b1e2d;
  --viva-navy: #0d2035;
  --viva-gold: #c9a84c;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  background: #fff;
  overflow-x: hidden;
  color: var(--viva-dark);
}

/* ── NAV ── */
#navbar {
  transition:
    background 0.4s,
    box-shadow 0.4s;
}

#navbar.scrolled {
  background: rgba(11, 30, 45, 0.97) !important;
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.25);
}

/* ── HERO ── */
.hero-bg {
  background:
    linear-gradient(135deg,
      rgba(11, 30, 45, 0.88) 0%,
      rgba(36, 171, 224, 0.18) 100%),
    url("https://vivaacp.com/viva_acm_usa_old/assets/images/usa-landing/application/Corporate-Signage.webp") center/cover no-repeat;
  min-height: 100vh;
  position: relative;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgb(11 30 45 / 50%) 55%, rgb(11 30 45 / 50%) 100%);
  /* background: linear-gradient(to right,
      rgba(11, 30, 45, 0.85) 55%,
      transparent 100%); */
  pointer-events: none;
}

/* ── GLASS CARD ── */
.glass {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.13);
}

/* ── FORM ── */
.form-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  transition:
    border-color 0.25s,
    background 0.25s;
  outline: none;
  -webkit-appearance: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--viva-blue);
  background: rgba(36, 171, 224, 0.12);
}

.form-field select option {
  background: #0b1e2d;
  color: #fff;
}

/* Light form (bottom) */
.form-light .form-field label {
  color: #374151;
}

.form-light .form-field input,
.form-light .form-field select,
.form-light .form-field textarea {
  border-color: #d1e9f6;
  background: #f0f8fd;
  color: #0b1e2d;
}

.form-light .form-field input::placeholder,
.form-light .form-field textarea::placeholder {
  color: #94a3b8;
}

.form-light .form-field input:focus,
.form-light .form-field select:focus,
.form-light .form-field textarea:focus {
  border-color: var(--viva-blue);
  background: #fff;
}

.form-light .form-field select option {
  background: #fff;
  color: #0b1e2d;
}

/* ── COUNTER ── */
.counter-num {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--viva-blue);
  line-height: 1;
}

/* ── PRODUCT CARD ── */
.product-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(36, 171, 224, 0.22);
}

.product-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.product-card:hover img {
  transform: scale(1.06);
}

.product-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(11, 30, 45, 0.9) 0%,
      transparent 55%);
  transition: background 0.35s;
}

.product-card:hover .overlay {
  background: linear-gradient(to top,
      rgba(11, 30, 45, 0.96) 0%,
      rgba(36, 171, 224, 0.15) 100%);
}

.product-card .content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
}

/* ── SECTION DIVIDER ── */
.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--viva-blue), var(--viva-gold));
  border-radius: 2px;
  margin: 12px auto 0;
}

.section-divider.left {
  margin-left: 0;
}

/* ── WHY CHOOSE CARD ── */
.why-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: 0 4px 24px rgba(36, 171, 224, 0.09);
  border: 1px solid rgba(36, 171, 224, 0.12);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--viva-blue), var(--viva-gold));
  transform: scaleX(0);
  transition: transform 0.35s ease;
  transform-origin: left;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(36, 171, 224, 0.18);
}

.why-card:hover::before {
  transform: scaleX(1);
}

/* ── TESTIMONIAL ── */
.testimonial-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  border: 1px solid #e8f4fc;
  position: relative;
}

.testimonial-card::before {
  content: "\201C";
  font-family: "Playfair Display", serif;
  font-size: 80px;
  color: var(--viva-blue);
  opacity: 0.18;
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}

/* ── CERT BADGE ── */
.cert-badge {
  background: #fff;
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(36, 171, 224, 0.1);
  border: 1px solid rgba(36, 171, 224, 0.15);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.cert-badge:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(36, 171, 224, 0.2);
}

/* ── BRAND MARQUEE ── */
.marquee-wrap {
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  gap: 40px;
  animation: marquee 28s linear infinite;
  width: max-content;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.marquee-wrap:hover .marquee-track {
  animation-play-state: paused;
}

/* ── APP CARD ── */
.app-card {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.app-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s;
  display: block;
}

.app-card:hover img {
  transform: scale(1.05);
}

.app-card .app-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top,
      rgba(11, 30, 45, 0.95) 0%,
      transparent 100%);
  padding: 20px 16px 16px;
}

/* ── CTA SECTION ── */
.cta-bg {
  background: linear-gradient(135deg,
      var(--viva-dark) 0%,
      #0d3654 50%,
      #0b2a42 100%);
  position: relative;
  overflow: hidden;
}

.cta-bg::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle,
      rgba(36, 171, 224, 0.22) 0%,
      transparent 70%);
  pointer-events: none;
}

.cta-bg::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle,
      rgba(201, 168, 76, 0.12) 0%,
      transparent 70%);
  pointer-events: none;
}

/* ── STICKY ENQUIRY BTN (mobile) ── */
#sticky-enquiry {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 999;
  display: none;
}

@media (max-width: 767px) {
  #sticky-enquiry {
    display: block;
  }
}

/* ── BTN ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--viva-blue), #1a8fcf);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    filter 0.25s;
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(36, 171, 224, 0.42);
  filter: brightness(1.08);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  padding: 13px 28px;
  border-radius: 50px;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition:
    background 0.25s,
    border-color 0.25s;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

/* ── FADE IN ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── SWIPER STYLES ── */
.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
}

.swiper-pagination-bullet {
  background-color: #89c4dc;
}

.swiper-pagination-bullet-active {
  background: var(--viva-blue) !important;
}

/* ── TRUST STRIP ── */
.trust-strip {
  background: linear-gradient(90deg, #0b1e2d, #0d3654, #0b1e2d);
}

/* ── HAMBURGER ── */
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ── MOBILE MENU ── */
#mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 30, 45, 0.98);
  z-index: 998;
  padding: 32px 24px;
  flex-direction: column;
  gap: 24px;
  overflow-y: auto;
}

#mobile-menu.open {
  display: flex;
}

/* ── LOADER ── */
#page-loader {
  position: fixed;
  inset: 0;
  background: var(--viva-dark);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.5s,
    visibility 0.5s;
}

#page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-logo img {
  width: 120px;
  animation: pulse 1.2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.6;
  }

  50% {
    opacity: 1;
  }
}

/* SECTION BG */
.bg-section-alt {
  background: #f8fcff;
}

/* Smooth select arrow */
select.arrow-custom {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.6)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* .form-light select.arrow-custom {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2324abe0' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
} */

/* Responsive tweaks */
@media (max-width: 424px) {
  .hero-bg {
    padding-top: 80px;
  }

  .counter-num {
    font-size: 2rem;
  }
}

@media (min-width: 768px) {
  #mobile-menu {
    display: none !important;
  }
}

/* Section label */
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--viva-blue);
  background: rgba(36, 171, 224, 0.1);
  padding: 5px 16px;
  border-radius: 100px;
  margin-bottom: 12px;
}

/* Star rating */
.stars {
  color: #f59e0b;
}

/* Floating label animation for honeypot */
.hp-field {
  display: none !important;
}

/* Submit success */
.success-msg {
  display: none;
  background: rgba(36, 171, 224, 0.15);
  border: 1px solid var(--viva-blue);
  border-radius: 10px;
  padding: 16px;
  color: #fff;
  text-align: center;
  font-weight: 500;
}

.success-msg.show {
  display: block;
}

.success-msg-light {
  display: none;
  background: rgba(36, 171, 224, 0.1);
  border: 1px solid var(--viva-blue);
  border-radius: 10px;
  padding: 16px;
  color: var(--viva-dark);
  text-align: center;
  font-weight: 500;
}

.success-msg-light.show {
  display: block;
}

/* Scroll progress bar */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--viva-blue), var(--viva-gold));
  z-index: 10000;
  width: 0%;
  transition: width 0.1s linear;
}

@media (min-width: 980px) {
  .hero-bg::after {
    background: linear-gradient(to right,
        rgba(11, 30, 45, 0.85) 55%,
        transparent 100%);
  }
}

@media (min-width: 1024px) {
  .hero-bg {
    min-height: 84vh;
  }
}