/********** Template CSS **********/
:root {
    --primary: #009bc7;
    --light: #F6F7F8;
    --dark: #1A2A36;
}

html{
    overflow-x: hidden;
}

body {
    font-family: 'Figtree', sans-serif;
    overflow-x: hidden;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
    font-family: 'Geologica', sans-serif;
}

h6,
.h6,
h5,
.h5 {
    line-height: 1.5;
}

h1,
.h1 {
    line-height: 1.3;
}

@media (min-width: 1200px) {

    h1,
    .h1 {
        font-size: 3.2rem;
    }
}

.bc-txt {
    color: #009bc7;
}

.yc-txt {
    color: #ffbc00;
}

.section-pad {
    padding: 90px 0;
}

.section-title h2 {
    font-size: 36px;
}

.btn {
    padding: 8px 30px;
    font-weight: 500;
    border-radius: 30px;
}

.btn.btn-sm {
    padding: 6px 18px;
}

.btn-primary {
    border-color: #009bc7;
    background-color: #009bc7;
}

.btn-secondary {
    border-color: #ffbc00;
    background-color: #ffbc00;
    color: #0c0d24;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus,
.btn-secondary:hover,
.btn-secondary:active,
.btn-secondary:focus {
    background-color: #00465a;
    border-color: #00465a;
    color: #fff;
    box-shadow: none;
}

.btn-hover-2.btn-primary:hover,
.btn-hover-2.btn-primary:active,
.btn-hover-2.btn-primary:focus,
.btn-hover-2.btn-secondary:hover,
.btn-hover-2.btn-secondary:active,
.btn-hover-2.btn-secondary:focus {
    background-color: #fff;
    border-color: #fff;
    color: #0c0d24;
}

.anim-btn {
    animation: ripple 1.5s linear infinite;
    -webkit-animation: ripple 1.5s linear infinite;
}

@keyframes ripple {
    0% {
        box-shadow: 0 0 0 2px (255, 188, 0, 0.3),
            0 0 0 4px rgba(255, 188, 0, 0.3),
            0 0 0 8px rgba(255, 188, 0, 0.3);
    }

    80% {
        box-shadow: 0 0 0 4px rgba(255, 188, 0, 0.15),
            0 0 0 8px rgba(255, 188, 0, 0.15),
            0 0 0 12px rgba(255, 188, 0, 0.15);
    }

    100% {
        box-shadow: 0 0 0 4px rgba(255, 188, 0, 0),
            0 0 0 8pxpx rgba(255, 188, 0, 0),
            0 0 0 12px rgba(255, 188, 0, 0);
    }
}

@-webkit-keyframes ripple {
    0% {
        box-shadow: 0 0 0 2px (255, 188, 0, 0.3),
            0 0 0 4px rgba(255, 188, 0, 0.3),
            0 0 0 8px rgba(255, 188, 0, 0.3);
    }

    80% {
        box-shadow: 0 0 0 4px rgba(255, 188, 0, 0.15),
            0 0 0 8px rgba(255, 188, 0, 0.15),
            0 0 0 12px rgba(255, 188, 0, 0.15);
    }

    100% {
        box-shadow: 0 0 0 4px rgba(255, 188, 0, 0),
            0 0 0 8pxpx rgba(255, 188, 0, 0),
            0 0 0 12px rgba(255, 188, 0, 0);
    }
}

.tada-anim {
    -webkit-animation: tada 2s linear infinite;
    animation: tada 2s linear infinite;
}

@keyframes tada {

    10%,
    20% {
        -webkit-transform: rotate(-8deg);
        -ms-transform: rotate(-8deg);
        transform: rotate(-8deg);
    }

    30%,
    50%,
    70% {
        -webkit-transform: rotate(8deg);
        -ms-transform: rotate(8deg);
        transform: rotate(8deg);
    }

    40%,
    60% {
        -webkit-transform: rotate(-8deg);
        -ms-transform: rotate(-8deg);
        transform: rotate(-8deg);
    }

    80% {
        -webkit-transform: rotate(0);
        -ms-transform: rotate(0);
        transform: rotate(0);
    }
}

@-webkit-keyframes tada {

    10%,
    20% {
        -webkit-transform: rotate(-8deg);
        -ms-transform: rotate(-8deg);
        transform: rotate(-8deg);
    }

    30%,
    50%,
    70% {
        -webkit-transform: rotate(8deg);
        -ms-transform: rotate(8deg);
        transform: rotate(8deg);
    }

    40%,
    60% {
        -webkit-transform: rotate(-8deg);
        -ms-transform: rotate(-8deg);
        transform: rotate(-8deg);
    }

    80% {
        -webkit-transform: rotate(0);
        -ms-transform: rotate(0);
        transform: rotate(0);
    }
}

.text-primary {
    color: #009bc7 !important;
}

.bg-primary {
    background-color: #009bc7 !important;
}

.rounded {
    border-radius: 20px !important;
}

a,
a:hover {
    color: #009bc7;
}

.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: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** Loader ***/
.preloader {
    position: fixed;
    left: 0px;
    top: 0px;
    height: 100%;
    width: 100%;
    background-color: #ffffff;
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

.preloader .loader-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
}

.preloader .loader-inner img {
    max-width: 220px;
}

.preloader .loader-inner .loader-circle {
    width: 20px;
    height: 20px;
    border: 2px solid #0c0d24;
    border-top: 0;
    border-left: 0;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    -webkit-animation: rotation 1s linear infinite;
    animation: rotation 1s linear infinite;
    margin-left: 20px;
}

@keyframes rotation {
    100% {
        transform: rotate(360deg)
    }
}

@-webkit-keyframes rotation {
    100% {
        transform: rotate(360deg)
    }
}

.preloader.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-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;
}

