@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700&display=swap');

:root {
    --brand: #0A2445;
    --dark: #092032;
    --body: #516171;
    --border: rgba(0,0,0,0.08);
    --shadow: 0px 6px 30px rgba(0, 0, 0, 0.08);
    --colorwhatsapp: #09bb09;
    --blanco:#fff;
    --red:#ff0000;
    
}

body {      
    font-family: "Barlow", sans-serif;
    color: var(--body);
    line-height: 1.7;
}

h1, h2,h3,h4,h5,h6,  .display-1, .display-2, .display-3 {
    font-weight: 700;
    color: var(--dark);
}
.tittle-principal {
    font-weight:bold;
    color: var(--dark);
}


.bg-cover {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

img {
    width: 100%;
}
.container .navbar-brand img{
    width: 200px;
}
.container .navbar-brand .dot img{
    width: 200px;
}
a {
    color: var(--dark);
    transition: all 0.4s ease;
    font-weight: 500;
}

a:hover {
    color: var(--brand);
}

section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.text-brand {
    color: var(--brand) !important;
}


.hero-slider .owl-prev,
.hero-slider .owl-next{
    background-color: rgba(255, 255, 255, 0.3) !important;
    width: 60px !important;
    height: 60px !important;
    display: block;
    display: grid;
    place-items: center;
    color: #fff !important;
    border-radius: 100px;
    line-height: 0;
    border-radius: 100px !important;
    position: absolute;
    top: 50%;
    font-weight: 600 !important;
    font-size: 12px !important;
    transition: all 0.4s ease;
    margin-top: -30px !important;
}

.owl-prev {
    left: 0;
}
.owl-next {
    right: 0;
}

.hero-slider .owl-prev:hover,
.hero-slider .owl-next:hover {
    background-color: var(--brand) !important; 
}

.owl-dot.active span{
    background-color: var(--brand) !important;
}


/* boton de whatsapp */
.float{
	position:fixed;
	width:60px;
	height:60px;
	bottom:30px;
	right:30px;
	background-color:var(--colorwhatsapp);
	color:var(--blanco);
	border-radius:50px;
	text-align:center;
    font-size:30px;
	box-shadow: 2px 2px 3px #f7f5f5;
    z-index:100;
}
.float:hover {
	text-decoration: none;
	color:var(--blanco);
    background-color:#cbdad0;  

    animation: shake 1s; 


    animation-iteration-count: infinite;
}

.my-float{
	margin-top:16px;
}
.pulse{
    animation: pulse-animation 2s infinite;
}
@keyframes pulse-animation {
    0% {
        box-shadow:  0 0 0 0px  #25d3664d rgba( 0,0,0 .5);
    }
    100% {
        box-shadow: 0 0 0 20px rgba(0, 0, 0, 0);
    }
}

/* float student */

/* .float-1{
	position:fixed;
	width:60px;
	height:60px;
	bottom:250px;	
	background-color:var(--brand);
	color:var(--blanco);
	/* border-radius:50px; 
	text-align:center;
    font-size:30px;
	box-shadow: 2px 2px 3px var(--blanco);
    z-index:100;
}
.float-1:hover {
	text-decoration: none;
	color:var(--blanco);
    background-color:var(--body);  

    animation: shake 1s; 


    animation-iteration-count: infinite;
}


.pulse-1{
    animation: pulse-animation 2s infinite;
}
@keyframes pulse-animation {
    0% {
        box-shadow:  0 0 0 0px  #25d3664d: rgba( 0,0,0 .5) ;
    }
    100% {
        box-shadow: 0 0 0 20px rgba(0, 0, 0, 0);
    }
} */


 /* slide */


/* navbar */
.top-nav {
    background-color: var(--brand);
    color: #fff;
    padding-top: 5px;
    padding-bottom: 5px;
}

.top-nav p {
    display: inline-block;
    margin-bottom: 0;
    margin-right: 10px;
}

.top-nav span,
.top-nav i {
    vertical-align: middle;
}

.navbar {
    box-shadow: var(--shadow);
}

.social-icons a {
    width: 28px;
    height: 28px;
    display: inline-flex;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.25);
    text-decoration: none;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
}

.social-icons a:hover {
    background-color: #fff;
    color: var(--brand);
}

.navbar .navbar-nav .nav-link {
    color: var(--dark);
}

.navbar .navbar-nav .nav-link:hover {
    color: var(--brand);
}


