.cnc-beforeafter-section.beforeafter-layout6{position:relative;padding:100px 0;box-sizing:border-box;}
.cnc-beforeafter-section.beforeafter-layout6 :is(h1,h2,h3,h4,h5,h6,p){margin:0;padding:0;}
.cnc-beforeafter-section.beforeafter-layout6 .container{max-width:1430px;margin:0 auto;padding:0 15px;color:#323232;}
.cnc-beforeafter-section.beforeafter-layout6 .heading{margin-bottom:30px;text-align:center;}
.cnc-beforeafter-section.beforeafter-layout6 .heading :is(h1,h2,h3,h4,h5,h6){font-size:48px;font-weight:700;color:#005bc5;margin-bottom:10px;}
.cnc-beforeafter-section.beforeafter-layout6 .heading p{font-size:20px;font-weight:400;margin-bottom: 10px;}
.cnc-beforeafter-section.beforeafter-layout6 .heading p:last-of-type{margin-bottom: 0;}
.cnc-beforeafter-section.beforeafter-layout6 .image-row{position: relative; display:flex;justify-content:center;align-items:center;gap:15px;flex-wrap:wrap;width: 100%;padding: 0 106px;}
.cnc-beforeafter-section.beforeafter-layout6 .image-col{width: 45%;}
.cnc-beforeafter-section.beforeafter-layout6 .image-col .image-box{aspect-ratio:1/1;border-radius:50%;overflow:hidden;position:relative;}
.cnc-beforeafter-section.beforeafter-layout6 .image-col .image-box img{width:100%;height:100%;object-fit:cover;}
.cnc-beforeafter-section.beforeafter-layout6 .image-col .btn-label{position:absolute;top:50%;transform:translateY(-50%);background-color:#0066cc;border:2px solid #ffffff;color:#fff;padding:4px 67px;border-radius:6px;font-size:32px;line-height: 131%;font-weight:700;cursor:default;white-space:nowrap;min-width: 238px;text-align: center;}
.cnc-beforeafter-section.beforeafter-layout6 .image-col .before-label{left:0;}
.cnc-beforeafter-section.beforeafter-layout6 .image-col .after-label{right:0;transform: translateY(-50%);}
@media (max-width:1024px){
    .cnc-beforeafter-section.beforeafter-layout6 .heading :is(h1,h2,h3,h4,h5,h6){font-size:40px;}
    .cnc-beforeafter-section.beforeafter-layout6 .heading p{font-size:18px;}
    .cnc-beforeafter-section.beforeafter-layout6 .image-col .btn-label{font-size:22px;font-weight: 700; padding:5px 40px;min-width: 152px;}
    .cnc-beforeafter-section.beforeafter-layout6 .image-row{padding: 0 50px;}
}
@media (max-width:767px){
    .cnc-beforeafter-section.beforeafter-layout6{padding:60px 0;}
    .cnc-beforeafter-section.beforeafter-layout6 .heading :is(h1,h2,h3,h4,h5,h6){font-size:30px;}
    .cnc-beforeafter-section.beforeafter-layout6 .heading{margin-bottom:20px;}
    .cnc-beforeafter-section.beforeafter-layout6 .heading p{font-size:16px;}
    .cnc-beforeafter-section.beforeafter-layout6 .image-row{flex-direction:column;gap: 30px;padding: 0;}
    .cnc-beforeafter-section.beforeafter-layout6 .image-col{width:100%;position: relative;}
    .cnc-beforeafter-section.beforeafter-layout6 .image-col .btn-label{bottom:-15px;left:50%;transform:translateX(-50%);top:auto;font-size:16px;padding:6px 20px;}
    .cnc-beforeafter-section.beforeafter-layout6 .image-col .before-label,.cnc-beforeafter-section.beforeafter-layout6 .image-col .after-label{right:auto;left:50%;}
}