.p-badge,
.p-stat-box span {
    letter-spacing: 1px;
    text-transform: uppercase
}

#p-faq,
#p-gallery {
    background: var(--p-bg)
}

.p-faq-box summary,
.p-hero-content h1,
.p-impact-card h3,
.p-info h3,
.p-section-header h2,
.p-stat-box h3 {
    font-family: Montserrat, sans-serif
}

#p-cta,
#p-hero,
#p-impact,
#p-process,
.p-section-header,
.p-view-more-card {
    text-align: center
}

#p-case-study,
#p-cta,
#p-faq,
#p-gallery,
#p-hero,
#p-impact,
#p-process,
#p-reviews {
    padding: 80px 5%
}

.p-view-more-card,
.r-view-more-card {
    cursor: pointer;
    min-height: 100%;
    transition: .3s
}

.p-case-btn,
.p-cta-btn,
.p-faq-box,
.p-filter-btn,
.p-impact-card,
.p-overlay,
.p-view-btn,
.r-view-more-card {
    transition: .3s
}

body {
    padding-top: 80px;
    color: #333;
    line-height: 1.6;
    background: var(--soft-grad-white);
    overflow-x: hidden
}

:root {
    --p-blue: #000080;
    --p-yellow: #f1c40f;
    --p-dark: #0f172a;
    --p-text: #475569;
    --p-bg: #f8fafc
}

.p-section-header {
    max-width: 800px;
    margin: 0 auto 50px
}

.p-section-header h2 {
    font-size: 2.8rem;
    color: var(--p-dark);
    margin-bottom: 15px
}

.p-section-header p {
    font-size: 1.1rem;
    color: var(--p-text)
}

@keyframes p-textGlow {

    0%,
    100% {
        text-shadow: 0 0 5px rgba(241, 196, 15, .2)
    }

    50% {
        text-shadow: 0 0 20px rgba(241, 196, 15, .9), 0 0 10px rgba(255, 255, 255, .4)
    }
}

@keyframes p-boxFloat {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-12px)
    }
}

@keyframes p-badgePulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(241, 196, 15, 0)
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 15px rgba(241, 196, 15, .5)
    }
}

#p-hero {
    background: linear-gradient(rgba(0, 0, 128, .4), rgba(0, 0, 128, .6)), url('../images/solar-project.webp') center/cover no-repeat;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff
}

.p-hero-content {
    max-width: 900px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .5)
}

.p-hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 4px 15px rgba(0, 0, 0, .6)
}

.p-highlight {
    color: var(--p-yellow);
    display: inline-block;
    animation: 3s ease-in-out infinite p-textGlow
}

.p-hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 1;
    color: #fff;
    font-weight: 600
}

.p-badge {
    background: var(--p-yellow);
    color: var(--p-dark);
    padding: 6px 15px;
    border-radius: 4px;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 20px;
    animation: 2.5s infinite p-badgePulse
}

.p-stats-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    border-top: 1px solid rgba(255, 255, 255, .3);
    padding-top: 30px
}

.p-stat-box h3 {
    font-size: 2.8rem;
    color: var(--p-yellow);
    margin-bottom: 5px;
    text-shadow: 0 3px 10px rgba(0, 0, 0, .4)
}

.p-stat-box span {
    font-weight: 700;
    font-size: .9rem;
    color: #fff
}

.p-stat-box:first-child {
    animation: 4s ease-in-out infinite p-boxFloat
}

.p-stat-box:nth-child(2) {
    animation: 4s ease-in-out 1.3s infinite p-boxFloat
}

.p-stat-box:nth-child(3) {
    animation: 4s ease-in-out 2.6s infinite p-boxFloat
}

.p-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px
}

.p-filter-btn {
    padding: 10px 25px;
    border: 2px solid var(--p-blue);
    background: 0 0;
    color: var(--p-blue);
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer
}

.p-filter-btn.active,
.p-filter-btn:hover {
    background: var(--p-blue);
    color: #fff
}

.p-grid {
    display: grid;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1300px;
    margin: 40px auto 0
}

.p-case-list li,
.p-tags {
    display: flex;
    gap: 10px
}

.p-info {
    padding: 15px !important
}

.p-info h3 {
    font-size: 1.15rem !important;
    margin-bottom: 5px !important;
    color: var(--p-dark)
}

.p-savings {
    font-size: 1rem !important;
    padding: 8px !important;
    margin-top: 10px !important
}

.p-view-more-card {
    background: rgba(241, 196, 15, .08);
    border: 2px dashed var(--p-yellow);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--p-dark);
    padding: 20px
}

