
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: #2c3e50;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            min-height: 100vh;
             background-image: url('../recursos/patron.png');
        }

        .container {
         width: 100%;
            margin: 0 auto;
           
        }

        /* Banner Section */
        .banner {
            background-image: url('../recursos/icalp/PRESIDENTE2.jpeg');
            background-size: cover;
            background-position: center;    
            height: 300px;
            display: flex;
            align-items: center;
            justify-content:right;
        }
        .banner::before{
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 300px;
            background: rgba(0, 0, 0, 0.4); 
            z-index: 1;
        }
        .banner h1 {
            position: relative;
            color: white;
            font-size: 2.5em;
            font-weight: bold;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.602);
            margin-right: 50px;
          
            padding: 15px 25px;
            border-radius: 10px;
            font-family: oswald, sans-serif;
            padding-top: 150px;
            z-index: 2 ;
        }
    .banner h1::before {
    content: '';
    position: absolute;
    width: 5px;
    background: #f1c40f;
    top: 150px;      
    bottom: 0;
    left: -20px;     
    z-index: 2;     
    height: 30%;   
}
.banner h1 {
    
    opacity: 0;
    transform: translateX(100px); 
    animation: entradaDerecha 1s ease-out forwards;
}

@keyframes entradaDerecha {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
   /* Banner Sectio0n FIN */ 


     /* Content Section */
.content-section {
    max-width: 100%;
    background: radial-gradient(ellipse at center, #1b1a2e 0%, #1c1c20 100%);

    padding: 0 ;
}
.recuadro{
    padding: 40px 150px;
   

}

.profile-section {
    display: flex;
    flex-wrap: wrap;
 
    margin-bottom: 10px;
    align-items: center;
    background: rgba(255, 255, 255, 0.887);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
     max-width: 1200px;
    
    padding: 10px 20px;
}

.profile-text {
    flex: 1;
    min-width: 300px;
}

.intro-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
}

.profile-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8f9fa;
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 0.95rem;
    color: #2c3e50;
    border-left: 3px solid #f1c40f;
}

.highlight-item i {
    color: #f1c40f;
    font-size: 1.2rem;
}

.profile-image {
    flex: 0 0 350px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    position: relative;
    
}

.profile-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.profile-image:hover img {
    transform: scale(1.03);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(44, 62, 80, 0.8);
    color: white;
    padding: 10px;
    text-align: center;
    font-size: 0.9rem;
}

/* Gallery Section */
.gallery-section {
       display: flex;
    gap: 80px; 
    width: 100%;
     border-radius: 100px 100px 0px 0px;
    background-color: white;
    padding: 80px;
    align-items: center;
    
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.gallery-item img {
    width: 300px;
    height: 150px;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(44, 62, 80, 0.8);
    color: white;
    padding: 12px;
    font-size: 0.95rem;
    text-align: center;
}

.gallery-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.video-column {
    
    width: 80%;
    height: 100%;
}
.gallery-section {
    display: flex;
    gap: 50px;
    width: 100%;
    background-color: white;
    padding: 80px 200px;
    align-items: center; 

}

.video-column {
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-column iframe {
    width: 100%;
    height:auto;
   
    border-radius: 8px;
}

.gallery-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 80%;
}

.gallery-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}
/* Estilos generales de la galería */
.gallery-item {
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

/* --- POPUP --- */
.popup {
    display: none; 
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.5);
}

/* Botón cerrar */
.popup-close {
    position: absolute;
    top: 20px; 
    right: 30px;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
}





