/********** Template CSS **********/
:root {
    --primary: #16A34A;
    --secondary: #F9B115;
    --sky: #11A7D9;
    --light: #F7FBF8;
    --dark: #123026;
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-black {
    font-weight: 900 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: #FFFFFF;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 10px 22px rgba(22, 163, 74, .22);
}

.btn-primary:hover {
    background-color: #11823d;
    border-color: #11823d;
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Navbar ***/
.navbar.sticky-top {
    top: 0;
    transition: .5s;
}

.navbar .navbar-brand,
.navbar a.btn {
    height: 75px;
}

.solar-topbar {
    padding: 11px 0;
    background: linear-gradient(90deg, #123026, #176C4B);
    color: #EAF8F0;
    font-size: 15px;
    font-weight: 600;
}

.solar-topbar i {
    color: var(--secondary);
}

.topbar-link {
    display: inline-flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
    margin-right: 12px;
    font-weight: 700;
}

.topbar-link:hover {
    color: #FFF4D3;
}

.topbar-social {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.topbar-social:hover {
    background: var(--secondary);
    color: var(--dark);
    transform: translateY(-2px);
}

.solar-navbar {
    min-height: 82px;
}

.logo-brand {
    min-width: 220px;
}

.logo-brand img {
    width: 245px;
    max-width: 100%;
    max-height: 64px;
    height: auto;
    object-fit: contain;
    display: block;
}

.nav-quote {
    height: 54px !important;
    margin-right: 24px;
    border-radius: 999px !important;
    font-size: 16px;
    font-weight: 800;
    box-shadow: 0 10px 26px rgba(22, 163, 74, .22);
}

.nav-quote:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(18, 48, 38, .22);
}

.navbar .navbar-nav .nav-link {
    margin: 0 5px;
    padding: 11px 13px;
    border-radius: 8px;
    color: var(--dark);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    outline: none;
    position: relative;
    transition: color .25s ease, background .25s ease, transform .25s ease, box-shadow .25s ease;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
    background: #F1FBF5;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(18, 48, 38, .08);
}

.navbar .navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 5px;
    width: 0;
    height: 3px;
    margin: auto;
    border-radius: 3px;
    background: var(--secondary);
    transition: width .3s ease;
}

.navbar .navbar-nav .nav-link:hover::after,
.navbar .navbar-nav .nav-link.active::after {
    width: 100%;
}

.navbar {
    box-shadow: 0 6px 18px rgba(18, 48, 38, .06);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.solar-hero {
    position: relative;
    overflow: hidden;
    padding: 70px 0 54px;
    background: linear-gradient(135deg, #F7FBF8 0%, #EAF8FC 54%, #FFF4D3 100%);
}

.solar-hero .container,
.solar-hero .row,
.solar-hero [class*="col-"] {
    min-width: 0;
}

.solar-hero h1 {
    max-width: 680px;
    margin: 18px 0 18px;
    color: var(--dark);
    font-size: clamp(2.4rem, 6vw, 4.8rem);
    line-height: 1.04;
    letter-spacing: 0;
}

.hero-copy {
    max-width: 560px;
    color: #335047;
    font-size: 1.18rem;
    line-height: 1.7;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    border-radius: 999px;
    background: #FFF4D3;
    color: #8A5B00;
    font-weight: 700;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 30px 0 24px;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-points span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .88);
    color: var(--dark);
    box-shadow: 0 8px 20px rgba(18, 48, 38, .08);
}

.hero-points i {
    color: var(--primary);
}

.solar-hero-slider {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: clamp(360px, 34vw, 470px);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 24px 58px rgba(18, 48, 38, .18);
}

.hero-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    transform: scale(1.025);
    transition: opacity .65s ease, transform .65s ease;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.hero-slide figcaption {
    position: absolute;
    left: 18px;
    bottom: 18px;
    padding: 11px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: var(--dark);
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(18, 48, 38, .12);
}

.hero-slider-dots {
    position: absolute;
    right: 18px;
    bottom: 22px;
    z-index: 3;
    display: flex;
    gap: 8px;
}

.hero-slider-dots button {
    width: 11px;
    height: 11px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .74);
    box-shadow: 0 0 0 2px rgba(18, 48, 38, .12);
    transition: transform .25s ease, background .25s ease;
}

.hero-slider-dots button.active,
.hero-slider-dots button:hover {
    background: var(--secondary);
    transform: scale(1.25);
}

.solar-strip {
    margin-top: -28px;
    position: relative;
    z-index: 2;
}

.mini-stat {
    min-height: 94px;
    padding: 18px;
    border-radius: 8px;
    background: #fff;
    border-bottom: 4px solid var(--secondary);
    box-shadow: 0 12px 30px rgba(18, 48, 38, .1);
}

.mini-stat strong {
    display: block;
    color: var(--sky);
    font-size: 1.65rem;
    line-height: 1;
}

.mini-stat span {
    color: var(--dark);
    font-weight: 700;
}

.structure-zone {
    padding: 72px 0;
    background: #EAF8FC;
}

.structure-zone h2 {
    color: var(--dark);
    font-size: clamp(1.8rem, 3vw, 3rem);
    line-height: 1.15;
}

.structure-zone p {
    color: #48635A;
}

.structure-card {
    height: 100%;
    min-height: 210px;
    padding: 24px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #D8F1E2;
    box-shadow: 0 10px 26px rgba(18, 48, 38, .08);
}

.structure-card i {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 50%;
    background: #FFF4D3;
    color: #D88600;
    font-size: 1.35rem;
}

.structure-card h5 {
    color: var(--dark);
}

.structure-card p {
    margin-bottom: 0;
}

.bg-light {
    background-color: #F7FBF8 !important;
}

.text-primary {
    color: var(--primary) !important;
}

.service-item {
    background: #fff;
    border: 1px solid #E3F3EA;
    box-shadow: 0 10px 26px rgba(18, 48, 38, .07);
}

.service-item:hover {
    transform: translateY(-4px);
}

.portfolio-item h5,
.service-item h4 {
    color: var(--dark);
}

.about-text h1,
.quote-text h1 {
    color: var(--dark);
}

.footer {
    background: #123026 !important;
}

.solar-footer {
    color: rgba(255, 255, 255, .78) !important;
}

.solar-footer .container.py-4 {
    padding-top: 34px !important;
    padding-bottom: 28px !important;
}

.footer-cta {
    margin-top: 48px;
    padding: 34px 0;
    background: linear-gradient(90deg, var(--primary), var(--sky));
    color: #fff;
}

.footer-cta h3 {
    margin-bottom: 8px;
    color: #fff;
}

.footer-cta p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, .9);
}

