.section-rent {
    padding-top: 25px;
    padding-bottom: 25px;
    width: 100%;
    text-align: center;
    background-color: rgb(232, 239, 247);
}

.rent-slider-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    min-height: 50%;
}

.rent-card {
    margin: 25px;
    width: 350px;
    min-height: 350px;
    max-height: 350px;
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    transition: all 0.4s ease;
    position: relative;
    background-color: #eef2f7;
    box-shadow: 
        -8px -8px 16px rgba(255, 255, 255, 0.8),
        8px 8px 16px rgba(163, 177, 198, 0.4);
    overflow: hidden;
}

.rent-card:hover {
    transform: translateY(-6px);
    box-shadow: 
        -12px -12px 24px rgba(255, 255, 255, 0.9),
        12px 12px 24px rgba(163, 177, 198, 0.6);
    min-height: 410px; 
    max-height: 410px;
}

.rent-card-top {
    position: relative;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
    background: transparent;
    flex: 1;
}

.rent-title-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        to top, 
        rgba(0, 0, 0, 0.7) 0%, 
        rgba(0, 0, 0, 0.5) 30%,
        transparent 100%
    );
    padding: 15px 12px 8px;
    z-index: 2;
    transition: all 0.3s ease;
}

.rent-tech-title {
    margin: 0;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.5),
        0 2px 4px rgba(0, 0, 0, 0.3);
    text-align: center;
    line-height: 1.3;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.rent-card-bottom {
    text-align: center;
    display: flex;
    flex-direction: column;
    padding: 12px 20px;
    transition: all 0.4s ease;
    min-height: 60px;
    height: 60px;
    position: relative;
    z-index: 2;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(238, 242, 247, 0.95) 100%
    );
    border-radius: 0 0 24px 24px;
    justify-content: center;
}

.price-container {
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.price-text {
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(60, 60, 60, 0.9);
    margin: 0;
    text-align: center;
    text-shadow: 
        0 1px 1px rgba(255, 255, 255, 0.8),
        0 2px 2px rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    line-height: 1.2;
}

.order-button {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.9), rgba(220, 53, 69, 0.7));
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1.3rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0;
    z-index: 10;
    box-shadow: 
        0 6px 20px rgba(220, 53, 69, 0.4),
        0 8px 25px rgba(220, 53, 69, 0.3),
        0 2px 5px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    min-width: 170px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 auto;
    display: block;
    position: absolute;
    bottom: 18px; 
    left: 50%;
    transform: translateX(-50%) translateY(15px) scale(0.95);
}

.order-button:active {
    transform: translateX(-50%) translateY(2px) scale(0.98);
    box-shadow: 
        0 2px 8px rgba(220, 53, 69, 0.4),
        0 4px 12px rgba(220, 53, 69, 0.3),
        0 1px 3px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, rgba(200, 35, 51, 0.95), rgba(180, 25, 41, 0.85));
}

.order-button:hover:not(:active) {
    background: linear-gradient(135deg, rgba(220, 53, 69, 1), rgba(200, 35, 51, 0.95));
    transform: translateX(-50%) translateY(-3px) scale(1.02);
    box-shadow: 
        0 10px 25px rgba(220, 53, 69, 0.5),
        0 15px 35px rgba(220, 53, 69, 0.4),
        0 3px 8px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.tech-description {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease 0.1s;
    z-index: 1;
    pointer-events: none;
    margin-bottom: 70px; 
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    max-height: 75px;
    overflow: hidden;
}

.tech-description p {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(60, 60, 60, 0.9);
    margin: 0;
    text-align: center;
    line-height: 1.3;
    text-shadow: 
        0 1px 1px rgba(255, 255, 255, 0.8),
        0 2px 2px rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.85);
    padding: 10px 15px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 0 0 1px rgba(255, 255, 255, 0.6);
    max-width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rent-card:hover .rent-card-bottom {
    padding: 12px 20px 25px; 
    min-height: 140px; 
    height: auto;
    justify-content: flex-start;
}

.rent-card:hover .price-container {
    opacity: 0;
    transform: translateY(-15px); 
    pointer-events: none;
    height: 0;
    margin: 0;
    overflow: hidden;
}

.rent-card:hover .order-button {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
}

.rent-card:hover .tech-description {
    opacity: 1;
    transform: translateY(0);
    margin-bottom: 75px; 
}

.rent-card-image {
    display: block;
    width: 100%;
    height: 240px;
    position: relative;
}

.rent-card-image > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.9) brightness(1.05);
    transition: all 0.5s ease;
}

.rent-card:hover .rent-card-image > img {
    filter: saturate(1.2) brightness(1.1);
    transform: scale(1.03);
}

.rent-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.rent-card:hover .rent-image-overlay {
    opacity: 1;
}

.rent-overlay-title {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    text-align: center;
    padding: 20px 30px;
    max-width: 90%;
    
    color: rgba(60, 60, 60, 0.9);
    background: transparent;
    backdrop-filter: none;
    
    text-shadow: 
        0 1px 1px rgba(255, 255, 255, 0.9),
        0 2px 2px rgba(255, 255, 255, 0.8),
        0 3px 3px rgba(255, 255, 255, 0.7),
        0 4px 4px rgba(255, 255, 255, 0.6),
        0 0 2px rgba(255, 255, 255, 0.95),
        0 0 4px rgba(255, 255, 255, 0.8);
    
    transition: all 0.5s ease;
    transform: translateY(20px);
}

