.project-grid-section {
    position: relative;
    padding: 120px 0;
}

.project-grid-wrapper {
    display: flex;
    gap: 40px;
}

.project-filter {
    width: 20%;
}

.project-filter ul {
    list-style: none;
    padding: 0;
}

.project-filter li {
    margin-bottom: 10px;
}

.project-grid {
    width: 80%;
}

.projects-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.project-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.project-item h5 {
    margin-top: 10px;
    font-size: 16px;
    margin-bottom: 0;
}

.load-more-wrapper {
    text-align: center;
    margin-top: 40px;
}

.load-more-btn {
    padding: 10px 25px;
    background: #1c3c34;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 80px;
}

.project-filter input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 28px;
    height: 28px;
    border: 2px solid #687C4B;
    border-radius: 6px;
    cursor: pointer;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    transition: all 0.25s ease;
    vertical-align: middle;
    outline: none;
}

.project-filter input[type="radio"]:checked {
    background-color: #687C4B;
}

.project-filter input[type="radio"]:checked::after {
    content: "✔";
    color: #fff;
    font-size: 16px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
}

.project-filter li label {
    position: relative;
    padding-left: 40px;
    display: flex;
    cursor: pointer;
}

.project-filter li {
    margin-left: 0;
    margin-bottom: 20px;
}

.project-category {
    margin-top: 15px;
    font-size: 14px;
    line-height: 1;
    text-transform: uppercase;
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    /* Adjust to match Figma spacing */
    margin: 80px 0;
}