.footer-logo {
    width: 260px;
    max-width: 100%;
    max-height: 90px;
    object-fit: contain;
    padding: 8px 10px;
    border-radius: 8px;
    background: #fff;
}

.footer-help-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 0;
    color: rgba(255, 255, 255, .84);
    font-weight: 600;
}

.footer-help-item i {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    color: #123026;
    background: #f9b115;
    border-radius: 50%;
}

.solar-subsidy-section {
    padding: 72px 0;
    background: linear-gradient(135deg, #fff7df 0%, #eefaff 55%, #f4fff7 100%);
}

.solar-subsidy-section .section-title {
    max-width: 760px;
    margin-bottom: 34px;
}

.solar-subsidy-section .section-title h2 {
    color: var(--dark);
    font-weight: 900;
}

.solar-subsidy-section .section-title p {
    color: #536b63;
    font-size: 17px;
}

.subsidy-image-card {
    max-width: 1560px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 22px 60px rgba(18, 48, 38, .14);
}

.subsidy-image-card img {
    display: block;
    width: 100%;
    height: auto;
}

.subsidy-poster {
    max-width: 980px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    border: 1px solid rgba(18, 48, 38, .1);
    box-shadow: 0 22px 60px rgba(18, 48, 38, .12);
}

.subsidy-poster-head {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 24px 28px;
    background: linear-gradient(90deg, #ffffff 0%, #eefaf5 62%, #fff7df 100%);
    border-bottom: 4px solid #f9b115;
}

.subsidy-poster-head img {
    width: 150px;
    max-height: 74px;
    object-fit: contain;
    flex: 0 0 auto;
}

.subsidy-poster-head span {
    display: inline-flex;
    margin-bottom: 6px;
    color: #1686cf;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.subsidy-poster-head h2 {
    margin: 0;
    color: #1686cf;
    font-size: 30px;
    font-weight: 900;
}

.subsidy-poster-body {
    padding: 28px;
}

.subsidy-rate-panel {
    text-align: center;
    padding: 22px;
    margin-bottom: 24px;
    background: #f8fcff;
    border: 1px solid #cfe8f8;
    border-radius: 8px;
}

.subsidy-rate-panel h3,
.subsidy-table-wrap h3 {
    color: #123026;
    font-size: 18px;
    font-weight: 900;
    text-decoration: underline;
}

.subsidy-rate-panel strong {
    display: block;
    color: #1A2A36;
    font-size: 18px;
    line-height: 1.45;
}

.subsidy-rate-panel p {
    margin: 8px 0 0;
    color: #123026;
    font-weight: 700;
}

.subsidy-table-wrap {
    text-align: center;
}

.subsidy-info-table {
    width: 100%;
    margin-top: 14px;
    border-collapse: collapse;
    color: #123026;
    background: #fff;
}

.subsidy-info-table th,
.subsidy-info-table td {
    border: 1px solid #9aa8a2;
    padding: 13px 12px;
    text-align: center;
    vertical-align: middle;
}

.subsidy-info-table th {
    background: #edf8f1;
    font-weight: 900;
}

.subsidy-info-table td {
    font-weight: 700;
}

.subsidy-poster-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 0 28px 28px;
}

.subsidy-card {
    height: 100%;
    overflow: hidden;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(18, 48, 38, .11);
    border: 1px solid rgba(22, 163, 74, .12);
}

.subsidy-gallery-section {
    padding: 70px 0;
    background: #fff;
}

.subsidy-gallery-card {
    display: block;
    color: #123026;
    text-decoration: none;
}

.subsidy-gallery-card:hover {
    color: #123026;
    text-decoration: none;
}

.subsidy-gallery-card .subsidy-photo {
    aspect-ratio: 16 / 8.5;
}

.subsidy-gallery-card .subsidy-copy {
    padding: 18px 22px 20px;
}

.subsidy-gallery-card .subsidy-copy h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 900;
}

