/********** Template CSS **********/
:root {
    --primary: #32c36c;
    --light: #f6f7f8;
    --dark: #1a2a36;
}

.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 0.5s ease-out,
        visibility 0s linear 0.5s;
    z-index: 99999;
}

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

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

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

.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: -100px;
    transition: 0.5s;
}

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

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.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: 0.5s;
    }

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

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

@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, 0.9);
    border-radius: 45px;
    transition: 0.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: 0.5s;
}

.page-header {
    background:
        linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 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) + 0.75rem);
    }
}

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

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

/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 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, 0.08);
    transition: 0.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) + 0.75rem);
    }
}

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

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

/*** Project Portfolio ***/
#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: 0.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: 0.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: 0.5s;
}

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

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

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

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

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

/*** Team ***/
.team-item {
    box-shadow: 0 0 45px rgba(0, 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: 0.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: 0.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: 0.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, 0.08);
    transform: scale(0.8);
    transition: 0.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) + 0.75rem);
    }
}

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

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

/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    color: #9b9b9b;
    border: 1px solid #9b9b9b;
    border-radius: 38px;
    transition: 0.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: 0.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, 0.1);
}

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

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

.feature-box {
    padding: 24px 20px;
    background: #ffffff;
    border: 1px solid #e8eeee;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    border-color: #32c36c;
    box-shadow: 0 12px 30px rgba(50, 195, 108, 0.15);
}

.feature-box-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: #32c36c;
    border-radius: 50%;
    font-size: 20px;
}

.feature-box h5 {
    font-size: 18px;
    line-height: 1.35;
}

.feature-box p {
    color: #666666;
    font-size: 14px;
    line-height: 1.7;
}

.feature-image-badge {
    position: absolute;
    right: 30px;
    bottom: 30px;
    padding: 16px 22px;
    color: #ffffff;
    background: #32c36c;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
}

@media (max-width: 991.98px) {
    .feature-text {
        padding-left: 20px;
        padding-right: 20px;
    }

    .feature .col-lg-5 {
        min-height: 450px !important;
    }
}

@media (max-width: 575.98px) {
    .feature-box {
        padding: 20px 16px;
    }

    .feature-image-badge {
        right: 15px;
        bottom: 15px;
        padding: 12px 16px;
        font-size: 14px;
    }
}
.solar-brands-section {
    background: #ffffff;
}

.solar-brand-card {
    height: 100%;
    padding: 25px 18px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #e7eeee;
    border-radius: 14px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.solar-brand-card:hover {
    border-color: #32c36c;
    box-shadow: 0 12px 30px rgba(50, 195, 108, 0.15);
    transform: translateY(-6px);
}

.solar-brand-logo {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    padding: 10px;
}

.solar-brand-logo img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 65px;
    object-fit: contain;
    filter: grayscale(25%);
    transition: all 0.3s ease;
}

.solar-brand-card:hover .solar-brand-logo img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.solar-brand-name {
    margin-bottom: 7px;
    font-size: 17px;
    line-height: 1.4;
}

.solar-brand-label {
    color: #777777;
    font-size: 13px;
}

.brand-information {
    padding: 25px;
    background: rgba(50, 195, 108, 0.07);
    border-radius: 14px;
}

@media (max-width: 575.98px) {
    .solar-brand-card {
        padding: 18px 10px;
    }

    .solar-brand-logo {
        height: 70px;
    }

    .solar-brand-logo img {
        max-height: 50px;
    }

    .solar-brand-name {
        font-size: 14px;
    }

    .solar-brand-label {
        font-size: 11px;
    }
}

.quote-section .quote {
    background: #ffffff;
}

.quote-image {
    min-height: 720px;
}

.quote-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 35, 25, 0.15) 0%,
        rgba(10, 35, 25, 0.88) 100%
    );
}

.quote-image-content {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    padding: 45px;
    color: #ffffff;
}

.quote-small-title {
    display: inline-block;
    margin-bottom: 15px;
    padding: 7px 15px;
    color: #ffffff;
    background: #32c36c;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.quote-image-content h2 {
    margin-bottom: 18px;
    color: #ffffff;
    font-size: 34px;
    line-height: 1.3;
}

