/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

a, .brxe-button{
    -webkit-transition: all 0.3s ease-in-out !important;
    transition: all 0.3s ease-in-out !important;
}

.btn:hover:not(.service-list .btn:hover){
    background-color: #10181C!important;
}
.sub-heading{
    position: relative;
    padding-left:46px;
}
.sub-heading:before{
    content: '';
    position: absolute;
       top: 0;
    bottom: 0;
    margin: auto;
    left: 0;
    background: #00AEC7;
    width: 33.999px;
    height: 2.061px;
}
.team-head .sub-heading:before{
    background: #fff;
}
.brxe-heading.font-54 span{
    color: #00AEC7;
}
.service-list h4 span{
    font-family: Inter;
    font-size: 16px;
}
.service-list>.brxe-div{
    -webkit-transition: all 0.3s ease-in-out !important;
    transition: all 0.3s ease-in-out !important;
    overflow: hidden;
}

.service-list .brxe-button{
        margin-top:0px!important;
    opacity: 0;
  visibility: hidden;
  transform: translateY(15px); 
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;  
    -webkit-transition: all 0.3s ease-in-out !important;
    transition: all 0.3s ease-in-out !important;
   margin-top: -20px !important;
}
.service-list>.brxe-div:hover .brxe-button{
     display: flex;    
      opacity: 1;
  visibility: visible;
  transform: translateY(0);
       margin-top:13px!important;

}
.service-list>.brxe-div:hover .brxe-div{
    bottom: 30px!important;
}

.team-img1{
    position: relative;
}
.team-img1:before{
   content: '';
    position: absolute;
    left: -54px;
    top: -105px;
    width: 0;
    height: 0;
    border-top: 96px solid transparent;
    border-bottom: 140px solid transparent;
    border-right: 148px solid #faf9f5;
    transform: rotate(45deg);
    z-index: -0;
} 
.team-img1:after{
   content: '';
    position: absolute;
    right: -80px;
    bottom: -93px;
    width: 0;
    height: 0;
    border-top: 96px solid transparent;
    border-bottom: 140px solid transparent;
    border-left: 148px solid #faf9f5;
    transform: rotate(45deg);
    z-index: 2;
} 

.testimonial-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    padding: 0px;
    
}

.testimonial-card {
    background: #FFF;
    box-shadow: 0 4px 0 0 #50ACC5 inset, 0 4px 60px 2px rgba(0, 0, 0, 0.06);
    padding:60px 45px 60px 50px;      
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-sizing: border-box;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 0 0 #50ACC5 inset, 0 4px 60px 2px rgba(0, 0, 0, 0.06);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.google-logo svg {
    display: block;
    width: 33px;
    height: 33px;
}

.star-rating {
    color: #fbbc05; 
    font-size: 28px;
    line-height: 1;
    letter-spacing: -0.5px;
    user-select: none;
}

.testimonial-content {
    font-size: 16px;
    line-height: 1.81;
    color: #343A3F;
    margin-bottom: 45px;
    font-weight: 400;
    letter-spacing: -0.16px;
}

.testimonial-content .read-more-toggle {
    color: #111111;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    display: inline-block;
    transition: color 0.15s ease;
}

.testimonial-content .read-more-toggle:hover {
    color: #00AEC7; 
    text-decoration: underline;
}

.more-text-content {
    display: inline;
}

.testimonial-footer {
    margin-top: auto;
    border-top: 1px solid transparent; /* Keeps structural balance */
}

.author-name {
    font-family: Archivo;
    font-size: 24px;
    font-weight: 600;
    color: #20272B;
    margin: 0 0 2px 0;
    line-height: 1.2;
}

.author-designation {
    font-size: 14px;
    color: #20272B;
    margin: 0;
    line-height: 2.21;
    font-weight: 400;
}

