body {
    font-family: 'Rubik', sans-serif;
    background-color: rgb(244, 243, 237);
    margin: 0;
    overflow-x: hidden;
    
}

.top-ribbon {
    background-color: #fff3cd;
    padding: 10px 0;
}

.navbar {
    padding: 15px 0;
}

.navbar-brand img {
    max-height: 50px;
}

.navbar-brand-center {
    text-align:center;
    margin:auto;
}

.navbar-brand-center img {
    max-height: 50px;
}


.navbar-toggler {
    border: none;
}

.hero-section {
    display: flex;
    align-items: center;
    min-height: 300px;
    margin: 20px 0;
    padding: 20px 0;
}

.hero-text {
    font-family: 'Rubik', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: #000000;
    text-align: left;
}

.btn-egg-yellow {
    background-color: #FFC107;
    border-color: #FFC107;
    color: #000000;
    margin-top: 20px;
    font-family: 'Rubik', sans-serif;
    font-size: 14pt;
    font-weight: 700;
    padding: 10px 20px;
    text-decoration: none;
    display: inline-block;
}

.btn-back {
    background-color: #6c757d;
    border-color: #6c757d;
    color: #000000;
    margin-top: 20px;
    font-family: 'Rubik', sans-serif;
    font-size: 14pt;
    font-weight: 700;
    padding: 10px 20px;
    text-decoration: none;
    display: inline-block;
}

.line-space {
    line-height: 1.5em;
    color:darkslategrey;
}
.btn-egg-yellow:hover {
    background-color: #FFB300;
    border-color: #FFB300;
    color: #000000;
}

.nav-link {
    color: #000;
    font-weight: 500;
    font-family: 'Rubik', sans-serif;
    font-size: 14pt;
}

.nav-link:hover {
    color: #FFC107;
}

.breadcrumb-nav {
    background: none;        /* Remove background */
    padding: 0.5rem 0;       /* Reduce vertical padding */
    font-size: 0.9rem;       /* Make it smaller */
    margin-bottom: 1rem;     /* Space below, optional */
}

.breadcrumb-nav .breadcrumb {
    background: none;        /* Remove default breadcrumb background if using Bootstrap */
    margin-bottom: 0;
    padding: 0;
}

.nice-text {
    font-family: 'Rubik', sans-serif;
    font-size: 14pt;
    text-align: justify;
}

/* Carousel Styles */
.carousel-container {
    max-width: 100%;
    overflow: hidden;
}

.carousel-header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.carousel-controls {
    display: flex;
    gap: 10px;
}

.carousel-btn {
    background-color: #FFC107;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
}

.carousel-btn:hover {
    background-color: #FFB300;
}

.carousel-inner-custom {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-card {
    flex: 0 0 33.33%;
    padding: 15px;
    display: flex; /* Añadido */
}

.card {
    width:100%;
    height: 100%; /* Añadido */
    display: flex; /* Añadido */
    flex-direction: column; /* Añadido */
    min-height: 300px; /* Ajusta este valor según tus necesidades */
}

.card-body {
    flex-grow: 1; /* Añadido para que el cuerpo crezca y ocupe el espacio disponible */
    display: flex; /* Añadido */
    flex-direction: column; /* Añadido */
    justify-content: space-between; /* Añadido para distribuir el contenido */
}

.card img {
    height: 200px;
    object-fit: cover;
}

/* Footer Styles */
footer {
    background-color: #fff;
    padding: 20px 0;
    border-top: 1px solid #ddd;
}

footer img {
    max-width: 100%;
    height: auto;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 10px;
}

footer a {
    color: #000;
    text-decoration: none;
}

footer a:hover {
    color: #FFC107;
}

/* Services Menu Styles */
.services-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 25%;
    height: 100%;
    background-color: #fff;
    box-shadow: 2px 0 5px rgba(0,0,0,0.2);
    transition: left 0.3s ease-in-out;
    z-index: 1000;
    padding: 20px;
    overflow-y: auto;
}

.services-menu.active {
    left: 0;
}

.services-menu h3 {
    font-family: 'Rubik', sans-serif;
    color: #000;
    margin-bottom: 20px;
}

.services-menu ul {
    list-style: none;
    padding: 0;
}

.services-menu li {
    margin-bottom: 15px;
}

.services-menu a {
    color: #000;
    text-decoration: none;
    font-family: 'Rubik', sans-serif;
    font-size: 14pt;
}

.services-menu a:hover {
    color: #FFC107;
}

.services-menu h5 {
    margin-top: 20px;
    margin-bottom: 10px;
    color: #000;
    font-family: 'Rubik', sans-serif;
}

/* Industries Menu Styles */
.industries-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 25%;
    height: 100%;
    background-color: #fff;
    box-shadow: 2px 0 5px rgba(0,0,0,0.2);
    transition: left 0.3s ease-in-out;
    z-index: 1000;
    padding: 20px;
    overflow-y: auto;
}

.industries-menu.active {
    left: 0;
}

.industries-menu h3 {
    font-family: 'Rubik', sans-serif;
    color: #000;
    margin-bottom: 20px;
}

.industries-menu ul {
    list-style: none;
    padding: 0;
}

.industries-menu li {
    margin-bottom: 15px;
}

.industries-menu a {
    color: #000;
    text-decoration: none;
    font-family: 'Rubik', sans-serif;
    font-size: 14pt;
}

.industries-menu a:hover {
    color: #FFC107;
}

.industries-menu h5 {
    margin-top: 20px;
    margin-bottom: 10px;
    color: #000;
    font-family: 'Rubik', sans-serif;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 999;
}

@media (max-width: 767px) {
    .hero-text {
        font-size: 2rem;
    }
    
    .hero-section {
        min-height:100px;
    }

    .btn-egg-yellow {
        font-size: 12pt;
        padding: 8px 16px;
    }

    .nice-text {
        font-size: 12pt;
    }

    .carousel-card {
        flex: 0 0 100%;
    }

    .carousel-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .carousel-controls {
        margin-top: 10px;
    }

    .services-menu {
        width: 100%;
    }

    .industries-menu {
        width: 100%;
    }
}
