@import url('animaciones.css');

:root {
    --yellow1: #EBD051;
    --yellow2: #E3A540;
    --red-wine1: #C33624;
    --red-wine2: #50160E;
    --red-wine3: #7D2118;
    --light: #f8f9fa;
    --dark: #212529;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --shadow: box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);

    /* Paleta Secundaria - Tonos cálidos y fríos */
    --coral: #FF7F50;
    --gold: #FFD700;
    --sky-blue: #87CEEB;
    --teal: #008080;
    --navy: #1A3A5F;
    --light-gray: #F5F5F5;
    --dark-gray: #333;
    --white: #FFFFFF;
    --transition: all 0.3s ease-in-out;
}

.fas {
    color: var(--yellow2);
}

.fa-chevron-down:hover {
    color: var(--coral);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    color: #F5F5F5;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--navy);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 80px;
    height: 80px;
    border: 5px solid var(--yellow1);
    border-top: 5px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--light-gray);
    overflow-x: hidden;

}

.container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 2;
}

section {
    padding: 100px 0;

}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--red-wine2);
}

p {
    color: var(--dark);
}

h2 {
    position: relative;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: var(--yellow2);
    transition: var(--transition);
}

.section-header {
    width: 100%;
    text-align: center;
    margin-bottom: 50px;
    animation: scroll;
    animation-timeline: view();
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.8;
    position: relative;
    padding-left: 30px;
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    background: var(--yellow2);
    color: var(--red-wine2);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(227, 165, 64, 0.3);
}

.btn:hover {
    background: var(--yellow1);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(227, 165, 64, 0.5);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--yellow2);
    color: var(--yellow2);
    margin-left: 15px;
}

.btn-outline:hover {
    background: var(--yellow2);
    color: var(--red-wine2);
}

/*///////////////////////////////////////////*/

/*Titulos*/
.tex-titulo {
    text-align: center;
    font-size: 2.8rem;
    position: relative;
    display: inline-block;
    margin-bottom: 3rem;
}

/* Top Footer */
.top-footer {
    background: #1A3A5F;
    padding: 10px 0;
    /*border-bottom: 1px solid rgba(255, 255, 255, 0.1);*/
    position: fixed;
    top: 0;
    left: 0;
    margin: 0;
    width: 100%;
    z-index: 1001;
    transition: background-color 0.3s ease, opacity 0.3s ease;
}

