body {
    font-family: "Roboto", sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #222;
    background-color: #fcf9ee;

}

.slideshow {
    width: 100%;
    height: 500px;
    position: relative;
    overflow: hidden;
    background: #000;
    margin: 20px 0;
}

.slideshow-item {
    width: 100%;
    height: 100%;
    position: absolute;
    opacity: 0;
    animation: slideanim 14s infinite;
    pointer-events: none;
}

.slideshow-item:nth-child(1),
.slideshow-item:nth-child(1) img {
    animation-delay: 0s;
}

.slideshow-item:nth-child(2),
.slideshow-item:nth-child(2) img {
    animation-delay: 7s;
}

/* .slideshow-item:nth-child(3),
.slideshow-item:nth-child(3) img {
    animation-delay: 14s;
}

.slideshow-item:nth-child(4),
.slideshow-item:nth-child(4) img {
    animation-delay: 21s;
} */

.slideshow-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoom 14s infinite;
}

.slideshow-item-text {
    max-width: 50%;
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 20px 30px;
    font-family: Verdana, sans-serif;
}

.slideshow-item-text h5 {
    font-size: 22px;
    margin: 0 0 10px 0;
    color: #BFE2FF;
}

.slideshow-item-text p {
    font-size: 15px;
    margin-bottom: 10px;
}

@keyframes slideanim {
    25% {
        opacity: 1;
        pointer-events: auto;
    }

    50% {
        opacity: 1;
        pointer-events: auto;
    }

    75% {
        opacity: 0;
    }
}

@keyframes zoom {
    50% {
        transform: scale(1.3);
    }
}

@media screen and (max-width: 1100px) {
    .slideshow-item-text {
        max-width: 75%;
    }
}

@media screen and (max-width: 456px) {
    .slideshow-item-text {
        bottom: 0;
        left: 0;
        max-width: 100%;
    }

    .slideshow-item-text h5 {
        font-size: 18px;
    }

    .slideshow-item-text p {
        font-size: 13px;
    }
}


header {
    background-color: #008dd2;
    color: #fcf9ee;
    padding: 1rem 0;
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    top: 0;
}

.logo {
    width: 70px;
    height: auto;
}


nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    padding: 1rem;
    margin: 1rem;
    text-align: center;
    flex-wrap: wrap;
    margin: 0 1rem;
}

nav div {
    font-size: 1.2rem;
    text-transform: uppercase;
    margin: 0.5rem;
}

nav a {
    padding: 10px;
    color: #fcf9ee;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 5px;

}

nav a:hover {
    background: #499167;
    width: auto;

}

#fixed-phone {
    list-style: none;
    padding: 1rem;
    margin: 1rem;
    margin: 0 1rem;
    align-items: center;
}

#fixed-phone a {
    padding: 10px;
    color: #fcf9ee;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 5px;
}


#fixed-phone a:hover {
    background: #499167;
    width: auto
}



main {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background: #fcf9ee;
    margin-top: 2rem;
    overflow: hidden;
}


.cookie_notice {
    display: none;
    position: fixed;
    z-index: 9999999;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 15px;
    color: #fcf9ee;
    background: #008dd2;
    padding: 10px 20px;
    border-top: 4px solid #fcf9ee;
}



.cookie_btn {
    display: inline-block;
    margin: 10px 6px 4px 6px;
    text-decoration: none;
    position: relative;
    font-size: 13px;
    padding: 4px 12px;
    color: #FFF;
    font-weight: bold;
    text-transform: uppercase;
    background: #008dd2;
    border: 2px solid #fcf9ee;
}

.cookie_btn:hover {
    color: #fcf9ee;
}

.cookie_btn:after,
.cookie_btn:before {
    position: absolute;
    height: 2px;
    left: 50%;
    background: #fcf9ee;
    bottom: -6px;
    content: "";
    transition: all 280ms ease-in-out;
    width: 0;
}

.cookie_btn:before {
    top: -6px;
}

.cookie_btn:hover:after,
.cookie_btn:hover:before {
    width: 100%;
    left: 0;
}

section {
    margin-bottom: 2rem;
    padding: 2rem;
    background: #fcf9ee;
    border-radius: 10px;

}

