html, body {
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Main Content */
.main {
    padding: 4rem 0 0 0;
}





/* Contact Section */
.contact-section {
    background-color: #f8f9fa;
    padding: 4rem 0 2rem 0;
    position: relative;
    overflow: hidden;
}

.contact-container {
    max-width: 1000px; /* Reducido de 1200px */
    margin: 0 auto;
    padding: 40px 0 20px 0;
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* Imagen un poco más grande que el formulario */
    gap: 3rem; /* Reducido de 4rem */
    align-items: start; /* Cambio de center a start */
    min-height: 400px; /* Reducido de 500px */
}

.contact-content {
    z-index: 2;
    position: relative;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.contact-description {
    font-size: 1.1rem;
    color: #7f8c8d;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-form-wrapper {
    background: white;
    padding: 2rem; /* Reducido de 2rem */
    border-radius: 12px; /* Reducido de 15px */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08); /* Sombra más sutil */
    border: 2px solid #4CAF50;
    height: fit-content;
}

.contact-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info {
    margin-bottom: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.9rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid #4CAF50;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #45a049;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #bdc3c7;
}

.submit-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.submit-btn:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
}

.contact-image {
    position: relative;
    height: 250px; /* Más rectangular y pequeña */
    width: 100%;
}

.contact-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px; /* Reducido de 15px */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); /* Sombra más sutil */
}

/* Responsive para contact */
@media (max-width: 968px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-title {
        font-size: 2rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    
    .contact-image {
        min-height: 300px;
        order: -1;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 3rem 0;
    }
    
    .contact-title {
        font-size: 1.8rem;
    }
    
    .contact-form-wrapper {
        padding: 1rem;
    }
    
    .submit-btn {
        align-self: stretch;
        text-align: center;
    }
}




/* Location Section */
.location-section {
    background: linear-gradient(135deg, #8BC34A, #689F38);
    padding: 4rem 0;
    color: #2c3e50;
}

.location-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.location-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.location-description {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    line-height: 1.6;
    opacity: 0.9;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.location-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.location-item p {
    color: #2c3e50;
    margin: 0;
    opacity: 0.8;
}

.schedule-day {
    font-weight: 500;
    margin-bottom: 0.2rem !important;
}

.schedule-time {
    font-size: 1.1rem;
    font-weight: 600;
}

.map-container {
    position: relative;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.location-map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.location-map-image:hover {
    transform: scale(1.02);
}

/* Responsive para location */
@media (max-width: 968px) {
    .location-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .location-title {
        font-size: 2rem;
    }
    
    .map-container {
        height: 300px;
        order: -1;
    }
}

@media (max-width: 768px) {
    .location-section {
        padding: 3rem 0;
    }
    
    .location-title {
        font-size: 1.8rem;
    }
    
    .location-details {
        gap: 1rem;
    }
}