/* ==========================================================================
   Conditions Page Stylesheet
   Version: 1.0
   Date: May 31, 2025
   
   TABLE OF CONTENTS:
   1. Hero Section
   2. Quick Navigation
   3. Main Conditions Section
   4. Condition Blocks
   5. Symptoms & Treatment Cards
   6. Special Notices
   7. Why Choose Section
   8. CTA Section
   9. Animations
   10. Responsive Design
   ========================================================================== */

/* ==========================================================================
   1. Hero Section
   ========================================================================== */

.conditions-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 10rem 0 8rem;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(137, 143, 160, 0.95) 0%, 
        rgba(112, 109, 156, 0.90) 40%, 
        rgba(146, 110, 204, 0.85) 100%);
    z-index: 1;
}

.pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCI+CjxyZWN0IHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCIgZmlsbD0iI2ZmZiIgZmlsbC1vcGFjaXR5PSIwLjAyIj48L3JlY3Q+CjxwYXRoIGQ9Ik0zMCAwTDYwIDMwTDMwIDYwTDAgMzAiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLW9wYWNpdHk9IjAuMDUiPjwvcGF0aD4KPC9zdmc+');
    z-index: 2;
    opacity: 0.5;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.3;
    animation: floatAnimation 20s infinite ease-in-out;
}

.shape-1 {
    width: 30rem;
    height: 30rem;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    top: 10%;
    left: -10%;
    animation-duration: 25s;
}

.shape-2 {
    width: 40rem;
    height: 40rem;
    background: radial-gradient(circle, rgba(146, 110, 204, 0.4) 0%, transparent 70%);
    bottom: -15%;
    right: -5%;
    animation-duration: 30s;
    animation-delay: -5s;
}

.shape-3 {
    width: 25rem;
    height: 25rem;
    background: radial-gradient(circle, rgba(112, 109, 156, 0.5) 0%, transparent 70%);
    top: 40%;
    right: 10%;
    animation-duration: 22s;
    animation-delay: -10s;
}

@keyframes floatAnimation {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -40px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 30px) scale(0.95);
    }
    75% {
        transform: translate(40px, 20px) scale(1.05);
    }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 90rem;
    margin: 0 auto;
    color: white;
}

.hero-content h1 {
    font-size: 4.8rem;
    font-weight: var(--weight-bold);
    margin-bottom: 2rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.highlight-gradient {
    background: linear-gradient(to right, #e6d6ff, #ffd6e6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    position: relative;
}

.highlight-gradient::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    background: linear-gradient(to right, #e6d6ff, #ffd6e6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    filter: blur(15px);
    opacity: 0.5;
}

.hero-subtitle {
    font-size: 2rem;
    margin-bottom: 4rem;
    opacity: 0.95;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 5rem;
    margin-bottom: 4rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 4.2rem;
    font-weight: var(--weight-bold);
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    position: relative;
}

.stat-number::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 4rem;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius-pill);
}

.stat-label {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: var(--weight-medium);
}

.hero-content .btn {
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

/* ==========================================================================
   2. Quick Navigation
   ========================================================================== */

.condition-navigation {
    background-color: white;
    padding: 4rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 10;
    margin-top: -4rem;
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 2rem;
}

.nav-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.5rem 1.5rem;
    background-color: var(--color-background);
    border-radius: var(--border-radius-lg);
    text-decoration: none;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.nav-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--main-gradient);
    opacity: 0;
    transition: opacity var(--transition-medium);
    z-index: 1;
}

.nav-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(114, 109, 156, 0.15);
}

.nav-card:hover::before {
    opacity: 0.05;
}

