@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&display=swap');

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Lexend", sans-serif;
}

:root {
    --primary-color: #fd0d08;
    --secondary-color: #000000;
    --third-color: #7ed957;
    --white-color: #fff;
}

.solar-types-section {
  background-color: #ffffff;
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.solar-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
}

.solar-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(17, 112, 183, 0.2);
}

.solar-img {
  position: relative;
  height: 300px;
  overflow: hidden;
  border-radius: 20px;
}

.solar-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  border-radius: 20px;
}

.solar-card:hover img {
  transform: scale(1.1);
}

.solar-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.4s ease;
  border-radius: 20px;
}

.solar-card:hover .solar-overlay {
  background: rgba(17, 112, 183, 0.15);
}

.solar-title {
  color: #1170b7;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.85);
  padding: 10px 20px;
  border-radius: 10px;
  transition: all 0.4s ease;
}

.solar-card:hover .solar-title {
  background: linear-gradient(135deg, #fd0d08, #1170b7);
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(17, 112, 183, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .solar-img {
    height: 240px;
  }

  .solar-title {
    font-size: 1.4rem;
  }
}

@media (max-width: 576px) {
  .solar-img {
    height: 200px;
  }

  .solar-title {
    font-size: 1.2rem;
  }
}


.about-company-section {
    background-color: #c9ddc9;
    overflow: hidden;
}

.about-company-section img {
    object-fit: cover;
    transition: 0.4s ease-in-out;
}

.about-company-section img:hover {
    transform: scale(1.05);
}

/* Logo in center */
.about-logo {
    background: #fff;
    border-radius: 5%;
    padding: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    animation: pulseLogo 3s infinite ease-in-out;
}

@keyframes pulseLogo {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.05);
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Text Styling */
.about-company-section h2 {
    font-size: 2rem;
    line-height: 1.4;
}

.about-section-heading {
    font-size: 40px !important;
}

@media(max-width:768px){
    .about-section-heading{
        font-size: 30px !important;
    }
}

@media(max-width:425px){
    .about-section-heading{
        font-size: 18px !important;
    }
}

.about-section-span {
    color: var(--primary-color);
}

.about-company-section p {
    color: #555;
}

.about-company-section h5 {
    font-size: 25px;
}

.about-company-section .btn {
    border-radius: 8px;
    transition: 0.3s;
}

.about-company-section .btn:hover {
    background-color: #1f8f3b;
    transform: translateY(-2px);
}

/* Responsive Fixes */
@media (max-width: 992px) {
    .about-logo img {
        width: 100px !important;
    }
}



/* ===== SECTION BASE ===== */
.solar-services-section {
    position: relative;
    background: url('../all-images/carousel-img/2') center/cover no-repeat;
    padding: 100px 0;
    overflow: hidden;
}

.solar-services-section .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
}

.solar-services-section h2 {
    color: var(--white-color);
    font-size: 2.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

/* ===== SERVICE CARD ===== */
.service-card {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--third-color);
    transition: 0.4s ease;
    position: relative;
    border-radius: 15px;
    color: var(--white-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(253, 13, 8, 0.4);
    border-color: var(--primary-color);
    background: rgba(253, 13, 8, 0.15);
}

.service-card .icon i {
    color: var(--third-color);
    transition: 0.3s ease;
    border-radius: 50%;
}

.service-card:hover .icon i {
    color: var(--white-color);
    transform: scale(1.2);
}

.service-card h4 {
    color: var(--third-color);
    margin-bottom: 10px;
}

.service-card p {
    color: #eee;
    line-height: 1.6;
    font-size: 15px;
}

.service-card img {
    border-radius: 20px;
    margin-top: 15px;
}

/* ===== BUTTON STYLE ===== */
.view-all-btn {
    background-color: var(--primary-color) !important;
    border: none !important;
    color: #fff !important;
    transition: 0.3s ease;
    border-radius: 8px;
}

.view-all-btn:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, var(--third-color), var(--primary-color));
    box-shadow: 0 4px 12px rgba(253, 13, 8, 0.4);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .solar-services-section {
        padding: 80px 0;
    }

    .solar-services-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .service-card {
        padding: 30px 20px;
    }

    .solar-services-section h2 {
        font-size: 1.8rem;
    }
}


.our-brands-section {
    background: #f9fdf9;
    overflow: hidden;
    position: relative;
}

.our-brands-section h2 {
    color: var(--secondary-color);
    font-size: 2.2rem;
    letter-spacing: 1px;
}

