body {
    font-family: 'Arial', sans-serif;
    background-color: #ffffff;
}
.navbar {
    background-color: #080539;
    padding: 10px 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #343a40;
}

/* Aumentar tamaño del logo */
.navbar-brand img {
    height: 52px; /* Ajuste del tamaño del logo */
    margin-bottom: 0;

}

.navbar-nav .nav-link {
    color: #343a40;
    font-weight: bold;
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

.navbar-nav .nav-link i {
    margin-right: 8px;
}

.navbar-nav .nav-link:hover {
    color: #00ae84;
}

.navbar-nav .dropdown-menu {
    background-color: #ffffff;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-nav .dropdown-item {
    color: #343a40;
}

.navbar-nav .dropdown-item:hover {
    background-color: #00ae84;
    color: #ffffff;
}

@media (max-width: 768px) {
    .navbar-brand img {
        height: 100px; /* Ajuste para pantallas más pequeñas */
    }

    .navbar {
        padding: 5px 5px;
    }

    .navbar-toggler {
        margin-top: 0;
        padding: 5px;
    }

    .navbar-collapse {
        text-align: center;
    }

    .navbar-nav {
        margin-top: 10px;
    }

    .navbar-nav .nav-item {
        margin-bottom: 5px;
    }

    .navbar-nav .dropdown-menu {
        text-align: left;
    }
}

@media (max-width: 576px) {
    .navbar-brand img {
        height: 80px; /* Ajuste para pantallas aún más pequeñas */
    }

    .navbar-nav .nav-link {
        font-size: 0.9rem;
    }

    .navbar-toggler {
        padding: 4px 7px;
    }
}
.jumbotron {
    background: url('path/to/your/background-image.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    text-shadow: 2px 2px 4px #000000;
    padding: 100px 25px;
    margin-bottom: 50px;
}
.btn-primary {
    background-color: #00ae84;
    border-color: #00ae84;
}
.btn-primary:hover {
    background-color: #33cc99;
    border-color: #33cc99;
}
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}
.card-header {
    background-color: #01234a;
    color: #ffffff;
}
.blockquote-footer {
    color: #6c757d;
}
footer {
    background-color: #01234a;
    padding: 20px;
    color: white;
    position: relative;
    bottom: 0;
    width: 100%;
}
.footer-icons a {
    color: #ffffff;
    margin: 0 10px;
    transition: color 0.3s;
}
.footer-icons a:hover {
    color: #00ae84;
}

.footer-logo {
    max-width: 64%;
    height: auto;
    display: block;
}


.alert {
    margin-top: 20px;
}



/* Contenedor principal del banner */
.header-banner {
    display: flex;
    align-items: center;                /* Alinea verticalmente al centro */
    justify-content: space-around;     /* Logo izq, título centro, subtítulo der */
    min-height: 300px;
    padding: 1rem 2rem;
    /* Fondo azul + imagen (opcional).
       Ajusta color (#7392c8) y la ruta de tu-fondo.jpg */
    background: #4c6eab
    url("../images/fondo_cavancha.png")
    no-repeat center center;
    background-size: cover;
    background-blend-mode: multiply; /* Mezcla color e imagen */
}



/* Logo (izquierda) */
.banner-logo img {
    width: 160px;   /* Ajusta al tamaño del logo */
    height: auto;
}

/* Centro (IN FOR NOR 2026) */
.banner-center {
    text-align: center;
}

/* Título principal */
.banner-title {
    font-size: 5rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    display: inline-flex;  /* Para que los elementos se dispongan en línea */
    align-items: center;   /* Centra verticalmente las letras */
    gap: 0.5rem;           /* Espacio entre “IN”, “FOR”, la columna “NOR” y “2026” */
}

/* Ajustes individuales */
.banner-title .in { }
.banner-title .for { }
.banner-title .year {
    color: #f7931e;  /* Naranja */
}

/* NOR en vertical (sin writing-mode),
   usando Flexbox en columna para N, O, R */
.banner-title .nor {
    display: inline-flex;      /* Mantiene las letras en un “column layout” */
    flex-direction: column;    /* Apila verticalmente */
    align-items: center;       /* Centra horizontal cada letra */
    justify-content: center;
}

/* Ajusta si quieres espacio o line-height entre N, O, R */
.banner-title .nor span {
    line-height: 1;
}

/* Subtítulo (derecha) */
.banner-subtitle p {
    color: #fff;
    text-align: justify;
    margin: 0;
    line-height: 1.4;
    font-size: 1.2rem;
}

/* Responsivo: en pantallas pequeñas, apilar elementos */
@media (max-width: 768px) {
    .header-banner {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
    .banner-subtitle p {
        text-align: center;
        margin-top: 1rem;
    }
}

/* Hacer que las imágenes del carrusel sean responsivas */
.carousel-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 500px; /* Valor para pantallas grandes */
}

@media (max-width: 992px) {
    .carousel-item img {
        max-height: 400px; /* Ajuste para pantallas medianas */
    }
}

@media (max-width: 576px) {
    .carousel-item img {
        max-height: 300px; /* Ajuste para pantallas pequeñas */
    }
}

.carousel-caption h5 {
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}
.carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}
.carousel-control-prev,
.carousel-control-next {
    filter: invert(100%);
}

