@media (max-width: 768px) {
    html {
        overflow-x: hidden;
    }
	body {
    	width: 100%;
    	max-width: 100%;
    	overflow-x: hidden;
    	position: relative;
		/*margin-left: -8px;*/
	}

    .m-top4{
        margin-top: 0rem;
    }
	
	.m-top-mobile{
		margin-top: 2rem;
	}

    .m-top2{
        margin-top: 0.4rem;
    }

    .fsize1 {
        font-size: x-large;
    }
    
    .fsize2 {
        font-size: large;
    }
    
    .fsize3 {
        font-size: small;
    }
    
    .fsize4 {
        font-size: medium;
    }
    
    .fsize5 {
        font-size: smaller;
    }
    
    .fsize6 {
        font-size: 0.8rem;
    }
    
    .fsize7 {
        font-size: 0.7rem;
    }

    .text-overlay {
        position: absolute;  
        top: 70px;
        left: 63px;
        width: 65%;
        height: 100%;
        z-index: 2; 
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        pointer-events: none;
    }

      .text-overlay2 {
        position: absolute;  
        top: 76px;
        left: 35px;
        width: 79%;
        height: 100%;
        z-index: 2; 
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        pointer-events: none;
      }

    .circle{
        width: 200%;
      }

    .margin-1{
        margin: 3rem 0rem 0rem -4rem;
    }

    .margin-2{
        margin: 3rem 0rem 0rem 1rem;
    }

    .card-custome3{
        padding: 1rem;
        background-color: #fff;
        border-radius: 0%;
        box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2);
		min-width: 200px;
    }

 .carousel-container {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        width: 100%;
    }

    .img-center {
        width: 70%;
        transition: transform 0.5s ease-in-out;
    }

    .img-side {
        width: 45%;
        opacity: 0.6;
        transition: transform 0.5s ease-in-out;
    }
	
	.img-2{
    	width: 70%;
	}

	.img-3{
    	width: 150%;
	}

    .card-custome4{
        border-radius: 20px;
        background: white;
        padding: 40px;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    }

    .btn-w{
        width: 50%;
        height: auto;
    }
    .btn-w2{
        width: 70%;
        height: auto;
    }
	.form-box2{
		min-width: auto;
	}
	.imagen-mujer-perro {
		display: block;
  		margin: 0 auto;
	}
	.imagen-gato {
		display: block;
  		margin: 0 auto;
	}
	.imagen-puntos-arbol1 {
		margin-left: -12px;
		text-align: right !important;
	}
	.imagen-puntos-arbol2 {
		margin-right: 0px;
		text-align: left !important;
	}
	.tarjetas-segunda-seccion {
		gap: 20px;
		padding-right: 16px;
	}
	.imagen-mancha-rosa {
		position: absolute; 
		margin-left: -105px;
        margin-top: -84px;
		max-width: 300px; 
		z-index: -1;
	}

	.imagen-mancha-azul {
		position: absolute; 
		z-index: -1;
		margin-left: -167px;
    	margin-top: -102px;
    	min-width: 800px;
	}
	
    	.custom-flex-container {
        	flex-direction: column;
    	}
	
	.imagen-mancha-rosa2 {
		position: absolute;
    	z-index: -1;
		margin-left: -79px;
        margin-top: 548px;
        min-width: 100px;
        max-width: 300px;
	}

	.imagen-mancha-azul2 {
		position: absolute; 
		z-index: -1;
		margin-left: 96px;
        margin-top: -139px;
        min-width: 100px;
        max-width: 400px;
	}
	.circulo-azul {
		position: absolute;
    	z-index: -1;
		margin-left: 1130px;
    	margin-top: 136px;
    	min-width: 300px;
    	max-width: 432px;
	}
	.logo-bbf {
		max-height: 250px;
		margin-top: 50px;
		margin-left: 0px;
	}

	.logo-jgl {
		max-height: 250px;
		margin-top: 50px;
    	margin-left: 0px;
	}
	    .card-custome2 {
        position: relative;
        background-color: #fff;
        border-color: transparent;
        border-radius: 0%;
        min-width: 300px;
        max-width: 360px;
        max-height: auto;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    }
	.seccion-sucursales {
    	margin-top: 3rem;
	}

	.contenedor-sucursales {
    	max-width: 1100px;
    	margin: 0 auto;
    	padding: 0 1rem;
    	display: flex;
    	flex-wrap: wrap;
    	gap: 6rem;
	}


	.columna-sucursal {
	    flex: 1 1 100%;
    	display: flex;
    	flex-direction: column;
    	gap: 1rem;
	}

	@media (min-width: 992px) {
    	.columna-sucursal {
        	flex: 1 1 45%;
    	}
	}

	.tarjeta-vertical-gris {
    	background-color: #f8f9fa;
    	border-radius: 16px;
   		height: 400px;
    	position: relative;
    	display: flex;
    	align-items: center;
    	justify-content: center;
    	overflow: hidden;
	}

	.tarjeta-horizontal-azul {
    	background-color: #003366;
    	color: white;
    	border-radius: 30px;
    	height: 328px;
    	padding: 1.5rem;
	}

	.marco-sucursal {
    	position: absolute;
    	width: 100%;
    	height: 100%;
    	object-fit: contain;
	}

	.imagen-mural {
    	z-index: 1;
    	max-height: 80%;
    	max-width: 80%;
		margin-top: 70px;
	}

	.mapa {
		margin-left: 0px;
		height: 280px;
	}
}
  }
  