
/* ==========================================
   PRIME SOLAR - PROJECT GALLERY
========================================== */

.prime-project-gallery {
    background: #f8fbfd;
}

/* Heading */

.prime-project-gallery .project-gallery-heading {
    max-width: 700px;
    margin: 0 auto 30px;
}

.prime-project-gallery .prime-section-title {
    margin-bottom: 10px;
}

.prime-project-gallery .prime-section-title span {
    color: var(--prime-green);
}

.prime-project-gallery .project-gallery-heading .prime-text {
    margin-bottom: 0;
}

/* Desktop Filters */

.prime-project-gallery .project-filter-desktop {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

.prime-project-gallery .filter-btn {
    padding: 10px 22px;
    border: 1px solid #dce6ed;
    border-radius: 50px;
    background: #ffffff;
    color: var(--prime-dark);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s ease;
}

.prime-project-gallery .filter-btn:hover {
    border-color: var(--prime-green);
    color: var(--prime-green);
}

.prime-project-gallery .filter-btn.active {
    background: var(--prime-green);
    color: #ffffff;
    border-color: var(--prime-green);
    box-shadow: 0 4px 12px rgba(107,190,69,.2);
}

/* Mobile Filter */

.prime-project-gallery .project-filter-mobile {
    display: none;
    margin-bottom: 25px;
}

.prime-project-gallery .mobile-filter-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 14px 17px;
    background: #ffffff;
    border: 1px solid #dce6ed;
    border-radius: 10px;
    color: var(--prime-dark);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.prime-project-gallery .mobile-filter-trigger > span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.prime-project-gallery .mobile-filter-trigger > span:first-child i {
    color: var(--prime-green);
}

.prime-project-gallery .mobile-selected-filter {
    color: var(--prime-blue);
    font-size: 12px;
    font-weight: 600;
}

/* Project Card */

.prime-project-gallery .project-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 8px;
    background: #ffffff;
    border: 1px solid #e9eff3;
    border-radius: 14px;
    box-shadow: 0 5px 22px rgba(0,0,0,.04);
    transition: all .3s ease;
}

.prime-project-gallery .project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(8,127,184,.1);
    border-color: var(--prime-green);
}

/* Image */

.prime-project-gallery .project-image {
    height: 205px;
    background: #e3ebf0;
    border-radius: 9px;
    overflow: hidden;
}

.prime-project-gallery .project-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.prime-project-gallery .project-card:hover .project-image img {
    transform: scale(1.05);
}

/* Content */

.prime-project-gallery .project-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    padding: 16px 10px 12px;
}

.prime-project-gallery .project-text {
    flex: 1;
    min-width: 0;
}

.prime-project-gallery .project-text .prime-heading {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.4;
    color: var(--prime-dark);
    margin-bottom: 7px;
}

.prime-project-gallery .project-text .prime-text {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Arrow */

.prime-project-gallery .project-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    background: #e7f6e1;
    color: #4aaa28;
    font-size: 14px;
    text-decoration: none;
    transition: all .3s ease;
}

.prime-project-gallery .project-arrow:hover {
    background: var(--prime-green);
    color: #ffffff;
    transform: rotate(-35deg);
}

/* Empty Results */

.prime-project-gallery .project-no-results {
    padding: 50px 20px;
}

.prime-project-gallery .project-no-results[hidden] {
    display: none !important;
}

.prime-project-gallery .project-no-results > i {
    font-size: 42px;
    color: var(--prime-green);
    margin-bottom: 15px;
}

.prime-project-gallery .project-no-results .prime-heading {
    font-size: 21px;
    margin-bottom: 8px;
}

/* ==========================================
   MOBILE FILTER MODAL
========================================== */

.prime-project-filter-modal .modal-content {
    border: 0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,.16);
}

.prime-project-filter-modal .modal-header {
    padding: 20px 22px;
    border-bottom: 1px solid #e8eef2;
}

.prime-project-filter-modal .modal-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--prime-dark);
}

