/* =====================================
   COMPANY HIGHLIGHTS (STATS)
===================================== */

.company-highlights {
    position: relative;
    background: #fff;
    overflow: hidden;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  /* subtle industrial grid */
  .company-highlights::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;
  }
  
  /* each stat block */
  .company-highlights .col-md-3 {
    position: relative;
    z-index: 1;
    padding: 25px 15px;
    transition: 0.3s;
  }
  
  /* number */
  .company-highlights h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 5px;
  }
  
  /* text */
  .company-highlights p {
    color: var(--text-light);
    font-size: 0.95rem;
  }
  
  /* hover effect */
  .company-highlights .col-md-3:hover {
    transform: translateY(-6px);
  }
  
  /* subtle divider line */
  .company-highlights .col-md-3::after {
    content: "";
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: #eee;
  }
  
  .company-highlights .col-md-3:last-child::after {
    display: none;
  }

  /* =====================================
   COMPANY VIDEO SECTION
===================================== */

.company-video-section {
    position: relative;
    background: #111;
    color: #fff;
    overflow: hidden;
    padding-bottom: 100px;
    z-index: 2;
    
  }
  
  .company-video-section::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, transparent, #0b0b0b);
    z-index: 1;
  }
  
  /* red glow */
  .company-video-section::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(237,28,36,0.2), transparent 70%);
    bottom: 0;
    right: -80px;
  }
  
  /* content above */
  .company-video-section .container {
    position: relative;
    z-index: 1;
  }
  
  /* video wrapper */
  .company-video-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  }


  
  /* video */
  .company-video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: 0.4s ease;
  }
  
  /* overlay */
  .company-video-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
  }
  
  /* hover effect */
  .company-video-wrapper:hover video {
    transform: scale(1.05);
  }

  /* PLAY BUTTON */
.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(237,28,36,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    z-index: 2;
    transition: 0.3s;
  }
  
  .video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--primary-dark);
  }
  
  /* hide button when playing */
  .company-video-wrapper.playing .video-play-btn {
    opacity: 0;
    pointer-events: none;
  }

  /* =====================================
   VISION MISSION SECTION
===================================== */

.vision-mission-section {
    background: #fff;
  }
  
  /* card */
  .vm-box {
    background: #fff;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
    padding: 35px 30px;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: all 0.35s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
  }
  
  
  .vm-box::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(120deg, transparent, var(--primary), transparent);
    -webkit-mask: 
      linear-gradient(#fff 0 0) content-box, 
      linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: 0.4s;
  }
  
  /* soft glow background */
  .vm-box::after {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(237,28,36,0.15), transparent 70%);
    top: -50px;
    right: -50px;
    opacity: 0;
    transition: 0.4s;
  }
  
  /* HOVER */
  .vm-box:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  }
  
  .vm-box:hover::before {
    opacity: 1;
  }
  
  .vm-box:hover::after {
    opacity: 1;
  }
  
  /* ICON */
  .vm-icon {
    width: 65px;
    height: 65px;
    background: rgba(237, 28, 36, 0.12);
     border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 15px;
    transition: 0.35s ease;
    box-shadow: 0 5px 15px rgba(237,28,36,0.15);
  }
  
  /* icon animation */
  .vm-box:hover .vm-icon {
    background: var(--primary);
    color: #fff;
    transform: rotate(-10deg) scale(1.1);
  }
  
  /* TITLE */
  .vm-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    transition: 0.3s;
  }
  
  /* title color shift */
  .vm-box:hover h3 {
    color: var(--primary);
  }
  
  /* TEXT */
  .vm-box p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.7;
  }
  
  /* LIST */
  .expertise-list {
    list-style: none;  
    padding-left: 0;    
    margin: 0;
  }
  .expertise-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 6px;
  }
  
  /* custom bullet */
  .expertise-list li::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--primary);
    position: absolute;
    left: 0;
    top: 8px;
    border-radius: 50%;
  }

  /* =====================================
   MANUFACTURING GRID
===================================== */

