/* Transparent default */
#mainNav {
  transition: all 0.3s ease;
  /* padding: 1rem 0; */
}

#mainNav:not(.scrolled) .navbar-brand img {
  filter: brightness(0) invert(1);
  /* Makes black logo white */
}

#mainNav.scrolled .navbar-brand img {
  filter: none;
  /* normal dark logo */
}

/* White background when scrolled */
#mainNav.scrolled {
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Default nav links (white over hero) */
#mainNav .nav-link,
#mainNav .navbar-brand {
  color: #ffffff;
  transition: 0.3s;
}

/* When scrolled → dark text */
#mainNav.scrolled .nav-link,
#mainNav.scrolled .navbar-brand {
  color: #000000;
}

/* Active link style */
#mainNav .nav-link.active {
  font-weight: 700;
  border-bottom: 2px solid currentColor;
}

/* Button style change */
#navBtn {
  transition: 0.3s;
}

#mainNav.scrolled #navBtn {
  background: #000;
  color: #fff;
  border-color: #000;
}

@media (max-width: 991px) {
  .navbar-collapse {
    background: white;
    padding: 20px;
    border-radius: 12px;
    margin-top: 10px;
  }

  .navbar-collapse .nav-link {
    color: black !important;
  }
}

/* Fix hero spacing because navbar is fixed */
.hero {
  padding-top: 120px;
}

.sec {
  padding-left: 100px;
  padding-right: 100px;
}

/* HERO ADVANCED */

.hero {
  position: relative;
  padding: 180px 0 150px;
  background: linear-gradient(343deg, #2f3d59, #061a33);
  color: white;
  overflow: hidden;
}

/* Grid Overlay */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
}

/* Content */
.hero-content {
  position: relative;
  z-index: 3;
}

/* Badge */
.hero-badge {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  font-size: 14px;
  margin-bottom: 20px;
}

/* Title */
.hero h1 {
  font-size: 90px;
  font-weight: 800;
  line-height: 1.1;
}

.hero h1 span {
  color: #5fa2ff;
}

/* Text */
.hero p {
  max-width: 520px;
  font-size: 18px;
  color: #cbd5e1;
}

/* Buttons */
.hero-btn-primary {
  background: white;
  color: #000;
}

.hero-btn-outline {
  border: 1px solid white;
  color: white;
}

/* Floating Cards */

.floating-card {
  position: absolute;
  /* width: 220px; */
  /* height: 130px; */
  border: 1px solid #4b5a6f;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  padding: 20px;
  animation: float 6s ease-in-out infinite;
  z-index: 2;
}

.floating-card small {
  color: #bbb;
}

/* Card Positions */

.card-1 {
  width: 167px;
  top: 25%;
  right: 12%;
  animation-delay: 0s;
}

.card-2 {
  width: 167px;
  bottom: 25%;
  right: 18%;
  animation-delay: 2s;
}

.card-3 {
  width: 167px;
  bottom: 18%;
  left: 10%;
  animation-delay: 4s;
}

/* Animation */
/* Diagonal floating animation */
@keyframes float {
  0%,
  100% {
    transform: translate(0, 0);
  }

  25% {
    transform: translate(5px, -5px);
  }

  50% {
    transform: translate(-5px, -10px);
  }

  75% {
    transform: translate(5px, -5px);
  }
}

.section {
  padding: 110px 0;
}

.det {
  /* padding-top: 20px; */
  height: 30px;
  position: relative;
}

.det::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -45px;
  height: 160px;
  background: linear-gradient(to bottom, #c9d0dd, #fff);
  filter: blur(33px);
  z-index: 0;
  pointer-events: none;
}

.title {
  font-size: 45px;
}

.stats h3 {
  font-weight: 700;
  font-size: 34px;
}

