/* main banner section */
.home-banner {
    isolation: isolate;
}

.home-banner img {
    aspect-ratio: 1890 / 945;
    background-color: grey;
}

.bannerSwiper {
    z-index: -1;
    width: calc(100% - 5rem);
}

.bannerSwiper .swiper-slide {
    width: 100%;
    /* aspect-ratio: 1890/945; */
    /* background-color: black;
    background-image: var(--bg);
    background-size: 100%;

    background-repeat: no-repeat;
    background-position: top center; */
}

@media (width < 1200px) {
    .bannerSwiper {
        z-index: -1;
        width: calc(100% - 1rem);
    }

    .home-banner img {
        aspect-ratio: 1000/1500;
        /* background-image: linear-gradient(to top, hsla(0, 0%, 0%, 1), hsla(0, 0%, 0%, 0)), url(/assets/images/home/banner-img-mob.jpg); */
    }

    .home-banner h1,
    .home-banner p {
        color: white;
    }

    .home-banner .clr-tag-dark {
        color: var(--clr-text-light);
        border: 1px solid var(--clr-text-light);
    }

}

#about-us {
    background-image: url(/assets/images/home/about-us.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* counter section */
#counter-sec {
    /* margin-top: -100px; */
}

#counter-sec .counter-card {
    width: 100%;
    min-height: 200px;
    color: var(--clr-text-dark);
    background-color: white;
    border-radius: 10px;
    /* box-shadow: 0 4px 4px 0px hsla(0, 0%, 0%, 0.25); */
    transition: .3s;
    margin-top: 1rem;
}

#counter-sec .counter-card:hover {
    background-color: var(--clr-primary);
    color: var(--clr-text-light);
}

@media (hover: hover) {
    #counter-sec .counter-card:hover {
        transform: translateY(-10px);
    }
}

#counter-sec .counter-card .clr-text-primary {
    transition: .3s;
}

#counter-sec .counter-card:hover .clr-text-primary {
    color: var(--clr-text-light);
}

@media (width < 1200px) {
    #counter-sec {
        /* margin-top: -60px; */
    }

    #counter-sec .counter-card {
        min-height: 120px;
        min-height: 80px;
    }

}

/* brands-section */
#brands-section .scroll-wrapper {
    position: relative;
    overflow: hidden;
    min-height: 100px;
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

#brands-section .scroll-wrapper .scroll-brands {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) translateX(0px);
    animation: scroll-brand var(--speed, 20s) linear infinite;
    width: max-content;
}

#brands-section .scroll-wrapper .scroll-brands.scroll-reverse {
    position: absolute;
    left: auto;
    right: 0;
    top: 50%;
    animation: scroll-brand-reverse var(--speed, 20s) linear infinite;
}

@keyframes scroll-brand {
    0% {
        transform: translateY(-50%) translateX(0px);
    }

    100% {
        transform: translateY(-50%) translateX(-50%);
    }
}

@keyframes scroll-brand-reverse {
    0% {
        transform: translateY(-50%) translateX(0px);
    }

    100% {
        transform: translateY(-50%) translateX(50%);
    }
}

#brands-section .brand {
    width: 220px;
}

#brands-section .brand img {
    transition: 0.3s;
    object-fit: contain;
}

#brands-section:has(img:hover) .brand img:not(:hover) {
    filter: grayscale(1);
}



#brands-section .scroll-wrapper .scroll-brands:has(img:hover) {
    animation-play-state: paused;
}

/* award sec */
#awards-sec .award-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

#awards-sec .award-grid .award-img {
    width: 100%;
    aspect-ratio: 1;
    background-image: var(--award-img);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    mix-blend-mode: darken;
    transition: 0.5s;
}

#awards-sec .award-grid:has(.award-img:hover) .award-img:not(:hover) {
    filter: grayscale(1);
}

#awards-sec .award-grid .award-img:nth-child(3) {
    background-position: center bottom -15px;
}



