/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: pointer;
}

/* General Body Style */
body {
    font-family: 'Roboto', sans-serif;
    background-color: white;
    cursor: ponter;
}

/* 🔹 Navigation Bar */
nav {
    background-color: #2c3e50;
    padding: 5px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo {
    color: white;
    font-size: 18px;
    cursor: pointer;
}

nav .nav-links {
    list-style: none;
    display: flex;
}

nav .nav-links li {
    margin-left: 20px;
}

nav .nav-links a {
    color: white;
    text-decoration: none;
    font-size: 15px;
    padding: 20px 20px;
}

nav .nav-links .dropdown:hover .dropdown-menu {
    display: block;
    margin: 10px;
}

nav .nav-links .dropdown-menu {
    display: none;
    list-style: none;
    margin: 5px;
    background-color: #34495e;
    position: absolute;
    padding: 10px;
    border-radius: 5px;
}

nav .nav-links .dropdown-menu li a {
    color: white;
    padding: 10px 20px;
}

nav .nav-links .dropdown-menu li a:hover {
    background-color: #1abc9c;
}

/* 🔹 Hero Section */
header {
    
    background: url(powersolutioncover.jpeg) no-repeat;
    background-size: cover; /* Makes the image cover the full area */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    height: 50vh; /* Makes the header take the full viewport height */
    width: 100%;
    color: white;
    text-align: left;
}

header h1 {
    font-family:Montserrat;
    font-size: 48px;
    top: 90px;
    margin-bottom:40px;
    cursor: pointer;
    font-weight: bold;
}

header p {
    font-family: Lora;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: red;
    padding: 0;
    font-size: 40px;
    margin-bottom: 1px;
    cursor: pointer;
    font-weight: bold;
}


/* 🔹 Content Section */
section.content {
    padding: 2px 2px;
    background-color: white;
    text-align: center;
    align-items: center;
}

section.content h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

section.content p {
    font-size: 18px;
    margin-bottom: 20px;
    text-align: center;
}

/* 🔹 Energy Section (Solar, Wind, Generator) */
/* General styles */
.energy-section {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 40px 0;
    padding: 20px;
}

h2 {
    font-size: 32px;
    margin-bottom: 20px;
    flex-direction: row-reverse;
}

h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

ul {
    list-style: none;
    padding: 0;
}

ul li {
    font-size: 18px;
    margin-bottom: 10px;
}

a.btn {
    display: inline-block;
    padding: 12px 20px;
    background-color: blue;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
}

/* Energy content (flexbox) */
.energy-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* Text content style */
.text-content {
    flex: 1;
    padding-right: 20px; /* Space between text and image */
    order: 1; /* Default position */
}

/* Image content style */
.image-content {
    flex: 1;
    padding-left: 20px; /* Space between image and text */
    order: 2; /* Default position */
}

.energy-image {
    max-width: 500px;
    height: 500px;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;

    &:hover{
        transform: scale(1.05);
    }
}

/* Alternate Text and Image Order */
#wind-power .energy-content {
    flex-direction: row-reverse; /* Swap position of text and image */
}

#generator-power .energy-content {
    flex-direction: row; /* Default, text on left and image on right */
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .energy-content {
        flex-direction: column; /* Stack text and image vertically on small screens */
    }

    .text-content, .image-content {
        padding: 10px 0;
        order: unset; /* Reset order for small screens */
    }

    .energy-image {
        width: 20%;
        height: 20%;
    }
}
/* 🔹 Service Cards */
    .services {
        text-align: center;
        padding: 40px;
        background-color: lightgrey;
    }

    .service-cards {
        display: flex;
        justify-content: center;
        gap: 20px;
    }

    .card {
        background: url(photoswg.png);
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s, box-shadow 0.3s;
        width: 250px;
        text-align: center;
    
         a {
        text-decoration: none;
        color: white;
        display: flex; flex-direction: column;
    }
    }

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    }

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: block;
        text-align: center;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .service-cards {
        flex-direction: column;
    }

    .service-cards .card {
        width: 80%;
        margin: 10px auto;
    }

    header h1 {
        font-size: 36px;
    }

    header p {
        font-size: 18px;
    }
}

