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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.link-primary,
.link-primary:hover {
  color: var(--primary) !important;
}

.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-primary,
.btn.btn-primary {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #ffffff !important;
}

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

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

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

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

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: var(--primary);
  border-color: var(--primary);
  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/solar.jpg) center center no-repeat;
  background-size: cover;
} */
 .page-header {
    position: relative;
    min-height: 350px;   /* Adjust height */
    display: flex;
    align-items: center;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;   /* Makes image cover full width */
}

.about-header {
    background-image:
        linear-gradient(rgba(0,0,0,.4), rgba(0,0,0,.4)),
        url(../img/solar\ engineering.jpg);
}
.solar-header {
    background-image:
        linear-gradient(rgba(0,0,0,.4), rgba(0,0,0,.4)),
        url(../img/solar.jpg);
}
.itproducts-header {
    background-image:
        linear-gradient(rgba(0,0,0,.4), rgba(0,0,0,.4)),
        url(../img/IT\ products.jpg);
}
.Oscillating-header {
    background-image:
        linear-gradient(rgba(0,0,0,.4), rgba(0,0,0,.4)),
        url(../img/Cnc\ oscillating\ knifecut\ Machine.png);
}
.router-header {
    background-image:
        linear-gradient(rgba(0,0,0,.4), rgba(0,0,0,.4)),
        url(../img/CNC\ Router.png);
}

.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);
}
.service-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}
.client-card{
    background:#fff;
    border:1px solid #e5e5e5;
    border-radius:10px;
    height:180px;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:20px;
    transition:.3s ease;
}

.client-card:hover{
    transform:translateY(-5px);
    box-shadow:0 8px 25px rgba(0,0,0,.1);
}

.client-card img{
    max-width:170px;
    max-height:90px;
    width:auto;
    height:auto;
    object-fit:contain;
}
.service-item{
    height:100%;
}

.service-item img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.service-item .position-relative{
    min-height:200px;
}
.about-tag{
    position:absolute;
    left:20px;
    bottom:20px;
    background:#0db02b;
    color:#fff;
    padding:18px 25px;
    border-radius:10px;
}

.about-tag h3{
    margin:0;
    font-size:24px;
    font-weight:700;
    line-height:1.3;
}

.counter-box{
    background:#fff;
    padding:25px;
    text-align:center;
    border-radius:10px;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
    margin-top:15px;
}

.counter-box h2{
    color:#0db02b;
    font-size:40px;
    font-weight:700;
    margin-bottom:5px;
}

.counter-box p{
    margin:0;
    color:#555;
    font-size:17px;
    font-weight:600;
}
.service-item{
    border-radius:25px !important;
    overflow:hidden !important;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}


.service-item:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 35px rgba(0,0,0,.15);
}
.card{
border-radius:15px;
}

.list-group-item.active{
background:#0d6efd;
border-color:#0d6efd;
}

.list-group-item{
padding:14px 20px;
}

.table thead{
background:#0d6efd;
color:#fff;
}

.table th{
padding:14px;
}

.table td{
padding:14px;
}

#mainImage{
border-radius:12px;
}

h2{
font-weight:700;
}

.sticky-top{
top:90px;
}
#productDescription {
    white-space: pre-line;
}
#description {
    white-space: pre-line;
}
.icon-box {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #0db02b;
    color: #fff;
    font-size: 28px;
    margin-bottom: 20px;
}

