.banner-section{
    position: relative;
}

.banner-bg{
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
    width: 360px;
}

.banner-bg.mobile{
    display: none;
}

.banner-section .container{
    position: relative;
    z-index: 2;
}


.home-header{
    max-width: 1100px;
    padding-left: 80px;
    margin-bottom: 0;
}

.home-banner{
    border-radius: 20px;
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

.home-banner .mobile{
    display: none;
}

.home-banner img{
    border-radius: 20px;
    width: 100%;
    max-width: 1400px;
}
img{
    max-width:100%;
    display:block;
    
}
img.center{
    margin:0 auto;
}
.owl-item figure{
    position:relative;
}
.owl-item figcaption{
    display: flex;
    flex-direction: column;
    opacity: 0;
    transition: all .3s ease;
    position:absolute;
    left:0;
    top:0;
    border-radius: 15px;
    width:100%;
    height: 100%;
    padding:30px;
    background: #7F7F7F00;
background: linear-gradient(180deg, rgba(127, 127, 127, 0.72) 0%, rgba(148, 128, 117, 0.76) 50%, rgba(191, 130, 97, 1) 100%);
}
.owl-item figcaption .grow{
    height: 10px;
    flex-grow: 1;
}
.owl-item figcaption p,
.owl-item figcaption h3,
.owl-item figcaption h4{
    color:#fff;
}
.owl-item:hover figcaption{
    opacity: 1;
}

.our-values-section{
    margin-top: 120px;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    isolation: isolate;
}

.our-values-section h4{
    font-family: "Figtree", "Verdana";
}

.our-values-section h4{
    letter-spacing: 7.2px;
}

.our-values-section .btn1{
    margin-top: 60px;
}

.values-texts {
  position: relative;
  height: 100px; /* adjust for your design */
}

.values-texts p {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  opacity: 0;
}

.our-expertise-section{
    margin-top: 150px;
}

.our-expertise-section .section-subtitle{
    margin-bottom: 40px;
    letter-spacing: 7.2px;
}
.expertise-text{
    margin-top: 40px;
    margin-bottom: 60px;
    padding-right: 40px;
}

.expertise-right{
    width: 40%;
    position: relative;
}

.expertise-right img{
    border-radius: 20px;
}

.service-img {
    position: absolute;
    opacity: 0;
    transition: opacity 0.4s ease;
    width: 100%;
    left: 0;
    top: 0;
}

.service-img.active {
    opacity: 1;
}

.expertise-cont{
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.expertise-cont a,
.expertise-cont p {
    position: relative;
    color: #D1A68F;
    font-size: 25px;
    font-weight: 400;
    font-family: "Aboreto", "Figtree", "Verdana";
    cursor: pointer;
    margin-bottom: 0;
    width: fit-content;
    display: block;
    text-decoration: none; /* remove default underline */
    flex-grow: 0;
    flex-shrink: 0;
}

/* Create underline effect */
.expertise-cont a::after,
.expertise-cont p::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 1px; 
    box-shadow: 0 1px 0 #553A30; 
    transition: width 0.3s ease-in-out;
}

/* Hover state: expand underline */
.expertise-cont a.active::after,
.expertise-cont p.active::after {
    width: 100%;
}

/* Hover text color */
.expertise-cont a.active,
.expertise-cont p.active {
    color: #553A30;
}


.more-services-section{
    background-color: #646E5B;
    margin-top: 80px;
}

#more-services-cont{
    
    /* padding: 35px 0; */
    height: 130px;
    display: grid;
}
#more-services-cont-mobile{
    
    /* padding: 35px 0; */
    display: grid;
}