/*____________________________whatsapp logo*/
.whatsapp-float{
    position: fixed;
    bottom: 40px;
    right: 30px;
    width: 70px;
    text-align: right;
    z-index: 10;
}
.whatsapp-float img {
    width: 100px;
    transition: 0.3s;
}


/* footer */

/* Footer Style */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 40px 20px;
    text-align: left;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer .row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-col {
    width: 22%;
    margin-bottom: 30px;
}

.footer-col h4 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #1abc9c;
    text-transform: uppercase;
}

.footer-col ul {
    list-style-type: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #1abc9c;
}

.footer-col .social-icons {
    display: block;
    gap: 15px;
}

.footer-col .social-icons li {
    list-style: none;
}

.footer-col .social-icons li a {
    color: #ecf0f1;
    font-size: 20px;
    transition: color 0.3s ease;
}

.footer-col .social-icons li a:hover {
    color: #1abc9c;
}

.footer h2 {
    text-align: center;
    margin-top: 20px;
    font-size: 18px;
    color: #ecf0f1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-col {
        width: 100%;
        text-align: center;
    }

    .footer-col h4 {
        font-size: 20px;
    }

    .footer-col ul li a {
        font-size: 14px;
    }

    .footer h2 {
        font-size: 16px;
    }
}



.expertise-section {
    text-align: center;
    padding: 40px 20px;
    background-color: #f9f9f9;
}

.expertise-section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.expertise-section h2 span {
    color: #005792;
    font-weight: bold;
}

.expertise-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    width: 300px;
    margin: 0 auto;
}

.expertise-item {
    background-color: #d4ed91;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.expertise-item:hover {
    transform: translateY(-10px);
}

.expertise-item img {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

.expertise-item h3 {
    font-size: 1.2em;
    color: #005792;
    margin: 0;
}

.project-execution {
    padding: 40px 20px;
    background-color: #f4f4f4;
    position: relative;
    text-align: center;
}

.project-execution h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #000;
}

.project-execution h2 span {
    color: #005792;
    font-weight: bold;
}

.execution-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.step {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s;
    text-align: left;
}

.step:hover {
    transform: translateY(-10px);
}

.step-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-number {
    background-color: #005792;
    color: #fff;
    font-size: 1.5em;
    padding: 10px 15px;
    border-radius: 4px;
    font-weight: bold;
}

.step h3 {
    color: #4CAF50;
    margin: 0;
    font-size: 1.2em;
}

.step p {
    margin-top: 10px;
    font-size: 0.95em;
    color: #333;
}

.background-image {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 0;
    opacity: 0.4;
    max-width: 1200px;
    max-height: 300px;
    object-fit: cover;
}

/* Media Queries for Mobile View */
@media (max-width: 768px) {
    header {
        height: 40vh;
        text-align: center;
    }

    header h1 {
        font-size: 28px;
        margin-bottom: 20px;
        top: 20px;
    }

    header p {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    header {
        height: 35vh;
        padding: 10px;
    }

    header h1 {
        font-size: 22px;
        margin-bottom: 15px;
    }

    header p {
        font-size: 18px;
    }
}




.areas-container {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap; /* Ensures responsiveness */
    justify-content: center; /* Aligns items in the center */
    gap: 20px; /* Space between items */
}

.areas-container h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.areas-container h2 span {
    color: #005792;
    font-weight: bold;
}


.area-box {
    background-color: #d4f4a6; /* Light green background */
    padding: 20px;
    text-align: center;
    width: 200px; /* Adjust width as needed */
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);


    &:hover{
        transform: translateY(-10px);
    }
    
    img{
        width:100px;
        height:100px;
    }
}