* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "stolzl", sans-serif;
}

body {
    background-color: #E7F0E9;
}


/* Header */


header {
    padding: 23px 66px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.company-logo img {
    width: 100px;
    cursor: pointer;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 21px;
}

nav>a,
nav div.services-container a {
    font-family: "stolzlRegular";
    color: black;
    text-decoration: none;
    font-size: 15px;
    position: relative;
}

nav a.active::after {
    content: '';
    display: inline-block;
    width: 100%;
    height: 2px;
    background-color: black;
    position: absolute;
    left: 0;
    bottom: -6px;
}

nav a::after,
.services-container>a::after,
.tooltip a::after {
    content: '';
    display: block;
    width: 0%;
    height: 2px;
    background-color: black;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: width 0.4s ease;
}

.tooltip a::after {
    background-color: white;
}

nav>a:hover::after,
.services-container>a:hover::after,
.tooltip a:hover::after {
    width: 100%;
}

/* Tooltip content */
.services-container {
    position: relative;
}

.services-container>a {
    text-decoration: none;
    color: #090601;
    font-size: 15px;
}

.services-container .tooltip {
    max-width: 350px;
    display: none;
    position: absolute;
    margin-top: 3px;
    left: 0;
    background-color: #090601;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px 50px;
    border-radius: 10px;
    z-index: 1;
}

.services-container:hover .tooltip {
    display: block;
}

.tooltip a::after {
    background-color: white;
}

.tooltip a {
    display: block;
    color: #E0E2E0 !important;
    margin: 30px 0px;
    text-decoration: none;
    position: relative;
    text-wrap: nowrap;
}

header .responsive-menu {
    text-decoration: none;
    color: black;
    display: none;
}

header .header-btn {
    text-decoration: none;
    background-color: #8cbf44;
    padding: 14px 43px;
    border-radius: 30px;
    outline: none;
    border: none;
    cursor: pointer;
    text-align: center;
    color: white;
    font-family: "stolzlMedium";

    font-size: 13px;
    overflow-wrap: break-word;
    line-height: 170%;

}

header .header-btn:hover {
    background-color: #689030;
}


/* Hero Section */


.hero-section {
    background-image: url('../assets/images/hero-section-bg-image.webp');
    background-position: 0 -370px;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 25px 50px;
    height: 400px;

}

.hero-section>div {
    max-width: 1300px;
    margin: 0px auto;
    max-height: 400px;
    min-height: 250px;
    text-align: left;
    display: flex;
    align-items: center;

}

.hero-section .title {
    font-size: 57px;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    font-family: "stolzlRegular";
    margin-left: 20px;

}


/* Section-1:Power Servise */


.sectiion-1 {
    background-color: #3A7159;
}

.section-1-data {
    max-width: 1300px;
    margin: 0px auto;
    color: #FAFCFA;
    padding: 130px 60px;
}

.section-1-data span {

    font-size: 13px;
    letter-spacing: 2px;
    font-family: "stolzlRegular";

}

.section-1-data h2 {
    font-size: 57px;
    line-height: 110%;
    font-family: "stolzlRegular";
    margin: 15px 0px;
}

.section-1-data .intro {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 10px;
}

.section-1-data .intro h2,
.section-1-data .intro .intro-des {
    width: 50%;
}

.section-1-data .intro .intro-des {
    padding: 10px 20px;
}

.section-1-data .intro .intro-des p {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    color: lightgray;
    line-height: 160%;
    margin: 20px 0px;
    font-size: 17px;

}

.services {
    margin: 15px 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.services .service {
    width: 24%;
    padding: 20px 20px;
    border-right: 1px solid lightgray;
}

.services .service:last-child {
    border-right: none;
}

.services .service>i {
    font-size: 50px;
}

.services .service>h3 {
    font-size: 22px;
    margin: 40px 0px;
    font-family: "stolzlRegular";
}

.services .service>a {
    text-decoration: none;
    color: white;
    font-family: "stolzlRegular";
    font-size: 15px;
}

.services .service a::before {
    content: "Read More";
    font-size: 15px;

    display: inline-block;
    width: 0%;
    overflow: hidden;
    white-space: nowrap;
    transition: width 0.5s ease;
    vertical-align: middle;
}

.services .service a:hover::before {
    width: 50%;
}


/* Section -2 */


.section-2 {
    padding: 130px 70px;
}

.section-2-data {
    max-width: 1290px;
    margin: 0 auto;
    text-align: center;
    color: black;
    display: flex;
    gap: 90px;
    align-items: center;
}

.section-2-data>.image {
    width: 50%;
    max-width: 500px;
    max-height: 650px;
    position: relative;
}

.section-2-data .image>img {
    width: 100%;
    border-radius: 10px;
}

.section-2-data .image>p {
    background-color: #30584C;
    font-size: 35px;
    font-family: "stolzlMedium";
    color: white;
    max-width: 300px;
    padding: 30px;
    border-radius: 10px;
    position: absolute;
    bottom: 4px;
    right: 0;
    z-index: 10;
}

.section-2-detail {
    width: 50%;
    padding: 10px 20px;
    text-align: left;
}

.section-2-detail>span {

    font-size: 13px;
    letter-spacing: 2px;
    color: #10271D;
    font-family: "stolzlRegular";

}

.section-2-detail h2 {
    font-size: 55px;
    line-height: 110%;
    font-family: "stolzlRegular";
    margin: 15px 0px;
    color: #10271D;
}

.section-2-detail p {
    color: gray;
    line-height: 160%;
    margin-bottom: 20px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 17px;

}

.section-2-detail .records {
    display: flex;
    text-align: left;
    gap: 80px;
}

.section-2-detail .records .record .country,
.section-2-detail .records .record .projects {
    color: #10271D;
    font-size: 19px;
    font-family: "stolzlRegular";
    display: block;
}

.section-2-detail .records .record .numbers {
    color: #10271D;
    font-size: 70px;
    font-family: "stolzlMedium";
    display: block;
}


/* Section-3:partners */

.section-3 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1300px;
    margin: 0 auto;
}

.section-3>.partner {
    width: 16%;
}

.section-3>div>img {
    width: 100%;
    cursor: pointer;
    opacity: 10%;
}

.section-3>div>img:hover {
    opacity: 100%;
}


/* Section-4:Portfolio  */


.section-4 {
    max-width: 1290px;
    margin: 50px auto;
    color: #10271D;
    padding: 37px 70px;
}

.section-4 .intro {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.section-4 .intro span {
    font-family: "stolzlMedium";

    font-size: 13px;
    letter-spacing: 2px;
    color: #10271D;
}

.section-4 .intro h2 {
    font-size: 57px;
    line-height: 110%;
    font-family: "stolzlRegular";

    margin: 15px 0px;
    color: #10271D;
}

.section-4 .intro p {
    color: gray;
    line-height: 160%;
    margin-top: 70px;
    max-width: 500px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 17px;


}

.section-4 .intro a {
    text-decoration: none;
    color: #10271D;
    font-family: "stolzlRegular";
    font-size: 15px;
    margin-top: 20px
}

.section-4>.portfolio-images {
    display: flex;
    margin: 40px 10px;
    gap: 30px;
}


.portfolio-images .portfolio {
    width: 45%;
    position: relative;
}

.portfolio img {
    width: 100%;
    object-fit: cover;
    border-radius: 20px;
    cursor: pointer;
    max-height: 450px;
}

.portfolio-description {
    position: absolute;
    bottom: 5%;
    left: 10%;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    transform: translateX(-50px);
}

.portfolio:hover .portfolio-description {
    opacity: 1;
    transform: translateX(0);
}

.portfolio-description span {
    display: block;
    background-color: rgba(31, 36, 46, 0.954);
    color: white;

    padding: 6px;
    font-size: 20px;
    width: max-content;
    margin-bottom: 8px;
    border-radius: 10px;
}

/* Section -5 */


.section-5 {
    padding: 0px 40px;
    max-width: 1290px;
    margin: 0 auto;
    text-align: center;
}

.section-5>span {
    font-size: 14px;
    font-family: "stolzlMedium";
    color: #10271D;

}

.section-5 h2 {
    font-size: 55px;
    font-family: "stolzlRegular";
    margin: 10px 0;
    color: #10271D;

}

.trending-items {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin: 30px 10px;
}

.trending-items .item {
    display: block;
    width: 25%;
    max-width: 300px;
    max-height: 460px;
    padding: 15px 0px;
    text-decoration: none;
    border-radius: 20px;
    color: black;
    transition: boxshadow 0.3s ease;
}

.trending-items .item:hover {
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.trending-items .item .items-hover-icons {
    display: none;
    position: absolute;
    bottom: 50%;
    left: 40%;
}

.trending-items .item .items-hover-icons i {
    background-color: white;
    padding: 6px;
    margin: 0px 3px;
    font-size: 23px;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.trending-items .item .items-hover-icons i:hover {
    color: #E0A300;
    transform: translateY(-5px);
}

.trending-items .item .item-detail {
    padding: 20px 0 10px 0;
}

.trending-items .item .item-detail>h3 {
    margin: 8px 0px;
    font-family: "stolzlRegular";
    font-size: 19px;

}

.trending-items .item:hover .items-hover-icons {
    display: block;
}

.trending-items .item>.img {
    background-color: #FCFBF9;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.trending-items .item .img>img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.trending-items .item .img>img:hover {
    transform: scale(1.10);
}


/* Section-6:Intsllation */

.section-6 {
    background-color: #3B715A;
    margin-top: 200px;
    padding: 37px 70px;
}

.section-6-data {
    color: white;
    display: flex;
    justify-content: space-between;
}

.section-6-data>.img {
    width: 60%;

}

.section-6-data>.img>img {
    width: 100%;
    object-fit: cover;
    height: 90vh;
    max-height: 700px;
    position: relative;
    top: -150px;
    left: -70px;
    border-radius: 10px;
}

.section-6-detail {
    padding-left: 50px;
    width: 40%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: start;
}

.section-6-detail span {

    font-size: 13px;

}

.section-6-detail h2 {
    font-size: 53px;
}

.section-6-detail p {
    font-size: 17px;
    color: #C7CCCA;
    line-height: 170%;
    word-spacing: 1px;
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
}

.section-6-detail a {
    text-decoration: none;
    background-color: transparent;
    color: white;
    border-radius: 50px;
    outline: none;
    border: 2px solid rgb(206, 203, 203);
    cursor: pointer;
    padding: 16px 37px;
    font-family: "stolzlRegular";
    font-size: 14px;
}

.section-6-detail a:hover {
    background-color: rgb(206, 203, 203);
    color: black;
}

.section-6-part-2 {
    max-width: 1290px;
    margin: 10px auto;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-6-part-2 h3 {
    font-size: 40px;
    margin: 15px 0px;
}

.part-2-data {
    width: 50%;
}

.section-6-part-2-video {
    width: 40%;
    border-radius: 20px;
    cursor: pointer;
}


/* Section-7:Latest News  */


.section-7 {
    max-width: 1290px;
    margin: 0 auto;
    margin-top: 100px;
    padding: 37px 70px 70px 70px;
    color: #10271D;
    text-align: center;
}

.section-7>span {

    font-size: 13px;
    letter-spacing: 2px;
    font-family: "stolzlMedium";
    color: #10271D;

}

.section-7 h2 {
    font-size: 55px;
    line-height: 110%;
    font-family: "stolzlRegular";
    margin: 15px 0px;
    color: #10271D;
}

.section-7 .latest-news {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.latest-news .news {
    background: white;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    width: 33%;
    max-width: 350px;
}

.latest-news .news img {
    width: 100%;
    max-height: 210px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.latest-news .news:hover img {
    transform: scale(1.1);
}

.latest-news .news .news-content {
    padding: 36px;
    text-align: left;
}

.latest-news .news .news-content .category {
    color: #10271D;
    font-size: 13px;
    display: block;
}

.latest-news .news .news-content .category:hover {
    color: #285d46;
}

.latest-news .news .news-content h3 {
    font-size: 28px;
    color: #10271D;
    margin-top: 8px;
    font-family: "stolzlRegular";

}

.latest-news .news .news-content h3:hover {
    color: #285d46;
}

.latest-news .news .date {
    background: #10271D;
    color: white;
    padding: 10px 15px;
    text-align: center;
    position: absolute;
    right: 10px;
    bottom: 150px;
    border-radius: 5px;
}

.latest-news .news .date .day {
    font-size: 33px;
    font-family: "stolzlRegular";
    font-weight: 400;
    display: block;

}

.latest-news .news .date .month {
    font-size: 12px;
    text-transform: uppercase;
    font-family: "stolzlRegular";

}

.section-7>button {
    background-color: #80AA45;
    padding: 20px 40px;
    border: none;
    border-radius: 50px;
    color: white;
    font-size: 14px;
    margin: 30px 0;
    cursor: pointer;
}

.section-7>button:hover {
    background-color: #658932;
}


/* Media Queries */


@media screen and (max-width:1024px) {
    .header-btn {
        display: none;
    }

    header>.header-navbar {
        justify-content: space-between;
        width: 50%;
    }

    .hero-section {
        height: 350px;
        background-position: center;

    }

    .section-1-data .intro {
        flex-direction: column;
    }

    .section-1-data .intro h2,
    .section-1-data .intro .intro-des {
        width: 100%;
    }

    .services {
        flex-wrap: wrap;
    }

    .services .service {
        width: 30%;
    }

    .section-2-data {
        flex-direction: column;
    }

    .section-2-data>.image {
        /* width: 100%; */
        max-width: 450px;
        max-height: 500px;
    }

    .section-2-detail {
        width: 100%;
    }

    .section-4 .intro {
        flex-direction: column;
    }

    .section-6-data,
    .section-6-part-2 {
        flex-direction: column;
        gap: 20px;
    }

    .section-6-data>.img>img {
        position: static;
    }

    .section-6 {
        margin-top: 0;
    }

    .section-6-detail {
        padding-left: 0px;
    }

    .section-6-data>.img,
    .section-6-detail,
    .part-2-data,
    .section-6-part-2-video {
        width: 100%;
    }

    .section-7 .latest-news {
        flex-wrap: wrap;
    }

    .latest-news .news {
        width: 47%;
    }

}

@media screen and (max-width:800px) {
    nav {
        display: none;
    }

    .header-btn {
        display: none;
    }

    .hero-section {
        height: 300px;
    }

    .hero-section .title {
        font-size: 40px;
    }

    header .responsive-menu {
        display: block;
    }

    .hero-section,
    .section-1-data,
    .section-2,
    .section-6 {
        padding: 40px 40px;
    }

    .services .service {
        width: 45%;
        border-right: none;
    }


    .section-2-data .image>p {
        padding: 10px;
        font-size: 25px;
        max-width: 350px;
    }

    .section-3>.partner {
        width: 30%;
    }

    .trending-items {
        margin: 10px 0px;
    }

    .trending-items {
        flex-wrap: wrap;
    }

    .trending-items .item {
        width: 30%;
    }

    .section-4 {
        margin: 0 auto;
    }

    .section-4 .intro p {
        margin-top: 0;
    }

    .section-7 .latest-news {
        flex-direction: column;
    }

    .latest-news .news {
        width: 100%;
    }
}

@media screen and (max-width:650px) {
    header {
        padding: 30px 40px;
    }

    .hero-section {
        height: 250px;
        background-position: 0 50px;

    }

    .services .service {
        border-right: none;
        padding: 10px;
    }

    .services .service>h3 {
        font-size: 20px;
    }

    .section-1-data h2 {
        font-size: 50px;
    }

    .section-1-data {
        padding: 80px 20px 10px;
    }

    .section-2-data>.image {
        width: 100%;
        max-width: 300px;
        max-height: 300px;
    }

    .section-2-data .image>p {
        font-size: 20px;
        max-width: 300px;
        bottom: -48px;
    }

    .section-2-detail {
        padding: 0;
    }

    .hero-section,
    .section-2-detail h2,
    .section-4 .intro h2,
    .section-5 h2,
    .section-6-detail h2,
    .section-7 h2 {
        font-size: 40px;
    }

    .section-2,
    .section-4,
    .section-6,
    .section-7 {
        padding: 37px 40px;
    }

    .section-4>.portfolio-images {
        flex-direction: column;
    }

    .portfolio-images .portfolio {
        width: 100%;
    }

    .trending-items .item {
        width: 45%;
    }

    .section-6-part-2 h3,
    .latest-news .news .news-content h3 {
        font-size: 25px;
    }

}

@media screen and (max-width:450px) {

    header {
        padding: 20px 30px;
    }

    .company-logo img {
        width: 80px;
    }

    .hero-section .title {
        font-size: 28px;
        margin-left: 0;
    }

    .section-1-data h2 {
        font-size: 26px;
    }

    .section-1-data {
        padding: 80px 20px;
    }

    .section-1-data .intro .intro-des {
        padding: 10px 0px;

    }

    .services {
        flex-direction: column;
    }

    .services .service {
        width: 100%;
        padding: 0px;
        border-bottom: 1px solid lightgray;
    }

    .section-2-detail h2,
    .section-4 .intro h2,
    .section-5 h2,
    .section-6-detail h2,
    .section-7 h2 {
        font-size: 25px;
    }

    .section-2-data .image>p {
        font-size: 20px;
    }

    .section-2-detail .records {
        gap: 20px;
    }

    .section-2-detail .records .record .numbers {
        font-size: 45px;
    }

    .hero-section,
    .section-2,
    .section-4,
    .section-6,
    .section-7 {
        padding: 37px 20px;
    }

    .section-3>.partner {
        width: 50%;
    }

    .trending-items {
        flex-direction: column;
        gap: 0;
    }

    .trending-items .item {
        width: 100%;
    }

    .section-6-part-2 h3,
    .latest-news .news .news-content h3 {
        font-size: 20px;
    }

}