/* Variables */
:root {
    /* --primary-color: #FFB5BA;  */
    --primary-color: #a8434a;
    /* Soft pink */
    --secondary-color: #B5E6D8;
    /* Mint green */
    --accent-color: #FFE3B3;
    /* Light peach */
    --background-color: #f8d7d7;
    /* Off-white */
    --text-color: #4A4A4A;
    /* Dark gray */
    --font-family: 'Nunito', sans-serif;
}

main,
body {
    height: 100%;
}
*{
    font-family: 'Nunito';
}
main {
    min-height: 80vh;
    padding: 0 2rem !important;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header styles */
header {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

header h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s;
}

nav a:hover,
nav a.active {
    color: var(--primary-color);
}

/* Hamburger menu styles */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 24px;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(-1px, -2px);
}

.hamburger.active span:nth-child(2) {
    transform: translateX(-100%);
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}


/* Hero section */
.hero {
    padding: var(--space-20) 0;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}


.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    background-color: white;
    border-radius: .5rem;
    padding: 3rem;
    margin-top: 2rem;
}

.hero-content h1 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-image {
    border-radius: .5rem;
    padding: 0.5rem;
    margin-top: 0.5rem;
    rotate: -3deg;
    box-shadow: 0 4px 12px rgba(168, 67, 74, 0.3);
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
    transition: transform 0.3s ease, rotate 0.3s ease;
    cursor: pointer;
}

.hero-image:hover {
    transform: scale(1.05);
    rotate: 0deg;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    max-height: 350px;
    object-fit: cover;
    adow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.primary-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, #c54a52 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(168, 67, 74, 0.3);
}

.primary-btn:hover {
    background: linear-gradient(135deg, #c54a52 0%, var(--primary-color) 100%);
    box-shadow: 0 8px 25px rgba(168, 67, 74, 0.4);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 8px 25px rgba(168, 67, 74, 0.4);
    }

    50% {
        box-shadow: 0 8px 25px rgba(168, 67, 74, 0.6);
    }

    100% {
        box-shadow: 0 8px 25px rgba(168, 67, 74, 0.4);
    }
}

body>main>section.hero>div>div.hero-content>a {
    margin-top: 1rem;
}

.secondary-btn {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #a8d4c7 100%);
    color: var(--text-color);
    box-shadow: 0 4px 15px rgba(181, 230, 216, 0.3);
}

