.shadow-cont {
    padding: 4% 0% 8% 0%;
    margin: 2% 0% 10% 0%;
    background-color: #ffffff;
    box-shadow: 0px 0px 13px #00000029;
    border-radius: 10px;
}
.affilate-section .head {
    margin: 2% 0% 2% 0%;
}
.affilate-section .heading {
    justify-content: center;
    font-weight: bold;
    font-size: 23px;
    cursor: default;
}

.affilate-section .heading .line-horizantal,
.line-horizantal-two {
    background-color: grey;
    height: 2px;
    margin: 20px 0px;
    width: 30px;
    transition: width 0.3s ease;
}
.heading:hover .line-horizantal,
.heading:hover .line-horizantal-two {
    width: 15px;
    cursor: default;
}

.affilate-section .heading .line-vertical {
    height: 20px;
    width: 2px;
    background-color: grey;
    margin: 10px 10px 10px 0px;
}
.affilate-section .heading .line-vertical-two {
    height: 20px;
    width: 2px;
    background-color: grey;
    margin: 10px 0px 10px 10px;
}
.affilate-section .heading .line-horizantal:hover {
    width: 15px;
}

.affilate-section .shadow-cont .image-section .card .card-img {
    padding: 1% 30%;
    margin: 10% auto 0% auto;
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
}


.affilate-section .shadow-cont .image-section .card .main-img {
    height: 100%;
    width: 100%;
}

.affilate-section .shadow-cont .image-section .card .main-img-1 {
    width: 218px;
    height: 52px;
}

.affilate-section .shadow-cont .card {
    border: none;
    background-color: #ffffff;
    box-shadow: inset 0px 3px 6px #00000029, 0px 3px 6px #00000029;
    border: none;
    position: relative;
    overflow: hidden;
    margin-top: 5%;
    margin-bottom: 10%;
    justify-content: center;
    border-radius: 15px;
    height: 180px;
}

.affilate-section .shadow-cont .image-section .card img {
    transition: transform 0.3s ease;
}

.affilate-section .shadow-cont .image-section .card:hover img {
    transform: translateY(-15px);
}

.affilate-section .shadow-cont .image-section .card .card-body .card-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding-bottom: 20px;
    margin: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.affilate-section .shadow-cont .image-section .card .card-body .social {
    position: absolute;
    bottom: -16px;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 15px;
    margin: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.affilate-section .shadow-cont .image-section .card .card-body .social .linking {
    text-decoration: none;
    color: #000000;
}

.affilate-section .shadow-cont .image-section .card:hover .social{
    opacity: 1;
}

.affilate-section .shadow-cont .image-section .card:hover .card-text {
  opacity: 1;
  background: linear-gradient(white, #dee3ff);
  text-decoration: underline;
}

.affilate-section .shadow-cont .image-section .card .card-body p {
    font-weight: bold;
    text-align: center;
}

@media screen and (min-width: 0px) and (max-width: 576px) {
    .affilate-section .heading {
        font-size: 14px;
    }
    .affilate-section .heading .line-horizantal,
    .line-horizantal-two {
        margin: 10px 0px;
        width: 25px;
    }
    .affilate-section .heading .line-vertical {
        margin: 1px 6px 1px 0px;
    }
    .affilate-section .heading .line-vertical-two {
        margin: 1px 0px 1px 10px;
    }
    .heading:hover .line-horizantal,
    .heading:hover .line-horizantal-two {
        width: 10px;
        cursor: default;
    }
    .affilate-section .shadow-cont .image-section .card .card-body p {
        font-size: 10px;
    }
    .shadow-cont {
        padding: 4%;
    }

    .affilate-section .shadow-cont .card {
      margin-bottom: 5%;
  }
}
@media screen and (min-width: 487px) and (max-width: 577px) {
    .affilate-section .shadow-cont .image-section .card .card-body p {
        font-size: 10px;
    }
}
@media screen and (min-width: 578px) and (max-width: 768px) {
    .affilate-section .shadow-cont .image-section .card .card-body p {
        font-size: 10px;
    }
    .shadow-cont {
        padding: 4%;
    }

    .affilate-section .shadow-cont .image-section .card .card-img {
        padding: 20% 30%;
    }
}

@media screen and (min-width: 992px) and (max-width: 1023px) {
    .affilate-section .shadow-cont .image-section .card .card-img {
        padding: 15% 25%;
    }
    }

@media screen and (min-width: 1024px) and (max-width: 1199px) {
.affilate-section .shadow-cont .image-section .card .card-img {
    padding: 15% 25%;
}
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .affilate-section .shadow-cont .image-section .card .card-img {
        padding: 15% 25%;
    }
    }