@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: Open Sans;
    margin: 0;
    padding: 0;
}
.whatsapp-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
}

.whatsapp-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background-color: #25d366;
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    border-radius: 50px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.whatsapp-button i {
    margin-right: 10px;
    font-size: 1.5em;
}

.whatsapp-button:hover {
    background-color: #1da851;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .whatsapp-button {
        padding: 10px;
        font-size: 1em;
    }

    .whatsapp-button i {
        font-size: 1.2em;
    }
}

/*header*/
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #fff;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid #ddd;
    height: 60px;
}

.logo h1 {
    font-size: 24px;
    color: #ecac24;
}

.logo h1 span{
    color: #442c24;

}

.navbar {
    display: flex;
}

.nav-links {
    display: flex;
    list-style: none;
}

.navbar .nav-links li a{
    margin: 0 30px;
    padding: 5px 15px;
    border-radius: 30px;
}

.navbar .nav-links li a:hover{
    background-color:#ecac24 ;
    color: #fff;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    border-radius: 30px;

}

.social-icons a {
    color: #333;
    text-decoration: none;
    margin-left: 10px;
    font-size: 20px;
}

.social-icons a:hover {
    color:#ecac24 ;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 4px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: calc(100vh - 60px); /* To account for the fixed header */
    background: url(../img/inside-well2.webp) no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    margin-top: 60px; /* To account for the fixed header */
}

.hero-content {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
}

.hero-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 22px;
}

/* Responsive */
@media (max-width: 1024px) {
    .header {
        padding: 10px;
    }

    .logo h1 {
        font-size: 20px;
    }

    .nav-links a {
        font-size: 16px;
    }

    .hero-content h2 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .navbar {
        position: absolute;
        top: 60px;
        right: 0;
        height: 100vh;
        width: 200px;
        background-color: rgba(255, 255, 255, 0.8);
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }

    .navbar.active {
        transform: translateX(0);
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
    }

    .nav-links li {
        margin: 20px 0;
    }

    .hamburger {
        display: flex;
        position: absolute;
        top: 10px;
        right: 20px;
    }

    .hamburger.active .line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active .line:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        height: calc(100vh - 60px); /* To account for the fixed header */
    }

    .hero-content h2 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .header {
        flex-direction: row;
        justify-content: space-between;
        padding: 10px;
        height: 60px;
    }

    .logo h1 {
        font-size: 18px;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .nav-links a {
        font-size: 14px;
    }

    .social-icons {
        display: none;
    }

    .hero {
        height: calc(100vh - 60px); /* To account for the fixed header */
    }

    .hero-content h2 {
        font-size: 24px;
    }

    .hero-content p {
        font-size: 18px;
    }
}

main {
    padding: 20px;
    margin-top: 80px; /* To account for the fixed header */
}

section {
    margin-top: 20px;
}

section h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

section p {
    font-size: 18px;
}


/*informacion*/

.informacion{
    background-color: #ecac24;
    text-align: center;
    padding: 28px;
    margin: 0;
    
}

.informacion p{
    color:#232222 ;
}

/*nosotros*/

.about-us {
    padding: 40px 20px;
    background-color: #f2f2f2;
    margin: 0;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-image {
    flex: 1 1 300px;
    padding: 20px;
    text-align: center;
}

.about-image img {
    max-width: 90%;
    height: auto;
    border-radius: 50px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 2 1 300px;
    padding: 20px;
    color:#696969;
    text-align: justify;
    
}

.about-text h1 {
    font-size: 30px;
    margin-bottom: 20px;
    text-align: justify;
    font-weight: lighter;
    color: #232222;

}

.about-text p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
   

}
@media (max-width: 768px) {
    .about-text h2 {
        font-size: 2em;
    }

    .about-text p {
        font-size: 1em;
    }

    .container {
        flex-direction: column;
    }

    .about-image,
    .about-text {
        flex: 1 1 100%;
    }
}

/*servicios*/
.services {
    padding: 40px 20px;
    background-color:#ecac24 ;
    text-align: center;
    margin: 0;
}

.services h1{
    color: #232222;
    padding: 30px;
    font-size:30px ;
    font-weight: lighter;

}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    flex: 1 1 500px;
    padding: 60px;
    margin: 10px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card i {
    font-size: 2em;
    color: black;
    margin-bottom: 10px;
}

.service-card h2 {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: #232222;
    font-weight: lighter;
}

