/* ===========================
   Packaging - Materials
=========================== */

#packaging-materials {
    padding: 6rem 0;
}

#packaging-materials .lead {
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.8;
    color: var(--bs-secondary-color);
}

/* Card */

.material-card {
    position: relative;
    height: 100%;
    padding: 2.5rem 2rem;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
    transition: all .3s ease;
    overflow: hidden;
}

.material-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0,0,0,.12);
}

/* Top border animation */

.material-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 4px;
    background: var(--primary-color);
    transform: translateX(-50%);
    transition: width .35s ease;
}

.material-card:hover::before {
    width: 100%;
}

/* Icon */

.material-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.75rem;
    border-radius: 50%;
    background: rgba(220,53,69,.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.material-icon i {
    font-size: 2.2rem;
    color: var(--primary-color);
}

/* Title */

.material-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

/* Description */

.material-card p {
    margin: 0;
    line-height: 1.8;
    color: var(--bs-secondary-color);
}

/* Mobile */

@media (max-width: 991px) {

    #packaging-materials {
        padding: 5rem 0;
    }

    .material-card {
        padding: 2rem 1.5rem;
    }

    .material-icon {
        width: 70px;
        height: 70px;
    }

    .material-icon i {
        font-size: 2rem;
    }

}
