.colores {
    --e-global-color-primary: #0F5075;
    --e-global-color-secondary: #394655;
    --e-global-color-text: #000000;
    --e-global-color-accent: #0F5075;
    --e-global-color-bf56ffe: #FFFFFF;
    --e-global-color-b33dd53: #000000;
    --e-global-color-003064c: #FF6000;
    --e-global-color-0ee3b5b: #02304B;
    --e-global-typography-primary-font-family: "Roboto";
    --e-global-typography-primary-font-weight: 600;
    --e-global-typography-secondary-font-family: "Roboto Slab";
    --e-global-typography-secondary-font-weight: 400;
    --e-global-typography-text-font-family: "Roboto";
    --e-global-typography-text-font-weight: 400;
    --e-global-typography-accent-font-family: "Roboto";
    --e-global-typography-accent-font-weight: 500;
    color: var(--e-global-color-0ee3b5b);
    font-family: "Open Sans", Sans-serif;
}

/* Estilos generales */
body {
    font-family: Arial, sans-serif;
    /* fondo azul sólido detrás de todo */
    background-color: #0F5075;
    background:
        linear-gradient(5deg,
            white 0%,
            white 20%,
            #0F5075 50%,
            #0F5075 55%,
            white 60%,
            transparent 100%),
        /* capa oscura encima de imagen */
        linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),

        /* imagen de fondo */
        url('./img/norai.jpg'),

        /* capa azul sólida al fondo de todo */
        linear-gradient(#1dacff, #1dacff);

    background-size: cover, cover, contain, cover;
    background-position: center, center, top, center;
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
}




/* Estilos header */
header {
    background-size: 200% 100%;
    background-position: left bottom;
    color: white;
}

#head {
    font-size: 1.25rem;
}

.navbar-toggler {
    border-color: white;
}

.navbar-toggler-icon {
    filter: invert(1);
}

#logoContainer {
    margin-left: 50px;
}

#menu {
    margin-right: 150px;
}

#headerContent {
    font-size: 7rem;
    font-weight: bold;
    margin-top: 1rem;
    margin-bottom: 3;
    width: 80%;
}

@media (min-width: 769px) and (max-width: 1120px) {
    #headerContent {
        font-size: 6rem;
    }
    #dispContent h2 {
    font-size: 2rem !important;
    margin: 0px 0px 10vh 20%;
}

#dispContent h3 {
    font-size: 3rem !important;
    font-weight: bold;
    margin: 0px 0px 10vh 20%;
}
}

#navbarMenu {
    background-color: #0F5075;
}

#navbarMenu a {
    color: white;
}

.arrow {
    position: relative;
    right: 0px;
    height: 10px;
    transform: rotate(-90deg);
    width: 25px;
    fill: white;
    z-index: 100000;
    transition: transform 0.3s ease;
}

.nav-item.dropdown:hover .arrow {
    transform: rotate(0deg);
}

.dropdown-menu {
    display: none;
    opacity: 0;
    animation: fadeSlide 0.25s reverse forwards;
    transform: translateY(-20px);
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 0%;
    display: block;
    transform: translateY(0);
    animation: fadeSlide 0.25s linear forwards;
    margin-top: 0;
}

#navbarMenu .dropdown-item {
    background-color: #0F5075;
    transition: background-color 0.5s ease-out;
}

#navbarMenu .dropdown-item:hover {
    background-color: #FF6000;
}

@keyframes fadeSlide {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    1% {
        display: block;
        opacity: 0;
        transform: translateY(50px);
    }

    100% {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }
}

#especialistas {
    display: flex;
    flex-direction: column;
    width: 45%;
    height: 50vh;
    color: white;
    background-color: #0F5075;
    padding: 10vh 5%;
    margin-left: 10%;
    margin-bottom: 10vh;
    margin-top: 5vh;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
    color: white;
    border-bottom-right-radius: 15px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.fade-in {
    animation: fadeInSlide 0.5s ease-out forwards;
}

