:root {
    --primary-color: #6F8356;
    --secondary-color: #E8D1AA;
    --third-color: #FBF6DF;
    --box-color: #FFFFFF;

    /* Font families */
    --font-primary: 'Arial', sans-serif;
    --font-headers: 'Arial', sans-serif;
    --font-accent: 'Arial', sans-serif;

    /* Font sizes */
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headers);
}

header {
    padding: 0;
    width: 100%;
    overflow: hidden;
}

.header-text {
    width: 100%;
    text-align: center;
}

.header-text h1 {
    font-family: 'AURIVIEL', sans-serif;
    letter-spacing: 0;
    margin-bottom: 1rem;
    color: white;
    font-size: 2rem;
}

.header-text h2 {
    font-family: 'Sora', sans-serif;
    font-weight: 500;  /* Medium */
    letter-spacing: 0.2em;  /* 200 spacing */
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    font-size: 0.72rem;
    color: white;
}

.subtitle-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-text h1 {
    font-family: 'AURIVIEL', sans-serif;
    letter-spacing: 0;
    margin-bottom: 1rem;
    color: white;
    font-size: 2rem;
}

.header-text h2 {
    font-family: 'Sora', sans-serif;
    font-weight: 500;  /* Medium */
    letter-spacing: 0.2em;  /* 200 spacing */
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    font-size: 0.72rem;
    color: white;
}

.header-text h2:last-child {  /* For CRM/RQE line */
    font-weight: 400;  /* Regular */
    letter-spacing: 0;
    margin-top: 1rem;
    color: white;
    font-size: 0.72rem;
}

.hero {
    background-color: #E8D1AA;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4rem;
    min-height: 80vh;
    width: 100vw;
    margin: 0;
    padding: 2rem 4rem;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-sizing: border-box;
}

.hero-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    max-width: 50%;
    text-align: center;
}

/* Hide logo by default (mobile) */
.hero-logo {
    display: none; /* Hide by default */
}

.doctor-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    text-align: center;
    width: 100%;
}

.doctor-info h1 {
    font-family: 'AURIVIEL', sans-serif;
    font-size: 2.64rem;
    color: #6F8356;
    letter-spacing: 0;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
    font-weight: bold;
}

.doctor-info h2 {
    font-family: 'Sora', sans-serif;
    font-weight: 500;
    font-size: 1.08rem;
    color: #6F8356;
    letter-spacing: 0.05em;
    line-height: 1.3;
    text-transform: uppercase;
}

.doctor-info h2:last-child {
    font-size: 0.972rem;
}

.hero-phrase p {
    font-family: 'Sora', sans-serif;
    font-weight: 500;
    font-size: 1.3rem;
    color: #8f4232;
    letter-spacing: 0.02em;
    line-height: 1.4;
    margin-top: 0.6rem;
    margin-bottom: 1.8rem;
    text-align: center;
}

.schedule-button {
    background-color: #8f4232;
    color: white;
    font-family: 'Sora', sans-serif;
    font-weight: 500;
    font-size: 1.08rem;
    letter-spacing: 0.05em;
    text-decoration: none;
    padding: 0.96rem 1.8rem;
    border-radius: 6px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.schedule-button:hover {
    background-color: #8f4232;
    transform: translateY(-2px);
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 50%;
}

.doctor-image {
    max-width: 100%;
    height: auto;
    border-radius: 24px; /* Add rounded corners */
    overflow: hidden; /* Ensures content stays within the rounded corners */
}

.services {
    background-color: var(--third-color);
    padding: 3rem 1rem;
    width: 100%;
    overflow-x: hidden;  /* Prevent horizontal scroll */
}

.services h2:not(.info-content h2) {  /* Targets only the "Como eu posso te ajudar?" heading */
    text-align: center;
    margin-bottom: 2rem;
}

.info-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 3rem auto;
    background-color: var(--box-color);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-family: 'AURIVIEL', sans-serif;
    letter-spacing: 0;
}

.info-content h1 {
    color: #000000;
    font-family: 'AURIVIEL', sans-serif;
    font-size: 2rem;
    text-align: center;
    margin: 2rem 0;
    font-weight: normal;
}