.subsidy-photo {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #eaf7f2;
}

.subsidy-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.subsidy-card:hover .subsidy-photo img {
    transform: scale(1.04);
}

.subsidy-copy {
    padding: 24px;
}

.subsidy-copy span {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: #fff1c7;
    color: #876000;
    font-weight: 800;
    font-size: 14px;
}

.subsidy-copy h3 {
    color: var(--dark);
    font-size: 24px;
    font-weight: 900;
}

.subsidy-copy p {
    color: #587066;
    font-size: 16px;
    line-height: 1.7;
}

@media (max-width: 767.98px) {
    .subsidy-poster-head {
        align-items: flex-start;
        flex-direction: column;
        padding: 20px;
    }

    .subsidy-poster-head img {
        width: 132px;
    }

    .subsidy-poster-head h2 {
        font-size: 24px;
    }

    .subsidy-poster-body {
        padding: 20px;
    }

    .subsidy-rate-panel {
        padding: 18px 14px;
    }

    .subsidy-rate-panel strong {
        font-size: 16px;
    }

    .subsidy-info-table th,
    .subsidy-info-table td {
        padding: 10px 7px;
        font-size: 13px;
    }

    .subsidy-poster-actions {
        padding: 0 20px 20px;
    }
}

.owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .1);
}

