@media (max-width: 991.98px) {

  /* Center whole menu */
  .navbar-collapse {
    text-align: center;
  }

  /* Center nav items */
  .navbar-nav {
    margin: 0 auto;
    align-items: center;
  }

  /* Center each link */
  .navbar-nav .nav-link {
    justify-content: center;
  }

  /* Center dropdown menu */
  .dropdown-menu {
    text-align: center;
  }

}

@media (max-width: 991.98px) {
  .nav-link {
    display: flex;
    justify-content: center;
  }
}







/* Dropdown dark mode */
.navbar .dropdown-menu {
  background-color: #212529;
  /* same as navbar bg-dark */
  border: none;
}

.navbar .dropdown-item {
  color: #ffffff;
}

.navbar .dropdown-item:hover {
  background-color: #343a40;
  color: #ffffff;
}

.navbar .dropdown-divider {
  border-color: rgba(255, 255, 255, 0.2);
}

.small-arrow {
  font-size: 12px;
  transition: 0.3s;
  opacity: 0.7;
}

/* Rotate when open */
.nav-item.dropdown.show .small-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

.small-arrow {
  font-size: 20px;
  transform: translateY(3px);
  /* move down slightly */
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.7;
}

.small-arrow.rotate {
  transform: rotate(180deg);
  opacity: 1;
}

/* remove default bootstrap caret */
.dropdown-toggle::after {
  display: none !important;
}



/* Hover effect */
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(13, 110, 253, 0.35);
}

.btn-cta {
  border-radius: 999px;
  padding: 6px 16px;
  font-weight: 600;

  background: linear-gradient(135deg, #0d6efd, #4dabf7);
  border: none;

  box-shadow: 0 0 0 rgba(13, 110, 253, 0.5);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.5);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(13, 110, 253, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(13, 110, 253, 0);
  }
}

.btn-cta i {
  transition: transform 0.3s ease;
}

.btn-cta:hover i {
  transform: translateX(3px);
}






















/* Carousel */
/* Overlay for readability */
.carousel-item {
  position: relative;
}

.carousel-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

/* Custom caption (left + vertical center) */
.custom-caption {
  position: absolute;
  top: 50%;
  left: 20%;
  /* 👈 EXACT position you want */
  transform: translateY(-50%);
  z-index: 2;

  /* optional width control */
  max-width: 300px;
}

/* Layout */
.caption-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #fff;
}

/* ICON */
.app-icon {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 15px;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* TEXT */
.caption-content h5 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 5px;
}

.caption-content {
  opacity: 0;
  transform: translate3d(0, 20px, 0) scale(1.08);
  */ transform-style: preserve-3d;
}

.caption-content {
  backface-visibility: hidden;
}

/* Keyframes */
@keyframes smoothReveal {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(2.12);
  }

  60% {
    opacity: 1;
    transform: translateY(-5px) scale(0.98);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.myslider {
  perspective: 1200px;
}

.carousel-item.slide-left.active .caption-content {
  animation: revealFromRight 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.carousel-item.slide-right.active .caption-content {
  animation: revealFromLeft 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes revealFromRight {
  0% {
    opacity: 0;
    transform: translateX(120px) rotateY(-40deg) scale(1.4);
  }

  60% {
    opacity: 1;
    transform: translateX(-10px) rotateY(8deg) scale(0.95);
  }

  100% {
    opacity: 1;
    transform: translateX(0) rotateY(0deg) scale(1);
  }
}

@keyframes revealFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-120px) rotateY(40deg) scale(1.4);
  }

  60% {
    opacity: 1;
    transform: translateX(10px) rotateY(-8deg) scale(0.95);
  }

  100% {
    opacity: 1;
    transform: translateX(0) rotateY(0deg) scale(1);
  }
}

@media (max-width: 768px) {

  .myslider,
  .carousel-item {
    height: 400px;
  }

  .app-icon {
    width: 18vw;
    height: 24vw;
    max-width: 120px;
    max-height: 120px;
  }

    .carousel-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      /* 🔥 THIS is the key */
    }

}


/* Indicator container spacing (optional) */
.carousel-indicators {
  bottom: 15px;
}

/* Each indicator button */
.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  /* 🔥 makes it a circle */

  background-color: rgba(255, 255, 255, 0.5);
  border: none;

  margin: 0 6px;

  transition: all 0.3s ease;
}

/* Active dot */
.carousel-indicators .active {
  background-color: #fff;
  transform: scale(1.3);
  /* 🔥 slightly bigger */
}

/* Base button */
.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  top: 50%;
  transform: translateY(-50%);

  background: rgba(0, 0, 0, 0.4);
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0.8;
  transition: all 0.3s ease;
}

.carousel-control-prev {
  left: 15px;
  /* 👈 move away from left edge */
}

.carousel-control-next {
  right: 15px;
  /* 👈 move away from right edge */
}