/* ACTIVACION DE EFECTO HOVER DEL MENU DESPEGABLE */


.nav-link{
    transition: all 0.2s;
}
.nav-link:hover{
    /* text-decoration: underline; */
    border-bottom: 2px solid var(--brand) ;
}

.dropdown-item:hover{
    color: var(--blanco);    
    background: var(--brand);
    
}

/* FIN DEL EFECTO */


.navbar .navbar-nav .nav-link.active {
    color: var(--brand);
}

.navbar-brand {
    font-size: 28px;
    font-weight: 700;
}

.navbar-brand .dot {
    color: var(--brand);
}
.btn-login{
    border-radius: 5px;
    padding: 5px 15px;
    border-color: var(--brand);
    background-color: var(--brand);
    color: #fff;
}

.btn-login:hover {
    background-color: #d64022;
    border-color: #d64022;
    color: #fff;
}

.intro {margin-bottom: 36px;
text-align: center;}

.intro p {
    max-width: 500px;
}
.intro h6{
    color: var(--brand);
    font-weight: 400;
    text-transform: uppercase;
}

.intro h1 {
    margin-top: 15px;
    margin-bottom: 15px;
}

.info-box {
    align-items: center;
    display: flex;
}

.info-box img {
    width: 90px;
}
/*OFRECEMOS PARA TI */
.titulo__milestone{
    text-align: center;
    color: var(--brand);
}

#milestone {
    background: linear-gradient(rgba(4, 2, 53, 0.85), rgba(4, 2, 53, 0.85)), url(../img/bg_banner1.);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#milestone h1,
#milestone p {
    color: #fff;
}
.display-4{
    color: #ddd;
}

.service {
    padding: 32px;
    background-color: #fff;
    box-shadow: var(--shadow);
}

.service h5 {
    margin-top: 24px;
    margin-bottom: 14px;
}

.service img {
    width: 90px;
}


.project {
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.project h6 {
    font-weight: 400;
}

.project h6::before {
    content: "";
    height: 2px;
    width: 30px;
    display: inline-block;
    background: var(--brand);
    vertical-align: middle;
    margin-right: 10px;
}

/* somos */
.somos{
    text-align: center;
    background-color: var(--brand);
    color: var(--blanco);
}
.titulo__somos {
    text-align: center;
    color: var(--blanco);
    font-size: 44px;
}
.somos p {
    text-align: center;
    font-size: 24px;
    margin-left: 25px;
    margin-right: 25px;
}

.btn1 {   
    width: 100px;
    border-radius: 5px;
    margin-top: 20px;    
    background-color: var(--blanco);
    padding: 10px 20px;
    color:var(--brand);
    text-decoration: none;
    font-size: 20px;
}
.btn1:hover {   
   background-color: var(--dark);
   color: #fff;
}

.ofrecemos{
    color: var(--brand);
}

/* silides pagina principal */
.project .overlay {
    width: 100%;
    height: 220px;
    position: absolute;
    bottom: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(255, 76, 41, 0) 0%, var(--dark) 100%);
}

.project .overlay img{
    width: 100%;
    height: 100%;
    
}

.project .content {
    position: absolute;
    left: 10%;
    bottom: 10%
}

.project h2,
.project h6 {
    color: #fff;
}

/* fin de slider principal */


.team-member {
    text-align: center;
}

.team-member .image{
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.team-member .overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: -10%;
    background-color: rgba(255, 77, 41, 0.7);
    opacity: 0;
    transition: all 0.4s ease;
}

.team-member h5 {
    margin-top: 16px;
    margin-bottom: 4px;
}

.team-member .social-icons {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    opacity: 0;
    transition: all 0.4s ease;
}

.team-member .social-icons a {
    width: 40px;
    height: 40px;
}

.team-member:hover .social-icons {
    top: 50%;
    opacity: 1;
}

.team-member:hover .overlay {
    top: 0%;
    opacity: 1;
}

#reviews {

    background: linear-gradient(-90deg, rgba(8, 32, 50, 0.8), rgba(8, 32, 50, 0.8)), url(../img/bg_banner1.jpg), #082032;;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.review {
    text-align: center;
    z-index: 2;
    position: relative;
    margin: 15px;
    max-width: 768px;
    margin: auto;
}

.review .bxs-quote-alt-left {
    font-size: 120px;
    position: absolute;
    opacity: 0.1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
}

.review img {
    width: 80px !important;
    height: 80px;
    border-radius: 100px;
    margin: auto;
}

