﻿
.page-titles {
    position: relative;
    padding: 195px 0 20px 0;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url("../Images/Industry/industry1.jpg");
}

    .page-titles:before {
        position: absolute;
        content: "";
        background: #352027;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        right: 0;
        opacity: 0.8;
    }

    .page-titles .pattern-layer {
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-repeat: no-repeat;
    }

.auto-container {
    max-width: 1200px;
    padding: 0 15px;
    margin: 0 auto;
}

.page-titles .title-box {
    position: relative;
    margin-bottom: 152px;
    text-align: center;
}

    .page-titles .title-box h1 {
        font-size: 40px;
        line-height: 65px;
        color: #fff;
        font-weight: 700;
        margin-bottom: 10px;
        font-family: 'Poppins', sans-serif;
        font: bold;
    }

    .page-titles .title-box p {
        font-size: 20px;    
        line-height: 30px;
        color: #fff;
        font-weight: 500;
    }

.page-titles .bread-crumb li {
    position: relative;
    display: inline-block;
    font-size: 14px;
    line-height: 24px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    padding-right: 13px;
    margin-right: 5px;
}
 .page-titles .bread-crumb li:last-child {
        padding: 0;
        margin: 0;
 }

/* ---------------- SERVICE BLOCK IMAGES ---------------- */
.service-block-ones {
    margin-top: 25px;
/*    padding: 0 15px;  Left-Right Padding for entire section */
}

    .service-block-ones .inner-box {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        justify-content: flex-start;
    }
        .service-block-ones .inner-box:hover {
            border-radius: 10px;
            box-shadow: 0 8px 10px 6px rgb(211, 211, 211);
        }


.images-box {
    flex: 1 1 calc(33.33% - 15px); /* Desktop: 3 per row */
    max-width: calc(33.33% - 15px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

    .images-box img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        display: block;
    }

    /* Scroll Animation Active */
    .images-box.show {
        opacity: 1;
        transform: translateY(0);
    }

/* Mobile View */

/* Tablet View (2 images per row) */
@media (max-width: 992px) {
    .images-box {
        flex: 1 1 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }
}

/* Mobile View (1 image per row + Equal Padding) */
@media (max-width: 768px) {
    .service-block-ones {
        padding: 0 15px;
    }

    .images-box {
        flex: 1 1 100%;
        max-width: 100%;
    }
}
/* Image Bottom Text */
.images-box figcaption {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background-color: #000249;
    padding: 10px 5px;
    border-top: 1px solid #ddd;
}
/* Image Before Text*/
.centreds {
    text-align: center;
    margin-top: 15px;
    padding:50px 0; 
}
/* Effect Text Before IMage*/
@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-down {
    opacity: 0;
    transform: translateY(-30px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

    .fade-in-down.show {
        animation: fadeInDown 1s ease-out forwards;
    }


.images-box:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .images-box:hover img {
        /*transform: scale(1.1);*/
        transition: transform 1.0s ease;
    }