:root {
    --primary-bg: linear-gradient(135deg, #e0eafc, #cfdef3);
    --primary-color: #6a5acd;
    --secondary-color: #5a4cbf;
    --text-color: #333;
    --input-bg: white;
    --input-border: #6a5acd;
    --input-focus: rgba(106, 92, 205, 0.5);
    --btn-bg: #6a5acd;
    --btn-hover: #5a4cbf;
}

/* Theme 1 */
.theme-1 {
    --primary-bg: linear-gradient(135deg, #f6d365, #fda085);
    --primary-color: #f0932b;
    --secondary-color: #eb4d4b;
    --text-color: #2f3640;
    --input-bg: white;
    --input-border: #f0932b;
    --input-focus: rgba(240, 147, 43, 0.5);
    --btn-bg: #f0932b;
    --btn-hover: #eb4d4b;
}

/* Theme 2 */
.theme-2 {
    --primary-bg: linear-gradient(135deg, #74ebd5, #ACB6E5);
    --primary-color: #3498db;
    --secondary-color: #2980b9;
    --text-color: #2c3e50;
    --input-bg: white;
    --input-border: #3498db;
    --input-focus: rgba(52, 152, 219, 0.5);
    --btn-bg: #3498db;
    --btn-hover: #2980b9;
}

/* Theme 3 */
.theme-3 {
    --primary-bg: linear-gradient(135deg, #ff9a9e, #fecfef);
    --primary-color: #ff6f61;
    --secondary-color: #d64541;
    --text-color: #30336b;
    --input-bg: white;
    --input-border: #ff6f61;
    --input-focus: rgba(255, 111, 97, 0.5);
    --btn-bg: #ff6f61;
    --btn-hover: #d64541;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background: var(--primary-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    max-height: 450vh;
    color: var(--text-color);
    padding: 20px;
}

header {
    margin-bottom: 15px;
}

.container {
    display: flex;
    max-width: 1500px;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.welcome-section {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.welcome-section h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.welcome-section p {
    font-size: 18px;
    align-content: end;
    flex: 3;
}

.form-section {
    background-color: var(--input-bg);
    padding: 60px;
    flex: 2;
}

.form-section p {
    margin-bottom: 15px;
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-group input,
.form-group textarea {
    padding: 15px 40px;
    width: 100%;
    border: 2px solid var(--input-border);
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    font-size: 18px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--input-border);
    outline: none;
    box-shadow: 0 0 5px var(--input-focus);
}

.form-group .fas {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.btn {
    padding: 15px 30px;
    background-color: var(--btn-bg);
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    width: 100%;
    font-size: 18px;
}

.btn:hover {
    background-color: var(--btn-hover);
    transform: translateY(-2px);
}


@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .welcome-section {
        padding: 30px;
    }

    .form-section {
        padding: 30px;
    }

    .welcome-section h1 {
        font-size: 28px;
    }

    .welcome-section p {
        font-size: 16px;
    }
}

nav {
    margin-bottom: 10px;
}

nav a {
    text-decoration: none;
    color: var(--accent-color);
    margin: 0 10px;
    transition: color 0.3s ease;

}

nav a:hover {
    color: #ACB6E5;
}


.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.alert-info {
    background-color: rgba(33, 150, 243, 0.1);
    color: #2196f3;
    border: 1px solid #2196f3;
}

.alert-success {
    background-color: rgba(76, 175, 80, 0.1);
    color: #4caf50;
    border: 1px solid #4caf50;
}

.alert-warning {
    background-color: rgba(255, 193, 7, 0.1);
    color: #ffc107;
    border: 1px solid #ffc107;
}

.alert-danger {
    background-color: rgba(244, 67, 54, 0.1);
    color: #f44336;
    border: 1px solid #f44336;
}