@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');


* {
    margin :0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Poppins', 'sans-serif';

}

:root {
    /* --bg-color: #081b29; */
    --bg-color: #ededed;
    /* --second-bg-color: #112e42; */
    --second-bg-color: #f9f8f8;
    --text-color: rgb(8, 27, 41);
    --main-color: green;
    /* --main-color: #00abf0; */
}

html{
    font-size: 62.5%;
    overflow-x: hidden;

}
body{
    background: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden; /* Prevent horizontal scrolling */

}

section {
    min-height: 70vh;
    padding: 20rem 9% 2rem;
}


.container-section {
    max-height: 70vh;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns of equal width */
    align-items: center; /* Vertically align content */
    text-align: left;
    padding: 20px;
    column-gap: 20px; /* Space between columns */
    background-color: var(--main-color);
}

  /* Header Section (Left Column) */
.header-section {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    gap: 10px; /* Space between items */
}

.header-logo {
    margin-left: 35%;
    max-width: 250px;
    margin-bottom: 20px;
}

.header-section h1 {
    color: var(--bg-color);
    font-size: 4rem;
    text-align: center;
    margin: 0;
}

.header-contact {
    font-size: 2.2rem;
    margin: 10px 0;
    margin-left: 32%;
    color: var(--bg-color);
    
}

.header-contact span {
    color: var(--bg-color);
    font-weight: bold;
    margin-left: 11%;
    
}

  /* Circle Image Section (Right Column) */
.images {
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle-background {
    width: 500px; /* Adjust circle size */
    height: 500px;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.heater-image {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}


.heading {
    font-size: 5rem;
    margin-bottom: 3rem;
    text-align: center;
}

span {
    color: var(--main-color);
}

.services-section {
    padding: 0rem ;
    margin-top: 15rem;
    max-height: auto;
    background-color: var(--second-bg-color);
}


.service-img {
    position: relative;
    display: flex;
    justify-content: center;
    text-align: center;
}

.background-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 8px;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay with opacity */
    border-radius: 8px;
}

.overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--bg-color);
}


.service-desc p {
    font-size: 1.6rem;
    opacity: 0.8;
}

/* Service Description */
.service-description {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px 10px;

    margin: 5rem auto;
    background-color: var(--second-bg-color);
}

.service-image {
    flex: 2;
    padding: 10px;
    position: relative;
}

.service-image img {
    max-width: 100%;
    border-radius: 10px;
}

.service-text-s {
    flex: 2;
    padding: 20px 85px;
}

.service-text-s h2 {
    font-size: 3.5rem;
    color: var(--main-color);
    margin-bottom: 20px;
}

.service-text-s .sec-sec-h2 {
    text-align: left;
}

.service-text-s p {
    font-size: 1.6rem;
    margin-bottom: 0;
    color: var(--text-color);
    text-align: justify;
}
.service-desc p a {
    font-size: 1.3rem;
    color: var(--bg-color);
    font-weight: 300;
    transition: .3s;
}

/* Overall section styling */
.our-process {
    text-align: center;
    min-height: 300px;
    padding: 40px;
    background-color: var(--main-color);
    color: var(--bg-color);
}

/* Section title and description styling */
.our-process p {
    font-size: 16px;
    color: var(--bg-color);
    margin-bottom: 30px;
}

/* Process steps container */
.process-steps {
    display: inline-flex;
    justify-content: space-around;
    align-items: center;
    gap: 10px;
}

/* Individual step styling */
.step {
    text-align: center;
    max-width: 150px;
}
.process-steps h3 {
    color: var(--bg-color);
}

/* Icon circle styling */
.icon-circle {
    width: 70px;
    height: 70px;
    border : 1px solid var(--bg-color); /* Adjust this color as needed */
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    color: var(--bg-color);
    font-size: 14px;
    font-weight: bold;
}
.container-section a {
    text-decoration: underline;
    color:var(--bg-color)
}
/* Icon styling */
.icon-circle i {
    font-size: 3rem;
}

.our-process .service-btn {
    margin-top: 5%;
}

.our-process .s-btn {
    width: 200px;
    height: 50px;
    font-size: 2rem;
    font-weight: 600;
    background-color: var(--bg-color);
    color: var(--main-color);
    

}

.our-process .s-btn::before {
    background-color: var(--main-color);
    
}

.our-process .s-btn:hover {
    background-color: var(--main-color);
    color: var(--bg-color);
    border: 1px solid var(--bg-color);
}



/* Default: Hide the mobile-specific button */
.btn-box.btn-mobile-only {
    display: none;
}