.rent-card:hover .rent-overlay-title {
    transform: translateY(0);
    color: rgba(40, 40, 40, 0.95);
}

.rent-card-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 20%,
        rgba(0, 0, 0, 0.1) 40%,
        rgba(0, 0, 0, 0.2) 60%,
        rgba(0, 0, 0, 0.3) 80%,
        rgba(0, 0, 0, 0.4) 100%
    );
    z-index: 1;
    pointer-events: none;
    mix-blend-mode: multiply;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.rent-card:hover .rent-card-image::before {
    opacity: 0.3;
}

.rent-card:hover .rent-title-bottom {
    opacity: 0;
    transform: translateY(8px);
}

.rent-swiper {
    width: 100%;
    padding: 20px 0;
}

.rent-swiper-wrapper {
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
}

.rent-swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
}
.section-rent h1 {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif !important;
    font-size: 2.4rem;
    font-weight: 800;
    color: rgba(60, 60, 60, 0.9);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 20px;
    text-shadow: 
        0 1px 1px rgba(255, 255, 255, 0.8),
        0 2px 2px rgba(255, 255, 255, 0.7);
}

.section-rent h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #00bfff);
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.3);
}

@media (max-width: 1024px) {
    .rent-card {
        width: 320px;
        min-height: 330px;
        max-height: 330px;
    }
    
    .rent-card:hover {
        min-height: 380px; 
        max-height: 380px;
    }
    
    .rent-card-image {
        height: 220px;
    }
    
    .rent-card-bottom {
        min-height: 55px;
        height: 55px;
    }
    
    .rent-card:hover .rent-card-bottom {
        min-height: 130px; 
        padding: 10px 20px 22px; 
    }
    
    .rent-tech-title {
        font-size: 1.1rem;
        padding: 12px 10px 6px;
    }
    
    .rent-overlay-title {
        font-size: 1.6rem;
        padding: 18px 25px;
    }
    
    .price-text {
        font-size: 1.3rem;
    }
    
    .order-button {
        font-size: 1.2rem;
        padding: 11px 28px;
        min-width: 160px;
        bottom: 16px; 
    }
    
    .tech-description {
        margin-bottom: 65px; 
        top: 12px;
        max-height: 70px; 
    }
    
    .rent-card:hover .tech-description {
        margin-bottom: 70px; 
    }
    
    .tech-description p {
        font-size: 1rem;
        padding: 9px 14px;
        -webkit-line-clamp: 3;
        line-height: 1.3;
    }
}

@media (max-width: 768px) {
    .rent-card {
        width: 300px;
        min-height: 320px;
        max-height: 320px;
        margin: 15px;
    }
    
    .rent-card:hover {
        min-height: 370px; 
        max-height: 370px;
    }
    
    .rent-card-image {
        height: 210px;
    }
    
    .rent-card-bottom {
        min-height: 50px;
        height: 50px;
    }
    
    .rent-card:hover .rent-card-bottom {
        min-height: 120px; 
        padding: 8px 20px 20px; 
    }
    
    .rent-tech-title {
        font-size: 1rem;
        padding: 10px 8px 5px;
    }
    
    .rent-overlay-title {
        font-size: 1.5rem;
        padding: 16px 22px;
    }
    
    .price-text {
        font-size: 1.2rem;
    }
    
    .order-button {
        font-size: 1.1rem;
        padding: 10px 25px;
        min-width: 150px;
        bottom: 14px; 
    }
    
    .tech-description {
        margin-bottom: 60px; 
        top: 10px;
        max-height: 65px; 
    }
    
    .rent-card:hover .tech-description {
        margin-bottom: 65px; 
    }
    
    .tech-description p {
        font-size: 0.95rem;
        padding: 8px 12px;
        -webkit-line-clamp: 3;
        line-height: 1.3;
    }
}

@media (max-width: 480px) {
    .rent-card {
        width: 280px;
        min-height: 310px;
        max-height: 310px;
        margin: 10px;
    }
    
    .rent-card:hover {
        min-height: 360px; 
        max-height: 360px;
    }
    
    .rent-card-image {
        height: 190px;
    }
    
    .rent-card-bottom {
        min-height: 45px;
        height: 45px;
    }
    
    .rent-card:hover .rent-card-bottom {
        min-height: 110px; 
        padding: 6px 20px 18px; 
    }
    
    .rent-tech-title {
        font-size: 0.95rem;
        padding: 8px 6px 4px;
    }
    
    .rent-overlay-title {
        font-size: 1.4rem;
        padding: 14px 20px;
    }
    
    .price-text {
        font-size: 1.1rem;
    }
    
    .order-button {
        font-size: 1rem;
        padding: 9px 22px;
        min-width: 140px;
        bottom: 12px; 
    }
    
    .tech-description {
        margin-bottom: 55px; 
        top: 8px;
        max-height: 60px; 
    }
    
    .rent-card:hover .tech-description {
        margin-bottom: 60px; 
    }
    
    .tech-description p {
        font-size: 0.9rem;
        padding: 7px 11px;
        -webkit-line-clamp: 3;
        line-height: 1.3;
    }
}