
        * {
            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/maestrias.png');
            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.5);
            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 */ 
    .header {
            padding: 15px 60px;
          
            position: relative;
            overflow: hidden;
            display: flex;
            gap: 6px;
            flex-direction: column;
             background-color: rgba(0, 0, 0, 0.885);

        }
            .datos1{
        
            justify-content: left;
        }
        
        .header .date {
            font-size: 0.95em;
            opacity: 0.8;
            margin-top: 5px;
            position: relative;
            z-index: 1;
            color: #f8f9fa;
        }

/* Estilos para la sección de seminarios */
.seminarios-section {
    padding: 2rem 1rem;
    margin: 2rem auto;
    max-width: 1200px;
}

.seminarios-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
    font-size: 2rem;
    font-weight: 700;
}

.seminarios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 0 1rem;
}

/* Estilo de cada card */
.seminario-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    cursor: pointer;
     width:300px;
}

.seminario-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

/* Contenedor de la imagen */
.card-image-container {
    position: relative;
    height: 300px;
    width:300px;
    overflow: hidden;
}

.card-image {
    width: 300px;
    height: 300px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.seminario-card:hover .card-image {
    transform: scale(1.1);
}

/* Overlay con gradiente */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(232, 208, 121, 0.8), rgba(215, 115, 9, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.seminario-card:hover .card-overlay {
    opacity: 1;
}

.overlay-text {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: transform 0.3s ease 0.1s;
}

.seminario-card:hover .overlay-text {
    transform: translateY(0);
}

/* Contenido de la card */
.card-content {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #24468a;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.card-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.card-duration, .card-level {
    background: linear-gradient(135deg, #172e5d 0%, #5c69cc 100%);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
}
.card-meta p{
    color: #24468a;
}

/* Botón de acción */
.card-button {
    font-family: 'Open Sans', sans-serif;
 display: inline-block;

 border: 3px #24468a solid;
 cursor: pointer;
 position: relative;
 background-color: transparent;
 text-decoration: none;
 overflow: hidden;
 z-index: 1;

   padding: 6px 16px;
    border-radius: 4px;
  color: #24468a ;
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
     text-align: center;
     width: 100%;
}

.card-button::before {
 content: "";
 position: absolute;
 left: 0;
 top: 0;
 width: 100%;
 height: 100%;
 background-color:#24468a ;
 transform: translateX(-100%);
 transition: all .3s;
 z-index: -1;
}
.card-button:hover {
 color: #ffffff;
}   
.card-button:hover::before {
 transform: translateX(0);
 
}

.seminario-card:hover::before {
    left: 100%;
}

/* Responsivo */
@media (max-width: 1024px) {
    .seminarios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .seminarios-grid {
        grid-template-columns: 1fr;
    }
    
    .seminario-card {
        margin: 0 10px;
    }
    
    .card-image-container {
        height: 200px;
    }
}

/* Animaciones de entrada */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.seminario-card {
    animation: slideInUp 0.6s ease forwards;
}

.seminario-card:nth-child(2) { animation-delay: 0.1s; }
.seminario-card:nth-child(3) { animation-delay: 0.2s; }
.card-image-container {
    cursor: pointer;
}


/* 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 */
    /* Main content colegiarte */
    .colegiarte-content {
        padding: 20px 30px;
    }
    
    /* Intro section */
    .intro-section {
        padding: 20px 15px;
        margin-bottom: 30px;
    }
    
    .intro-text {
        font-size: 1.1em;
        line-height: 1.6;
    }
    
    /* Benefits section */
    .benefits-section {
        gap: 20px;
        padding: 0 15px;
    }
    
    .benefit-card {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
        gap: 15px;
    }
    
    .benefit-number {
        width: 50px;
        height: 50px;
        font-size: 1.3em;
        margin: 0 auto;
    }
    
    .benefit-content h3 {
        font-size: 1.2em;
        margin-bottom: 10px;
    }
    
    .benefit-content p {
        font-size: 1em;
        line-height: 1.5;
    }
    
    /* Conclusion section */
    .conclusion-section {
        padding: 30px 20px;
        text-align: center;
    }
    
    .conclusion-text {
        font-size: 1.1em;
        margin-bottom: 25px;
        line-height: 1.6;
    }
    
    .cta-button {
        font-size: 1em;
        padding: 12px 25px;
        width: auto;
        max-width: 300px;
    }
  .benefit-content h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

}

/* 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;
    }
     /* Main content colegiarte móvil */
    .colegiarte-content {
        padding: 15px 20px;
    }
    
    /* Intro section móvil */
    .intro-section {
        padding: 15px 10px;
        margin-bottom: 25px;
    }
    
    .intro-text {
        font-size: 1em;
        line-height: 1.5;
    }
    
    /* Benefits section móvil */
    .benefits-section {
        gap: 15px;
        padding: 0 10px;
    }
    
    .benefit-card {
        padding: 15px 12px;
        gap: 12px;
        border-radius: 8px;
    }
    
    .benefit-number {
        width: 45px;
        height: 45px;
        font-size: 1.2em;
    }
    
    .benefit-content h3 {
        font-size: 1.1em;
        margin-bottom: 8px;
    }
    
    .benefit-content p {
        font-size: 0.95em;
        line-height: 1.4;
    }
    
    /* Conclusion section móvil */
    .conclusion-section {
        padding: 25px 15px;
    }
    
    .conclusion-text {
        font-size: 1em;
        margin-bottom: 20px;
        line-height: 1.5;
    }
    
    .cta-button {
        font-size: 0.95em;
        padding: 10px 20px;
        width: 100%;
        max-width: 280px;
    }
    
    /* Date section móvil */
    .header .date {
        font-size: 0.85em;
        text-align: center;
    }
     .benefit-content h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}
/* 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;
    }
     /* Main content muy pequeño */
    .colegiarte-content {
        padding: 12px 15px;
    }
    
    /* Intro section muy pequeño */
    .intro-section {
        padding: 12px 8px;
        margin-bottom: 20px;
    }
    
    .intro-text {
        font-size: 0.95em;
        line-height: 1.4;
    }
    
    /* Benefits section muy pequeño */
    .benefits-section {
        gap: 12px;
        padding: 0 8px;
    }
    
    .benefit-card {
        padding: 12px 10px;
        gap: 10px;
    }
    
    .benefit-number {
        width: 40px;
        height: 40px;
        font-size: 1.1em;
    }
    
    .benefit-content h3 {
        font-size: 1em;
        margin-bottom: 6px;
    }
    
    .benefit-content p {
        font-size: 0.9em;
        line-height: 1.3;
    }
    
    /* Conclusion section muy pequeño */
    .conclusion-section {
        padding: 20px 12px;
    }
    
    .conclusion-text {
        font-size: 0.95em;
        margin-bottom: 18px;
        line-height: 1.4;
    }
    
    .cta-button {
        font-size: 0.9em;
        padding: 9px 18px;
        width: 100%;
        max-width: 260px;
    }
    
    /* Date section muy pequeño */
    .header .date {
        font-size: 0.8em;
        padding: 0 5px;
    }
    .benefit-content h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

