* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* // <weight>: Use a value from 400 to 900
// <uniquifier>: Use a unique and descriptive class name */

/* .orbitron-<uniquifier> {
  font-family: "Orbitron", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
} */

.footer {
    padding: 20px 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-top: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 -4px 18px rgba(0,0,0,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-size: 0.95rem;
    color: #495057;
}

/* Botón premium */
.footer .btn {
    border-radius: 8px;
    padding: 8px 18px;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

.footer .btn:hover {
    background-color: #6c757d;
    color: white;
    transform: translateY(-2px);
}

/* Texto del copyright */
.footer span {
    font-weight: 600;
    color: #343a40;
}



.header {
    display: block;
    grid-area: header;
    color: gray;
    flex-direction: column;
    text-align: center;
    justify-content: center;
}


.navbutton {
    list-style-type: none; 
  }
.nav .navbar:hover {
    color: rgb(36, 35, 35);
}

.sidebar {
    display: flex;
    grid-area: sidebar;
    color: darkgray;
}

.main {
    display: flex;
    grid-area: main;
    color: lightgray;
}
/* .footer {
    display: flex;
    grid-area: footer;
    color: lightgray;
} */
html, body {
    height: 100%;
    margin: 0;
}

/* Ajustable */
/* .footer {
    padding: 20px;
    min-height: 80px; 
} */

/* Contenedor general centrado */
.card-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
}

/* /* Tarjeta con sombra y bordes suaves */
.card {
    max-width: 900px; /* límite de ancho */
    width: 100%;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    overflow: hidden;
} */


/* Imagen responsive y elegante */
.card-img-top {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}


/* Texto centrado y con buen espaciado */
.card-body {
    padding: 1.5rem;
    text-align: center;
}



/* cellphones */
@media (max-width: 600px) {
    body {
        background-color: lightblue;
        font-family: Orbitron, sans-serif !important;       
        color: gray;
        line-height: 1.6;
        padding: 20px;
    }
    .footer {
        flex-direction: column;
        text-align: center;
    }
        .container {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        /* que fluya con el contenido */
        grid-template-areas:
        "header"
        "main"
        "main"
        "footer";
        gap: 10px;                
        /* saque el sidebar para cedular */
    }
    .navbar {
        display: flex;
        text-align: center;
        justify-content: center;
        flex-direction: column;
        flex-wrap: wrap;
        color: gray; 
        list-style-type: none;
    }
    img { 
        display: block;
        max-width: 100%; 
        height: auto; 
    }
    .gallery {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    .carrouselh5 {
        font-family: 'Orbitron', sans-serif;
        font-weight: 700;
        color: white;
        max-width: 80%;
        
    }

    .carrouselp {
        font-family: 'Orbitron', sans-serif;
        font-weight: 400;
        color: white;
    }

    /* Contenedor general */
    .carrousel-wrapper {
        max-width: 590px;          /* Limita el ancho */
        margin: 40px auto;          /* Centrado + respiración */
        border-radius: 14px;        /* Bordes suaves */
        overflow: hidden;           /* Recorta bordes redondeados */
        box-shadow: 0 8px 28px rgba(0,0,0,0.18); /* Sombra premium */
        background: #fff;           /* Fondo por si la imagen tarda */
    }

    /* Imágenes */
    .carrousel-wrapper img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;          /* Asegura estética uniforme */
    }

    /* Indicadores (los puntitos) */
    .carousel-indicators [data-bs-target] {
        background-color: #ffffff;
        opacity: 0.7;
    }

    .carousel-indicators .active {
        opacity: 1;
        background-color: #0d6efd;  /* Azul Bootstrap */
    }

    /* Botones de navegación */
    .carousel-control-prev,
    .carousel-control-next {
        width: 8%;                  /* Área clickeable más elegante */
        z-index: 10;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        filter: invert(1);          /* Íconos blancos */
        width: 2.5rem;
        height: 2.5rem;
    }

    /* Hover suave */
    .carousel-control-prev:hover,
    .carousel-control-next:hover {
        background: rgba(0,0,0,0.15);
        transition: background 0.2s ease-in-out;
    }

        .card-container {
        padding: 1rem;
    }

    .card {
        max-width: 100% !important;          /* evita que se estire demasiado */
        width: 100% !important;   
        border-radius: 12px;
        border: 1px solid #e0e0e0;
        box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    }


    .card-body {
        padding: 1rem;
    }

    h1, h2 {
        font-size: 1.5rem !important;
        width: 100% !important;
        margin: 0.5rem 0;
    }
}


/* tablet and small desktops */
@media (min-width: 600px) and (max-width: 767px) {
    
    body {
        background-color: rgb(146, 182, 250);
        font-family: Inter, sans-serif !important;       
        color:  gray;
        line-height: 1.6;
        padding: 20px; 
    }
    .container {
            grid-template-columns: 1fr 2fr;
            grid-template-rows: auto 1fr auto;
            /* más flexible en tablet */
            grid-template-areas:
            "header header"
            "main main"
            "footer footer";
            /* saque el sidebar para tablet */
            gap: 10px;
    }
    .navbar {
        display: flex;
        text-align: center;
        justify-content: center;
        flex-direction: row;
        flex-wrap: wrap;
        color: gray; 
        list-style-type: none; 
    }
    img { 
        display: block;
        max-width: 50%; 
        height: auto; 
    }
    .carrouselh5 {
        font-family: 'Inter', sans-serif;
        font-weight: 700;
        color: white;
    }

    .carrouselp {
        font-family: 'Inter', sans-serif;
        font-weight: 400;
        color: white;
    }
    
    /* Contenedor general */
    .carrousel-wrapper {
        max-width: 710px;          /* Limita el ancho */
        margin: 40px auto;          /* Centrado + respiración */
        border-radius: 14px;        /* Bordes suaves */
        overflow: hidden;           /* Recorta bordes redondeados */
        box-shadow: 0 8px 28px rgba(0,0,0,0.18); /* Sombra premium */
        background: #fff;           /* Fondo por si la imagen tarda */
    }

    /* Imágenes */
    .carrousel-wrapper img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;          /* Asegura estética uniforme */
    }

    /* Indicadores (los puntitos) */
    .carousel-indicators [data-bs-target] {
        background-color: #ffffff;
        opacity: 0.7;
    }

    .carousel-indicators .active {
        opacity: 1;
        background-color: #0d6efd;  /* Azul Bootstrap */
    }

    /* Botones de navegación */
    .carousel-control-prev,
    .carousel-control-next {
        width: 8%;                  /* Área clickeable más elegante */
        z-index: 10;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        filter: invert(1);          /* Íconos blancos */
        width: 2.5rem;
        height: 2.5rem;
    }

    /* Hover suave */
    .carousel-control-prev:hover,
    .carousel-control-next:hover {
        background: rgba(0,0,0,0.15);
        transition: background 0.2s ease-in-out;
    }
    .card {
    max-width: 100% !important;          /* evita que se estire demasiado */
    width: 100% !important;   
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}


}