.review h5 {
    margin-top: 16px;
    margin-bottom: 4px;
    color: #fff;
}

.review h3 {
    margin-top: 26px;
    margin-bottom: 26px;
    font-size: 22px;
    color: #fff;
    font-weight: 400;
    line-height: 1.7;
}

.review small {
    color: var(--brand);
}

.review .stars {
    color: var(--brand);
}

.blog-post {
    position: relative;
    background-color: #fff;
    box-shadow: var(--shadow);
}

.blog-post .content {
    padding: 52px;
}

.blog-post a {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--brand);
    padding: 2px 12px;
    border-radius: 100px;
    text-decoration: none;
    color: #fff;
}

.blog-post h5 {
    margin-top: 12px;
    margin-bottom: 12px;
}

.blog-post small {
    text-transform: uppercase;
    color: var(--brand);
    text-decoration: underline;
}
.boton {
    padding: 10px 8px;
}
.boton a{
    font-weight: bold;
    color: var(--blanco);
    background-color: rgb(209, 8, 8);
    border-radius: 10px;  
}

.boton a button{
    color: var(--blanco);
}
/* FOOTER */
footer{
    background: var(--brand);
    padding: 85px 0;
    margin-top: 35px;
}

.single-box{
    color: var(--blanco);
    line-height: 1.9;
}
.single-box p{
    padding-top: 15px;
}
.single-box h3{
    font-size: 16px;
    font-weight: 700;
    color: var(--blanco);
}
.single-box .card.area i{
    color: var(--blanco);
    font-size: 20px;
    margin-right: 10px;
}
.single-box ul{
    list-style: none;
    padding: 0;
}
.single-box ul li a{
    text-decoration: none;
    color: var(--blanco);
    line-height: 2.5;
    font-weight: 100;
}

.single-box h2{
    color: var(--blanco);
    font-size: 30px;
    font-weight: 700;
}
#basic-addon2{
    background: #d64022;
    color: var(--blanco);
}
.social-media{
    font-size: 18px;
    margin-right: 25px;
    
}
@media (min-width: 768px) and (max-width: 991px){
    .single-box{
        margin-bottom: 50px;
    }
    .single-box img{
        width: 50px;
    }
}

/* GALERÍA */


.containerg{
    position: relative;
    min-height: 100vh;
    background: #ddd;
}

 header{
    background: rgb(2, 2, 82);
    color: #ddd;
    font-size: 30px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight: normal;
    padding: 25px;
    color: #333;
    text-align: center;
    text-transform: capitalize;
}

header, h1 .title-middle {
    color: var(--blanco);
    font-weight: bold;

    
}
h2{
    color: #fff;
}


/* Navegación por pestañas */
.tabs {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 18px;
    margin: 1rem 0;
    border-bottom: 8px solid #ccc;
}
@media(max-width:768px){
    .tabs{
        display:grid;               
    }
}
.tab {
    padding: 0.5rem 1rem;
    cursor: pointer;
    margin: 0 0.5rem;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s, color 0.3s;
}
.tab.active {
    border-color: #333;
    font-weight: bold;
}
.containerg .image-container{
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    padding: 10px;
}
.containera .image-container{
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    padding: 10px;
}
.containera .image-container-a{
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    padding: 10px;
}
.image-container img{    
    filter: grayscale(100%);
    transition: all .3s ease;
}

.containerg .image-container .image{
    height: 250px;
    width: 350px;
    border: 5px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .1);
    overflow: hidden;
    cursor: pointer;
}

.containerg .image-container .image img{
   height: 100%;
   width: 100%;
   object-fit: cover;
   transition:.2s linear;
}

.containerg .image-container .image:hover img{
    transform: scale(1.1);
 }

.containerg .popup-image{
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .9);
    height: 100%;
    width: 100%;
    z-index: 100;
    display: none;
 }

 .containerg .popup-image span{
    position: absolute;
    top: 0;
    right: 10px;
    font-size: 60px;
    font-weight: bolder;
    color: #fff;
    cursor: pointer;
    z-index: 100;
 }

 .containerg .popup-image img{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 5px solid #fff;
    border-radius: 5px;
    width: 750px;
    object-fit: cover;
 }

.image:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
}

@media(max-width:768px){
    .containerg .popup-image{
        width:95%;
    }
}

/* Estilo del modal */

