.creative-cards{
    z-index: 0;
    background: #ffffff;
    padding: 5vh 0;
    position: relative;
}
.creative-cards .containerdd {
    max-width: 1320px;
    width: 100%;
    padding-right: .75rem;
    padding-left: .75rem;
    margin-right: auto;
    margin-left: auto;
}
.creative-cards .containerdd .row{
    display: flex;
    flex-wrap: wrap;
}
.creative-cards .containerdd .row .card-column {
    flex: 0 0 auto;
    width: 33.33333333%;
    text-align: center;
    max-width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}
.card-details {
    width: 80%;
    margin: auto;
    position: relative;
    transition: .3s ease-in-out;
}
.card-details:before {
    content: "";
    width: 190px;
    height: 380px;
    background: #f7f6f2;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) skew(-20deg, 0deg);
    z-index: -1;
    transition: .3s ease-in-out;
}
/*
.card-details:hover:before{
    background-color: #e6d9b8;
}
*/
.card-icons {
    width: 140px;
    height: 150px;
    position: relative;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.card-icons:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    border: 1px solid;
    width: 100%;
    height: 100%;
    transform: skew(-20deg, 0deg);
    background: #fff;
    border-color: #646a82;
    transition: .3s ease-in-out;
}
/*
.card-details:hover .card-icons:before{
    background-color: #ccb370;
}
*/
.card-icons img{
    position: relative;
    width: 70px;
    height: 70px;
}
.card-details h3{
    margin-bottom: 15px;
    margin-top: 50px;
    font-weight: 700;
    font-size: 1.75rem;
    line-height: 1.2;
}
.card-details h3 a{
  color: #000;
  text-decoration: none;
}
.card-details p{
    font-size: 16px;
    line-height: 30px;
    color: #444;
    font-weight: 400;
    margin-bottom: 30px;
}

/* ============= Responsive Ipad ==================== */
@media (max-width: 992px) {
 .creative-cards .containerdd .row .card-column {
    flex: 0 0 auto;
    width: 50%;
    margin-bottom: 40px;
}
}

/* ============= Responsive Iphone ==================== */
@media (max-width: 480px) {
    .creative-cards .containerdd .row .card-column {
        flex: 0 0 auto;
        width: 100%;
        margin-bottom: 15px;
    }
    .card-details {
        width: 100%;
        padding: 8px; /* Reduce padding for better fit on mobile */
    }
    .card-details:before {
        width: 120px; /* Reduce width */
        height: 240px; /* Reduce height */
    }
    .card-icons {
        width: 80px; /* Reduce width */
        height: 90px; /* Reduce height */
    }
    .card-icons img {
        width: 40px; /* Reduce image size */
        height: 40px; /* Reduce image size */
    }
    .card-details h3 {
        margin-bottom: 8px; /* Reduce margin */
        margin-top: 20px; /* Reduce margin */
        font-size: 1rem; /* Reduce font size */
    }
    .card-details p {
        font-size: 12px; /* Reduce font size */
        line-height: 20px; /* Reduce line height */
        margin-bottom: 15px; /* Reduce margin */
    }
    .read-more-btn {
        transform: translateX(0px);
        opacity: 1;
        visibility: visible;
        width: 35px; /* Reduce button size */
        height: 35px; /* Reduce button size */
    }
    .read-more-btn i {
        font-size: 8px; /* Reduce icon size */
    }
}
