* {
    margin: 0%;
    font-size: 1.125rem;
}

body {
    background-image: url('img/FONDO/FONDO\ PW-01.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin: 0;
}

.navbar {
    background-color : #20244d;
    font-size: 1.5rem;
}

.navbar-brand { color: white; }
.navbar-brand:hover { color: #62b22e; }
.navbar-brand:focus { color: #62b22e; }

.nav-link { color: white; }
.nav-link:hover { color: #62b22e; }
.nav-link:focus { color: #62b22e; }
.navbar-toggler-icon { color: white; }

.navbar-toggler {
    border-color: white;
    color: white;
}

footer {
    background-color: #62b22e;
    color: white;
}

.btn {
    width: auto;
    align-self: flex-start;
    align-items: center;
    margin: 0 auto;
}

.btn-success { background-color: #62b22e; }
.btn-success:active { background-color: #62b22e !important; }
.btn-success:hover { background-color: #62b22e; }
.btn-success:focus { background-color: #62b22e; }

.hero {
    position: relative;
    background-image: url('img/01 PRINCIPAL/FOTO GRUPAL 01.jpg');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(48, 49, 83, 0.9);
    z-index: 1; 
}

.hero .container {
    position: relative;
    z-index: 2; 
}

strong {
    color: #62b22e;
    font-size: inherit;
}

#Nosotros {
    background-color: #20244d;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

#Clientes {
    background-color: #20244d;
    color: white;
}

#Partners {
    min-height: 50vh;
    display: flex;
    align-items: center;
}

.btn-hero { margin-top: 20px; }
.hero-section { min-height: 100vh; }

.hero-image {
    object-fit: cover;
    width: 100%; 
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}


#Areas .card {
    background-color: #20244d;
    color: white;
}

.card-title { margin: 0; }

.card-custom {
    overflow: visible;
    margin-bottom: 0px;
    border: none;
}

.card-body-custom {
    width: 50%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: auto;
}

.card-img-wrapper {
    position: relative;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-img {
    width: 140%;
    height: auto;
    transform: translateY(-5%);
}

.card { height: 100%; }
.card-final-text { border: none; }
.card-final-img { border: none; }

.card-body-final {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: auto;
}

.card-img-wrapper-final {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
}

.card-img-final {
    width: 100%;
    height: auto;
}

#Clientes .card {
    border: 0;
    background-color: #20244d;
    color: white;
}

header {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(48, 49, 83, 0.9);
    z-index: 1; 
}

header .container {
    position: relative;
    z-index: 2; 
}

.division {
    background-color: #62b22e;
    color: white;
    min-height: 20vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.division2 {
    background-color: #20244d;
    color: white;
    min-height: 20vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.division strong {
    color: #20244d;
}

#about_header {
    background-image: url('img/01 PRINCIPAL/FOTO GRUPAL 01.jpg');
}

#consultoria_header {
    background-image: url('img/03 CONSULTORIA/FOTO CONSULTORIA bg.JPG');
    background-position: top;
}

#soporte_header {
    background-image: url('img/04 SOPORTE/FOTO SOPORTE bg.JPG');
    background-position: top;
}

#integraciones_header {
    background-image: url('img/05 ANALISIS E INTEGRACIONES/FOTO INTEGRACIONES bg.JPG');
    background-position: top;
}

#contacto_header {
    background-image: url('img/01 PRINCIPAL/LOGO BLANCO SL.PNG');
}

#software_header {
    background-image: url('img/06 SOFTWARE/Fondo.png');
}

#Software .card {
    background-color: #20244d;
    color: white;
    display: flex; 
    align-items: center; 
    justify-content: center;
    flex-direction: column;
}

#Software img {
    max-height: 275px;
    height: auto;
}

#softwareLista .card-img {
    transform: none;
    width: 100%;
    max-width: 150px;
    height: auto;
    object-fit: contain;
}

.custom-input, .custom-textarea {
    border: 2px solid black;
    border-radius: 25px;
    padding: 10px 15px;
    color: #62b22e;
}

.custom-input::placeholder, .custom-textarea::placeholder {
    color: #62b22e;
    opacity: 1;
}

