body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f7f7f7;
    transition: background-color 0.3s ease;
}

.container {
    display: flex;
    flex-direction: column;
    width: 90%;
    max-width: 1200px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    margin: 20px;
    transition: box-shadow 0.3s ease;
}

.container:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

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

.promotions, .contact-form {
    flex: 1;
    padding: 20px;
}

.promotions {
    background-color: #f4f4f4;
    border-right: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

.promotions:hover {
    background-color: #eaeaea;
}

.promotions h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
    font-size: 24px;
    transition: color 0.3s ease;
}

.promotions:hover h1 {
    color: #007aff;
}

.slider {
    width: 100%;
    height: 100%;
    max-width: 500px;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.slider img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.slider img:hover {
    transform: scale(1.05);
}

.contact-form {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: background-color 0.3s ease;
}

.contact-form .logo {
    display: block;
    margin: 0 auto 20px;
    max-width: 150px;
    transition: transform 0.3s ease;
}

.contact-form .logo:hover {
    transform: scale(1.1);
}

.contact-form .invitation {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
    max-width: 400px;
    font-weight: bold;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    width: 80%;
    max-width: 400px;
}

.contact-form form input, .contact-form form button {
    margin-bottom: 10px;
    padding: 12px;
    font-size: 18px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
}

.contact-form form input:focus, .contact-form form button:focus {
    border-color: #007aff;
    box-shadow: 0 0 8px rgba(0, 122, 255, 0.2);
}

.contact-form form button {
    background-color: #007aff;
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.2s;
}

.contact-form form button:hover {
    background-color: #005bb5;
}

.thank-you-message {
    margin-top: 20px;
    font-size: 18px;
    color: #007aff;
    display: none;
}

/* Custom styles for slick slider */
.slick-dots li button:before {
    font-size: 12px;
    color: #007aff;
    opacity: 0.75;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.slick-dots li.slick-active button:before {
    opacity: 1;
    color: #005bb5;
}

.slick-prev, .slick-next {
    background-color: #007aff;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    transition: background-color 0.3s ease;
}

.slick-prev:hover, .slick-next:hover {
    background-color: #005bb5;
}

#loadingSpinner {
    display: none;
    margin-top: 20px;
}

.spinner {
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.spinner .path {
    stroke: #007aff;
    stroke-linecap: round;
}

/* Estilo de validación en tiempo real */
input.valid {
    border-color: #28a745;
}

input.invalid {
    border-color: #dc3545;
}

.validation-message {
    font-size: 14px;
    color: #dc3545;
    display: none;
}