/* ========================= */
/* RESET */
/* ========================= */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ========================= */
/* ROOT COLORS */
/* ========================= */

:root{

    --primary: #304C89;
    --gold: #D6B36A;
    --light: #FAF8F5;
    --dark: #1F1F1F;
    --white: #FFFFFF;

}

/* ========================= */
/* BODY */
/* ========================= */

body{

    font-family: 'Poppins', sans-serif;
    background: var(--light);
    color: var(--dark);
    overflow-x: hidden;

}

/* ========================= */
/* GLOBAL */
/* ========================= */

.container{

    width: 90%;
    max-width: 1400px;
    margin: auto;

}

a{
    text-decoration: none;
}

ul{
    list-style: none;
}

/* ========================= */
/* TOP BAR */
/* ========================= */

.top-bar{

    background: var(--primary);
    color: white;
    padding: 12px 0;

}

.top-container{

    display: flex;
    justify-content: space-between;
    align-items: center;

}

.top-left{

    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 15px;

}

.top-left i{

    color: var(--gold);

}

.top-right{

    display: flex;
    align-items: center;
    gap: 20px;

}

.top-right a{

    color: white;
    font-size: 20px;
    transition: 0.3s;

}

.top-right a:hover{

    color: var(--gold);

}

.phone-number{

    font-size: 16px !important;
    font-weight: 600;

}

/* ========================= */
/* HEADER */
/* ========================= */

.header{

    position: fixed;

    top: 50px;
    left: 0;

    width: 100%;

    z-index: 999;

    background: rgba(255,255,255,0.95);

    transition: all 0.35s ease;

}

.header.scrolled{

    top: 0;

    box-shadow: 0 5px 25px rgba(0,0,0,.08);

}

.nav-container{

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 18px 0;

}

/* ========================= */
/* LOGO */
/* ========================= */

.logo img{

    height: 90px;
    width: auto;
    display: block;

}

/* ========================= */
/* NAVBAR */
/* ========================= */

.nav-links{

    display: flex;
    align-items: center;
    gap: 45px;

}

.nav-links a{

    color: var(--primary);

    font-size: 18px;
    font-weight: 600;

    position: relative;

    transition: 0.3s;

}

.nav-links a:hover{

    color: var(--gold);

}

/* Hover line */

.nav-links a::after{

    content: '';

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0%;
    height: 2px;

    background: var(--gold);

    transition: 0.3s;

}

.nav-links a:hover::after{

    width: 100%;

}

/* ========================= */
/* MENU MOBILE */
/* ========================= */

.menu-toggle{

    display: none;

    font-size: 28px;
    color: var(--primary);

    cursor: pointer;

}

/* ========================= */
/* HERO */
/* ========================= */

.hero{

    width: 100%;
    height: 100vh;

    position: relative;

    margin-top: 140px;

}

.heroSwiper,
.swiper-slide{

    width: 100%;
    height: 100%;

}

/* ========================= */
/* SLIDES */
/* ========================= */

.hero-slide{

    position: relative;

    overflow: hidden;

}

.hero-slide img{

    width: 100%;
    height: 100%;

    object-fit: cover;

}

/* ========================= */
/* OVERLAY */
/* ========================= */

.overlay{

    position: absolute;

    inset: 0;

    background: rgba(0,0,0,0.25);

}

/* ========================= */
/* HERO CONTENT */
/* ========================= */

.hero-content{

    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    text-align: center;

    color: white;

    width: 90%;
    max-width: 900px;

    z-index: 5;

}

.hero-content h1{

    font-size: 72px;
    line-height: 1.1;

    margin-bottom: 25px;

    font-family: 'Playfair Display', serif;

}

.hero-content p{

    font-size: 22px;
    margin-bottom: 35px;

}

/* ========================= */
/* BUTTONS */
/* ========================= */

.hero-buttons{

    display: flex;
    justify-content: center;
    gap: 20px;

}

.btn{

    padding: 16px 34px;

    border-radius: 50px;

    font-size: 16px;
    font-weight: 600;

    transition: 0.3s;

}

.btn-primary{

    background: var(--gold);
    color: white;

}

.btn-primary:hover{

    background: white;
    color: var(--primary);

}

.btn-secondary{

    border: 2px solid white;
    color: white;

}

.btn-secondary:hover{

    background: white;
    color: var(--primary);

}

/* ========================= */
/* SWIPER PAGINATION */
/* ========================= */

.swiper-pagination-bullet{

    background: white;
    opacity: 0.7;

}

.swiper-pagination-bullet-active{

    background: var(--gold);

}

