/*Carousel*/
/* ================= HERO V2 WRAPPER ================= */
.hero-industrial-v2 {
    position: relative;
    height: 85vh;
    overflow: hidden;
}

/* ================= BACKGROUND CAROUSEL ================= */
.hero-industrial-v2 .hero-carousel {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-industrial-v2 .carousel-inner,
.hero-industrial-v2 .carousel-item {
    height: 100%;
}

.hero-industrial-v2 .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ================= DARK OVERLAY ================= */
.hero-industrial-v2 .hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;

    background:
        linear-gradient(to right,
            rgba(0,0,0,0.75) 20%,
            rgba(0,0,0,0.4) 50%,
            rgba(0,0,0,0.1) 100%
        ),
        repeating-linear-gradient(
            to right,
            rgba(255,255,255,0.06) 0px,
            rgba(255,255,255,0.06) 1px,
            transparent 1px,
            transparent 80px
        ),
        repeating-linear-gradient(
            to bottom,
            rgba(255,255,255,0.06) 0px,
            rgba(255,255,255,0.06) 1px,
            transparent 1px,
            transparent 80px
        );
}

/* ================= CONTENT ================= */
.hero-industrial-v2 .hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}



/* ================= TEXT ================= */
.hero-industrial-v2 .hero-title {
    font-size: 52px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.hero-industrial-v2 .hero-title span {
    color: #ff2b2b;
}

.hero-industrial-v2 .hero-subtitle {
    color: #d1d5db;
    font-size: 16px;
    margin: 20px 0;
    max-width: 500px;
}

/* ================= BUTTONS ================= */
.hero-industrial-v2 .hero-buttons {
    margin-top: 20px;
}

.hero-industrial-v2 .btn-primary-custom {
    background: #ff2b2b;
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    margin-right: 10px;
    display: inline-block;
    text-decoration: none;
}

.hero-industrial-v2 .btn-outline-custom {
    border: 1px solid #fff;
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    display: inline-block;
    text-decoration: none;
}

/* ================= STATS ================= */
.hero-industrial-v2 .hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.hero-industrial-v2 .hero-stats h3 {
    color: #ff2b2b;
    font-size: 28px;
}

.hero-industrial-v2 .hero-stats span {
    color: #9ca3af;
    font-size: 14px;
}

/* ================= INDICATORS ================= */
.hero-industrial-v2 .carousel-indicators {
    bottom: 30px;
}

.hero-industrial-v2 .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    opacity: 0.5;
}

.hero-industrial-v2 .carousel-indicators .active {
    opacity: 1;
    background-color: #ff2b2b;
}

/* ================= MOBILE ================= */
@media (max-width: 992px) {

    .hero-industrial-v2 .col-lg-6 {
        margin-left: 0;
    }

    .hero-industrial-v2 .hero-title {
        font-size: 36px;
    }

    .hero-industrial-v2 .hero-stats {
        gap: 20px;
    }
}

  /* =====================================================
   CAPABILITIES SECTION
===================================================== */

  
  /* Card */
  .feature-card {
    padding: 30px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #eee;
    background: linear-gradient(180deg, #ffffff, #fafafa);
  }
  
  /* Top red accent bar */
  .feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--primary);
    transition: 0.3s;
  }
  /* Icon Wrapper */
.feature-icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: rgba(237, 28, 36, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    position: relative;
  }
  
  /* Icon */
  .feature-icon {
    font-size: 2rem;
    color: var(--primary);
    transition: 0.3s ease;
  }
  
  /* Hover Effect */
  .feature-card:hover .feature-icon-wrapper {
    background: var(--primary);
  }
  
  .feature-card:hover .feature-icon {
    color: #fff;
    transform: scale(1.15);
  }
  
  /* Subtle pulse ring (premium effect) */
  .feature-icon-wrapper::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid var(--primary);
    opacity: 0;
    transform: scale(1);
    transition: 0.4s;
  }
  
  .feature-card:hover .feature-icon-wrapper::after {
    opacity: 0.4;
    transform: scale(1.3);
  }

  /* Hover effect */
  .feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
  }
  
  .feature-card:hover::before {
    width: 100%;
  }
  
  /* Icon */
  .feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    transition: 0.3s;
  }
  
  /* Icon hover */
  .feature-card:hover .feature-icon {
    transform: scale(1.1);
  }
  
  /* Title */
  .feature-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
  }
  
  /* Description */
  .feature-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .feature-card {
      padding: 25px 15px;
    }
  }

  /* =====================================================
   PROJECTS SECTION
===================================================== */