.service-card p {
    font-size: 0.9em;
    line-height: 1.6;
    color:#696969;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}


@media (max-width: 768px) {
    .service-card {
        flex: 1 1 100%;
    }

    .service-card i {
        font-size: 2.5em;
    }

    .service-card h2 {
        font-size: 1.3em;
    }

    .service-card p {
        font-size: 0.9em;
    }
}

/*trabajos*/
.works {
    padding: 40px 20px;
    background-color: #f4f4f4;
    text-align: center;
    margin: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.work-card {
    flex: 1 1 calc(33.333% - 20px);
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 20px;
    
}

.work-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
    flex: 1;
}
.works h1{
    padding: 40px;
    color:#232222 ;
    font-size: 30px;
    font-weight: lighter;
}
.card-content h2 {
    font-size: 1.5em;
    margin: 0;
    color: #323030;
    font-weight: lighter;
}

.card-content p {
    font-size: 0.9em;
    line-height: 1.6;
   color:#696969;
}

.work-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .row {
        flex-direction: column;
    }

    .work-card {
        flex: 1 1 100%;
        margin-bottom: 20px;
    }

    .card-content h2 {
        font-size: 1.3em;
    }
}

/*testimonios*/
.testimonials {
    padding: 40px 20px;
    background-color:#ecac24;
    text-align: center;
    margin: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.testimonial-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 10px;
    flex: 1 1 calc(33.333% - 20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-img {
    width: 100px;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

.testimonial-content p {
    font-size: 0.9em;
    line-height: 1.6;
    margin-bottom: 20px;
    color:#696969;
    
}

.testimonials h1{
    padding: 40px;
    color:#232222;
    font-size: 30px;
    font-weight: lighter;
}
.testimonial-content h3 {
    margin: 0;
    font-size: 1.5em;
    color:#232222 ;
    font-weight: lighter;
}


.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .testimonial-card {
        flex: 1 1 100%;
        margin-bottom: 20px;
    }

    .testimonial-img {
        width: 80px;
        height: 80px;
    }

    .testimonial-content p {
        font-size: 1.1em;
    }

    .testimonial-content h3 {
        font-size: 1.3em;
    }

    .testimonial-content h4 {
        font-size: 1.1em;
    }
}

/*contacto*/
.contact {
    padding: 40px 20px;
    background-color: #f4f4f4;
    text-align: center;
    margin: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contact-info, .contact-form {
    flex: 1 1 calc(50% - 20px);
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 10px;
}

.contact-info h2, .contact-form h2 {
    margin-top: 0;
    font-size: 2.0em;
    font-weight: lighter;
}

.contact-info ul {
    list-style: none;
    padding: 0;
}

.contact-info ul li {
    display: flex;
    align-items: center;
    margin: 10px 0;
    font-size: 1.0em;
}

.contact-info ul li i {
    margin-right: 10px;
    color:#ecac24;
}

.social-media {
    margin-top: 20px;
}

.social-media a {
    margin: 0 10px;
    text-decoration: none;
    font-size: 1.5em;
    color: #333;
    transition: color 0.3s ease;
}

.social-media a:hover {
    color:#ecac24;
}

.contact-form .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.contact-form h2{
    font-size: 1.9rem;
    
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
   
}

.contact-form input, .contact-form textarea {
    width: calc(100% - 20px);
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.contact-form button {
    background-color:#ecac24;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color:#442c24;
}
@media (max-width: 768px) {
    .contact-info, .contact-form {
        flex: 1 1 100%;
        margin-bottom: 20px;
    }

    .contact-info ul li {
        font-size: 1em;
    }
}

/*footer*/
footer {
    background-color: #333;
    color: white;
    padding: 20px 0;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.footer-logo img {
    width: 130px;
    margin-bottom: 20px;
}

.footer-info {
    margin-bottom: 20px;
}

.footer-info p {
    margin: 5px 0;
}

.footer-info a {
    color:#ecac24;
    text-decoration: none;
    transition: color 0.3s ease;

}

.footer-info a:hover {
    color: rgb(247, 122, 122) ;
}

.footer-social a {
    color: white;
    margin: 0 10px;
    font-size: 1.5em;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color:#ecac24;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo img {
        width: 100px;
    }

    .footer-info p {
        font-size: 0.9em;
    }

    .footer-social a {
        font-size: 1.2em;
    }
}