.secondary-btn:hover {
    background: linear-gradient(135deg, #a8d4c7 0%, var(--secondary-color) 100%);
    box-shadow: 0 8px 25px rgba(181, 230, 216, 0.4);
    color: #2c5f4f;
}

/* Card link buttons */
.card-link {
    display: inline-block;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #c54a52 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.75em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(168, 67, 74, 0.3);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    text-align: center;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.card-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.card-link:hover::before {
    left: 100%;
}

.card-link:hover {
    transform: translateY(-3px) scale(1.05);
    background: linear-gradient(135deg, #c54a52 0%, var(--primary-color) 100%);
    box-shadow: 0 8px 25px rgba(168, 67, 74, 0.4);
    color: white;
}

/* Feature cards */
.features {
    padding: 2rem 0;
    background-color: var(--background-color);
}

.features h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background: linear-gradient(145deg, white 0%, #fafafa 100%);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.27);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--secondary-color);
    background-clip: padding-box;
    position: relative;
    overflow: hidden;
    justify-content: space-between;
    display: flex;
    flex-direction: column;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, var(--secondary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    border-radius: 18px;
}

.card:hover::before {
    opacity: 0.1;
}


.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--secondary-color);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.card:hover h3 {
    color: var(--primary-color);
}

.card p {
    transition: color 0.3s ease;
    line-height: 1.6;
}

.card:hover p {
    color: #555;
}

.card-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(181, 230, 216, 0.3);
}

.card img {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

#prematureWeeks {
    padding: 0.5rem;
    border: 1px solid var(--secondary-color);
    border-radius: 5px;
    font-family: var(--font-family);
}

.card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

/* About scales section */
.about-scales {
    padding: 4rem 0;
    background-color: white;
}

.about-scales h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.scales-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.scale {
    padding: 2rem;
    background-color: var(--background-color);
    border-radius: 15px;
}


/* Footer */
footer {
    background-color: var(--text-color);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

footer p {
    margin: 0.5rem 0;
}

.hero-content {
    word-break: break-word;
}

/* Responsive design */
@media (max-width: 768px) {
    header .container {
        /* flex-direction: column; */
        text-align: center;
        padding: 1rem 2rem;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 1;
    }

    .hero-image {
        order: 0;
    }

    .feature-cards {
        grid-template-columns: 1fr;
    }

  
    main {
        padding: 0 1rem !important;
    }
}


#userQuestionContainer .question {
    box-sizing: border-box;
    width: 100%;
}



/* Estilos para os elementos de resultado */
.basic-results {
    margin-bottom: 20px;

}

.user-question-section {
    background-color: #eff8ff;
    border-left: 4px solid #3498db;
    padding: 15px;
    margin: 15px 0;
    border-radius: 0 4px 4px 0;
}

.questions-answers-section {
    margin-top: 20px;
}

.questions-answers-section ul {
    list-style-type: none;
    padding: 0;
}

.questions-answers-section li {
    border-bottom: 1px solid #eee;
    padding: 10px 0;
    margin-bottom: 10px;
}

/* Estilo para o carregamento */
.ai-loading {
    text-align: center;
    padding: 20px;
    margin: 15px 0;
    background-color: #f5f5f5;
    border-radius: 8px;
}

.loader {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Estilos para a análise da IA */
.ai-analysis {


    margin-top: 20px;
    box-sizing: border-box;
    word-break: break-word;
}

.analysis-content {
    line-height: 1.6;
}

/* Estilos para erros */
.ai-error {
    background-color: #fff0f0;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    border-left: 5px solid #e74c3c;
}

.analysis-content.error {
    color: #c0392b;
}


.ai-analysis-formatted {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
}

.ai-section-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid var(--secondary-color);
}

.ai-section-subtitle {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

.ai-section-divider {
    margin: 1.5rem 0;
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(var(--primary-color-rgb), 0.5), rgba(0, 0, 0, 0));
}

.ai-analysis-formatted p {
    margin-bottom: 1rem;
    text-align: justify;
}

.ai-analysis-formatted ul {
    margin-bottom: 1rem;
    list-style: none;
}

.ai-analysis-formatted li {
    margin-bottom: 0.5rem;
}
#professionals-list > div > div.professional-info > a{
    text-decoration: none;
    color: white;
    background-color: green;
    border: solid 1px green;
    border-radius: .5rem;
    padding: .5rem 1rem;
    width: 100%;
    display: flex;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: all ease 0.2s;
}
#professionals-list > div > div.professional-info > a:hover{
    background-color: #025c02;
      transition: all ease 0.2s;
}    

/* Responsive navigation */
@media (max-width: 767px) {
    .hamburger {
        display: flex;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 10px 8px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    nav ul {
        flex-direction: column;
        gap: 0;

    }

    nav li {
        border-bottom: 1px solid #f0f0f0;
    }

    nav li:last-child {
        border-bottom: none;
    }

    nav a {
        display: block;
        padding: 1rem 20px;
        font-size: 1.1rem;
    }

    header .container {
        position: relative;
    }

    .hero .container {
        padding: 2rem 1rem;
    }
}

@media (max-width: 400px) {
    .hero-content h1 {
        font-size: 2em;
    }
}


/* Estilos para a seção de profissionais próximos */
.professionals-section {
    margin-top: 2rem;
}

.professionals-section h2 {
  color: var(--primary-color);
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--secondary-color);
    position: relative;
}
.professionals-section h2::before{
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.professionals-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 1.5rem;
}

.professional-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.professional-card:hover {
    transform: translateY(-5px);
}

.professional-image {
    height: 180px;
    overflow: hidden;
}