.nav-icon {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: var(--main-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    transition: transform var(--transition-medium);
}

.nav-card:hover .nav-icon {
    transform: scale(1.1) rotate(5deg);
}

.nav-icon svg {
    width: 2.5rem;
    height: 2.5rem;
    fill: white;
}

.nav-card span {
    font-size: 1.6rem;
    font-weight: var(--weight-semibold);
    color: var(--color-primary-dark);
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   3. Main Conditions Section
   ========================================================================== */

.conditions-main {
    padding: 8rem 0;
    background-color: var(--color-background);
}

/* ==========================================================================
   4. Condition Blocks
   ========================================================================== */

.condition-block {
    margin-bottom: 8rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.condition-block.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.condition-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4rem;
    gap: 3rem;
}

.condition-intro h2 {
    font-size: 3.6rem;
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.condition-intro h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 8rem;
    height: 4px;
    background: var(--main-gradient);
    border-radius: var(--border-radius-pill);
}

.condition-description {
    font-size: 1.8rem;
    color: var(--color-text);
    max-width: 70rem;
}

.condition-badge {
    flex-shrink: 0;
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(146, 110, 204, 0.1) 0%, rgba(112, 109, 156, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.condition-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(146, 110, 204, 0.2) 0%, transparent 70%);
    animation: rotateSlow 20s linear infinite;
}

.condition-badge svg {
    width: 5rem;
    height: 5rem;
    fill: var(--color-secondary);
    position: relative;
    z-index: 2;
}

.condition-details {
    background-color: white;
    border-radius: var(--border-radius-lg);
    padding: 4rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   5. Symptoms & Treatment Cards
   ========================================================================== */

/* Symptoms Section */
.symptoms-section {
    margin-bottom: 4rem;
}

.symptoms-section h3 {
    font-size: 2.4rem;
    color: var(--color-primary-dark);
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
}

.symptoms-section h3::after {
    content: '';
    position: absolute;
    bottom: -0.8rem;
    left: 0;
    width: 5rem;
    height: 3px;
    background: var(--main-gradient);
    border-radius: var(--border-radius-pill);
}

.symptoms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 2rem;
}

.symptom-card {
    padding: 2.5rem;
    background-color: var(--color-background);
    border-radius: var(--border-radius-lg);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInScale 0.5s ease forwards;
}

.symptom-card:nth-child(1) { animation-delay: 0.1s; }
.symptom-card:nth-child(2) { animation-delay: 0.2s; }
.symptom-card:nth-child(3) { animation-delay: 0.3s; }
.symptom-card:nth-child(4) { animation-delay: 0.4s; }
.symptom-card:nth-child(5) { animation-delay: 0.5s; }
.symptom-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.symptom-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(146, 110, 204, 0.05) 50%, 
        transparent 100%);
    transition: left 0.6s ease;
}

.symptom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(114, 109, 156, 0.1);
}

.symptom-card:hover::before {
    left: 100%;
}

.symptom-icon {
    width: 5rem;
    height: 5rem;
    margin-bottom: 1.5rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}

/* Symptom-specific icons (you can replace with actual images) */
.symptom-icon.hot-flash {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23926ecc' d='M12 2c-5.5 0-10 4.5-10 10s4.5 10 10 10 10-4.5 10-10-4.5-10-10-10zm0 18c-4.4 0-8-3.6-8-8s3.6-8 8-8 8 3.6 8 8-3.6 8-8 8z'/%3E%3C/svg%3E");
}

.symptom-card h4 {
    font-size: 1.8rem;
    color: var(--color-primary-dark);
    margin-bottom: 0.8rem;
}

.symptom-card p {
    font-size: 1.5rem;
    color: var(--color-text);
    line-height: 1.6;
}

/* Treatment Options */
.treatment-options {
    margin-bottom: 4rem;
}

.treatment-options h3 {
    font-size: 2.4rem;
    color: var(--color-primary-dark);
    margin-bottom: 2.5rem;
}

.treatment-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 3rem;
}

.treatment-card {
    padding: 3rem;
    background: linear-gradient(135deg, white 0%, rgba(146, 110, 204, 0.02) 100%);
    border: 1px solid rgba(146, 110, 204, 0.1);
    border-radius: var(--border-radius-lg);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.treatment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--main-gradient);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.treatment-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(114, 109, 156, 0.15);
    border-color: transparent;
}

.treatment-card:hover::before {
    transform: translateX(0);
}

.treatment-card h4 {
    font-size: 2rem;
    color: var(--color-secondary-dark);
    margin-bottom: 1rem;
}

.treatment-card p {
    font-size: 1.6rem;
    color: var(--color-text);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.treatment-benefits {
    list-style: none;
}

.treatment-benefits li {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--color-text);
}

.treatment-benefits li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 1.2rem;
    height: 1.2rem;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    border-radius: 50%;
}

/* Symptoms List (for thyroid section) */
.symptoms-list ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.symptoms-list li {
    position: relative;
    padding-left: 2.5rem;
    font-size: 1.6rem;
    color: var(--color-text);
}

.symptoms-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-secondary);
    font-weight: var(--weight-bold);
}

/* Thyroid Types */
.thyroid-types {
    margin-bottom: 4rem;
}

.type-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.type-card {
    padding: 2.5rem;
    background-color: white;
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.type-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: var(--main-gradient);
    transition: height 0.3s ease;
}

.type-card:hover {
    border-color: var(--color-secondary);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(114, 109, 156, 0.1);
}