#especialistas h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10%;
}

#cards {
    margin: 0px 8%;
}

#cards .card {
    height: 100%;
}

#cards .col {
    height: 400px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
    margin-bottom: 20px;
}

.card {
    border: none;
}

#cards i {
    font-size: 5rem;
    font-weight: bold;
    color: #0F5075;
}

#cards h5 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #FF6000;
}

.italics {
    font-style: italic;
}


#disposicion {
    background-image: url(./img/contact-us.jpg);
    height: auto;
    margin-top: 15vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
}

#numbers {
    width: 350px;
    height: 350px;
    margin-top: 40vh;
    margin-left: 20%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

#dispContent {
    width: 35%;
    height: 100%;
    margin-left: 10%;
    background-color: rgba(15, 80, 117, 0.8);
    padding-top: 10vh;
}

#dispContent * {
    color: white;
}

#dispContent h2 {
    font-size: 4rem;
    margin: 0px 0px 10vh 20%;
}

#dispContent h3 {
    font-size: 4rem;
    font-weight: bold;
    margin: 0px 0px 10vh 20%;
}

#dispContent p {
    margin: 0px 15% 3vh 15%;
}

#numbers p {
    color: white;
    font-size: 1rem;
}

#numbers #num1,
#numbers #num2 {
    font-size: 4rem;
}


/* Sección de formulario y contacto */
#infoForm {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
}

h3 {
    color: #343a40;
}

.social-icons {
    gap: 10px;
}

.social-icons div {
    width: 200px !important;
}

.social-icons a {
    width: 200px !important;
}

.social-icon {
    display: inline-block;
    padding: 10px;
    border-radius: 50%;
}

footer {
    padding: 2rem;
    margin: 0px;
}

.company-name {
    font-size: 1.5rem;
}

.address,
.contact {
    font-size: 1rem;
    margin: 0.5rem 0;
}

#iframe {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

#disposicion {
    color: #0F5075;
}

.social-icons {
    width: 30%;
}

