/*------------------------------------------------------------------ Header -------------------------------------------------------------------*/
/* Font League Sparta Titles*/
@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@400;700&display=swap');

/* General header styling */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: transparent; /* Solid background color */
}

/* General row styling */
.header-size {
    align-items: center;
    height: 100px;
    position: relative;
    overflow: hidden; /* Ensure animation doesn't overflow */
}

/* Common Flexbox for sections */
.header-left, .header-center, .header-right {
    height: 100%;
    display: flex;
    align-items: center;
}

/* Shared background color */
.header-left, .header-center, .header-right, .header-bottom {
    background-color: #FFCC00; /* Consolidated color */
}

/* Specific styling for sections */
.header-left {
    justify-content: center;
}

.header-center {
    justify-content: center;
}

.header-right {
    justify-content: flex-start;
    padding: 1% 0 0 7%; /* Consolidated padding */
}

/* Navbar-toggler button */
.header-left .navbar-toggler {
    background-color: transparent;
    border: none;
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    height: 50px;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.navbar-toggler-icon {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 30px;
    height: 30px;
}

/* Logo image */
.header-center .logo img {
    max-height: 60px;
    width: auto;
    display: block;
    margin: 0 auto;
}

/* Contact info */
.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    position: relative;
    z-index: 2; /* Ensure content is above the background */
}

.contact-item img {
    height: 28px;
    object-fit: contain;
}

.contact-item span {
    font-size: 25px;
    font-family: 'League Spartan', sans-serif;
    font-weight: 400; /* Regular weight */
    color: white;
}

/* Navbar */
.header-bottom {
    text-align: center;
    justify-content: center;
}

.header-bottom nav {
    margin-right: 7%;
}

.navbar-nav {
    display: flex;
    justify-content: center;
    width: 100%;
}

.navbar-nav .nav-link {
    font-size: 22px;
    font-family: 'League Spartan', sans-serif;
    color: rgb(75, 75, 75);
    padding: 10px 20px;
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
    font-weight: 100;
    z-index: 200;
}

.nav-link {
    padding-left: 10px;
    padding-right: 10px;
}

.navbar-nav .nav-link.active {
    text-decoration: underline;
    text-underline-offset: 8px;
    color: rgb(0, 0, 0);
}

.navbar-nav .nav-link:hover {
    color: rgb(101, 101, 101);
    text-decoration: underline;
    text-underline-offset: 8px;
}

.navbar-expand-lg {
    justify-content: center;
}

.navbar-toggler:focus{
    outline: 0;
 }


/*------------------------------------------- HEADER RESPONSIVE ----------------------------------------------*/

/* 1224px - 1333px */
@media (min-width: 1224px) and (max-width: 1333px) {
    .contact-item img {
        height: 25px;
        object-fit: contain;
    }
    .contact-item span {
        font-size: 20px;
    }
    .navbar-nav .nav-link {
        font-size: 20px;
    }
}

/* 1058px - 1224px */
@media (min-width: 1058px) and (max-width: 1224px) {
    .contact-item img {
        height: 25px;
        object-fit: contain;
    }
    .contact-item span {
        font-size: 20px;
    }
    .navbar-nav .nav-link {
        font-size: 20px;
    }
    .header-right {
        padding: 1% 0 0 4%; /* Consolidated padding */
    }
}

/* 992px - 1058px */
@media (min-width: 992px) and (max-width: 1058px) {
    .contact-item img {
        height: 25px;
        object-fit: contain;
    }
    .contact-item span {
        font-size: 20px;
    }
    .navbar-nav .nav-link {
        font-size: 18px;
    }
    .navbar-expand-lg {
        justify-content: center;
    }
    .header-right {
        padding: 1% 0 0 4%; /* Consolidated padding */
    }
}

/* 700px - 991px */
@media (min-width: 769px) and (max-width: 992px) {
    .navbar-nav .nav-link {
        font-size: 16px;
    }
    .contact-item img {
        height: 25px;
        object-fit: contain;
    }
    .contact-item span {
        font-size: 16px;
    }
    .header-right {
        padding: 1% 0 0 1%; /* Consolidated padding */
    }
    .header-bottom nav {
        margin-right: 1%;
    }  
}