.type-card:hover::after {
    height: 5px;
}

.type-card h4 {
    font-size: 1.8rem;
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
}

.type-card p {
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.prevalence {
    font-size: 1.3rem;
    color: var(--color-secondary);
    font-weight: var(--weight-semibold);
}

/* HRT Section Specific */
.hrt-overview {
    margin-bottom: 4rem;
}

.hrt-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    text-align: center;
    padding: 2rem;
    background-color: var(--color-background);
    border-radius: var(--border-radius-lg);
    transition: all var(--transition-medium);
}

.benefit-icon {
    width: 6rem;
    height: 6rem;
    margin: 0 auto 1.5rem;
    background: var(--main-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(114, 109, 156, 0.1);
}

.benefit-card h4 {
    font-size: 1.6rem;
    color: var(--color-primary-dark);
    margin-bottom: 0.8rem;
}

.benefit-card p {
    font-size: 1.4rem;
    color: var(--color-text);
}

/* HRT Programs */
.hrt-programs {
    margin-bottom: 3rem;
}

.program-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.program-card {
    padding: 2.5rem;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: all var(--transition-medium);
    position: relative;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(146, 110, 204, 0.1) 0%, transparent 70%);
    transition: all 0.4s ease;
}

.program-card:hover {
    border-color: var(--color-secondary);
    box-shadow: 0 10px 25px rgba(114, 109, 156, 0.1);
}

.program-card:hover::before {
    width: 200%;
    height: 200%;
}

.program-card h4 {
    font-size: 1.8rem;
    color: var(--color-secondary-dark);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.program-card p {
    font-size: 1.5rem;
    color: var(--color-text);
    position: relative;
    z-index: 1;
}

/* Medication Types (Diabetes section) */
.medication-types {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.med-type-card {
    padding: 2.5rem;
    background-color: var(--color-background);
    border-radius: var(--border-radius-lg);
}

.med-type-card h4 {
    font-size: 1.8rem;
    color: var(--color-primary-dark);
    margin-bottom: 1.5rem;
}

.med-type-card ul {
    list-style: none;
}

.med-type-card li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.8rem;
    font-size: 1.5rem;
    color: var(--color-text);
}

.med-type-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-secondary);
    font-weight: var(--weight-bold);
}

