:root {
    --color-primary-background: rgba(252, 34, 48, 0.1);
}

body {
    font-size: 16px;
}

p {
    margin-bottom: 1.5rem !important;
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary-background);
}

.card {
    height: auto;
    position: relative;
}

.card .card-btn {
    position: absolute;
    bottom: 0.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    width: 100%;
}

.stats-grid {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(2, minmax(76px, 1fr));
}

.stat-card a {
    overflow-wrap: anywhere;
    word-break: break-word;
}

html {
    scroll-padding-top: 180px;
}

.form-group {
    margin-bottom: 0 !important;
}

.text-danger {
    color: var(--color-primary);
    margin-bottom: 0 !important;
}

.nav-menu a {
    font-size: 0.95rem;

}

.card-image-overlay{
    background: linear-gradient(135deg, hsla(0, 0%, 10%, 0.85), hsla(210, 25%, 25%, 0.1));
}

.card-list {
    margin-bottom: 3.5rem;
}

.card-list li{
    font-size:1rem;
}

.gradient-hero {
    background: linear-gradient(135deg, hsl(210, 70%, 45%) 0%, hsl(210, 60%, 35%) 100%);
}
.gradient-card {
    background: linear-gradient(145deg, hsl(0, 0%, 100%) 0%, hsl(210, 20%, 98%) 100%);
}
.shadow-medium {
    box-shadow: 0 4px 20px -4px hsla(210, 70%, 45%, 0.15);
}

#loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #ccc;
    border-top-color: #000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.section-title {
    font-size: 2rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

#form-message {

    .success {
        padding: 14px 18px;
        margin: 16px 0;
        border: 1px solid #b7e4c7;
        border-radius: 8px;
        background-color: #f0fdf4;
        color: #065f46;
        font-size: 15px;
        line-height: 1.4;
    }

    .error {
        padding: 6px;
        background-color: #f44336;
        color: white;
    }
}

@media (max-width: 768px) {
    .stat-number {
        font-size: 1.2rem;
    }
}

