/* Rent Machine Cards Section - Matching Procure Materials Style */
.rent-machine-cards-section {
    background-color: #F5F5F5;
    padding: 60px 0;
    position: relative;
}

.rent-machine-cards-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Title Styling */
.rent-machine-cards-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.rent-machine-cards-title h2 {
    font-family: 'Inter', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.rent-machine-cards-title h2::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #DE5700;
    border-radius: 2px;
}

/* Swiper Container */
.rent-machine-swiper {
    position: relative;
    padding: 0 50px;
    overflow: hidden;
}

/* Card Styling */
.rent-machine-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    height: 300px;
    cursor: pointer;
}

.rent-machine-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.rent-machine-card a {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

/* Card Image */
.rent-machine-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.rent-machine-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.rent-machine-card:hover .rent-machine-card-image img {
    transform: scale(1.1);
}

/* Card Content */
.rent-machine-card-content {
    padding: 20px;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.rent-machine-card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.rent-machine-card-description {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #6c757d;
    margin: 0;
    line-height: 1.4;
    opacity: 0.8;
}

/* Navigation Arrows */
.rent-machine-swiper .swiper-button-next,
.rent-machine-swiper .swiper-button-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #DE5700 0%, #DE5700 100%);
    border-radius: 50%;
    color: white;
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
    font-weight: bold;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: 0 4px 15px rgba(231, 134, 75, 0.3);
}

.rent-machine-swiper .swiper-button-next:hover,
.rent-machine-swiper .swiper-button-prev:hover {
    background: linear-gradient(135deg, #DE5700 0%, #c44a00 100%);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(231, 134, 75, 0.4);
}

.rent-machine-swiper .swiper-button-next {
    right: 10px;
}

.rent-machine-swiper .swiper-button-prev {
    left: 10px;
}

.rent-machine-swiper .swiper-button-next:after,
.rent-machine-swiper .swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

/* View More Button */
.rent-machine-view-more {
    text-align: center;
    margin-top: 40px;
}

.rent-machine-view-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #DE5700 0%, #DE5700 100%);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 134, 75, 0.3);
}

.rent-machine-view-more-btn:hover {
    background: linear-gradient(135deg, #DE5700 0%, #c44a00 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(231, 134, 75, 0.4);
    color: white;
    text-decoration: none;
}

.rent-machine-view-more-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.rent-machine-view-more-btn:hover svg {
    transform: translateX(3px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .rent-machine-cards-section {
        padding: 40px 0;
    }

    .rent-machine-cards-title h2 {
        font-size: 28px;
    }

    .rent-machine-swiper {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .rent-machine-cards-section {
        padding: 30px 0;
    }

    .rent-machine-cards-container {
        padding: 0 15px;
    }

    .rent-machine-cards-title h2 {
        font-size: 24px;
    }

    .rent-machine-swiper {
        padding: 0 30px;
    }

    .rent-machine-card {
        height: 280px;
    }

    .rent-machine-card-image {
        height: 180px;
    }

    .rent-machine-card-content {
        height: 100px;
        padding: 15px;
    }

    .rent-machine-card-title {
        font-size: 16px;
    }

    .rent-machine-card-description {
        font-size: 13px;
    }

    .rent-machine-swiper .swiper-button-next,
    .rent-machine-swiper .swiper-button-prev {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .rent-machine-cards-title h2 {
        font-size: 20px;
    }

    .rent-machine-swiper {
        padding: 0 20px;
    }

    .rent-machine-view-more-btn {
        padding: 14px 28px;
        font-size: 14px;
    }
}