/* Container Grid */
.stats-wrapper {
  background: linear-gradient(281deg, #f2f5f7, #f4f8fe);
  padding: 30px;
  border-radius: 40px;
  margin: 25px auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

/* Stat Card Styles */
.stat-card {
  background: #fbfbfe;
  border-radius: 30px;
  padding: 60px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.card-5 {
  height: 165px;
  padding: 20px;
}

.card-7 {
  height: 165px;
  width: 100%;
  /* Let it stretch on mobile */
  padding: 20px;
}

.stat-card:hover {
  transform: translateY(-10px);
}

.stat-card h2 {
  font-size: 25px;
  font-weight: 700;
  color: #0f172a;
  text-align: start;
  margin: 20px 0 5px;
}

.stat-card p {
  font-size: 15px;
  color: #6b7280;
  margin-bottom: 1px;
  text-align: start;
}

.stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  /* margin: 0 auto; */
}

/* Icon Colors */
.blue {
  background: #3b82f633;
}

.green {
  background: #10b98133;
}

.beige {
  background: #d6c2a833;
}

.dark {
  background: #1e3a5f33;
}

/* Floating Animation */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

.animate-card {
  animation: float 4s ease-in-out infinite;
}

/* Responsive Grid */
@media (max-width: 992px) {
  .stats-wrapper {
    grid-template-columns: 1fr 1fr;
    /* 2 per row on tablets */
  }
}

@media (max-width: 768px) {
  .stats-wrapper {
    grid-template-columns: 1fr;
    /* 1 per row on mobile */
    gap: 20px;
    padding: 20px;
  }

  .stat-card {
    padding: 50px 15px 15px 15px;
    height: auto;
    /* Allow flexible height */
  }
}

.portfolio-card {
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 30px;
  transition: 0.3s;
  background: white;
  height: 100%;
}

.portfolio-card:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.07);
  transform: translateY(-5px);
}

.strategy-box {
  background-color: #fff;
  padding: 30px;
  /* border: 1px solid #eee; */
  box-shadow: 0 4px 20px -2px #3b82f614, 0 2px 8px -2px #0000000f;
  border-radius: 16px;
  height: 100%;
}

.partner {
  overflow: hidden;
  position: relative;
  padding: 180px 0 150px;
  background: linear-gradient(343deg, #2f3d59, #061a33);
  overflow: hidden;
}

.partner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
  pointer-events: none; /* 👈 THIS FIXES YOUR BUTTON */
}

.partner .container {
  position: relative;
  z-index: 2; /* keeps content above overlay */
}
.butt:hover {
  color: #fff;
}
.psize {
  font-size: 17px;
}

.footer {
  background: #071a2c; /* deep navy like screenshot */
  color: #9aa4b2;
  padding: 80px 0 40px;
}

.footer-brand {
  margin: 0; /* remove default spacing */
  font-size: 22px;
  font-weight: 600;
  color: #fff;
}

.footer-description {
  max-width: 420px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-email {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 14px;
}

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

.footer-heading {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 15px;
}

.footer a {
  color: #9aa4b2;
  text-decoration: none;
  font-size: 14px;
  display: inline-block;
  margin-bottom: 8px;
  transition: 0.3s ease;
}

.footer a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 40px 0 20px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 14px;
  color: #7b8794;
}
.footer-logo {
  width: 70px; /* adjust size */
  height: auto;
  filter: brightness(0) invert(1);
}
.footer-brand-wrapper {
  display: flex;
  align-items: center; /* vertically center */
  margin-bottom: 10px;
}

@media (max-width: 1099px) {
  /* Title */
  .hero h1 {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.1;
  }

  /* Text */
  .hero p {
    max-width: 520px;
    font-size: 15px;
    color: #cbd5e1;
  }

  .title {
    font-size: 25px;
  }

  .psize {
    font-size: 14px;
  }
}

/* ====== FILTER TABS ====== */
.filter-tabs {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
}

.filter-tabs button {
  border: none;
  padding: 10px 22px;
  border-radius: 30px;
  background: #e9edf3;
  font-weight: 500;
  color: #4b5563;
  transition: 0.3s;
}

.filter-tabs button.active {
  background: #0f172a;
  color: white;
}

