@font-face {
    font-family: 'montserrat';
    src: url('fonts/Montserrat-Medium.ttf') format('woff2'),
        url('fonts/Montserrat-Medium.ttf') format('woff');
}

@font-face {
    font-family: 'montserrat-bold';
    src: url('fonts/Montserrat-Bold.ttf') format('woff2'),
        url('fonts/Montserrat-Bold.ttf') format('woff');
}

@font-face {
    font-family: 'montserratItalic';

    src: url('fonts/Montserrat-MediumItalic.ttf') format('woff2'),
        url('fonts/Montserrat-MediumItalic.ttf') format('woff');
}

@font-face {
    font-family: 'popinsMedium';
    src: url('fonts/Popins-Medium.ttf') format('woff2'),
        url('fonts/Popins-Medium.ttf') format('woff');
}

@font-face {
    font-family: 'SFBOLD';
    src: url('fonts/SFPRODISPLAYBOLD.OTF') format('woff2'),
        url('fonts/SFPRODISPLAYBOLD.OTF') format('woff');

}

@font-face {

    font-family: 'SFMEDIUM';
    src: url('fonts/SFPRODISPLAYMEDIUM.OTF') format('woff2'),
        url('fonts/SFPRODISPLAYMEDIUM.OTF') format('woff');

}

@font-face {

    font-family: 'SFREGULAR';
    src: url('fonts/SFPRODISPLAYREGULAR.OTF') format('woff2'),
        url('fonts/SFPRODISPLAYREGULAR.OTF') format('woff');
}

@font-face {

    font-family: 'SFTHIN';
    src: url('fonts/sf-pro-display-thin.otf') format('woff2'),
        url('fonts/sf-pro-display-thin.otf') format('woff');
}

@font-face {

    font-family: 'SFSBOLD';
    src: url('fonts/sf-pro-display-semibold.otf') format('woff2'),
        url('fonts/sf-pro-display-semibold.otf') format('woff');
}

@font-face {

    font-family: 'VinaRegular';
    src: url('fonts/VinaSans-Regular.ttf') format('woff2'),
        url('fonts/VinaSans-Regular.ttf') format('woff');
}

@font-face {

    font-family: 'FugazRegular';
    src: url('fonts/FugazOne-Regular.ttf') format('woff2'),
        url('fonts/FugazOne-Regular.ttf') format('woff');
}


html,
body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

body {

    background-color: white;


}


.navbar {
    /*background: url(img/gradient1.png);*/
    background-color: #0460D9;
    background-size: 100% 100%;
    height: 0 auto;

}

.container-fluid {
    align-items: center;
    align-content: center;
}

.container-banner {
    height: 230px;
    border-radius: 0.5rem;
    background: radial-gradient(circle at center, rgba(50,130,235,0.1) 0%, rgba(240,240,255,0.8) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.container-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg, rgba(89, 46, 242, 0.1) 0px, rgba(50,130,235,0.08) 2px, transparent 2px, transparent 8px);
    opacity: 0.6;
    z-index: 0;
}

/* texto */
.container-banner p {
    font-size: 42px;
    color: #3282EB;
    font-family: 'SFTHIN', sans-serif;
    position: relative;
    z-index: 1;
}

.container-banner .p-bold {
    font-family: 'SFREGULAR', sans-serif;
    color: #3282EB;
}

.container-banners {
    background-color: #592EF2;
    border-radius: 4px;
    border: 1.5px solid #592EF2;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;

}

.container-banners p {
    color: white;
    font-size: 22px;
    font-family: 'SFREGULAR', sans-serif;
}
.img-logo {
    height: 75px;
    cursor: pointer;
   padding: 12px;
}
.img-logo:hover {
    transform: scale(1.05);
    transition: transform 0.3s;
}

.nav-item a {
    color: white;
    padding: 16px;
}

.menu-link:hover {
    color: black !important;
}



.card {
    border: 1px solid #0460D9;
    box-shadow:
        2px 2px 8px 0 rgba(0, 0, 0, 0.1),
        4px 4px 20px 0 rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow:
        4px 4px 12px 0 rgba(0, 0, 0, 0.15),
        6px 6px 24px 0 rgba(0, 0, 0, 0.15);
}



.card-header {
    height: 35px !important;
    color: white;
    border: none;
    align-items: center;
    justify-content: center;
}

.card-header h5 {
    color: white;
}

