@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
}
main {
    flex: 1;
    font-family: "Poppins", sans-serif;
    background-color: #f4f4f4;
    /* height: 100vh; */
    min-height: calc(100vh - 60px);
    /* margin-bottom: 30px; */
    /* height: calc(100% - 20px); */
    
}
.navbar{
    height: 60px;
    color: #fff;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: black;
}
.navbar .logo {
    flex: 1;
    margin-left: 20px;
}
.navbar .logo-image {
    height: 80px;   /* Adjust height as needed */
    width: 120px;
    display: block;
}
.navbar .nav-links {
    display: flex;
    margin-right: 20px;
    gap: 20px;
}
.navbar .nav-links a{
    font-size: 1.2rem;
}
.navbar .nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}

.navbar .nav-link:hover {
    color: #ad1010; 
    text-decoration: underline;
}

.jumbotron {
    display: flex;
    max-width: 1200px; 
    background-color: #dadcdd; 
    padding: 20px; 
    text-align: center; 
    margin: 20px auto 30px; 
    border-radius: 8px; 
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.jumbotron h1 {
    font-size: 2em;
    margin-bottom: 10px; 
}

.jumbotron p {
    font-size: 1.2em; 
}


.solar-service {
    display: flex;
    align-items: flex-start; 
    justify-content: space-between; 
    padding: 40px; 
    background-color: #d4d2d2; 
    border-radius: 8px; 
    margin: 40px auto 20px; 
    max-width: 900px; 
}
.service-image {
    flex: 1; 
    margin-right: 20px; 
    transition: transform 0.3s ease;
}

.service-image img {
    width: 500px; /* Set a specific width for the image */
    height: auto; 
    border-radius: 8px; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-image img:hover {
    transform: scale(1.05); 
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}
.service-description {
    flex: 2; /* Take up 2 parts of the available space */
    margin-left: 20px;
}

.service-description h2 {
    color: #080808; 
}

.service-description p {
    margin-top: 10px;
    /* margin-bottom: 10px;  */
}

.service-description ul {
    list-style-type: disc;  /* Use bullet points */
    padding-left: 20px;  /* Indent the list */
    margin-top: 3rem;
    line-height: 1.6rem;
}




footer {
    height: 40px;               /* new changed*/
    background: #333;
    color: #fff;
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 15px; 
    margin-top: auto;
}
footer p{
    font-size: 1.2rem;
}
footer .social-links{
  margin-right: 10px;
  display: flex;
}
.social-links a {
    margin-left: 10px;
}
footer .social-links img{
  max-width: 25px;
  opacity: 0.8;
  transition: 0.3s;
}













@media (max-width: 768px) {
    .navbar {
        flex-direction: row; 
        height: auto;
        padding: 5px;
    }
    .navbar .nav-links .nav-link{
        font-size: 18px;
    }
    .navbar .nav-links {
        flex-direction: row; 
        margin-right: 5px;
        gap: 8px; 
    }

    .jumbotron {
        margin: 10px; 
        padding: 15px; 
    }

    .jumbotron h1 {
        font-size: 1.8em; 
    }

    .jumbotron p {
        font-size: 1em; 
    }

    .solar-service {
        display: flex;
        flex-direction: column; 
        align-items: center; 
        justify-content: center; 
        padding: 20px; 
    }

    .service-image {
        margin-right: 0; 
        margin-bottom: 20px; 
    }

    .service-image img {               /* new changed*/
        width: 100%; 
        max-width: 400px;
    }

    footer {
        flex-direction: row;               /* new changed*/
        align-items: flex-start; 
    }

    footer p {
        font-size: 0.9rem; 
    }
    footer .social-links{
        gap: 5px;
        margin-top: 10px;
    }
}


@media (max-width: 576px) {
    .navbar .nav-link {
        font-size: 14px; 
    }

    .jumbotron h1 {
        font-size: 1.5em; 
    }

    .jumbotron p {
        font-size: 0.9em;
    }

    .service-description h2 {
        text-align: center;
        font-size: 1.5em; 
    }

    .service-description p {
        text-align: center;
        font-size: 0.9em;
    }

    .service-description ul {
        padding-left: 15px; 
    }

    footer p {
        font-size: 0.9rem; 
    }

    footer .social-links a {
        margin-left: 5px; 
    }

    footer .social-links img {
        max-width: 20px;
    }
}