  * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Montserrat', sans-serif;
        }
        
        html {
            scroll-behavior: smooth;
        }
        
        body {
            color: #333;
            
            overflow-x: hidden;
            background: #f0f0f0;
            

        }
        
        section {
            padding: 100px 5%;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            position: relative;
            margin-bottom: 40px;
            border-radius: 10px;
        }
        
        h1, h2, h3 {
            margin-bottom: 20px;
            color: #dd8b0b;
              
        }
        
        p {
            margin-bottom: 15px;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            position: relative;
            z-index: 2;
        }
        
        /* Efecto blur para cada sección */
        .background-layer {
            position: absolute;
            top: 20px;
            left: 20px;
            right: 20px;
            bottom: 20px;
            background-color: rgba(208, 208, 208, 0.264);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            z-index: 1;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.019);
            border-radius: 30px;
            border: 2px solid #fafafa;
        }
        
        /* Estilos del menú (proporcionados) */
        .circular-menu {
            position: fixed;
            top: 30px;
            left: 30px;
            z-index: 1000;
            display: flex;
            align-items: center;
            text-transform: uppercase;
        }

        .menu-toggle {
            width: 70px;
            height: 70px;
            background-color: #f9f9f9;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            color: #333;
            cursor: pointer;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            transition: all 0.3s ease;
            z-index: 1002;
            position: relative;
            overflow: hidden;
        }

        .menu-toggle:hover {
            transform: scale(1.05);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
        }

        .logo {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 90%;
            height: 90%;
        }

        .img-logo {
            max-width: 80%;
            max-height: 80%;
            object-fit: contain;
        }

        .menu-items {
            position: absolute;
            top: 0;
            left: 0;
            height: 70px;
            background: #f9f9f9;
            border-radius: 35px;
            display: flex;
            align-items: center;
            padding: 0 0 0 80px;
            transition: all 0.5s ease;
            width: 70px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            z-index: 1001;
            opacity: 0;
            transform: translateX(-20px);
        }

        .circular-menu:hover .menu-items {
            width: 700px;
            opacity: 1;
            transform: translateX(0);
        }

        .menu-items ul {
            display: flex;
            list-style: none;
            gap: 30px;
            margin: 0;
            padding: 0;
            opacity: 0;
            transition: opacity 0.3s ease 0.2s;
        }

        .circular-menu:hover .menu-items ul {
            opacity: 1;
        }

        .menu-items li {
            white-space: nowrap;
        }

        .menu-items a {
            color: #333;
            text-decoration: none;
            font-size: 14px;
            transition: all 0.3s ease;
            padding: 8px 12px;
            border-radius: 20px;
        }

        .menu-items a:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-2px);
        }
        
        /* Sección Hero */
        .hero {
            text-align: center;
            
            background: url('./assets/CHAINS.png') no-repeat center center/cover;
        }
        
        .hero-content {
            max-width: 800px;
            margin: 0 auto;
        }
        
        .hero h1 {
            font-size: 2rem;
            margin-bottom: 30px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
            color: #dd8b0b;
            display: flex ;
            align-items: flex-end;
        }
        #Bioanalitica-logo{
            height: 2rem;
            margin-left: 20px;
        }
        .btn {
            display: inline-block;
            background: #fafafa;
            color: #dd8b0b;
            padding: 15px 40px;
            border-radius: 30px;
            border:4px solid #dd8b0b;
            text-decoration: none;
            font-weight: bold;
            
            letter-spacing: 1px;
            transition: all 0.3s ease;
            margin-top: 20px;
        }
        
        .btn:hover {
            background: #dd8b0b;
            transform: translateY(-3px);
            color: #fafafa;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }
        
        /* Slider automático */
        .slider-container {
            overflow: hidden;
            width: 100%;
            position: relative;
            height: 400px;
            border-radius: 10px;
            margin: 40px 0;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }
        
        .slider-track {
            display: flex;
            animation: slide 20s linear infinite;
            width: 200%;
        }
        
        .slider-item {
            width: 50%;
            flex-shrink: 0;
        }
        
        .slider-item img {
            width: 100%;
            height: 400px;
            object-fit: cover;
        }
        
        @keyframes slide {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }
        
        /* Segunda sección */
        .section-two {
            text-align: left;
        }
        
        .section-two h2 {
            text-align: left;
            font-size: 3rem;
        }
        
        .text-content {
            display: flex;
            flex-direction: column;
        }
        
        .bold-text {
            font-weight: bold;
            font-size: 1.5rem;
        }
        
        /* Tercera sección */
        .section-three {
            color: #333;
            background: url('./assets/NOSOTROS.png') no-repeat center center/cover;
        }

        .section-three h2{
            color: #dd8b0b;
            font-size: 3rem;

        }
        
        .section-three h3{
            color: #dd8b0b;
            font-style: italic;
            font-size: 2rem;
            font-weight: 600;
        }
        
        .features {
            display: flex;
            justify-content: space-between;
            margin-top: 50px;
            gap: 30px;
        }
        
        .feature {
            flex: 1;
            background: rgba(255, 255, 255, 0.5);
            padding: 25px;
            border-radius: 10px;
            text-align: center;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        
        /* Cuarta sección */

        #section-four h2{
            font-size: 3rem;
            text-transform: uppercase;

        }


        #section-four h3{
            font-size: 1.5rem;
            text-transform: uppercase;
            font-weight: 500;

        }

        
        .cards {
            display: grid;
            grid-template-columns: repeat(2, 1fr); 
            gap: 40px;
            margin-top: 50px;
            
            border-radius: 30px;
            width: 100%;
        }
        
        .card {
            flex: 1;
            padding: 30px;
            border-radius: 30px;
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
            background-color: rgba(208, 208, 208, 0.264);
            border: 2px solid #fafafa;


        }
        
        .card::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 4px;
            background: #ff6b0f;
            transition: width 0.3s ease;
        }
        
        .card:hover::before {
            width: 100%;
        }
        
        .card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }

        /*Representadas seccion*/

        .representadas-container {
            max-width: 1400px;
            width: 100%;
            padding: 20px;
            padding-bottom: 0;
            margin: 0 auto;
        }
        
       .representadas-container h2 {
            text-align: center;
            margin-bottom: 40px;
            color: #dd8b0b;
            font-size: 3rem;
            
        }
        
        /* Carrusel de marcas */
        .brands-slider-container {
            overflow: hidden;
            width: 100%;
            position: relative;
            border-radius: 12px;
            margin: 40px 0;
            padding: 20px 0;
        }
        
        .brands-slider-track {
            display: flex;
            animation: slide 30s linear infinite;
            width: 200%;
        }
        
        .brand-slide {
            width: 25%;
            flex-shrink: 0;
            padding: 20px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            background: white;
            border-radius: 12px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
            margin: 0 15px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            height: 300px;
        }
        
        .brand-slide:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
        }
        
        .brand-logo {
            
            height: 80px;
            object-fit: contain;
            margin-bottom: 20px;
            
            padding: 15px;
            
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
        }
        
        .brand-title {
            font-size: 1.4rem;
            font-weight: 700;
            color: #dd8b0b;

            margin-bottom: 12px;
            text-align: center;
        }
        
        .brand-description {
            text-align: center;
            color: #7f8c8d;
            line-height: 1.5;
            padding: 0 15px;
        }
        
        @keyframes slide {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }
        
        /* Controles de pausa */
        .slider-controls {
            text-align: center;
            margin-top: 20px;
        }
        
        .slider-controls button {
            background: #3498db;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 30px;
            cursor: pointer;
            margin: 0 5px;
            transition: background 0.3s ease;
        }
        
        .slider-controls button:hover {
            background: #2980b9;
        }
        
        /* Responsive */
        @media (max-width: 992px) {
            .brand-slide {
                width: 50%;
            }
            
            .brands-slider-track {
                width: 400%;
            }
        }
        
        @media (max-width: 576px) {
            .brand-slide {
                width: 100%;
            }
            
            .brands-slider-track {
                width: 800%;
            }
            
            h2 {
                font-size: 1.8rem;
            }
        }
        
        /* Quinta sección - Carrusel */
        .carousel {
            position: relative;
            overflow: hidden;
            padding: 60px 0;
        }
        
        .carousel-container {
            display: flex;
            transition: transform 0.5s ease;
        }
        
        .carousel-item {
            min-width: 100%;
            padding: 0 15px;
        }
        
        .carousel-card {
            background: rgba(255, 255, 255, 0.8);
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            text-align: center;
            padding-bottom: 20px;
        }
        
        .carousel-card img {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }
        
        .carousel-card h3 {
            padding: 15px 20px 0;
            color: #004186;
        }
        
        .carousel-card p {
            padding: 0 20px;
            color: #333;
        }
        
        .carousel-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 107, 15, 0.8);
            color: white;
            border: none;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            font-size: 1.5rem;
            cursor: pointer;
            z-index: 10;
            transition: all 0.3s ease;
        }
        
        .carousel-btn:hover {
            background: #ff6b0f;
        }
        
        .carousel-prev {
            left: 20px;
        }
        
        .carousel-next {
            right: 20px;
        }
        
        /* Responsive */
        @media (max-width: 992px) {
            body {
                padding: 15px;
            }
            
            section {
                padding: 80px 5%;
            }
            
            .text-content, .features, .cards {
                flex-direction: column;
            }
            
            .hero h1 {
                font-size: 2.5rem;
            }
            
            .circular-menu:hover .menu-items {
                width: 300px;
            }
            
            .menu-items ul {
                flex-direction: column;
                gap: 15px;
            }
            
            .slider-container {
                height: 300px;
            }
            
            .slider-item img {
                height: 300px;
            }
        }

