﻿
#quality-banner {
    width: 100%;
    background-image: url("/images/about-banner-img.jfif");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 60vh;
}


    #quality-banner .quality-wrapper {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        color: white;
    }

        #quality-banner .quality-wrapper h1 {
            color: white;
            font-size: 5vw;
        }

        #quality-banner .quality-wrapper .pervLink {
            border: 4px solid #f76c31;
            padding: 15px;
            font-weight: 600;
            letter-spacing: 1px;
        }

            #quality-banner .quality-wrapper .pervLink a {
                color: white;
                text-decoration: none;
            }

                #quality-banner .quality-wrapper .pervLink a:hover {
                    text-decoration: underline;
                }

#quality-con {
    width: 100%;
    padding: 30px;
}

    #quality-con .quality-con-wrapper {
        width: 90%;
        max-width: 1200px;
        padding: 30px;
        margin: auto;
    }

        #quality-con .quality-con-wrapper h1{
            text-align: center;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-size: 33px;
            position: relative;
            width: fit-content;
            margin: auto;
            padding-bottom: 7px;
        }

            #quality-con .quality-con-wrapper h1::after {
                content: "";
                position: absolute;
                bottom: 0;
                left: 50%;
                transform: translateX(-50%);
                width: 80%;
                height: 1px;
                background-color: #f76c31;
            }
        #quality-con .quality-con-wrapper p{
            text-align: center;
        }

        #quality-con .quality-con-wrapper p,
        .quality-container .section p {
            font-size: 15px;
            margin-top: 20px;
            color: #33333385;
            letter-spacing: 1px;
            line-height: 20px;
            font-weight: 550;
            /* text-align: center; */
        }



.quality-container {
    width: 100%;
    padding: 40px;
}

    .quality-container .section {
        margin-bottom: 30px;
        padding: 20px;
    }

    .quality-container h1,
    .quality-text h1 {
        color: #333;
        margin-bottom: 20px;
        position: relative;
        width: fit-content;
        padding-bottom: 5px;
        letter-spacing: 1px;
    }
    .quality-container .section p{
        margin-bottom: 50px;
    }

    .quality-container h1::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #f76c31;
    }

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
    margin-bottom: 80px;

}

.image-grid-item {
    width: 100%;
    height: 370px;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

    .image-grid-item:hover .img-con::before {
        height: 100%;
    }

    .image-grid-item:hover .img-con h3,
    .image-grid-item:hover .img-con p {
        color: white;
    }




    .image-grid-item .img-con {
        padding: 20px;
        height: 100%;
        text-align: center;
        position: relative;
        text-align:center;
        
       
    }

        .image-grid-item .img-con::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 0;
            background-color: #f76c31;
            transition: all 0.3s ease;
            z-index: 0;
        }

    .image-grid-item h3 {
        text-align: center;
        letter-spacing: 1px;
        color: #333;
        margin-top: 10px;
        margin-bottom: 0px !important;
        z-index: 1;
        position: relative;
        transition: all 0.3s ease;
    }


    .image-grid-item .img-con p {
        margin-bottom: 0px !important;
        margin-top: 10px !important;
        z-index: 1;
        position: relative;
        transition: all 0.3s ease;
    }


    .image-grid-item img {
        width: 100%;
        padding:5%;
        height: 250px;
        object-fit:contain;
        transform: scale(1.05);
        
    }

.quality-text {
    margin-top: 20px;
    text-align: justify;
}

    .quality-text p {
        margin-bottom: 20px;
        font-weight: 550;
        line-height: 20px;
        color: #333333a7;
    }

    .quality-text-2 p{
        margin-bottom: 30px !important;
    }

.quality-text-2 ul{
    list-style: none;
}

    .quality-text-2 ul li{
        font-weight: bold;
        margin-bottom: 10px;
    }

    .policy-text p{
        margin-bottom: 30px !important;
        font-weight: 550;
        line-height: 20px;
        color: #333333a7;
    }

       

        .objectives-list {
            list-style-type: none;
            font-weight: 600;
            line-height: 20px;
            margin-bottom: 20px;
        }

    .objectives-list li {
        margin-bottom: 20px;
    }

.objectives-images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

    .objectives-images img {
        width: 80%;
        height: auto;
        border-radius: 5px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        object-fit: cover;
       
    }

.section h3 {
    letter-spacing: 1px;
    margin-bottom: 25px;
    color: #333;
}










@media (max-width: 1250px){
    .objectives-images {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .objectives-images {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 650px) {
    .objectives-images {
        grid-template-columns: repeat(1 , 1fr);
    }

    #quality-con .quality-con-wrapper {
        width: 100%;
        padding: 0px; 
        margin: auto;
    }
}

@media (max-width : 430px){
    .quality-container {
        width: 100%;
        padding: 20px;
    }
    
}


@media (max-width : 430px) {
     .image-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .image-grid-item {
         height: 100%; 
    }
}




@media (max-width: 300px) {
    .image-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }


    #quality-con .quality-con-wrapper h1 {
        font-size: 25px;
    }
    #quality-con .quality-con-wrapper h1 {
        font-size: 20px;
    }

    #quality-con .quality-con-wrapper p, .quality-container .section p {
        font-size: 13px;
    }
}