.process-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #0db02b;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accordion-button:not(.collapsed) {
    background: #0db02b;
    color: #fff;
}
.text-primary {
            color: var(--primary) !important;
        }

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

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

        .btn-primary:hover {
            background-color: var(--primary-dark);
            border-color: var(--primary-dark);
        }

        .section-title {
            color: var(--primary);
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-size: 15px;
        }

        .section-heading {
            font-size: 38px;
            font-weight: 700;
            margin-bottom: 20px;
        }

        /* NAVBAR */

        .navbar {
            background: #fff;
            box-shadow: 0 2px 15px rgba(0,0,0,0.08);
        }

        /* .navbar-brand {
            font-size: 27px;
            font-weight: 800;
            color: var(--primary) !important;
        } */

        .navbar-nav .nav-link {
            color: #222;
            font-weight: 600;
            margin-left: 20px;
        }

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

        /* HERO */

        .hero {
            min-height: 650px;
            background:
                linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)),
                url("img/solar/solar-home.jpg") center/cover no-repeat;

            display: flex;
            align-items: center;
        }

        .hero h1 {
            color: #fff;
            font-size: 58px;
            line-height: 1.15;
        }

        .hero p {
            color: #fff;
            font-size: 19px;
            max-width: 700px;
        }

        .hero-badge {
            display: inline-block;
            background: var(--primary);
            color: #fff;
            padding: 8px 18px;
            border-radius: 30px;
            margin-bottom: 20px;
            font-weight: 600;
        }

        /* CARDS */

        .custom-card {
            background: #fff;
            border-radius: 15px;
            border: 1px solid #eee;
            padding: 30px;
            height: 100%;
            transition: .3s;
        }

        .custom-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 35px rgba(0,0,0,.10);
            border-color: var(--primary);
        }

        .icon-box {
            width: 65px;
            height: 65px;
            background: var(--light-green);
            color: var(--primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 27px;
            margin-bottom: 20px;
        }

        /* ABOUT */

        .about-img {
            width: 100%;
            height: 500px;
            object-fit: cover;
            border-radius: 15px;
        }

        /* SOLAR TYPES */

        .solar-type-card {
            position: relative;
            overflow: hidden;
            border-radius: 15px;
            height: 100%;
            background: #fff;
            box-shadow: 0 5px 25px rgba(0,0,0,.08);
        }

        .solar-type-card img {
            width: 100%;
            height: 230px;
            object-fit: cover;
        }

        .solar-type-content {
            padding: 25px;
        }

        /* PRODUCTS */

        .product-card {
            border: 0;
            border-radius: 15px;
            overflow: hidden;
            background: #fff;
            box-shadow: 0 5px 25px rgba(0,0,0,.08);
            height: 100%;
            transition: .3s;
        }

        .product-card:hover {
            transform: translateY(-8px);
        }

        .product-card img {
            width: 100%;
            height: 250px;
            object-fit: cover;
        }

        .product-content {
            padding: 25px;
        }

        /* SERVICE */

        .service-section {
            background: var(--light-green);
        }

        /* STATS */

        .stats {
            background: var(--primary);
            color: #fff;
        }

        .stat-box {
            text-align: center;
            padding: 20px;
        }

        .stat-box h2 {
            color: #fff;
            font-size: 42px;
        }

        .stat-box p {
            color: #fff;
            margin: 0;
        }

        /* PROCESS */

        .process-number {
            width: 60px;
            height: 60px;
            background: var(--primary);
            color: #fff;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 22px;
            font-weight: bold;
            margin: auto;
        }

        /* CTA */

        .cta {
            background:
                linear-gradient(rgba(13,176,43,.90), rgba(13,176,43,.90)),
                url("img/solar/solar-roof.jpg") center/cover;
            padding: 80px 20px;
        }

        .cta h2,
        .cta p {
            color: #fff;
        }

        /* FAQ */

        .accordion-button:not(.collapsed) {
            color: #fff;
            background: var(--primary);
        }

        .accordion-button:focus {
            box-shadow: none;
        }

        /* FOOTER */

        footer {
            background: #111;
            color: #bbb;
        }

        footer h5 {
            color: #fff;
        }

        footer a {
            color: #bbb;
            text-decoration: none;
        }

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

        .social-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: #222;
            color: #fff;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-right: 5px;
        }

        .social-icon:hover {
            background: var(--primary);
            color: #fff;
        }

        @media(max-width: 991px) {

            .hero h1 {
                font-size: 42px;
            }

            .section-heading {
                font-size: 32px;
            }

        }