.btn-box {
    position: relative;
    display: flex;
    justify-content: space-between;
    padding-top: 8px;
    width: 34.5rem;
    height: 5rem;
}
.btn-box .btn {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 15rem;
    height: 100%;
    background-color: var(--main-color);
    border: .2rem solid var(--main-color);
    border-radius: .8rem;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: .1rem;
    color: var(--bg-color);
    z-index: 1;
    overflow: hidden;
    transition: .5s;

}

.btn-box .btn:hover {
    color: var(--main-color);
}



.btn-box .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--bg-color);
    z-index: -1;
    transition: .5s;
}

.btn-box .btn:hover::before {
    width: 100%;
}

.btn-box.why-ser-sec{
    margin-left: 0rem;
}


.why-service-sec {
    margin-bottom: 10px;
    position: relative;
}

.why-service-sec::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(../images/solar.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: -1;
}



.service-section {
    margin-top: -10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.service-section .btn-box {
    display: block;
    margin-top:80px
}
.service-section .btn-box .btn{
    margin-top: 50px;
    margin-left: 122%;
}

.service-content {
    max-width: 40%;
    padding-bottom: 5%;

}

.service-content h2 {
    font-size: 3rem;
    font-weight: bold;
    text-transform: uppercase;
}

.service-content p {
    margin-top: 0rem;
    font-size: 1.5rem;
    color: var(--text-color);
    text-align: justify;
}

.service-icons .btn-box {
    margin-left: -130px;
}
.service-icons {
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap to the next line */
    justify-content: space-between; /* Space out the items evenly */
}

.service-icon-item {
    display: flex;
    flex-direction: column; /* Arrange icon and text vertically */
    align-items: center; /* Center icon and text */
    margin: 1rem; /* Space between items */
    text-align: center; 
    width: calc(50% - 2rem); 
}

.icon-circle-s {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px; /* Size of the circle */
    height: 60px; /* Size of the circle */
    border-radius: 50%; /* Make it circular */
    background-color: var(--main-color); /* Light background color */
    margin-bottom: 0.5rem; /* Space between icon and text */
}

.icon-circle-s i {
    font-size: 3rem; /* Size of the icon */
    color: var(--bg-color); /* Icon color */

}

.service-icon-item p {
    font-size: 1.2rem;
    color: var(--main-color); /* Purple text color */
    font-weight: 600;
}

.HQ-Service {
    background-color: var(--main-color); /* Purple background */
    color: white;
    padding: 2rem;
    display: flex;
    max-height: 50px;
    justify-content: center;
}

.content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 100%;
}

.text-section {
    max-width: 100%;
    margin-top: 20px;
    margin-left: 30px;
}

.text-section h3 {
    font-size: 1.8rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.service-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.icon-circle {
    background-color: transparent; /* Yellow background for icon */
    border: 1px solid yellow;
    color: yellow; /* Purple color for the icon */
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 1rem;
    margin-top: 15px; /* Adjust this value to move the icon down */
}


.service-text p {

    margin: 0;
    color: var(--bg-color);
    text-align: left;
}

.service-text p strong {
    display: block;
    font-size: 2rem;
    margin-bottom: 0.2rem;

}

.image-section {
    max-width: 50%;
}

.image-section img {
    margin: 90px 5rem;
    height:70%;
    border-radius: 8px;
}

/* Services html design */

.work-count-section {

    text-align: center;
    padding: 6rem 2rem;
    height: 30%;
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7));
}

.work-counts {
    display: flex;
    padding: 5%;
    justify-content: center;
    gap: 30rem;
}

.count-item {

    color: var(--main-color);
}

.count-item h3, i{
    font-size: 5.5rem;
    justify-content: space-between;
    font-weight: bold;
    color: var(--accent-color);
}

.count-item p {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-color);
}


/* General Section Styling */
#trusted-brands {
    position: relative; /* Position the section for overlay */
    padding: 50px 20px;
    background-image: url(../images/brandsback.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    border-radius: 0px;
    margin: 0px auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: white; /* Ensure content text is visible */
    z-index: 1; /* Ensure content stays above the overlay */
    overflow: hidden; /* Prevent overlay from overflowing */
}

/* Semi-Transparent Overlay */
#trusted-brands::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Black overlay with 50% opacity */
    border-radius: 0px; /* Match the section's border-radius */
    z-index: -1; /* Place it behind the content */
}

  /* Section Title */
#trusted-brands h2 {
    font-size: 4rem;
    font-weight: 600;
    color: var(--second-bg-color);
    margin-bottom: 15px;
}

  /* Section Description */