.p-view-more-card:hover {
    background: var(--p-yellow);
    color: #fff;
    transform: translateY(-8px);
    border-style: solid;
    box-shadow: 0 15px 30px rgba(241, 196, 15, .3)
}

.p-view-more-card i {
    font-size: 2.5rem;
    margin-bottom: 10px
}

.p-view-more-card span,
.r-view-more-card span {
    font-weight: 800;
    font-size: 1.1rem
}

.center-btn-card {
    grid-column: 1/-1;
    margin: 0 auto;
    width: 100%;
    max-width: 300px
}

.p-info p,
.p-tags {
    margin-bottom: 15px
}

.p-img-wrap {
    position: relative;
    overflow: hidden;
    height: 200px !important
}

.p-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s
}

.p-card:hover .p-img-wrap img {
    transform: scale(1.1)
}

.p-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 128, .7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0
}

.p-card:hover .p-overlay {
    opacity: 1
}

.p-view-btn {
    background: var(--p-yellow);
    color: var(--p-dark);
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 800;
    transform: translateY(20px)
}

.p-tag-cap,
.p-tag-system {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: .8rem;
    font-weight: 800
}

.p-card:hover .p-view-btn {
    transform: translateY(0)
}

@media (max-width:1200px) {
    .p-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .center-btn-card {
        grid-column: auto
    }
}

@media (max-width:992px) {
    .p-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width:768px) {
    .p-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width:480px) {
    .p-grid {
        grid-template-columns: 1fr
    }
}

.p-grid.expanded {
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 15px !important
}

.p-grid.expanded .p-card {
    border-radius: 10px
}

.p-grid.expanded .p-img-wrap {
    height: 180px
}

.p-grid.expanded .p-info {
    padding: 15px
}

.p-grid.expanded .p-info h3 {
    font-size: 1.1rem
}

@media (max-width:1024px) {
    .p-grid.expanded {
        grid-template-columns: repeat(3, 1fr) !important
    }

    .p-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .p-stats-row {
        gap: 20px;
        flex-wrap: wrap
    }
}

@media (max-width:600px) {
    .p-grid.expanded {
        grid-template-columns: repeat(2, 1fr) !important
    }
}

.p-tag-system {
    background: #e0f2fe;
    color: #0284c7
}

.p-tag-cap {
    background: #fef3c7;
    color: #d97706
}

#p-process,
.p-faq-box,
.p-icon {
    background: #fff
}

.p-info p {
    color: var(--p-text);
    font-size: .95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.p-info i {
    color: #ef4444
}

.p-savings {
    font-weight: 800;
    color: #16a34a;
    border-top: 1px solid #f1f5f9;
    padding-top: 15px
}

.p-timeline {
    display: flex;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
    gap: 20px;
    position: relative
}

.p-time-step {
    flex: 1;
    position: relative;
    z-index: 2
}

.p-icon {
    width: 80px;
    height: 80px;
    border: 3px solid var(--p-yellow);
    color: var(--p-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .05)
}

.p-time-step h4 {
    font-size: 1.2rem;
    color: var(--p-dark);
    margin-bottom: 10px
}

.p-time-step p {
    color: var(--p-text);
    font-size: .95rem
}

.p-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: #e2e8f0;
    z-index: 1
}

.p-faq-container {
    max-width: 800px;
    margin: 0 auto
}

.p-faq-box {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, .02)
}

.p-faq-box summary {
    padding: 20px;
    font-weight: 700;
    cursor: pointer;
    color: var(--p-dark);
    font-size: 1.1rem;
    border-radius: 12px;
    outline: 0
}

.p-cta-btn,
.p-review-card h4 {
    font-weight: 800;
    color: var(--p-dark)
}

.p-faq-box[open] summary {
    background: var(--p-blue);
    color: #fff;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0
}

.p-faq-box p {
    padding: 20px;
    color: var(--p-text);
    line-height: 1.6;
    font-size: 1.05rem;
    margin: 0
}

.p-faq-box:hover {
    border-color: var(--p-blue);
    box-shadow: 0 10px 20px rgba(0, 0, 128, .05)
}

@media (max-width:768px) {
    .p-grid {
        grid-template-columns: 1fr;
        max-width: 500px
    }

    .p-hero-content h1 {
        font-size: 2.5rem
    }

    .p-timeline {
        flex-direction: column;
        gap: 40px
    }

    .p-timeline::before {
        display: none
    }

    .p-filters {
        flex-wrap: wrap
    }
}

#p-impact {
    background: linear-gradient(135deg, #064e3b 0, #022c22 100%)
}

.p-impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto
}

.p-impact-card {
    background: rgba(255, 255, 255, .05);
    padding: 40px 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, .1)
}