.top-footer-content {
    display: flex;
    justify-content: left;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.top-footer-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.top-footer-logo {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.top-footer-item i {
    color: var(--yellow1);
    font-size: 1rem;
}

.top-footer-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.top-footer-item a:hover {
    color: var(--yellow1);
}

/* Ajustes adicionales para el top footer */
.top-footer-item a[href^="mailto:"]:hover {
    text-decoration: underline;
}

.top-footer-item a[href^="tel:"]:hover {
    text-decoration: underline;
}

.top-footer-item a[href^="https://wa.me"]:hover {
    text-decoration: underline;
}

/* Header */
header {
    position: relative;
    /* Espacio para el top footer */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(to bottom, #90A1B9, #eef2f3);
    /* background: linear-gradient(to bottom, #eff5ff, #cfdef3);*/
    /*background-color: transparent;*/
    /*box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);*/
    transition: var(--transition);
    backdrop-filter: blur(5px);
    transition: background-color 0.3s ease;
    padding-top: 0%
}

.top-footer.scrolled {
    background: #1A3A5F;
    /* Color semitransparente */
    opacity: 0.9;
}

/*navegacion*/
.container_navbar {
    background: linear-gradient(to bottom,#1A3A5F, #90A1B9, #eef2f3);
    padding: 3.33%;
}

.navbar {
    
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    /*border-bottom: 2px solid var(--yellow2);*/
}


.conten_logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    overflow: hidden;
    width: 300px;
}

* Estilos para el logo */ .logo {
    width: 60px;
    height: 60px;
    background: #1A3A5F;
    border-radius: 20%;
    display: flex;
    justify-content: center;
}

.logo-img {
    background: linear-gradient(to bottom, #485563, #29323c27);
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 2px solid var(--yellow2);
    transition: var(--transition);
}

.conten_logo span {
    color: var(--yellow2);
    font-family: "Satisfy", cursive;
    font-weight: 500;
    font-style: normal;
    font-size: 3rem;
    text-shadow:
    1px 1px 2px #16222a,
    0 0 1em var(--coral),
    0 0 0.2em var(--gold);
}

.marcial {
    color: var(--light-gray);
    font-weight: 700;
    font-size: 1.8rem;
    text-shadow:
    1px 1px 2px black,
    0 0 1em var(--coral),
    0 0 0.2em var(--gold);
}

.nav-links {
    width: 100%;
    display: flex;
    list-style: none;
    justify-content: center;
}

.nav-links>li {
    margin-left: 30px;
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: var(--navy);
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
    display: flex;
    align-items: center;
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--coral);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--coral);
}

.nav-links a:hover:after {
    width: 100%;
}

.buttom_blogs {
    margin-left: 30px;
    display: flex;


}

.buttom_blogs>button {
    background-color: var(--yellow2);
    border-radius: 20px;
    border: transparent;
}

.buttom_blogs>button>span {
    color: var(--red-wine2);
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 1.2rem;
    font-weight: 800px;
    cursor: pointer;
    padding: 15px;

}

/*Sub-menu*/
.nav-links .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--navy);
    min-width: 220px;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.nav-links .submenu li {
    margin: 0;
    width: 100%;
    text-decoration: none;
    list-style: none;


}

.nav-links .submenu a {
    color: var(--light);
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    padding: 12px 20px;
    width: 100%;

}

.nav-links .submenu a:hover {
    background: rgba(235, 208, 81, 0.1);
    color: var(--coral);

}

.nav-links>li:hover .submenu {
    opacity: 4;
    visibility: visible;
    transform: translateY(0);

}

/*Menu Hamburguesa*/
.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
    z-index: 1001;
    transition: all 0.3s ease;
}

