body {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f4f4f4;
    color: #333;
}

header {
    margin: 0.8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: white; 
    /* border-radius: 20px; */
}
/****************************************************************************/


/************************************************************************/
.logo-title-container {
    display: flex;
    align-items: center;
    margin-left: 5px;
    flex: 1;
}

.logo {
    max-width: 100px;
    /*width: 130px; /* Ajusta el tamaño del logo */
    height: auto;
    margin-right: 20px;
}


nav ul {
    list-style-type: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0;
    margin: 0;
    background-color: white; /* Ajusta el color de fondo si es necesario */
}

nav ul li {
    display: inline-block;
    margin-right: 20px;    
}

nav ul li:last-child {
    margin-right: 0;
}

nav ul li a {
    text-decoration: none;
    color: #F47437; /* Ajusta el color del texto si es necesario */
    font-weight: bold;
}

nav ul li a:hover {
    background-color: #f88a1d6e;

}

nav ul li a img.masterpets {
    width: 100px; /* Ajusta el tamaño de la imagen */
    height: auto;
}

.masterpets-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

/*************************************************************************/


.titulo-encabezado{
    color: #F47437;
    font-size: 35px;
    /* padding-block: 5px; */
}

h1 {
    color: #F47437;
    font-size: 40px;
    margin: 0;
    margin-block: 40px;
}

.titulo-pets{
    text-align: center;
}

h2 {
    color: #F47437;
    font-size: 40px;
    margin-block: 40px;
}

#aliados-Mascotas h2{
    color: white;
}

h3 {
    color: #0F66A3;
}

.foot {
    font-size: 10px;
    color: white;
}

p {
    font-size: 20px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color: black;
    margin: 10px 0 20px 0;    

}

.paragraph-container {
    width: 100%;
    max-width: 100%;
    padding: 0 20px; /* Añade un pequeño espacio a los lados para evitar que el texto toque los bordes de la pantalla */
    box-sizing: border-box; /* Asegura que el padding no afecte al ancho total */
    overflow-wrap: break-word; /* Permite que las palabras largas se rompan en líneas nuevas si no caben en el contenedor */
}

.services, .products {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.service, .product {
    flex: 1;
    min-width: 200px;
    background-color: #ecf0f1;
    padding: 1rem;
    /* border-radius: 5px; */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

section {
    margin-bottom: 3rem;
    background-color: white;
    padding: 1rem;
    /* border-radius: 5px; */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#aliados-Mascotas{
    background-color: #F47437;
    margin: 0.8%;
}
/**************************Galeria********************************/
.carousel {
    display: flex;
    overflow: hidden;
    width: 100%;
    height: 200px;
    
    background-color: #F47437;
    
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    min-width: 150px; /* Ajusta este valor según sea necesario */
    height: 150px; /* Ajusta este valor según sea necesario */
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px;
}

.carousel-item img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 50%;
}
/******************************************************************************/
#carouselSect {
    display: flex;
    justify-content: space-around;
    overflow: hidden;
    width: 100%;
    height: 200px;
    position: relative;
    background-color: white;
    flex-wrap: wrap;
    
}

#trackSect{
    display: flex;
    transition: transform 0.5s ease-in-out;
}

#carouselImagen {
    min-width: 170px; 
    height: 200px; 
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1 1 150px;

}

#carouselImagen img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 50%;
}


/******************************************************************************/

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* background: rgba(255, 255, 255, 0.9); Add a semi-transparent background */
    border-radius: 8px;
  }
  
  .contact-form, .contact-info, .map {
    background: #fff;
    padding: 20px;
    margin: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 800px;
  }
  
  .contact-form h2, .contact-info h2, .map h2 {
    margin-bottom: 20px;
    color: #F47437;
  }
  
  .contact-form form {
    display: flex;
    flex-direction: column;
  }
  
  .contact-form input, .contact-form textarea {
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
  }
  
  .contact-form button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    background: #F47437;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  .contact-form button:hover {
    background: #0056b3;
  }
  
  .contact-info p {
    margin: 5px 0;
    color: #555;
  }
  
  .contact-info a {
    color: #007BFF;
    text-decoration: none;
  }
  
  .contact-info a:hover {
    text-decoration: underline;
  }
  
  .map iframe {
    width: 100%;
    border: 0;
    border-radius: 8px;
  }

/*****************************************************************/

.asesoria {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    /* max-width: 80rem;
    margin: 0 auto;
    padding: 2rem; */
    /* space-y: 2rem; */
}

/* Text Alignment */
.text-center {
    text-align: center;
}

/* Titles */
.title {
    font-size: 2.3rem;
    font-weight: bold;
    /* Tailwind Red-600 */
    color: #0F66A3;
    padding: 2rem;
}

.subtitle {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    color: #F47437;
}

.texto {
    font-size: 1.5rem;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    text-align: center;
    color: #F47437;
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 1rem;
}

.grid-cols-3 {
    grid-template-columns: 1fr;

}

@media (min-width: 768px) {
    .grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.grid-cols-2 {
    grid-template-columns: 1fr;
    margin-top: 2em;
}

@media (min-width: 768px) {
    .grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Space */
.space-y-2 > * + * {
    margin-top: 0.8rem;
}

/* List Styles */
.list {
    list-style-type: disc;
    padding-left: 1.8rem;
    font-size: 1.3rem;
    color: #F47437;
}

/* Image Styles */
.image {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    /* border-radius: 1%; */
}

.image-brigada{
    width: 100%;
    aspect-ratio: 4 / 4;
    object-fit: cover;
    /* border-radius: 1%; */
}

.image-large {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.image-center {
    width: 50%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

/* Backgrounds and Colors */
.bg-blue {
    background-color: white; /* Tailwind Blue-700 */
    margin-bottom: 0.5em;
}

.text-white {
    color: #fff;
}

.p-4 {
    padding: 1rem;
}

.flex {
    display: flex;
}

.justify-center {
    justify-content: center;
}

.items-center {
    align-items: center;
}

.list a{
    color: rgb(54, 188, 74);
}



/***********************************************************/

footer {
    background-color: #F47437;
    color: white;
    text-align: center;
    padding: 1rem;
    /*position: fixed;*/
    bottom: 0;
    margin: 0.8%;
    width: 100%;
}


@media (max-width: 768px) {
    .sections {
        flex-direction: column;
        align-items: center;
    }
}

@media (min-width: 768px) {
    nav ul {
        gap: 3rem;
    }

    .services, .products {
        flex-wrap: nowrap;
    }
}


 @media (min-width: 300px) {
    .gallery img {
        width: calc(18% - 4px);
    }
}

@media (max-width: 299px) {
    .gallery img {
        width: calc(20% - 10px);
    }
}