#trusted-brands p {
    font-size: 2rem;
    color: var(--second-bg-color);
    margin-bottom: 30px;
}

.brand-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}



.brand {
    flex: 1 1 150px; /* Flexible layout */
    max-width: 200px;
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.brand:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

  /* Brand Logo */
.brand img {
    max-width: 100px;
    height: auto;
    margin-bottom: 10px;
}

  /* Brand Description */
.brand p {
    font-size: 0.9rem;
    color: var(--text-color);
    margin: 0;
}

  /* Call-to-Action */
.cta {
    margin-top: 20px;
}

.cta p {
    font-size: 1rem;
    color: var(--second-bg-color);
}

.cta a {
    color: var(--bg-color);
    text-decoration: underline;
    font-weight: 800;
    transition: color 0.3s;
}

.cta a:hover {
    color: var(--main-color);
    text-decoration: underline;
}


/* General Section Styling */
#solar-water-services {
    position: relative; /* Position the section for overlay */
    padding: 180px 20px;
    background-image: url(../images/solar-panels.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    margin: 0px auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: white; /* Ensure content text is visible */
    z-index: 1; /* Ensure content stays above the overlay */
    overflow: hidden; /* Prevent overlay from overflowing */
}

/* Semi-Transparent Overlay */
#solar-water-services::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Black overlay with 50% opacity */
    z-index: -1; /* Place it behind the content */
}

  /* Section Title */
#solar-water-services h2 {
    font-size: 4rem;
    font-weight: 600;
    color: var(--second-bg-color);
    margin-bottom: 10px;
}

  /* Section Description */
#solar-water-services p {
    font-size: 2rem;
    color: var(--second-bg-color);
        margin-bottom: 10px;
}

.services-pic {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}



.service {
    flex: 1 1 150px; /* Flexible layout */
    max-width: 300px;
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.service:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

  /* Brand Logo */
.service img {
    max-width: 200px;
    border-radius: 6px;
    height: auto;
    margin: 10px 0;
}

  /* Brand Description */
.service p {
    font-size: 0.9rem;
    color: var(--text-color);
    margin: 0;
}

  /* Call-to-Action */
.cta {
    margin-top: 20px;
}

.cta p {
    font-size: 1rem;
    color: var(--second-bg-color);
}

.cta a {
    color: var(--bg-color);
    text-decoration: underline;
    font-weight: 800;
    transition: color 0.3s;
}

.cta a:hover {
    color: var(--main-color);
    text-decoration: underline;
}

.service-btn {
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center;    /* Center vertically */
    margin-left: 60rem;
}

#preloader {
    background: #fff url(/images/preloader.gif) no-repeat center center;
    background-size: 25%;
    height: 100vh;
    width: 100%;
    position: fixed;
    z-index: 100;
    opacity: 1; /* Initially visible */
    transition: opacity 1s ease-out; /* Smooth fade-out effect */
}

/* Optional: If you want to add a background overlay */
#preloader.fade-out {
    opacity: 0; /* Make the preloader fade out */
}



/* Responsive adjustments */
@media (max-width: 1200px) {
    
    body {
    margin-top: 5%;
    }

    .heading {
        font-size: 4.5rem;
    }

    .service-text h2 {
        font-size: 3rem;
    }

    .work-counts {
        gap: 20rem;
    }

    .count-item h3, .count-item i {
        font-size: 4.5rem;
    }
}

