:root {
    --primary: #4c4c4c;      /* Replaces bright blue with a medium-dark grey */
    --secondary: #2a2a2a;    /* Background grey */
    --accent: #d35400;       /* A strong burnt orange to keep visual interest */
    --dark: #121212;         /* Deeper background grey */
}


.hero-header {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0,0,0,0.6)), url('/img/aigym.png');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    color: white;
}

body, h1, h2, h3, h4, h5, h6, p, a, button {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    letter-spacing: -0.015em;
}

h1, h2, h3 {
    font-weight: 600;
}

.lead {
    font-size: 1.2rem;
    font-weight: 400;
}

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


.section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    position: relative;
    margin-bottom: 2rem;
}

.section-title::after {
    content: '';
    width: 80px;
    height: 4px;
    background-color: var(--accent);
    display: block;
    margin: 12px auto 0;
}

.slide-in-top {
    animation: slideInTop 1s ease-out forwards;
}

@keyframes slideInTop {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.feature-card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}


.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.message.success {
    background-color: #d1e7dd; /* Softer green */
    color: #0f5132;            /* Stronger green text */
    border: 2px solid #badbcc;
    border-radius: 10px;
    padding: 15px 20px;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin: 20px auto;
    max-width: 700px;
    text-align: center;
    animation: flashPopIn 0.5s ease;
}

@keyframes flashPopIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
    border-radius: 10px;
    padding: 15px 20px;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin: 20px auto;
    max-width: 700px;
    text-align: center;
    animation: flashPopIn 0.5s ease;
}