@media (max-width: 991.98px) {
    .solar-hero {
        padding: 56px 0 40px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .solar-hero-slider {
        height: 360px;
    }

    .logo-brand {
        min-width: 0;
    }

    .logo-brand img {
        width: 160px;
    }

    .solar-navbar {
        min-height: 74px;
    }

    .navbar .navbar-nav .nav-link {
        margin: 4px 0;
        padding: 12px 14px;
    }
}

@media (max-width: 575.98px) {
    .solar-hero h1 {
        font-size: 2.25rem;
    }

    .hero-badge {
        font-size: .88rem;
    }

    .hero-points span {
        width: 100%;
    }

    .solar-hero-slider {
        height: 270px;
    }

    .hero-slide figcaption {
        left: 12px;
        bottom: 12px;
        max-width: calc(100% - 24px);
        font-size: 12px;
    }

    .hero-slider-dots {
        right: 12px;
        bottom: 16px;
    }

    .solar-topbar {
        text-align: center;
    }

    .topbar-link {
        margin-right: 4px;
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
    }
}

.header-carousel .owl-dots {
    position: absolute;
    width: 60px;
    height: 100%;
    top: 0;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dots .owl-dot {
    position: relative;
    width: 45px;
    height: 45px;
    margin: 5px 0;
    background: #FFFFFF;
    box-shadow: 0 0 30px rgba(255, 255, 255, .9);
    border-radius: 45px;
    transition: .5s;
}

.header-carousel .owl-dots .owl-dot.active {
    width: 60px;
    height: 60px;
}

.header-carousel .owl-dots .owl-dot img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 2px;
    border-radius: 45px;
    transition: .5s;
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** About ***/
@media (min-width: 992px) {
    .container.about {
        max-width: 100% !important;
    }

    .about-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .about-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .about-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.service-icon {
    position: relative;
    margin: -50px 0 25px 0;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 100px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
}

.service-item:hover .service-icon {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Feature ***/
@media (min-width: 992px) {
    .container.feature {
        max-width: 100% !important;
    }

    .feature-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .feature-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .feature-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Project Portfolio ***/
#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--primary);
    border-color: var(--primary);
}

.portfolio-img {
    position: relative;
}

.portfolio-img::before,
.portfolio-img::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    background: var(--dark);
    transition: .5s;
}

.portfolio-img::before {
    left: 50%;
}

.portfolio-img::after {
    right: 50%;
}

.portfolio-item:hover .portfolio-img::before {
    width: 51%;
    left: 0;
}

.portfolio-item:hover .portfolio-img::after {
    width: 51%;
    right: 0;
}

.portfolio-btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    z-index: 1;
    transition: .5s;
}

.portfolio-item:hover .portfolio-btn {
    opacity: 1;
    transition-delay: .3s;
}


/*** Quote ***/
@media (min-width: 992px) {
    .container.quote {
        max-width: 100% !important;
    }

    .quote-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .quote-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .quote-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Team ***/
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.team-item img {
    border-radius: 8px 60px 0 0;
}

.team-item .team-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    background: #FFFFFF;
    transition: .5s;
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: var(--primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.testimonial-carousel .testimonial-img img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .testimonial-img .btn-square {
    position: absolute;
    bottom: -19px;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-carousel .owl-item .testimonial-text {
    margin-bottom: 30px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transform: scale(.8);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    transform: scale(1);
}


/*** Contact ***/
@media (min-width: 992px) {
    .container.contact {
        max-width: 100% !important;
    }

    .contact-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .contact-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .contact-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    color: #9B9B9B;
    border: 1px solid #9B9B9B;
    border-radius: 38px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
    border-color: var(--light);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #9B9B9B;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: #FFFFFF;
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}

/*** Friendly Solar Refresh Overrides ***/
.service-item {
    background: #fff !important;
    border: 1px solid #E3F3EA;
    box-shadow: 0 12px 32px rgba(18, 48, 38, .08);
    transition: transform .3s ease, box-shadow .3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(18, 48, 38, .13);
}

.service-icon {
    color: var(--secondary);
}

.portfolio-img::before,
.portfolio-img::after {
    background: rgba(22, 163, 74, .82);
}

.quote-form {
    background: #FFF4D3;
}

.quote-form .form-control,
.quote-form .form-select {
    border-radius: 8px;
}

.footer .btn.btn-link:hover {
    color: var(--secondary);
}

/*** Better User Friendly Sections ***/
.about-friendly {
    padding: 30px;
    border-radius: 8px;
    background: linear-gradient(135deg, #F7FBF8, #FFFFFF);
    box-shadow: 0 14px 42px rgba(18, 48, 38, .08);
}

.about-photo {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #EAF8FC;
    box-shadow: 0 16px 36px rgba(18, 48, 38, .14);
}

.about-photo img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform .45s ease;
}

.about-photo:hover img {
    transform: scale(1.04);
}

.about-float {
    position: absolute;
    left: 22px;
    bottom: 22px;
    padding: 12px 18px;
    border-radius: 999px;
    background: #fff;
    color: var(--dark);
    font-weight: 800;
    box-shadow: 0 12px 26px rgba(18, 48, 38, .16);
}

.about-copy p {
    font-size: 16px;
    line-height: 1.8;
}

.about-point {
    margin-bottom: 12px;
    font-weight: 600;
}

.quote-friendly {
    padding: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, #F7FBF8 0%, #FFF4D3 100%);
    box-shadow: 0 14px 42px rgba(18, 48, 38, .09);
}

.form-badge {
    display: inline-flex;
    padding: 9px 16px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: #fff;
    color: #8A5B00;
    font-weight: 800;
}

.quote-text p {
    color: #48635A;
    font-size: 16px;
    line-height: 1.8;
}

.quote-benefits {
    display: grid;
    gap: 12px;
}

.quote-benefits span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--dark);
}

.quote-benefits i {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 12px;
}

.quote-form-card {
    padding: 30px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #E3F3EA;
    box-shadow: 0 16px 36px rgba(18, 48, 38, .12);
}

.quote-form-card .form-label {
    margin-bottom: 7px;
    color: var(--dark);
    font-weight: 800;
    font-size: 15px;
}

.quote-form-card .form-control,
.quote-form-card .form-select {
    min-height: 56px;
    border: 1px solid #DCEBE4;
    border-radius: 8px;
    color: var(--dark);
    font-size: 15px;
    background-color: #FAFCFB;
    transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.quote-form-card textarea.form-control {
    min-height: 118px;
}

.quote-form-card .form-control:focus,
.quote-form-card .form-select:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 .2rem rgba(22, 163, 74, .14);
}

.quote-submit {
    min-width: 190px;
    font-weight: 800;
}

.quote-submit:hover,
.footer-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(18, 48, 38, .22);
}

.contact-card {
    height: 100%;
    padding: 30px;
    border-radius: 8px;
    background: #fff;
    border-left: 5px solid var(--secondary);
    box-shadow: 0 14px 34px rgba(18, 48, 38, .09);
}

.contact-card h5 {
    color: var(--dark);
    font-size: 24px;
    margin-bottom: 20px;
}

.contact-card p {
    font-size: 16px;
    font-weight: 600;
}

.footer-cta h3 {
    font-size: 30px;
}

.footer-cta p {
    font-size: 17px;
    line-height: 1.7;
}

.footer-logo {
    width: 230px;
}

.footer h5 {
    font-size: 21px;
    font-weight: 800;
}

.solar-footer h5 {
    position: relative;
    padding-bottom: 10px;
}

.solar-footer h5::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 44px;
    height: 3px;
    border-radius: 3px;
    background: #f9b115;
}

.footer p,
.footer .btn.btn-link {
    font-size: 16px;
    line-height: 1.7;
}

@media (max-width: 991.98px) {
    .logo-brand img {
        width: 172px;
    }

    .navbar .navbar-nav .nav-link::after {
        bottom: 4px;
        margin-left: 0;
    }
}

@media (max-width: 575.98px) {
    .about-friendly,
    .quote-friendly,
    .quote-form-card,
    .contact-card {
        padding: 22px;
    }

    .footer-cta h3 {
        font-size: 24px;
    }

    .quote-submit {
        width: 100%;
    }
}

/*** Wider Page Layout ***/
@media (min-width: 1200px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: calc(100% - 56px);
    }

    .solar-hero .row {
        --bs-gutter-x: 3rem;
    }
}

