/* =========================
   THEME VARIABLES
========================= */
:root {
  --primary: #cbd5e1;
  --primary-soft: rgba(30, 41, 59, 0.08);
  --warning: #ffd100;
  --bs-warning: #ffd100;
  --bs-warning-rgb: 255, 209, 0;
  --warning-soft: rgba(255, 209, 0, 0.15);
  --warning-dark: #ccaa00;
  --success: #198754;
  --success-soft: rgba(25, 135, 84, 0.1);
  --info: #0dcaf0;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-hover: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.05);
}

/* =========================
   FORCE OVERRIDE BOOTSTRAP WARNING (ORANGE) 
========================= */
.text-warning { color: var(--warning) !important; }
.bg-warning { background-color: var(--warning) !important; }
.border-warning { border-color: var(--warning) !important; }
.btn-warning { background-color: var(--warning) !important; border-color: var(--warning) !important; color: #1e293b !important; }
.btn-warning:hover { background-color: var(--warning-dark) !important; border-color: var(--warning-dark) !important; color: #1e293b !important; }

/* =========================
   GLOBAL RESET
========================= */
body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  background-color: var(--bg-light);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

/* =========================
   TYPOGRAPHY
========================= */
.fw-black {
  font-weight: 900;
}

.tracking-tight {
  letter-spacing: -1.2px;
}

.tracking-widest {
  letter-spacing: 2px;
}

/* =========================
   UTILITIES & COLORS
========================= */
.bg-primary-soft {
  background-color: var(--primary-soft) !important;
}

.bg-warning-soft {
  background-color: var(--warning-soft) !important;
}

.bg-success-soft {
  background-color: var(--success-soft) !important;
}

.text-primary-custom {
  color: var(--primary) !important;
}

.text-warning-dark {
  color: var(--warning-dark) !important;
}

.bg-light-soft {
  background-color: #f8f9fa !important;
}

/* =========================
   ANIMATIONS & HOVER
========================= */
.transition-all {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cursor-pointer {
  cursor: pointer;
}

.hover-lift {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover) !important;
}

.hover-shadow {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.hover-shadow:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover) !important;
}

/* =========================
   NAVBAR
========================= */
.clean-navbar {
  transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.clean-navbar .nav-link {
  position: relative;
  transition: color 0.3s;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

.clean-navbar .nav-link:hover,
.clean-navbar .nav-link.active {
  color: var(--primary) !important;
}

/* =========================
   HERO & CTA
========================= */
.hero-visual-wrapper {
  background-color: #f1f5f9;
}

/* =========================
   SERVICES & CARDS
========================= */
.card-new-style {
  background-color: #f8f9fa !important;
  border: 1px solid #f1f5f9 !important;
  border-radius: 1rem;
}

.icon-glow-wrapper {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

.icon-glow-bg {
  position: absolute;
  width: 130px;
  height: 25px;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 75%);
  z-index: 0;
}

.icon-glow-icon {
  position: relative;
  z-index: 1;
  font-size: 1.15rem;
  color: #334155;
}

.service-icon-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.custom-service-title {
  font-size: 1.25rem;
  color: #1e293b !important;
}

.custom-service-desc {
  color: #64748b !important;
  font-size: 0.95rem;
  line-height: 1.7;
}

.custom-service-link {
  color: #475569 !important;
  font-size: 0.95rem;
  font-weight: 700;
  transition: all 0.3s ease;
}

.custom-link-icon {
  border-color: #cbd5e1 !important;
  color: #475569 !important;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.service-card:hover .custom-service-link,
.custom-service-link:hover {
  color: var(--warning) !important;
  text-shadow: 0 0 1px rgba(var(--bs-warning-rgb), 0.5);
}

.service-card:hover .custom-link-icon,
.custom-service-link:hover .custom-link-icon {
  border-color: var(--warning) !important;
  color: var(--warning) !important;
  background-color: rgba(var(--bs-warning-rgb), 0.1);
  transform: translateX(4px) translateY(-3px) scale(1.05);
}

.service-card {
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.icon-box {
  transition: transform 0.3s ease;
}

.service-card:hover .icon-box {
  transform: scale(1.1);
}

/* =========================
   GALLERY / PORTFOLIO
========================= */
.galeri-thumb {
  opacity: 0.65;
  filter: grayscale(80%);
}

.galeri-thumb:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.galeri-thumb.is-active {
  border-color: var(--primary) !important;
  opacity: 1;
  filter: grayscale(0%);
  background-color: var(--primary-soft) !important;
}

/* =========================
   SCROLL REVEAL (Intersection Observer)
========================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =========================
   LOGOS
========================= */
.client-logo {
  transition: transform 0.3s ease;
}

.client-logo:hover {
  transform: scale(1.08);
}

/* =========================
   FOOTER FORMS
========================= */
.bg-white-10 {
  background-color: rgba(255, 255, 255, 0.03);
}

/* Links */
a.highlight-hover {
  transition: color 0.2s ease, padding-left 0.2s ease;
}

a.highlight-hover:hover {
  color: var(--warning) !important;
  padding-left: 4px;
}

/* =========================
   EXTRACTED INLINE STYLES
========================= */
.navbar-logo-img {
  height: 48px;
  object-fit: contain;
}

.hero-header-section {
  min-height: 100vh;
  padding-top: 80px;
}

.hero-desc-text {
  max-width: 580px;
}

.btn-consult-primary {
  background-color: #1e293b !important;
  border: none !important;
}

.hero-video-wrapper {
  aspect-ratio: 4/3;
}

.overlay-full {
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.hero-bg-accent {
  width: 50vw;
  height: 100vh;
  background: radial-gradient(circle at top right, #e2e8f0, transparent 70%);
  pointer-events: none;
}

.goal-card-img {
  height: 280px;
}

.portfolio-container {
  max-width: 1100px;
}

.section-subtitle-text {
  font-size: 18px;
  max-width: 600px;
}

.gallery-main-wrapper {
  max-width: 500px;
}

.gallery-main-img {
  height: 380px;
}

.gallery-thumb-btn {
  width: 150px;
}

.gallery-thumb-img {
  height: 100px;
  object-fit: contain;
}

.gallery-thumb-text {
  font-size: 13px;
  line-height: 1.3;
}

.btn-client-service {
  background-color: #1e293b !important;
  border: none !important;
  font-size: 1.05rem;
}

.client-logo-img {
  max-height: 45px;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
}

.cta-subtitle-text {
  max-width: 600px;
}

.cta-bubble-1 {
  width: 400px;
  height: 400px;
  top: -150px;
  left: -100px;
}

.cta-bubble-2 {
  width: 500px;
  height: 500px;
  bottom: -200px;
  right: -150px;
}

.footer-logo-img {
  height: 44px;
  object-fit: contain;
}

.map-wrapper {
  height: 120px;
}

/* =========================
   FEATURE V-PILLS (SERVICES)
========================= */
.feature-v-pills .nav-link {
  color: #475569;
  background-color: #fff;
}

.feature-v-pills .nav-link:hover {
  background-color: #f8fafc;
  transform: translateX(4px);
}

.feature-v-pills .nav-link.active {
  background-color: var(--warning);
  color: #1e293b !important;
  border-color: var(--warning) !important;
}

/* =========================
   CUSTOM ACCORDION
========================= */
.custom-accordion .accordion-button:not(.collapsed) {
  background-color: var(--warning-soft);
  color: #1e293b;
  box-shadow: none;
}

.custom-accordion .accordion-button:focus {
  box-shadow: none;
}

/* =========================
   MARQUEE LOGO SCROLL
========================= */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  width: 100%;
  display: flex;
}

.marquee-container::before,
.marquee-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
}

.marquee-container::before {
  left: 0;
  background: linear-gradient(to right, white, transparent);
}

.marquee-container::after {
  right: 0;
  background: linear-gradient(to left, white, transparent);
}

.marquee-content {
  display: flex;
  animation: scroll-marquee 25s linear infinite;
}

.marquee-content:hover {
  animation-play-state: paused;
}

.marquee-item {
  flex-shrink: 0;
  margin: 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes scroll-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* =========================
   SLIDER / CAROUSEL
========================= */
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.snap-start {
  scroll-snap-align: start;
}

.slider-card {
  flex: 0 0 calc(33.333% - 1rem);
  min-width: 280px;
}

.slider-card-body {
  min-height: 270px;
}

/* =========================
   PHONE MOCKUP (Gembox)
========================= */
.phone-frame {
  border-radius: 36px;
  background-color: #1a1a1a;
  padding: 6px;
  border: 1px solid #333;
  transition: transform 0.5s ease-out;
}

.phone-frame-lg {
  padding: 8px;
  border-radius: 40px;
}

.phone-screen {
  border-radius: 30px;
  background: #000;
  box-shadow: inset 0 0 5px rgba(0,0,0,0.5);
}

.phone-screen-lg {
  border-radius: 34px;
  box-shadow: inset 0 0 8px rgba(0,0,0,0.5);
}

.phone-notch {
  width: 80px;
  height: 20px;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  background-color: #1a1a1a;
  z-index: 2;
}

.phone-notch-lg {
  width: 90px;
  height: 22px;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
}

.phone-btn-right {
  width: 3px;
  height: 40px;
  top: 120px;
  right: -4px;
  border-radius: 0 4px 4px 0;
}

.phone-btn-left-1 {
  width: 3px;
  height: 35px;
  top: 100px;
  left: -4px;
  border-radius: 4px 0 0 4px;
}

.phone-btn-left-2 {
  width: 3px;
  height: 35px;
  top: 145px;
  left: -4px;
  border-radius: 4px 0 0 4px;
}

.ambient-glow {
  filter: blur(70px);
  z-index: 0;
}

/* =========================
   HERO SERVICE PAGES
========================= */
.hero-service {
  min-height: 90vh;
  padding-top: 100px;
}

.hero-illustration {
  max-height: 500px;
  width: 100%;
  object-fit: contain;
}

/* =========================
   PROJECT CASE STUDY HERO
========================= */
.hero-case-study {
  padding-top: 140px;
  padding-bottom: 80px;
}

.hero-case-study .decor-gradient-warm {
  background: radial-gradient(circle at top right, var(--warning) 0%, transparent 50%);
  z-index: 0;
}

.hero-case-study .decor-gradient-light {
  background: radial-gradient(circle at bottom left, #fff 0%, transparent 40%);
  z-index: 0;
}

/* =========================
   CHALLENGE/SOLUTION
========================= */
.panel-challenge {
  border-left: 4px solid #1e293b;
}

.panel-solution {
  border-left: 4px solid var(--warning);
}

/* =========================
   TEXT UTILITIES
========================= */
.text-justify {
  text-align: justify;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 991.98px) {
  .hero-service {
    min-height: auto;
    padding-top: 90px;
    padding-bottom: 40px;
  }

  .hero-illustration {
    max-height: 350px;
  }

  .slider-card {
    flex: 0 0 calc(50% - 0.75rem);
    min-width: 260px;
  }
}

@media (max-width: 767.98px) {
  .hero-header-section {
    min-height: auto;
    padding-top: 80px;
    padding-bottom: 40px;
  }

  .slider-card {
    flex: 0 0 85%;
    min-width: 250px;
  }

  .gallery-main-img {
    height: 250px;
  }

  .gallery-thumb-btn {
    width: 110px;
  }

  .gallery-thumb-img {
    height: 70px;
  }

  .display-4 {
    font-size: 2rem;
  }

  .display-6 {
    font-size: 1.6rem;
  }
}

/* =========================
   FLOATING WHATSAPP WIDGET
========================= */
.wa-float-link {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
  font-family: 'Inter', sans-serif;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Label "Konsultasi Gratis" */
.wa-label {
  background-color: #25d366;
  color: #ffffff !important;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.25);
  white-space: nowrap;
  transition: all 0.3s ease;
}

/* WhatsApp Icon Button */
.wa-icon-btn {
  width: 60px;
  height: 60px;
  background: #25d366;
  color: #ffffff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  position: relative;
  transition: all 0.3s ease;
}

/* Pulsing waves on the icon button */
.wa-icon-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  background: #25d366;
  opacity: 0.4;
  z-index: -1;
  animation: wa-pulse 2s infinite;
}

.wa-float-link:hover {
  transform: translateY(-5px) scale(1.05);
}

.wa-float-link:hover .wa-label {
  background-color: #20ba5a;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4);
}

.wa-float-link:hover .wa-icon-btn {
  background-color: #20ba5a;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

/* Animations */
@keyframes wa-pulse {
  0% {
    transform: scale(1);
    opacity: 0.4;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* Responsive adjustment */
@media (max-width: 575.98px) {
  .wa-float-link {
    bottom: 20px;
    right: 20px;
    gap: 8px;
  }
  .wa-icon-btn {
    width: 50px;
    height: 50px;
    font-size: 26px;
  }
  .wa-label {
    font-size: 13px;
    padding: 8px 14px;
    border-radius: 8px;
  }
}

/* ==========================================================================
   PREMIUM LIGHT MINIMALIST FOOTER STYLING (NON-BENTO)
   ========================================================================== */
footer#contact, footer.clean-footer {
  background: #f8fafc !important; /* Unified soft light gray background */
  color: #475569 !important; /* Slate 600 dark gray text */
  border-top: 1px solid #e2e8f0 !important;
  position: relative;
  overflow: hidden;
  padding-top: 5rem !important;
  padding-bottom: 3rem !important;
}

footer#contact .container {
  position: relative;
  z-index: 1;
}

/* Reset row & column styling to standard Bootstrap grid without bento cards */
footer#contact .row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0 !important; /* Standard grid layout */
  margin-left: -15px !important;
  margin-right: -15px !important;
}

footer#contact .row > div {
  background: transparent !important; /* No card backgrounds */
  border: none !important; /* No borders */
  border-radius: 0 !important; /* No melengkung */
  padding: 0 15px !important; /* Standard Bootstrap column padding */
  box-shadow: none !important; /* No shadows */
  backdrop-filter: none !important;
  transition: none !important;
}

footer#contact p, footer#contact span, footer#contact li {
  color: #475569 !important; /* Dark slate gray */
  line-height: 1.7;
}

footer#contact h5, footer#contact h4 {
  color: #1e293b !important; /* Bold charcoal dark gray */
  font-weight: 700 !important;
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 24px !important;
  letter-spacing: 0.5px;
}

footer#contact h5::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 3px;
  background-color: #ffc107; /* Yellow line accent */
  border-radius: 2px;
}

footer#contact a {
  color: #475569 !important;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

footer#contact a:hover {
  color: #eab308 !important; /* Yellow hover text */
  transform: translateX(4px);
}

/* Social Media Buttons */
footer#contact .d-flex.gap-3.mt-4 a.btn, 
footer#contact .btn-light {
  background-color: #ffffff !important; /* White circle background */
  border: 1px solid #e2e8f0 !important;
  color: #334155 !important;
  width: 40px;
  height: 40px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 50% !important;
  padding: 0 !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05) !important;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

footer#contact .d-flex.gap-3.mt-4 a.btn:hover, 
footer#contact .btn-light:hover {
  background-color: #ffc107 !important; /* Yellow background hover */
  border-color: #ffc107 !important;
  color: #1e293b !important; /* Dark gray icon color */
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(255, 193, 7, 0.35) !important;
}