/* ===================================
   ABOUT
=================================== */

.about{
    padding: 100px 8%;
    background: #ffffff;
}

.about-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img{
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,.10);
}

.section-tag{
    display: inline-block;
    color: #c9a55a;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.about-content h2{
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #24427a;
    margin-bottom: 25px;
}

.about-content p{
    font-size: 1.05rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 15px;
}

/* ===================================
   OBJECTIVES
=================================== */

.objectives{
    padding: 80px 8%;
    background: #f8fafc;
}

.section-title{
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2{
    font-family: 'Playfair Display', serif;
    color: #24427a;
    font-size: 2.8rem;
}

.section-title p{
    color: #777;
}

.cards-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap: 30px;
}

.card{
    background: white;
    padding: 35px;
    border-radius: 20px;
    text-align: center;
    transition: .3s;
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
}

.card:hover{
    transform: translateY(-8px);
}

.card i{
    font-size: 2.5rem;
    color: #c9a55a;
    margin-bottom: 20px;
}

.card h3{
    color: #24427a;
    margin-bottom: 15px;
}

.card p{
    color: #666;
    line-height: 1.7;
}

/* ===================================
   MISION VISION
=================================== */

.mission-vision{
    padding: 100px 8%;
    background: #24427a;
}

.mv-grid{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 40px;
}

.mv-box{
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
}

.mv-box h3{
    color: #d9b56b;
    font-size: 2rem;
    margin-bottom: 20px;
}

.mv-box p{
    color: white;
    line-height: 1.9;
}

/* ========================= */
/* VALORES */
/* ========================= */

.values-section{
    margin-top: 80px;
}

.values-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 25px;
    margin-top: 40px;
}

.value-card{
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    transition: .3s;
}

.value-card:hover{
    transform: translateY(-8px);
}

.value-card i{
    font-size: 38px;
    color: #d4af37;
    margin-bottom: 15px;
}

.value-card h4{
    color: #2f4b87;
    margin-bottom: 12px;
}

.value-card p{
    color: #666;
    line-height: 1.7;
}


/* PROJECTS*/

.container{
    width: min(90%, 1280px);
    margin: 0 auto;
}

.projects{

    padding: 100px 0;
    background: #ffffff;

}

.projects h2{
    text-align: center;
    color: #2f4b8f;
    padding-bottom: 10px;
}

.projects-grid{

    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
    margin-bottom: 80px;

}

.project-card{

    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    transition: .3s;

}

.project-card:hover{

    transform: translateY(-8px);

}

.project-card img{

    width: 100%;
    height: 280px;
    object-fit: cover;

}

.project-info{

    padding: 25px;

}

.project-info h3{

    color: #2f4b8f;
    margin-bottom: 10px;

}

.gallery{

    columns: 3;
    column-gap: 20px;
    margin-bottom: 80px;

}

.gallery img{

    width: 100%;
    margin-bottom: 20px;
    border-radius: 15px;
    cursor: pointer;
    transition: .3s;

}

.gallery img:hover{

    transform: scale(1.02);

}

.video-grid{

    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 30px;

}

.video-card video{

    width: 100%;
    border-radius: 20px;

}


/* ========================= */
/* TEAM */
/* ========================= */

.team{

    padding: 100px 0;
    background: #f8fafc;

}

.team-grid{

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    margin-top: 60px;

}

.team-card{

    background: white;

    border-radius: 24px;

    padding: 40px;

    text-align: center;

    box-shadow: 0 15px 40px rgba(0,0,0,.08);

    transition: .35s ease;

}

.team-card:hover{

    transform: translateY(-8px);

}

.team-image{

    width: 180px;
    height: 180px;

    margin: 0 auto 25px;

    border-radius: 50%;

    overflow: hidden;

    border: 5px solid #d4af37;

}

.team-image img{

    width: 100%;
    height: 100%;
    object-fit: cover;

}

.team-card h3{

    font-family: "Playfair Display", serif;

    color: #243e7f;

    font-size: 30px;

    margin-bottom: 10px;

}

.team-role{

    display: block;

    color: #d4af37;

    font-weight: 600;

    margin-bottom: 20px;

}

.team-card p{

    color: #555;

    line-height: 1.7;

    margin-bottom: 25px;

}

.team-social{

    display: flex;

    justify-content: center;

    gap: 20px;

}

.team-social a{

    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #243e7f;

    color: white;

    font-size: 20px;

    transition: .3s ease;

}

.team-social a:hover{

    background: #d4af37;

    transform: translateY(-3px);

}

/* ========================= */
/* CONTACT */
/* ========================= */