.info-content h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: var(--text-2xl);
    color: #000000;
    width: 100%;
    padding: 0 1rem;
    font-weight: 600;
    font-family: 'AURIVIEL', sans-serif;
    letter-spacing: 0;
}

.help-section h1 {
    color: #000000;
    font-family: 'AURIVIEL', sans-serif;
    font-size: 2rem;
    text-align: center;
    margin: 2rem 0;
    font-weight: normal;
}

.info-text {
    line-height: 1.8;
    color: #444;
    font-weight: 400;
    font-family: 'Sora', sans-serif;
    letter-spacing: 0;
}

.info-text p {
    line-height: 1.6;
    font-family: 'Sora', sans-serif;
    font-weight: 400;
    margin-bottom: 1rem;  /* Space between paragraphs */
}

.highlight-box {
    background-color: #F5F5F5;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    text-align: center;
}

.service-types-section h1 {
    color: #000000;
    font-family: 'AURIVIEL', sans-serif;
    font-size: 2rem;
    text-align: center;
    margin: 2rem 0;
    font-weight: normal;
}

.info-content.about-me {
    /* Add any specific styling for the "Sobre mim" box if needed */
    margin-bottom: 4rem;  /* Maybe a bit more space before the services grid */
}

/* Ensure the content inside info boxes is properly spaced */
.info-content > * {
    width: 100%;
}

.help-section {
    width: 100%;
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 1rem;
}

.help-section h2 {
    text-align: center;
    font-family: 'AURIVIEL', sans-serif;
    font-size: var(--text-2xl);
    margin-bottom: 3rem;
    letter-spacing: 0;
    color: #333;
}

.help-icons-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.help-icons-row {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.help-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 25%;
}

.icon-border {
    width: 120px;
    height: 120px;
    border: 2px solid #6F8356;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.icon-border img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.help-icon p {
    font-family: 'Sora', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    text-align: center;
    letter-spacing: 0;
    line-height: 1.4;
    margin: 0;
    color: #444;
}

.service-types-section {
    width: 100%;
    max-width: 1200px;
    margin: 4rem auto;
    text-align: center;
    padding: 0 1rem;  /* Added padding */
}

.service-types-section h2 {
    font-family: 'AURIVIEL', sans-serif;
    font-size: var(--text-2xl);
    margin-bottom: 3rem;
    color: #333;
    letter-spacing: 0;
}

.service-types {
    display: flex;
    justify-content: center;
    gap: 10rem;  /* Increased gap to accommodate larger icons */
    margin: 2rem 0;
}

.service-type {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 250px;  /* Increased max-width */
}

.service-type img {
    width: 180px;
    height: 180;
    background-color: #8f4232;
    border-radius: 20%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    object-fit: contain;
}

/* Specific adjustments for each icon */
.service-type img[src*="domiciliar"] {
    padding: 3.2rem;  /* Back to previous padding */
}

.service-type img[src*="presencial"] {
    padding: 2.2rem;
}

.service-type img[src*="telemedicina"] {
    padding: 3.2rem;
}

.service-type h3 {
    font-family: 'Sora', sans-serif;
    font-weight: 500;  /* Medium weight */
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;  /* 200 spacing */
    font-size: 1.1rem;
    text-transform: uppercase;  /* Optional: might look better with the spacing */
    color: #8f4232;
}

.service-type p {
    font-family: 'Sora', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    line-height: 1.4;
    letter-spacing: 0;
}

.attribution {
    text-align: center;
    font-size: 0.8rem;
    margin-top: 2rem;
    color: #666;
}

.attribution a {
    color: #666;
    text-decoration: none;
}

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

.contact-section {
    width: 100%;
    padding: 4rem 1rem;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;  /* Changed to row */
    justify-content: space-around;  /* Evenly space items */
    align-items: flex-start;  /* Align items at the top */
    gap: 2rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;  /* Each item takes equal space */
    max-width: 300px;  /* Prevent items from getting too wide */
}