.p-impact-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, .1);
    border-color: var(--p-yellow)
}

.p-impact-card i {
    font-size: 3rem;
    color: #10b981;
    margin-bottom: 15px
}

.p-impact-card h3 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 5px
}

.p-impact-card p {
    color: #cbd5e1;
    font-size: 1.1rem
}

#p-cta h2,
.p-case-text h2 {
    font-size: 3rem;
    font-family: Montserrat, sans-serif
}

#p-case-study {
    background: #f0fdf4
}

.p-grid-lock {
    display: grid;
    grid-template-columns: 50% 45%;
    justify-content: space-between;
    align-items: center;
    max-width: 1250px;
    margin: 0 auto;
    gap: 5%
}

.p-case-text h2 {
    color: var(--p-dark);
    line-height: 1.2;
    margin-bottom: 20px
}

.p-case-text p {
    font-size: 1.1rem;
    color: var(--p-text);
    margin-bottom: 25px
}

.p-case-list {
    list-style: none;
    margin-bottom: 30px
}

.p-case-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--p-dark);
    align-items: center
}

.p-case-list i {
    color: #0284c7;
    font-size: 1.2rem
}

.p-case-btn {
    background: var(--p-dark);
    color: #fff;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 800;
    display: inline-block
}

#p-cta h2,
.p-stars {
    color: var(--p-yellow)
}

.p-case-btn:hover {
    background: var(--p-yellow);
    color: var(--p-dark)
}

#p-reviews {
    background: #fff
}

.p-review-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto
}

.p-review-card {
    background: var(--p-bg);
    padding: 40px;
    border-radius: 20px;
    border-top: 5px solid var(--p-yellow);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .03)
}

.p-stars {
    margin-bottom: 15px;
    font-size: 1.2rem
}

.p-review-card p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--p-text);
    line-height: 1.6;
    margin-bottom: 20px
}

#p-cta {
    background: var(--p-blue);
    color: #fff
}

#p-cta h2 {
    margin-bottom: 20px
}

#p-cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: .9
}

.p-cta-btn {
    background: var(--p-yellow);
    padding: 18px 45px;
    border-radius: 50px;
    display: inline-block;
    font-size: 1.1rem
}

.p-cta-btn:hover {
    background: #fff;
    transform: translateY(-3px)
}

@media (max-width:850px) {

    #p-hero,
    .p-grid-lock {
        text-align: center !important
    }

    .p-impact-grid,
    .p-review-grid {
        grid-template-columns: 1fr !important
    }

    body {
        padding-top: 0 !important;
        margin-top: 0 !important
    }

    #p-hero {
        padding: 160px 15px 40px !important;
        min-height: auto !important
    }

    .p-impact-grid {
        gap: 20px !important;
        padding: 0 10px
    }

    .p-impact-card {
        padding: 30px 15px !important
    }

    #p-cta h2,
    .p-impact-card h3 {
        font-size: 2rem !important
    }

    .p-grid-lock {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important
    }

    .p-case-text {
        order: 1;
        width: 100% !important
    }

    .p-case-img {
        order: 2;
        width: 100% !important;
        margin-top: 20px
    }

    .p-case-list li {
        justify-content: center;
        font-size: 1rem
    }

    .p-case-text h2 {
        font-size: 2.2rem !important;
        line-height: 1.2
    }

    .p-review-grid {
        gap: 25px
    }

    .p-review-card {
        padding: 25px !important
    }

    .p-hero-content h1 {
        font-size: 1.9rem !important;
        margin-bottom: 15px
    }

    .p-cta-btn {
        width: 100%;
        max-width: 280px;
        padding: 15px
    }

    .p-filters {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 10px !important;
        margin-bottom: 30px
    }

    .p-timeline {
        flex-direction: column !important;
        gap: 30px
    }

    .p-timeline::before {
        display: none
    }
}

@media (max-width:480px) {
    .p-hero-content h1 {
        font-size: 1.7rem !important
    }
}

.r-view-more-card {
    background: rgba(241, 196, 15, .08);
    border: 2px dashed var(--p-yellow);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--p-dark);
    text-align: center;
    padding: 40px
}

.r-view-more-card:hover {
    background: var(--p-yellow);
    color: #fff;
    border-style: solid;
    box-shadow: 0 10px 20px rgba(241, 196, 15, .3);
    transform: translateY(-5px)
}

.r-view-more-card i {
    font-size: 2.5rem;
    margin-bottom: 15px
}

.r-center-btn {
    grid-column: 1/-1;
    margin: 0 auto;
    width: 100%;
    max-width: 400px
}