@media (max-width: 992px) {

    .heading {
        font-size: 4rem;
    }

    .service-text h2 {
        font-size: 2.8rem;
    }

    .service-text p {
        font-size: 1.4rem;
        text-align: center;
    }

    .work-counts {
        gap: 15rem;
    }

    .count-item h3, .count-item i {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {

    .container-section {
        grid-template-columns: 1fr; /* Stack columns on smaller screens */
        padding: 15px;
    }

    .header-logo {
        margin-left: 25%;
        max-width: 200px; /* Reduce logo size */
        margin-bottom: 10px;
    }

    .header-section h1 {
        font-size: 2.5rem; /* Smaller font size for mobile */
    }

    .header-contact {
        font-size: 1.8rem; /* Smaller contact font size */
        margin-left: 16%;
    }
    .header-contact span {
        margin-left: 18%;
    }

    .images {
        margin-top: 0px;
    }

    .circle-background {
        width: 300px; /* Smaller circle for mobile */
        height: 300px;
    }


    .contact {
        margin-top: 13%;
    }
    .heading {
        font-size: 3.5rem;
    }

    
    .services-section {
        padding-top: 12rem;
        margin-top: 0%;
        background-color: var(--second-bg-color);

    }

    .process-steps {
        gap: 20px;
        flex-direction: column; /* Stack icons vertically on small screens */
    }

    .service-text-s {
        flex: 2;
        padding: 40px;
    }

    .service-section .btn-box .btn{
        margin-top: 0px;
        margin-left: 45%;
    }
    .service-description .btn-box .btn{
        margin-top: 0px;
        margin-left: 25%;
    }

    .service-description {
        flex-direction: column;
        margin-top: 4rem;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);

    }

    .service-image, .service-text {
        width: 100%;
        padding: 10px;
    }

    .service-section {
        flex-direction: column;
        align-items: center;
        padding: 1rem;
        margin-top: -30%;
    }

    .service-content {
        max-width: 100%;
        text-align: left;
        margin-bottom: 1rem;
        margin-top: -6rem;
    }

    .service-content h2 {
        font-size: 2rem;
        text-align: center;
        margin-top: -15px;
    }

    .service-content p {
        font-size: 1.0rem;
    }

    .service-icons {
        justify-content: center;
    }
    
    
    .service-text-s .sec-sec-h2 {
        text-align: center;
        font-size: 2rem;
        margin-top: 90px;
    }
    
    .service-text-s .sec-sec-h3 {
        text-align: center;
        font-size: 2rem;
        margin-top: 0px;
    }
    
    
    
    .service-text-s p {
        font-size: 1.2rem;
    }
    
    .service-desc p {
        font-size: 1.2rem;
    }

    .service-icon-item {
        width: 80%; /* Full width for each item on mobile */
        margin: 0.5rem 0; /* Adjust margin for mobile */
    }

    .icon-circle-s {
        width: 50px; /* Smaller size for mobile */
        height: 50px;
    }

    .icon-circle-s i {
        font-size: 2rem; /* Smaller icon size for mobile */
    }

    .service-icon-item p {
        font-size: 1rem;
    }

    .HQ-Service {
        padding: 1rem;
        flex-direction: column; /* Stack content vertically */
        max-height: none;
    }

    .content {
        flex-direction: column; /* Stack text and image sections vertically */
        align-items: center; /* Center-aligns content */
    }

    .text-section {
        margin: 0;
        text-align: center; /* Center text on mobile */
    }

    .text-section h3 {
        font-size: 2.5rem; /* Slightly smaller font for the heading */
    }

    .service-item {
        flex-direction: column; /* Stack icon and text vertically */
        align-items: center;
        text-align: center;
        margin-bottom: 1rem;
    }

    .icon-circle {
        margin-right: 0;
        margin-bottom: 0.5rem; /* Adds space below the icon */
    }

    .service-text p strong {
        font-size: 1.5rem; /* Adjust font size for smaller screens */
    }

    .image-section {
        max-width: 80%; /* Limits image width on smaller screens */
        margin: 1rem 0; /* Adds space above and below the image */
    }

    .image-section img {
        margin-top: 20%;
        margin-left: 16%;
        border-radius: 8px;
        width: 100%;
        height: auto; 
    }
    .service-icon-item p {
        font-size: 1.2rem;
        color: var(--main-color); /* Purple text color */
        font-weight: 600;
    }

    .work-counts {
        flex-direction: column;
        gap: 3rem;
    }

    .count-item h3, .count-item i {
        font-size: 3.5rem;
    }

    .btn-box.btn-mobile-only {
        display: block; /* Makes the button visible */
        margin: 2rem 0; /* Center-aligns the button on mobile */
        height: 60px;
        bottom: -10px;
    }

    .btn-box.why-ser-sec{
        margin-left: 9rem;
    }
    

    .btn-box {
        width: 100%; /* Full width for container */
    }
    #solar-water-services {
        padding : 120px 20px ;
    }
    #solar-water-services h2 {
        font-size: 2.5rem;

    }
    #solar-water-services p {
        font-size: 1.5rem;

    }

    .service-btn {
        
        margin-left: 0rem;
    }

    #trusted-brands h2 {
        font-size: 2rem; /* Smaller font for titles */
    }

    #trusted-brands p {
        font-size: 1rem; /* Smaller font for descriptions */
    }

    .brand-logos {
        flex-direction: column; /* Stack brand cards vertically */
        gap: 15px;
    }

    .brand {
        flex: 1 1 auto; /* Adjust flexible sizing */
        max-width: 70%; /* Use most of the screen width */
        margin: 0 auto; /* Center-align cards */
    }

    #preloader {
        background-size: 50%;
        height: 100vh;
        width: 100%;
        position: fixed;
        z-index: 100;
    
    }

}