/* Media Queries para responsive design */
@media (max-width: 768px) {
    .carousel-caption h5 {
        font-size: 2rem;
    }
    .carousel-caption p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 1.5rem;
    }
    .carousel-caption p {
        font-size: 0.9rem;
    }
}

@keyframes slideIn {
    0% {
        transform: translateX(-50%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}


/* Navbar con degradado */
.custom-navbar {
    background: linear-gradient(90deg, #01234a 0%, #034e7c 100%);
    /* o el degradado que prefieras */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Opcional: cambiar color de texto */
.custom-navbar .nav-link {
    color: #ffffff !important;
    font-weight: 500;
    transition: background-color 0.3s, color 0.3s;
}

/* Efecto hover sutil */
.custom-navbar .nav-link:hover,
.custom-navbar .nav-link:focus {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
}

/* Para diferenciar el texto de la brand */
.navbar-brand-text {
    color: #fff;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Dropdown items */
.custom-navbar .dropdown-menu {
    border-radius: 0;
    border: none;
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.custom-navbar .dropdown-menu .dropdown-item {
    color: #333;
    transition: background-color 0.3s;
}

.custom-navbar .dropdown-menu .dropdown-item:hover {
    background-color: #034e7c;
    color: #fff;
}

/* Sección principal con imagen de fondo */
.hero-section {
    background: #034e7c url("images/fondo_infonor.jpg") no-repeat center center;
    background-size: cover;
    background-blend-mode: multiply;
    position: relative; /* Para el overlay */
    overflow: hidden;
    min-height: 450px; /* Ajusta si quieres una altura mínima */
}

/* Capa semitransparente encima de la imagen para oscurecer */
.hero-section .overlay {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.35); /* Ajusta opacidad según gusto */
    z-index: 1;
}

/* Asegurar que los contenidos estén por encima del overlay */
.hero-section .container,
.hero-section .row,
.hero-section .col-md-6 {
    position: relative;
    z-index: 2;
}

/* Títulos y texto del Hero */
.hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: normal;
}

.hero-text {
    max-width: 400px;
}

/* Card transparente/blanca */
.card-transparent {
    background-color: rgba(255, 255, 255, 0.9); /* Sutilmente traslúcido */
    border-radius: 8px;
}

/* Ajustes de sombras y bordes */
.card {
    border: none;
    border-radius: 8px;
}

.card-body {
    padding: 1.5rem;
}

.text-dark {
    color: #333 !important;
}

/* Puedes personalizar la animación del título si ya tienes .animated-title */
.animated-title {
    /* Ejemplo de una sencilla animación fade-in */
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
    from {
        transform: translateY(10px);
        opacity: 0;
    }
}

.chat-faq-button {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #0056b3;
    color: white;
    border-radius: 50%;
    padding: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.chat-faq-box {
    position: fixed;
    bottom: 90px;
    right: 25px;
    width: 300px;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    z-index: 999;
    border: 1px solid #ddd;
    display: none;
    flex-direction: column;
}

.chat-header {
    background-color: #0056b3;
    color: white;
    padding: 10px;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-close {
    cursor: pointer;
    font-size: 1.2rem;
}

.chat-body {
    max-height: 250px;
    overflow-y: auto;
    padding: 10px;
    font-size: 0.95rem;
}

.faq-question {
    background-color: #f1f1f1;
    padding: 10px;
    margin-bottom: 8px;
    border-radius: 5px;
    cursor: pointer;
}

.faq-question:hover {
    background-color: #e0e0e0;
}

.chat-message {
    margin-bottom: 10px;
    display: block;
    padding: 8px 12px;
    border-radius: 15px;
    max-width: 85%;
    clear: both;
}

.chat-user {
    background-color: #e0f7fa;
    align-self: flex-end;
    float: right;
}

.chat-bot {
    background-color: #f1f1f1;
    align-self: flex-start;
    float: left;
}

.typing {
    font-style: italic;
    color: #888;
    margin-bottom: 10px;
}

#featured-charlas .row {
    transition: all 0.3s ease;
}

#featured-speakers .row {
    transition: all 0.3s ease;
}

.slide-toggle {
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease;
    max-height: 1000px; /* valor suficientemente alto */
    opacity: 1;
}

.slide-hidden {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
}

/* Badge de fecha (hero) */
.date-badge{
    display:inline-flex;
    align-items:center;
    gap:.65rem;
    padding:.55rem .95rem;
    border-radius:999px;
    background: rgba(255,255,255,.14);
    border:1px solid rgba(255,255,255,.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
    color:#fff;
}

.date-badge i{
    font-size:1.25rem;
    opacity:.95;
}

.date-badge .day{
    font-weight:800;
    font-size:1.8rem;
    line-height:1;
    letter-spacing:.5px;
}

.date-badge .dash{
    font-weight:700;
    font-size:1.4rem;
    opacity:.9;
    margin:0 .1rem;
}

.date-badge .month-year{
    display:inline-flex;
    align-items:center;
    gap:.4rem;
    font-weight:700;
    letter-spacing:.6px;
}

.date-badge .month{
    background:#00ae84;            /* acento del sitio */
    color:#fff;
    padding:.2rem .5rem;
    border-radius:.4rem;
    line-height:1;
}

.date-badge .year{
    opacity:.95;
}

/* Efecto sutil al aparecer (usa tu .animated-title) */
.date-badge.animated-title{
    animation: datePop .7s ease forwards;
    opacity:0;
    transform: translateY(8px) scale(.98);
}
@keyframes datePop{
    to{ opacity:1; transform: translateY(0) scale(1); }
}

/* Responsivo */
@media (max-width: 576px){
    .date-badge{
        padding:.45rem .75rem;
        gap:.5rem;
    }
    .date-badge .day{ font-size:1.4rem; }
    .date-badge .dash{ font-size:1.2rem; }
    .date-badge .month-year{ font-size:.95rem; }
}

/* ===== Fecha tipo ticket dentro del header-banner ===== */
.header-banner .date-ticket{
    display: inline-grid;
    grid-auto-flow: column;
    align-items: center;
    gap: 0;
    padding: .5rem .6rem;
    border-radius: 12px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 10px 24px rgba(0,0,0,.22);
    color: #fff;
    line-height: 1;
}

/* Bloques */
.header-banner .date-ticket__month,
.header-banner .date-ticket__days,
.header-banner .date-ticket__year{
    padding: .45rem .65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* Mes con acento del sitio */
.header-banner .date-ticket__month{
    background: #00ae84;
    color: #fff;
    font-weight: 800;
    letter-spacing: 1px;
    border-radius: 8px;
    margin-right: .5rem;
    padding: .35rem .55rem;
}

/* Días grandes y protagonistas */
.header-banner .date-ticket__days{
    font-weight: 900;
    font-size: 1.6rem;
    letter-spacing: .2px;
}

/* Separador sutil entre días y año */
.header-banner .date-ticket__year{
    font-weight: 700;
    letter-spacing: .6px;
    opacity: .95;
    border-left: 1px solid rgba(255,255,255,.35);
}

/* Ajustes responsivos */
@media (max-width: 992px){
    .header-banner .date-ticket__days{ font-size: 1.4rem; }
}
@media (max-width: 576px){
    .header-banner .date-ticket{
        padding: .4rem .5rem;
        border-radius: 10px;
    }
    .header-banner .date-ticket__month{
        font-size: .85rem;
        border-radius: 6px;
        margin-right: .4rem;
    }
    .header-banner .date-ticket__days{ font-size: 1.25rem; }
    .header-banner .date-ticket__year{ font-size: .95rem; }
}

/* Ubicación/espaciado dentro del bloque de subtítulo */
.header-banner .banner-subtitle .date-ticket{
    margin-top: .75rem;         /* separa del párrafo */
}