.mobile-menu:hover {
    color: var(--yellow1);
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    background: linear-gradient(to top, #90A1B9, #eef2f3);
    /*background: linear-gradient(to top, #16222a, #3a6073);*/
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.hero-content {
    margin: 0;
    padding: 0;
    position: relative;
    /*background: linear-gradient(to right, #16222a, #3a6073);*/
    background: linear-gradient(to bottom, #90a1b900, #eef2f300), url("/img/meeting-room-828547_1920.jpg");
    width: 80%;
    background-position: center;
    background-size: cover;
    margin: 50px auto;
    height: 500px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);

}

.hero-about {
    position: relative;
    display: flex;
    overflow: hidden;
    width: 100%;
    height: 100%;

}

.hero-content::after {
    content: '';
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0;
    width: 100%;
    height: 700px;
    background-color: rgba(0, 0, 0, 0.634);
    /* Capa de color negro semi-transparente (ajusta el último valor 0.5 para más o menos opacidad) */
    z-index: 0;
    /* Lo coloca entre la imagen (-1) y el texto (1) */
}

.contenedor-hero-text {
    width: 70%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 20px;
    text-align: left;
}

.contenedor-hero-text span {
    color: var(--yellow2);
}

.contenedor-hero-text>.btn {
    width: 40%;
}

.img-hero img {
    position: absolute;
    transform: translateX(20%);
    /* Esta línea centra la imagen horizontalmente */
    transform: translatey(-10%);
    right: 0;
    top: 0;
    bottom: 0;
    height: auto;
    max-height: 700px;
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

.hero h1 {
    position: relative;
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--yellow1);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInup 1s ease-out;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    color: white;
    animation: fadeInUp 1s ease-out 0.3s forwards;
    padding: 0 20px;
}

.hero-about .btn {
    position: relative;
    animation: fadeIn 1s ease-out 0.3s forwards;
}

/*Filosofia*/
.philosophy {
    background: linear-gradient(to bottom, #90A1B9, #90a1b9);
    
}

.filosofia_contendor {
    width: 50%;
    animation: fadeInUp linear;
    animation-timeline: view();
    animation-range: entry 0;
}

.philosophy h3 {
    font-style: italic;
    color: var(--yellow1);
    margin-bottom: 15px;
    

}

.philosophy p {
    background-color: #1a3a5f;
    border-left: 4px solid var(--yellow2);
    border-radius: 0 8px 8px 0;
    color: var(--yellow2);
    text-shadow:
    1px 1px 1px black;
    font-weight: 500;
    font-size: 1.3rem;
}

/* About Section */
.about {
    background: linear-gradient(to bottom, #90A1B9, #eef2f3);
    /*background: linear-gradient(135deg, #1a3a5fb4 50%, #000000d8 50%), url('../img/con\ jovenes\ de\ la\ fundacion\ terra.jpg');*/
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.about-content {
    position: relative;
    width: 100%;
    background: linear-gradient(to bottom, #16222a, #1A3A5F);
    display: flex;
    border-radius: 10px;
    overflow: hidden;

}

.about-content::after {
    content: '';
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.326);
    /* Capa de color negro semi-transparente (ajusta el último valor 0.5 para más o menos opacidad) */
    z-index: 0;
    /* Lo coloca entre la imagen (-1) y el texto (1) */
}

.about-image {
    background: linear-gradient(135deg, #1a3a5f7c 60%, #00000026 50%), url('../img/con\ jovenes\ de\ la\ fundacion\ terra.jpg');
    width: 80%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: end;
    position: relative;
    overflow: hidden;
    transition: 0.5s all;
    animation: fadeInUp;
    animation-timeline: view();
    animation-range: entry 0% cover 50%;
    z-index: 1;
}

.about-img {
    width: 100%;
    display: block;
    transition: transform 0.8s ease;
    margin: 0;
    padding: 0;
}

.contenedor-sobre-mi {
    display: flex;
    flex-direction: column;
    z-index: 1;
    padding: 30px;
    animation: fadeInUp;
    animation-timeline: view();
    animation-range: entry 0% cover 50%;
    
}

.contenedor-sobre-mi p {
    color: var(--light) !important;
}

.contenedor-sobre-mi strong {
    color: var(--yellow2) !important;
}

.contenedor-sobre-mi h4 {
    color: var(--yellow2) !important;
    z-index: 1;
}

.about-text {
    display: flex;
    flex-direction: column;
    align-items: center !important;
    transform: translateX(50px);
    transition: transform 1s ease 0.2s, opacity 1s ease 0.2s;
    z-index: 1;
}

.sobre-mi {
    color: var(--yellow1);
}

.about-text p {
    color: var(--dark);
    font-size: 1.1rem;
    line-height: 1.8;
    z-index: 1;
}

.about-text strong {
    color: #212529;
}

.positions {
    padding-left: 30px;
    margin: 30px 0;
    z-index: 1;
}

.position-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.position-icon {
    font-size: 1.8rem;
    color: var(--coral);
    margin-right: 20px;
    min-width: 40px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(235, 208, 81, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.position-icon i {
    display: block;
    line-height: 1;
    font-style: normal;
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "FontAwesome";
    font-weight: 900;
}

.positions h3 {
    color: var(--yellow1);
    padding-left: 60px;
}

/*Servicios Marcial*/
.contenedor_servicios_marcial {
    background: linear-gradient(to top, #1A3A5F, #eef2f3);
    display: flex;
    align-items: center;
    overflow: hidden;
    animation: fadeInUp linear;
    animation-timeline: view();
    animation-range: entry 0;
}

.servicios_marcial {
    display: flex;
    height: 300px;
}

.servicios_contenedor2 {
    width: 100%;
    height: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.servicios_contenedor2>button {
    margin-top: 25px;
}

.servicios_contenedor2>p {
    font-size: 1.3rem;
    line-height: 1.8;
}

.servicios_marcial>img {
    border-radius: 10px;
    width: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
   
}

.servicios_marcial {
    display: flex;

}



.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.skill {
    background: rgba(235, 208, 81, 0.15);
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--red-wine2);
    border: 1px solid rgba(235, 208, 81, 0.3);
    transition: var(--transition);
}

.skill:hover {
    background: var(--yellow1);
    transform: translateY(-3px);
}

.logo-icon-marcial {
    animation: scroll;
    animation-timeline: view();
}

/*Trayectoria*/

/* Specializations */

.section-header p {
    color: #212529 !important;
}

.specializations {

    background: linear-gradient(to top, #ece9e6, #ffffff) !important;

}

.spec-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;

}

.spec-card {
    display: flex;
    overflow: hidden;
    width: 100%;
    gap: 20px;
}

.spec_container {
    width: 70%;
    display: flex;
    flex-direction: column;
}

.spec_container button {
    width: 40%;
    margin-top: 40px;
}

.spec-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--coral);
    
}

.spec-img {
    height: 300px;
    width: 40%;
    box-shadow: 0 2px 8px rgba(30, 41, 59, 0.07);
}

.spec-img img {
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

.spec-card p {
    color: var(--dark);
}

/* Sección de servicios */
.container-grid {
    background: linear-gradient(to bottom, #ece9e6, #ffffff) !important;
}

.section-grid-text {
    width: 100%;
    text-align: center;
}

.services-grid {
    display: grid;
    /*grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));*/
    gap: 25px;
    width: 100%;

}

.service-card {
    overflow: hidden;
    display: flex;
    justify-content: space-between;
}

.service-img {
    width: 80%;
    width: 30%;

}

.service-img img {
    width: 500px;
    height: 400px;
    object-fit: contain;
    border-radius: 20px;
}

.service-content {
    width: 50%;
    display: flex;
    flex-direction: column;
    padding: 40px;
}

.service-content button {
    width: 50%;
    margin-top: 40px;
}

.service-content h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--coral);
}

.service-content p {
    color: #555;
    line-height: 1.6;
}

.service-btn {
    text-align: center;
    display: flex;
    width: 100% !important;
    justify-content: center;
    margin-top: 5rem;
    animation: scroll;
    animation-timeline: view();
    animation-range: entry 0 cover 50%;
}

/* Portfolio */
.portfolio {
    background: var(--navy)
}

.portfolio-item:hover img {
    transform: scale(1.1);
}
.tex-titulo{
    color: var(--yellow2);
}
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(269px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    animation: fadeInUp linear;
    animation-timeline: view();
    animation-range: entry 0;
}

.portfolio-item {
    position: relative;
    height: 300px;
    border-radius: 1.2rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(30, 41, 59, 0.07);
    cursor: pointer;
    transition: box-shadow 0.2s;
}

.portfolio-item:hover,
.portfolio-item:focus {
    box-shadow: 0 8px 24px rgba(245, 159, 11, 0.404);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.portfolio-item figcaption {
    padding: 1rem;
    font-family: var(--font-title);
    color: var(--dark);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.92);
    text-align: center;
    font-size: 1.1rem;
}

/* MOdal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(30, 41, 59, 0.92);
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90vw;
    max-height: 70vh;
    border-radius: 1rem;
    margin-bottom: 1rem;
}

.lightbox .close-lightbox {
    color: #fff;
    font-size: 2.5rem;
    position: absolute;
    top: 2rem;
    right: 2rem;
    cursor: pointer;
}

/* Testimonials */
.testimonials {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy) 100%);
    color: white !important;
    display: flex;
}

.testimonials h2 {
    color: var(--yellow2);
}

.testimonials h2:after {
    background: var(--yellow2);
}

.text-testimonio p {
    color: var(--coral) !important;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    align-items: stretch;
    /* Hace que todas las tarjetas tengan la misma altura */
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    background: linear-gradient(to bottom, #e3a44000, #c3372468);
    padding: 40px 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(235, 208, 81, 0.2);
    transition: transform 1s ease, opacity 1s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
    animation: fadeIn linear;
    animation-timeline: view();
    animation-range: entry 0;
    /* Altura mínima para consistencia */
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.8;
    position: relative;
    padding-left: 30px;
    flex-grow: 1;
}

.testimonial-text:before {
    content: "\201C";
    position: absolute;
    top: -20px;
    left: 0;
    font-size: 5rem;
    color: rgba(235, 208, 81, 0.2);
    font-family: Georgia, serif;
}

.client {
    display: flex;
    align-items: center;
    margin-top: auto;
    /* Empuja el cliente hacia abajo */
    padding-top: 20px;
    border-top: 1px solid rgba(235, 208, 81, 0.2);
}

.client-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 20px;
    object-fit: cover;
    border: 3px solid var(--yellow2);
    flex-shrink: 0;
    /* Evita que la imagen se comprima */
}

.client h4 {
    color: var(--gold);
    margin: 0 0 5px 0;
    font-size: 1.1rem;
}

.client p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.client>div {
    flex: 1;
    min-width: 0;
    /* Permite que el texto se ajuste */
}

/* Blog & Social */
.blog-social {
    background: linear-gradient(to bottom, #1A3A5F, #1a3a5f95, #dbdbdb, #eaeaea);
    color: white;
}

.blog-social h2 {
    color: var(--light);
}

.blog-social h2:after {
    background: var(--yellow2);
}

.text-blog p {
    color: #EBD051 !important;
}

.blog-social-content {
    display: flex;
    gap: 40px;
}

.blog,
.social {
    flex: 1;
}

.blog-post {
    position: relative;
    background: url("../img/grupo-de-personas-trabajando-en-un-plan-de-negocios-en-una-oficina.jpg");
    background-size: 100%;
    background-clip: border-box;
    padding: 30px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    transition: transform 1s ease-out;
    animation: fadeIn linear;
    animation-timeline: view();
    animation-range: entry 0;
}

.blog-post::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, #dbdbdbec, #eaeaeab7);
    transition: opacity 1s ease;
    z-index: 1;
}

.blog-post::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, #1A3A5F, #eaeaeab7);
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 1;
}

.blog-post:hover::before {
    opacity: 0;
}

.blog-post:hover::after {
    opacity: 1;
}

.blog-post:hover {
    transform: translateY(-5px);
}

/* Asegúrate de que el contenido esté encima de los pseudoelementos */
.blog-post>* {
    position: relative;
    z-index: 2;
}

.blog-post h3 {
    color: var(--red-wine3);
    margin-bottom: 15px;
}

.blog-post .date {
    color: var(--red-wine1);
    margin-bottom: 15px;
    display: block;
}

.blog-post .btn-outline {
    text-align: center;
}

.social-links-large {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.social-link-large {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 15px;
    text-decoration: none;
    color: white;
    transition: var(--transition);
    animation: faderigh linear;
    animation-timeline: view();
    animation-range: entry 0;
}

.social-link-large:hover {
    background: #1a3a5f70;

    .fa-facebook-f {
        color: #3b5998;
    }

    .fa-youtube {
        color: #bb0000;
    }

    .fa-linkedin-in {
        color: #0B66C3;
    }

    .fa-twitter {
        color: #1DA1F2;
    }

    .fa-instagram {
        color: #D43089;
    }

    .fa-tiktok {
        color: #000;
    }

    color: var(--red-wine2);
    transform: translateY(-5px);
}

.social-link-large i {
    font-size: 2.5rem;
    margin-right: 20px;
    color: inherit;
}

.social-link-large span {
    font-size: 1.2rem;
    font-weight: 500;
}


/*Prolider*/
.Prolider {
    background-color: #eaeaea;
    ;
}

.contenedor_prolider {
    display: flex;
    overflow: hidden;
    width: 100%;
    padding: 40px 0;

}

.contendor_img_prolider {
    width: 50%;
}

.contendor_info_prolider {
    width: 50%;
    display: flex;
    flex-direction: column;
}

.contendor_info_prolider a {
    width: 50%;
    margin: 10px 0;
    text-align: center;
}

.contendor_info_prolider p {
    color: var(--dark);
    font-size: 1.1rem;
    line-height: 1.8;
}

.contendor_img_prolider img {
    width: 100%;
}

/*Fondo de Becas*/
.scholarship-section {
    padding: 50px 0;
    text-align: center;
    background: linear-gradient(135deg, #0a224059 100%, #ffb300 10%, #0a2240cc 100%),url(../img/grupo-de-personas-trabajando-en-un-plan-de-negocios-en-una-oficina.jpg);
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
.scholarship-section h2 {
    color: var(--dorado);
}
.scholarship-section p {
    color: var(--blanco);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.marquee {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    
    padding: 20px 0;
    position: relative;
}
.marquee-content {
    display: flex;
    align-items: center;
    gap: 50px;
    animation: marquee 20s linear infinite;
    width: max-content;
}
.marquee-content img {
    height: 120px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}
.marquee-content img:hover {
    filter: brightness(1) invert(0);
    transform: scale(1.1);
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.marquee-content:hover {
    animation-play-state: paused;
}

/* Contact */
.contact {
    background: linear-gradient(to top, #1A3A5F, #1a3a5f95, #dbdbdbe4, #eaeaea), url("../img/marcial3.png");
    display: flex;
    background-position: center top;
    background-repeat: no-repeat;
    backdrop-filter: blur(10px);
}

.contact-content {
    display: flex;
    gap: 60px;
}

.contact-info {
    flex: 1;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    transition: transform 1s ease, opacity 1s ease;
    animation: fadeInUp linear;
    animation-timeline: view();
    animation-range: entry 0;
}


.contact-icon {
    font-size: 1.8rem;
    color: var(--yellow2);
    margin-right: 25px;
    margin-top: 5px;
}

.contact-form {
    flex: 1;
    background: rgba(255, 255, 255, 0.162);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 1s ease, opacity 1s ease;
    animation: faderigh linear;
    animation-timeline: view();
    animation-range: entry 0;

}

.video_marcial {
    width: 100%;
    overflow: hidden;
    height: 400px;
}

.video_marcial video {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;

}

.form-group {
    margin-bottom: 25px;

}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--navy);
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid rgba(80, 22, 14, 0.2);
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    background: rgba(235, 208, 81, 0.05);
    color: #000;
}

.form-control:focus {
    border-color: var(--yellow2);
    outline: none;
    box-shadow: 0 0 0 3px rgba(235, 208, 81, 0.2);
    background: #1a3a5f34;
}

textarea.form-control {
    min-height: 180px;
    resize: vertical;
}

/* Footer */
footer {
    background: var(--navy);
    color: #fff;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--yellow1);
    margin-bottom: 25px;
    display: block;
    font-family: 'Playfair Display', serif;
}

.footer-about p {
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.7);
}
.prolider_botton{
    margin-bottom: 20px;
}
.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--yellow1);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.2rem;
}

.social-link:hover {
    background: var(--yellow1);
    color: var(--red-wine2);
    transform: translateY(-5px);
}

/*Volver arriba*/
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    visibility: hidden;
    z-index: 99;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    animation: bounceIn 0.6s ease-out;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.3);
    }

    50% {
        opacity: 1;
        transform: translateY(-10px) scale(1.05);
    }

    70% {
        transform: translateY(0) scale(0.9);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.back-to-top:hover {
    background: var(--navy);
    transform: translateY(-5px);
}

/*///////////////////////////////////////////*/

.footer-title {
    font-size: 1.4rem;
    margin-bottom: 25px;
    position: relative;
    color: var(--yellow1);
}

.img-footer {
    width: 70%;
}

.footer-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--yellow2);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--yellow1);
    padding-left: 8px;
}

.copyright {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
}