/* Endometriosis Page Specific Styles */

/* Hero Section for Endometriosis */
.hero-endometriosis {
    background: linear-gradient(315deg, rgba(254, 251, 243, 0.2) 0%, rgba(232, 185, 70, 0.25) 50%, rgba(212, 163, 40, 0.3) 100%), 
                url('https://happytohelp.mx/drcesar/slide-11.jpg') center/cover no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.hero-endometriosis h1,
.hero-endometriosis .display-4 {
    color: #f0f0f0 !important;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

.hero-endometriosis p,
.hero-endometriosis .lead {
    color: #f0f0f0 !important;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

/* Info Points */
.info-points {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-point {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: rgba(30, 58, 95, 0.05);
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
    transition: all 0.3s ease;
}

.info-point:hover {
    background: rgba(30, 58, 95, 0.1);
    transform: translateX(10px);
}

.info-point i {
    margin-right: 1rem;
    font-size: 1.5rem;
}

/* Symptom Cards */
.symptom-card {
    background: var(--pearl-white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(44, 82, 130, 0.08);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid var(--light-gray);
    position: relative;
    overflow: hidden;
}

.symptom-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--medical-teal));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.symptom-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(44, 82, 130, 0.15);
    border-color: var(--primary-color);
    background: var(--sand-whisper);
}

.symptom-card:hover::before {
    opacity: 1;
}

.symptom-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--medical-teal), var(--soft-sage));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: var(--pearl-white);
    box-shadow: 0 8px 20px rgba(74, 144, 164, 0.3);
    transition: all 0.3s ease;
}

.symptom-card:hover .symptom-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    transform: scale(1.05);
}

.symptom-card h4 {
    color: var(--medical-blue);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.symptom-card p {
    color: var(--warm-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.severity-indicator {
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.severity-indicator.severe {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.severity-indicator.moderate {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

/* Self-Test Container */
.self-test-container {
    background: var(--pearl-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(44, 82, 130, 0.08);
    border: 1px solid var(--light-gray);
}

.test-form {
    background: var(--sand-whisper);
    padding: 2.5rem;
    border-radius: 15px;
}

.question-group {
    background: var(--pearl-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(44, 82, 130, 0.05);
    border-left: 4px solid var(--primary-color);
}

.question-group h5 {
    color: var(--medical-blue);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.form-check {
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: var(--sand-whisper);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-check:hover {
    background: var(--primary-light);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-label {
    font-weight: 500;
    cursor: pointer;
}

/* Test Results */
.test-results {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--accent-color);
}

.result-title {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1.5rem;
}

.result-score {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--accent-color);
}

.result-interpretation {
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.result-interpretation.low-risk {
    background: rgba(40, 167, 69, 0.1);
    border-left: 4px solid #28a745;
    color: #155724;
}

.result-interpretation.moderate-risk {
    background: rgba(255, 193, 7, 0.1);
    border-left: 4px solid #ffc107;
    color: #856404;
}

.result-interpretation.high-risk {
    background: rgba(220, 53, 69, 0.1);
    border-left: 4px solid #dc3545;
    color: #721c24;
}

/* Treatment Cards */
.treatment-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.treatment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.treatment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(30, 58, 95, 0.15);
    border-color: var(--accent-color);
}

.treatment-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: var(--white);
}

.treatment-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.treatment-card p {
    color: var(--secondary-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.treatment-benefits {
    list-style: none;
    padding: 0;
}

.treatment-benefits li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

/* Testimonials for Endometriosis */
.testimonial-endometriosis {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid var(--accent-color);
}

.testimonial-endometriosis:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(30, 58, 95, 0.15);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.patient-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--white);
    margin-right: 1rem;
    font-size: 1.2rem;
}

.patient-info h5 {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.patient-info span {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.testimonial-endometriosis p {
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--dark-gray);
}

.testimonial-footer {
    text-align: right;
}

.treatment-type {
    background: rgba(184, 134, 11, 0.1);
    color: var(--accent-color);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* FAQ Accordion */
.accordion-item {
    border: 1px solid rgba(30, 58, 95, 0.1);
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
}

.accordion-button {
    background: var(--white);
    color: var(--primary-color);
    font-weight: 600;
    padding: 1.5rem;
    border: none;
    outline: none;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background: var(--light-gray);
    color: var(--primary-color);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(184, 134, 11, 0.25);
}

.accordion-body {
    padding: 1.5rem;
    background: var(--white);
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Tip Cards */
.tip-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
    height: 100%;
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(30, 58, 95, 0.15);
    border-color: var(--accent-color);
}

.tip-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: var(--white);
}

.tip-card h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.tip-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.tip-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(30, 58, 95, 0.1);
    color: var(--secondary-color);
}

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

/* Contact Card for Endometriosis */
.endometriosis-contact-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(30, 58, 95, 0.1);
    border: 2px solid var(--accent-color);
}

.doctor-credentials {
    list-style: none;
    padding: 0;
}

.doctor-credentials li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
}

.contact-options {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
    height: 100%;
}

.contact-info-endometriosis {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-item-endo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: var(--light-gray);
    border-radius: 8px;
}

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

.contact-item-endo i {
    margin-right: 1rem;
    font-size: 1.2rem;
    min-width: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-endometriosis {
        text-align: center;
        padding: 2rem 0;
    }
    
    .self-test-container {
        padding: 2rem 1.5rem;
    }
    
    .test-form {
        padding: 2rem 1.5rem;
    }
    
    .question-group {
        padding: 1.5rem;
    }
    
    .symptom-card,
    .treatment-card,
    .tip-card {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .testimonial-endometriosis {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .endometriosis-contact-card {
        padding: 2rem 1.5rem;
    }
    
    .contact-options {
        padding: 1.5rem;
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-endometriosis .display-4 {
        font-size: 2rem;
    }
    
    .symptom-icon,
    .treatment-icon,
    .tip-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .patient-avatar {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
}

/* Animation for Endometriosis Elements */
.endometriosis-illustration img {
    transition: all 0.3s ease;
}

.endometriosis-illustration:hover img {
    transform: scale(1.05);
}

/* Special Highlight for Important Messages */
.important-notice {
    background: linear-gradient(135deg, rgba(184, 134, 11, 0.1), rgba(30, 58, 95, 0.05));
    border: 2px solid var(--accent-color);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.important-notice h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.important-notice p {
    color: var(--dark-gray);
    margin-bottom: 0;
    font-size: 1.1rem;
    line-height: 1.6;
}