/* Carousel Wrapper */
.crousel-main {
  position: relative;
  overflow: hidden;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease;
  }
  
  /* Item */
  .project-item {
    width: calc(100% / 4);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    padding: 8px;
  }
  
  /* Image */
  .project-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    transition: 0.4s ease;
  }
  
  /* Subtle zoom */
  .project-item:hover img {
    transform: scale(1.06);
  }
  
  /* Overlay */
  .project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 12px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: #fff;
    font-size: 0.9rem;
    transform: translateY(100%);
    transition: 0.3s ease;
  }
  
  /* Show on hover */
  .project-item:hover .project-overlay {
    transform: translateY(0);
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .project-item {
      width: calc(100% / 2);
    }
  }
  
  @media (max-width: 480px) {
    .project-item {
      width: 100%;
    }
  }

/* Buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
  z-index: 2;
}

.carousel-btn:hover {
  background: var(--primary);
}

.carousel-btn.prev {
  left: -10px;
}

.carousel-btn.next {
  right: -10px;
}
/* =====================================================
   EXPERTISE SECTION 
===================================================== */

.expertise {
    position: relative;
    background: #f9f9f9;
    overflow: hidden;
  }
  .expertise-title {
    font-size: 2.4rem;
    font-weight: 700;
  }
  
  .expertise-title span {
    color: var(--primary);
  }

  .expertise-divider {
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 15px 0 25px;
  }

  /* subtle industrial grid */
  .expertise::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: 
      linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
  }
  
  /* soft color glow */
  .expertise::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(237,28,36,0.15), transparent 70%);
    top: -50px;
    right: -50px;
    z-index: 0;
  }
  
  /* bring content above */
  .expertise .container {
    position: relative;
    z-index: 1;
  }

  .expertise-text {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
  }
  
  /* list */
 .expertise-list {
  list-style: none;
  padding: 0;
}

.expertise-list li {
  background: #fff;
  padding: 12px 15px;
  margin-bottom: 12px;
  border-radius: 6px;
  font-weight: 500;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: 0.3s;
  position: relative;
  padding-left: 40px;
}

/* red bullet */
.expertise-list li::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
}

/* hover */
.expertise-list li:hover {
  transform: translateX(5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
  
  /* video */
  .expertise-video {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    aspect-ratio: 16/9;
  }
  
  /* video */
  .expertise-video video {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: 0.4s ease;
  }
  
  /* overlay */
  .expertise-video::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
  }
  
  /* hover */
  .expertise-video:hover video {
    transform: scale(1.05);
  }
 /* =========================
   TABLET
========================= */
@media (max-width: 992px) {
  .expertise {
    text-align: center;
  }

  .expertise .row {
    gap: 40px;
  }

  .expertise-video {
    aspect-ratio: 16/10; /* slightly taller */
  }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {

  .expertise-video {
    aspect-ratio: auto; 
  }

  .expertise-video video {
    height: auto;      
    object-fit: contain; 
    background: #000;    
  }

  .expertise-title {
    font-size: 1.8rem;
  }

  .expertise-text {
    font-size: 0.95rem;
  }

  .expertise-list li {
    font-size: 0.9rem;
  }

  .expertise-divider {
    margin-left: auto;
    margin-right: auto;
  }
}

/* =========================
   SMALL MOBILE
========================= */
@media (max-width: 480px) {

  .expertise-video {
    border-radius: 8px;
  }

  .expertise-divider {
    margin-left: auto;
    margin-right: auto;
  }
}