/*** Navigation Menu ***/
html {
  height: 100%;
  scroll-padding-top: 60px;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

@media (max-width: 768px) {
  #hero {
    padding-top: 140px !important;
  }
}

  #mainNav .navbar-nav .nav-item .nav-link {
    color: rgba(255, 255, 255, 0.7);
    padding: 0 1rem;
  }

.navbar .navbar-nav .nav-link {
    margin-right: 40px;
    color: var(--dark);
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}


.typing-display {
  font-weight: bold !important;
  color: #28B463;
  white-space: nowrap;
  border-right: 2px solid #00ff99;
  overflow: hidden;
  width: fit-content;
  animation: blinkCursor 0.8s steps(2) infinite;
}

/* Pulse Float */
.glow-link:hover {
  color: #00ffcc !important;
  text-shadow: 0 0 10px rgba(0, 255, 204, 0.6);
  transform: translateY(-5px) scale(1.05);
}

/* Optional floating motion when idle */
@keyframes navFloat {
  0% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
  100% { transform: translateY(0); }
}

.glow-link {
  animation: navFloat 3s ease-in-out infinite;
}

.nav-item {
  white-space: nowrap;
}


@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animated-list li {
  opacity: 0;
  transform: translateY(20px);
}

.animated-list li.animate-in {
  animation: fadeSlideUp 0.6s ease forwards;
}

.animated-list li.delay-1 { animation-delay: 0.1s; }
.animated-list li.delay-2 { animation-delay: 0.2s; }
.animated-list li.delay-3 { animation-delay: 0.3s; }
.animated-list li.delay-4 { animation-delay: 0.4s; }
.animated-list li.delay-5 { animation-delay: 0.5s; }
.animated-list li.delay-6 { animation-delay: 0.6s; }
.animated-list li.delay-7 { animation-delay: 0.7s; }

/*** Our Services ***/
.services-container {
  display: flex;
  flex-direction: row; /* Force horizontal layout */
  justify-content: center; /* Center horizontally */
  align-items: stretch; /* Make all cards same height if needed */
  gap: 2rem;
  padding: 4rem 4rem;
  flex-wrap: auto; /* Prevent wrapping on large screens */
  }

.service-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.4s ease;
  box-shadow: 0 0 15px rgba(0,255,153,0.05);
  position: relative;
  overflow: visible; /* ✅ allow content to grow */
  height: auto;       /* ✅ allow height to expand */
  min-height: 100%;   /* ✅ fill parent */
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-icon {
  font-size: 2rem;
  color: #6cb4b7;
  margin-bottom: 0.5rem;
}

/*** What We Do ***/
.about-img,
.feature-img {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.about-img img,
.feature-img img {
    position: absolute;
    width: 60%;
    height: 80%;
    object-fit: cover;
}

.about-img img:last-child,
.feature-img img:last-child {
    margin: 20% 0 0 40%;
}

.service-box {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.6); /* semi-transparent white */
  backdrop-filter: blur(3px); /* ← adjust blur strength here */
  -webkit-backdrop-filter: blur(3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 0.8s ease forwards;
  opacity: 2;
}

/* Reveal on load */
@keyframes fadeInUp {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.service-box .bg-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  filter: blur(4px);
  transition: all 0.4s ease;
  z-index: 0;
}

.service-box:hover .bg-hover {
  opacity: 0.15;
  filter: blur(2px);
  transform: scale(1.05); /* hover zoom effect */
}

.service-box .content {
  position: relative;
  z-index: 1;
  padding: 2.5rem;
  text-align: center; /* ✅ center-align text */
  display: flex;
  flex-direction: column;
  align-items: center; /* ✅ center content horizontally */
  justify-content: center; /* ✅ center content vertically if needed */
  height: 100%; /* ✅ ensure it fills the box */
}

.service-box .feature-icon {
  display: block;
  margin-bottom: 1rem;
  font-size: 3rem;
  color: #28B463;
  text-align: center;
}

/* Responsive: Adjust padding for smaller screens */
@media (max-width: 768px) {
  .service-box .content {
    padding: 2rem 1.5rem;
  }

  .service-box i {
    font-size: 2.5rem;
  }
}

/* Glass-style card */
.glass-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.4s ease;
  box-shadow: 0 0 15px rgba(0,255,153,0.05);
  position: relative;
  overflow: hidden;
}

