/* Estilos generales */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

header {
    background-color: #333;
    color: #fff;
    padding: 20px;
}

header h1 {
    margin: 0;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}

section {
    padding: 50px 20px;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
}

/* Estilos específicos */
#hero {
    background-image: url('serpia.png');
    background-size: 90%;
    background-position: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}


.hero-content {
    max-width: 800px;    
    background-color: rgba(0, 0, 0, 0.5); /* Ajusta el valor de opacidad según sea necesario */

}

.btn {
    background-color: #ff6600;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

#contact {
    padding: 50px 0;
    background-color: #f9f9f9;
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.contact-info,
.contact-form {
    flex: 1;
}

.contact-info {
    margin-right: 50px;
}

.contact-form {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-form h3,
.contact-info h3 {
    margin-top: 0;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    margin-top: 5px;
}

button[type="submit"] {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

button[type="submit"]:hover {
    background-color: #0056b3;
}

#services {
    padding: 50px 0;
}

.service-cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.service-card {
    width: calc(25% - 20px);
    margin-bottom: 20px;
    perspective: 1000px;
}

.service-card:hover .service-front {
    transform: rotateY(-180deg);
}

.service-card:hover .service-back {
    transform: rotateY(0deg);
}

.service-front,
.service-back {
    width: 100%;
    height: 200px;
    border: 1px solid #ccc;
    border-radius: 10px;
    transition: transform 0.5s;
    backface-visibility: hidden;
}

.service-front {
    display: flex;
    justify-content: center;
    align-items: center;
    transform: rotateY(0deg);
}

.service-back {
    display: flex;
    justify-content: center;
    align-items: center;
    transform: rotateY(180deg);
}

.service-back p {
    padding: 10px;
    text-align: center;
}

.feature {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

.feature h3 {
    color: #333333;
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 10px;
}

.feature p {
    color: #666666;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

.feature:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}