.professional-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.professional-image.no-image {
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.professional-info {
    padding: 15px;
}

.professional-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.professional-info p {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

/* Avaliações */
.professional-info .rating {
    margin-top: 10px;
}

.professional-info .stars {
    display: inline-flex;
    align-items: center;
}

.professional-info .star {
    color: #fbbf24;
    font-size: 1.2rem;
}

.professional-info .star.empty {
    color: #e5e7eb;
}

.professional-info .rating-value,
.professional-info .total-ratings {
    font-size: 0.9rem;
    color: #6b7280;
}

/* Estado de carregamento */
.professionals-section .loading {
    text-align: center;
    padding: 2rem 0;
}

.professionals-section .loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
    margin: 1rem auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Mensagem de erro */
.professionals-section .error {
    text-align: center;
    padding: 1.5rem;
    color: #dc3545;
}

/* Responsividade */
@media (max-width: 768px) {
    .professionals-list {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 480px) {
    .professionals-list {
        grid-template-columns: 1fr;
    }

   
}



/*! CSS Used from: https://passoafrente.site/lib/css/styles.css?v=139 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.primary-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, #c54a52 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(168, 67, 74, 0.3);
}

.primary-btn:hover {
    background: linear-gradient(135deg, #c54a52 0%, var(--primary-color) 100%);
    box-shadow: 0 8px 25px rgba(168, 67, 74, 0.4);
    animation: pulse 1.5s infinite;
}

#calculateAgeBtn,
#baixarPDF,
#searchForm > button{
    display: inline-block;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #c54a52 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.75em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(168, 67, 74, 0.3);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    text-align: center;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

#prematureWeeks {
    padding: 0.5rem;
    border: 1px solid var(--secondary-color);
    border-radius: 5px;
    font-family: var(--font-family);
}

/*! CSS Used from: https://passoafrente.site/lib/css/quiz_places.css?v=12 */
.quiz-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 1rem;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.question-form {
    display: none;
}

#results {
    display: none;
    /*margin-top: 2rem;*/
    padding: 1rem;
    border: solid 2px var(--secondary-color);
    border-radius: 15px;
    margin: 0 1.5rem;
}
#resultContent > div > p{
    word-break: break-word;
}
.total-ratings{
    widows: 100%;
    display: flex;
}

.download-pdf {
    margin-top: 1rem;
    text-align: center;
}

.baby-info {
    margin-bottom: 2rem;
    padding: 1rem;
    /*border: 1px solid var(--secondary-color);*/
    border-radius: 10px;
}

.baby-info h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input[type="text"],
#babyEmail,
#babyBirthdate,
textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--secondary-color);
    border-radius: 5px;
    font-family: var(--font-family);
}

textarea {
    resize: none;
}

#babyBirthdate {
    width: fit-content;
}

.checkbox-group {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.conditional-field {
    margin-top: 0.5rem;
    margin-left: 1.5rem;
    display: none;
}

#calculateAgeBtn {
    margin: 0 auto;
    display: flex;
}

/*! CSS Used keyframes */
@keyframes pulse {
    0% {
        box-shadow: 0 8px 25px rgba(168, 67, 74, 0.4);
    }

    50% {
        box-shadow: 0 8px 25px rgba(168, 67, 74, 0.6);
    }

    100% {
        box-shadow: 0 8px 25px rgba(168, 67, 74, 0.4);
    }
}


/* Question Form */
.question-form {
    margin-top: 2rem;
}

.question-form.active {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Question Form Title */
.question-form h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--secondary-color);
    position: relative;
}

.question-form h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Individual Question Styling */
.question {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid var(--secondary-color);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.question::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;

    transition: width 0.3s ease;
}

.question:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(168, 67, 74, 0.15);
    border-color: var(--primary-color);
}

.question:hover::before {
    width: 8px;
}

/* Question Title */
.question h3 {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.4;
    padding-left: 1rem;
}

/* Options Container */
.options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-left: 1rem;
}

/* Option Labels */
.options label {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.options label::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(168, 67, 74, 0.1), transparent);
    transition: left 0.5s ease;
}

.options label:hover::before {
    left: 100%;
}

.options label:hover {
    border-color: var(--primary-color);
    background: rgba(168, 67, 74, 0.05);
    transform: translateX(5px);
}

/* Radio Button Styling */
.options input[type="radio"] {
    width: 20px;
    height: 20px;
    margin-right: 0.75rem;
    accent-color: var(--primary-color);
    cursor: pointer;
}