.custom-input:focus, .custom-textarea:focus {
    border-color: #62b22e;
    box-shadow:  none;
}


/* Carrusel */
.carousel-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100%;
}
.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}
.carousel-card {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0 15px;
    box-sizing: border-box;
}

#partnersTrack .card {
    background: transparent;
    border: 0px;
}

#partnersTrack .card img { margin: auto; }
#softwareCarousel .carousel-container { overflow: hidden; }

#softwareCarousel .carousel-card {
    flex: 0 0 100%;
    max-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#softwareCarousel .carousel-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin: 0; 
    transform: none; 
    max-width: 200px;
}

.ferris-wheel {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.ferris-track {
    position: absolute;
    width: 200px;
    height: 200px;
    top: 75%;
    left: -50%;
    transform: translate(0, -75%) rotate(0deg);
    animation: spinFerris 18s linear infinite;
}

.ferris-card {
    position: absolute;
    width: 100px;
    height: 100px;
    top: 50%;
    left: 50%;
    transform-origin: center center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ferris-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ferris-card:nth-child(1) { transform: translate(-50%, -50%) rotate(0deg) translate(0, -150px); }
.ferris-card:nth-child(2) { transform: translate(-50%, -50%) rotate(60deg) translate(0, -150px); }
.ferris-card:nth-child(3) { transform: translate(-50%, -50%) rotate(120deg) translate(0, -150px); }
.ferris-card:nth-child(4) { transform: translate(-50%, -50%) rotate(180deg) translate(0, -150px); }
.ferris-card:nth-child(5) { transform: translate(-50%, -50%) rotate(240deg) translate(0, -150px); }
.ferris-card:nth-child(6) { transform: translate(-50%, -50%) rotate(300deg) translate(0, -150px); }

@keyframes spinFerris {
    from { transform: translate(0, -50%) rotate(0deg); }
    to { transform: translate(0, -50%) rotate(360deg); }
}


#ERPTrack .carousel-card,
#nominaTrack .carousel-card,
#ruteoTrack .carousel-card,
#entregasTrack .carousel-card,
#otrosTrack .carousel-card
{
    flex: 0 0 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
}

#ERPTrack .card,
#nominaTrack .card,
#ruteoTrack .card,
#entregasTrack .card,
#otrosTrack .card
{
    width: 100%;
    display: flex;
    justify-content: center;
}

#ERPTrack .card-img,
#nominaTrack .card-img,
#ruteoTrack .card-img,
#entregasTrack .card-img,
#otrosTrack .card-img
{
    width: 100%;
    max-width: 150px;
    height: auto;
    object-fit: contain;
}

#Software .card-custom {
    display: flex;
    flex-direction: column;
}

#Software .card-body-custom {
    min-height: 60px; 
    max-height: 20%;
    flex-shrink: 0;
}

#Software .card-img-wrapper { flex-grow: 1; }

@media (max-width: 768px) {
    .card-custom { flex-direction: column; }
    .card-body-custom { justify-content: flex-start; }
    
    .card-img-wrapper,
    .card-body-custom 
    { width: 100%; }
    
    #clientesTrack .carousel-card,
    #partnersTrack .carousel-card {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .ferris-track {
        width: 200px;
        height: 200px;
    }
    .ferris-card {
        width: 80px;
        height: 80px;
    }
    .ferris-card:nth-child(1) { transform: translate(-50%, -50%) rotate(0deg) translate(0, -100px); }
    .ferris-card:nth-child(2) { transform: translate(-50%, -50%) rotate(60deg) translate(0, -100px); }
    .ferris-card:nth-child(3) { transform: translate(-50%, -50%) rotate(120deg) translate(0, -100px); }
    .ferris-card:nth-child(4) { transform: translate(-50%, -50%) rotate(180deg) translate(0, -100px); }
    .ferris-card:nth-child(5) { transform: translate(-50%, -50%) rotate(240deg) translate(0, -100px); }
    .ferris-card:nth-child(6) { transform: translate(-50%, -50%) rotate(300deg) translate(0, -100px); }
}

#noticias_header {
    background-image: url('img/01 PRINCIPAL/LOGO BLANCO SL.PNG');
}

.video-container {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}
