/* ============================================================
   NB Printing Sablon - Landing Page Custom Styles
   Based on Metronic Demo 53 (KeenThemes)
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --nb-primary: #1B84FF;
  --nb-primary-light: #E9F3FF;
  --nb-primary-rgb: 27, 132, 255;
  --nb-hero-start: #1B2838;
  --nb-hero-end: #2E4B6E;
  --nb-accent: #17C653;
}

/* ---------- PAGE BODY BACKGROUND ---------- */
body.app-blank {
  background: linear-gradient(180deg, #f4f7fc 0%, #eef2f8 30%, #f8f9fc 60%, #ffffff 100%);
  background-attachment: fixed;
}

body.app-blank::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 5%, rgba(27, 132, 255, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 20%, rgba(23, 198, 83, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(27, 132, 255, 0.02) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
}

/* Ensure main content sits above background */
#kt_app_root {
  position: relative;
  z-index: 1;
}

/* ---------- HEADER ---------- */
.landing-header {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 15px rgba(27, 40, 56, 0.06);
  transition: all 0.35s ease;
  z-index: 100;
}

.landing-header.header-scrolled {
  background: rgba(255, 255, 255, 0.97) !important;
  box-shadow: 0 4px 25px rgba(27, 40, 56, 0.10);
}

/* ---------- NAVBAR ACTIVE MENU (SMOOTH PILL) ---------- */
#kt_landing_menu .menu-link {
  position: relative;
  border-radius: 10px;
  transition: color 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease;
  z-index: 1;
}

#kt_landing_menu .menu-link::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 8px;
  background: rgba(var(--nb-primary-rgb), 0.10);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.35s ease, transform 0.35s ease;
  z-index: -1;
}

#kt_landing_menu .menu-link:hover::after {
  opacity: 1;
  transform: scale(1);
}

#kt_landing_menu .menu-link.active {
  color: var(--nb-primary) !important;
  font-weight: 700;
}

#kt_landing_menu .menu-link.active::after {
  opacity: 1;
  transform: scale(1);
  background: rgba(var(--nb-primary-rgb), 0.12);
}

/* Active indicator dot */
#kt_landing_menu .menu-link.active::before {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nb-primary);
  opacity: 0;
  animation: navDotIn 0.4s ease 0.15s forwards;
}

@keyframes navDotIn {
  from { opacity: 0; transform: translateX(-50%) translateY(4px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.brand-logo {
  display: flex;
  align-items: center;
  transition: opacity 0.2s;
}

.brand-logo:hover {
  opacity: 0.85;
}

/* ---------- HERO SECTION ---------- */
.hero-section {
  position: relative;
}

.hero-bg-wrapper {
  position: relative;
  background: linear-gradient(135deg, var(--nb-hero-start) 0%, var(--nb-hero-end) 100%);
  overflow: hidden;
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(27, 132, 255, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(23, 198, 83, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-dot-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.hero-highlight-text {
  background: linear-gradient(to right, #1B84FF 0%, #17C653 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-curve-color {
  color: var(--bs-body-bg, #ffffff);
}

/* ---------- ABOUT SECTION ---------- */
.about-img-wrapper {
  max-width: 480px;
}

.about-main-img {
  border: 4px solid #fff;
}

.about-main-img img {
  display: block;
  object-fit: cover;
  height: 100%;
  min-height: 350px;
}

.about-exp-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(27, 132, 255, 0.35) !important;
}

.value-icon-wrapper {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #EAFFF1;
  border-radius: 10px;
  flex-shrink: 0;
}

/* ---------- STATS SECTION ---------- */
.stats-section {
  background: linear-gradient(180deg, var(--bs-body-bg, #f8f9fc) 0%, var(--bs-body-bg, #ffffff) 100%);
}

.stats-item {
  padding: 2rem 1rem;
  transition: transform 0.3s ease;
}

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

.stats-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--nb-primary-light);
  border-radius: 16px;
}

/* ---------- SERVICES SECTION ---------- */
.service-card {
  border: 1px solid var(--bs-gray-200);
  border-radius: 12px;
  transition: all 0.35s ease;
  overflow: hidden;
}

.service-card:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-6px);
  border-color: transparent;
}

.service-icon-wrapper {
  width: fit-content;
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -30%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(27, 132, 255, 0.2), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -20%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(23, 198, 83, 0.15), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* ---------- FOOTER ---------- */
.footer-curve-color {
  color: var(--nb-hero-start);
}

.footer-bg {
  background: linear-gradient(180deg, var(--nb-hero-start) 0%, #162231 100%);
}

.footer-link {
  color: #6D7B8E;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #ffffff;
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

/* ---------- SCROLL ANIMATIONS ---------- */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991.98px) {
  .hero-highlight-text {
    display: inline;
  }

  .about-exp-badge {
    bottom: -10px;
    right: -10px;
    width: 80px;
    height: 80px;
    font-size: 0.85rem;
  }

  .about-exp-badge .fs-2qx {
    font-size: 1.25rem !important;
  }

  .about-main-img {
    margin-bottom: 2rem;
  }
}

@media (max-width: 767.98px) {
  .hero-section h1 {
    font-size: 2rem !important;
    line-height: 1.3;
  }

  .hero-section .fs-5 {
    font-size: 0.95rem !important;
  }

  .stats-item {
    padding: 1.5rem 0.5rem;
  }

  .cta-banner {
    padding: 2rem 1.5rem !important;
  }

  .cta-banner h3 {
    font-size: 1.5rem !important;
  }
}

@media (max-width: 575.98px) {
  .about-exp-badge {
    bottom: -5px;
    right: 5px;
    width: 65px;
    height: 65px;
  }
}
