body{
    margin: 0;
    line-height: 1.6;
    letter-spacing: 0.05em;
    font-family: 'Poppins' sans-serif;
}

h1 , h2, h3, h4{
    font-family: serif;
}


.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

p{ 
    font-size: 1.2em;
    color: #555;
    font-family: sans-serif;
}

.main-nav {
    background-color: transparent; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: background-color 0.5s ease, box-shadow 0.5s ease;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;    

}

.main-nav.scrolled{
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.main-nav .logo img {
    z-index: 2;
    height: 70px; 
}


.menu-mini {
    display: none; 
    background: none;
    border: none;
    cursor: pointer;
    padding: 15px;
    z-index: 1001;
}

.hamburger {
    width: 25px;
    height: 3px;
    background-color: #166792;
    position: relative;
    transition: all 0.3s ease-in-out;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background-color: #166792;
    transition: all 0.3s ease-in-out;
    left: 0;
}

.hamburger::before {
    transform: translateY(-8px);
}

.hamburger::after {
    transform: translateY(8px);
}

.menu-mini.open .hamburger {
    background-color: transparent; 
}

.menu-mini.open .hamburger::before {
    transform: rotate(45deg); 
}

.menu-mini.open .hamburger::after {
    transform: rotate(-45deg);
}


#menu-principal {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
   
}

#menu-principal > li {
    position: relative;
    padding: 0 15px;
    
}

#menu-principal > li > a {
    text-decoration: none;
    color: #166792;
    padding: 20px 0;
    display: block;
    font-size: 1.5em;
    cursor: pointer;
}

.btn-read-more{
    background-color: transparent;
    color: #ffffff;
    padding: 10px 25px;
    text-decoration: none;
    border-color: 2;
    border-radius: 50px;
    font-size: 1.2em;
    transition: background-color 0.3s ease;
    background-color: #166792;
    align-items: center;
    display: flex;
    gap: 10px;

}

.btn-read-more:hover{
    background-color: #a0d6f3;
    color:#ffffff;
}

.btn-read-more2{
    background-color: transparent;
    color: #ffffff;
    padding: 10px 25px;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    font-size: 1.2em;
    transition: background-color 0.3s ease;
    background-color: #166792;

   

}

.btn-read-more2:hover{
    background-color: #a0d6f3;
    color:#ffffff;
}



#menu-principal > li > a:hover {
    color: #a0d6f3 
}

#menu-principal ul {
    display: none; 
    position: absolute;
    top: 100%; 
    left: 0;
    min-width: 200px;
    background-color: #ffffff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    list-style: none;
    padding: 20px 0;
}


#menu-principal li:hover > ul {
    display: block;
}


#menu-principal ul li a {
    color: #166792;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 1.5em;
}


#menu-principal ul li a:hover {
    background-color: #afd8ee;
}


.main-nav > a {
    text-decoration: none;
    color: white;
    background-color: #afd8ee;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    margin-left: 20px;
    transition: background-color 0.3s;
   
}

.main-nav > a:hover {
    background-color: #afd8ee;
}

#menu-principal li > .seta:first-child::after {
    content: ''; 
    display: inline-block;
    width: 10px; 
    height: 10px;
    margin-left: 5px; 
    vertical-align: middle;
    background-image: url('../img/seta.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    
}

.hero-section {
    background-image: url('../img/banner.jpg');
    background-position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    color: #070707;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
   
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to right, rgba(4, 50, 88, 0.384), rgba(0, 0, 0, 0));
    z-index: 1;
}

.container-hero{
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto;
    padding-left: 180px;
}

.hero-content{
    z-index: 2;
    display:flex;
    justify-content: flex-start;
    width: 100%;
}

.hero-text{
   text-align: justify;
   max-width: 600px;

}

.hero-title  {
    font-size: 4em;
    margin-bottom: 20px;
    color: #fcfcfc;
    text-align: left;
}

.hero-subtitle {
    font-size: 1.3em;
    margin: 0;
    color: #fff
}

.about-us{
    padding: 20px;
    background-image: url('../img/fundo.png');
    background-position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    color: #070707;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;  
}

