/* ==========================================================================
   RED CROSS PORTAL - MASTER STYLESHEET
   Location: assets/css/style.css
   ========================================================================== */

:root {
    --rc-red: #D32F2F;
    --rc-dark: #B71C1C;
    --rc-black: #212529;
    --rc-gray: #f8f9fa;
    --text-muted: #6c757d;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
}

body {
    font-family: 'Poppins', sans-serif; /* Ensure you load this font in header */
    background-color: #fdfdfd;
    color: #333;
    overflow-x: hidden;
}

/* --- Buttons --- */
.btn-red {
    background: var(--rc-red);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: all 0.3s;
}
.btn-red:hover {
    background: var(--rc-dark);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.4);
}

/* --- Cards --- */
.hover-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    border-radius: 15px;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.hover-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

/* --- Hero Sections --- */
.page-hero {
    background: linear-gradient(135deg, var(--rc-dark) 0%, var(--rc-red) 100%);
    color: white;
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    margin-bottom: 50px;
}

/* --- Forms --- */
.form-control {
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #dee2e6;
    background-color: #f8f9fa;
}
.form-control:focus {
    border-color: var(--rc-red);
    background-color: white;
    box-shadow: 0 0 0 4px rgba(211, 47, 47, 0.1);
}

/* --- Animations --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}