/* Variables & Reset */
:root {
    --primary-color: #003366; 
    --secondary-color: #C8102E; 
    --text-color: #333;
    --text-light: #555;
    --bg-color: #fff;
    --bg-light: #f9f9fa;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --transition: all 0.3s ease;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-main); color: var(--text-color); line-height: 1.6; background-color: var(--bg-color); }
.container { width: 90%; max-width: 1000px; margin: auto; }
.text-center { text-align: center; }

/* Buttons */
.btn { display: inline-block; padding: 0.6rem 1.2rem; border-radius: 4px; font-weight: bold; text-decoration: none; cursor: pointer; transition: all 0.3s ease; text-align: center; width: 100%; margin-top: 1rem;}
.btn-primary { background-color: var(--primary-color); color: #fff; border: 2px solid var(--primary-color); }
.btn-primary:hover { background-color: #fff; color: var(--primary-color); }

/* Hero */
.hero { background: var(--primary-color); color: white; padding: 4rem 0; margin-bottom: 2rem; }
.hero h1 { font-size: 2.8rem; margin-bottom: 0.5rem; }
.subtitle { font-size: 1.2rem; opacity: 0.9; font-weight: 300; }

/* Sections */
.section { padding: 3rem 0; }
.section-title { margin-bottom: 2rem; color: var(--primary-color); }
.bg-light { background-color: var(--bg-light); padding: 3rem; border-radius: 8px; margin-top: 2rem;}

/* Content Card */
.content-card { background: white; padding: 3rem; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); border-top: 4px solid var(--secondary-color); }
.content-card h2 { color: var(--primary-color); margin-bottom: 1.5rem; }
.content-card p { margin-bottom: 1.2rem; font-size: 1.1rem; }

/* Grid */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }

.card { 
    background: white; 
    padding: 2rem; 
    border-radius: 8px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.08); 
    display: flex; 
    flex-direction: column;
    justify-content: space-between; 
}

.card h3 { color: var(--primary-color); margin-bottom: 1rem; border-bottom: 2px solid var(--bg-light); padding-bottom: 0.5rem;}

.card p.description { 
    flex-grow: 1; 
    font-size: 0.95rem; 
    color: var(--text-light); 
    margin-bottom: 1.5rem; 
}

.card-bottom {
    margin-top: auto;
}

/* Progress Bars */
.progress-bar-container { width: 100%; background-color: #e0e0e0; border-radius: 4px; overflow: hidden; height: 12px; margin-bottom: 0.5rem; }
.progress-bar { height: 100%; background-color: var(--secondary-color); width: 0; transition: width 1.5s ease-in-out; }
.progress-text { font-size: 0.85rem !important; color: var(--text-color) !important; font-weight: bold; margin-bottom: 0 !important; text-align: right; }

/* Footer */
footer { text-align: center; padding: 2rem 0; margin-top: 3rem; border-top: 1px solid #eaeaea; }
.back-link { display: inline-block; margin-top: 1rem; color: var(--text-light); text-decoration: none; }
.back-link:hover { color: var(--primary-color); }

/* --- Image Modal (Lightbox) --- */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0; 
    top: 0; 
    width: 100%; 
    height: 100%; 
    background-color: rgba(0, 0, 0, 0.85); 
    align-items: center; 
    justify-content: center;
}

.modal-content {
    max-width: 90%; 
    max-height: 90vh; 
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    object-fit: contain;
}

.close-modal {
    position: absolute; 
    top: 20px; 
    right: 35px; 
    color: #f1f1f1; 
    font-size: 40px; 
    font-weight: bold; 
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover,
.close-modal:focus {
    color: var(--secondary-color);
}