.client-logos .splide__track{
    padding-bottom: 20px;
}
.next-pro{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.next-pro div{
    width: 48%;
    margin-bottom: 35px;
}
.next-pro .full{
    width: 100%;
}
.next-pro label{
    color: #FFF;
    font-family: Manrope;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
    line-height: 18px;
    letter-spacing: 1.68px;
    text-transform: uppercase;
    margin-bottom: 2px;
}
.next-pro .input, .next-pro input:not([type=submit]),  .next-pro textarea{
    border: 0px;
    border-bottom: 1px solid #68777E;
    background: transparent;
    padding: 8px 0px;
    color: #fff;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 29px; 
    letter-spacing: -0.16px;
    outline: none;
}
.next-pro input::placeholder{
    color: rgba(255, 255, 255, 0.61);
     font-size: 16px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: -0.16px;
}
.next-pro textarea{
    height: 45px;
    resize: none;
}
.next-pro input[type=submit]{
    background-color: #00AEC7;
    width: 226.151px;
    height: 68.996px;
    border: 0px;
    color: #FFF;
    font-family: Manrope;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 1.44px;
    text-transform: uppercase;
    padding: 0px 40px;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10" fill="none"><path d="M0.530273 9.14783L8.9281 0.75M8.9281 8.30804V0.75h3.37006" stroke="white" stroke-width="1.5"/></svg>');
    background-repeat: no-repeat;
    background-position: center right 40px;
}
.next-pro input[type=submit]:hover{
  background-color: #10181C;
}
.wpcf7 form .wpcf7-response-output{
    background: #fff;
    text-align: center;
    margin: 1em 0.5em 1em;
}
.project-post-text h3{
    color: #20272B;
    font-family: Archivo;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.58;
    margin-bottom: 20px;
}
.project-post-text ul>li{
    position: relative;
    padding-left: 15px;
    list-style-type: none;
    margin-bottom: 18px;
}
.project-post-text ul>li:after{
    content: '';
    position: absolute;
    left: -10px;
    top: 10px;
    width: 12px;
    height: 12px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" fill="none"><path d="M6.00275 -3.14713e-05C5.83256 -0.00102139 5.66592 0.0486946 5.52409 0.142777C5.38227 0.23686 5.27167 0.371047 5.2064 0.528231C5.14114 0.685414 5.12416 0.858473 5.15764 1.02534C5.19112 1.19221 5.27353 1.34533 5.39438 1.46518L9.93579 5.99791L5.39438 10.5306C5.254 10.6945 5.18064 10.9054 5.18897 11.121C5.1973 11.3367 5.2867 11.5413 5.43931 11.6939C5.59191 11.8465 5.79648 11.9359 6.01213 11.9442C6.22779 11.9525 6.43864 11.8792 6.60256 11.7388L11.7438 6.5977C11.9034 6.43716 11.993 6.21999 11.993 5.99362C11.993 5.76725 11.9034 5.55009 11.7438 5.38954L6.60256 0.248455C6.44296 0.0901575 6.22754 0.000915527 6.00275 -3.14713e-05Z" fill="%2300AEC7"/><path d="M0.861854 0.000622749C0.691658 -0.000367165 0.525023 0.0493488 0.383195 0.143432C0.241366 0.237514 0.130768 0.371701 0.0655034 0.528885C0.000238309 0.686069 -0.0167376 0.859126 0.0167401 1.026C0.0502177 1.19286 0.132632 1.34598 0.253476 1.46583L4.79489 5.99856L0.253476 10.5313C0.0921239 10.6926 0.00147727 10.9115 0.00147727 11.1396C0.00147727 11.3678 0.0921239 11.5867 0.253476 11.748C0.414828 11.9094 0.633668 12 0.861854 12C1.09004 12 1.30888 11.9094 1.47023 11.748L6.61145 6.60692C6.77105 6.44638 6.86062 6.22921 6.86062 6.00284C6.86062 5.77648 6.77105 5.55931 6.61145 5.39876L1.47023 0.257676C1.39087 0.176714 1.29624 0.112307 1.1918 0.068181C1.08737 0.0240564 0.975224 0.00109291 0.861854 0.000622749Z" fill="%2300AEC7"/></svg>');
}
.project-post-text ul{
        padding-left: 15px;
}
.project-post-text ul>li li{
    list-style-type: disc;
    padding-left: 0px;
}
.project-post-text ul>li ul{
    margin-top: 15px;
    padding-left: 30px!important;
}
.project-post-text ul>li li:after{
    display: none;
}
.project-post-text img{
    margin: 15px 0px;
   
}

.pro-slide {
    position: relative;
}
.pro-slide a.brxe-image {
    position: static;
}

.pro-slide a.brxe-image:after {
    position: absolute;
    width: 100%;
    height: 100%;
    content: '';
    top: 0;
    left: 0;
    z-index: 999;
   
}

/* ========================================
   PROJECT IMAGE GALLERY
======================================== */

.project-gallery {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    width: 100%;
}

.project-gallery__item {
    position: relative;
    overflow: hidden;
    min-width: 0;
}

.project-gallery__item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ========================================
   1 — FULL WIDTH
======================================== */

.project-gallery__item:nth-child(1),
.project-gallery__item:nth-child(7),
.project-gallery__item:nth-child(13) {
    grid-column: span 6;
    /*aspect-ratio: 2.4 / 1;*/
    
}


/* ========================================
   2 — TWO COLUMNS
======================================== */

.project-gallery__item:nth-child(2),
.project-gallery__item:nth-child(3),
.project-gallery__item:nth-child(8),
.project-gallery__item:nth-child(9),
.project-gallery__item:nth-child(14),
.project-gallery__item:nth-child(15) {
    grid-column: span 3;
   /*  aspect-ratio: 1.5 / 1;*/
   
}


/* ========================================
   3 — THREE COLUMNS
======================================== */

.project-gallery__item:nth-child(4),
.project-gallery__item:nth-child(5),
.project-gallery__item:nth-child(6),
.project-gallery__item:nth-child(10),
.project-gallery__item:nth-child(11),
.project-gallery__item:nth-child(12),
.project-gallery__item:nth-child(16),
.project-gallery__item:nth-child(17),
.project-gallery__item:nth-child(18)
 {
    grid-column: span 2;
    /* aspect-ratio: 1 / 1;*/
   
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 1024px) {

    .project-gallery {
        gap: 6px;
    }

    .project-gallery__item:nth-child(1),
    .project-gallery__item:nth-child(7),
    .project-gallery__item:nth-child(13) {
      /* aspect-ratio: 2 / 1;*/
    }

}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 767px) {

    .project-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;

    }

    /* Full-width images */
    .project-gallery__item:nth-child(1),
    .project-gallery__item:nth-child(7) ,
    .project-gallery__item:nth-child(13){
        grid-column: span 2;
        /* aspect-ratio: 1.8 / 1;*/
        
    }

    /* Two-column images */
    .project-gallery__item:nth-child(2),
    .project-gallery__item:nth-child(3),
    .project-gallery__item:nth-child(8),
    .project-gallery__item:nth-child(9) {
        grid-column: span 1;
       /*  aspect-ratio: 1 / 1;*/
       
    }

    /* Three-column images */
    .project-gallery__item:nth-child(4),
    .project-gallery__item:nth-child(5),
    .project-gallery__item:nth-child(6),
    .project-gallery__item:nth-child(10),
    .project-gallery__item:nth-child(11),
    .project-gallery__item:nth-child(12) {
        grid-column: span 1;
       /* aspect-ratio: 1 / 1;*/
      
    }

}


