:root {
    --primary: #379e9e;
    --light: #000000;
    --dark: #ffffff;
}

/*--------------------------------------------------------------
# Machine Section
--------------------------------------------------------------*/
.machines .nav-tabs {
    border: 0;
}

.machines .nav-link {
    padding: 15px 0;
    transition: 0.3s;
    color: var(--primary);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 100%;
    border: 0;
    border-bottom: 4px solid #e2e4e6;
}

.machines .nav-link i {
    padding-right: 15px;
    font-size: 48px;
}

.machines .nav-link h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

@media (max-width: 575px) {
    .machines .nav-link h4 {
        font-size: 16px;
    }
}

.machines .nav-link:hover {
    color: var(--primary);
}

.machines .nav-link.active {
    color: white;
    background-color:#379e9e;
    border-color: yellow;
}

.nav-tabs .nav-link.active h4 {
    color: white;
}


.machines .tab-content {
    margin-top: 30px;
}

.machines .tab-pane h3 {
    font-weight: 700;
    font-size: 32px;
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.machines .tab-pane h3:after {
    content: "";
    position: absolute;
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary);
    left: 0;
    bottom: 0;
}

.machines .tab-pane ul {
    list-style: none;
    padding: 0;
}

.machines .tab-pane ul li {
    padding-top: 10px;
}

.machines .tab-pane ul i {
    font-size: 20px;
    padding-right: 4px;
    color: red;
}

.machines .tab-pane p:last-child {
    margin-bottom: 0;
}


.machines-img {
    height: 350px;
    /* Set your desired height */
    object-fit: cover;
    /* Ensures the image covers the area without distortion */
    width: 450px;
    /* Keeps the aspect ratio intact */
}


/* CSS Animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.machines .animate__animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}