/**handles:mona-services-style**/
/* Services Template Specific Styles */
.bn-custom-ctn {
    -webkit-box-pack: center;
    justify-content: center;
    text-align: center;
    text-transform: uppercase;
}

.bn-custom-ctn{
    min-height: calc(600 / 1728* 100vw);
}

.bn-custom-tt {
    text-transform: uppercase;
}
/* Service Layout Section */
.sv-layout-flex {
    display: flex;
    align-items: stretch;
    min-height: 400px;
}

.sv-layout-ctn {
    width: 50%;
    padding-right: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sv-layout-img {
    width: 50%;
    height: auto;
    position: relative;
}

/* Image Full Height Container */
.sv-layout-img .imgFull {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.sv-layout-img .imgFull-inner {
    width: 100%;
    height: 100%;
    position: relative;
}

.sv-layout-img .imgFull-inner img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
    display: block;
}

.sv-layout-img .imgFull:hover .imgFull-inner img {
    transform: scale(1.05);
}

.desc {
    font-size: var(--fz);
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .sv-layout-flex {
        flex-direction: column;
        min-height: auto;
    }
    
    .sv-layout-ctn,
    .sv-layout-img {
        width: 100%;
        padding-right: 0;
    }
    
    .sv-layout-ctn {
        margin-bottom: 30px;
    }

    .sv-layout-img {
        height: 400px;
        position: relative;
    }

    .sv-layout-img .imgFull {
        position: relative;
        height: 100%;
    }
    
    .bn-custom-ctn {
        text-align: center;
    }
}

@media screen and (max-width: 768px) {
    .sv-layout-img {
        height: 300px;
    }
    
    .sv-layout-img .imgFull {
        height: 100%;
    }
}

/* Product Categories Grid for Services Template */
.product-cats-grid {
    margin-top: 40px;
}

.product-cats-flex-container {
    display: flex;
    flex-wrap: wrap;
    margin: -15px;
    width: calc(100% + 30px);
}

.product-cat-grid-item {
    flex: 0 0 calc(33.333% - 30px);
    margin: 15px;
    box-sizing: border-box;
}

.product-cats-grid .pj-prod-it {
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-cats-grid .pj-prod-it:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.product-cats-grid .img-inner {
    position: relative;
    height: 0;
    padding-top: 66.67%; /* 2:3 aspect ratio */
    overflow: hidden;
}

.product-cats-grid .img-inner img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-cats-grid .pj-prod-it:hover .img-inner img {
    transform: scale(1.05);
}

.product-cats-grid .info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-cats-grid .info-tt {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.product-cats-grid .info-tt a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-cats-grid .info-tt a:hover {
    color: #007bff;
}

.product-cats-grid .des {
    margin-bottom: 20px;
    color: #666;
    flex-grow: 1;
}

.product-cats-grid .btn-box {
    margin-top: auto;
}

/* Responsive styles */
@media screen and (max-width: 992px) {
    .product-cat-grid-item {
        flex: 0 0 calc(50% - 30px);
    }
    
    .product-cats-grid .info-tt {
        font-size: 18px;
    }
}

@media screen and (max-width: 576px) {
    .product-cats-flex-container {
        margin: -10px;
        width: calc(100% + 20px);
    }
    
    .product-cat-grid-item {
        flex: 0 0 calc(100% - 20px);
        margin: 10px;
    }
    
    .product-cats-grid .info {
        padding: 15px;
    }
    
    .product-cats-grid .info-tt {
        font-size: 16px;
        margin-bottom: 10px;
    }
}

/* ImgFull styles for service.php */
.pj-dt-ab-img .imgFull,
.pj-constr-img .imgFull {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.pj-dt-ab-img .imgFull-inner,
.pj-constr-img .imgFull-inner {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 66.67%; /* 2:3 aspect ratio */
    overflow: hidden;
}

.pj-dt-ab-img .imgFull-inner img,
.pj-constr-img .imgFull-inner img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* For pj-constr-flex layout */
.pj-constr-flex {
    display: flex;
    align-items: center;
}

.pj-constr-img {
    width: 50%;
}

.pj-constr-ctn {
    width: 50%;
    padding-left: 40px;
}

.desc {
    font-size: var(--fz);
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .pj-constr-flex {
        flex-direction: column;
    }
    
    .pj-constr-img,
    .pj-constr-ctn {
        width: 100%;
    }
    
    .pj-constr-ctn {
        margin-top: 30px;
        padding-left: 0;
    }
}

@media screen and (max-width: 768px) {
    .sv-layout-img {
        width: 100%;
        padding: 0 1.5rem;
    }
    
    .pj-dt-ab-img .imgFull-inner,
    .pj-constr-img .imgFull-inner {
        padding-bottom: 75%; /* Slightly taller aspect ratio on mobile */
    }
}