.card-header-item {
    position: relative;
    display: inline-block;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding-top: 10px;
    font-size: 18px;
}

.card-header-color-logo {

    height: 50px;

}



.card-body {


    margin-top: 10px;
    margin-bottom: 15px;
}


.card-header-color {
    background-color: #592EF2;
    height: 50px;


}

.card-header-optativas {
    height: 47px;
    padding-bottom: 6px;
    padding-left: 5px;
    padding-right: 45px;
}

.card-body a {
    text-decoration: none;
    color: rgb(97, 97, 97);
    font-family: 'popinsMedium', sans-serif;
    font-size: 12px;
}

.card-body a:hover {
    color: #00B7FF;
    /* cambia el color al pasar el mouse */
    text-decoration: underline;
    /* puedes quitarlo si no quieres subrayado */
    transform: translateX(4px);
    /* pequeño movimiento a la derecha */
}

.card-body li {

    padding: 0px;
    margin-left: 15px;

}

.card-title {
    font-size: 14px;
    font-family: 'montserrat', sans-serif;
    font-weight: bold;
}

.footer {

    background-color: #0460D9;
    color: white;
    align-items: center;
    align-content: center;
    margin-top: 350px;

    padding: 15px;

}

.footer .container {
    margin-top: 15px;

}

footer p {
    font-size: 12px;
}

.ubicacion {
    display: flex;
    align-items: center;
    /* centra verticalmente */
    justify-content: center;
    /* centra horizontalmente */
    gap: 8px;
    /* separación entre ícono y texto */
    text-align: left;
    max-width: 600px;
    /* opcional para que no se extienda demasiado */
    margin: 0 auto;
    /* centra el bloque en el footer */
}

.ubicacion img {
    height: 18px;
    /* 👈 más pequeño que antes */
    width: auto;
}

.ubicacion p {
    margin: 0;
    font-size: 13px;
}

.menu-link {
    font-size: 14px;
}


.container-materia {
    height: 120px; /* opcional, dependiendo si quieres que la imagen esté recortada */
    margin-top: 70px;
    display: flex;
    flex-direction: column;
    justify-content: start; /* centra la imagen verticalmente */
    align-items: start;     /* centra la imagen horizontalmente */
    overflow: hidden;        /* evita que la imagen se desborde */
}

.container-materia img {
    max-width: 130%;  /* asegura que nunca sobrepase el contenedor */
    height: auto;     /* mantiene proporción */
}

/* --- Ajustes para pantallas grandes --- */
/* Pequeñas pantallas ≥576px (sm) */
@media (min-width: 576px) {
    .container-materia img {
        max-width: 130%;
    }
}

/* Medianas pantallas ≥768px (md) */
@media (min-width: 768px) {
    .container-materia img {
        max-width: 90%;
    }
}

/* Grandes pantallas ≥992px (lg) */
@media (min-width: 992px) {
    .container-materia img {
        max-width: 85%;
    }
}

/* Extra grandes ≥1200px (xl) */
@media (min-width: 1200px) {
    .container-materia img {
        max-width: 80%;
    }
}

/* Extra extra grandes ≥1400px (xxl) */
@media (min-width: 1400px) {
    .container-materia img {
        max-width: 70%;
    }
}
.container-materia p {
    font-size: 35px;
    color: #3282EB;
    font-family: "montserrat-bold";

}

.container-materia-profesor {
    height: auto;
    flex: 1;
}

.card-profesor {
    height: 350px;
    border: 2px solid #7874F2;
    border-radius: 8px;
    margin-top: 30px;

}


.card-img-profesor {
    text-align: center;
    padding: 15px;
    align-content: center;
    height: 180px;

}

.card-img-profesor img {
    height: 135px;
}

.card-body-profesor {
    height: 100px;
    padding-left: 16px;
    padding-right: 16px;
    font-size: 10px;
    padding-top: 5px;
    text-align: center;
    overflow: hidden;

}

.card-body-profesor .nombre {
    font-family: "SFBOLD";
    font-size: 16px;
    color: #3282EB;

}

.card-body-profesor .description {
    font-size: 12px;
    color: black;

}