#awards-sec .award-grid .award-img:nth-child(5) {
    background-position: center bottom -5px;
}

#awards-sec .award-grid .award-img:not(:nth-child(3)) {
    transform: scale(0.8);
}

@media (width < 992px) {
    #awards-sec .award-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem 5px;
    }

    #awards-sec .award-grid .award-img:not(:nth-child(3)) {
        transform: scale(1);
    }

    #awards-sec .award-grid .award-img:is(:nth-child(3), :nth-child(5)) {
        grid-column: 1/4;
        height: 200px;
    }

    #awards-sec .award-grid .award-img:nth-child(3) {
        grid-row: 1/2;
    }
}

/* news and events */
#news-nd-events .icon {
    font-size: 4rem;
    color: var(--clr-secondary);
}

/* benefits */

#benefits-section .benefits-points {
    /* background-color: var(--clr-text-light); */
    border-radius: 15px;
    width: 100%;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.04);
    transition: .4s;
    border: 1px solid var(--clr-primary);
    min-height: 130px;
}


#benefits-section .benefits-points .svg-wrapper {
    background-color: var(--clr-primary);
    width: 17%;
    aspect-ratio: 1/1;
    border-radius: 50%;
    transition: .4s;
}

#benefits-section .benefits-points .svg-wrapper svg {
    font-size: 35px;
    color: var(--clr-text-light);
    transition: .4s;
}

#benefits-section .benefits-points :is(h6, p) {
    color: #000000;
    transition: .4s;
}

#benefits-section .benefits-points:hover {
    background-color: var(--clr-primary);
}

#benefits-section .benefits-points:hover .svg-wrapper {
    background-color: var(--clr-text-light);
}

#benefits-section .benefits-points:hover .svg-wrapper svg {
    color: var(--clr-primary);
}

#benefits-section .benefits-points:hover :is(h6, p) {

    color: var(--clr-text-light);
}


#benefits-section .benefits-points:hover .svg-wrapper {
    background-color: var(--clr-text-light);
}

#benefits-section .benefits-points:hover .svg-wrapper svg {
    color: var(--clr-primary);
}

#benefits-section .benefits-points:hover p {
    color: var(--clr-text-light);
}



#benefits-section .benefits-contents h6 {
    color: var(--clr-primary);
    font-size: 13px;
}

#benefits-section .benefits-contents a {
    font-size: 12px;
}

#benefits-section .benefits-contents .benefits-contact {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.04);
    border-radius: 0 100vw 100vw 100vw;
    background-color: var(--clr-text-light)
}

#benefits-section .benefits-contents .benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    place-items: center;
}

#benefits-section .benefits-contents .benefits-aside-box {
    width: 100%;
    background-color: white;
    background-image: linear-gradient(to right, hsl(295, 56%, 40%), hsl(345, 86%, 25%));
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.04);
    aspect-ratio: 1/1;
}

#benefits-section .benefits-contents .benefits-aside-box .icons {
    width: 15%;
    aspect-ratio: 1/1;
    color: var(--clr-primary);
    font-size: 3rem;
}


#benefits-section .benefits-contents .benefits-aside-box p {
    font-size: 14px;
}

@media (width < 700px) {
    #benefits-section .benefits-points p {
        font-size: 10px;
    }

    #benefits-section .benefits-contents .benefits-contact {
        border-radius: 20px;
    }
}

/* blog */

.blog-box .content {
    position: relative;
    min-height: 180px
}

.blog-box .content::before {
    display: none;
    content: attr(data-views);
    position: absolute;
    bottom: 100%;
    right: 0;
    padding-right: 2.5rem;
    padding-left: 1rem;
    background-image: url(https://api.iconify.design/uil:eye.svg?color=%23ffffff);
    background-position: center right 0.5rem;
    background-size: contain;
    background-repeat: no-repeat;
    color: white;
    border-radius: 1rem 0 0 0;
    background-color: var(--clr-secondary);
}

/* call to acton */
#call-to-action {
    /* height: 400px; */
    background-image: linear-gradient(to right, hsl(295, 56%, 40%), hsl(345, 86%, 25%));
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    position: relative;
}