/* SERVICIOS */


 .servicios .cards {
           
            grid-template-columns: repeat(4, 1fr); 
            
           
        }
        
.servicios .card {

            text-align: center;
            font-weight: bolder;
            padding: 15px;
            padding-top: 25px;

    }



/* seccion texto-imagen*/

#texto-imagen{
    display: flex;
    flex-direction: row;
    font-size: 2rem;
    margin-top: 0;
    
}

.container-texto-imagen{
    padding-right: 40px;
}
.container-texto-imagen h2{
font-size: 3rem;

}



#texto-imagen img{
max-height: max-content;
}
@media (max-width: 1050px){
    #texto-imagen{
        flex-direction: column;
    }
}




/* Footer */
footer {
    color: #333;
    padding: 60px 20px;
    background: url('./assets/FOOTER.png') no-repeat center center;
    background-size: cover;
    position: relative;
    height: 40vh;
    display: flex;
    align-items: center; /* Centra verticalmente el contenido */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Alinea al inicio para control manual */
    flex-wrap: wrap;
    gap: 40px; /* Aumenté el espacio entre columnas */
    width: 100%;
    max-width: 1200px; /* Limita el ancho máximo */
    margin: 50px auto; /* Centra el contenido */
    z-index: 2;
    position: relative;
}

.footer-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Contenedor para logo y título */
.logo-container {
    display: flex;
    align-items: center; /* Alinea logo y texto verticalmente */
    gap: 15px; /* Espacio entre logo y texto */
    margin-bottom: 25px;
}

#footer-img {
    max-height: 30px; /* Aumenté ligeramente el tamaño */
}



.footer-items {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-items h4 {
    font-size: 30px;
    margin-bottom: 20px;
    
}

#ul-footer {
    list-style: none;
    margin-top: 0;
    padding-left: 0;
}

#ul-footer li {
    margin: 12px 0;
}

a {
    text-decoration: none;
    color: inherit;
    
    transition: color 0.3s;
}

a:hover {
    color: #dd8b0b;
}

span {
    margin-top: 8px;
    display: block;
}

#footer-mail{
margin-top: 20px;
}

/* Ajuste para alinear "CONTACTO" con el logo */
@media (min-width: 768px) {
    .footer-info,
    .footer-items {
        padding-top: 15px; /* Ajuste fino de alineación vertical */
    }
}