html {
    scroll-behavior: smooth;
}

.alinhar{
    list-style-type: none;
}

ul > li::marker {
    font-weight: bold;
  }

ul {
    padding-left: 0;
}
ul li {
    margin-left: 20px;
    margin-bottom: 5px;
    margin-top: 5px;
}
ul ul {
    margin-left: 40px;
}


a {
    color: #222;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

.desktopSlide{
    display: block;
}

.mobileSlide{
    display: none;
}

body {
    line-height: 1.6;
    color: #333;
}

.container {
    width: 90%;
    margin: auto;
    overflow: hidden;
}

.header {
    position: relative;
    max-width: 100%;
    margin: auto;
    margin-bottom: -35px;
}

.slideshow-container {
    position: relative;
    max-width: 100%;
    max-height: 950px;
    margin: auto;
    overflow: hidden;
}

.mySlides {
    display: none;
    position: relative;
}

.mySlides img {
    width: 100%;
    height: auto;
    max-height: 970px;
    object-fit: cover;
}

.text {
    position: absolute;
    left: 50px;
    color: #222;
    padding: 20px;
    border-radius: 5px;
    top: 50%;
    transform: translateY(-50%);
}

.text h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: 100;
}

.text p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.text .btn {
    background: transparent;
    color: #222;
    padding: 10px 60px;
    border: 1px solid #222;
    border-radius: 25px;
    text-decoration: none;
}

.text .btn:hover {
    background: #A5335C;
    color: white;
    padding: 10px 60px;
    border: 1px solid transparent;
    border-radius: 25px;
    text-decoration: none;
}

.more-info .btn {
    background: transparent;
    color: #222;
    padding: 10px 60px;
    border: 1px solid #222;
    border-radius: 25px;
    text-decoration: none;
}

.more-info .btn:hover {
    background: #A5335C;
    color: white;
    padding: 10px 60px;
    border: 1px solid transparent;
    border-radius: 25px;
    text-decoration: none;
}

.dot-container {
    text-align: center;
    position: absolute;
    bottom: 100px;
    width: 100%;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 7px;
    background-color: #fff;
    opacity: 40%;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active {
    background-color: white;
    opacity: 100%;
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

.services {
    padding: 100px 0;
    background: #f9f9f9;
    text-align: center;
}

.services .btn {
    background: transparent;
    color: #222;
    padding: 10px 60px;
    border: 1px solid #222;
    border-radius: 25px;
    text-decoration: none;
    margin-top: 20px;
}

.services .btn:hover {
    background: #A5335C;
    color: white;
    padding: 10px 60px;
    border: 1px solid transparent;
    border-radius: 25px;
    text-decoration: none;
}

.services h2 {
    font-size: 2em;
    margin-bottom: 50px;
}

.service-item {
    display: inline-block;
    width: 30%;
    margin: 20px 1%;
    vertical-align: top;
}

.service-item img {
    width: 30%;
    margin-bottom: 20px;
}

.service-item h3 {
    font-size: 1.5em;
    margin-top: 10px;
}

.service-item p {
    font-size: 1em;
    margin-top: 10px;
}

.about {
    background: url('img/About.jpg') no-repeat center center/cover;
    height: 720px;
    padding: 50px 0;
    text-align: left;
    color: #fff;
    display: flex;
    align-items: left;
    justify-content: left;
}

.about h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color:#222
}

.about-content {
    border-radius: 5px;
    color:#222
}

.about-content p {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.about-content .btn {
    background: transparent;
    color: #222;
    padding: 10px 60px;
    border: 1px solid #222;
    border-radius: 25px;
    text-decoration: none;
    margin-top: 40px;
}

.about-content .btn:hover {
    background: #A5335C;
    color: white;
    padding: 10px 60px;
    border: 1px solid transparent;
    border-radius: 25px;
    text-decoration: none;
}

.appointment {
    background-color: #EBEBEB;
    height: 720px;
    padding: 50px 0;
    display: flex;
    align-items: left;
    justify-content: left;
}

.appointment-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    overflow: visible;
}

.appointment h3 {
    margin-bottom: 30px;
}

.appointment-details, .appointment-map {
    width: 100%;
    height: 400px;
}

.appointment-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.appointment-item img {
    margin-right: 10px;
}

.appointment-map iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(100%);
}

.appointment .btn {
    background: transparent;
    color: #222;
    padding: 10px 60px;
    border: 1px solid #222;
    border-radius: 25px;
    text-decoration: none;
    margin-top: 40px;
}