.boton {
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-primary p {
    background-color: #592EF2;
    color: white;
    font-size: 12px;
    width: 120px;
    height: 30px;
    text-align: center;
    margin-top: 15px;
    padding: 6px;
    text-decoration: none;
    cursor: pointer;
    border-radius: 8px;


}

.boton a {
    text-decoration: none;
}


.btn-primary p:hover {
    background-color: #9c99eb;
    transform: translateY(-3px);

}



/**Profile**/

.container-profile {

    height: auto;
    margin-bottom: 100px;
    margin-top: 40px;

}

.container-profile-name {
    font-family: "montserrat";
    font-size: 36px;
    color: #3282EB;



}

.card-profile-professor {

    border: 2px solid #3282EB;
    border-radius: 6px;
    height: auto;
    padding-top: 40px;
    padding-bottom: 60px;
    padding-left: 50px;
    padding-right: 50px;

}

.container-profile-name-bold {
    font-family: "montserrat-bold";
    font-size: 58px;
    color: #3282EB;



}

.card-profile-photo {

    margin-top: 10px;

}

.card-profile-photo img {

    height: 245px;

}

.card-profile-list {
    font-family: "SFREGULAR";
    font-size: 14px;
    margin-left: 10px;
}

.card-profile-list ul {
    list-style: none;
    margin: 0px;
}

.list-bold {
    font-family: "SFBOLD";
    padding-bottom: 8px;
    padding-top: 8px;
}



.card-profile-description {
    margin-top: 35px;
    font-size: 14px;
}

.card-profile-description p {
    font-family: "SFREGULAR";
    font-size: 14px;
    text-align: justify;

}

/*optativas*/

.container-optativas {

    height: 700px;
}

.container-optativas-description {

    height: 400px;

}

.list-op {

    padding: 0px;
}

.list-op li {

    font-size: 16;
    list-style: none;
    font-family: "SFREGULAR";
    padding: 15px;
}

.icon-arrow {

    height: 15px;
    margin-right: 8px;
}



.icon-profile {
    max-height: 16px !important;
    width: auto !important;
    flex-shrink: 0;
    margin-right: 5px;
}

.icon-contacto {
    max-height: 12px !important;
    width: auto !important;
    flex-shrink: 0;
    margin-right: 5px;


}

/*Carrusel*/
/* 1. Ocultar los iconos de flecha predeterminados de Bootstrap */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    /* Esto hace que el SVG de la flecha predeterminada sea invisible */
    background-image: none !important;
}

/* 2. Estilos base para los botones de control */
.carousel-control-prev,
.carousel-control-next {
    width: 8%;
    /* Ajusta el área del botón si es necesario */
    opacity: 1;
    /* Para que siempre sean visibles (por defecto tienen opacidad al hover) */
    background: none;
    /* Quitar el fondo oscuro por defecto */
}