.contact-section{

    padding: 100px 0;

    background: linear-gradient(
        135deg,
        #243e7f,
        #1a2f63
    );

    color: white;

}

.contact-content{

    text-align: center;

}

.contact-content span{

    color: #d4af37;

    font-weight: 600;

    letter-spacing: 2px;

    text-transform: uppercase;

}

.contact-content h2{

    font-family: "Playfair Display", serif;

    font-size: 48px;

    margin: 15px 0 20px;

}

.contact-content p{

    max-width: 700px;

    margin: 0 auto 50px;

    line-height: 1.8;

}

.contact-cards{

    display: grid;

    grid-template-columns: repeat(3,1fr);

    gap: 30px;

}

.contact-card{

    background: rgba(255,255,255,.08);

    border-radius: 20px;

    padding: 35px;

    backdrop-filter: blur(10px);

}

.contact-card i{

    font-size: 32px;

    color: #d4af37;

    margin-bottom: 15px;

}

.contact-card h4{

    margin-bottom: 10px;

}

.contact-card a{

    color: white;

    text-decoration: none;

    font-weight: 600;

}

/* ========================= */
/* FOOTER */
/* ========================= */

.footer{

    background: #0f1f47;

    color: white;

    text-align: center;

}

.footer-content{

    padding: 60px 0 40px;

}

.footer-content img{

    height: 90px;

    margin-bottom: 20px;

}

.footer-content p{

    max-width: 600px;

    margin: 0 auto 25px;

    opacity: .85;

}

.footer-social{

    display: flex;

    justify-content: center;

    gap: 15px;

}

.footer-social a{

    width: 45px;
    height: 45px;

    border-radius: 50%;

    background: rgba(255,255,255,.1);

    color: white;

    display: flex;

    align-items: center;
    justify-content: center;

    transition: .3s;

}

.footer-social a:hover{

    background: #d4af37;

    transform: translateY(-3px);

}

.footer-bottom{

    border-top: 1px solid rgba(255,255,255,.1);

    padding: 20px 0;

    font-size: 14px;

    opacity: .8;

}


/* ========================= */
/* RESPONSIVE */
/* ========================= */

@media(max-width: 992px){

    .nav-links{

        display: none;

    }

    .menu-toggle{

        display: block;

    }

    .hero-content h1{

        font-size: 52px;

    }

}

@media(max-width:768px){

    .contact-cards{

        grid-template-columns: 1fr;

    }

    .contact-content h2{

        font-size: 34px;

    }

}

@media(max-width: 768px){

    .top-container{

        flex-direction: column;
        gap: 10px;

    }

    .logo img{

        height: 70px;

    }

    .hero{

        margin-top: 160px;

    }

    .hero-content h1{

        font-size: 40px;

    }

    .hero-content p{

        font-size: 18px;

    }

    .hero-buttons{

        flex-direction: column;
        align-items: center;

    }

}

@media(max-width:768px){

    .team-grid{

        grid-template-columns: 1fr;

        gap: 35px;

    }

    .team-card{

        padding: 30px;

    }

    .team-image{

        width: 150px;
        height: 150px;

    }

}

@media(max-width:992px){

    .projects-grid{

        grid-template-columns: 1fr;

    }

    .gallery{

        columns: 2;

    }

    .video-grid{

        grid-template-columns: 1fr;

    }

}

@media(max-width:768px){

    .gallery{

        columns: 1;

    }

    .section-header h2{

        font-size: 36px;

    }

}

@media(max-width: 992px){

    .about-grid{
        grid-template-columns: 1fr;
    }

    .about-content{
        text-align: center;
    }

    .mv-grid{
        grid-template-columns: 1fr;
    }

}

@media(max-width: 768px){

    .about{
        padding: 70px 25px;
    }

    .objectives{
        padding: 70px 25px;
    }

    .mission-vision{
        padding: 70px 25px;
    }

    .about-content h2{
        font-size: 2.2rem;
    }

    .section-title h2{
        font-size: 2rem;
    }

}

/* ========================= */
/* MOBILE MENU */
/* ========================= */

@media(max-width: 992px){

    .nav-links{

        display: flex;

        position: absolute;

        top: 100%;
        left: 0;

        width: 100%;

        background: white;

        flex-direction: column;

        align-items: center;

        gap: 0;

        max-height: 0;

        overflow: hidden;

        transition: all .35s ease;

        box-shadow: 0 8px 20px rgba(0,0,0,.08);

    }

    .nav-links.active{

        max-height: 400px;

        padding: 15px 0;

    }

}