.social-icons a {
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.social-icons i {
    font-size: 24px;
}

/* Colores específicos de cada red social */
.social-icons a.facebook {
    color: white;
    background-color: #1877F2;
}

.social-icons a.instagram {
    color: white;
    background-color: #E4405F;
}

.social-icons a.linkedin {
    color: white;
    background-color: #0A66C2;
}

.social-icons a.twitter {
    color: white;
    background-color: #000000;
}

.social-icons a.youtube {
    color: white;
    background-color: #FF0000;
}

/* Efecto hover para resaltar */
.social-icons a:hover {
    filter: brightness(1.3);
}

/* Gradiente de Instagram */
.social-icons a.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.footer {
    background-color: #F3F3F3;
    padding: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.social-icons a {
    margin: 0 10px;
    font-size: 24px;
}

@keyframes fadeInSlide {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    40% {
        opacity: 0;
        transform: translateY(50px);
    }

    70% {
        opacity: 0.5;
        transform: translateY(15px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-slide {
    animation: fadeInSlide 1.5s linear;
}

/*animacion icono mapa*/
.loader-shape-3 {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 50px;
}

.loader-shape-3:after {
    width: 30px;
    height: 20px;
    border-radius: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: 15px;
}

.loader-shape-3:before {
    width: 20px;
    height: 20px;
    border-radius: 100% 100% 100% 0;
    box-shadow: 0px 0px 0px 2px rgba(255, 255, 255, 1);
    animation: anm-SL-3-move 1s linear infinite;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-46deg);
    margin-top: 20px;
}

.loader-shape-3:before,
.loader-shape-3:after {
    position: absolute;
    content: "";
}

@keyframes anm-SL-3-move {
    0% {
        top: 0;
    }

    50% {
        top: -5px;
    }

    100% {
        top: 0;
    }
}

/*flechas boton*/
.switch-loader {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 37px;
}

.switch-loader::before,
.switch-loader::after {
    content: "";
    position: absolute;
    width: 15px;
    height: 15px;
    border: solid white;
    border-width: 3px 3px 0 0;
    display: inline-block;
    transform: rotate(45deg);
    animation: switch-move 1s infinite alternate ease-in-out;
}

.switch-loader::before {
    top: 50%;
    left: 10%;
}

.switch-loader::after {
    top: 50%;
    right: 10%;
    transform: rotate(-135deg);
}

@keyframes switch-move {
    0% {
        transform: translateX(0) rotate(45deg);
    }

    100% {
        transform: translateX(-5px) rotate(45deg);
    }
}

.switch-loader::after {
    animation: switch-move-reverse 1s infinite alternate ease-in-out;
}

@keyframes switch-move-reverse {
    0% {
        transform: translateX(0) rotate(-135deg);
    }

    100% {
        transform: translateX(5px) rotate(-135deg);
    }
}

@media (max-width: 768px) {
    .p-5 {
        padding: 1rem !important;
    }

    .m-5 {
        margin: 0.5rem !important;
    }

body {
    font-family: Arial, sans-serif;

    /* fondo azul sólido detrás de todo */
    background-color: #0F5075;

    background:
        linear-gradient(5deg,
            white 0%,
            white 20%,
            #0F5075 50%,
            #0F5075 55%,
            white 60%,
            transparent 100%),

        /* capa oscura encima de imagen */
        linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),

        /* imagen de fondo */
        url('./img/norai.jpg'),

        /* capa azul sólida al fondo de todo */
        linear-gradient(#1dacff, #1dacff);

    background-size: cover, cover, contain, cover;
    background-position: center, center, top, center;
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
}

    #background {
        background:
            linear-gradient(-20deg,
                white 0%,
                white 42%,
                #0F5075 42%,
                #0F5075 47.5%,
                #FF6000 47.5%,
                #FF6000 60%,
                #0F5075 60%,
                #0F5075 65%,
                transparent 65%,
                transparent 100%);
    }

    #head {
        display: flex;
        justify-content: space-between;
        align-items: start !important;
        padding: 10px;
    }

    #menu {
        margin-right: 0;
        margin-top: 4vh;
    }

    #logoContainer {
        margin-left: 0;
    }

    #headerContent {
        font-size: 2rem;
        text-align: center;
    }

    #navbarNav {
        position: absolute;
        top: 125%;
        width: 90vw;
        right: 0;
        background-color: #0F5075;
        z-index: 1000;
        border-radius: 5px;
    }

    #navbarMenu {
        border: none;
    }

    #headerContent {
        font-size: 2rem !important;
    }

    .social-icons span {
        display: none !important;
    }

    .social-icons div {
        width: 45px !important;
    }

    .social-icons a {
        width: 45px !important;
    }

    #especialistas {
        margin-left: 0;
        width: 100%;
    }

    #cards .card {
        height: auto;
    }

    #cards .col {
        height: auto;
    }

    #buttons {
        flex-direction: column;
    }

    #disposicion {
        flex-direction: column;
    }

    #numbers {
        margin-top: 20vh;
        margin: 20vh auto 0px auto;
    }

    #dispContent {
        width: 100%;
        height: 100%;
        margin-left: 0;
    }

    #dispContent h2 {
        font-size: 3rem;
        width: 80%;
        margin: 0px auto 10vh auto;
    }

    #dispContent h3 {
        font-size: 3rem;
        width: 50%;
        margin: 0px auto 10vh auto;
    }
}

#intranet a {
    color: #b5b5b5;
}

#intranet a {
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    font-size: 1rem;
}

/*Cajas contacto.html*/
.contact-box {
    background-color: #100069;
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid #555;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 200px;
}

.contact-box:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 12px 32px rgba(255, 96, 0, 0.3);
}

.contact-box h5 {
    font-size: 1.3rem;
}

.contact-box p {
    font-size: 1.1rem;
}