.modalw {
    display: none; /* Oculto por defecto */
    position: fixed;
    top: 0;
    left: 0;
    padding-top: 100px;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modalw-content {
    width: 65%; /* Ajusta el ancho según lo necesites */
    height: 90%; /* Ajusta la altura según lo necesites */
    margin: auto; /* Centra el modal */
    border-radius: 5px; /* Opcional: esquinas redondeadas */
    overflow: hidden; /* Asegura que el contenido no se desborde */
   
    
}
@media(max-width:768px){
    .modalw-content {
        width: 85%; /* Ajusta el ancho según lo necesites */
        height: 50%; /* Ajusta la altura según lo necesites */
        
    }/* Ajusta la altura según lo necesites */
    
}

.modalw-content img {
    width: 100%; /* La imagen ocupa todo el ancho del modal */
    height: 100%; /* La imagen ocupa toda la altura del modal */
    object-fit: cover
}

.close {
    position: absolute;   
    right: 210px;
    margin-top: -30px;    
    color: white;    
    font-size: 2rem;
    cursor: pointer;    
}

/* .close:hover{
    background-color: rgba(223, 9, 9, 0.895);
} */
@media(max-width:768px){
    .close {
        position: absolute;   
        right: 2px;
        margin-top: -30px;
        
        color: white;
        border-radius: 50%;
        padding: 5px 20px;
        font-size: 2rem;   
    }
    .close:hover{
        background-color: rgba(223, 9, 9, 0.895);
    }
}
/* .close:hover {
    background-color: rgba(0, 0, 0, 0.895);
}
 */
.modalw-controls {
    display: flex;
    justify-content: space-between;
    width: 90px;
    margin: 10px auto;

}

.modalw-controls button {
    background-color: rgb(2, 3, 64);
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    outline: none;
    transition: background-color 0.3s;
    
}

.modalw-controls button:hover {
    background-color: rgba(223, 9, 9, 0.895);
}
#prev-btn, #next-btn {
    position: absolute;
    top: 60%;
    transform: translateY(-50%);
    font-size: 24px;
    color: white;
    background-color: rgb(0, 0, 0);
    border: none;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 50%;
    z-index: 10;
}
#prev-btn {
    left: 18%;
}
#next-btn {
    right: 18%;
}
#next-btn:hover, #prev-btn:hover{
    background-color: rgba(223, 9, 9, 0.895);
}
@media(max-width:768px){

    #prev-btn {
        left: 7%;
    }
    
    #next-btn {
        right: 7%;
    }
    #prev-btn:hover{
        background-color: rgba(223, 9, 9, 0.895);
    }
    #next-btn:hover{
        background-color: rgba(223, 9, 9, 0.895);
    }   
}

/* UTILES ESCOLARES */

.containerE{
    background:linear-gradient(45deg, rgb(43, 168, 226), rgb(150, 144, 238));
    padding:15px 9%;
    padding-bottom: 100px;
}

.containerE .heading{
    text-align: center;
    padding-bottom: 15px;
    color:#fff;
    text-shadow: 0 5px 10px rgba(0,0,0,.2);
    font-size: 50px;
}

.containerE .box-containerE{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap:15px;
}

.containerE .box-containerE .box{
    box-shadow: 0 5px 10px rgba(0,0,0,.2);
    border-radius: 5px;
    background: #fff;
    text-align: center;
    padding:30px 20px;
}

.containerE .box-containerE .box img{
    height: 110px;
}

.containerE .box-containerE .box h3{
    color:#444;
    /* font-style: ; */
    font-size: 22px;
    padding:10px 0;
    text-transform:lowercase;
}

.containerE .box-containerE .box p{
    color:#000000;
    font-weight: bolder;
    font-size: 15px;
    line-height: 1.8;
}

.containerE .box-containerE .box .btn{
    margin-top: 10px;
    display: inline-block;
    background:#333;
    color:#fff;
    font-size: 17px;
    border-radius: 5px;
    padding: 8px 25px;
}

.containerE .box-containerE .box .btn:hover{
    letter-spacing: 1px;
}

.containerE .box-containerE .box:hover{
    box-shadow: 0 10px 15px rgba(0,0,0,.3);
    transform: scale(1.03);
}

@media (max-width:768px){
    .containerE{
        padding:20px;
    }
}

/* CARNE ESTUDI\NTIL */