/* 576px - 699px */
@media (min-width: 576px) and (max-width: 768px) {

    .contact-item img {
        height: 20px;
        object-fit: contain;
    }
    .contact-item span {
        font-size: 15px;
    }
    .header-right {
        padding: 0px;
    }
    .header-center .logo img {
        max-width: 230px;
    }
    .navbar-nav .nav-link {
        font-size: 10px;
        color: white;
        /* White text on the solid background */
        font-size: 18px;
        /* Adjust font size */
        padding: 10px 20px;
        /* Adjust padding */
    }
    .header-bottom {
        justify-content: start;
        background-color: transparent;
        text-align: start;
        height: 0;
    }
    .navbar-toggler-icon {
        background-image: url("../images/expand.png");
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        width: 30px;
        height: 30px;
        background-color: transparent;
        border: none;
    }
    
    /* Navbar collapse with solid background */
    .navbar-collapse {
        background-color: rgba(0, 0, 0, 0.9);
        /* Solid background with opacity */
        padding: 20px;
        /* Right below the header */
        left: 0;
        width: 100%;
        /* Initially hidden */
        z-index: 1000;
        transition: all 0.3s ease-in-out;
    }


    /* Active link styling for small screens */
    .navbar-nav .nav-link.active {
        background-color: #ffcc00;
        color: black;
    }

    /* Style the menu items when hovered */
    .navbar-nav .nav-link:hover {
        color: #ffcc00;
        /* Change color on hover */
    }

    /* When the navbar is expanded (shown), make it visible */
    .navbar-collapse.show {
        display: block;
    }

    .navbar-toggler{
        z-index: 10000;
        left: 10px;
    }
}

/* 471px - 576px */
@media (min-width: 471px) and (max-width: 577px) {
    .contact-item img {
        height: 20px;
        object-fit: contain;
    }
    .contact-item span {
        font-size: 13px;
    }
    .header-right {
        padding: 0px;
        justify-content: center;
    }
    .header-center .logo img {
        max-width: 200px;
    }
    .navbar-nav .nav-link {
        font-size: 10px;
        color: white;
        /* White text on the solid background */
        font-size: 18px;
        /* Adjust font size */
        padding: 10px 20px;
        /* Adjust padding */
    }
    .header-bottom {
        justify-content: start;
        background-color: transparent;
        text-align: start;
        height: 0;
    }
    .navbar-toggler-icon {
        background-image: url("../images/expand.png");
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        width: 25px;
        height: 25px;
        background-color: transparent;
        border: none;
    }
    
    /* Navbar collapse with solid background */
    .navbar-collapse {
        background-color: rgba(0, 0, 0, 0.9);
        /* Solid background with opacity */
        padding: 20px;
        /* Right below the header */
        left: 0;
        width: 100%;
        /* Initially hidden */
        z-index: 1000;
        transition: all 0.3s ease-in-out;
    }


    /* Active link styling for small screens */
    .navbar-nav .nav-link.active {
        background-color: #ffcc00;
        color: black;
    }

    /* Style the menu items when hovered */
    .navbar-nav .nav-link:hover {
        color: #ffcc00;
        /* Change color on hover */
    }

    /* When the navbar is expanded (shown), make it visible */
    .navbar-collapse.show {
        display: block;
    }

    .navbar-toggler{
        z-index: 10000;

    }

    .header-content{
        position: relative;
        left: 20px;
        z-index: 10000;
    }
}

