/* ==============================
   PT. Nusa Inti Sinergi (NIS) — RFT Group
   Custom styles complementing Tailwind
   ============================== */

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

.font-heading {
  letter-spacing: 0.01em;
}

/* Diagonal geometric accents echoing the company profile cover design */
.diagonal-clip-right {
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}

.diagonal-clip-left {
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
}

.hero-gradient {
  background: linear-gradient(115deg, #070f28 0%, #0b1b3f 38%, #152a5c 62%, #2245c7 100%);
}

.hero-overlay {
  background: linear-gradient(120deg, rgba(7,15,40,0.94) 10%, rgba(11,27,63,0.85) 45%, rgba(34,69,199,0.55) 100%);
}

.brand-underline {
  position: relative;
  display: inline-block;
}
.brand-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 56px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, #d81f2a, #2245c7);
}
.brand-underline.centered::after {
  left: 50%;
  transform: translateX(-50%);
}

.card-hover {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -12px rgba(11,27,63,0.35);
}

.badge-pill {
  border: 1px solid rgba(11,27,63,0.12);
  transition: all 0.25s ease;
}
.badge-pill:hover {
  background-color: #0b1b3f;
  color: #fff;
  border-color: #0b1b3f;
}

/* Decorative diagonal stripe pattern (nod to the cover page grid lines) */
.stripe-deco {
  background-image: repeating-linear-gradient(
    115deg,
    rgba(255,255,255,0.06) 0px,
    rgba(255,255,255,0.06) 2px,
    transparent 2px,
    transparent 26px
  );
}

.logo-badge {
  background: radial-gradient(circle at 30% 30%, #f3f2f2, #fbfafa 70%);
  box-shadow: 0 6px 18px rgba(1, 1, 1, 0.45);
}

/* Section number tag */
.sec-tag {
  letter-spacing: 0.18em;
}

/* Fade-up animation on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile nav */
#mobile-menu {
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #eef1f8;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #d81f2a, #0b1b3f);
  border-radius: 10px;
}