.more-services-group{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.more-services-item{
    text-align: center;
}

.more-services-item p{
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-family: "Figtree", "Verdana";
    font-weight: 400;
    text-align: center;
    margin-bottom: 0;
}

.more-services-item .divider{
    display: block;
    max-height: 100%;
    height: 50px;
    width: 1px;
    background-color: #fff;
}

.signature-projects-section{
    margin-top: 120px;
}

.signature-projects-section .section-subtitle{
    margin-bottom: 40px;
    letter-spacing: 5.7px;
}


.signature-project-img{
    border-radius: 20px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.8s ease-in-out;
}

.signature-project{
    position: relative;
    height: 550px;
    overflow: hidden;
    border-radius: 20px;
}

.signature-project-content{
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    border-radius: 20px;
    opacity: 0;
    transition: all 0.2s ease-in-out;
    
}

.signature-project-content-text{
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 35px 40px;
}

/* Gradient overlay at the bottom */
.signature-project-content::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%; /* adjust height for gradient coverage */
    background: linear-gradient(180deg, rgba(127, 127, 127, 0) 4.81%, rgba(148, 128, 117, 0.287755) 10%, rgba(191, 130, 97, 1) 80%);
    pointer-events: none; /* so overlay doesn’t block clicks */
    border-radius: 20px;
    
    
}

.signature-project:hover .signature-project-img{
    scale: 1.02;
}

.signature-project:hover .signature-project-content{
    opacity: 1;
}

.signature-project-content-text p, .signature-project-content-text h3, .signature-project-content-text h4{
 color: #FFF4EB;
}

.signature-project-content-text h4{
 font-size: 13px;
 letter-spacing: 4px;
}

.signature-project-content-text h3{
    font-size: 40px;
    margin: 14px 0 17px 0;
    letter-spacing: -4px;
}

.signature-project-content-text a{
    color: #F8E3D1;
    text-decoration: none;
    font-size: 18px;
    font-family: "Aboreto", "Figtree", "Verdana";
    position: relative;
}

.signature-project-content-text a::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px; /* adjust distance from text */
    width: 0;
    height: 1px; 
    box-shadow: 0 1px 0 #F8E3D1; 
    transition: width 0.3s ease-in-out;
    pointer-events: none;
}

.signature-project-content-text a:hover::after{
    width: 100%;
}