.station-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    background: #000;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);  
    transition: all 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
  }
  
  /* IMAGE */
  .station-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
  
    transition: transform 0.6s ease, filter 0.4s ease;
  }
  
  /* DARK OVERLAY (BASE) */
  .overlay-machines {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 22px;
  
    background: linear-gradient(
      to top,
      rgba(0,0,0,0.8) 10%,
      rgba(0,0,0,0.3) 50%,
      transparent 100%
    );
  
    z-index: 2;
  }
  
  /* TITLE */
  .overlay-machines h5 {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.3px;  
    transform: translateY(10px);
    opacity: 0.9;
    transition: all 0.4s ease;
  }
  
  /* RED EDGE LIGHT */
  .station-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;
    padding: 1px;
  
    background: linear-gradient(120deg, transparent, var(--primary), transparent);
  
    -webkit-mask:
      linear-gradient(#fff 0 0) content-box,
      linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
  
    opacity: 0;
    transition: 0.4s;
  }
  
  /* GLOW EFFECT */
  .station-card::after {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(237,28,36,0.25), transparent 70%);
    top: -80px;
    right: -80px;
    opacity: 0;
    transition: 0.5s ease;
  }
  
  /* HOVER */
  .station-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 25px 50px rgba(0,0,0,0.18);
  }
  
  /* IMAGE EFFECT */
  .station-card:hover img {
    transform: scale(1.12);
    filter: brightness(0.9);
  }
  
  /* TEXT ANIMATION */
  .station-card:hover .overlay-machines h5 {
    transform: translateY(0);
    opacity: 1;
  }
  
  /* BORDER GLOW */
  .station-card:hover::before {
    opacity: 1;
  }
  
  /* RED LIGHT */
  .station-card:hover::after {
    opacity: 1;
  }

  /* FIX CONTAINER LOOK */
.container.my-5.py-4 {
    padding-top: 20px !important;
  }
  
 /* GRID SPACING */
.row.g-4 {
    row-gap: 28px;
  }
  
  /* CONTAINER TUNING */
  .container.my-5.py-4 {
    padding-top: 10px !important;
  }
  /* =====================================
   IMAGE MODAL
===================================== */

.modal-content {
    background: transparent;
    border: none;
  }
  
  #modalImage {
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
    max-height: 80vh;
    object-fit: contain;
  }

  @media (max-width: 768px) {
    .station-card img {
      height: 200px;
    }
  
    .overlay-machines {
      padding: 15px;
    }
  
    .overlay-machines h5 {
      font-size: 0.9rem;
    }
  }

/* =====================================
   WHY AMEYA FINAL (FIXED VERSION)
===================================== */

/* TITLE */
.heading-title {
    text-align: center;
    font-family: 'Oswald', sans-serif;
    font-size: 2.2rem;
    margin: 50px 0 20px;
    position: relative;
  }

  .heading-title::after {
    content: "";
    width: 60px;
    height: 3px;
    background: var(--primary);
    display: block;
    margin: 10px auto 0;
  }
  
  /* WRAPPER */
  .carousel-wrapper {
    overflow: hidden;
    position: relative;
  }
  
  /* FADE EDGES */
  .carousel-wrapper::before,
  .carousel-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
  }
  
  .carousel-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #fff, transparent);
  }
  
  .carousel-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #fff, transparent);
  }
  
  /* TRACK (AUTO SCROLL) */
  .advantage-track {
    display: flex;
    width: max-content;
    animation: scrollLoop 35s linear infinite;
  }
  
  /* PAUSE ON HOVER */
  .carousel-wrapper:hover .advantage-track {
    animation-play-state: paused;
  }
  
  /* LOOP ANIMATION */
  @keyframes scrollLoop {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }
  
  /* LIST */
  .advantage-list {
    display: flex;
    gap: 20px;
    padding: 10px 20px;
  }
  
  /* 🔥 CARD FIX (IMPORTANT) */
  .advantage-box {
    min-width: 260px;
    max-width: 280px;
  
    /* ✅ FORCE SAME HEIGHT */
    height: 220px;
  
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  
    padding: 25px 20px;
  }
  
  /* ICON */
  .advantage-box .vm-icon {
    margin-bottom: 15px;
    flex-shrink: 0;
  }
  
  /* TEXT */
  .advantage-box p {
    flex-grow: 1;
    font-size: 0.92rem;
    display: flex;
    align-items: flex-start;
  }
  
  /* MOBILE */
  @media (max-width: 768px) {
    .advantage-box {
      min-width: 230px;
      height: 200px;
    }
  }