:root {
  --purple: #7c3aed;
}

body {
  scroll-behavior: smooth;
}

.logo-img {
  height: 40px;
}

.text-purple {
  color: var(--purple);
}

.btn-purple {
  background: var(--purple);
  color: #fff;
}

.btn-purple:hover {
  background: #6d28d9;
  color: #fff;
}

.hero-section {
  height: 100vh;
  background: linear-gradient(135deg, #020617, #1e1b4b);
}

.icon-box {
  width: 60px;
  height: 60px;
  background: #ede9fe;
  color: var(--purple);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Navbar */
/* Default transparent navbar */
#navbar {
  transition:
    background-color 0.4s ease,
    box-shadow 0.4s ease;
}

/* Navbar after scroll */
#navbar.scrolled {
  background-color: #ffffff !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* Nav links color after scroll */
#navbar.scrolled .nav-link {
  color: #020617 !important;
}

/* Logo size */
.logo-img {
  height: 65px;
  transition: opacity 0.3s ease;
}

/* Humburger Menu */
/* ===== DEFAULT MOBILE HAMBURGER (WHITE) ===== */
.navbar-dark .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255,255,255,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* ===== SCROLLED STATE (BLACK HAMBURGER) ===== */
@media (max-width: 991px) {
  .navbar.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(15,23,42,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  }
}

/* Section */
.client-section {
  background: #fafafa;
  overflow: hidden;
}

/* Title */
.client-title {
  font-size: 11px;
  letter-spacing: 0.4em;
  font-weight: 700;
  color: #94a3b8;
}