#about {
    margin-top: 45px;
    text-align: center;
}

section h2 {
    margin-top: 0;
    font-size: 2.5rem;
    text-align: center;
    color: #0073e6;
    border-bottom: 2px solid #0073e6;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

section p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

#service a {
    color: #0073e6;
    text-decoration: none;
    border-radius: 5px;

}

#service a:hover {
    background: #499167;
    width: auto;
    color: #fcf9ee;
    padding: 0.1rem;

}

.serv-info:hover,
.why-info:hover {
    transform: scale(1.2);
    transition: transform 0.3s ease;
}

.serv-cont,
.why-cont {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
    gap: 20px;

}

.when-info:hover {
    background-color: #499167;
    color: #fcf9ee;
    cursor: pointer;

}

.serv-info,
.why-info {
    text-transform: uppercase;
    margin: 15px;
    border-radius: 10px;
    box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.4);
    position: relative;
    text-align: center;
    background-color: #008dd2;
    color: #fcf9ee;
}

.serv-info p {
    color: #fcf9ee;
}

.why-info p {
    color: #fcf9ee;
    text-transform: none;
}

.when-info,
.why-info {
    margin: 15px;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.4);
    position: relative;
    text-align: center;
}

summary {
    text-transform: uppercase;
    font-weight: bold;
    /* list-style: none; */
    text-align: center;
    vertical-align: middle;
}


#contact form {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    grid-auto-flow: row dense;
    gap: 20px;
    font-size: 1.5rem;
    text-align: center;
}

.info {
    font-size: 1rem;
}

#contact a {
    color: #fcf9ee;
    text-decoration: none;
    border-radius: 5px;

}

#contact button:hover {
    background: #499167;
    width: 100%;
    height: auto;
}

#contact button {
    font-family: "Roboto", sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    font-size: 1.2rem;
    border: none;
    background-color: #008dd2;
    color: #fcf9ee;
    border-radius: 10px;
    padding: 0.5rem;
}

footer {
    text-align: center;
    padding: 1rem 0;
    background: #008dd2;
    color: #fcf9ee;
    position: relative;
    bottom: 0;
    width: 100%;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1);
}

footer p {
    margin: 0;

}

footer a {
    color: #fcf9ee;
    text-decoration: none;
    border-radius: 5px;
}

footer a:hover {
    text-decoration: underline;
}

@media (max-width: 1100px) {
    nav {
        display: none;
    }

    #fixed-phone {
        margin-top: 1.5rem;
        width: 100%;
        height: 30px;
        position: fixed;
        text-align: center;
        align-items: center;
        display: flex;
        justify-content: center;
        background-color: #499167;
        border-radius: 10px;
        z-index: 1000;
    }

    .serv-cont,
    .why-cont {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: auto;
    }

    #contact form {
        display: grid;
        grid-template-columns: 1fr 1 fr;
        grid-template-rows: auto;
        grid-auto-flow: row dense;
        gap: 20px;
        font-size: 1.5rem;
        text-align: center;
    }

    #contact a {
        color: #fcf9ee;
        text-decoration: none;
        border-radius: 5px;
    }

    #contact a:hover {
        background: #499167;
        width: auto;
        color: #fcf9ee;
    }

}

@media (max-width: 820px) {

    header {
        background-color: #fcf9ee;
    }

    nav {
        display: none;
    }

    #fixed-phone {
        width: 100%;
        height: 30px;
        position: fixed;
        text-align: center;
        display: flex;
        justify-content: center;
        background-color: #499167;
        border-radius: 10px;
        z-index: 1000;
    }

    #contact form {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-auto-flow: row dense;
        gap: 20px;
        font-size: 1.5rem;
        text-align: center;
    }

}

@media (max-width: 768px) {

    header {
        background-color: #fcf9ee;
    }

    nav {
        display: none;
    }

    #fixed-phone {
        width: 100%;
        height: 30px;
        position: fixed;
        text-align: center;
        display: flex;
        justify-content: center;
        background-color: #499167;
        border-radius: 10px;
        z-index: 1000;
    }

    .serv-cont,
    .when-cont,
    .why-cont {
        display: grid;
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

}