.hero-slider {
    position: relative;
    width: 100%;
    height: 90vh;
    margin-top: 80px;
    /* Offset for the header */
    overflow: hidden;
    background: #000;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-slow);
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

/* Background Image with Dark Overlay */
.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 6s linear;
}

.slide.active .slide-bg {
    transform: scale(1);
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(75deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
}

/* Text Animations */
.hero-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 10%;
    color: #fff;
    z-index: 10;
}

.hero-eyebrow {
    font-family: var(--font-main);
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 14px;
    margin-bottom: 20px;
    transform: translateY(30px);
    opacity: 0;
    transition: var(--transition-slow);
}

.hero-title {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: clamp(40px, 6vw, 80px);
    line-height: 1.1;
    margin-bottom: 25px;
    max-width: 800px;
    transform: translateY(40px);
    opacity: 0;
    transition: var(--transition-slow) 0.2s;
}

.hero-desc {
    font-size: 18px;
    color: #ccc;
    max-width: 550px;
    margin-bottom: 40px;
    transform: translateY(50px);
    opacity: 0;
    transition: var(--transition-slow) 0.4s;
}

.slide.active .hero-eyebrow,
.slide.active .hero-title,
.slide.active .hero-desc,
.slide.active .hero-btn-wrap {
    transform: translateY(0);
    opacity: 1;
}

/* Advanced "Liquid" Button Effect */
.hero-btn-wrap {
    opacity: 0;
    transform: translateY(60px);
    transition: var(--transition-slow) 0.6s;
}

.btn-advanced {
    position: relative;
    display: inline-block;
    padding: 18px 45px;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    background: var(--primary);
    overflow: hidden;
    transition: 0.4s ease;
    border: none;
}

.btn-advanced span {
    position: relative;
    z-index: 2;
}

.btn-advanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #fff;
    transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1;
}

.btn-advanced:hover {
    color: #000;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 204, 41, 0.3);
}

.btn-advanced:hover::before {
    left: 0;
}

/* Slider Controls */
.slider-nav {
    position: absolute;
    bottom: 50px;
    right: 10%;
    display: flex;
    gap: 20px;
    z-index: 100;
}

.nav-dot {
    width: 60px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    position: relative;
}

.nav-dot.active {
    background: rgba(255, 255, 255, 0.4);
}

.nav-dot.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--primary);
    animation: progress 5s linear forwards;
}

@keyframes progress {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding-left: 5%;
        padding-right: 5%;
        text-align: center;
        align-items: center;
    }

    .hero-title {
        font-size: 40px;
    }
}












/* About section */

.about-section {
        padding: 120px 0;
        background-color: #fff;
        overflow: hidden;
    }

    .about-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 80px;
        align-items: center;
    }

    /* Left Side: Image with Experience Badge */
    .about-image-wrapper {
        position: relative;
        padding: 20px;
    }

    .about-img {
        width: 100%;
        height: 600px;
        object-fit: cover;
        border-radius: 4px;
        filter: grayscale(20%);
    }

    .experience-badge {
        position: absolute;
        bottom: -30px;
        right: -30px;
        background: var(--primary);
        padding: 40px;
        text-align: center;
        box-shadow: 20px 20px 60px rgba(0,0,0,0.1);
        z-index: 2;
    }

    .experience-badge h3 {
        font-family: var(--font-main);
        font-size: 48px;
        font-weight: 700;
        margin: 0;
        line-height: 1;
        color: #fff;
    }

    .experience-badge p {
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 2px;
        margin: 5px 0 0;
        font-weight: 700;
        color: #fff;
    }

    /* Right Side: Typography */
    .about-tag {
        font-family: var(--font-main);
        color: var(--primary);
        font-size: 14px;
        letter-spacing: 4px;
        text-transform: uppercase;
        margin-bottom: 20px;
        display: block;
    }

    .about-title {
        font-family: var(--font-main);
        font-size: 44px;
        font-weight: 700;
        line-height: 1.2;
        margin-bottom: 30px;
        color: var(--dark);
    }

    .about-text {
        font-size: 17px;
        color: #555;
        line-height: 1.8;
        margin-bottom: 40px;
    }

    .stats-row {
        display: flex;
        gap: 40px;
        border-top: 1px solid #eee;
        padding-top: 40px;
    }

    .stat-item h4 {
        font-family: var(--font-main);
        font-size: 24px;
        font-weight: 700;
        margin-bottom: 5px;
    }

    .stat-item p {
        font-size: 13px;
        color: #888;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    @media (max-width: 991px) {
        .about-grid { grid-template-columns: 1fr; gap: 60px; }
        .about-image-wrapper { order: 2; }
        .experience-badge { bottom: 20px; right: 20px; padding: 25px; }
        .experience-badge h3 { font-size: 32px; }
        .about-title { font-size: 32px; }
    }