/* Hover lift effect */
.glass-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 0 25px rgba(0, 255, 153, 0.4);
  border-color: rgba(0, 255, 153, 0.3);
}

/* Icon animation */
.glow-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #00ffcc;
  animation: floatIcon 3s ease-in-out infinite;
  text-shadow: 0 0 12px rgba(0,255,204,0.6);
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

.divider {
  border: none;
  height: 2px;
  width: 60px;
  background: linear-gradient(to right, #00ff99, #28B463);
  margin: 1rem auto;
}

/* Expand / collapse */
.service-desc-container {
  max-height: 80px;
  overflow: hidden;
  transition: max-height 0.5s ease, filter 0.3s ease;
  filter: blur(3px);
}

.service-card:hover .service-desc-container {
  filter: blur(0);
}

.service-card.expanded .service-desc-container {
  max-height: 1500px !Important;
  filter: none;
}

.toggle-btn {
  background: transparent;
  border: none;
  color: #00ffcc;
  margin-top: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.toggle-btn:hover {
  color: #28B463;
}


/*** Home page ***/
#services {
  position: relative;
  overflow: hidden;
}

/* Entrance Animation */
@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Other Pages Button */
@keyframes listCascade {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.process-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.process-item.animated {
  opacity: 1;
  transform: translateY(0);
  animation: listCascade 1s ease-out forwards;
}

.process-item.delay-1 { animation-delay: 0.3s; }
.process-item.delay-2 { animation-delay: 0.6s; }
.process-item.delay-3 { animation-delay: 0.9s; }
.process-item.delay-4 { animation-delay: 1.2s; }
.process-item.delay-5 { animation-delay: 1.5s; }
.process-item.delay-6 { animation-delay: 1.8s; }
.process-item.delay-7 { animation-delay: 2.1s; }

@keyframes listCascade {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

 .info-box {
    display: flex;
    align-items: center;
    background: #111;
    border: 1px solid #28B463;
    padding: 1.25rem;
    border-radius: 0.75rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(40, 180, 99, 0.6);
  }
  .info-icon-box {
    background: #28B463;
    color: #111;
    font-size: 1.5rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    transition: all 0.4s ease-in-out;
  }
  .info-icon-box:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 12px rgba(40, 180, 99, 0.5);
  }
  .social-glow {
    color: #28B463;
    transition: all 0.3s ease-in-out;
  }
  .social-glow:hover {
    transform: scale(1.2);
    color: #00ff99;
    text-shadow: 0 0 10px rgba(0, 255, 153, 0.6);
  }

/* Back to Top Button */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: none;
  background-color: transparent;
  border: 2px solid #00ff99;
  color: #00ff99;
  border-radius: 50%;
  padding: 0.5rem 0.6rem;
  font-size: 1.5rem;
  z-index: 999;
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 0 10px rgba(0, 255, 153, 0.4);
}

#backToTop:hover {
  background-color: #00ff99;
  color: #111;
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(0, 255, 153, 0.6);
}

.custom-button-wrapper {
  text-align: left;
  margin: 2rem 0;
  display: flex;
  justify-content: flex-start;
  padding-left: 2rem; /* Adjust spacing from the left edge */
}

.futuristic-btn {
  background-color: transparent;
  color: #00ff99;
  font-weight: 600;
  letter-spacing: 2px;
  padding: 0.8rem 2rem;
  text-transform: uppercase;
  font-size: 0.9rem;
  border: 2px solid transparent;
  border-radius: 0.75rem;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: 1rem; /* or try 2rem, 3rem depending on your design */
  margin-left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem; /* slight spacing between text and plus */
  text-decoration: none; /* remove underline if applied from anchor */
}