/* 3. Definir la imagen para el botón "Anterior" */
.carousel-control-prev::before {
    content: '';
    /* Obligatorio para generar el contenido */
    display: block;
    width: 40px;
    /* Ancho de tu imagen de flecha */
    height: 40px;
    /* Alto de tu imagen de flecha */

    /* Ruta a tu imagen de flecha izquierda/anterior */
    background-image: url('img/before.png');

    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* 4. Definir la imagen para el botón "Siguiente" */
.carousel-control-next::before {
    content: '';
    /* Obligatorio para generar el contenido */
    display: block;
    width: 40px;
    /* Ancho de tu imagen de flecha */
    height: 40px;
    /* Alto de tu imagen de flecha */

    /* Ruta a tu imagen de flecha derecha/siguiente */
    background-image: url('img/preview.png');

    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* 5. Ajuste para centrar el contenido (la nueva imagen) */
.carousel-control-prev {
    /* Mueve la flecha personalizada al centro vertical del botón */
    align-items: center;
}

.carousel-control-next {
    /* Mueve la flecha personalizada al centro vertical del botón */
    align-items: center;
}

.viñeta {

    height: 10px;
    margin-right: 8px;
    /* espacio entre ícono y texto */
    vertical-align: middle;
}

.container-about-us {
  background-color: #f8f9fa;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  font-family: "SFREGULAR", sans-serif;
  color: #333;

  padding-top: 50px;
  padding-bottom: 150px;

  text-align: center;
}

.container-about-us-title p {
  font-family: "SFREGULAR", sans-serif;
  color: #0460D9;
  font-size: 28px;
  
  display: inline-block;
  padding-bottom: 8px;
  margin-bottom: 25px;
}

.about-img img {
  max-height: 80px;
  width: auto;
 
  margin: 25px 0;
   margin-top: 50px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.about-img img:hover {
  transform: scale(1.05);
}

.card-description p {
  max-width: 800px;
  margin: 0 auto;
  margin-top: 20px;
  text-align: center;
  font-size: 16px;
  color: #444;
}



.privacy-notice {
  background-color: #f8f9fa;
  padding: 10px;
  border-radius: 10px;
  font-family: "SFREGULAR", sans-serif;
  color: #333;
 text-align: start;
}

.privacy-title {
  font-family: "SFBOLD", sans-serif;
  color: #0460D9;
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-bottom: 8px;
  margin-bottom: 25px;
}

.privacy-notice h3 {
  margin-top: 30px;
  font-size: 20px;
  font-family: "SFBOLD", sans-serif;
  color: #0B2343;
  margin-bottom: 10px;
}

.privacy-notice p {
  margin-bottom: 15px;
  text-align: start;
}

.privacy-notice ul {
  list-style: none;
  padding: 0px;
  margin-bottom: 20px;
}

.privacy-date {
  font-size: 14px;
  color: #666;
  margin-top: 30px;
}

.imagen-aviso {
  max-width: 400px;
  width: 100%;
  height: auto;
  margin: 100px auto; /* centrado y espacio arriba/abajo */
  display: block;
}


@media (max-width: 1400px) {
    .menu-link {
        font-size: 14px;
    }

    .img-logo {
        height: 65px;
        padding: 12px;
    }



    .card {
        height: 270 !important;
    }
}

@media (max-width: 1200px) {
    .menu-link {
        font-size: 14px;
    }


    .card {
        height: 270 !important;
    }
   

}

@media (max-width: 992px) {
    .menu-link {
        font-size: 14px;
    }


  .footer {
        margin-top: 100px;
    }
}


@media (max-width: 768px) {
    .menu-link {
        font-size: 14px;
    }

    .card-body a {
        font-size: 12px;
    }

    .container-materia p {
        font-size: 25px;

    }

.container-banner p{
        font-size: 30px;

    }
    .card-profile-photo img {

        height: 150px;

    }

    .card-profile-professor {

        border: 2px solid #3282EB;
        border-radius: 6px;
        height: auto;
        padding: 10px;


    }

    .card-profile-list ul {
        padding: 0px;
    }


    .card-profile-description p {

        padding: 12px;
    }
  .footer {
        margin-top: 100px;
    }

}

@media (max-width: 576px) {
    .menu-link {
        font-size: 14px;
    }

    .nav-link.menu-link {
        padding: 16px;
    }

    .img-logo {
        height: 75px;
    }

    .container-banner {
        height: 160px;
        align-items: center;
        justify-content: center;
        border-radius: 0%;

    }

    .container-banners {
        border-radius: 0%;
    }


    .card-body a {
        font-size: 12px;
    }



    .container-banner p {
        font-size: 28px;
        padding: 12px;

    }

    .container-banners p {

        font-size: 18px;
    }

    .footer p {

        font-size: 12px;

    }

    .footer {
        margin-top: 150px;
    }

    .card-img-profesor img {
        height: 115px;
    }

    .card-header-optativas {
        height: 40px;
    }

    .card-profile-photo img {

        height: 150px;


    }

    .card-profile-photo {

        flex-direction: column;
        /* La imagen pasa arriba */
        align-items: center;
        /* Centrar imagen y lista */
        text-align: center;


    }

    .card-profile-professor {

        border: 2px solid #3282EB;
        border-radius: 6px;
        height: auto;
        padding: 10px;


    }

    .card-profile-list ul {
        padding-top: 18px;
    }

    .container-profile-name {
        display: flex;
        flex-direction: row !important;
        align-items: center;
        justify-content: center;
        gap: 5px;
        /* espacio entre nombre y apellido */
        font-size: 20px;
        margin: 15px;

    }

    .container-profile-name p {
        font-size: 22px !important;

    }


    .list-op li {

        font-size: 14px;

    }

    .card-profile-description p {

        padding: 12px;
    }
.imagen-aviso {
  max-width: 370px;
  margin-top: 100px;
  margin-bottom: 100px;
  width: 100%;
  display: inline-block;
}

}

@media (max-width: 380px) {

    .about-img img {
    height: 50px;
    
}
.container-banner{
        height: 200px;
    }
.container-banner p{
        font-size: 25px;
        padding: 12px;
    }

     .footer {
        margin-top: 100px;
    }
}