:root {
    --primary-color: #007bff;
    --secondary-color: #f5f1f1;
    --accent-color: #0056b3;
    --text-color: #333;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--secondary-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

header {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

header h1 {
    margin: 0;
    font-size: 32px;
    letter-spacing: 1px;
    animation: fadeInDown 0.8s ease-in-out;
}

header p {
    margin: 10px 0 0;
    font-size: 18px;
    font-weight: 300;
    animation: fadeInUp 0.8s ease-in-out;
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 20px;
    animation: fadeIn 1s ease-in-out;
}

.interest-form {
    background-color: white;
    border: 1px solid var(--primary-color);
    padding: 30px;
    width: 90%;
    max-width: 450px;
    border-radius: 8px;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.interest-form:hover {
    box-shadow: 0 12px 18px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.form-group {
    margin-bottom: 20px;
    animation: fadeIn 1.2s ease-in-out;
}

.form-group label {
    display: block;
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid var(--primary-color);
    border-radius: 6px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.5);
}

button[type="submit"] {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button[type="submit"]:hover {
    background-color: var(--accent-color);
    transform: scale(1.05);
}

button[type="submit"]:active {
    transform: scale(0.98);
    opacity: 0.9;
}

footer {
    text-align: center;
    padding: 15px;
    background-color: var(--primary-color);
    color: white;
    font-size: 14px;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

footer p {
    margin: 0;
    animation: fadeIn 1.2s ease-in-out;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
