* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}


p {
    font-family: "Lato", sans-serif;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}


.banner {
    background:
        url("../images/Banner_New.jpg")no-repeat ;
    background-size: contain;
    position: relative;
    height: 570px;
    color: white;
    /* text-align: start; */
    /* justify-content: center; */
    align-items: center;
    display: flex;
    margin-top: 95px;
    background-attachment: fixed;
    /* background-attachment: fixed; */
}

.banner hr {
    width: 30%;
    border-width: 6px;
    border-radius: 50%;
}

.banner h1 {
    font-size: 43px;
    color: white;
    line-height: 1.4em;
    font-weight: 800;
    /* text-align: center; */
    margin-bottom: 0px;
    letter-spacing: 1.5px;
    text-transform: capitalize;
    font-family: "Freeman", sans-serif;
}








/* body {
    font-family: 'Lato', sans-serif;
    background-color: #f8f9fa;
} */

/* .banner {
    background-color: #007bff;
    color: white;
    text-align: center;
    padding: 20px 0;
}

.banner h1 {
    margin: 0;
    font-size: 2rem;
} */

.main-card {
    padding: 75px 0;
}



.card {
    position: relative;
    border: 1px solid #ddd;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 64px rgba(58, 67, 89, 0.42);
    height: 600px; /* Ensures consistent tile height */
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.card:hover {
    /* box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); */
    transform: none; 
}

.card-img-top {
    width: 70%;
    height: 700px;
    transition: transform 0.3s ease;
    margin: 0 auto;
    display: block;
    padding-top: 30px;
    object-fit: fill;
}

/* .de_blister {
    height: 330px;
    width: 100%;
    object-fit: contain;
}
.de-blister-btn{
    top: 70px;
    margin-left: -34px;
} */

.card:hover .card-img-top {
    transform: scale(0.9); 
}

.card-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    /* justify-content: space-between;  */
    height: 100%;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.card-title {
    font-family: "Freeman", sans-serif;
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
    color: #00888A;
}

.card-text {
    font-family: "Freeman", sans-serif;
    font-size: 22px;
    /* font-weight: 600; */
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}



.applications-output {
    display: grid;
    grid-template-columns: 25% 30%;  /* Creates two equal-width columns */
    margin-top: -10px;
    font-family: "Lato", sans-serif;
    color: #333;
    transition: transform 0.3s ease;
}

/* .applications-output .column {
    padding: 0 5px;  
} */

.card:hover .applications-output {
    transform: translateY(-10px); 
}


.applications-output h6 {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 10px;
    color: #666;
}

.applications-output .icons {
    margin-bottom: 10px;
}

.applications-output .icons i {
    font-size: 35px;
    margin-right: 10px;
    color: #555;
}

.applications-output p {
    font-size: 16px;
    color: #333;
    margin-top: 5px;
}






.btn {
    opacity: 0; /* Initially hidden */
    visibility: hidden; /* Make the button invisible */
    transform: translateY(10px); /* Start the button slightly below */
    /* background-color: #00888A; */
    color: black;
    border-radius: 5px;
    padding: 8px 16px;
    font-size: 20px;
    text-align: center;
    transition: opacity 0.3s ease, visibility 0s 0.3s, transform 0.3s ease; /* Added transform transition */
    position: absolute;
    bottom: 26px; /* Position the button at the bottom */
    left: 12%;;
    transform: translateX(-50%) translateY(10px); /* Slide from below */
    border: none;
    font-family: "Lato", sans-serif;
    font-weight: 700 ;
    color: #00888A;
}

.btn i{
    font-size: 15px;
}

.card:hover .btn {
    opacity: 1; /* Fade in the button */
    visibility: visible; /* Make the button visible */
    transform: translateX(-50%) translateY(0); /* Slide to its final position */
    transition: opacity 0.3s ease, visibility 0s 0s, transform 0.3s ease; /* Reset the transition on hover */
    color: #00888A;
}

.card:hover .card-body .card-title,
.card:hover .card-body .card-text {
    transform: translateY(-10px); 
}


html, body {
    overflow-x: hidden;
}

@media (max-width:1440px){
    .banner h1{
        font-size: 33px;
        margin-bottom: 163px;
        margin-left: 207px;
    }
}

@media (max-width:1024px){
    .banner{
        background-size: 100% 78%;
    }
    .banner h1{
        font-size: 22px;
        margin-bottom: 76px;
        margin-left: 143px;
    }
    .applications-output {
        grid-template-columns: 31% 38%;
    }
    .applications-output .icons i {
        font-size: 25px;
    }
    .btn{
        bottom: 47px;
        left: 17%;
    }
}
@media (max-width:991px){
    .btn{
        left: 19%;
    }
    .de_blister {
        height: 315px;
    }
}
@media (max-width: 768px) {
    .banner {
        /* width: 100%; */
        height: 400px;
        background-size: 100% 58%;
    }
    
    .banner h1  {
        font-size: 16px;
        margin-left: 102px;
    }
    .card {
        margin-bottom: 20px; 
        height: 535px;
    }
    .applications-output {
        grid-template-columns: 44% 51%;
    }

    .btn {
        left: 23%;
        bottom: 22px;
    }
}

@media (max-width: 576px) {
    .main-card .row {
        flex-wrap: wrap;
    }

    .card {
        margin: 10px auto;
        width: 94%;
        height: 500px;
    }

    .card-body {
        height: 52%;
    }

    .card-img-top {
        height: 200px; 
    }
}

@media (max-width: 425px) {

    .banner {
        /* width: 100%; */
        height: 400px;
        background-size: 100% 58%;
    }
    .banner h1 {
        font-size: 20px;
        margin-left: 102px;
        margin-top: 396px;
    }
    .card {
        margin-bottom: 15px;
    }

    .card-body {
        font-size: 14px; 
    }

    .card-img-top {
        height: 280px;
        width: 72%;
    }
    .de_blister{
        height: 275px;
    }
    .card-title {
        font-size: 20px;
    }
    .btn{
        font-size: 15px;
    }
    .card-text{
        font-size: 20px;
    }
    .applications-output {
        grid-template-columns: 31% 41%;
    }
    .applications-output h6 {
        font-size: 15px;
    }
    .applications-output p {
        font-size: 15px;
    }
    .applications-output .icons i{
        font-size: 18px;
    }
    .btn{
        font-size: 20px;
        left: 80px;
        bottom: 43px;
    }
}

@media (max-width: 375px) {
    .card {
        width: 95%; 
        margin: 0 auto 20px auto;
    }
    .applications-output {
        grid-template-columns: 35% 50%;
    }
    
}

@media (max-width: 320px) {
    .card {
        font-size: 12px;
        height: 100%;
    }

    .card-body {
        height: 52%;
    }

    .card-img-top {
        height: 172px;
        width: 62%;
    }

    .card-title {
        font-size: 18px;
    }

    .card-text {
        font-size: 12px;
    }

    .btn {
        font-size: 15px;
        left: 18%;
    }
}