.gallery-item {
    position: relative;
    width: 100%;
    /* aspect-ratio: 1 / 1; */
    /* Perfect square */
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.project-detail-gallery {
    padding: 100px 15px;
    gap: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    max-width: 1280px;
    margin: 0 auto;
}

.project-item>a {
    text-decoration: none;
}


.download-grid-section .downloads-sidebar {
    display: inline-flex;
    width: 30%;
    flex-direction: column;
    padding-right: 36px;
    position: sticky;
    top: 80px;
}


.download-grid-section h3.sidebar-title {
    font-family: Montserrat;
    font-weight: 500;
    font-size: 22px;
    line-height: 28px;
    text-transform: uppercase;
    margin: 0 0 24px;
}

.download-grid-section .downloads-sidebar>ul {
    margin: 0;
}

.download-grid-section .downloads-sidebar>ul li {
    margin: 0;
    list-style: none;
    padding: 0;
    margin-bottom: 8px;
}

.download-grid-section .downloads-sidebar>ul li a {
    padding: 16px 24px;
    font-family: Montserrat;
    font-weight: 500;
    font-size: 15px;
    line-height: 20px;
    text-transform: capitalize;
    display: inline-block;
    width: 100%;
    text-decoration: none;
    border-left: 8px solid transparent;
}

.download-grid-section .downloads-sidebar>ul li a.active,
.download-grid-section .downloads-sidebar>ul li a:hover {
    background: #F0EDE480;
    border-left: 8px solid #A4C9BF;
}

.download-grid-section .downloads-content {
    display: inline-flex;
    width: 69%;
    flex-direction: column;
    padding-left: 32px;
}

.download-grid-section .download-group>h2 {
    font-family: Montserrat;
    font-weight: 500;
    font-size: 28px;
    line-height: 40px;
    text-transform: uppercase;
    margin: 0 0 32px;
}

.download-grid-section .download-group>h3 {
    font-family: Montserrat;
    font-weight: 500;
    font-size: 22px;
    line-height: 28px;
    text-transform: uppercase;
    margin: 0 0 16px;
}

.download-grid-section .download-group>ul {
    margin: 0;
}

.download-grid-section .download-group>ul+h3 {
    margin-top: 32px;
}

.download-grid-section .download-group>ul li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.download-grid-section .download-group>ul li:first-child a {
    border-top: 1px solid#F0EDE4;
}

.download-grid-section .download-group>ul li a {
    padding: 24px 0 24px 48px;
    font-family: Montserrat;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    display: inline-block;
    width: 100%;
    text-decoration: none;
    color: #213F3D;
    border-bottom: 1px solid#F0EDE4;
    position: relative;
}

.download-grid-section .download-group>ul li a:before {
    position: absolute;
    content: "";
    height: 25px;
    width: 25px;
    background-image: url(../src/images/download-img.png);
    background-repeat: no-repeat;
    background-size: contain;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}

.faq-item {
    margin-bottom: 16px;
}

.faq-question {
    background: rgb(240 237 228 / 70%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 24px 32px;
    font-weight: 600;
}

.faq-icon {
    font-size: 22px;
    font-weight: 700;
    color: #687C4B;

}

.faq-answer {
    padding: 32px;
    background: rgb(240 237 228 / 30%);
    display: none;
    font-family: Montserrat;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    color: #213f3d;
}

.faq-answer p{
    margin: 0;
}

.faq-title {
    color: #213f3d;
    font-family: Montserrat;
    font-weight: 500;
    font-size: 20px;
    line-height: 130%;
}

@media (max-width: 1199px) {
    .project-filter {
        width: 30%;
    }

    .project-grid {
        width: 70%;
    }

    .projects-row {
        grid-template-columns: repeat(3, 1fr);
    }

    .project-detail-gallery {
        gap: 20px;
    }

    .gallery-item img {
        height: 280px;
    }
}

@media (max-width: 991px) {
    .project-filter {
        width: 35%;
    }

    .project-grid {
        width: 65%;
    }

    .projects-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-detail-gallery {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-item img {
        height: 250px;
    }

    .download-grid-section .downloads-sidebar {
        padding-right: 0;
    }

    .download-grid-section .downloads-sidebar>ul li a {
        padding: 16px;
    }
}


@media (max-width: 767px) {
    .project-grid-section {
        padding: 60px 0;
    }

    .project-grid-wrapper {
        flex-wrap: wrap;
        gap: 30px;
    }

    .project-filter {
        width: 100%;
    }

    .project-grid {
        width: 100%;
    }

    .projects-row {
        grid-template-columns: 1fr;
    }

    .download-grid-section .downloads-sidebar {
        display: block;
        width: 100%;
        padding-right: 0;
        position: relative;
        top: unset;
    }

    .download-grid-section .downloads-content {
        display: flex;
        width: 100%;
        flex-direction: column;
        padding-left: 0;
        margin-top: 40px;
    }

    .download-grid-section .download-group>h2 {
        font-size: 24px;
        line-height: 1.2;
    }

    .download-grid-section .download-group>h3 {
        font-size: 20px;
        line-height: 1.2;
    }


    .download-grid-section {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .project-gallery {
        grid-template-columns: 1fr;
    }

    .project-detail-gallery {
        padding: 60px 15px;
        gap: 20px;
        grid-template-columns: 1fr;
    }
}


.hide-nav .downloads-sidebar {
    top: 0;
}



.warranty-section .covered ul li {
    position: relative;
    list-style: none;
    padding-left: 50px;
    margin: 0;
    margin-bottom: 15px;
    font-size: 18px;
		width: 97%;
}

.warranty-section .covered ul li:before {
    --tw-bg-opacity: 1;
    background-color: #213F3D;
    background-image: url(../dist/svg/warranty-tick.svg);
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: auto;
    border-radius: 9999px;
    content: "";
    display: block;
    height: 2rem;
    left: 0;
    position: absolute;
    top: -3px;
    width: 2rem;
}
.warranty-section h3 {
    font-size: 22px;
    color: #213F3D;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.warranty-section .not-covered {
    background: #F0EDE4 !important;
    padding: 40px;
}

.warranty-section .grid {
    gap: 0;
}
.warranty-section .not-covered ul li {
    position: relative;
    list-style: none;
    padding-left: 50px;
    margin: 0;
    margin-bottom: 15px;
    font-size: 18px;
}
.warranty-section .not-covered ul li:before {
    --tw-bg-opacity: 1;
    background-color: #C1C2B0;
    background-image: url(../dist/svg/warranty-cross.svg);
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: auto;
    border-radius: 9999px;
    content: "";
    display: block;
    height: 2rem;
    left: 0;
    position: absolute;
    top: -3px;
    width: 2rem;
}

.warranty-section .grid .covered {
    background: #A4C9BF99;
    padding: 40px;
}

.project-sidebar .text-xs {
    font-weight: 600;
    color: #687C4B;
    font-size: 14px;
    line-height: 16px;
}
.project-sidebar ul.space-y-2 li {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 18px;
}
.project-sidebar ul.space-y-2 a {
text-decoration: none;
    color: #213F3D;
}
.project-sidebar .text-lg {
    margin: 8px 0px;
}
.project-detail-gallery {
    gap: 16px !important;
}
.project-sidebar .sidebar-inner-col {
    margin-top: 32px !important;
}
.downloads-content ul li a:hover {
    background: #f7f6f1;
}
.download-grid-section .download-group>ul li a:before {
    left: 10px;
}

.downloads-mobile-dropdown {
	display: none;
	margin-bottom: 20px;
}

.downloads-mobile-dropdown select {
	width: 100%;
	padding: 10px;
	font-size: 16px;
}

/* Mobile */
@media (max-width: 768px) {
	.downloads-sidebar {
		display: none !important;
	}

	.downloads-mobile-dropdown {
		display: block;
	}
}

select#downloads-category-select {
    border: 2px solid #213f3d;
    border-radius: 5px;
    outline: none;
    font-size: 18px;
    color: #213f3d;
    font-weight: 600;
    padding: 8px 45px 8px 12px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8' fill='none'%3E%3Cpath d='M12.75 0.75L6.75 6.75L0.75 0.75' stroke='%23213f3d' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 14px;
}

.project-sidebar {
    padding-left: 40px;
    border-left: 1px solid #213f3d;
}

@media (max-width: 1023px){
    .project-sidebar {
    padding-left: 0;
    border-left: none;
}
}



.project-grid-section .filter-checkbox label input[type=checkbox]:after{
    background-color: #fff !important;
    border-radius: .125rem;
    color: #fff;
    content: "";
    display: flex;
    font-size: .75rem;
    height: 20px !important;
    justify-content: center;
    left: 0;
    position: absolute;
    top: 2px;
    transition-duration: .3s;
    transition-property: transform;
    transition-timing-function: cubic-bezier(.4,0,.2,1);
    width: 20px !important;
    border: 1px solid  rgb(104 124 75/var(--tw-bg-opacity,1));
}
.project-grid-section .filter-checkbox input[type=checkbox]:checked:after {
    transform: unset;
    background-color: rgb(104 124 75/var(--tw-bg-opacity,1)) !important;
    content: "✔";
}
 
.project-grid-section .filter-checkbox label:before,
.project-grid-section .filter-checkbox label:after{
    display: none;
}
.project-grid-section .project-filter li label {
    cursor: pointer;
    display: flex;
    padding-left: 30px;
    position: relative;
}

.no-arrow:before, .no-arrow:after {
    display: none;
}
.no-arrow {
    padding: 16px 40px !important;
}

.project-grid-wrapper .project-filter li {
    margin-bottom: 16px;
}



.banner-content-sect {
    width: 65% !important;
    padding-left: 15%;
    padding-right: 15px;
}
 
.banner-img-sect {
    width: 35% !important;
}
 
.banner-right.py-10.lg\:py-20.xl\:py-32.px-6.lg\:px-12.xl\:px-20.h-full.flex.flex-col.justify-center {
    padding: 0 !important;
}
 
@media (max-widtH: 1599px) {
    .banner-content-sect {
        padding-left: 50px !important;
    }
}
@media (max-widtH: 1299px) {
   .banner-content-sect {
    width: 50% !important;
    padding-left: 20px !important;
}
 
.banner-img-sect {
    width: 50% !important;
}
}
 
@media (max-widtH: 767px) {
	.warranty-section .grid .covered, .warranty-section .not-covered {
    padding: 20px;
}
   .banner-content-sect {
    width: 100% !important;
    padding: 80px 15px !important;
}
 
.banner-img-sect {
    width: 100% !important;
    min-height: 200px !important;
}
    .banner-inner .relative>  .group{
        flex-wrap: wrap !important;
        height: auto !important;
    }
}

#searchPopup {
    background-image: url(https://habitatprd.wpenginepowered.com/wp-content/themes/habitat/dist/img/bg-body-test-01.png) !important;
    background-position: 0 0;
    background-repeat: repeat;
    background-size: 300px;
}

#search-input::placeholder {color: #213F3D;opacity: 1;}

.search-banner .banner-inner-content h6 {
	color: #ffffff !important;
}

.banner-news-list .featured-news-slide.group {
    display: flex !important;
    min-height: 600px !important;
    align-items: unset;
}
 
.banner-news-list .featured-news-slide .slick-list.draggable {
    height: 100% !important;
}
 
.banner-news-list .h-full.flex.flex.banner-content-sect {
    height: auto;
}
 
.banner-news-list .w-full.relative.h-full.overflow-hidden.banner-img-sect {
    height: auto;
}
 
.banner-news-list .featured-news-slider   .banner-img-sect img{
   object-fit: cover !important;
}
 
.banner-news-list> .relative> .left-20 {
    left: 15% !important;
}
@media(max-width: 1599px) {
    .banner-news-list> .relative> .left-20 {
        left: 50px !important;
    }
}
@media(max-width: 1299px) {
    .banner-news-list> .relative> .left-20 {
        left: 20px !important;
    }
    .banner-right h2{
        font-size: 36px !important;
        line-height: 1.2 !important;
    }
    .banner-news-list .featured-news-slide.group {
        min-height: 500px !important;
    }
    .banner-news-list> .relative> .left-20 {
        padding: 20px 0 !important;
    }
}
@media(max-width: 991px) {
 
   .banner-news-list .featured-news-slide.group {
        display: flex !important;
        min-height: 450px !important;
        align-items: unset;
    }
   .banner-news-list  .banner-right h2{
        font-size: 32px !important;
        line-height: 1.2 !;
    }
    .banner-news-list> .relative> .left-20 {
        padding: 0px !important;
    }
}
@media(max-width: 767px) {
   .banner-news-list  .banner-right h2{
        font-size: 28px !important;
        line-height: 1.2 !important;
    }
    .featured-news-slide.group {
        flex-wrap: wrap;
    }
}
 
.news .filter-checkbox> label.filter-pill {
    padding-left: 30px;
}
 
.news .filter-checkbox> label.filter-pill::before {
    top: 0px !important;
    position: absolute;
    left: 0;
}