/* Condition CTAs */
.condition-cta {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

/* ==========================================================================
   6. Special Notices
   ========================================================================== */

.safety-notice,
.eligibility-notice,
.cold-chain-notice {
    display: flex;
    gap: 2rem;
    padding: 2.5rem;
    background-color: rgba(249, 168, 37, 0.05);
    border-radius: var(--border-radius-lg);
    border-left: 4px solid var(--color-warning);
    margin: 3rem 0;
}

.notice-icon {
    flex-shrink: 0;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background-color: rgba(249, 168, 37, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.notice-icon svg {
    width: 2.5rem;
    height: 2.5rem;
    fill: var(--color-warning);
}

.notice-content h4 {
    font-size: 1.8rem;
    color: var(--color-primary-dark);
    margin-bottom: 0.8rem;
}

.notice-content p {
    font-size: 1.5rem;
    color: var(--color-text);
    line-height: 1.6;
}

/* ==========================================================================
   7. Why Choose Section
   ========================================================================== */

.why-choose-conditions {
    padding: 8rem 0;
    background: linear-gradient(135deg, #fff 0%, var(--color-background) 100%);
    position: relative;
    overflow: hidden;
}

.why-choose-conditions::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40rem;
    height: 40rem;
    background: radial-gradient(circle, rgba(146, 110, 204, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.why-choose-conditions h2 {
    text-align: center;
    font-size: 3.6rem;
    margin-bottom: 5rem;
    color: var(--color-primary-dark);
    position: relative;
}

.why-choose-conditions h2::after {
    content: '';
    position: absolute;
    bottom: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 8rem;
    height: 4px;
    background: var(--main-gradient);
    border-radius: var(--border-radius-pill);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.benefit-item {
    text-align: center;
    padding: 3rem 2rem;
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-medium);
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.benefit-item:nth-child(1) { animation-delay: 0.1s; }
.benefit-item:nth-child(2) { animation-delay: 0.2s; }
.benefit-item:nth-child(3) { animation-delay: 0.3s; }
.benefit-item:nth-child(4) { animation-delay: 0.4s; }

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(114, 109, 156, 0.15);
}

.benefit-item .benefit-icon {
    width: 8rem;
    height: 8rem;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, rgba(146, 110, 204, 0.1) 0%, rgba(112, 109, 156, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-medium);
}

.benefit-item:hover .benefit-icon {
    background: var(--main-gradient);
}

.benefit-item .benefit-icon svg {
    width: 4rem;
    height: 4rem;
    fill: var(--color-secondary);
    transition: fill var(--transition-medium);
}

.benefit-item:hover .benefit-icon svg {
    fill: white;
}

.benefit-item h3 {
    font-size: 2rem;
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
}

.benefit-item p {
    font-size: 1.5rem;
    color: var(--color-text);
    line-height: 1.6;
}

/* ==========================================================================
   8. CTA Section
   ========================================================================== */

.conditions-cta-section {
    position: relative;
    padding: 10rem 0;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.cta-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--main-gradient);
    z-index: 1;
}

.cta-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCI+CjxyZWN0IHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCIgZmlsbD0iI2ZmZiIgZmlsbC1vcGFjaXR5PSIwLjAyIj48L3JlY3Q+CjxwYXRoIGQ9Ik0zMCAwTDYwIDMwTDMwIDYwTDAgMzAiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLW9wYWNpdHk9IjAuMDUiPjwvcGF0aD4KPC9zdmc+');
    z-index: 2;
    opacity: 0.5;
}

.conditions-cta-section .cta-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
}

.conditions-cta-section h2 {
    font-size: 4rem;
    margin-bottom: 2rem;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}

.conditions-cta-section p {
    font-size: 2rem;
    margin-bottom: 4rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.conditions-cta-section .btn-secondary {
    background-color: white;
    color: var(--color-secondary-dark);
    border: none;
}

.conditions-cta-section .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.cta-disclaimer {
    font-size: 1.4rem;
    opacity: 0.8;
}

/* ==========================================================================
   9. Animations
   ========================================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotateSlow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ==========================================================================
   10. Responsive Design
   ========================================================================== */

/* Large devices (laptops/desktops, up to 1200px) */
@media (max-width: 1200px) {
    .hero-stats {
        gap: 3rem;
    }
    
    .symptoms-grid {
        grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hrt-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Medium devices (tablets, up to 992px) */
@media (max-width: 992px) {
    .conditions-hero {
        min-height: 60vh;
        padding: 8rem 0 6rem;
    }
    
    .hero-content h1 {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .nav-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .condition-header {
        flex-direction: column;
        text-align: center;
    }
    
    .condition-badge {
        margin: 0 auto;
    }
    
    .treatment-cards {
        grid-template-columns: 1fr;
    }
    
    .type-cards {
        grid-template-columns: 1fr;
    }
    
    .program-cards {
        grid-template-columns: 1fr;
    }
    
    .medication-types {
        grid-template-columns: 1fr;
    }
}

/* Small devices (landscape phones, up to 768px) */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.6rem;
        max-width: 95%;
    }
    
    .stat-number {
        font-size: 3.2rem;
    }
    
    .nav-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .condition-block {
        margin-bottom: 5rem;
    }
    
    .condition-intro h2 {
        font-size: 2.8rem;
    }
    
    .condition-details {
        padding: 3rem 2rem;
    }
    
    .symptoms-grid {
        grid-template-columns: 1fr;
    }
    
    .symptoms-list ul {
        grid-template-columns: 1fr;
    }
    
    .hrt-benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .condition-cta {
        flex-direction: column;
    }
    
    .condition-cta .btn {
        width: 100%;
        text-align: center;
    }
    
    .conditions-cta-section h2 {
        font-size: 3.2rem;
    }
    
    .conditions-cta-section p {
        font-size: 1.8rem;
    }
}

/* Extra small devices (phones, up to 576px) */
@media (max-width: 576px) {
    .conditions-hero {
        padding: 6rem 0 4rem;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .floating-shape {
        display: none;
    }
    
    .nav-card {
        padding: 2rem 1rem;
    }
    
    .nav-icon {
        width: 4rem;
        height: 4rem;
    }
    
    .condition-intro h2 {
        font-size: 2.4rem;
    }
    
    .condition-badge {
        width: 8rem;
        height: 8rem;
    }
    
    .safety-notice,
    .eligibility-notice,
    .cold-chain-notice {
        flex-direction: column;
        text-align: center;
    }
    
    .notice-icon {
        margin: 0 auto 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

/* Print styles */
@media print {
    .condition-navigation,
    .conditions-cta-section,
    .quick-action-tools {
        display: none;
    }
    
    .condition-block {
        page-break-inside: avoid;
    }
}