.our-brands-section h2 span {
    color: var(--primary-color);
}

/* Navigation Arrows */
.brand-nav {
    display: flex;
    gap: 10px;
}

.brand-nav button {
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.brand-nav button:hover {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
}

/* Swiper Brands Slider */
.brands-swiper {
    width: 100%;
    padding: 12px 6px 36px 6px !important;
    overflow: hidden;
}

.brands-swiper .swiper-wrapper {
    display: flex;
    align-items: center;
}

.brands-swiper .swiper-slide {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.brands-swiper .brand-item {
    background: #ffffff;
    border-radius: 14px;
    padding: 14px 20px !important;
    transition: all 0.35s ease;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    border: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 105px;
}

.brands-swiper .brand-item img {
    max-width: 100%;
    max-height: 70px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.brands-swiper .brand-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(253, 13, 8, 0.22);
    border-color: var(--primary-color);
}

.brands-swiper .brand-item:hover img {
    transform: scale(1.08);
}

/* Swiper Pagination */
.brands-swiper-pagination {
    position: relative !important;
    margin-top: 15px;
    text-align: center;
}

.brands-swiper-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #cbd5e1;
    opacity: 1;
    margin: 0 5px !important;
    transition: all 0.3s ease;
    border-radius: 50%;
    display: inline-block;
}

.brands-swiper-pagination .swiper-pagination-bullet-active {
    width: 28px;
    border-radius: 6px;
    background: var(--primary-color) !important;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .our-brands-section h2 {
        font-size: 1.8rem;
    }

    .brand-item {
        padding: 15px 20px;
    }

    .brand-item img {
        height: 60px;
    }

    .brand-nav button {
        width: 36px;
        height: 36px;
    }
}

/* CALL TO ACTION SECTION */

/* ===== CTA SECTION ===== */
.cta-section {
    background-color: var(--white-color);
    position: relative;
}

.cta-box {
    background: var(--white-color);
    border: 2px solid var(--third-color);
    transition: all 0.4s ease;
}

.cta-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.text-highlight {
    color: var(--primary-color);
}

/* ===== BUTTON STYLES ===== */
.btn-cta {
    background: var(--primary-color) !important;
    color: var(--white-color) !important;
    border-radius: 50px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.btn-cta:hover {
    background: var(--third-color);
    color: var(--secondary-color);
    transform: scale(1.05);
}

.btn-whatsapp {
    background: var(--third-color) !important;
    color: var(--secondary-color) !important;
    border-radius: 50px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.btn-whatsapp:hover {
    background: var(--primary-color);
    color: var(--white-color);
    transform: scale(1.05);
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .cta-box h2 {
        font-size: 1.6rem;
    }

    .cta-box p {
        font-size: 1rem;
    }

    .cta-box {
        padding: 2rem;
    }

    .btn-cta,
    .btn-whatsapp {
        width: 100%;
        justify-content: center;
    }
}

/* Section Base */
.solar-contact-section {
    background: var(--secondary-color);
    color: var(--white-color);
    overflow: hidden;
    position: relative;
}

/* Background Image */
.solar-contact-bg {
    background: url('../all-images/carousel-img/8.webp') center/cover no-repeat;
    position: absolute;
    inset: 0;
    z-index: 1;
}

.solar-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.534);
    z-index: 2;
}

.solar-contact-section .container {
    position: relative;
    z-index: 3;
}

/* Form Styling */
.solar-contact-form {
    background-color: var(--white-color);
}

.solar-input,
.solar-select,
.solar-textarea {
    border: 1px solid var(--primary-color) !important;
    padding: 15px !important;
    border-radius: 6px;
    font-size: 15px;
    transition: 0.3s;
}

.solar-input:focus,
.solar-select:focus,
.solar-textarea:focus {
    border-color: var(--third-color);
    box-shadow: 0 0 5px rgba(126, 217, 87, 0.5) !important;
}

.solar-textarea {
    resize: none;
}

/* Button */
.solar-btn {
    background-color: var(--primary-color) !important;
    color: var(--white-color) !important;
    border: none;
    border-radius: 50px;
    transition: 0.3s;
}

.solar-btn:hover {
    background-color: var(--third-color) !important;
    color: var(--secondary-color) !important;
}

/* Text Accent */
.text-accent {
    color: var(--third-color) !important;
}

/* Responsive */
@media (max-width: 767px) {
    .solar-contact-form {
        padding: 2rem 1.5rem;
    }

    .solar-contact-form .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}