/* ====== PROJECT CARD ====== */
.project-card {
  background: white;
  border-radius: 30px;
  padding: 60px;
  margin-bottom: 60px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

/* Split layout */
.project-content {
  display: flex;
  align-items: center;
  gap: 60px;
}

/* Image Placeholder */
.project-image {
  flex: 1;
  background: #eef1f5;
  border-radius: 30px;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Floating mini icon */
.project-image::after {
  content: "";
  position: absolute;
  top: -20px;
  right: -20px;
  background: white;
  width: 60px;
  height: 60px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
/* Floating mini icon */
.shoping::after {
    content: "🛍️";
  }
  /* Floating mini icon */
.gaming::after {
    content: "🎮";
  }
/* Floating mini icon */
.Technology::after {
    content: "💻";
  }

/* Content */
.project-text {
  flex: 1;
}

/* Badges */
.badge-status {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.badge-live {
  background: #dcfce7;
  color: #15803d;
}

.badge-coming {
  background: #fef3c7;
  color: #b45309;
}
.badge-PIPELINE {
    background: rgb(243 232 254);
    color: rgb(126 34 206 / var(--tw-text-opacity, 1));
  }

/* Title */
.project-text h2 {
  font-size: 42px;
  font-weight: 700;
  margin: 15px 0 5px;
}

.project-text h5 {
  color: #3b82f6;
  margin-bottom: 20px;
}

.project-text p {
  color: #6b7280;
  line-height: 1.7;
}

/* Stats */
.project-stats {
  display: flex;
  gap: 60px;
  margin: 30px 0;
}

.project-stats h4 {
  font-weight: 700;
}

/* Visit link */
.visit-link {
  color: #3b82f6;
  font-weight: 600;
  text-decoration: none;
}

/* Divider */
.divider {
  height: 1px;
  background: #e5e7eb;
  margin: 25px 0;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 992px) {
  .project-content {
    flex-direction: column;
    gap: 40px;
  }

  .project-card {
    padding: 40px 25px;
  }

  .project-image {
    height: 250px;
    width: 100%;
  }

  .project-stats {
    gap: 30px;
    flex-wrap: wrap;
  }
}

/* TIMELINE */

.timeline-section {
  background: #f9fafb;
  padding-top: 80px;
  padding-bottom: 80px;
}

/* Container */
.timeline {
  position: relative;
  /* max-width: 900px; */
  margin: auto;
}

/* Center Line */
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #e5e7eb;
  transform: translateX(-50%);
}

/* Item */
.timeline-item {
  position: relative;
  width: 50%;
  padding: 30px 40px;
}

/* Left / Right */
.timeline-item.left {
  left: 0;
}

.timeline-item.right {
  left: 50%;
}

/* Dot */
.timeline-item::before {
  content: "";
  position: absolute;
  top: 35px;
  width: 14px;
  height: 14px;
  background: #3b82f6;
  border-radius: 50%;
  border: 4px solid #f2f2f2;
  z-index: 2;
}

/* Dot position */
.timeline-item.left::before {
  right: -7px;
}

.timeline-item.right::before {
  left: -7px;
}

/* Content */
/* .timeline-content{
    background:#fff;
} */

/* Year Badge */
.year-badge {
  display: inline-block;
  padding: 6px 14px;
  background: #eaf2ff;
  color: #3b82f6;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    left: 0;
    padding-left: 60px;
    padding-right: 20px;
    text-align: left !important;
  }

  .timeline-item::before {
    left: 14px;
  }

  .timeline-content {
    text-align: left !important;
  }
}

.values-section {
  /* background-color: #f4f6f8; */
  padding: 80px 0;
}

.value-icon {
  width: 70px;
  height: 70px;
  background-color: #0d1b2a;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  color: #fff;
}

.value-title {
  font-weight: 600;
  margin-bottom: 15px;
}

.value-text {
  /* color: #6c757d; */
  max-width: 280px;
  margin: 0 auto;
}
