html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

/*MENU*/
/* Estilos personalizados */
.hero-section {
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 10;
    transition: opacity 0.5s ease, top 0.5s ease;
}

.hero-quote {
    position: absolute;
    bottom: 3rem;
    left: 0;
    width: 100%;
    z-index: 11;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.hero-visible
.scroll-hidden {
    opacity: 0;
    top: -100px;
}

.carousel-item img {
    object-fit: cover;
    height: 100vh;
}

main {
    margin-top: 2rem;
}

.custom-nav {
    background-color: rgba(0, 0, 0, 0.6); /* semi-transparente oscuro */
    color: white;
}

    .custom-nav .nav-link {
        color: white !important;
        font-weight: 500;
    }

        .custom-nav .nav-link:hover {
            color: #ffffff !important; /* amarillo Bootstrap para resaltar */
        }


/* Ícono flotante */
.contact-float-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #5271ff;
    color: white;
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1050;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Panel de contacto flotante */
.contact-panel {
    position: fixed;
    bottom: 80px;
    right: 20px;
    background-color: #5271ff;
    color: white;
    padding: 20px;
    border-radius: 10px;
    max-width: 260px;
    display: none;
    z-index: 1050;
    transition: all 0.3s ease;
}

    .contact-panel.open {
        display: block;
    }

    .contact-panel a {
        text-decoration: none;
    }

    .contact-panel .btn-close {
        position: absolute;
        top: 10px;
        right: 10px;
        filter: invert(1);
    }


/* Estilos información en páginas razor*/
.informacion {
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

    .informacion p {
        text-align: justify;
        font-size: 1.05rem;
        margin-bottom: 1.2rem;
    }

    .informacion ul li {
        margin-bottom: 0.5rem;
        font-size: 1.05rem;
    }



/*css triangulos bulletpoints*/
.lista-triangulos {
    list-style: none;
    padding-left: 1.5rem;
}

    .lista-triangulos li {
        position: relative;
        margin-bottom: 0.75rem;
        padding-left: 1.2rem;
    }

        .lista-triangulos li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0.4rem;
            width: 0;
            height: 0;
            border-top: 6px solid transparent;
            border-bottom: 6px solid transparent;
            border-left: 10px solid #68cda3; /* default color */
        }

        /* Colores alternos */
        .lista-triangulos li:nth-child(1)::before {
            border-left-color: #68cda3;
        }
        /* verde menta */
        .lista-triangulos li:nth-child(2)::before {
            border-left-color: #fbd14e;
        }
        /* amarillo */
        .lista-triangulos li:nth-child(3)::before {
            border-left-color: #5cc5b1;
        }
        /* aqua */
        .lista-triangulos li:nth-child(4)::before {
            border-left-color: #6793f4;
        }
        /* azul Montessori */
        .lista-triangulos li:nth-child(5)::before {
            border-left-color: #e33924;
        }
        /* rojo */
        .lista-triangulos li:nth-child(6)::before {
            border-left-color: #5271ff;
        }
        /* azul oscuro */
        .lista-triangulos li:nth-child(7)::before {
            border-left-color: #fbd14e;
        }


/* Estilos generales sacados de _Layout.cshtml.css */
a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

a {
  color: #0077cc;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px;
}


/* Estilos scroll indicator */
.scroll-indicator {
    position: absolute;
    top: 50%; /* centrado vertical */
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    animation: fadeInUp 2s ease-in-out;
}

.scroll-text {
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 1.1rem;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.scroll-arrow {
    font-size: 2rem;
    color: white;
    display: block;
    margin-top: 8px;
    animation: bounce 2s infinite;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Animación para flecha */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Suavizar aparición */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}