/*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
      );
}



/* =====================================================
 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;
}
}