.contact-item img {
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
}

.contact-item h3 {
    font-family: 'Sora', sans-serif;
    font-weight: 500;  /* Medium */
    letter-spacing: 0.2em;  /* 200 spacing */
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.address-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;  /* Each item takes equal space */
    max-width: 300px;  /* Prevent items from getting too wide */
}

.address-item img {
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
}

.address-item h3 {
    font-family: 'Sora', sans-serif;
    font-weight: 500;  /* Medium */
    letter-spacing: 0.2em;  /* 200 spacing */
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.clinic-name {
    font-family: 'Sora', sans-serif;
    font-weight: 400;  /* Regular */
    letter-spacing: 0;
    margin: 0.2rem 0;
}

.contact-info {
    font-family: 'Sora', sans-serif;
    font-weight: 400;
    letter-spacing: 0;
    margin: 0;
}

.contact-info a {
    color: inherit;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.appointment-button-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.appointment-button {
    background-color: #8f4232;
    color: white;
    font-family: 'Sora', sans-serif;
    font-weight: 500;  /* Medium */
    letter-spacing: 0.2em;  /* 200 spacing */
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.appointment-button:hover {
    background-color: #8f4232;  /* Slightly darker shade for hover */
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.appointment-button:active {
    transform: translateY(0);
}

.schedule-section {
    width: 100%;
    max-width: 1200px;
    margin: 4rem auto;
    text-align: center;
}

.schedule-button {
    background-color: #8f4232;
    color: white;
    font-family: 'Sora', sans-serif;
    font-weight: 500;  /* Medium */
    letter-spacing: 0.2em;  /* 200 spacing */
    text-decoration: none;
    padding: 1.2rem 3rem;
    border-radius: 5px;
    display: inline-block;
    transition: all 0.3s ease;
}

.schedule-button:hover {
    background-color: #8f4232;
    transform: translateY(-2px);
}

/* Match the logo color */
.hero {
    background-color: #E8D1AA; /* Match logo color */
    width: 100vw;
    margin: 0;
    padding: 2rem 4rem;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-sizing: border-box;
}

.hero-logo img {
    mix-blend-mode: multiply; /* This helps blend the logo with the background */
    opacity: 1;
}

.highlight-box {
    background-color: #6F8356;
    color: white;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.highlight-box p {
    color: white;
    margin: 0;
}

.highlight-box p + p {
    margin-top: 1rem;
}

.highlight-box h3:last-child {
    text-align: center;
    font-family: 'Sora', sans-serif;
    letter-spacing: 0.05em;
}

.contact-item a {
    display: inline-block;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.contact-item a:hover {
    transform: scale(1.1);
}

/* Responsive adjustments -- header and subtitle */
@media (max-width: 768px) {
    .logo {
        height: 60px;  /* Even bigger for mobile */
        width: 60px;
    }

    .logo-container {
        padding: 0 1rem 1.5rem 1rem;
    }

    .header-text h1 {
        font-size: 14px;
        margin-bottom: 2px;
        width: 100%;
        text-align: center;
        line-height: 1.2;
    }

    .header-text h2 {
        font-size: 10px;
        margin-bottom: 2px;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .subtitle-container {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* Extra small devices -- 360px */
@media (max-width: 360px) {
    .header-text h1 {
        font-size: 11px;
        width: 85%;
        max-width: 85%;
    }
}

/* Responsive adjustments -- header h1 h2 h2:last-child */
@media (max-width: 768px) {
    .header-text h1 {
        font-size: 1.54rem;
        margin-bottom: 0.8rem;
    }
    
    .header-text h2 {
        font-size: 0.65rem;
    }
    
    .header-text h2:last-child {
        font-size: 0.65rem;
    }
}

/* Desktop styles */
@media (min-width: 769px) {
    .hero-right {
        flex: 0 1 58.5%;
        max-width: 650px;
        height: 800px; /* Increased container height */
        display: flex;
        align-items: center;
    }

    .doctor-image {
        width: 100%;
        height: 100%;
        border-radius: 24px;
        overflow: hidden;
        object-fit: cover;
        object-position: center 20%; /* Adjust vertical position of the image */
    }
}

/* Desktop styles (default) */
.about-me-container {
    display: flex;
    align-items: flex-start;  /* Align items to top */
    gap: 2rem;               /* Space between image and text */
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.about-me-image {
    flex: 0 0 40%;         /* Takes 40% of the container width */
    text-align: center;
}

.about-me-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;   /* Optional: rounded corners */
}

.about-me-container .info-text {
    flex: 0 0 60%;        /* Takes 60% of the container width */
}

/* Desktop styles */
.info-content .about-me-container .info-text p {
    line-height: 1.6;
    font-family: 'Sora', sans-serif;
    font-weight: 400;
    /*letter-spacing: 0.02em;  */
    /*word-spacing: 0.05em;    */
}

/* Mobile styles -- About me */
@media (max-width: 768px) {
    .about-me-container {
        flex-direction: column;  /* Stack vertically on mobile */
        padding: 1rem;
        gap: 1rem;
    }

    .about-me-image, 
    .about-me-container .info-text {
        flex: 1 1 100%;         /* Take full width on mobile */
    }
}

/* Update mobile styles for help section and icon */
@media (max-width: 768px) {
    .help-icons-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);  /* 2 icons per row */
        gap: 2rem;
        justify-content: center;
    }

    .help-icon {
        width: 100%;
        margin: 0;
    }

    .icon-border {
        width: 90px;
        height: 90px;
    }

    .icon-border img {
        width: 45px;
        height: 45px;
    }

    .help-icon p {
        font-size: 0.85rem;
        line-height: 1.3;
    }
}

/* For very small screens, keep 2 columns but make elements smaller */
@media (max-width: 480px) {
    .help-icons-row {
        gap: 1.5rem;
    }

    .icon-border {
        width: 80px;
        height: 80px;
    }

    .icon-border img {
        width: 40px;
        height: 40px;
    }

    .help-icon p {
        font-size: 0.8rem;
    }
}

/* Update responsive design -- Contact item */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }

    .contact-item,
    .address-item {
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .map-container {
        width: 100%;
        border-radius: 8px;
    }

    .contact-item:last-child {
        margin-bottom: 0;
    }
}

/* Add these to your existing styles */
.mobile-only {
    display: none;  /* Hide by default */
}

.desktop-only {
    display: block;  /* Show by default */
}

/* Mobile-only top bar */
.mobile-top-bar {
    display: none; /* Hidden by default on desktop */
    background-color: white;
    width: 100%;
    padding: 0.4rem 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: static; /* Changed from sticky to static */
    z-index: 100;
}

.mobile-top-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-logo {
    height: 50px;
    width: auto;
}

.mobile-doctor-info {
    font-family: 'Sora', sans-serif;
    font-weight: 500;
    font-size: 0.7rem;
    color: #6F8356;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.3;
}

.mobile-doctor-name {
    font-weight: 600; /* Slightly bolder */
}

.mobile-doctor-specialty {
    font-size: 0.65rem; /* Slightly smaller */
}

.mobile-doctor-credentials {
    font-size: 0.65rem; /* Slightly smaller */
    margin-top: 0.1rem; /* Add a tiny bit of space before credentials */
}

/* Show mobile top bar only on mobile devices */
@media (max-width: 768px) {
    .mobile-top-bar {
        display: block;
    }

    /* Remove any padding that was added to account for the fixed bar */
    main {
        padding-top: 0;
    }
}

/* Remove the desktop-only centered layout and revert to original styles */
@media (min-width: 769px) {
    .hero {
        min-height: 100vh; /* Full viewport height */
        padding: 2rem;
        display: flex;
        justify-content: center;
        align-items: center; /* Center vertically */
    }

    .hero-content {
        max-width: 1000px;
        width: 100%;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center; /* Center vertically */
        gap: 2rem;
        padding: 0 2rem;
    }

    .hero-left {
        flex: 0 1 41.5%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center; /* Center content vertically */
    }

    .hero-right {
        flex: 0 1 58.5%;
        max-width: 650px;
        display: flex;
        align-items: center; /* Center image vertically */
    }

    .hero-logo {
        display: flex;
        width: 50px;
        margin: 0 auto;
        justify-content: center;
    }

    .hero-logo img {
        width: 100%;
        height: auto;
        object-fit: contain;
        opacity: 0.85;
        filter: brightness(1) contrast(0.95) saturate(0.9);
    }

    /* Even smaller icon */
    .hero-logo img {
        width: 4px; /* Reduced by 40% from 6.67px */
        height: auto;
        mix-blend-mode: multiply;
        opacity: 0.85; /* Adjust opacity to match background */
        filter: brightness(1) contrast(0.95) saturate(0.9); /* Fine-tune color matching */
    }

    /* Remove white borders */
    .hero {
        gap: 2rem;
        max-width: 100%;
        margin: 0;
        padding: 0;
        width: 100vw;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        background-color: #E8D1AA;
    }

    /* Adjust content padding */
    .hero-content {
        padding: 2rem 4rem;
        max-width: 1200px;
        margin: 0 auto;
    }

    /* Increase photo size */
    .hero-right {
        flex: 0 1 58.5%; /* Increased by 30% from 45% */
        max-width: 650px; /* Increased max-width */
        /* height: 600px; /* Increased container height
        display: flex;
        align-items: center; */
    }

    .hero-left {
        flex: 0 1 41.5%; /* Adjusted to complement the right side */
        padding: 0 2rem;
    }

    .doctor-image {
        width: 100%;
        height: auto;
        border-radius: 24px;
        object-fit: cover;
    }
}

@media (min-width: 769px) {
    .contact-container {
        display: flex;
        gap: 2rem;
        align-items: center;
        justify-content: center; /* Center the entire container */
        max-width: 1000px; /* Reduce max-width to bring elements closer */
        margin: 0 auto; /* Center the container horizontally */
        padding: 2rem;
    }

    /* Left side - Map */
    .map-container {
        flex: 1;
        border-radius: 16px;
        max-width: 350px; /* Slightly smaller map */
    }

    /* Right side container */
    .info-container {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 2rem;
        align-items: center; /* Center content */
        max-width: 350px; /* Match map width */
    }

    .address-item,
    .contact-item {
        width: 100%;
        align-items: center;
        text-align: center;
    }

    /* Ensure consistent spacing */
    .clinic-name {
        text-align: center;
        margin-bottom: 1rem;
    }

    .social-icon {
        margin: 0 auto;
    }
}
/* Fix vertical alignment of button text */
.cannabis-button, .schedule-button {
    background-color: #8f4232;
    color: white;
    font-family: 'Sora', sans-serif;
    font-weight: 500;
    font-size: 1.08rem;
    letter-spacing: 0.05em;
    text-decoration: none;
    padding: 0.96rem 1.8rem;
    border-radius: 6px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

/* Ensure consistent styling for both buttons */
@media (min-width: 769px) {
    .hero-buttons {
        display: flex;
        flex-direction: row-reverse;
        justify-content: center;
        gap: 1rem;
        margin-top: 1rem;
        align-items: stretch; /* Ensure buttons have the same height */
    }

    .cannabis-button, .schedule-button {
        /*flex: 0 1 auto; /* Don't grow, but allow shrinking */
        flex: 1 1 200px;
        min-width: 180px; /* Ensure minimum width */
        text-align: center;
        white-space: nowrap;
    }
}

/* Desktop styles */
@media (min-width: 769px) {
    .hero-logo {
        display: flex;
        width: 200px;
        margin: 0 auto;
        justify-content: center;
    }

    .hero-logo img {
        width: 100%;
        height: auto;
        object-fit: contain;
        opacity: 0.85;
        filter: brightness(1) contrast(0.95) saturate(0.9);
    }
}

/* Mobile-only config*/
@media (max-width: 768px) {
    .mobile-only {
        display: block;  /* Show on mobile */
    }

    .desktop-only {
        display: none;  /* Hide on mobile */
    }
}

/* Mobile styles - mobile-top-bar */
@media (max-width: 768px) {
    /* Hide hero logo */
    .hero .hero-left .hero-logo,
    .hero-left .hero-logo {
        display: none !important;
    }

    /* Show mobile white bar logo */
    .mobile-top-bar .mobile-logo,
    .mobile-top-bar img,
    .mobile-logo {
        display: block !important;
        width: 50px !important;
        height: auto !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}

/* Mobile styles - mobile logo*/
@media (max-width: 768px) {
    /* Ensure hero logo stays hidden */
    .hero-left img[src*="logo"],
    .hero-left .hero-logo {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    /* Hide elements */
    .doctor-info {
        display: none !important;
    }

    /* Hero section */
    .hero {
        display: flex;
        flex-direction: column-reverse;
        padding: 0;
        min-height: auto;
        gap: 0;
    }

    .hero-right {
        width: 100%;
        max-width: 100%;
        margin: 0 0 2rem 0;
        padding: 0;
        order: 0;
    }

    .doctor-image {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        display: block !important;
        border-radius: 0 !important;
    }

    .hero-left {
        width: 100%;
        max-width: 100%;
        padding: 0 1rem;
        margin-top: 0.2rem;
        gap: 0;
        text-align: center;
    }

    .hero-phrase {
        padding: 0 1rem;
        margin: 0;
    }

    .hero-phrase p {
        font-size: 0.96rem;
        margin: 0.2rem 0;
        line-height: 1.3;
    }

    .hero-buttons {
        display: flex! important;
        flex-direction: column !important; /* Stack buttons vertically */
        align-items: center !important;
        gap: 1rem !important;
        margin: 2rem auto !important;
        width: calc(100% - 2rem) !important; /* Container width */
    }

    .schedule-button, .cannabis-button {
        width: 100% !important; /* Full width of container */
        margin: 0 !important; /* Remove margins */
        text-align: center !important;
        white-space: nowrap !important;
    }

    /* Logo */
    .logo {
        width: 50px;
        margin-right: 1rem;
    }

    /* Services section */
    .services {
        padding: 1rem;
        width: 100%;
        overflow-x: hidden;
    }

    .info-content {
        padding: 1.5rem;
        margin: 0 auto 2rem auto;
        border-radius: 8px;
    }

    .service-types-section {
        width: 100%;
        padding: 0;
        margin: 2rem 0;
    }

    .service-types {
        flex-direction: column;
        align-items: center;
        gap: 5rem;
        width: 100%;
        padding: 0;
    }

    .service-type {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .service-type img {
        width: 130px;
        height: 130px;
    }

    /* Specific padding adjustments */
    .service-type img[src*="domiciliar"] {
        padding: 2.5rem;
    }

    .service-type img[src*="presencial"] {
        padding: 1.8rem;
    }

    .service-type img[src*="telemedicina"] {
        padding: 2.5rem;
    }
}

.faq-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 3rem auto;
    background-color: white;  /* Explicitly set to white */
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-family: 'Sora', sans-serif;
    letter-spacing: 0.05;
}

.faq-item {
    border-bottom: 1px solid rgba(143, 66, 50, 0.1); /* Lighter version of your brand color */
    margin-bottom: 1rem;
}

.faq-item h1 {
    color: #000000;
    font-family: 'AURIVIEL', sans-serif;
    font-size: 2rem;
    text-align: center;
    margin: 2rem 0;
    font-weight: normal;
}

.faq-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 1rem 0;
    color: #8f4232; /* Your brand color */
}

.faq-title h3 {
    margin: 0;
    font-family: "Sora", serif;
    font-weight: normal;
}

.expand-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    color: #8f4232; /* Your brand color */
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-content p {
    font-family: 'Sora', sans-serif;
    font-weight: 300;
    font-size: 0.9rem;
    color: #333;
}

.faq-item.active .faq-content {
    max-height: 500px; /* Adjust based on content */
}

.faq-item.active .expand-icon {
    transform: rotate(45deg);
}

.address-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.address-link:hover {
    color: #8f4232; /* Your brand color for hover state */
}