.prime-project-filter-modal .modal-title i {
    color: var(--prime-green);
    margin-right: 8px;
}

.prime-project-filter-modal .modal-body {
    padding: 12px;
}

.prime-project-filter-modal .mobile-filter-options {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.prime-project-filter-modal .mobile-filter-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 16px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: #ffffff;
    color: var(--prime-dark);
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
}

.prime-project-filter-modal .mobile-filter-option:hover {
    background: #f1f9ed;
}

.prime-project-filter-modal .mobile-filter-option.active {
    background: #eaf8e4;
    border-color: #cbe9bd;
    color: #3d9824;
}

.prime-project-filter-modal .mobile-filter-option i {
    display: none;
    color: var(--prime-green);
}

.prime-project-filter-modal .mobile-filter-option.active i {
    display: inline-block;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 991.98px) {
    .prime-project-gallery .project-image {
        height: 220px;
    }
}

@media (max-width: 767.98px) {
    .prime-project-gallery .project-filter-desktop {
        display: none;
    }

    .prime-project-gallery .project-filter-mobile {
        display: block;
    }

    .prime-project-gallery .project-gallery-heading {
        margin-bottom: 25px;
    }

    .prime-project-gallery .project-image {
        height: 220px;
    }
}

@media (max-width: 575.98px) {
    .prime-project-gallery .project-card {
        padding: 7px;
    }

    .prime-project-gallery .project-image {
        height: 215px;
    }

    .prime-project-gallery .project-content {
        padding: 15px 9px 11px;
    }

    .prime-project-gallery .project-text .prime-heading {
        font-size: 17px;
    }

    .prime-project-gallery .project-text .prime-text {
        font-size: 13px;
    }
}




/* ==========================================
   PRIME SOLAR - PROJECT STATISTICS
========================================== */

.prime-project-stats {
    background: #ffffff;
}

/* Banner Wrapper */

.prime-project-stats .project-stats-wrapper {
    position: relative;
    padding: 40px 25px;
    background-image: url('../assets/banner/project-ban.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 22px;
    overflow: hidden;
}

/* Stat Item */

.prime-project-stats .stat-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 10px 20px;
    text-align: center;
}

/* Vertical Separators */

.prime-project-stats .row > div:not(:last-child) .stat-item::after {
    content: "";
    position: absolute;
    top: 20%;
    right: 0;
    width: 1px;
    height: 60%;
    background: rgba(23, 42, 58, 0.14);
}

/* Icon */

.prime-project-stats .stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    margin-bottom: 13px;
    border-radius: 50%;
    background: #e2f5dd;
    color: var(--prime-green);
    font-size: 27px;
}

/* Number */

.prime-project-stats .stat-number {
    margin-bottom: 5px;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(25px, 2.5vw, 35px);
    font-weight: 800;
    line-height: 1.2;
    color: var(--prime-dark);
}

.prime-project-stats .stat-number sub {
    font-size: 55%;
    vertical-align: baseline;
    position: relative;
    bottom: -0.2em;
}

/* Description */

.prime-project-stats .stat-item .prime-text {
    max-width: 170px;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--prime-text-color);
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 991.98px) {
    .prime-project-stats .project-stats-wrapper {
        padding: 30px 15px;
    }

    .prime-project-stats .row > div:nth-child(2) .stat-item::after {
        display: none;
    }

    .prime-project-stats .stat-item {
        padding: 22px 10px;
    }

    .prime-project-stats .row > div:nth-child(-n+2) .stat-item {
        border-bottom: 1px solid rgba(23,42,58,.12);
    }
}

@media (max-width: 575.98px) {
    .prime-project-stats .project-stats-wrapper {
        padding: 18px 10px;
        border-radius: 15px;
    }

    .prime-project-stats .stat-icon {
        width: 52px;
        height: 52px;
        font-size: 22px;
        margin-bottom: 10px;
    }

    .prime-project-stats .stat-number {
        font-size: 25px;
    }

    .prime-project-stats .stat-item .prime-text {
        font-size: 12px;
    }
}