/* Selected Option */
.options label:has(input:checked) {
    background: linear-gradient(135deg, var(--primary-color) 0%, #c54a52 100%);
    color: white;
    border-color: var(--primary-color);
    transform: translateX(8px);
    box-shadow: 0 4px 15px rgba(168, 67, 74, 0.3);
}

/* Submit Button */
.submit-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, #c54a52 100%);
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 2rem auto 0;
    display: block;
    box-shadow: 0 4px 15px rgba(168, 67, 74, 0.3);
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(168, 67, 74, 0.4);
    background: linear-gradient(135deg, #c54a52 0%, var(--primary-color) 100%);
}

/* Age Notification */
.age-notification {
    background: linear-gradient(135deg, var(--accent-color) 0%, #ffe8c4 100%);
    border: 2px solid #ffd700;
    border-radius: 15px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
    color: var(--text-color);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

/* Baby Info Section */
.baby-info {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    /*border: 2px solid var(--secondary-color);*/
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.baby-info h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--secondary-color);
    position: relative;
}

.baby-info h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Form Groups */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(168, 67, 74, 0.1);
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: #6c757d;
    font-size: 0.875rem;
}

/* Checkbox Groups */
.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 0.75rem;
    accent-color: var(--primary-color);
}

.checkbox-group label {
    margin-bottom: 0;
    cursor: pointer;
}

/* Conditional Fields */
.conditional-field {
    margin-left: 2rem;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(168, 67, 74, 0.05);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  .quiz-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0;
  
}

    
    .baby-info {
        padding: 1.5rem;
    }
    
    .question {
        padding: 1rem;
    }
    
    .question h3 {
        font-size: 1.1rem;
        padding-left: 0.5rem;
    }
    
    .options {
        padding-left: 0.5rem;
    }
    
    .options label {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .submit-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .conditional-field {
        margin-left: 1rem;
    }
}

@media (max-width: 480px) {
    .question-form h2,
    .baby-info h2 {
        font-size: 1.5rem;
    }
    
    .question h3 {
        font-size: 1rem;
    }
    
    .options label {
        padding: 0.5rem;
        font-size: 0.85rem;
    }
    
    .conditional-field {
        margin-left: 0.5rem;
        padding: 0.75rem;
    }
}
.question-form{
    padding:  0 1.5rem 1rem 1.5rem;
}

.active {
    display: block;
}


/*BUSCA*/
/*BUSCA*/
/*BUSCA*/
/*BUSCA*/
/*BUSCA*/
/*BUSCA*/
/*BUSCA*/
/*BUSCA*/
   .search-container {
        max-width: 1200px;
        margin: 2rem auto;
        padding: 2rem;
        background-color: white;
        border-radius: 15px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .search-form {
        margin-top: 1rem;
        margin-bottom: 2rem;
        text-align: center;
        display: flex;
        align-items: center;
        width: 100%;
        justify-content: center;
    }

    .search-form input[type="email"] {
        width: 100%;
        padding: 0.5rem;
        border: 1px solid var(--secondary-color);
        border-radius: 5px;
        font-family: var(--font-family);
        margin-bottom: 1rem;
        font-size: 1em;
    }

    .search-results {
        margin-top: 2rem;
    }

    .result-item {
        margin-bottom: 1.5rem;
        padding: 1.5rem;
        border: 1px solid var(--secondary-color);
        border-radius: 10px;
        background-color: #f9f9f9;
    }

    .result-item h3 {
        color: var(--primary-color);
        margin-bottom: 0.5rem;
        border-bottom: 1px solid var(--secondary-color);
        padding-bottom: 0.5rem;
    }

    .result-meta {
        display: flex;
        justify-content: space-between;
        margin-bottom: 1rem;
        font-size: 0.9rem;
        color: #666;
    }

    .result-content {
        margin-top: 1rem;
    }

    .no-results {
        text-align: center;
        padding: 2rem;
        color: #666;
    }

    .loading {
        text-align: center;
        padding: 2rem;
    }

    .spinner {
        border: 4px solid rgba(0, 0, 0, 0.1);
        width: 36px;
        height: 36px;
        border-radius: 50%;
        border-left-color: var(--primary-color);
        animation: spin 1s linear infinite;
        margin: 0 auto;
    }

    @keyframes spin {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    }

    .btn-view-details {
        background-color: var(--secondary-color);
        color: var(--text-color);
        border: none;
        padding: 0.5rem 1rem;
        border-radius: 20px;
        cursor: pointer;
        font-family: var(--font-family);
        font-weight: 600;
        transition: background-color 0.3s;
    }

    .btn-view-details:hover {
        background-color: #9ad0c2;
    }

    body>main>div>div>h2 {
        color: var(--primary-color);
    }