* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.carousel-caption{
    width: 33rem;
    /* background-color: #626262; */
    position: absolute;
    bottom: -70px;
    left: 28px;
    transform: translate(13%, -50%);
    line-height: 1.5;
    text-align: left;
}

.carousel-heading {
    font-size: 4.2rem;
    color: black;
    font-weight: bolder;
    margin-bottom: 0px;
}
.carousel-red-head {
    font-size: 4.2rem;
    color: #ed1c24;
    font-weight: bold;
}
.carsoul-para-inner{
    font-size: 18px;
    color: #232323;
    margin-bottom: 40px;
}


/* ============================= product navbar Section START ===========================*/

.product_nav {
    background-color: rgb(216, 216, 216);
    margin-top: 50px;
}

.details-item {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 10px 0;
}

.details-item li {
    margin: 0px 20px;
    font-size: 18px;

}
.details-item li:first-child{
    margin-left: 0px;

}


.details-item li a {
    text-decoration: none;
    color: rgb(237, 28, 36);

}

.details-item li:hover span {
    color: #ed1c24;
}

.details-item span {
    color: black;
    transition: all 0.3s ease-in-out;
}

/* ============================= product navbar Section END ===========================*/


.mica_insulation h1 {
    text-align: center;
    font-size: 40px;
    font-weight: 600;
}

.mica-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    /* max-width: 1250px; */
    margin: auto;
    padding: 20px 0;
}

.card {
    /* background-color: rgb(236, 255, 249); */
    border: 1px solid #ed1c24;
    border-radius: 8px;
    flex: 0 1 calc(33.333% - 40px);
    text-align: center;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.card:hover {
    box-shadow: 0px 5px 20px 2px rgba(0, 0, 0, 0.2);
    
}

.card .image {
    width: 100%;
    height: 18rem;
    overflow: hidden;
}

.card img {
    width: 84%;
    /* height: 24rem; */
    object-fit:cover;
    border-radius: 8px 8px 0 0;
    margin-bottom: 20px;
    transition: all 0.3s;
    padding-top: 2rem;
}

.card:hover img {
    transform: scale(1.2);

}

.card-desc {
    padding: 20px 10px;
}

.card .title h3 {
    font-size: 23px;
    font-weight:600;
}


.card-desc button {
    background-color: white;
    color: #ed1c24;
    padding: 6px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.card-desc a {
    font-weight: 500;
    color: #ed1c24;
    padding: 5px;
}

.card-desc button:hover,
.card-desc button:hover a {
    color: gray;
}

@media (max-width: 992px) {
    .carousel-caption{
        width: 20rem;
        position: absolute;
        bottom: -70px;
        left: 15px;
    }

    .carousel-heading, .carousel-red-head {
        font-size: 1.5rem;
    }

    .carsoul-para-inner{
        font-size: 16px;
    }

    .card {
        flex: 0 1 calc(50% - 40px);
    }
    
}

@media (max-width: 576px) {
    .carousel-caption{
        width: 13rem;
        position: absolute;
        bottom: -60px;
        left: -6px;
    }

    .carousel-heading, .carousel-red-head {
        font-size: 1.2rem;
    }

    .carsoul-para-inner{
        font-size: 12px;
        margin-bottom: 10px;
    }
    .product_nav {
        margin-top: 2com0px;
    }
    .mica-container{
        padding: 0px 20px;
    }
    .mica_insulation h1 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .mica-container {
        gap: 20px;
    }

    .card {
        flex: 0 1 100%;
    }
    .details-item {
        padding: 5px 20px;
    }
    .details-item li {
        font-size: 14px;
        margin: 0 10px;
    }
}