.tituloCarne{
    text-align: center;
    align-items: center;
}
.carne p{
    background: var(--brand);
    font-weight: bold;color: var(--blanco);
    padding: 10px 10px;
    margin-top: 15px;
    font-size: 30px;
    text-align: center;
    
}
.card-img {
    display: flex;
    justify-content: center;
    align-items: center;
}
.Descarga{
    text-decoration: none;
    background: var(--brand);
    padding: 15px 15px;    
    color: var(--blanco);
    border-radius: 5px;
    
}
.descarga {
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;    
    color: var(--blanco);
    text-align: center;
    margin: 25px 10px;    
    font-size: 30px;

}
.descarga button{
    background-color: #09bb09;
    border-radius: 3px;
    padding: 10px 10px 10px 10px;
}
.videoC iframe{
    display: flex;
    justify-content: center;
    align-items: center;
}
@media(max-width: 768px){
    .videoC iframe{
        width: 350px;
        height: 280px;
    }
}

/* ADMISIONES  */
/* PAGOS PRINCIPAL */

.container-p {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px; /* Espacio entre los círculos */
    flex-wrap: wrap; /* Para que sean responsivos y se ajusten si hay más elementos */
  }

.circle-1 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    position: relative;
    margin: auto;
    margin-top: 25px;    
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Sombra mejorada */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Efecto al pasar el cursor */
    
}

.overlay-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Oscuridad leve */
    border-radius: 50%; /* Coincide con el círculo */    
    transition: background-color 0.3s ease; /* Transición suave */
}

.circle-1:hover .overlay-1 {
    background-color: rgba(0, 0, 0, 0.6); /* Oscurece más al pasar el cursor */
}

.circle-1:hover {
    transform: scale(1.05); /* Zoom ligero al pasar el cursor */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4); /* Sombra más intensa */
}


.circle-content {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    color: white;
}

.circle-content h5 {
    margin: 0;
    font-size: 18px;
    background: var(--blanco);
    color: var(--brand);
    padding: 5px 5px;
    
}

  .circle-content .btn {
    font-size: 14px;
    padding: 5px 10px;
    margin-top: 10px;
  }

  .section-title {
    text-align: center;
    margin-bottom: 40px;
  }

  .section-title h1 {
    font-size: 32px;
    font-weight: bold;
  }

  .section-title p {
    font-size: 16px;
    color: gray;
  }

  /* PAGOS  */

  .titulo-pagos{
    text-align: center;
    padding-top: 18px;
  }

  .pagos .btn:hover {
    background: var(--brand);
    color: var(--blanco);
    font-weight: bolder;      
  }
  .card-title{
    color: var(--brand);
    font-size: 35px;
  }
  .card-img-bottom{
    width: 100%; /* La imagen ocupa todo el ancho del círculo */
  height: 100%; /* La imagen ocupa toda la altura del círculo */
  }

  .pagos-dowm .btn{
    background: var(--brand);   
    color: var(--blanco);
  }
  .pagos-dowm .btn:hover {
    background: var(--blanco);
    color: var(--brand);
    border: 2px solid var(--brand);
    font-weight: bolder;    
  }

  /* VIDEO DE MATRÍCULA */

  .titulo-matricula{
    text-align: center;
    padding-top: 18px;
  }
  .titulo-matricula-text{
    text-align: center;
    font-size: 20px;
    font-weight: 400;
    margin-right: 80px; 
    margin-left: 80px;   
  }

  .video-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    max-width: 800px; /* Ancho máximo del video */
  }
  
  video {
    width: 100%; /* El video se adapta al ancho del contenedor */
    border-radius: 10px; /* Esquinas redondeadas */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Sombra alrededor */
  }

  /* PDF */

  .pdf-container {
    margin: 20px auto;
    max-width: 800px;
    text-align: center;
  }
  
  .download-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 30px;
    background-color:var(--dark); /* Color del botón */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
  }
  
  .download-btn:hover {
    color: var(--blanco);
  }
  /* MANTENIMWEINTO */

 
  .container-m {
    max-width: 800px;
    padding: 20px;
    text-align: center;
  }

p {
    /* font-size: 1.2em; */
    margin-bottom: 30px;
    
}

.logo {   
    width:350px;
    height: 250px;
    margin-bottom: 20px;
}

  .spinner {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
  }

  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }

  /* CONTACT */