/* Hover effect */
.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: rgba(0, 0, 0, 0.7);
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}

/* Icon style */
.carousel-control-prev span,
.carousel-control-next span {
  font-size: 18px;
  color: #fff;
}




section {
  margin-top: 60px;
  margin-bottom: 60px;
}

h2 {
  font-weight: 700;
}

.card,
.shadow-sm {
  transition: 0.3s;
}

.shadow-sm:hover {
  transform: translateY(-5px);
}

body {
  background: linear-gradient(135deg, #0f172a, #1e293b);
}


.hero-dark {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
}

.hero-dark h1 {
  font-size: 42px;
  letter-spacing: 1px;
}

.hero-dark p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 16px;
  opacity: 0.9;
}

.hero-dark h1 {
  font-size: 42px;
}

.hero-dark .btn {
  padding: 10px 24px;
  font-size: 16px;
}

/* 📱 Mobile optimization */
@media (max-width: 768px) {
  .hero-dark h1 {
    font-size: 28px;
    line-height: 1.3;
  }

  .hero-dark p {
    font-size: 14px;
    padding: 0 10px;
  }

  .hero-dark .btn {
    font-size: 18px;
    padding: 14px 28px;
    width: 100%;
    max-width: 280px;
  }
}

/* Hide line break on desktop */
.mobile-break {
  display: none;
}

/* Show line break on mobile */
@media (max-width: 768px) {
  .mobile-break {
    display: inline;

  }
}


/* Blog */
.blog-item {
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.blog-item:last-child {
  border-bottom: none;
}

.blog-item img {
  transition: transform 0.3s ease;
}

.blog-item:hover img {
  transform: scale(1.03);
}

.blog-section {
  background: #0f172a;
  /* dark but not black */
}

/* divider softer for dark */
.blog-item {
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-item:last-child {
  border-bottom: none;
}

/* image hover */
.blog-item img {
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-item:hover img {
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.blog-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .blog-img {
    height: 200px;
  }
}

.btn-read {
  background: #3b82f6;
  color: #fff;
  border: none;
  padding: 10px 18px;
  font-size: 15px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-read:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(59, 130, 246, 0.4);
  color: #fff;
}

.blog-title {
  font-size: 26px;
  font-weight: 600;
  opacity: 0.9;
}

.blog-featured {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(6, 182, 212, 0.1));
  padding: 20px;
  border-radius: 12px;
}

.btn-all {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 10px 24px;
  border-radius: 999px;
  transition: all 0.3s ease;
}

.btn-all:hover {
  background: #fff;
  color: #0f172a;
}


/* What we do */

.services-section {
  background: linear-gradient(135deg, #0f172a, #1e293b);
}

.service-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 12px;
  color: #fff;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.service-card i {
  color: #38bdf8;
}

/* Hover effect */
.service-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}


/* Footer */
.footer-section {
  background: linear-gradient(135deg, #020617, #0f172a);
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: 0.3s;
}

.footer-link:hover {
  color: #38bdf8;
}


/* All apps */
.apps-hero {
  background: linear-gradient(135deg, #0f172a, #1e293b);
}

.app-card {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: white;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.app-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.app-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.btn-app {
  background: #2563eb;
  color: #fff;
  border-radius: 999px;
  padding: 8px 18px;
}

.btn-app:hover {
  background: #1d4ed8;
  color: #fff;
}

.app-featured {
  border: 2px solid #38bdf8;
  transform: scale(1.02);
}


.app-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.app-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* App detall */
.store-btn:hover {
  transform: scale(1.08);
  opacity: 0.9;
}

.screenshot-img {
  height: 420px;
  object-fit: cover;
  border-radius: 20px;
  transition: 0.3s;
}

.screenshot-img:hover {
  transform: scale(1.03);
}

/* spacing fix for slick */
.slick-slide {
  padding: 0 5px;
}

.screenshot-slider {
  width: 100%;
}

.slide-item {
  padding: 0 10px;
}

.screenshot-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
}

/* fix slick rendering */
.slick-track {
  display: flex !important;
}

.slick-slide {
  height: auto;
}


.blog-card {
  background: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  transition: 0.3s;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-thumb img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.blog-content h6 {
  font-size: 14px;
  line-height: 1.4;
}

/* Blog */
.blog-btn {
  transition: all 0.25s ease;
}

/* Hover: switch to primary */
.blog-btn:hover {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* BlogDetail */

/* ===================== */
/* RELATED POSTS */
/* ===================== */

.related-card {
  transition: all 0.3s ease;
  border-radius: 16px;
  overflow: hidden;
}

.related-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.related-card img {
  transition: transform 0.3s ease;
}

.related-card:hover img {
  transform: scale(1.05);
}

.share-btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: all 0.2s ease;
}

.share-btn:hover {
  background: var(--bs-primary);
  border-color: var(--bs-primary);
  color: #fff;
  transform: translateY(-2px);
}