@media (min-width: 1600px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1500px;
    }
}

@media (max-width: 1199.98px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: calc(100% - 28px);
    }
}

/*** Gallery Page ***/
.page-hero {
    padding: 76px 0 64px;
    background: linear-gradient(135deg, #F7FBF8 0%, #EAF8FC 55%, #FFF4D3 100%);
}

.page-hero h1 {
    max-width: 760px;
    margin: 18px 0 16px;
    color: var(--dark);
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    line-height: 1.06;
}

.page-hero p {
    max-width: 650px;
    color: #48635A;
    font-size: 18px;
    line-height: 1.7;
}

.gallery-hero-card {
    min-height: 220px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 30px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 20px 48px rgba(18, 48, 38, .12);
}

.gallery-hero-card i {
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #FFF4D3;
    color: #D88600;
    font-size: 30px;
}

.gallery-hero-card strong {
    color: var(--dark);
    font-size: 32px;
    line-height: 1;
}

.gallery-hero-card span {
    color: #48635A;
    font-weight: 700;
}

.gallery-card {
    position: relative;
    display: block;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(18, 48, 38, .1);
    text-decoration: none;
}

.gallery-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform .45s ease, filter .45s ease;
}

.gallery-card:hover img {
    transform: scale(1.08);
    filter: brightness(.78);
}

