@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

body {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    display: flex;
    flex-direction: column;
}

.header nav {
    position: fixed;
    top: 8px;
    right: 20px;
    z-index: 1;
    cursor: pointer;
}

.header nav:before {
    content: "";
    background-color: var(--background-color);
    position: fixed;
    top: 8px;
    right: 20px;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    z-index: -1;
}

.header nav ul {
    display: none;
    background-color: #fff;
    padding: 20px;
}

.header nav ul li a {
    font-size: 30px;
    font-weight: 500;
    border-radius: 50px;
    transition: 0.3s;
    text-align: center;
    display: block;
    padding: 20px;
}

.header nav ul li a:hover {
    color: var(--background-color);
    background-color: var(--secondary-color);
}

.header .menu {
    width: 60px;
    height: 60px;
    align-self: flex-end;
    cursor: pointer;

}

.header nav label {
    display: flex;
    flex-direction: column;
}

.header .hamburguer {
    background-color: #000;
    position: relative;
    display: block;
    width: 30px;
    height: 2px;
    top: 29px;
    left: 15px;
    transition: 0.5s ease-in-out;
}

.header .hamburguer:before, 
.header .hamburguer:after {
    background-color: #000;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    transition: 0.2s ease-in-out;
}

.hamburguer:before {
    top:-10px;
}

.hamburguer:after {
    bottom: -10px;
}

.header input {
    display: none;
}

.header input:checked ~ ul {
    display: block;
}

.header input:checked ~ label .hamburguer {
    transform: rotate(45deg);
}
.header input:checked ~ label .hamburguer:before {
    top: 0;
    transform: rotate(90deg);
}

.header input:checked ~ label .hamburguer:after {
    transform: rotate(90deg);
    bottom: 0;
}

.hero {
    width: 100%;
    height: 70vh;
    background: url(../image/hero.png) no-repeat center bottom;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: end;
    z-index: -1;
    position: relative;
}

.services {
    padding: 50px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    background-color: var(--background-color);
}

.services-title {
    font-size: 50px;
    color: var(--primary-color);
}

.services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    padding: 0 70px;
    margin-bottom: 10px;
}

.service-item {
    width: 400px;
    background-color: var(--primary-color);
    border-radius: 15px;
    padding: 25px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    font-family: 'Roboto', serif;
    text-align: center;
    height: 320px;
}

.on {
    height: 630px;
}

.service-header {
    display: flex;
    align-items: center;
    border-bottom: solid 1px;
    gap: 15px;
    height: 65px;
    padding-left: 25px;
}

.service-icon {
    font-size: 30px;
}

.service-title {
    margin: auto;
    font-size: 22px;
    padding-bottom: 10px;
    text-align: center;
}

.service-description, .visible-description {
    line-height: 23px;
    font-size: 16px;
}

.service-description {
    display: none;
}

.visible {
    display: block;
}

.services .buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    gap: 25px;
}

.service-item .know-more {
    background-color: var(--background-color);
    padding: 2px 0;
    border-radius: 8px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    width: 80%;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
}

.services .media-button {
    padding: 10px 20px;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.professional-info {
    display: flex;
    justify-content: center;
    gap: 170px;
    padding: 100px;
    background-color: var(--secondary-color);
}

.professional-image {
    width: 400px;
    border-radius: 12px;
}

.professional-info .info {
    color: #fff;
    display: flex;
    flex-direction: column;
    padding-top: 30px;
    gap: 30px;
}

.professional-info .info .info-text {
    max-width: 500px;
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    text-align: justify;
    line-height: 23px;
}

.contact {
    background-color: var(--background-color);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 50px;
    padding: 70px 0;
}

.contact-logo {
    width: 450px;
    border-radius: 30px;
}

.contact-now {
    font-size: 30px;
}

.contact-buttons {
    display: flex;
    gap: 25px;
}

.contact-link {
    border-radius: 25px;
}

.media-button {
    width: 250px;
    padding: 10px;
    border: none;
    border-radius: 25px;
    background-color: var(--secondary-color);
    font-size: 18px;
    cursor: pointer;
    transition: 0.15s ease-in-out;
    color: #fff;
}

.media-button:hover {
    transform: scale(110%);
}

.whatsapp {
    font-size: 30px;
    display: flex;
    flex-direction: column;
    position: fixed;
    right: 12.5px;
    bottom: 30px;
    border-radius: 50%;
    transition: 0.1s ease-in-out;
}

.whatsapp:hover {
    right: 9px;
    bottom: 27.5px;
    font-size: 40px;
}

.whatsapp-link {
    align-self: flex-end;
    border-radius: 50%;
}

.container-whatsapp {
    color: #fff;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #25D366;
    transition: 0.2s ease-in-out;
}

.container-whatsapp:hover {
    width: 65px;
    height: 65px;
}

.main-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
    min-height: 50px;
    gap: 100px;
    padding: 70px 0;
    color: #fff;
}