/* Industries Container Styling */
    .industries-section {
        padding: 50px 0;
        background-color: #fdfdfd;
        border-top: 1px solid var(--border-color);
        padding-bottom: 0;
    }

    /* Industry Card System */
    .industry-card {
        background: #ffffff;
        border: 1px solid var(--border-color);
        padding: 50px 40px;
        height: 100%;
        position: relative;
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1;
    }

    .industry-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: var(--primary);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.4s ease;
    }

    .industry-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
        border-color: #e5e0d8;
    }

    .industry-card:hover::before {
        transform: scaleX(1);
    }

    /* Card Content Typography */
    .industry-icon-box {
        font-size: 40px;
        color: var(--dark);
        margin-bottom: 25px;
        transition: 0.3s;
    }

    .industry-card:hover .industry-icon-box {
        color: var(--primary);
    }

    .industry-title {
        font-family: var(--font-main);
        font-weight: 700;
        font-size: 20px;
        color: var(--dark);
        margin-bottom: 15px;
    }

    .industry-desc {
        font-size: 14px;
        color: var(--gray);
        line-height: 1.7;
        margin-bottom: 0;
    }

    /* Highlight badge for core industry */
    .core-badge {
        position: absolute;
        top: 20px;
        right: 20px;
        font-family: var(--font-main);
        font-size: 9px;
        font-weight: 700;
        letter-spacing: 1px;
        background: var(--dark);
        color: #fff;
        padding: 4px 10px;
        text-transform: uppercase;
    }










  /* Product section */
.product-section {
    padding: 100px 0;
    background-color: #fdfdfd;
}

/* Professional Card Design */
.machine-card-link {
    display: block;
    color: inherit;
}

.machine-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 24px; /* Enhanced internal breathing space */
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    z-index: 1;
}

.machine-card-link:hover .machine-card {
    border-color: rgba(0, 150, 199, 0.2);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
    transform: translateY(-10px); /* Aggressive depth offset */
}

.img-container {
    height: 400px;
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    overflow: hidden;
    position: relative; /* Imperative for positioning action button inside */
}

.img-container img {
    max-width: 95%;
    max-height: 95%;
    width: 100%;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.machine-card-link:hover .img-container img {
    transform: scale(1.06);
}

/* Floating Interactive Action Button */
.machine-action-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 8px 20px rgba(0, 150, 199, 0.3);
    opacity: 0;
    transform: translateY(15px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 3;
}

.machine-card-link:hover .machine-action-btn {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Tech Spec Pills */
.spec-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.pill {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 6px 12px; /* Enhanced click/visual density */
    background: #f0f0f0;
    color: #666;
    border-radius: 4px; /* Subtle soft modernization edge */
    transition: all 0.3s ease;
}

.machine-card-link:hover .pill {
    background: var(--primary);
    color: #fff;
}

/* Interactive Typography Feedback */
.machine-card h4 {
    transition: color 0.3s ease;
}

.machine-card-link:hover h4 {
    color: var(--primary) !important;
}











