/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 0;
}

h1, h2, h3 {
    color: #0056b3; /* Dark blue for headings */
    margin-bottom: 15px;
}

h1 {
    font-size: 2.5em;
}

h2 {
    font-size: 2em;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #007bff; /* Lighter blue for accent */
}

h3 {
    font-size: 1.5em;
    color: #007bff;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.section {
    padding: 60px 0;
}

.grey-bg {
    background-color: #f8f9fa;
}

.blue-bg {
    background-color: #e7f1ff; /* Light blue background */
}

.cta-button {
    display: inline-block;
    background-color: #28a745; /* Green for WhatsApp CTA */
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

.cta-button:hover {
    background-color: #218838;
    text-decoration: none;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.logo span {
    font-size: 1.5em;
    font-weight: bold;
    color: #0056b3;
}

.logo img {
    vertical-align: middle;
    margin-right: 10px; /* Adjust as needed */
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: #333;
    font-weight: 500;
}

nav ul li a:hover {
    color: #007bff;
    text-decoration: none;
}

/* Hero Section */
.hero-section {
    background-color: #e7f1ff; /* Light blue background */
    padding: 80px 0;
    text-align: left;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    line-height: 1.3;
}

.hero-text p {
    font-size: 1.1em;
    margin-bottom: 20px;
}

.hero-image {
    flex: 0 0 45%; /* Adjust width as needed */
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Sobre Section */
.sobre-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.sobre-text {
    flex: 1;
}

.sobre-images {
    flex: 0 0 40%;
    display: grid;
    gap: 15px;
}

.sobre-images img {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Serviços Section */
.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.servico-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.servico-item h3 {
    margin-bottom: 15px;
}

/* Consultório Section */
.consultorio-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.consultorio-text {
    flex: 1;
}

.consultorio-images {
    flex: 0 0 50%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.consultorio-images img {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Diferenciais Section */
.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.diferencial-item {
    text-align: center;
    padding: 20px;
}

.diferencial-item h3 {
    margin-bottom: 10px;
    font-size: 1.3em;
}

/* Procedimentos Section */
.procedimentos-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.procedimentos-gallery img {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
}

/* Depoimentos Section */
.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.depoimento-item {
    background-color: #fff;
    padding: 25px;
    border-left: 5px solid #007bff;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.depoimento-item p {
    font-style: italic;
    margin-bottom: 15px;
}

.depoimento-item span {
    font-weight: bold;
    color: #555;
}

/* Contato Section */
#contato {
    text-align: center;
}

#contato p {
    margin-bottom: 20px;
    font-size: 1.1em;
}

/* Footer */
footer {
    background-color: #343a40;
    color: #f8f9fa;
    padding-top: 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
    padding-bottom: 30px;
}

.footer-info p {
    margin-bottom: 5px;
}

.footer-social a {
    color: #f8f9fa;
    margin-left: 15px;
    font-size: 1.2em;
}

.footer-social a:hover {
    color: #007bff;
    text-decoration: none;
}

.footer-bottom {
    background-color: #212529;
    text-align: center;
    padding: 15px 0;
    font-size: 0.9em;
}

.footer-bottom p {
    margin: 0;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px; /* Adjust for icon size */
    box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-float span {
    /* Hide text, replace with icon later */
    display: none; 
}

.whatsapp-float:hover {
    background-color: #128C7E;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    .hero-image {
        margin-top: 30px;
        flex-basis: auto; /* Reset basis */
    }
    .sobre-content, .consultorio-content {
        flex-direction: column;
    }
    .sobre-images, .consultorio-images {
        flex-basis: auto;
        grid-template-columns: 1fr 1fr; /* Keep 2 columns if space allows */
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2em;
    }
    h2 {
        font-size: 1.8em;
    }
    header .container {
        flex-direction: column;
        align-items: center;
    }
    nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    nav ul li {
        margin: 5px 10px;
    }
    .sobre-images, .consultorio-images {
        grid-template-columns: 1fr; /* Stack images */
    }
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-social {
        margin-top: 15px;
    }
    .footer-social a {
        margin: 0 10px;
    }
}

@media (max-width: 576px) {
    .container {
        width: 95%;
    }
    .servicos-grid, .diferenciais-grid, .depoimentos-grid, .procedimentos-gallery {
        grid-template-columns: 1fr;
    }
    .cta-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
}