/* Contenedor principal */
.containerC {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    max-width: 1200px;
    margin: auto;
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  }
  
  /* Formulario de contacto */
  .contact-form {
    flex: 1 1 350px;
  }
  
  .contact-form h3 {
    margin-bottom: 20px;
    color: #2c3e50;
  }
  
  .contact-form form {
    display: flex;
    flex-direction: column;
  }
  
  .contact-form label {
    margin: 10px 0 5px;
    font-weight: bold;
  }
  
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    resize: vertical;
    transition: border 0.3s ease;
  }
  
  .contact-form input:focus,
  .contact-form select:focus,
  .contact-form textarea:focus {
    border-color: #3498db;
    outline: none;
  }
  
  .contact-form button {
    margin-top: 15px;
    padding: 12px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .contact-form button:hover {
    background-color: #2c3e50;
  }
  
  /* Mapa */
  .map {
    flex: 1 1 350px;
  }
  
  .map h3 {
    margin-bottom: 15px;
    color: #2c3e50;
  }
  
  .map iframe {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    border: none;
  }
  
  /* Información de contacto */
  .contact-info {
    flex: 1 1 100%;
    margin-top: 30px;
  }
  
  .contact-info h3 {
    margin-bottom: 15px;
    color: #2c3e50;
  }
  
  .contact-info p {
    margin-bottom: 10px;
    font-size: 16px;
  }
  
  .social-icons {
    margin-top: 15px;
  }
  
  .social-icons a {
    margin-right: 15px;
    font-size: 24px;
    color: #3498db;
    transition: color 0.3s ease;
  }
  
  .social-icons a:hover {
    color: #2c3e50;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .containerC {
      flex-direction: column;
    }
  
    .map iframe {
      height: 250px;
    }
  }

/* NOTICIAS  */
.noticias {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 40px;
}

.noticia{
    padding-top: 45px;
}

.principal, .secundaria {
    background-color: #f8f5f5;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.principal {
    flex: 2 1 60%;
}

.secundaria {
    flex: 1 1 22%;
}
.ns h3 .card-title{
    text-decoration: none;
}

.noticia img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

.noticia h2, .noticia h3 {
    margin: 10px 0;
    color: #333;
}
.noticia p {
    color: #333;
}
.noticia a{
    text-decoration: none;
}

.tercera a{
    text-decoration: none;
}

/* Responsivo */
@media (max-width: 768px) {
    .noticias {
        flex-direction: column;
    }
    
    .principal, .secundaria {
        flex: 1 1 100%;
        
    }
  }

/* GALERIA ACOMPAÑANDO CON AMOR*/
.gallery-wrapper {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
    }

    .gallery_a {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      grid-template-rows: repeat(3, 150px);
      gap: 10px;
      margin-bottom: 70px;
      max-width: 1000px;
      
      width: 100%;
    }

    .gallery_a div {
      background-size: cover;
      background-position: center;
      border-radius: 12px;
      
     /*  border: 2px solid black; */
    }
  /*  .gallery_a div:hover {
      transform: scale(1.05); 
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4); 
       z-index: 2; 
    } */

    .item1 {
      grid-column: 1 ;
      grid-row: 1;
      background-image: url('../img/PASCUA/5.jpeg'); /* ('https://via.placeholder.com/450x150'); */
    }

    .item2 {
      grid-column: 2;
      grid-row: 1;
      background-image: url('../img/PASCUA/10.jpeg');/* ('https://via.placeholder.com/150'); */
    }
    
    .item3 {
        grid-column: 1 / span 2;
        grid-row: 2 / span 2;
        background-image: url('../img/PASCUA/12.JPG');/* ('https://via.placeholder.com/300x300'); */
    }
    .item4 {
        grid-column: 4 / span 1;
        grid-row: 3;
        background-image: url('../img/PASCUA/11.JPG'); /*('https://via.placeholder.com/300x300'); */
    }    
    .item6 {
        grid-column: 3 / span 1;
        grid-row: 3;
        background-image: url('../img/PASCUA/13.jpeg');/*('https://via.placeholder.com/300x150');  */
    }
    
    .item7 {
      grid-column: 3 / 5;
      grid-row: 1 / 3;
      background-image: url('../img/PASCUA/9.jpeg');/* ('https://via.placeholder.com/150'); */
    }
    @media (max-width: 700px) {
      body {
        align-items: flex-start;
      }

      .gallery_a {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        gap: 10px;
        max-width: 90%;
      }

      .gallery_a div {
        grid-column: auto !important;
        grid-row: auto !important;
        height: 280px;
      }
    }
/* MODAL */