/* Hero Slider */
.hero-slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-content {
  max-width: 650px;
  color: #ffffff;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.2);
  color: #c084fc;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.hero-content h1 {
  font-size: clamp(3rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 22px;
}

.hero-content h1 span {
  color: #a855f7;
}

.hero-content p {
  max-width: 520px;
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 35px;
}

/* Buttons */
.hero-buttons .btn-outline-light {
  height: 54px;
  padding: 0 28px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-weight: 600;
  line-height: 1;
}

.btn-brand {
  background: #a855f7;
  color: #fff;
  padding: 14px 28px;
  border-radius: 14px;
  font-weight: 700;
}

.btn-brand:hover {
  background: #9333ea;
  color: #fff;
}

/* Arrows */
.hero-arrow {
  position: absolute;
  bottom: 60px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.hero-arrow:hover {
  background: #a855f7;
}

.hero-arrow.prev {
  left: calc(50% - 80px);
}

.hero-arrow.next {
  left: calc(50% + 35px);
}

/* Dots */
.hero-dots {
  position: absolute;
  bottom: 74px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.hero-dots .dot {
  width: 7px;
  height: 7px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
}

.hero-dots .dot.active {
  background: #ffffff;
}

/* ================= HERO RIGHT IMAGE STACK ================= */

.hero-image-stack {
  position: relative;
  height: 520px;
}

/* Common image style */
.hero-img {
  position: absolute;
  width: 260px;
  border-radius: 22px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  animation: floatSoft 6s ease-in-out infinite;
}

/* Individual positioning */
.img-1 {
  top: 0;
  right: 40px;
  animation-delay: 0s;
}

.img-2 {
  top: 140px;
  right: 180px;
  animation-delay: 1.5s;
}

.img-3 {
  top: 280px;
  right: 20px;
  animation-delay: 3s;
}

/* Soft floating animation (NO Y SCROLL) */
@keyframes floatSoft {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-18px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .hero-content {
    text-align: center;
    padding-top: 100px;
  }

  .hero-arrow.prev {
    left: calc(50% - 70px);
  }

  .hero-arrow.next {
    left: calc(50% + 24px);
  }
}

/* Marquee */
.client-marquee {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.client-track {
  display: flex;
  align-items: center;
  gap: 80px;
  width: max-content;
  animation: clientScroll 28s linear infinite;
}

/* Pause on hover */
.client-marquee:hover .client-track {
  animation-play-state: paused;
}

/* Logo */
.client-logo {
  min-width: 160px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.client-logo img {
  max-height: 60px;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.75;
  transition: all 0.35s ease;
}

/* Hover effect */
.client-logo img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.08);
}

/* Animation */
@keyframes clientScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Fade in on scroll */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile */
@media (max-width: 768px) {
  .client-track {
    gap: 50px;
  }

  .client-logo {
    min-width: 120px;
  }

  .client-logo img {
    max-height: 45px;
  }
}

/* Dark mode ready */
body.dark-mode .client-section {
  background: #020617;
}

body.dark-mode .client-title {
  color: #64748b;
}

/* ===== PRODUCT CARD BASE ===== */
.product-card {
  transform: translateY(40px);
  opacity: 0;
  transition: all 0.8s ease;
}

/* Reveal on scroll */
.product-card.show {
  transform: translateY(0);
  opacity: 1;
}

/* Hover modern effect */
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

/* Dark card hover glow */
.product-card.bg-dark:hover {
  box-shadow: 0 25px 60px rgba(168, 85, 247, 0.25);
}

/* Icon animation */
.icon-animate {
  transition:
    transform 0.4s ease,
    background 0.4s ease;
}

.product-card:hover .icon-animate {
  transform: scale(1.15) rotate(5deg);
  background: rgba(168, 85, 247, 0.15);
}

/* Button animation */
.product-card .btn {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.product-card:hover .btn {
  transform: translateX(6px);
}

/* Stagger effect */
.product-card:nth-child(1) {
  transition-delay: 0.1s;
}
.product-card:nth-child(2) {
  transition-delay: 0.25s;
}
.product-card:nth-child(3) {
  transition-delay: 0.4s;
}

.animate-card {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease,
    box-shadow 0.4s ease;
  will-change: transform, opacity;
}

/* When visible */
.animate-card.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Hover effect */
.animate-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

/* Dark card glow */
.animate-card.bg-dark:hover {
  box-shadow: 0 30px 70px rgba(168, 85, 247, 0.25);
}

/* Icon micro animation */
.animate-card .icon-box {
  transition:
    transform 0.4s ease,
    background 0.4s ease;
}

.animate-card:hover .icon-box {
  transform: scale(1.15) rotate(5deg);
  background: rgba(168, 85, 247, 0.15);
}

/* Button animation */
.animate-card .btn {
  transition: transform 0.3s ease;
}

.animate-card:hover .btn {
  transform: translateX(6px);
}

/* Mobile tuning */
@media (max-width: 768px) {
  .animate-card {
    transform: translateY(30px);
  }
}

/* ================= CONTACT SECTION ================= */

.contact-section {
  background: #f8fafc;
}

/* Title */
.contact-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 16px;
}

.contact-title span {
  color: #8b3cf6;
}

/* Subtitle */
.contact-subtitle {
  font-size: 1.1rem;
  color: #64748b;
  max-width: 460px;
  margin-bottom: 40px;
}

/* Info blocks */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.info-icon {
  width: 48px;
  height: 48px;
  background: #ffffff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  color: #8b3cf6;
}

.info-item h6 {
  font-weight: 700;
  margin-bottom: 4px;
}

.info-item p {
  color: #64748b;
  margin: 0;
}

/* Form card */
.contact-card {
  background: #ffffff;
  border-radius: 40px;
  padding: 40px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.12);
}

/* Inputs */
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: none;
  background: #f8fafc;
  padding: 18px 20px;
  border-radius: 16px;
  font-size: 1rem;
  outline: none;
  color: #0f172a;
}

.contact-form textarea {
  margin-top: 20px;
  resize: none;
}

/* Submit button */
.btn-submit {
  width: 100%;
  margin-top: 24px;
  background: #8b3cf6;
  color: #ffffff;
  border: none;
  padding: 18px;
  border-radius: 16px;
  font-size: 1.1rem;
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background: #7c2ee6;
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(139, 60, 246, 0.35);
}

/* Mobile */
@media (max-width: 768px) {
  .contact-card {
    padding: 28px;
    border-radius: 28px;
  }

  .contact-title {
    text-align: center;
  }

  .contact-subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ================= ABOUT SECTION ================= */

.about-section {
  background: #ffffff;
}

/* Image wrapper */
.about-image-wrapper {
  position: relative;
  max-width: 520px;
}

/* Image */
.about-image {
  width: 100%;
  border-radius: 36px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.18);
  object-fit: cover;
}

/* Floating badge */
.about-badge {
  position: absolute;
  bottom: 40px;
  right: -40px;
  background: #ffffff;
  border-radius: 24px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

/* Badge icon */
.badge-icon {
  width: 56px;
  height: 56px;
  background: #dcfce7;
  color: #16a34a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-badge span {
  font-size: 11px;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #64748b;
  display: block;
}

.about-badge strong {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}

/* Right content */
.about-tag {
  display: inline-block;
  color: #8b3cf6;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}

.about-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: #0f172a;
  margin-bottom: 24px;
}

.about-text {
  font-size: 1.1rem;
  color: #64748b;
  max-width: 520px;
  margin-bottom: 32px;
}

/* Read more link */
.about-link {
  font-size: 1.05rem;
  font-weight: 700;
  color: #8b3cf6;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: gap 0.3s ease;
}

.about-link:hover {
  gap: 16px;
}

/* Mobile */
@media (max-width: 768px) {
  .about-image-wrapper {
    margin: 0 auto;
  }

  .about-badge {
    right: 50%;
    transform: translateX(50%);
    bottom: -30px;
  }

  .about-title,
  .about-text {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .about-link {
    justify-content: center;
  }
}

/* Service Section */
/* ================= SERVICE SECTION ================= */

.service-section {
  background: #f8fafc;
}

/* Left content */
.service-tag {
  display: inline-block;
  color: #8b3cf6;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  margin-bottom: 14px;
}

.service-title {
  font-size: clamp(2.8rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  color: #0f172a;
  margin-bottom: 20px;
}

.service-subtitle {
  font-size: 1.1rem;
  color: #64748b;
  max-width: 420px;
  margin-bottom: 32px;
}

/* Bullet list */
.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 18px;
}

.check-icon {
  width: 34px;
  height: 34px;
  background: #ede9fe;
  color: #8b3cf6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Right cards */
.service-card {
  background: #ffffff;
  border-radius: 32px;
  padding: 36px;
  height: 100%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.12);
}

/* Card icon */
.service-icon {
  width: 56px;
  height: 56px;
  background: #f3e8ff;
  color: #8b3cf6;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

/* Card text */
.service-card h4 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
}

.service-card p {
  color: #64748b;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Mobile */
@media (max-width: 768px) {
  .service-title,
  .service-subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .service-list {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/* Whatsapp Button */
/* ================= WHATSAPP BUTTON STYLES ================= */

/* Navbar WhatsApp Button (Desktop) */
.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  transition: all 0.3s ease;
}

.btn-whatsapp:hover {
  background: #1ebe5d;
  color: #ffffff;
  transform: translateY(-1px);
}

/* Floating WhatsApp Button (Mobile) */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 58px;
  height: 58px;
  background: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
  z-index: 9999;
  border: none;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}