.owl-theme .owl-dots {
    text-align: center;
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.owl-theme .owl-dots .owl-dot span {
    position: relative;
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #009bc7;
    border-radius: 50%;
    margin: 0px 5px;
    transition: all 500ms ease;
    cursor: pointer;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot span:hover {
    width: 17px;
    height: 17px;
    background: transparent;
    border: 3px solid #009bc7;
    top: 3px;
}

/*** Navbar ***/
.main-header {
    padding: 20px 0;
}

.main-header .logo {
    max-width: 200px;
}

.navbar.sticky-top {
    top: -100px;
    transition: .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;
    }

    .main-header {
        padding: 10px 0;
    }

    .btn-lg,
    .btn-group-lg > .btn {
        font-size: 1.1rem;
    }

    .btn:not(.btn-square) {
        padding: 8px 25px;
    }

    .section-title h2 {
        font-size: 28px;
    }
}

@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 ***/
.owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .1);
}


.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);
}

.jumbo-start {
    position: relative;
    z-index: 0;
    background-image: url(../img/resource/commercial-solar-panels-series.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
}

.jumbo-start::before,
.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #000;
    opacity: 0.7;
    z-index: -1;
}

.jumbo-start h4,
.jumbo-start h1,
.jumbo-start h5 {
    color: #fff;
}

