/* Card one  */

.card {
    font-family: "Raleway", sans-serif;
    padding: 20px;
    background: white;
    border-radius: 5px;
    margin-bottom: 30px;
    -webkit-box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
    /* max-width: 33.33%; */
    margin: 0 auto;
    /* height: 600px !important; */
}
.card .card-thumbnail {
    margin: 0 0 25px;
    overflow: hidden;
}
.card-thumbnail img {
    display: block;
    max-width: 100%;
    border-radius: 10px;
    transition: all ease .2s;
}
.card:hover .card-thumbnail img {
    transform: scale(1.1);
}
.card-description h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #343434;
    font-weight: 800;
}
.card-description p {
    font-size: 15px;
    color: #727272;
}
.card-description button {
    background-color: #20b86d;
    position: relative;
    border-radius: 5px;
    padding: 14px 25px;
    border: 0;
    z-index: 1;
    color: #fff;
    font-weight: 800;
    display: inline-block;
    text-transform: uppercase;
    font-size: 16px;
    transition: all ease .2s;
}
.card-description button:after {
    content: "";
    height: 100%;
    width: 100%;
    left: -5px;
    bottom: -5px;
    z-index: -1;
    -webkit-transition: 0.25s;
    -o-transition: 0.25s;
    transition: 0.25s;
    position: absolute;
    border-radius: 5px;
    border: 1px dashed #20b86d;
}
.card-description button:hover:after {
    left: 0;
    bottom: 0;
}


/* Card 2 Css */

.card2 {
    font-family: "Raleway", sans-serif;
    padding: 15% 20px 8%;
    background: white;
    border-radius: 5px;
    margin-bottom: 30px;
    -webkit-box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
    /* max-width: 33.33%; */
    margin: 0 auto;
    background-size: cover;
    position: relative;
    z-index: 1;
    /* height: 600px !important; */
}
.card2:before {
    position: absolute;
    content: '';
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .6);
}
.card2 .card2-description {
    position: relative;
    z-index: 3;
}
.card2-description h3 {
    font-size: 50px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 800;
}
.card2-description h3 span {
    color: #59bf85;
}
.card2-description p {
    font-size: 15px;
    color: #fff;
    margin: 0 0 20px;
}
.card2-description button {
    position: relative;
    padding: 14px 25px;
    z-index: 1;
    color: #fff;
    display: inline-block;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all ease .2s;
    border: 1px solid #fff;
    background-color: transparent;
    font-weight: 600;
}
.card2-description button:hover {
    background-color: #59bf85;
    color: #333;
    border-color: #538167;
}

.card2-valid-till {
    position: absolute;
    z-index: 2;
    color: #fff;
    top: 30px;
    right: 30px;
    text-align: center;
    background-color: #59bf85;
    border-radius: 5px;
    padding: 10px 15px;
}
.card2-valid-till span {
    font-weight: bold;
}


/* Card 3 CSS */

.card3 {
    font-family: "Raleway", sans-serif;
    padding: 25% 0 0;
    background: white;
    border-radius: 5px;
    margin-bottom: 30px;
    -webkit-box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
    /* max-width: 33.33%; */
    margin: 0 auto;
    background-size: cover;
    height: 100%;
}
.card3 .card3-description {
    position: absolute;
    bottom: 0;
    z-index: 3;
    background-color: #538167;
    text-align: center;
    padding: 50px 20px;
}
.card3-description h3 {
    font-size: 30px;
    line-height: 45px;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #fff;
}
.card3-description h3 span {
    color: #59bf85;
}
.card3-description p {
    font-size: 15px;
    color: #fff;
    margin: 0 0 20px;
}
.card3-description button {
    position: relative;
    padding: 8px 20px;
    z-index: 1;
    color: #538167;
    display: inline-block;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 3px;
    transition: all ease .2s;
    background-color: #fff;
    font-weight: 800;
    border: 0;
}
.card3-description button:hover {
    background-color: #59bf85;
    color: #333;
}

/* Card 4 CSS */

.card4 {
    font-family: "Raleway", sans-serif;
    padding: 20px;
    background: white;
    border-radius: 5px;
    margin-bottom: 30px;
    -webkit-box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
    /* max-width: 33.33%; */
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    height: 100%;
}
.card4 .card4-thumbnail {
    margin: 0 0 25px;
    overflow: hidden;
    max-width: 50%;
    padding: 0 30px 0 0;
}
.card4-thumbnail img {
    display: block;
    max-width: 100%;
    transition: all ease .2s;
}
.card4:hover .card4-thumbnail img {
    transform: scale(1.1);
}
.card4 .card4-description {
    max-width: 50%;
}
.card4-description h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #3f2803;
    font-weight: 800;
}
.card4-description p {
    font-size: 15px;
    color: #555;
}
.card4-description button {
    background-color: #80B500;
    border-radius: 5px;
    padding: 10px 15px;
    border: 0;
    color: #fff;
    font-weight: 500;
    display: inline-block;
    text-transform: uppercase;
    font-size: 12px;
    transition: all ease .2s;
}
.card4-description button:hover {
    background-color: #3f2803;
}

/* Card 5 CSS */

.card5 {
    /* height: 600px !important; */
    border: 1px solid white;
    font-family: "Raleway", sans-serif;
    padding: 20px;
    background: white;
    border-radius: 5px;
    margin-bottom: 30px;
    -webkit-box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
    /* max-width: 33.33%; */
    margin: 0 auto;
    /* height: 600px !important; */
}

.card5 img{
    max-width: 50%;
}


#offers-and-packages #offers {
    padding: 0 30px;
}
#offers .card,
#offers .card2,
#offers .card2:before,
#offers .card5 {
    border-radius: 10px;
}
#offers .card,
#offers .card5 {
    height: 100%;
}
#offers .card2 {
    height: 100%;
    background-size: cover !important;
}

#offers .card3 {
    position: relative;
    z-index: 1;
    background-size: cover;
}

.offer-star {
      font-size: 40px;
      color: gray;
      cursor: pointer;
      transition: color 0.3s;
    }
.offer-selected {
    color: gold;
}
.offer-disabled {
    pointer-events: none;
    opacity: 0.5;
}

.offer-main-cont {
    display: flex;
    gap: 20px;
    justify-content: center;
}
.offer-img {
    width: 100%;
    max-width: 455px;
}
.offer-img img {
    width: 100%;
}

@media only screen and (max-width: 1199px) {
    .card2-description h3 {
        font-size: 38px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .card2-valid-till {
        position: relative;
        left: 0;
        top: 0;
        margin: 0 0 20px;
    }
}

@media only screen and (max-width: 767px) {
    #offers .card,
    #offers .card2 {
        margin: 0 0 30px;
        height: auto;
    }
    #offers .card5 {
        height: auto;
    }
    .card2-description h3 {
        font-size: 24px;
    }
    .card3 {
        padding: 100% 0 0;
    }
    .card3 .card3-description {
        position: initial;
    }
    #offers .col-md-4 {
        margin: 0 0 30px;
    }
    .card4 .card4-thumbnail {
        max-width: none;
    }
    .card4 .card4-description {
        max-width: none;
    }
    .card5 img {
        max-width: 100%;
    }
}