footer#contact .d-flex.gap-3.mt-4 a.btn i, 
footer#contact .btn-light i {
  color: inherit !important;
  font-size: 1.05rem;
}

/* Contact Info Items */
footer#contact ul.list-unstyled li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
}

footer#contact ul.list-unstyled li i {
  color: #ffc107 !important; /* Yellow icons */
  font-size: 1.1rem;
  margin-right: 12px;
  margin-top: 3px;
  transition: transform 0.2s ease;
}

footer#contact ul.list-unstyled li:hover i {
  transform: scale(1.2);
}

/* Map Widget */
footer#contact .map-wrapper {
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 10px rgba(51, 65, 85, 0.05) !important;
  border-radius: 12px !important;
  overflow: hidden;
  height: 150px;
  transition: all 0.3s ease;
}

footer#contact .map-wrapper:hover {
  border-color: #ffc107 !important;
  box-shadow: 0 6px 15px rgba(255, 193, 7, 0.15) !important;
}

footer#contact .map-wrapper iframe {
  filter: grayscale(0.2) contrast(1.05); /* Soft clean gray maps */
  opacity: 0.95;
  transition: all 0.3s ease;
}

footer#contact .map-wrapper:hover iframe {
  filter: grayscale(0) contrast(1);
  opacity: 1;
}

