.service-container {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.service-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.service-content {
    padding: 2rem;
    text-align: center;
}

.service-content h1 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 1000;
}

.modal-content {
    position: relative;
    background: white;
    margin: 5% auto;
    padding: 2rem;
    width: 90%;
    max-width: 600px;
    border-radius: 10px;
}

.close-modal {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
}

.service-form {
    display: grid;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: bold;
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.submit-btn {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: var(--secondary-color);
}


.service-hero {
    width: 100%;
    height: 150px; /* Reducido de 400px */
    overflow: hidden;
    position: relative;
    margin-bottom: 1rem; /* Reducido de 2rem */
}

.service-container {
    padding: 0;
    max-width: 100%;
    margin-top: 20px; /* Nuevo espaciado desde el nav */
}

.service-card {
    max-width: 1200px;
    margin: -50px auto 0; /* Reducido de -100px */
    position: relative;
    z-index: 2;
    padding: 1rem; /* Añadido padding interno */
}

.service-content {
    padding: 1.5rem; /* Reducido de 2rem */
}

.service-content h1 {
    margin-bottom: 0.75rem; /* Reducido de 1rem */
}

.service-content p {
    margin-bottom: 1.5rem; /* Reducido de 2rem */
}
.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}