/* ===================================================================
   Risk Resources Page Styles (Apple Design Concept R3)
   =================================================================== */

:root {
    --primary-color: #D4A574;
    --primary-color-dark: #B8945F;
    --text-primary: #1d1d1f;
    --text-secondary: #5a5a5d;
    --background-light: #fbfbfd; /* Lighter, Apple-like background */
    --background-white: #ffffff;
    --border-color: #e5e5e5;
}

/* Hero Banner */
.risk-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    background-size: cover;
    background-position: center;
    color: #ffffff;
    text-align: center;
    background-image: url('/assets/images/production/risk_resources.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.risk-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.risk-hero .hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.risk-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff !important;
}

.risk-hero .hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    max-width: 650px;
    margin: 20px auto 0;
    opacity: 0.95;
    color: #fff !important;
}

/* Main Content Area */
.risk-main {
    padding: 100px 0;
    background-color: var(--background-light);
}

.risk-section {
    max-width: 1100px;
    margin: 0 auto 100px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 50px;
    text-align: center;
}

/* Resource Grid & Cards */
.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.resource-card {
    background-color: var(--background-white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center; /* Reverted to center alignment */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.resource-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 2.8rem; /* Larger icon */
    color: var(--primary-color);
    margin-bottom: 25px;
}

.resource-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.resource-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 30px;
}

.card-link {
    display: inline-block;
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.card-link:hover {
    background-color: var(--primary-color-dark);
}

/* Claims Preparedness Section */
.preparedness-steps {
    display: grid;
    gap: 20px;
}

.step {
    display: flex;
    align-items: flex-start;
    background-color: var(--background-white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.step-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-right: 25px;
    line-height: 1.4;
}

.step-content h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 10px;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* CTA Card */
.cta-card {
    background: var(--background-white);
    padding: 60px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.cta-card h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.cta-card p {
    max-width: 600px;
    margin: 20px auto 30px;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 18px 36px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: var(--primary-color-dark);
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .risk-main {
        padding: 60px 15px;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
}