@media (width > 1200px) {

    #call-to-action::before {
        /* content: ''; */
        position: absolute;
        right: 5%;
        bottom: 0;
        display: block;
        height: 140%;
        aspect-ratio: 1/1;
        background-image: url(/assets/images/cta/cta.png);
        background-position: center;
        background-size: contain;
        background-repeat: no-repeat;
    }
}


#call-to-action .call-to-content .call-to-action-button {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.04);
    border-radius: 100vw;
    background-color: var(--clr-text-light);
    width: 70%;

}

@media (width < 768px) {
    #call-to-action .call-to-content .call-to-action-button {
        width: 100%;
    }
}

/* faq */


.faq-sec .faq-head {
    padding: 1.5rem;
    position: relative;
}


.faq-sec .faq-head::before {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    width: 30px;
    height: 30px;
    background-color: var(--clr-primary);
    background-image: url(https://api.iconify.design/material-symbols:add-rounded.svg?color=%23ffffff);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.200);

}

.faq-sec .faq-head[data-show="true"]::before {
    transform: translateY(-50%) rotate(45deg);
}

.faq-sec .faq-head h6 {
    transition: 0.3s;
}

.faq-sec .faq-head[data-show="true"] h6 {
    color: var(--clr-primary);
}

.faq-sec .faq-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: 250ms ease;
    padding: 0 1.5rem;
}

.faq-head[data-show="true"]+.faq-body {
    grid-template-rows: 1fr;
    padding: 0.4rem 1.5rem 1.5rem 1.5rem;
}

.faq-sec .faq-body p {
    overflow: hidden;
}

.faq-sec .faq-content {
    border: .5px var(--clr-primary) solid;
    border-left: 10px var(--clr-primary) solid;
    border-right: 2px var(--clr-primary) solid;
    box-shadow: -4px 4px 4px rgba(0, 0, 0, 0.246);
    cursor: pointer;
}


/* projects */
#projects-section .projects-content-wrapper .project-image {
    width: 100%;
    aspect-ratio: 1/0.75;
    background-image: url(https://www.gsquarehousing.com/wp-content/webp-express/webp-images/uploads/2024/11/G-Square-Aranya-500x500-2.jpg.webp);
    background-position: center top;
    background-size: 200% auto;
    background-repeat: no-repeat;
}

#projects-section .tabs {
    /* background-color: var(--clr-text-light); */
    width: max-content;
    border: 2px solid var(--clr-primary);
    border-radius: 100vw;
    overflow: hidden;

}

#projects-section .tabs .tabs-click {
    color: #000000;
    transition: .4s;
    text-transform: uppercase;
}

#projects-section .tabs .tabs-click:hover {
    color: rgb(255, 255, 255) !important;
    background-color: var(--clr-primary);

}

#projects-section .projects-content-wrapper .projects-content {
    background-color: var(--clr-text-light);
}

#projects-section .projects-content-wrapper .projects-content .location-icon {
    width: 25px;
    height: 25px;
    background-image: url(https://api.iconify.design/material-symbols-light:home-pin-outline-rounded.svg?color=%23000000);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.tab-content.d-none {
    display: none !important;
}

.tab-content:not(.d-none) {
    animation: fadeUp 0.5s ease-in-out;
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-link.active .tabs-click {
    background-color: var(--clr-primary);
    color: rgb(255, 255, 255) !important;
}

@media (width < 768px) {
    #projects-section .tabs .tabs-click p {
        font-size: 12px;

    }
}

@media (width < 390px) {
    #projects-section .tabs .tabs-click p {
        font-size: 10px;

    }
}