* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "stolzl", sans-serif;
}

body {
    background-color: #E7F0E9;
}


/* Header */


header {
    padding: 23px 60px;
    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/services/battery-installation-hero.webp');
    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";

}



/* Main Section */


.main {
    padding: 95px 30px;
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: start;
    gap: 35px;
}

.main>.col-1 {
    width: 60%;
}

.col-1>.services-1-picture {
    margin-bottom: 30px;
}

.col-1>.services-1-picture>img {
    width: 100%;
    border-radius: 15px;
}

.col-1 p {
    color: gray;
    font-size: 17px;
    line-height: 160%;
    margin: 15px 0px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
}

.col-1 h5 {
    color: #10271D;
    font-weight: 500;
    margin: 20px 0px;
    font-size: 24px;
    font-family: "stolzlMedium";

}

.col-1 .images {
    display: flex;
    gap: 5px;
}

.col-1 .images>img {
    width: 50%;
}

.col-1 video {
    max-width: 100%;
    width: 100%;
    border-radius: 20px;
}

.main>.col-2 {
    width: 30%;
    padding: 50px 30px;
    background-color: white;
    border-radius: 15px;
    position: sticky;
    top: 0;
    font-size: 18px;

}

.col-2 h5 {
    font-weight: 500;
    color: #10271D;
    margin: 20px 0px;
    font-size: 19px;
    font-family: "stolzlMedium", sans-serif;
}

.col-2 form input {
    display: block;
    width: 100%;
    border: none;
    outline: none;
    border-bottom: 1px solid rgb(182, 180, 180);
    padding: 10px;
    margin: 10px 0px;
}

.col-2 form>button {
    padding: 20px 40px;
    margin: 20px 0px;
    background-color: #81b43a;
    border-radius: 50px;
    color: white;
    border: none;
    outline: none;
    cursor: pointer;
    font-family: "stolzlMedium";
}

.col-2 form>button:hover {
    background-color: #74a62f;
}

.contact-info {
    display: flex;
    gap: 10px;
    align-items: start;
    margin: 20px 0px;
    font-size: 18px;
}

.contact-info>i {
    color: #E65E36;
}

.contact-info>a,
.contact-info>p {
    text-decoration: none;
    color: rgb(144, 144, 144);
    font-size: 18px;
    word-break: break-all;
}

.contact-info>a:hover {
    color: rgb(96, 95, 95);
}

/* Media Queries */


@media screen and (max-width:1024px) {
    header {
        padding: 23px 50px;
    }

    header>button {
        display: none;
    }

    header>.header-navbar {
        justify-content: space-between;
        width: 50%;
    }

    .hero-section {
        height: 350px;
    }
}

@media screen and (max-width:800px) {
    header {
        padding: 23px 40px;
    }

    .header-btn {
        display: none;
    }

    .hero-section {
        height: 300px;
    }

    .hero-section .title {
        font-size: 40px;
    }

    .main {
        flex-direction: column;
    }

    .main>.col-1 {
        width: 100%;
    }

    .main>.col-2 {
        width: 100%;
    }

    .copyright {
        flex-direction: column;
        gap: 20px;
    }
}

@media screen and (max-width:650px) {
    nav {
        display: none;
    }

    header .responsive-menu {
        display: block;
    }

    header,
    .hero-section {
        padding: 30px 40px;
    }

    .hero-section {
        height: 250px;
    }

}

@media screen and (max-width:450px) {

    header,
    .hero-section {
        padding: 20px 30px;
    }

    .hero-section .title {
        font-size: 30px;

    }

    .col-2 form>button {
        padding: 10px;
    }

    .main {
        padding: 95px 20px;
    }
}