/* 371px - 471px */
@media (min-width: 371px) and (max-width: 471px) {
    .contact-item img {
        height: 15px;
        object-fit: contain;
    }
    .contact-item span {
        font-size: 11px;
    }
    .header-right {
        padding: 0px;
        justify-content: center;
    }
    .header-center .logo img {
        max-width: 120px;
    }
    .navbar-nav .nav-link {
        font-size: 10px;
        color: white;
        /* White text on the solid background */
        font-size: 18px;
        /* Adjust font size */
        padding: 10px 20px;
        /* Adjust padding */
    }
    .header-bottom {
        justify-content: start;
        background-color: transparent;
        text-align: start;
        height: 0;
    }
    .navbar-toggler-icon {
        background-image: url("../images/expand.png");
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        width: 25px;
        height: 25px;
        background-color: transparent;
        border: none;
    }
    
    /* Navbar collapse with solid background */
    .navbar-collapse {
        background-color: rgba(0, 0, 0, 0.9);
        /* Solid background with opacity */
        padding: 20px;
        /* Right below the header */
        left: 0;
        width: 100%;
        /* Initially hidden */
        z-index: 1000;
        transition: all 0.3s ease-in-out;
    }


    /* Active link styling for small screens */
    .navbar-nav .nav-link.active {
        background-color: #ffcc00;
        color: black;
    }

    /* Style the menu items when hovered */
    .navbar-nav .nav-link:hover {
        color: #ffcc00;
        /* Change color on hover */
    }

    /* When the navbar is expanded (shown), make it visible */
    .navbar-collapse.show {
        display: block;
    }

    .navbar-toggler{
        z-index: 10000;

    }

    .header-content{
        position: relative;
        left: 20px;
        z-index: 10000;
    }
}

/* 300px - 371px */
@media (min-width: 200px) and (max-width: 371px) {
    .contact-item img {
        height: 16px;
        object-fit: contain;
    }
    .contact-item span {
        font-size: 9px;
    }
    .header-right {
        padding: 0;
        justify-content: left;
        min-width: 50%;
    }
    .header-center .logo img {
        max-width: 100px;
    }
    .navbar-nav .nav-link {
        font-size: 10px;
        color: white;
        /* White text on the solid background */
        font-size: 18px;
        /* Adjust font size */
        padding: 10px 20px;
        /* Adjust padding */
    }
    .header-bottom {
        justify-content: start;
        background-color: transparent;
        text-align: start;
        height: 0;
    }
    .navbar-toggler-icon {
        background-image: url("../images/expand.png");
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        width: 22px;
        height: 22px;
        background-color: transparent;
        border: none;
    }
    
    /* Navbar collapse with solid background */
    .navbar-collapse {
        background-color: rgba(0, 0, 0, 0.9);
        /* Solid background with opacity */
        padding: 20px;
        width: 100%;
        /* Initially hidden */
        z-index: 1000;
        transition: all 0.3s ease-in-out;
    }


    /* Active link styling for small screens */
    .navbar-nav .nav-link.active {
        background-color: #ffcc00;
        color: black;
    }

    /* Style the menu items when hovered */
    .navbar-nav .nav-link:hover {
        color: #ffcc00;
        /* Change color on hover */
    }

    /* When the navbar is expanded (shown), make it visible */
    .navbar-collapse.show {
        display: block;
    }

    .navbar-toggler{
        z-index: 10000;
    }

    .header-content{
        position: relative;
        left: 5px;
        z-index: 10000;
    }
    .header-left{
        padding: 0;
    }
}

/*------------------------------------------------------------------ WhatsApp Button -------------------------------------------------------------------*/

/* Estilo para el botón de WhatsApp */
.whatsapp-float {
    position: fixed !important;
    width: 60px !important;
    height: 60px !important;
    bottom: 20px !important; /* Distancia desde la parte inferior */
    right: 20px !important;  /* Distancia desde la parte derecha */
    background-color: #25d366 !important;
    color: #fff !important;
    border-radius: 50% !important; /* Hacer que el botón sea perfectamente redondo */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important; /* Centramos el contenido */
    box-shadow: 2px 2px 3px #999 !important;
    z-index: 1000 !important; /* Asegúrate de que esté siempre visible */
}

/* Estilo del ícono */
.whatsapp-icon img {
    width: 40px !important;
    height: 40px !important;
}

/* Hover */
.whatsapp-float:hover {
    background-color: #20b358 !important;
}

/*------------------------------------------------------------------ Footer -------------------------------------------------------------------*/