.appointment .btn:hover {
    background: #A5335C;
    color: white;
    padding: 10px 60px;
    border: 1px solid transparent;
    border-radius: 25px;
    text-decoration: none;
}

.appointment, .more-info, .testimonials {
    padding: 150px 0;
}

.appointment h2, .more-info h2, .testimonials h2 {
    font-size: 2em;
    margin-bottom: 20px;
    text-align: left;
}

.appointment h2{
    margin-bottom: 40px !important;
}

.appointment p {
    font-size: 1.2em;
    text-align: left;
}

.more-info details {
    margin-bottom: 10px;
    border: 1px solid black;
    padding: 15px 70px;
    border-radius: 30px;
    position: relative;
}

.more-info summary {
    font-size: 1.2em;
    cursor: pointer;
    position: relative;
    padding-right: 20px;
    list-style: none; /* Hide the default marker */
}

.more-info summary::after {
    content: '\276F'; /* Unicode character for right arrow */
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.more-info summary[open]::after {
    content: '\276E'; /* Unicode character for down arrow */
}

.more-info h2 {
    margin-bottom: 40px !important;
}

.more-info p {
    padding: 10px;
}

.testimonials blockquote {
    font-size: 1.2em;
    margin: 20px auto;
    padding: 10px 20px;
    background: #f0f0f0;
    border-left: 10px solid #333;
    width: 80%;
}

.testimonials cite {
    display: block;
    margin-top: 10px;
    font-size: 1em;
    text-align: right;
}

footer {
    background-image: url(img/fundo\ contacto.jpg);
    background-size: cover;
    color: #222;
    padding: 100px 0px 0px 0px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
}

footer .contact, footer .testimony {
    margin-bottom: 20px;
}

footer h3 {
    margin-bottom: 10px;
}

.footer-bottom h5 {
    font-size: 1.6em;
    margin-bottom: 10px;
    font-weight: 100;
}

footer form input, footer form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 30px;
    border: none;
    border-radius: 5px;
}

footer form .btn {
    background: transparent;
    color: #222;
    padding: 10px 60px;
    border: 1px solid #222;
    border-radius: 25px;
    text-decoration: none;
    margin-top: 40px;
}

footer form .btn:hover {
    background: #A5335C;
    color: white;
    padding: 10px 60px;
    border: 1px solid transparent;
    border-radius: 25px;
    text-decoration: none;
}

.footer-bottom {
    background: #D9D9D9;
    color: #222;
    text-align: center;
    padding: 80px 0;
    margin-top: 200px;
}

.footer-bottom .heart {
    color: red;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2em;
    }

    .header p {
        font-size: 1em;
    }

    .service-item {
        width: 100%;
        margin: 10px 0;
    }

    .testimonials blockquote {
        width: 100%;
    }

    .appointment-container {
        flex-direction: column;
    }

    .appointment-details, .appointment-map {
        width: 100%;
    }

    .appointment-map {
        margin-top: 20px;
        height: 300px;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    footer .contact, footer .testimony {
        width: 100%;
        margin-bottom: 20px;
    }
}

@media (max-width: 750px) {
    .appointment{
        padding: 0 0;
    }
    .appointment-map {
        margin-top: 20px;
        height: 200px;
    }

    .appointment .btn{
        margin-top: 30px;
    }

    .appointment-details{
        margin-bottom: 50px;
    }
}

@media (max-width: 480px) {
    .mySlides img {
        width: 100%;
        height: 100vh;
        /* max-height: 970px; */
        object-fit: cover;
    }
    
    .more-info {
        padding: 61px 0;
    }

    .header h1 {
        font-size: 1.5em;
    }

    .header p {
        font-size: 0.9em;
    }

    .header .btn {
        padding: 5px 10px;
    }

    .appointment {
        padding: 0 0;
    }

    .appointment-map {
        margin-top: 20px;
        height: 200px;
    }

    .appointment .btn {
        margin-top: 30px;
    }

    .appointment-details {
        margin-bottom: 50px;
    }

    .desktopSlide {
        display: none;
    }
    
    .mobileSlide {
        display: block;
    }

    ul li {
        margin-left: 5px;
        margin-bottom: 5px;
        margin-top: 5px;
    }

    ul ul {
        margin-left: 10px;
    }

    .footer-bottom p {
        padding: 15px;
    }


    .more-info summary {
        font-size: 12px;
    }

    .more-info details {
        padding: 15px 30px;
    }
}
