
/* General Styles */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    height: 100%;
    background-color: #f4f4f9; /* Light background color */
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px; /* Adjust the padding for overall positioning */
    background: #00bcd4; /* Light blue background */
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar .logo {
    margin-left: 20px; /* Add space between logo and edge */
}

.navbar .logo h1 {
    font-size: 28px;
    margin: 0;
    letter-spacing: 2px;
    font-weight: bold;
    color: #fff;
}

.menu {
    display: flex;
    align-items: center;
    margin-right: 20px; /* Adjust menu alignment */
}

.menu ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.menu a {
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.menu a.active {
    color: #f0c040; /* Highlight active link */
    font-weight: bold;
    border-bottom: 2px solid #f0c040;
}

.menu a:hover {
    color: #ffee58;
    letter-spacing: 1.5px;
}

/* Hamburger Icon */
    .hamburger {
        display: none;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        margin-right: 20px;
    }

    .hamburger div {
        width: 30px;
        height: 4px;
        background-color: #f0c040;
        border-radius: 5px;
        transition: transform 0.3s ease, background-color 0.3s ease;
    }

    .hamburger:hover div {
        background-color: #fff;
    }

/* Hero Section */
.hero-section {
    background: url('homeimg/solar.jpg') no-repeat center center;
    background-size: cover;
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-text {
    text-align: center;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    max-width: 800px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.hero-text h2 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero-text p {
    font-size: 20px;
    line-height: 1.6;
    color: #555;
}

.hero-text button {
    background-color: #00bcd4;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.hero-text button:hover {
    background-color: #008c9e;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    .navbar {
        padding: 15px 30px;
    }

    .navbar .logo h1 {
        font-size: 26px;
    }

    .menu ul {
        gap: 25px;
    }

    .hero-text h2 {
        font-size: 40px;
    }

    .hero-text p {
        font-size: 18px;
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }

    .menu {
        display: none;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background: #111212;
        padding: 10px 0;
        text-align: center;
    }

    .menu.open {
        display: flex;
        flex-direction: column;
        gap: 20px;
        animation: slide-down 0.3s ease forwards;
    }

    @keyframes slide-down {
        from {
            transform: translateY(-20%);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    .menu ul {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .menu a {
        font-size: 20px;
    }

    .hamburger {
        display: flex;
    }

    .hero-text h2 {
        font-size: 30px;
    }

    .hero-text p {
        font-size: 16px;
    }
}

/* Mobile View */
@media (max-width: 480px) {
    .navbar {
        padding: 15px 10px;
    }

    .menu ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .hero-text h2 {
        font-size: 28px;
    }

    .hero-text p {
        font-size: 14px;
    }

    .hero-text button {
        padding: 8px 16px;
        font-size: 14px;
    }
}



/* services CSS */


.solar-energy {
    max-width: 1200px;
    margin: auto;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

h1, h2 {
    font-size: 2rem;
    color: #2c3e50;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.services, .models {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.service-card, .model-card {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card h3, .model-card h3 {
    font-size: 1.5rem;
    color: #2980b9;
    margin-bottom: 10px;
}

.service-card p, .model-card p {
    font-size: 1rem;
    line-height: 1.6;
}

.service-card:hover, .model-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.cta-button {
    display: block;
    width: 200px;
    margin: 40px auto;
    padding: 15px;
    background-color: #27ae60;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #2ecc71;
}   



