 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }

 body {
     font-family: 'Arial', sans-serif;
     line-height: 1.6;
     overflow-x: hidden;
 }

 /* Navbar con imagen de fondo */
 .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    padding: 20px 0;
}

.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: white;
    font-size: 28px;
    font-weight: bold;
    text-decoration: none;
    z-index: 1001;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.nav-links {
    display: flex;
    list-style: none;
    transition: all 0.5s ease;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 22px;
    transition: all 0.3s;
    position: relative;
    padding: 5px 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.nav-links a:hover {
    color: #ffffff;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #d30000;
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}


 .hamburger {
     display: none;
     cursor: pointer;
     z-index: 1001;
 }

 .hamburger div {
     width: 25px;
     height: 3px;
     background-color: white;
     margin: 5px;
     transition: all 0.3s ease;
 }

 /* Contenido de la página */
 .content {
     margin-top: 80px;
     padding: 40px 20px;
     height: 2000px;
 }

 .hero {
     height: 60vh;
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     text-align: center;
     background-image: linear-gradient(rgba(0, 0, 0, 0.384), rgba(0, 0, 0, 0.274)),
         url('https://caisamexico.com/img/gpa/img_gpa1.jpg');
     background-size: cover;
     background-position: center;
 }

 .herop {
     height: 60vh;
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     text-align: center;
     background-image: linear-gradient(rgba(0, 0, 0, 0.384), rgba(0, 0, 0, 0.274)),
         url('https://caisamexico.com/img/gpa/img_pga6.jpg');
     background-size: cover;
     background-position: center;
 }

 .heroc {
     height: 60vh;
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     text-align: center;
     background-image: linear-gradient(rgba(0, 0, 0, 0.384), rgba(0, 0, 0, 0.274)),
         url('https://caisamexico.com/img/gpa/img_gpa3.jpeg');
     background-size: cover;
     background-position: center;
 }

.herocon {
     height: 60vh;
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     text-align: center;
     background-image: linear-gradient(rgba(0, 0, 0, 0.384), rgba(0, 0, 0, 0.274)),
         url('https://caisamexico.com/img/oficinas.jpg');
     background-size: cover;
     background-position: center;
 }

 .heropro {
     height: 60vh;
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     text-align: center;
     background-image: linear-gradient(rgba(0, 0, 0, 0.384), rgba(0, 0, 0, 0.274)),
         url('http://192.168.0.238/GAtzco/img/proyectos/TFR2C-1.PNG');
     background-size: cover;
     background-position: center;
 }

 .herolavado {
     height: 60vh;
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     text-align: center;
     background-image: linear-gradient(rgba(0, 0, 0, 0.384), rgba(0, 0, 0, 0.274)),
         url('http://192.168.0.238/GAtzco/img/proyectos/lavado_torre_1_U900.jpg');
     background-size: cover;
     background-position: center;
 }

 .heroba101 {
     height: 60vh;
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     text-align: center;
     background-image: linear-gradient(rgba(0, 0, 0, 0.384), rgba(0, 0, 0, 0.274)),
         url('http://192.168.0.238/GAtzco/img/proyectos/BA101-AB-1.jpg');
     background-size: cover;
     background-position: center;
 }

 .herova2 {
     height: 60vh;
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     text-align: center;
     background-image: linear-gradient(rgba(0, 0, 0, 0.384), rgba(0, 0, 0, 0.274)),
         url('http://192.168.0.238/GAtzco/img/proyectos/tv2-1-rosarito.jpg');
     background-size: cover;
     background-position: center;
 }

 .herotv6 {
     height: 60vh;
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     text-align: center;
     background-image: linear-gradient(rgba(0, 0, 0, 0.384), rgba(0, 0, 0, 0.274)),
         url('http://192.168.0.238/GAtzco/img/proyectos/TV06-1.jpg');
     background-size: cover;
     background-position: center;
 }

 .herotv4 {
     height: 60vh;
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     text-align: center;
     background-image: linear-gradient(rgba(0, 0, 0, 0.384), rgba(0, 0, 0, 0.274)),
         url('http://192.168.0.238/GAtzco/img/proyectos/TV04-2.jpg');
     background-size: cover;
     background-position: center;
 }

 .heropxr {
     height: 60vh;
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     text-align: center;
     background-image: linear-gradient(rgba(0, 0, 0, 0.384), rgba(0, 0, 0, 0.274)),
         url('http://192.168.0.238/GAtzco/img/proyectos/Catalitica-101D-2.jpg');
     background-size: cover;
     background-position: center;
 }


 .heromja {
     height: 60vh;
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     text-align: center;
     background-image: linear-gradient(rgba(0, 0, 0, 0.384), rgba(0, 0, 0, 0.274)),
         url('http://192.168.0.238/GAtzco/img/proyectos/T89-T80-1.jpg');
     background-size: cover;
     background-position: center;
 }

 .hero8f {
     height: 60vh;
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     text-align: center;
     background-image: linear-gradient(rgba(0, 0, 0, 0.384), rgba(0, 0, 0, 0.274)),
         url('http://192.168.0.238/GAtzco/img/proyectos/8F1-2.jpg');
     background-size: cover;
     background-position: center;
 }


 .hero h1 {
     font-size: 3rem;
     margin-bottom: 20px;
 }

 /* Media Queries para responsividad */
 @media screen and (max-width: 768px) {
     .nav-links {
         position: absolute;
         right: 0;
         top: 0;
         height: 100vh;
         width: 50%;
         background-color: rgba(0, 0, 0, 0.9);
         flex-direction: column;
         align-items: center;
         justify-content: center;
         transform: translateX(100%);
     }

     .nav-links li {
         margin: 20px 0;
         margin-left: 0;
         opacity: 0;
     }

     .hamburger {
         display: block;
     }

     .navbar.scrolled .nav-links {
         background-color: rgba(0, 0, 0, 0.95);
     }
 }

 /* Animación para el menú móvil */
 .nav-active {
     transform: translateX(0%) !important;
 }

 @keyframes navLinkFade {
     from {
         opacity: 0;
         transform: translateX(50px);
     }

     to {
         opacity: 1;
         transform: translateX(0px);
     }
 }

 /* Efecto de toggle para el ícono hamburguesa */
 .toggle .line1 {
     transform: rotate(-45deg) translate(-5px, 6px);
 }

 .toggle .line2 {
     opacity: 0;
 }

 .toggle .line3 {
     transform: rotate(45deg) translate(-5px, -6px);
 }

 /*** Footer ***/
.footer {
    color: #999999;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #999999;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #999999;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 2px solid rgba(0, 0, 0, 0.1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Service ***/
.service-text::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: var(--primary);
    opacity: 0;
    transition: .5s;
}

.service-item:hover .service-text::before {
    height: 100%;
    opacity: 1;
}

.service-text * {
    position: relative;
    transition: .5s;
    z-index: 1;
}

.service-item:hover .service-text * {
    color: #FFFFFF !important;
}

.img-fluid1 {
    width: 450px;
    height: 340px;
    object-fit: cover;

}

/*** Appointment ***/
.appointment {
    background: linear-gradient(rgba(0, 0, 0, .65), rgba(0, 0, 0, .65)), url(../img/carousel-2.jpg) center center no-repeat;
    background-size: cover;
}


/*** Team ***/
.team-text {
    position: absolute;
    width: 75%;
    bottom: 30px;
    left: 0;
    transition: .5s;
}

.team-item:hover .team-text {
    width: 100%;
}

.team-text * {
    transition: .5s;
}

.team-item:hover .team-text * {
    letter-spacing: 2px;
}


/*** Testimonial ***/
.testimonial-carousel .owl-item img {
    width: 700px;
    height: 500px;
    object-fit: contain;
}

.testimonial-carousel .owl-nav {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    width: 50px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: #FFFFFF;
    background: var(--primary);
}

/*+++++++++++++++++++++++++++ CSS para apmliar imagen +++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

/* Estilos para la galería */
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 40px;
}

.gallery img {
    width: 200px;
    height: 350px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* Estilos para el modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.modal-content {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 600px;
    max-height: 120vh;
    margin-top: 4vh;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 800px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
}

/***********************************************/


.gradient-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, #e90707, #c94e4e, #ebbebe);
    margin: 50px 0;
}

@media (max-width: 768px) {
    .gradient-divider {
        height: 1px;
        margin: 30px 0;
    }
}