.cta-section {
    padding: 70px 0;
    position: relative;
    z-index: 0;
    background-image: url(../img/resource/commercial-solar-panels-site.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom center;
    background-attachment: fixed;
}

.form-control {
    border: 1px solid #ececec;
    height: 55px;
}

textarea.form-control {
    height: auto;
}

.form-control:focus {
    box-shadow: none;
    border: 1px solid #009bc7;
}

/***********Form Submit Elements**********/
.error-handling-messages .success-msg,
.error-handling-messages .error-msg {
    padding: 3px 15px;
    border: 1px solid;
    color: #222;
    display: none;
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 15px;
    font-weight: 600;
    border-radius: 6px;
}

.error-handling-messages .success-msg {
    background: rgb(106 189 79 / 9%);
    border-color: #6abd4f;
    color: #6abd4f;
}

.error-handling-messages .error-msg {
    background: rgb(254 1 1 / 9%);
    border-color: #fe0101;
    color: #fe0101;
}

label.error.wobble-error {
    display: block;
    width: 100%;
    margin-bottom: 0;
    color: #fe0101;
    font-size: 13px;
    line-height: 1;
    margin-top: 5px;
    bottom: -18px;
    left: 5px;
    top: initial;
    height: auto;
    padding: 0;
    transform: none !important;
        text-transform: capitalize;
    font-weight: 300;
}

.custom-control label.error.wobble-error {
    position: absolute;
    white-space: nowrap;
    bottom: -12px;
    left: 0px;
}

.form-loader {
    display: none;
    padding: 10px 15px;
    font-size: 18px;
    color: #ffbc00;
}

@keyframes refresh {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.form-loader i {
    animation: refresh 1s linear infinite;
    display: inline-block;
}

/*** 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);
    }
}

.why-box {
    border: 1px solid #e3e3e3;
    border-radius: 20px;
    padding: 20px;
    transition: all ease-in-out 0.4s;
}

.why-box:hover {
    border-color: #ffbc00;
    border-style: dashed;
}

.why-box img {
    max-width: 65px;
    margin-bottom: 20px;
}

.why-box p {
    margin-bottom: 0;
    min-height: 120px;
}

.package-box {
    position: relative;
    z-index: 0;
    overflow: hidden;
}

.package-box::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 45px;
    background: rgb(0 155 199 / 8%);
    z-index: -1;
    border-radius: 50% 50% 0 0;
}


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

.service-icon {
    position: relative;
    margin: -50px 0 10px 0;
    width: 100px;
    height: 100px;
    display: flex;
    padding: 20px;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 100px;
    transition: .5s;
}

/*** 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-section {
    padding-bottom: 70px;
    background-image: url(../img/resource/line-bg.png);
    background-repeat: repeat;
    background-position: center center;
    background-size: 150px;
}

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

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

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

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

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

.testimonial-carousel .testimonial-img .btn-square {
    position: absolute;
    bottom: -19px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffbc00;
    color: #0c0d24;
}

.testimonial-carousel.owl-carousel .owl-stage-outer {
    padding: 15px 15px 20px;
    margin: 0 -15px;
}

.testimonial-carousel .testimonial-item {
    box-shadow: 0 0 20px rgba(0, 0, 0, .08);
    transition: .5s;
    background-color: #fff;
}

.testimonial-text p {
    margin-bottom: 10px;
    min-height: 96px;
}

.testimonial-carousel .testimonial-img .btn-square {
    width: 32px;
    height: 32px;
    font-size: 14px;
}

.partner-box {
    border: 1px solid #dfdfdf;
    padding: 15px;
    border-radius: 20px;
}

/*** 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 {
    border-top: 4px dashed #ffbc00;
    background-color: #181a26;
}

.footer-top {
    padding-top: 60px;
    padding-bottom: 40px;
}

.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);
}

.social-links li {
    position: relative;
    display: inline-block;
    margin-right: 15px;
}

.social-links li:last-child {
    margin-right: 0px;
}

.social-links li a {
    position: relative;
    display: inline-block;
    font-size: 16px;
    color: #fff;
    width: 35px;
    height: 35px;
    text-align: center;
    background: #009bc7;
    line-height: 35px;
    border-radius: 50%;
    transition: all ease-in-out 0.4s;
}

.footer .copyright .social-links li a:hover {
    transform: scale(1.1);
    color: #fff;
}

@media (max-width: 768px) {
    .section-pad {
        padding: 70px 0;
    }

    .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;
    }

    h5,
    .h5 {
        font-size: 18px;
    }

    .why-box {
        text-align: center;
    }

    .testimonial-img {
        margin-bottom: 30px;
    }

    .testimonial-carousel .testimonial-img img {
        margin: 0 auto;
    }

    .testimonial-text {
        text-align: center;
    }
}