.quote-image-content p {
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.quote-contact-item {
    display: flex;
    align-items: center;
    margin-top: 13px;
    color: #ffffff;
    font-weight: 500;
}

.quote-contact-item i {
    margin-right: 12px;
    color: #32c36c;
    font-size: 18px;
}

.quote-input-group {
    position: relative;
}

.quote-input-group > i {
    position: absolute;
    top: 50%;
    left: 18px;
    z-index: 3;
    color: #32c36c;
    transform: translateY(-50%);
    pointer-events: none;
}

.quote-input-group .form-control,
.quote-input-group .form-select {
    min-height: 58px;
    padding-left: 50px;
    background-color: #f7faf8;
    border: 1px solid #e3ebe6;
    border-radius: 8px;
}

.quote-text textarea.form-control {
    padding: 17px;
    background-color: #f7faf8;
    border: 1px solid #e3ebe6;
    border-radius: 8px;
    resize: vertical;
}

.quote-input-group .form-control:focus,
.quote-input-group .form-select:focus,
.quote-text textarea.form-control:focus {
    background-color: #ffffff;
    border-color: #32c36c;
    box-shadow: 0 0 0 0.2rem rgba(50, 195, 108, 0.15);
}

.quote-text .form-label {
    margin-bottom: 8px;
    color: #333333;
    font-size: 14px;
    font-weight: 600;
}

/* Honeypot spam protection */
.quote-website-field {
    position: absolute !important;
    top: -9999px !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
}

@media (max-width: 991.98px) {
    .quote-image {
        min-height: 550px;
    }

    .quote-image-content {
        padding: 35px;
    }
}

@media (max-width: 575.98px) {
    .quote-image {
        min-height: 500px;
    }

    .quote-image-content {
        padding: 25px;
    }

    .quote-image-content h2 {
        font-size: 26px;
    }

    .quote-text .btn {
        width: 100%;
    }
}
.testimonial-item {
    padding-top: 55px;
}

.testimonial-avatar-wrapper {
    position: relative;
    z-index: 2;
    width: 110px;
    height: 110px;
    margin: 0 auto -50px;
}

.testimonial-avatar {
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, #32c36c, #229654);
    border: 7px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(50, 195, 108, 0.25);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 1px;
}

.testimonial-quote-icon {
    position: absolute;
    right: -5px;
    bottom: 3px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: #32c36c;
    border: 4px solid #ffffff;
    border-radius: 50%;
    font-size: 13px;
}

.testimonial-text {
    min-height: 335px;
    padding-top: 75px !important;
    background: #f7faf8;
    border: 1px solid #e6eee9;
    transition: all 0.3s ease;
}

.testimonial-item:hover .testimonial-text {
    border-color: #32c36c;
    box-shadow: 0 12px 30px rgba(50, 195, 108, 0.12);
    transform: translateY(-4px);
}

.testimonial-text p {
    min-height: 125px;
    margin-bottom: 22px;
    color: #666666;
    line-height: 1.8;
}

.testimonial-stars {
    color: #ffc107;
    font-size: 14px;
}

.testimonial-stars i {
    margin: 0 1px;
}

@media (max-width: 575.98px) {
    .testimonial-text {
        min-height: auto;
    }

    .testimonial-text p {
        min-height: auto;
    }
}

/* ================================
   Footer CTA
================================ */

.footer-cta {
    position: relative;
    z-index: 3;
    margin-bottom: -75px;
}

.footer-cta-box {
    padding: 40px 45px;
    color: #ffffff;
    background: linear-gradient(135deg, #32c36c, #209b54);
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(50, 195, 108, 0.25);
}

.footer-cta-small {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-cta-box h2 {
    color: #ffffff;
    font-size: 32px;
}

.footer-cta-box p {
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.7;
}

.footer-cta-btn {
    color: #222222;
    background: #ffffff;
    border: 2px solid #ffffff;
    font-weight: 600;
}

.footer-cta-btn:hover {
    color: #ffffff;
    background: transparent;
}

/* ================================
   Main Footer
================================ */

.footer {
    margin-top: 0 !important;
    padding-top: 115px !important;
    background:
        linear-gradient(rgba(8, 24, 18, 0.97), rgba(8, 24, 18, 0.97)),
        url("../img/footer-bg.jpg") center center / cover no-repeat;
}

.footer-brand {
    color: #32c36c;
    font-size: 30px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -1px;
}

.footer-brand:hover {
    color: #32c36c;
}

.footer-brand span {
    color: #ffffff;
    font-weight: 600;
}

.footer-description {
    max-width: 420px;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.85;
}

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

.footer h5::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px;
    height: 3px;
    background: #32c36c;
    border-radius: 5px;
    content: "";
}

/* Social Buttons */

.footer-social {
    gap: 8px;
}

.footer-social .btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-color: rgba(255, 255, 255, 0.25);
}

.footer-social .btn:hover {
    color: #ffffff;
    background: #32c36c;
    border-color: #32c36c;
}

/* Contact Details */

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
}

.footer-contact-icon {
    width: 38px;
    min-width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: #32c36c;
    background: rgba(50, 195, 108, 0.12);
    border-radius: 50%;
}

.footer-contact-item span {
    display: block;
    margin-bottom: 4px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
}

.footer-contact-item p {
    margin: 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    line-height: 1.6;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
}

.footer-contact-item a:hover {
    color: #32c36c;
}

/* Footer Links */

.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-links a {
    position: relative;
    margin-bottom: 12px;
    padding-left: 18px;
    color: rgba(255, 255, 255, 0.68);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a::before {
    position: absolute;
    top: 1px;
    left: 0;
    color: #32c36c;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f105";
}

.footer-links a:hover {
    padding-left: 23px;
    color: #32c36c;
}

/* Copyright */

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

.footer .copyright a {
    color: #32c36c;
    font-weight: 600;
    text-decoration: none;
}

/* Responsive */

@media (max-width: 991.98px) {
    .footer-cta {
        margin-bottom: -60px;
    }

    .footer-cta-box {
        padding: 35px 30px;
    }

    .footer {
        padding-top: 100px !important;
    }
}

@media (max-width: 575.98px) {
    .footer-cta {
        padding: 0 12px;
        margin-bottom: -50px;
    }

    .footer-cta-box {
        padding: 30px 20px;
        border-radius: 12px;
    }

    .footer-cta-box h2 {
        font-size: 25px;
    }

    .footer-cta-btn {
        width: 100%;
    }

    .footer {
        padding-top: 80px !important;
    }
}
