body {
    background-color: #f8f9fa;
    font-family: 'Poppins', sans-serif;
    color: #333;
}

.text-center {
    text-align: center;
}

div.flash-message-container {
    position: absolute;
    width: 100%;
    z-index: 9000;
    padding: 10px 5%;
}

/* Custom Navbar */
.navbar {
    height: 60px;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,.08);
    padding: 0.5rem 0;
}

.navbar .btn-outline-primary {
    color: #536dd9;
    border-color: #536dd9;
}

.navbar .btn-outline-primary:hover,
.navbar .btn-outline-primary:focus,
.navbar .btn-outline-primary:active {
    background-color: #536dd9;
    border-color: #536dd9;
    color: #fff;
}

/* Hero Section */
.hero-section {
    background-color: #536dd9; /* Fallback color for accessibility */
    background: linear-gradient(135deg, #536dd9 0%, #3b5bdb 100%);
    color: white;
    padding: 4rem 0;
    margin-bottom: 3rem;
    text-align: center;
    border-radius: 0 0 50% 50% / 10%;
}

.hero-section h1 {
    font-weight: 600;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.opacity-75 {
    opacity: 0.75;
}

/* Modern Cards */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0,0,0,.1);
}

.card-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #536dd9;
}

.card-title {
    font-weight: 600;
    margin-bottom: 1rem;
}

.card-text {
    color: #6c757d;
    font-size: 0.9rem;
    flex-grow: 1;
}

.card-footer {
    background: transparent;
    border-top: 1px solid #f1f1f1;
    padding: 1.25rem;
    text-align: center;
}

.btn-link-custom {
    color: #536dd9;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.btn-link-custom:hover {
    color: #3b5bdb;
    text-decoration: none;
}

.btn-link-custom i {
    margin-left: 5px;
    transition: transform 0.2s;
}

.btn-link-custom:hover i {
    transform: translateX(3px);
}