/* ========================================
   SMALL MOBILE
======================================== */

@media (max-width: 480px) {

    .project-gallery {
        gap: 4px;
    }

}


@media (max-width:1580px) {

    .testimonial-content{
        margin-bottom: 40px;
    }
    .author-name{
        font-size: 22px;
    }
     .project-post-text h3{
            font-size: 23px;
            margin-bottom: 18px;

    }
}

@media (max-width:1350px) {
    .testimonial-card{
        padding: 50px 40px 50px 40px;
    }
    .testimonial-content {
        margin-bottom: 30px;
    }
    .next-pro input[type=submit]{
        height: 62px;
    }
    .testimonial-grid-container{
        gap: 30px;
    }
    .project-post-text h3{
            font-size: 22px;
        
    }
    .project-post-text ul>li{
        margin-bottom: 12px;
        padding-left: 10px;
    }
}
@media (max-width:991px) {
    .service-list>.brxe-div .brxe-button{
        height: 45px!important;
        width: 170px!important;
         gap: 15px!important;
    }
    .service-list>.brxe-div:hover .brxe-div {
        bottom: 20px !important;
    }
    .testimonial-grid-container{
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
    }
        .next-pro input[type=submit] {
        height: 55px;
        width: 210px;
        background-position: center right 30px;
        padding: 0px 30px;
    }
    .footer-logo{
            order: -1;
    }
        .author-name {
        font-size: 20px;
    }
    .bricks-mobile-menu-toggle{
        color: #000!important;
    }
    :where(.brxe-nav-menu) .bricks-mobile-menu-toggle span{
        background-color: #000!important;
    }
     .has-bg-video video {
         width: 100%;
        height: 100%;
        object-fit: cover;
    }

     .project-post-text h3{
            font-size: 20px;
            margin-bottom: 15px;

    }
}

@media (max-width: 478px) {
    .testimonial-card {
        padding: 25px;
    }
    .testimonial-grid-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 30px 10px;
    }
    .service-list h4 span{    
        font-size: 15px;
    }
    .service-list>.brxe-div .brxe-button {
        height: 38px !important;
        width: 145px !important;
        gap: 10px !important;
        font-size: 11px;
    }
    .next-pro div{
        width: 100%;
        margin-bottom: 25px;
    }
    .next-pro input[type=submit] {
        height: 50px;
        width: 200px;
        background-position: center right 25px;
        padding: 0px 25px;
    }
   
    .sub-heading{
    
    padding-left:36px;
}
.sub-heading:before{    
    width: 23.999px;
    
}

}


@media (max-width: 400px) {
    .service-list h4 span {
        font-size: 14px;
    }
     .service-list .brxe-image{
        width: 100%!important;
     }

}