.about-us::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20%; 
    background: linear-gradient(to top, rgb(255, 255, 255), transparent);
    pointer-events: none; 
}


.container-about-us{
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;

}

.about-us-content{
    flex: 1;
    text-align: justify;
}

.about-text h2{
    font-size: 3em;
    color:#166792
}

.about-text{
    text-align: left;
    max-width: 600px;
    text-align: justify;
}

.assinatura img{
    width: 200px;
    height: auto;
}

.help{
    padding: 80px 20px;
    
}

.help-content{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    gap: 100px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.text-container{
    flex: 1;
    
}

.text-container h2{
    font-size: 2.5em;
    color:#0a5275;
   
}

.text-container p{
text-align: justify;
}

.carousel-wrapper{
    flex: 1;
    position: relative;
    max-width: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-container {    
    width: 100%;    
    overflow: hidden;
}

.carousel-track{
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    box-sizing: border-box;
    position: relative;

}

.carousel-slide img{
    width: 100%;
    display: block;
   
    
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%; 
    background-color: #5fafd6; 
    color: #fff; 
    text-align: center;
    padding: 20px 0; 
   
}

.caption-link {
    display: block; 
    text-decoration: none; 
    color: #fff; 
}

.caption-link h3 {
    margin: 0; 
    font-size: 1.2em;
}

.slide-caption:hover {  
    background-color: #0a5275; 
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    color:#166792;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 100;
    font-size: 24px;
    line-height: 1;
    border-radius: 50%;
    width: auto;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-button:hover {
    color:#a0d6f3;
}

.carousel-button.prev {
    left: -30px;
}

.carousel-button.next {
    right: -30px;
}

.hospitals-section {
    padding: 80px 20px;
    text-align: center;
    background-color:#2a7299;
}

.container-hospitals {
    max-width: 1140px;
    margin: 0 auto;
   
}

.hospital-title h2{
    font-size: 3em;
    color: #ffffff;
}

.hospital-title p{
    color: #fff;
    padding-bottom: 40px;
    font-size: 1.2em;
}

.hospital-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: center;
    padding-bottom: 30px;
    align-items: center;
}

.hospital-item {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 20px;
    flex-direction: column;
}


.hospital-icon-wrapper {
    min-width: 70px;
    height: 70px;
    background-color:#ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

.hospital-icon-wrapper img{
    max-width: 60%;
    max-height: 60%;
    object-fit: contain;
    display: block;
}

.hospital-item:hover .hospital-icon-wrapper {
    background-color:#5fafd6;
}

.hospital-icon-wrapper i {
    font-size: 1.5rem;
    color: #ffffff;
    padding-bottom: 5px;
}

.hospital-text h3 {
    font-size: 1.3em;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 5px;
    color: #ffffff;
}

.hospital-text p {
    font-size: 0.9em;
    margin: 0;
    color: #ffffff;
    text-align: justify;
    font-family: sans-serif;
}

.btn-read-more-hospital{
    background-color: transparent;
    color:#0a5275;
    padding: 10px 25px;
    text-decoration: none;
    border-color: 2;
    border-radius: 50px;
    font-size: 1em;
    transition: background-color 0.3s ease;
    background-color: #ffffff;

}

.btn-read-more-hospital:hover{
    background-color: #a0d6f3;
    color:#0a5275;
}

.testimonials {
    background-image: url('../img/fundo.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    text-align: center;
    padding: 80px 20px;
}

.testimonials h2 {
    font-size: 3em;
    margin-bottom: 40px;
    color: #166792;
    font-family: serif;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden; 
    border-radius: 8px;
}


.slider-wrapper {
    display: flex; 
    transition: transform 0.5s ease-in-out; 
}

.slide {
    flex: 0 0 100%; 
    box-sizing: border-box;
    display: flex;
    flex-direction: column; 
    align-items: center;   
    justify-content: center; 
    background: #ffffff;
    padding: 40px 30px;
    text-align: left;
    border-style:ridge;
    border-color: #dbdbdb3a;
}


.stars {
  color: #f4b400;
  font-size: 20px;
  margin-bottom: 10px; 
}
.slide p {
  font-size: 1.2em; 
  margin-bottom: 20px;
  color: #555; 
  text-align: center;
}
.slide h4 {
  margin: 0;
  font-weight: bold;
  color: #555;
}
.slide span {
  font-size: 0.9em;
  color: #777;
}


.slider-pagination {
    display: flex;
    justify-content: center;
    gap: 12px; 
    margin-top: 25px;
}

.pagination-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #cddbe2;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.pagination-dot.active {
    background-color: #166792;
}

.contact-section {
    font-family: sans-serif;
    background-color: #f8f9fa;
}

.contact-container {
    display: flex;
    align-items: center; 
    min-height: 500px; 
}

.contact-text {
    flex: 1; 
    padding-left: 100px ;
    box-sizing: border-box;
    
}

.contact-text h2 {
    font-size: 50px;
   
    color:#0a5275;
    line-height: 1.3;
    margin-bottom: 20px;
}

.contact-text p {
    font-size: 1em;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.contact-image img {
    width: 700px;
    height: 600px;
    object-fit: cover; 
    display: block;
}

.btn-contact{
    display: flex;
    gap: 30px;
}

.btn-read-more-contact{
    background-color: transparent;
    color: #ffffff;
    padding: 10px 25px;
    text-decoration: none;
    border-color: 2;
    border-radius: 50px;
    font-size: 1em;
    transition: background-color 0.3s ease;
    background-color: #166792;

}

.btn-read-more-contact:hover{
    background-color: #0b2d3f;
    color:#ffffff;
}

.btn-read-more-contact2{
    background-color: transparent;
    color: #166792;
    padding: 10px 25px;
    text-decoration: none;
    border-color: 2;
    border-radius: 50px;
    font-size: 1em;
    transition: background-color 0.3s ease;
    background-color: #a0d6f3;

}

.btn-read-more-contact2:hover{
    background-color: #0b2d3f;
    color:#ffffff;
}

main{
    background-image: url('../img/fundo.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
.about-us-section {
    background-image: url('../img/fundo-about-us.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    color: #070707;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
   
}

.about-us-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to right, rgba(24, 82, 129, 0.507), rgb(255, 255, 255));
    z-index: 1;
}

.container-about{
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-content{
    z-index: 2;
    display:flex;
    justify-content: flex-start;
    width: 100%;
}

.about-text{
   text-align: left;
   max-width: 600px;

}

.about-title  {
    font-size: 4em;
    margin-bottom: 20px;
    color:#ffffff;
}

.about-subtitle {
    font-size: 1.5em;
    margin: 0;
    color: #fff
}

.about-us-page-cirurgia{
    padding-top: 200px;
    background-position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    color: #567181;
    display: flex;
    align-items: center;
    justify-content: center;
    /* overflow: hidden; */
    position: relative;  
}

.about-us-page{
    padding: 20px;  
    background-position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    color:#567181;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;  
}

.about-images{
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    max-width: 500px;
    height: 500px;
    align-items: center;
}

.about-images .img-back{
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: auto;
    border-radius: 8px;
    z-index: 1;
    transform: rotate(-5deg);
}

.about-images .img-front{
    position:absolute;
    bottom: 0;
    right: 0;
    width: 80%;
    height: auto;
    border-radius: 8px;
    z-index: 2; 
    transform: rotate(5deg); 
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.container-about-us-page{
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-us-page-content{
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1200;
    margin: 0 auto;
    padding: 20px;
    
}

.about-us-page-text h2{
    font-size: 3em;
    color:#166792
}

.about-us-page-text{
    flex: 1;
    text-align: justify;
}

.mvv-section {
    padding: 80px 0;
    text-align: center;
    background-color: #fcfcfc;
    
    
}

.container-mvv{
   
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.mvv-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 50px;
    color: #0a5275;
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.mvv-card {
    background-color: transparent;
    border-radius: 10px;
    padding: 30px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.mvv-card:hover {
    transform: translateY(-5px);
    
}

.mvv-icon-wrapper {
    height: 80px;
    width: 80px;
    background-color:#0a5275;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px auto;
    flex-shrink: 0; 

}

.mvv-icon-wrapper img {
    width: 70%;
    height: auto;
}

.mvv-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #343a40;
}

.mvv-card p {
    font-size: 1rem;
    color: #6c757d;
}


.stats-section {
    padding: 80px 20px;
    text-align: center;
    background-color: #f0faff;
}


.container.text-center {
    max-width: 1200px;
    margin: 0 auto;
}


h4 {
    color: #777;
    text-transform: uppercase;
    font-size: 0.9em;
}

h1 {
    font-size: 3em;
    font-family: serif; 
    margin-bottom: 50px;
    color: #0a5275;
    text-align: center;
}


.stats-grid {
    display: flex;
    justify-content: space-around;
    gap: 30px;
}

.stat-item {
    flex-basis: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-item img {
    height: 80px; 
    margin-bottom: 15px;
}

.count.add-k::after {
    content: "K";
}


.stat-item .count {
    font-size: 3em;
    font-weight: bold;
    color:#0a5275; 
    margin: 0;
    position: relative;
    display: inline-block;
}

.stat-item .count .plus {
    font-size: 0.4em;
    position: absolute;
    top: 10px;
    left: 100%;
    transform: translateX(-50%);
    font-weight: bold;
    color: inherit;
    padding-left: 10px;
}

.stat-item p {
    font-size: 1.1em;
    color: #777;
    margin: 5px 0 0;
}

.gallery-carousel {
    padding: 50px 0;
    text-align: center;
    background-color: #fff;
    

}

.gallery-carousel h1{
    color: #0a5275;
}

.gallery-carousel p{
    font-size: 1.1em;
    color:#777;
    margin-bottom: 40px;
}

.carousel-wrapper {
    max-width: 90%; 
    margin: 0 auto; 
}

.carousel-container {
    overflow: hidden;
    border-radius: 10px;
 

}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;    
}

.gallery-photo img{
    width: 100%; 
    object-fit: cover; 
    margin-bottom: 5px;
    border-radius: 4px; 
    aspect-ratio: 3 / 4;
}

.gallery-photo {
    min-width: 20%; 
    box-sizing: border-box;
    padding: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-photo:hover {
    transform: scale(1.05); 
}

.carousel-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 25px; 
}

.carousel-btn {
    background-color: #0a5275;
    color: #ffffff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}


.carousel-btn:hover{
    color: #5fafd6;
}


.modal {
    display: none; 
    position: fixed;
    z-index: 9999;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
    color: #bbb;
}

.especialidade-destaque {
    color: #0a5275;
    font-weight: bold;
}

.especialidade-section {
    padding: 80px 20px;
    text-align: center;
}

.container-especialidade {
    padding-top: 20px;
    padding-bottom: 30px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #ceeaf8;
}

.especialidade-section h2 {
    font-size: 3em;
    margin-bottom: 15px;
    color: #0a5275;
}

.especialidade-section p {
    font-size: 1.3rem;
    color: #6c757d;
    margin-bottom: 70px;
}

.especialidade-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.cards {
    background-color: rgb(247, 247, 247);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    flex: 1 1 300px; 
    max-width: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.cards img {
    width: 100%;
    height: 300px; 
    object-fit: cover; 
    margin-bottom: 15px;
    border-radius: 4px; 
}

.cards h3 {
    font-size: 1.4em;
    color: #567181;
    margin-top: auto; 
}



.btn-read-more-especialidade{
    background-color: transparent;
    color: #ffffff;
    padding: 10px 15px;
    text-decoration: none;
    border-color: 2;
    border-radius: 50px;
    font-size: 1em;
    transition: background-color 0.3s ease;
    background-color: #5b97b8;

}

.btn-read-more-especialidade:hover{
    background-color: #a0d6f3;
    color:#ffffff;
}


.footer {
    background-color: #fff;
    padding: 60px 20px 20px 20px;
    color: #6c757d;
    border-top: 1px solid #e9e9e9;
    text-align: center;
}

.footer-section {
    margin-bottom: 40px;
    background-color: #fff;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
}


.logo-section {
    display: flex;
    justify-content: center;
    align-items: center;

}


.footer-logo img {
    max-width: 300px; 
    height: auto;
    
}


.contact-section {
    display: flex;
    flex-wrap: wrap; 
    justify-content: space-around; 
    align-items: center;
    
}

.contact-item {
    display: flex;
    align-items: center;
    text-align: left;
    max-width: 500px;
    gap: 20px;
}

.contact-item img {
    width: 30px; 
    height: 30px;
    margin-right: 15px;
}

.contact-item p {
    margin: 0;
    line-height: 1.6;
    font-size: 0.6em;
}

.contact-item a {
    color: #6c757d; 
    text-decoration: none;
}

.social-section {
    margin-top: 30px;
    text-align: center; 
    display: flex;
}



.social-icon img {
    width: 30px; 
    height: 30px; 
    vertical-align: middle; 
    opacity: 0.7; 
    transition: opacity 0.3s ease; 
}

.social-icon:hover img {
    opacity: 1; 
}

.footer-bottom {
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #6eafcf69;
    margin-top: 40px;
}

.footer-copy p {
    margin: 10px 0;
    font-size: 0.7em;
}

.footer-links a {
    color: #6c757d;
    text-decoration: none;
    margin: 0 10px;
    font-size: 0.7em;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #6c757d;
}

.title-footer{
    display: flex;
    align-items: center;
    font-size: 1.5em;
    
}

#link-title{
    padding-top: 20px;
}

#link-title2{
    padding-top: 50px;
}

.hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}


.hours-list li {
    display: flex;                 
    justify-content: space-between;
    padding: 8px 0;                
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    gap: 50px;
}


.hours-list li:last-child {
    border-bottom: none;
}


.hours-list .day {
    color:#0a5275;
    font-size: 0.8em;
}
.hours-list .time {
    color: #777;
    font-size: 0.8em;
    
}

.useful-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.useful-links li {
    margin-bottom: 8px;
}
.useful-links a {
    color: #777;
    text-decoration: none;
    font-size: 0.8em;
}
.useful-links a:hover {
    color: #0a5275;
}


.address-contact p {
    margin: 0 0 15px 0;
    line-height: 1.6;
    font-size: 0.8em;
}

.address-contact strong{
    color: #0a5275;
}

.contact-item{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cardiologia-images{
    padding-top: 40px;
    width: 100%;
    flex: 1;

}

.cardiologia-images img{
    width: 550px;
    height: auto;
    border-radius: 8px;
}

#especialidade-destaque{
    color: #0a5275;
}


.about-us-page2 .container-about-us-page2 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 90px 0;
}

.about-us-page-content2 {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
}

.about-us-page-text-2 {
    flex: 1;
   
    text-align: justify;
    color:#567181;
}

.cardiologia-images2{
    padding-top: 300px;
    width: 100%;
    flex: 1;

}

.cardiologia-images2 img{
    width: 550px;
    height: auto;
    border-radius: 8px;
}


.about-us-page-text-2 h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #0a5275;
}

.about-us-page-text a {
    text-decoration: none;
    color: #2a7299;
    transform: transition 0.3s ease;
}

.about-us-page-text a:hover {
    text-decoration: underline;
}

.subtitle {
    font-size: 1em;
    color:#0a5275;
    font-weight: bold;
    margin-top: 25px;
    margin-bottom: 15px;
}

.topicos-procedimentos {
    list-style: disc;   
    line-height: 1.6;
    color: #567181;
    text-align: justify;
    
}

.topicos-procedimentos li {
    margin-bottom: 8px;
}


.about-us-page-text-2 .info2 {
    margin-top: 30px;
    border-top: 1px solid #eee;
    padding-top: 30px;
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #555;
    
}

.info2{
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 0;

}

.info2 .subtitle{
    color:#0a5275;
    font-size: 1em;
    font-weight: bold;
    
}

.info2 a{
    text-decoration: none;
    color: #2a7299;
    transform: transition 0.3s ease;
}

.info2 a:hover {
    text-decoration: underline;
}



.about-us-page-2{
    margin-top: 100px; 
    padding: 90px 20px;
    background-position: center; 
    background-repeat: no-repeat;
    background-size: cover; 
    min-height: 100vh; 
    color: #567181;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;  

}

.contact-page{
    padding: 80px 20px;
    margin: 0 auto;
    background-color: #f0faff;

}

.container-contact-page{
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.title-page{
    align-items: center;
    display: flex;
    flex-direction: column;
    
}

.card-contact{
    border: 1px solid #88c6e6a2;
    background-color: #f0faff;
    padding: 15px;
    display: flex;
    flex-direction: column;
    width: 290px;
    border-radius: 8px;
    
}

.title-contact-page{
    display: flex;
    align-items: center;
    gap: 10px;
}

.title-contact-page img{
    width: 35px;

}

.title-contact-page .img-local{
    width:50px;
}

.title-contact-page .img-email{
    width: 50px;
    padding-top: 5px;
}

.title-contact-page h2{
    font-size: 1.8em;
    padding-top: 10px;
    color: #0a5275;
}

.info-contact-page{
    font-size: 1em;
    color: #555;
    display: flex;

}

.btn-contact-page{
    text-decoration: none;
    color: #0a5275;
    display: flex;
    gap: 5px;
    transition: background-color 0.3s ease;
 }

 .midia{
    text-decoration: none;
    color:#166792;
 }

ion-icon {
    padding-top: 5px;
}


.btn-contact-page:hover,
.btn-contact-page2:hover,
.btn-contact-page3:hover,
.midia:hover{
    color: #5fafd6;
}


.btn-contact-page2{
    padding-top: 50px;
    text-decoration: none;
    color: #0a5275;
    display: flex;
    gap: 5px;
    transition: background-color 0.3s ease;
 }

 .btn-contact-page3{
    padding-top: 25px;
    text-decoration: none;
    color: #0a5275;
    display: flex;
    gap: 5px;
    transition: background-color 0.3s ease;
 }

 .contact-form-inf {
    padding: 80px 20px;
    background-color: #ffffff;
  
}

.contact-content {
    display: flex;
    gap: 3rem;
    padding: 2.5rem;
    border-radius: 15px;
    overflow: hidden;
}


.contact-inf {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-top: 50px;
}

.contact-inf h2 {
    color: #0a5275; 
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-inf iframe {
    width: 100%;
    height: 100%; 
    border: none;
    border-radius: 10px;
}


.contact-form {
    flex: 1; 
}

.contact-form h2 {
    color: #0a5275;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 3em;
}

.contact-form p {
    color: #777; 
    margin-bottom: 2rem;
    line-height: 1.6;
    text-align: justify;
}

.contact-form p a {
    color: #3498db; 
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-form p a:hover {
    text-decoration: underline;
    color: #2980b9;
}


.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-page {
    width: 100%;
    padding: 10px 5px;
    border: none;
    border-radius: 0;
    background-color: transparent;
    border-bottom: 2px solid #74bce088;
    font-size: 0.95rem;
    color: #555;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    
}

.form-page::placeholder {
    color: #aaa;
}

.form-page:focus {
    outline: none;
    border-bottom-color: #3498db;
    box-shadow: 0 0 8px rgba(52, 152, 219, 0.2);
}

 label{
    color: #aaa;
    
}

#areaAgendamento{
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

#areaAgendamento.visivel {
  display: block; 
  opacity: 1; 
}

#btnMostrarForm{
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: sans;
    font-size: 1.2em;;

}


.faq-section {
    padding: 80px 20px;
    font-family: sans-serif;
    background-color: #fff;
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-header p {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.faq-header h2 {
    font-size: 3rem;
    color: #0a5275;
    font-family: serif;
    font-weight: normal;
    margin-top: 10px;
}


.faq-accordion {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px 40px;
}


.accordion-item {
    border-bottom: 1px solid #e0e0e0;
}

.accordion-header {
    background: none;
    border: none;
    padding: 20px 0;
    margin: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    color: #777;
    text-align: left;
    cursor: pointer;
    font-weight: 600;
}

.accordion-header .chevron {
    width: 20px;
    height: 20px;
    color: #555;
    transition: transform 0.3s ease-in-out;
}


.accordion-content {
   
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, padding 0.3s ease;
}

.accordion-content p {
    color: #777;
    line-height: 1.6;
    margin-bottom: 1rem;
    text-align: justify;
    font-size: 0.8em;
}

.accordion-content ul {
    color: #777;
    line-height: 1.6;
    margin-bottom: 1rem;
    text-align: justify;
    font-size: 0.8em;
}


.accordion-item.active .accordion-header .chevron {
    transform: rotate(180deg);
}

.accordion-item.active .accordion-content {
   
    max-height: 500px;
    padding-bottom: 20px;
}

.icon-btn {
    width: 25px;
    
}









@media (max-width: 1024px) {
   
    h1 {
        font-size: 2.8em;
    }
    h2 {
        font-size: 2.2em;
    }
    p {
        font-size: 1.1em;
    }

   
    #menu-principal > li > a {
        font-size: 1.2em;
    }
    .btn-read-more {
        font-size: 1em;
        padding: 8px 20px;
    }

   
    .hero-section {
        background-position: center;
    }
    .container-hero {
        padding-left: 40px;
        padding-right: 40px;
    }

    .help-content,
    .contact-container {
        flex-direction: column;
        gap: 40px;
        text-align: center;
        
    }

    .about-us-page, .about-us-page-cirurgia{
        height: auto;
        padding: 120px 0;
        
    }

    .contact-image {
        display: none;
    }

    .contact-text {
        padding-left: 0;
    }

    .gallery-photo {
        min-width: 33.33%;
    }
    
    .especialidade-cards {
        padding: 40px;
    }

    .footer .contact-section {
        gap: 30px;
    }

    .about-images {
        margin-top: 150px;
        margin-bottom: 40px;
    }

    .about-us-page-content{
        display: flex;
        flex-direction: column;
    }

}



@media (max-width: 768px) {

   
    body {
        font-size: 14px;
    }
    h1, .hero-title, .about-title {
        font-size: 2.2em;
        line-height: 1.2;
        text-align: center;
    }
    h2, .about-text h2, .testimonials h2, .especialidade-section h2 {
        font-size: 1.8em;
    }
    section, .footer {
        padding: 50px 20px;
    }
   
    .menu-mini {
        display: block;
        z-index: 1001;
    }

    .main-nav .btn-read-more {
        display: none;
    }

    #menu-principal {
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        backdrop-filter: blur(5px);
    }
    
   
    #menu-principal.active {
        display: flex;
    }

    #menu-principal > li {
        text-align: center;
        width: 100%;
    }



    #menu-principal ul {
        position:sticky;
        display: none;
        background: none;
        box-shadow: none;
        list-style: none;
        padding: 15px 0 0 0
        
    }

    #menu-principal ul li a{
        font-size: 1.1em;
        padding: 8px 15px;
    }

    .btn-contact{
        display: flex;
        justify-content: center;
    }

   
    .hero-text {
        text-align: center;
    }
    .container-hero {
        justify-content: center;
        padding: 0 20px;
    }
    
    .stats-grid,
    .contact-content,
    .container-contact-page,
    .footer .contact-section {
        flex-direction: column;
        align-items: center;
    }
    
    .cards {
        width: 100%;
        height: auto;
        flex-basis: 100%;
    }
    
    .gallery-photo {
        min-width: 50%;
    }

    .contact-form, .contact-inf {
        padding: 0;
    }

    .contact-inf iframe {
        height: 300px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }

   .about-us-page-text {
        padding-top: 0;
        max-width: 100%;
    }
    
   
    .about-images {
        width: 90%;
        max-width: 350px;
        height: 350px; 
    }

    .about-us-section{
        height: 900px;
       
    }

    .about-us-section::after{
        position: absolute;
        height: 900px;
    }
}