/* =====================================
   PATIENT RESOURCES PAGE
   Downloadable forms, tips, and information
   Multiple sections with varied layouts
   ===================================== */

/* ===== PAGE HEADER ===== 
   Consistent gradient header for all pages
*/
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 4rem 0 3rem;
    text-align: center;
}

.page-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-family: var(--font-primary);
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* ===== RESOURCES SECTION ===== 
   Main content area
*/
.resources-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

/* ===== PATIENT PORTAL CALLOUT =====
   Prominent section for online form completion
*/
.patient-portal-callout {
    background: linear-gradient(135deg, #0a2540 0%, #1e4976 50%, #2C5F6F 100%);
    padding: 3rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    box-shadow: 
        0 20px 60px rgba(10, 37, 64, 0.3),
        0 10px 30px rgba(0, 0, 0, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.patient-portal-callout::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(74, 144, 164, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.portal-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.portal-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.portal-icon svg {
    color: white;
}

.patient-portal-callout h2 {
    color: white;
    font-family: var(--font-primary);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.portal-description {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.portal-description strong {
    color: white;
    font-weight: 700;
}

.portal-benefits {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0 2.5rem;
    flex-wrap: wrap;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
}

.benefit-item svg {
    color: #68B3C8;
    flex-shrink: 0;
}

.portal-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: #0a2540;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.3),
        0 4px 12px rgba(255, 255, 255, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.5);
    letter-spacing: 0.5px;
}

.portal-cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 12px 35px rgba(0, 0, 0, 0.4),
        0 6px 18px rgba(255, 255, 255, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 1);
    background: #f8f9fa;
}

.portal-cta-button:active {
    transform: translateY(-1px) scale(1.02);
}

.portal-note {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin-top: 1.5rem;
    font-style: italic;
}

/* Responsive adjustments for portal callout */
@media (max-width: 768px) {
    .patient-portal-callout {
        padding: 2rem 1.5rem;
    }
    
    .portal-benefits {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .portal-cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }
}

/* =====================================
   PRIVACY POLICY CONTENT STYLES
   Enhanced typography and spacing for policy pages
   ===================================== */

.policy-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e0e0e0;
}

.policy-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.policy-section h2 {
    font-family: var(--font-primary);
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.policy-section h3 {
    font-family: var(--font-primary);
    font-size: clamp(1.2rem, 2.5vw, 1.4rem);
    color: var(--secondary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.policy-section p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.policy-section ul {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.policy-section ul li {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.policy-section a {
    color: var(--accent-color);
    text-decoration: underline;
    transition: var(--transition);
}

.policy-section a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

/* Contact info box styling */
.policy-section > div[style*="background"] {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(10, 37, 64, 0.1);
}

/* Content wrapper for privacy policy */
.content-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
    .content-wrapper {
        padding: 1.5rem;
    }
    
    .policy-section {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
    
    .policy-section h2 {
        font-size: 1.4rem;
    }
    
    .policy-section h3 {
        font-size: 1.2rem;
    }
    
    .policy-section ul {
        margin-left: 1.2rem !important;
    }
}

/* =====================================
