.portfolio-container {
    width: 100% !important;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding: 0 0%;
}
.each-drone {
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(36, 39, 44, .4);
    box-shadow: 2px 2px 2px 0px #dddddd;
    border-radius: 0px;
    padding: 1%;
    margin: 0 1% 2% 1%;
    background: white;
    transition: transform .2s;
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    transition: transform 0.1s ease;
}
.drone-grid {
    width: 31.3%;
    flex-direction: column;
    justify-content: start;
    padding-bottom: 7rem;
}
.drone-grid:hover{
    transform: scale(1.05);
    box-shadow: 2px 2px 5px 0px #a8a8a8;
}
.drone-list {
    width: 99%;
    height: 20rem;
    justify-content: center;
}
.drone-list:hover{
    transform: scale(1.01);
    box-shadow: 2px 2px 5px 0px #a8a8a8;
}
/* .each-drone .offerContainer {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 5;
    background-color: rgb(71, 71, 71);
    color: white;
    padding: 0.25rem 0.5rem;
    font-size: 0.9rem;
    font-style: italic;
} */
/* .each-drone .offerContainer {
    position: absolute;
    top: 12px;
    right: -35px;
    background: #e53935;
    color: white;
    padding: 4px 40px;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    transform: rotate(45deg);
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    letter-spacing: 0.5px;
} */
.each-drone .offerContainer {
    position: absolute;
    top: 0;
    right: -0.5rem;
    z-index: 3;
    background: rgb(71, 71, 71);
    color: #fff;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
.each-drone .offerContainer::after {
    content: "";
    position: absolute;
    bottom: -8px;
    right: 0;
    border-width: 8px 8px 0 0;
    border-style: solid;
    border-color: rgb(71, 71, 71) transparent transparent transparent;
}
.each-drone .imgContainer {
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 0px;
    box-shadow: 0 1px 3px rgba(36, 39, 44, .1);
    overflow: hidden;
    position: relative;
}
.each-drone .imgContainer img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.5s ease;
    transition: transform 0.8s ease;
}
.img-first {
    opacity: 1;
    z-index: 2;
}
.img-second {
    opacity: 0;
    z-index: 1;
}
/* .each-drone .imgContainer:hover .img-first {
    opacity: 0;
}
.each-drone .imgContainer:hover .img-second {
    opacity: 1;
    transform: scale(1.5);
} */
.each-drone:hover .img-first {
    opacity: 0;
}
.each-drone:hover .img-second {
    opacity: 1;
    transform: scale(1.5);
}
/* .each-drone img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    transition:none;
}
.each-drone .imgContainer:hover img {
    animation: smoothBlinkZoom 0.9s ease forwards;
}

@keyframes smoothBlinkZoom {
    0% {
        opacity: 0;
        transform: scale(1) rotate(0deg);
    }
    5% {
        opacity: 0;
    }
    15% {
        opacity: 0;
        transform: scale(1) rotate(30deg);
    }
    100% {
        opacity: 1;
        transform: scale(1.5) rotate(30deg);
    }
} */
.each-drone .contentContainer {
    padding: 0;
    margin: 0;
}
.drone-grid .imgContainer {
    width: 100%;
    height: 200px;
}
.drone-grid .contentContainer {
    width: 100%;
}
.drone-list .imgContainer {
    width: 40%;
    height: 100%;
}
.drone-list .contentContainer {
    width:60%;
    padding: 0 1%;
    padding-bottom: 7rem;
}
.each-drone .drone-name {
    font-weight: 600;
    margin-bottom: 1px;
    color: black;
}
.each-drone .drone-price {
    color: gray;
    font-weight: 600;
}
.drone-grid .drone-name {
    font-size: 0.9rem;
    margin-top: 10px;
}
.drone-grid .drone-price {
    font-size: 0.8rem;
    margin-bottom: 1rem;
}
.drone-list .drone-name {
    font-size: 1.2rem;
    margin-top: 1px;
}
.drone-list .drone-price {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}
.drone-list .drone-desc {
    color: gray;
    font-size: 0.9rem;
        display: -webkit-box;
    -webkit-line-clamp: 2;        /* number of lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1.5rem;
}
.drone-spec {
    display: flex;
    align-items: start;
    justify-content: center;
}
.drone-spec .desc {
    display: inline-block;
    width: fit-content;
    padding: 0;
}
.drone-spec .caption {
    display: inline-block;
    color: cornflowerblue;
    width: fit-content;
    padding: 0;
    margin-right: 0.25rem;
}
.drone-grid .drone-spec {
    width: 100%;
}
.drone-list .drone-spec {
    width: 70%;
}
.spec-cls {
    width: 25%;
    min-width: 0;
    text-align: center;
}
.spec-cls svg {
    text-align: center;
}
.drone-grid .spec-cls svg {
    width: 70%;
}
.drone-list .spec-cls svg {
    width: 50%;
    margin: 0 22px;
}
.spec-cls p {
    text-align: center;
    font-size: 10px;
    margin-bottom: 2px;
    color: black;
}
.drone-grid .spec-cls p {
    font-size: 10px;
}
.drone-list .spec-cls p {
    font-size: 12px;
}
.spec-value {
    display: block;
    text-align: center;
    font-size: 10px;
    font-weight: 450;
    color: gray;
    width: 100%;
    /* overflow-x: hidden;
    white-space: nowrap;
    text-overflow: ellipsis; */
}
.drone-grid .spec-value {
    font-size: 10px;
}
.drone-list .spec-value {
    font-size: 12px;
}
.smalliconsDiv {
    position: absolute;
    bottom: 2.5rem;
    display: flex;
    align-items: center;
}
.drone-list .smalliconsDiv {
    right: 0;
    width: 60%;
    justify-content: start;
    margin: 25px 0;
    padding: 0 1rem;
}
.drone-grid .smalliconsDiv {
    left: 0;
    width: 100%;
    justify-content: center;
    margin: 20px 0;
}
.drone-list .smalliconsDiv img {
    width: 22px;
    margin: 2px 7px;
    opacity: 0.8;
}
.drone-grid .smalliconsDiv img {
    width: 20px;
    margin: 2px 5px;
}
.btnSection {
    position: absolute;
    bottom: 0.75rem;
    right: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1%;
    margin-top: 1rem;
}
.drone-list .btnSection {
    width:60%;
    padding: 0 1%;
}
.btnSection .contactBtn {
    cursor: pointer;
    background: #e06767;
    margin-right: 2%;
    border: 2px solid #e06767;
    color: white;
    text-align: center;
    padding: 0.2rem 0.5rem;
    font-weight: 550;
    font-size: 0.9rem;
    border-radius: 0px;
}
.btnSection .contactBtn:hover {
    background: #d35353;
    border: 2px solid #d35353;
    color: white;
}
.btnSection .likeBtn {
    cursor: pointer;
    background: white;
    border: 2px solid gainsboro;
    color: gainsboro;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border-radius: 0px;
    padding: 0.15rem;
}
.btnSection .likeBtn:hover {
    color: orangered;
}
.btnSection .likeBtn.active > i {
    color: orangered;
}
.drone-grid .btnSection .contactBtn {
    width: 75%;
}
.drone-grid .btnSection .likeBtn {
    width: 18%;
}
.drone-list .btnSection .contactBtn {
    width: 91%;
}
.drone-list .btnSection .likeBtn {
    width: 7%;
}