/* Logo Badge */
footer#contact .footer-logo-img {
  background-color: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  max-height: 48px;
  transition: transform 0.3s ease;
}

footer#contact .footer-logo-img:hover {
  transform: scale(1.03);
}

/* Bottom Copyright Bar */
footer#contact .border-top {
  border-top: 1px solid #e2e8f0 !important;
  margin-top: 2.5rem !important;
}

footer#contact .border-top a {
  font-size: 0.85rem;
}

/* ==========================================================================
   PRE-FOOTER CTA SECTION (DARK GRAY & YELLOW THEME)
   ========================================================================== */
#cta-consult {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important; /* Premium Dark Gray/Slate gradient */
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.3) !important;
}

#cta-consult h2, #cta-consult .display-4 {
  color: #ffffff !important; /* White heading */
  font-weight: 800 !important;
}

#cta-consult p, #cta-consult .cta-subtitle-text {
  color: #94a3b8 !important; /* Soft gray description */
  opacity: 0.9 !important;
}

/* Glowing soft light orbs inside the dark box */
#cta-consult .cta-bubble-1 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255, 193, 7, 0.12) 0%, transparent 70%) !important;
  left: -100px;
  top: -100px;
  opacity: 1 !important;
  border-radius: 50%;
  pointer-events: none;
}

#cta-consult .cta-bubble-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 193, 7, 0.08) 0%, transparent 70%) !important;
  right: -100px;
  bottom: -150px;
  opacity: 1 !important;
  border-radius: 50%;
  pointer-events: none;
}

/* Talk to Expert Button */
#cta-consult .btn-warning {
  background-color: #ffc107 !important;
  border-color: #ffc107 !important;
  color: #0f172a !important; /* Dark text for contrast */
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  box-shadow: 0 8px 20px -4px rgba(255, 193, 7, 0.4) !important;
}

#cta-consult .btn-warning:hover {
  background-color: #eab308 !important;
  border-color: #eab308 !important;
  transform: translateY(-4px) scale(1.03) !important;
  box-shadow: 0 12px 25px -4px rgba(255, 193, 7, 0.5) !important;
}

/* ==========================================================================
   RESPONSIVE BORDERS & UTILITIES
   ========================================================================== */
@media (min-width: 768px) {
  .border-md-end {
    border-right: 1px solid #e2e8f0 !important;
  }
}
@media (max-width: 767.98px) {
  .border-md-end {
    border-bottom: 1px solid #e2e8f0 !important;
    padding-bottom: 1rem;
  }
}