.gallery-info {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 14px 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .94);
    transform: translateY(8px);
    transition: transform .3s ease;
}

.gallery-card:hover .gallery-info {
    transform: translateY(0);
}

.gallery-info span {
    color: var(--primary);
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
}

.gallery-info h5 {
    margin: 4px 0 0;
    color: var(--dark);
}

.empty-gallery {
    padding: 40px;
    border-radius: 8px;
    background: #fff;
    color: #48635A;
    text-align: center;
    box-shadow: 0 14px 34px rgba(18, 48, 38, .08);
}

/*** Inner Page Visual Refresh ***/
.solar-navbar .navbar-collapse {
    gap: 16px;
}

.solar-navbar .navbar-nav {
    align-items: center;
    gap: 8px;
}

.solar-navbar .navbar-nav .nav-link {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px !important;
    margin: 0 !important;
    border: 1px solid #E4F1EA;
    border-radius: 8px;
    background: #fff;
    color: #123026 !important;
    box-shadow: 0 6px 18px rgba(18, 48, 38, .04);
}

.solar-navbar .navbar-nav .nav-link:hover,
.solar-navbar .navbar-nav .nav-link.active {
    color: #16A34A !important;
    background: #F1FBF5;
    border-color: #CFEEDD;
    box-shadow: 0 10px 24px rgba(18, 48, 38, .1);
}

.inner-page-hero {
    padding: 58px 0 52px;
    background: linear-gradient(135deg, #F7FBF8 0%, #EAF8FC 56%, #FFF4D3 100%);
    overflow: hidden;
}

.inner-page-hero h1 {
    margin: 18px 0 16px;
    color: var(--dark);
    font-size: clamp(2.1rem, 4.4vw, 4rem);
    line-height: 1.08;
}

.inner-page-hero p {
    color: #48635A;
    font-size: 17px;
    line-height: 1.75;
}

.inner-page-hero .inner-slider {
    height: clamp(330px, 30vw, 430px);
}

.portfolio-container {
    align-items: stretch;
}

.portfolio-item {
    padding: 12px;
}

.portfolio-item .portfolio-img {
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 14px 34px rgba(18, 48, 38, .1);
}

.portfolio-item .portfolio-img img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform .45s ease;
}

.portfolio-item:hover .portfolio-img img {
    transform: scale(1.06);
}

.portfolio-item .pt-3 {
    margin-top: 0;
    padding: 18px;
    border-radius: 0 0 8px 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(18, 48, 38, .08);
}

.portfolio-item .pt-3 h5 {
    font-size: 19px;
}

@media (max-width: 991.98px) {
    .solar-navbar .navbar-nav {
        align-items: stretch;
        gap: 6px;
    }

    .solar-navbar .navbar-nav .nav-link {
        justify-content: flex-start;
    }

    .inner-page-hero {
        padding: 42px 0;
    }
}

/*** Large Image Viewer ***/
.lightboxOverlay {
    background: #06130E !important;
    opacity: .92 !important;
}

.lightbox {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    width: min(92vw, 1180px) !important;
    transform: translate(-50%, -50%) !important;
}

.lightbox .lb-outerContainer,
.lightbox .lb-dataContainer {
    width: min(92vw, 1180px) !important;
    max-width: 1180px !important;
}

.lightbox .lb-outerContainer {
    height: auto !important;
    background: transparent !important;
    border-radius: 8px !important;
}

.lightbox .lb-container {
    padding: 0 !important;
}

.lightbox .lb-image {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: 82vh !important;
    object-fit: contain !important;
    background: #fff;
    border: 4px solid #fff !important;
    border-radius: 8px !important;
}

.lightbox .lb-data {
    padding: 10px 4px 0;
}

.lightbox .lb-data .lb-number,
.lightbox .lb-data .lb-caption {
    color: #F6F9F7;
    font-size: 14px;
    line-height: 1.35;
}

.lightbox .lb-nav a.lb-prev,
.lightbox .lb-nav a.lb-next {
    opacity: .75 !important;
}

@media (max-width: 767.98px) {
    .lightbox,
    .lightbox .lb-outerContainer,
    .lightbox .lb-dataContainer {
        width: 94vw !important;
    }

    .lightbox .lb-image {
        max-height: 76vh !important;
    }
}
