* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #f8f8f8;
    min-height: 100vh;
    padding-top: 70px;
}
img{
    max-width:100%;
    height:auto;
}
/* COMIENZA NAV */
/* NAVBAR BASE */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: rgba(0, 0, 0, 0.6);
}

/* LOGO */
.navbar-left img {
    width: 45px;
    transition: 0.4s;
}

.navbar-left img:hover {
    transform: scale(1.1) rotate(10deg);
}

/* LINKS */
.navbar-botones {
    display: flex;
    list-style: none;
    gap: 20px;
}

.navbar-botones li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 5px;
}

/* EFECTO SUBRAYADO */
.navbar-botones li a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: red;
    left: 0;
    bottom: 0;
    transition: 0.3s;
}

.navbar-botones li a:hover::after {
    width: 100%;
}

/* BOTÓN HAMBURGUESA */
.menu-toggle {
    display: none;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 900px) {

    .menu-toggle {
        display: block;
    }

    .navbar-right {
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(10px);
        max-height: 0;
        overflow: hidden;
        transition: 0.4s ease;
    }

    .navbar-right.active {
        max-height: 300px;
    }

    .navbar-botones {
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
    }

    .navbar-botones li {
        margin: 10px 0;
    }
}
/* TERMINA NAV */

/* COMIENZA: CONTACT US*/

.container {
    background-image: url(../img/escuela-sede/futuraFachadaNocheGPT\(calidad\).png);
    background-repeat: no-repeat;
    background-size: cover;      /* ajusta la imagen al tamaño del contenedor */
    background-position: center; /* centra la imagen */
    gap: 20px;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    min-height: 100vh;
}

.container-background {
    margin-top: 50px;
    padding: 3%;
    background: #fdfdfd;
    border-radius: 15px;
}

.info-escolar ul {
    list-style: none;
    padding: 0;
}

.info-escolar ul li {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    gap: 1rem;
}

.container-form {
    min-width: 60%;
    padding: 30px;
    background-color: #f9f9f9; 
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

label {
    display: block; 
    margin-bottom: 8px; 
    font-weight: bold;
    color: #333;
    font-family: Arial, sans-serif;
}

input[type="text"], 
input[type="email"], 
textarea {
    width: 100%; 
    padding: 12px;
    margin-bottom: 20px; 
    display: block;
    border: 1px solid #ccc;
    border-radius: 6px;
    transition: border-color 0.3s, box-shadow 0.3s; 
    box-sizing: border-box;
    font-size: 16px;
}

textarea {
    resize: vertical; 
    min-height: 150px; 
}

input[type="text"]:focus, 
input[type="email"]:focus, 
textarea:focus {
    border-color: #b70100; 
    box-shadow: 0 0 0 3px #b7000080; 
    outline: none; 
}

input[type="submit"] {
    background-color: #b70100; 
    color: white;
    width: 100%; 
    padding: 16px 32px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: background-color 0.5s, transform 0.2s; 
}

input[type="submit"]:hover {
    background-color: #740000; 
    transform: translateY(-1px); 
}
/* TERMINA: CONTACT US*/

/* FOOTER */

.footer{
    background: #1f1f1f;
    color: white;
}

.footer-contenido{
    max-width: 1200px;
    margin: auto;
    display :grid;
    grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); /*auto-fit → crea columnas automáticamenteminmax(200px,1fr) → cada columna mide mínimo 200pxsisobra espacio se estira para ocuparlo */
    gap: 40px;
    padding: 40px 20px;
}

.footer-col h3{
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-col p{
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-col ul{
    list-style: none;
    padding: 0;
}

.footer-col ul li{
    margin-bottom: 8px;
}
 
.footer-col ul li a{
    text-decoration: none;
    color: #ccc;
    transition: 0.3s;
}

.footer-col ul li a:hover{
    color: #e10600;
}

.redes a{
    display: block;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 6px;
}

.redes a:hover{
    color:#e10600;
}

.footer-bottom{
    text-align: center;
    padding: 15px;
    background: #111;
    font-size: 14px;
}
/* RESPONSIVE */

@media (max-width:800px){

.container{
    flex-direction:column;
    height:auto;
}
/* bloques uno abajo del otro */

.container-background{
    margin:20px;
    border-radius:15px;
}

.container-form{
    min-width:100%;
}
/* formulario ocupa todo el ancho */
}

@media (max-width:800px){

.container{
    flex-direction: column;
    height: auto;
    background-position: center;
    background-size: cover;
}

.container-background{
    margin:20px;
    border-radius:15px;
}

.container-form{
    min-width:100%;
}

}