.products {
    padding: 5rem 0;
    background-color: var(--light);
    position: relative;
}

.products .leaf-decoration {
    top: -50px;
    left: -50px;
    transform: rotate(45deg);
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.products-header h2 {
    color: var(--secondary);
}

.products-header h2::after {
    background-color: var(--secondary);
}

.products-header button {
    background-color: var(--secondary);
    box-shadow: 0 4px 6px rgba(34, 135, 197, 0.2);
}

.products-header button:hover {
    background-color: var(--secondary-dark);
}

.products-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.product {
    display: flex;
    align-items: center;
    gap: 3rem;
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(34, 197, 94, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(34, 197, 94, 0.15);
}

.product:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--secondary);
}

.product-image {
    flex: 1;
    height: clamp(150px, calc(60vw - 144px), 300px);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.product-info {
    flex: 1;
    padding: clamp(8px, calc(8px + 1vw), 32px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-info .title {
    font-size: clamp(1rem, calc(5vw + 1px), 1.5rem);
    font-weight: 600;
    color: var(--secondary);
}

.product-info p {
    font-size: 1.1rem;
    margin-bottom: clamp(10px, calc(5vw - 5px), 24px);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-info .get-product-btn {
    width: 100%;
    font-size: clamp(0.8rem, calc(2vw + 7px), 1.3rem);
    padding: clamp(6px, calc(3vw - 3px), 12px) 6px;
    background-color: var(--secondary);
    box-shadow: 0 4px 6px rgba(14, 165, 233, 0.2);
}

.product-info .get-product-btn:hover {
    background-color: #0284c7; /* Darker blue */
    box-shadow: 0 6px 12px rgba(14, 165, 233, 0.3);
}

.product-info .view-details-btn {
    width: 100%;
    font-size: clamp(0.8rem, calc(2vw + 7px), 1.3rem);
    padding: clamp(6px, calc(3vw - 3px), 12px) 6px;
    background-color: rgb(187, 187, 187);
    box-shadow: 0 4px 6px rgba(71, 71, 71, 0.2);
    margin-bottom: 10px;
}

.product-info .view-details-btn:hover {
    background-color: #d2d2d2; /* Darker blue */
    box-shadow: 0 6px 12px rgba(71, 71, 71, 0.3);
}

.product:nth-child(even) {
    flex-direction: row-reverse;
}

.product:nth-child(even):before {
    left: auto;
    right: 0;
}