@media (min-width: 768px) {
    body {
        background-color: white;
        font-family: Montserrat, sans-serif !important;       
        color:  gray;
        line-height: 1.6;
        padding: 20px;
    }
    .container {
        display: grid;
        grid-template-columns: 1fr 2fr 1fr;
        grid-template-rows: auto minmax(200px, 1fr) auto;
        grid-template-areas:
            "header header header header"
            "main main main main"
            "footer footer footer footer";
            /* saque el sidebar para desktop */
        gap: 10px;
    }
    .navbar {
        display: flex;
        text-align: center;
        justify-content: center;
        flex-direction: row;
        flex-wrap: wrap;
        color: gray; 
        list-style-type: none; 
    }
    img { 
        display: block;
        max-width: 50%; 
        height: auto; 
    }
    .carrouselh5 {
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
        color: white;
    }

    .carrouselp {
        font-family: 'Montserrat', sans-serif;
        font-weight: 400;
        color: white;
    }

    /* Contenedor general */
    .carrousel-wrapper {
        max-width: 1000px;          /* Limita el ancho */
        margin: 40px auto;          /* Centrado + respiración */
        border-radius: 14px;        /* Bordes suaves */
        overflow: hidden;           /* Recorta bordes redondeados */
        box-shadow: 0 8px 28px rgba(0,0,0,0.18); /* Sombra premium */
        background: #fff;           /* Fondo por si la imagen tarda */
    }

    /* Imágenes */
    .carrousel-wrapper img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;          /* Asegura estética uniforme */
    }

    /* Indicadores (los puntitos) */
    .carousel-indicators [data-bs-target] {
        background-color: #ffffff;
        opacity: 0.7;
    }

    .carousel-indicators .active {
        opacity: 1;
        background-color: #0d6efd;  /* Azul Bootstrap */
    }

    /* Botones de navegación */
    .carousel-control-prev,
    .carousel-control-next {
        width: 8%;                  /* Área clickeable más elegante */
        z-index: 10;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        filter: invert(1);          /* Íconos blancos */
        width: 2.5rem;
        height: 2.5rem;
    }

    /* Hover suave */
    .carousel-control-prev:hover,
    .carousel-control-next:hover {
        background: rgba(0,0,0,0.15);
        transition: background 0.2s ease-in-out;
    }  
    .card {
    width: 100% !important;     /* fuerza el ancho total */
    max-width: 100% !important; /* elimina límites de Bootstrap */
    border: none;               /* opcional */
    box-shadow: none;           /* opcional */
    }


}
.card-container,
.card,
.card-img-top {
    max-width: 100% !important;
}
form {
    border: 1px solid #e0e0e0;
    max-width: 100%;
}

form h3 {
    font-weight: 600;
}

button.btn-primary {
    background-color: #1E73BE;
    border-color: #1E73BE;
}

button.btn-primary:hover {
    background-color: #155a96;
    border-color: #155a96;
}
 body {
            background-color: #f5f7fa;
        }

        .thankyou-container {
            min-height: 70vh;
            display: flex;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 2rem;
        }

        .thankyou-box {
            background: white;
            padding: 2.5rem;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.12);
            max-width: 500px;
            width: 100%;
        }

        .thankyou-box h1 {
            color: #1E73BE;
            font-weight: 600;
        }

        .btn-primary {
            background-color: #1E73BE;
            border-color: #1E73BE;
        }

        .btn-primary:hover {
            background-color: #155a96;
            border-color: #155a96;
        }

        footer {
            text-align: center;
            padding: 1rem 0;
        }