.signature-projects-pagination {
    display: flex;
    /* justify-content: center; */
    gap: 10px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.signature-bullet {
    display: inline-block;
    width: 35px;
    height: 2px;
    text-align: center;
    background: #FFFFFF;
    color: #333;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.signature-bullet-active {
    background: #D1A68F;
    color: #fff;
}

.signature-projects-copy{
    max-width: 560px;
    margin-bottom: 40px;
}

.btn2{
    padding: 18px 80px;
    color: #F8E3D1;
    background-color: #785A4D;
    border: 1px solid transparent;
    font-size: 18px;
    font-family: "Figtree", sans-serif;
    text-decoration: none;
    border-radius: 50px;
    display: inline-block;
    font-weight: 300;
}

.faq-section{
    margin-top: 100px;
    padding-bottom: 140px;
}

.faq-section .section-subtitle{
    margin-bottom: 30px;
}

.faq-section h2{
    padding-right: 100px;
}

.faq-filter-container {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.faq-filter-btn {
    padding: 18px 36px;
    border: 1px solid #785A4D;
    background: transparent;
    color: #785A4D;
    cursor: pointer;
    font-family: "Figtree", sans-serif;
    font-weight: 400;
    border-radius: 50px;
    font-size: 18px;
    transition: all 0.2s ease-in-out;
}
.faq-filter-btn.active {
    background: #785A4D;
    color: #fff;
}

.faq-item {
    border-bottom: 1px solid #D1A68F;
    margin-bottom: 10px;
    padding: 10px 0;
    display: block; /* <-- show all by default */
}

.faq-item:last-child{
    margin-bottom: 0;
}
.faq-item.hidden {
    display: none; /* hide when filtered out */
}

.faq-question {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.faq-question p{
    margin-bottom: 0;
    color: #553A30;
}

.faq-question img{
    width: 15px;
    transform: rotate(0deg);
    transition: all 0.2s ease-in-out;
}
.faq-answer {
    margin-top: 8px;
    max-height: 0;
    transition: all 0.3s ease-in-out;
    overflow: hidden;
}
.faq-item.open .faq-answer {
    max-height: 1000px;
}

.faq-item.open .faq-question img{
    transform: rotate(180deg);
}

.enquire-section{
    padding-bottom: 170px;
}

.enquire-section .section-subtitle{
    letter-spacing: 5.6px;
}

.enquire-section h1{
    margin-bottom: 20px;
}

.enquire-section .pcenter{
    max-width: 500px;
}

.enquire-section .btn1{
    display: block;
    width: fit-content;
    margin: auto;
    margin-top: 40px;
}

.header-title-mobile{
    display: none;
}

.expertise-service-section.mobile{
    display: none;
}

.faq-answer p{
    padding-right: 70px;
}

@media screen and (max-width : 1023px){
    

    .header-title-desktop{
        display: none;
    }

    .header-title-mobile{
        display: block;
    }

    .home-header{
        font-size: 70px;
        padding-left: 30px;
    }
}

@media screen and (max-width : 767px){
    .home-header{
        font-size: 50px;
        padding-left: 0px;
    }

    .home-banner .mobile{
        display: block;
    }

    .home-banner .desktop{
        display: none;
    }

    .home-banner{
        width: 100%;
        padding: 0;
    }

    .home-banner img{
        border-radius: 0;
    }

    .banner-bg.mobile{
        display: block;
        width: 150px;
        top: 200px;

    }

    .banner-bg.desktop{
        display: none;
    }

    .our-values-section{
        margin-top: 60px;
    }

    .our-values-section h1{
        letter-spacing: -3.5px;
        position: relative;
        left: -5px;
    }

    .our-values-section h4{
        font-size: 16px;
        letter-spacing: 8px;
    }

    .our-expertise-section{
        margin-top: 60px;
    }

    .our-expertise-section .section-subtitle{
        text-align: center;
        margin-bottom: 25px;
    }

    .our-expertise-section h2{
        text-align: center;
    }


    .expertise-text{
        margin-top: 25px;
        margin-bottom: 40px;
        padding-right: 0;
        text-align: center;
    }

    .expertise-service-section.mobile{
        display: block;
    }

    .expertise-service-section.desktop{
        display: none;
    }

    .service-img-container{
        position: relative;
        height: 200px;

    }

    .service-img-container img{
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .more-services-section{
        margin-top: 0;
        /* overflow: hidden; */
    }

    #more-services-cont-mobile{
        /* overflow: hidden; */
        width: 100%;
       height: 124px;
        
    }

    .more-services-group{
        gap: 40px;
        width: max-content;
        /* flex-wrap: nowrap;
        overflow-x: auto; */
    }

    .more-services-item{
        white-space: nowrap;
        flex-shrink: 0;
        flex-basis: auto;
    }

    .more-services-item a{
        display: block;
        text-align: center;
        padding: 0 60px;
    }

    .expertise-cont{
        margin-top: 30px;
        align-items: center;
        gap: 15px;
    }
    .expertise-cont a, .expertise-cont p{
        text-decoration: none;
        font-size: 20px;
    }

    .expertise-cont a.active, .expertise-cont p.active{
        /* text-decoration: underline; */
        color: #553A30;
    }

    .signature-projects-section{
        margin-top: 60px;
    }

    .signature-projects-pagination{
        justify-content: center;
        margin: 25px 0;
    }

    .signature-projects-copy{
        text-align: center;
        margin-bottom: 25px;
    }

    .signature-projects-section .btn1{
        display: block;
        width: fit-content;
        margin: auto;
    }

    .faq-section{
        margin-top: 80px;
        padding-bottom: 80px;
    }

    .faq-section .section-subtitle{
        margin-bottom: 10px;
    }

    .faq-filter-container{
        margin-top: 10px;
        margin-bottom: 40px;
    }

    .faq-filter-btn{
        font-size: 17px;
    }

    .faq-question p{
        font-size: 16px;
    }
    .faq-answer p{
        font-size: 16px;
        padding-right: 40px;
    }

    .enquire-section h1{
        max-width: 240px;
        margin: auto;
        letter-spacing: -3.5px;
        margin-bottom: 10px;
    }

    .enquire-section{
        padding-bottom: 80px;
    }


    .enquire-section .btn1{
        margin-top: 20px;
    }

    p.section-subtitle{
        margin-bottom: 5px;
    }
    

    .enquire-section .section-subtitle{
        letter-spacing: 7.2px;
        margin-bottom: 10px;
    }

    .signature-bullet{
        height: 2px;
    }

    .faq-section h2{
        padding-right: 70px;
    }

    .signature-project{
        height: 480px;
    }
}