.futuristic-btn .plus-sign {
  font-size: 1.2rem;
  color: #00ff99;
  margin-top: 0.5rem;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  line-height: 1;
  margin: 0;
  padding: 0;
}

.futuristic-btn:hover {
  border-color: #00ff99;
  box-shadow: 0 0 12px rgba(0, 255, 153, 0.5), 0 0 25px rgba(0, 255, 153, 0.3);
}

.futuristic-btn span,
.futuristic-btn:hover .plus-sign {
  opacity: 1;
  transform: translateY(0);
  color: #00ff99; /* Match the button border/glow color */
}

.what-we-do-heading {
  margin-top: 1.2rem;        /* tighter space above */
  margin-bottom: 2rem;       /* balanced spacing below */
  color: white !important; /* neon green fix */
  font-weight: 600;
  text-transform: uppercase;
  text-align: center;
}

#What\ We\ Do {
  background: url('assets/img/pexels-steve-29506613.jpg') no-repeat center center;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

/* Futuristic Icon Hover */
#Industries h4 i {
  transition: transform 0.4s ease, color 0.4s ease, text-shadow 0.4s ease;
  color: #28B463;
  display: inline-block;
  position: relative;
}

#Industries h4:hover i {
  transform: scale(1.3) rotate(12deg) translateY(-3px);
  color: #00ff99;
  text-shadow: 0 0 8px rgba(0, 255, 153, 0.6), 0 0 20px rgba(0, 255, 153, 0.4);
}

/* Shared smooth transition */
#Industries h4 i {
  transition: all 0.4s ease-in-out;
  display: inline-block;
}

/* 🔧 Manufacturing – Spinning Gear */
.gear-rotate {
  animation: spinGear 3s linear infinite;
}

@keyframes spinGear {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 🚚 Distribution – Shaking Truck */
.truck-bounce {
  animation: bounceTruck 1.2s ease-in-out infinite;
}

@keyframes bounceTruck {
  0%, 100% { transform: translateX(0); }
  25%      { transform: translateX(2px); }
  50%      { transform: translateX(-2px); }
  75%      { transform: translateX(1px); }
}

/* 🧠 Discover – Pulsing/Scanning */
.futuristic-glow {
  animation: pulseGlow 2.5s ease-in-out infinite;
  color: #00ffcc;
  text-shadow: 0 0 6px rgba(0,255,204,0.5), 0 0 20px rgba(0,255,204,0.3);
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50%      { transform: scale(1.2); opacity: 1; }
}

 .form-control::placeholder {
    color: #ccc;
  }
  .form-control:focus {
    background-color: transparent;
    box-shadow: 0 0 0 0.2rem rgba(0, 255, 153, 0.25);
    border-color: #00ff99;
    color: #fff;
  }

 .futuristic-input {
    background: transparent;
    color: #fff;
    border: 1px solid #00ff99;
    border-radius: 0.75rem;
  }
  .futuristic-input:focus {
    box-shadow: 0 0 12px rgba(0,255,153,0.4);
    background-color: transparent;
    color: #fff;
  }
  .form-control::placeholder {
    color: #aaa;
  }

 .info-box {
    display: flex;
    align-items: center;
    background: #111;
    border: 1px solid #28B463;
    padding: 1.25rem;
    border-radius: 0.75rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(40, 180, 99, 0.6);
  }
  .info-icon-box {
    background: #28B463;
    color: #111;
    font-size: 1.5rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    transition: all 0.4s ease-in-out;
  }
  .info-icon-box:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 12px rgba(40, 180, 99, 0.5);
  }
  .social-glow {
    color: #28B463;
    transition: all 0.3s ease-in-out;
  }
  .social-glow:hover {
    transform: scale(1.2);
    color: #00ff99;
    text-shadow: 0 0 10px rgba(0, 255, 153, 0.6);
  }