.o_footer {
    background-color: #1d2127;
    color: #FFFFFF;
    --o-cc-bg: #1d2127;
    width: 100vw;
}

.footer_bottom {
    background: #000000;
    padding: 0 0;
    width: 100%;
    min-height: 82px;
    float: left;
    text-align: center;
}

.o_footer .o_footer_copyright {
    background-color: #000000;
    color: #FFFFFF;
    --o-cc-bg: #000000;
}

#o_footer_scrolltop_wrapper {
    position: relative;
    z-index: 1;
}

.align-items-center {
    display: flex;
    align-items: center !important;
}

.justify-content-center {
    justify-content: center !important;
}

.h-0 {
    height: 0 !important;
}

.o_footer_copyright .o_footer_copyright_name {
    text-align: left;
    padding-top: 10px; /* Ajusta el valor según la altura del logo */
    margin-left: 20px; /* Alinea el texto horizontalmente con el logo */
    font-size: 14px; /* Ajuste opcional del tamaño de fuente */
    color: #FFFFFF;
}

.me-2 {
    margin-right: 0.625rem !important;
}

#scroll-to-top {
    box-sizing: content-box;
    width: 3rem;
    height: 3rem;
    border: 0;
    padding: 0;
    background-color: #1d2127;
    color: #FFFFFF;
    text-decoration: none;
}

.btn.rounded-circle, .btn.fa.rounded-empty-circle {
    border-radius: 100px !important;
    --btn-padding-y: 0.45rem;
    --btn-padding-x: 1.35rem;
    --btn-font-size: 0.9375rem;
    --btn-border-radius: 30px;
}

.o_footer .btn-primary {
    --btn-color: #FFFFFF;
    --btn-bg: #000000;
    --btn-border-color: #000000;
    --btn-hover-color: #FFFFFF;
    --btn-hover-bg: black;
    --btn-hover-border-color: black;
    --btn-focus-shadow-rgb: 38, 38, 38;
    --btn-active-color: #FFFFFF;
    --btn-active-bg: black;
    --btn-active-border-color: black;
    --btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --btn-disabled-color: #FFFFFF;
    --btn-disabled-bg: #000000;
    --btn-disabled-border-color: #000000;
}

.o_footer_logo {
    padding-bottom: 20px; /* Ajusta el valor según el espacio que desees */
}

/*------------------------------------------------------------------ Media Queries -------------------------------------------------------------------*/

@media (min-width: 768px) {
    .o_footer_logo {
        padding-bottom: 40px; /* Aumentar espacio en pantallas grandes */
    }

    .o_footer_copyright .o_footer_copyright_name {
        font-size: 16px; /* Ajustar el tamaño de la fuente para pantallas grandes */
    }
}

/* Para pantallas pequeñas */
@media (max-width: 767px) {
    .o_footer_logo {
        text-align: center;
        padding-bottom: 15px;
    }

    .o_footer_copyright .o_footer_copyright_name {
        text-align: center;
        margin-left: 0; /* Quitar el margen en pantallas pequeñas */
        padding-top: 5px;
        font-size: 12px; /* Reducir el tamaño de la fuente en pantallas pequeñas */
    }

    #o_footer_scrolltop_wrapper {
        padding-top: 15px; /* Ajustar el espacio en pantallas pequeñas */
    }
}

/* Para pantallas extra pequeñas */
@media (max-width: 575px) {
    .o_footer_logo {
        padding-bottom: 10px;
    }

    .o_footer_copyright .o_footer_copyright_name {
        font-size: 10px; /* Reducir aún más el tamaño de la fuente en pantallas extra pequeñas */
    }
}

/* Espaciado entre el botón de enviar y el footer */
form button {
    margin-bottom: 30px; /* Añade espacio debajo del botón */
}

/* Margen superior para el texto dentro del footer */
footer .row {
    padding-top: 20px; /* Añade espacio en la parte superior del contenido del footer */
}

/* Si quieres más control sobre el espaciado del texto específicamente */
footer h4, footer p, footer a {
    margin-top: 15px; /* Ajusta según el espacio que desees */
}