/* Para el iframe del video */
iframe {
    min-height: 400px; 
    border-radius: 8px;
}
/* Vision Section */
.vision-section {
       background: linear-gradient(to bottom, #100f0f, #15193b);
    color: white;
    padding: 50px 150px;
   

    position: relative;
    overflow: hidden;
   
}

.vision-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.vision-content h2 {
    
     font-size: 2.8rem;
    color: #d4af37;
    margin-bottom: 20px;
    flex: 1;
    min-width: 300px;
    text-transform: uppercase;
}

.vision-content p {
    flex: 1;
    min-width: 300px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.vision-image {
   
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    transition: transform 0.5s ease;
    height: 300px;
    

}

.vision-image:hover {
    transform: scale(1.02);
}

/* Headings */
h2 {
    color: #2c3e50;
    font-size: 2.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    font-weight: 700;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: #f1c40f;
    border-radius: 2px;
}


.action-section {
   background: white;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 60px;
    padding: 80px 150px;
}

.action-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.action-item {
    background-image: url(../recursos/patron.png);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #f1c40f;
    text-align: center;
}

.action-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.action-icon {
    font-size: 2.5rem;
    color: #f1c40f;
    margin-bottom: 20px;
}

.action-item h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.action-item p {
    color: #666;
    font-size: 1rem;
}


.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 60px 0;
    text-align: center;
    padding: 20px 80px;
}

.stat-item {
    background: white;
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.stat-label {
    color: #666;
    font-size: 1rem;
}


.message-section {
      background: linear-gradient(to bottom, #100f0f, #383333);
    color: white;
    padding: 60px 50px;
    border-radius: 200px 200px 0px 0px;
 
    position: relative;
    overflow: hidden;
}

.message-section h2 {
    color: white;
    text-align: center;
}

.message-section h2::after {
    left: 50%;
    transform: translateX(-50%);
}

blockquote {
    font-style: italic;
    font-size: 1.3rem;
    line-height: 1.8;
    padding: 30px;
    margin: 30px 0;
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 30px auto;
}

blockquote::before, blockquote::after {
    content: '"';
    font-size: 4rem;
    color: rgba(241, 196, 15, 0.2);
    position: absolute;
}

blockquote::before {
    top: 0;
    left: 0;
}

blockquote::after {
    bottom: -30px;
    right: 0;
}

.signature {
    margin-top: 40px;
    text-align: center;
}

.signature-image {
    height: 60px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.signature-text {
    font-weight: 700;
    font-style: normal;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

/* RESPONSIVEEEEEEEEEEEEEEEEE*/
@media (max-width: 768px) {
    .banner h1 {
        font-size: 2.5rem;
    }
    
    .banner-subtitle {
        font-size: 1.2rem;
    }
    
    .profile-section, .vision-content {
        flex-direction: column;
    }
    
    .profile-image {
        flex: 0 0 100%;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .vision-image {
        margin-top: 30px;
    }
    
    .action-items {
        grid-template-columns: 1fr;
    }
    
    .stats-section {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .banner h1 {
        font-size: 2rem;
    }
    
    .stats-section {
        grid-template-columns: 1fr;
    }
    
    blockquote {
        font-size: 1.1rem;
        padding: 20px;
    }
}



/* Responsive */
@media (max-width: 768px) {
     /* Banner responsive */
    .banner {
        height: 250px;
        justify-content: center;
        
    }
    
    .banner::before {
        height: 250px;
    }
    
    .banner h1 {
        font-size: 2em;
        margin-right: 0;
        text-align: center;
        padding: 10px 20px;
        padding-top: 120px;
    }
    
    .banner h1::before {
        top: 120px;
        left: -15px;
        width: 4px;
    }
    
    /* Header responsive */
    .header {
        padding: 15px 30px;
    }
    
    .tituloo h1 {
        font-size: 2em;
    }
    
    .header .subtitle {
        font-size: 1.1em;
        text-align: center;
    }
    
    /*MAIN */
   
    
  

}

/* Móviles (480px y menos) */
@media (max-width: 480px) {
    /* Banner móvil */
    .banner {
        height: 200px;
    }
    
    .banner::before {
        height: 200px;
    }
    
    .banner h1 {
        font-size: 1.6em;
        padding: 10px 15px;
        padding-top: 100px;
    }
    
    .banner h1::before {
        top: 100px;
        left: -10px;
        width: 3px;
    }
    
    /* Header móvil */
    .header {
        padding: 15px 20px;
    }
    
    .tituloo h1 {
        font-size: 1.8em;
    }
    
    .header .subtitle {
        font-size: 1em;
    }
   
    
 
}
/* Móviles muy pequeños (360px y menos) */
@media (max-width: 360px) {
    .banner h1 {
        font-size: 1.4em;
        padding: 8px 12px;
        padding-top: 90px;
    }
    
    .banner h1::before {
        top: 90px;
    }
    
    .tituloo h1 {
        font-size: 1.6em;
    }

   
    
}

/* ===========================================
   RESPONSIVE CSS - MEDIA QUERIES
   =========================================== */

/* Tablets grandes y pantallas medianas (hasta 1200px) */
@media (max-width: 1200px) {
    .recuadro {
        padding: 40px 80px;
    }
    
    .gallery-section {
        padding: 80px 120px;
        gap: 40px;
    }
    
    .vision-section {
        padding: 50px 80px;
    }
    
    .action-section {
        padding: 80px 80px;
    }
    .gallery-section{
        border-radius: 0;
    }
 
}

/* Tablets (hasta 992px) */
@media (max-width: 992px) {
    .recuadro {
        padding: 30px 50px;
    }
    
    .profile-section {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    
    .profile-image {
        flex: 0 0 auto;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .gallery-section {
        flex-direction: column;
        padding: 60px 50px;
        gap: 40px;
    }
    
    .video-column {
        width: 100%;
        order: -1;
    }
    
    .gallery-column {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .gallery-item {
        flex: 0 0 calc(50% - 15px);
        max-width: 250px;
    }
    
    .vision-section {
        padding: 40px 50px;
    }
    
    .vision-content {
        flex-direction: column;
        text-align: center;
    }
    
    .vision-content h2 {
        font-size: 2.4rem;
    }
    
    .action-section {
        padding: 60px 50px;
    }
    
    .action-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .stats-section {
        padding: 20px 40px;
        grid-template-columns: repeat(2, 1fr);
    }
     .profile-highlights{
        margin-bottom: 30px;
    }
     .gallery-section{
        border-radius: 0;
    }
  
}

/* Tablets pequeñas (hasta 768px) */
@media (max-width: 768px) {
    .recuadro {
        padding: 20px 30px;
    }
    
    .profile-section {
        padding: 25px 20px;
    }
    
    .profile-highlights {
        justify-content: center;
        gap: 15px;
    }
    
    .highlight-item {
        font-size: 0.9rem;
        padding: 10px 15px;
    }
    
    .gallery-section {
        padding: 40px 30px;
    }
    
    .gallery-column {
        flex-direction: column;
    }
    
    .gallery-item {
        flex: 1;
        max-width: 100%;
    }
    
    .gallery-item img {
        height: 200px;
    }
    
    .video-column iframe {
        min-height: 250px;
    }
    
    .vision-section {
        padding: 30px 30px;
    }
    
    .vision-content h2 {
        font-size: 2rem;
    }
    
    .vision-content p {
        font-size: 1rem;
    }
    
    .action-section {
        padding: 40px 30px;
    }
    
    .action-items {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .action-item {
        padding: 25px 20px;
    }
    
    .stats-section {
        padding: 20px 30px;
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .message-section {
        padding: 40px 30px;
    }
    
    blockquote {
        font-size: 1.1rem;
        padding: 20px;
    }
    
   
    
    h2 {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .intro-text {
        font-size: 1rem;
        text-align: justify;
    }
     .profile-highlights{
        margin-bottom: 30px;
    }
     .gallery-section{
        border-radius: 0;
    }
}

/* Móviles grandes (hasta 576px) */
@media (max-width: 576px) {
    .recuadro {
        padding: 15px 20px;
    }
    
    .profile-section {
        padding: 20px 15px;
        margin-bottom: 20px;
    }
    
    .profile-image {
        max-width: 280px;
    }
    
    .profile-highlights {
        flex-direction: column;
        align-items: center;
    }
    
    .highlight-item {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .gallery-section {
        padding: 30px 20px;
        gap: 30px;
    }
    
    .gallery-item img {
        height: 180px;
    }
    
    .video-column iframe {
        min-height: 200px;
    }
    
    .vision-section {
        padding: 25px 20px;
    }
    
    .vision-content h2 {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
    
    .vision-content p {
        font-size: 0.95rem;
    }
    
    .action-section {
        padding: 30px 20px;
    }
    
    .action-item {
        padding: 20px 15px;
    }
    
    .action-icon {
        font-size: 2rem;
    }
    
    .action-item h3 {
        font-size: 1.2rem;
    }
    
    .stats-section {
        padding: 15px 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .message-section {
        padding: 30px 20px;
        border-radius: 100px 100px 0px 0px;
    }
    
    blockquote {
        font-size: 1rem;
        padding: 15px;
        margin: 20px 0;
    }
    
    blockquote::before, blockquote::after {
        font-size: 3rem;
    }
    
    .signature-text {
        font-size: 1rem;
    }
    
   
    
    h2 {
        font-size: 1.6rem;
    }
    
    h2::after {
        width: 60px;
        height: 3px;
    }
     .profile-highlights{
        margin-bottom: 30px;
    }
     .gallery-section{
        border-radius: 0;
    }
}

/* Móviles pequeños (hasta 400px) */
@media (max-width: 400px) {
    .recuadro {
        padding: 10px 15px;
    }
    
    .profile-section {
        padding: 15px 10px;
    }
    
    .profile-image {
        max-width: 250px;
    }
    
    .gallery-section {
        padding: 25px 15px;
    }
    
    .video-column iframe {
        min-height: 180px;
    }
    
    .vision-section {
        padding: 20px 15px;
    }
    
    .action-section {
        padding: 25px 15px;
    }
    
    .stats-section {
        padding: 15px;
    }
    
    .message-section {
        padding: 25px 15px;
         border-radius: 100px 100px 0px 0px;
    }
    
    blockquote {
        font-size: 0.95rem;
        padding: 12px;
    }
    
  
    
    h2 {
        font-size: 1.4rem;
    }
    
    .popup img {
        max-width: 95%;
        max-height: 80%;
    }
    
    .popup-close {
        top: 15px;
        right: 20px;
        font-size: 1.5rem;
    }
    .profile-highlights{
        margin-bottom: 30px;
    }
     .gallery-section{
        border-radius: 0;
    }
}

/* Ajustes específicos para la orientación landscape en móviles */
@media (max-height: 500px) and (orientation: landscape) {
    .banner {
        height: 150px;
    }
    
    .banner h1 {
        font-size: 1.4rem;
        padding-top: 50px;
    }
    
    .popup img {
        max-height: 85%;
    }
     .profile-highlights{
        margin-bottom: 30px;
    }
     .gallery-section{
        border-radius: 0;
    }
}

/* Ajustes para pantallas muy anchas */
@media (min-width: 1600px) {
    .recuadro {
        padding: 40px 200px;
    }
    
    .gallery-section {
        padding: 80px 250px;
    }
    
    .vision-section {
        padding: 50px 200px;
    }
    
    .action-section {
        padding: 80px 200px;
    }
    
    .stats-section {
        padding: 20px 150px;
    }
    
    .message-section {
        padding: 60px 100px;
        border-radius: 100px 100px 0px 0px;
    }
     .profile-highlights{
        margin-bottom: 30px;
    }
     .gallery-section{
        border-radius: 0;
    }
}