/* Estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Roboto-Bold;
    background-image: url('../img/FondoBVF.png'); 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat; 
    background-attachment: fixed; 
}

/* Estilos del header */
.header {
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 60px;
    flex-wrap: wrap;
}

.logo-container {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.logo-container img {
    height: 50px;
    margin: 0 10px;
}



.search-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

.search-bar {
    border: 1px solid #ccc;
    padding: 10px 10px;
    border-radius: 25px;
    width: 300px;
}

.bottom-bar {
    background-color: #9d2148;
    height: 40px;
}

.bottom-bar-2 {
    background-color: #B88935;
    height: 5px;
}

.transparency-section {
  
    padding: 20px 0;
}

.transparency-banner {
    display: flex;
    width: 100%;
}

.transparency-left {
    background-color: #9d2148;
    color: white;
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.transparency-left img {
    width: 150px;
    margin-bottom: 15px;
}

.transparency-right {
    flex: 2;
}

.transparency-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.icon-grid {
    background-image: url('../img/FondoBVF.png'); 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat; 
    background-attachment: fixed;
    padding: 20px; 
    border-radius: 10px; 
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px;

}

.icon-item {
    width: 180px;
    height: 180px;
    margin: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    
    border-radius: 10px;
    color: white;
    font-size: 18px;
    padding: 15px;
    transition: transform 0.3s ease-in-out;
}

.icon-item:hover {
    transform: scale(1.3);
}

.icon-item img {
    width: 60px;
    margin-bottom: 5px;
}



@media (max-width: 1024px) {
    .icon-item {
        width: 150px;
        height: 150px;
        font-size: 16px;
    }

    .icon-item img {
        width: 50px;
    }
}

@media (max-width: 768px) {
    .icon-item {
        width: 120px;
        height: 120px;
        font-size: 14px;
        margin: 10px;
    }

    .icon-item img {
        width: 40px;
    }
}

.comite-container {
    display: flex;
    width: 100%;
    max-width: 450px;
    flex-direction: column;
    margin-left: 0; 
    margin-right: auto;
}

.comite-card {
    background-color: #E4094C;
    color: white;
    padding: 30px;
    text-align: center;
    font-family: Arial, sans-serif;
}

.ut-card {
    background-color: #D53188;
    color: white;
    padding: 30px;
    text-align: center;
    font-family: Arial, sans-serif;
}

.ip-card {
    background-color: #FCC509;
    color: white;
    padding: 30px;
    text-align: center;
    font-family: Arial, sans-serif;
}
.capacitacion-card {
    background-color: #72C8E6;
    color: white;
    padding: 30px;
    text-align: center;
    font-family: Arial, sans-serif;
}
.reconocimientos-card {
    background-color: #8F4899;
    color: white;
    padding: 30px;
    text-align: center;
    font-family: Arial, sans-serif;
}
.obligaciones-card {
    background-color: #EF8117;
    color: white;
    padding: 30px;
    text-align: center;
    font-family: Arial, sans-serif;
}

.proactiva-card {
    background-color: #266CB3;
    color: white;
    padding: 30px;
    text-align: center;
    font-family: Arial, sans-serif;
}
.DP-card {
    background-color: #047A35;
    color: white;
    padding: 30px;
    text-align: center;
    font-family: Arial, sans-serif;
}

@media (max-width: 768px) {
    .comite-container {
        align-items: center;
        margin: auto;
    }

    .comite-card, .ut-card, .ip-card, .capacitacion-card,
    .reconocimientos-card, .obligaciones-card, .proactiva-card, .DP-card {
        width: 90%; 
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .comite-card, .ut-card, .ip-card, .capacitacion-card,
    .reconocimientos-card, .obligaciones-card, .proactiva-card, .DP-card {
        width: 100%; 
        padding: 15px;
    }
}
.icon-img {
    width: 270px; 
    height: auto;
    margin-bottom: 10px;
}

h2 {
    font-size: 30px;
    font-weight: bold;
    margin: 0;
}

.comite-image {
    width: 100%;
    height: 500px;
    background-image: url('../img/comite.jpg'); 
    background-size: cover;
    background-position: center;
}

.comite-image-1 {
    width: 100%;
    height: 500px;
    background-image: url('../img/Unidad.jpg'); 
    background-size: cover;
    background-position: center;
}

.ip-image {
    width: 100%;
    height: 500px;
    background-image: url('../img/IP.jpg'); 
    background-size: cover;
    background-position: center;
}

.capacitacion-image {
    width: 100%;
    height: 500px;
    background-image: url('../img/capacitacion.jpg'); 
    background-size: cover;
    background-position: center;
}

.reconocimientos-image {
    width: 100%;
    height: 500px;
    background-image: url('../img/reconocimientos.jpg'); 
    background-size: cover;
    background-position: center;
}
.obligaciones-image {
    width: 100%;
    height: 500px;
    background-image: url('../img/obligaciones.jpg'); 
    background-position: center;
}

.proactiva-image {
    width: 100%;
    height: 500px;
    background-image: url('../img/proactiva.jpg'); 
    background-size: cover;
    background-position: center;
}

.DP-image {
    width: 100%;
    height: 500px;
    background-image: url('../img/DP.jpg'); 
    background-size: cover;
    background-position: center;
}

@media (max-width: 768px) {
    .comite-container {
        max-width: 90%;
        margin-left: auto; 
    }
    .comite-card {
        padding: 20px;
    }
    .icon-img {
        width: 150px; 
    }
    h2 {
        font-size: 25px;
    }
    .comite-image {
        height: 350px;
    }
}

.comite-grid-container {
    flex: 1; 
    min-width: 300px;
    padding: 10px;
    border-radius: 10px;
    max-width: 900px;
    margin: 20px auto; 
}


.comite-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px; 
    position: relative;
}

.comite-header {
    background-color: #9d2148;
    color: white;
    padding: 15px;
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    border-radius: 14px;
    max-width: 700px;
    margin: 0 auto;
}

.comite-description {
    background-color: #55585a;
    color: white;
    padding: 10px;
    border-radius: 14px;
    text-align: center;
    font-size: 20px;
    max-width: 500px;
    margin: 10px auto;
    cursor: pointer;
    user-select: none;
    transition: all 0.4s ease-in-out;
}
.comite-description:hover {
    background-color: #333;
    transform: translateY(-10%) scale(1.2); 
}

.comite-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
    background-color: #f1f1f1;
    color: #333;
    padding: 0 10px;
    font-size: 20px;
    border-radius: 10px;
    max-width: 500px;
    margin: 0 auto;
    
}



.comite-content.active {
    max-height: 300px; 
    padding: 10px;
}

@media (max-width: 768px) {
    .comite-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .comite-grid-container {
        width: 90%;
        max-width: none;
        text-align: center;
    }

    .comite-header {
        font-size: 28px;
    }

    .comite-description {
        font-size: 18px;
    }
}

.comite-grid {
    display: flex;
    flex-wrap: nowrap; 
    justify-content: center; 
    gap: 15px;
    margin-top: 20px;
}

.comite-item {
    background-color: #b28e5c;
    color: white;
    padding: 20px;
    text-align: center;
    border-radius: 14px;
    width: auto;
    font-size: 19px;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    min-width: 180px;
    min-height: 100px; 
    transition: all 0.4s ease-in-out;
}
.comite-item:hover {
    background-color: #9d2148;
    transform: translateY(-5%) scale(1.1); 
}
.comite-item span {
    display: block;
    background-color: #9d2148;
    margin-top: 5px;
    padding: 5px;
    border-radius: 5px;
    font-size: 14px;
}

.manual-item {
    order: 0;
    width: 180px;
    height: auto;
}

hr {
    height: 10px;
    width: 50%;
    background-color: black;
  }

@media (max-width: 1024px) {
    .comite-grid-container {
        top: 280px;
        left: 50%;
        width: 90%;
    }

    .comite-header {
        font-size: 28px;
    }

    .comite-description {
        font-size: 18px;
        max-width: 400px;
    }

    .comite-grid {
        flex-wrap: wrap;
    }

    .comite-item {
        min-width: 160px;
        min-height: 90px;
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .comite-grid-container {
        top: 250px;
        width: 95%;
        left: 50%;
    }

    .comite-header {
        font-size: 24px;
        padding: 12px;
    }

    .comite-description {
        font-size: 16px;
        padding: 8px;
        max-width: 350px;
    }

    .comite-grid {
        flex-direction: column;
        align-items: center;
    }

    .comite-item {
        width: 80%;
        min-width: 140px;
        min-height: 80px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .comite-grid-container {
        top: 220px;
        width: 100%;
        left: 50%;
    }

    .comite-header {
        font-size: 20px;
        padding: 10px;
    }

    .comite-description {
        font-size: 14px;
        padding: 6px;
        max-width: 300px;
    }

    .comite-item {
        width: 90%;
        min-width: 120px;
        min-height: 70px;
        font-size: 14px;
        padding: 15px;
    }
}






.footer {
    background: url('../img/FondoRVF.png') center/cover no-repeat; 
    color: white;
    text-align: center;
    padding: 30px 20px;
    font-family: Arial, sans-serif;
}


.footer-top img {
    height: 40px;
    margin: 5px 10px;
}
.footer-top-p img {
    height: 50px;
    margin: 5px 10px;
}


.footer-menu {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 15px 0;
}

.footer-menu a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.footer-menu a:hover {
    text-decoration: underline;
}


.footer-info {
    max-width: 700px;
    margin: auto;
    font-size: 14px;
    line-height: 1.5;
}


@media (max-width: 768px) {
    .footer {
        padding: 30px 15px;
    }

    .footer-top {
        flex-direction: column;
        align-items: center;
    }

    .footer-top-p {
        flex-direction: column;
        align-items: center;
    }

    .footer-menu {
        flex-direction: column;
        text-align: center;
    }

    .footer-menu a {
        font-size: 16px;
        margin-bottom: 5px;
    }

    .footer-info {
        font-size: 13px;
    }
}


.red { background-color: #D61A5E; }
.pink { background-color: #C6368C; }
.orange { background-color: #F4A036; }
.yellow { background-color: #E6C500; }
.green { background-color: #117A3C; }
.blue { background-color: #57B2E6; }
.dark-blue { background-color: #1D4E89; }
.purple { background-color: #7D4EA2; }

@media (max-width: 768px) {
    .transparency-banner {
        flex-direction: column;
    }
    .transparency-left, .transparency-right {
        width: 100%;
    }
}

.content-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 90%;
    padding: 0px;
}

.original-section {
    flex: 2;
    
}

.transparency-info {
    color: gray;
    width: 60%;
    padding: 20px;
    border-radius: 10px;
    text-align: lefth;
    font-size: 24px;
    font-family: Arial, sans-serif;
 
}

.transparency-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 50px;
}

.link-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #9d2148;
    color: white;
    padding: 30px;
    border-radius: 30px;
    font-size: 28px;
    cursor: pointer;
    position: relative; 
    overflow: visible; 
}
.link-item-1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #9d2148;
    color: white;
    padding: 30px;
    border-radius: 30px;
    font-size: 24px;
    cursor: pointer;
    position: relative; 
    overflow: visible; 
    transform: translateY(-15%); 
    transition: all 0.3s ease-in-out;
}

.link-item-1:hover {
    background-color: #b28e5c;
    transform: translateY(-20%) scale(1); 
}
.link-item span {
    flex: 1;
    text-align: left;
    padding-left: 20px;
}

.btn-more {
    background-color: #b28e5c;
    border: none;
    color: white;
    padding: 20px 40px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    position: absolute; 
    right: -30px; 
    top: 50%;
    transform: translateY(-15%); 
    transition: all 0.3s ease-in-out;
}

.btn-more:hover {
    background-color: #9d722d;
    transform: translateY(-50%) scale(1.2); 
}



.image-section {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 0px; 
}

.image-section img {
    width: 90%; 
    max-width: 800px; 
    height: auto;
    border-radius: 15px; 
}




.transparency-container-1 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    max-width: 600px;
}

.transparency-box-1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 450px;
    height: 230px;
    border-radius: 15px;
    color: white;
    text-align: center;
    font-weight: bold;
    padding: 15px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.transparency-box:hover {
    transform: scale(1.05);
}


.red {
    background-color: #9d2148;
}

.gold {
    background-color: #b28e5c;
}


.icon-22 img {
    width: 120px;  
    height: auto;
    margin-bottom: 0px;
}

.h3 {
    color: #b28e5c;
    text-align: center;
    font-size: 32%;
}

.transparency-text {
    font-size: 14px;  

}

.cuerpo {
    font-family: Arial, sans-serif;
   
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
.content-wrapper {
    display: flex;
    align-items: center;
}
.container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    
    padding: 80px;
    border-radius: 15px;
   
}
.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-radius: 10px;
    color: white;
    font-size: 19px;
    text-align: center;
    font-weight: bold;
}
.card:nth-child(1) { background: #a62c4b; }
.card:nth-child(2) { background: #c09a5b; }
.card:nth-child(3) { background: #7e7e7e; }
.card:nth-child(4) { background: #781d3a; }
.icon {
    font-size: 30px;
    margin-bottom: 20px;
}
.image-container {
    margin-left: -50px;
}
.image-container img {
    width: 350px;
    height: auto;
}
a {
    text-decoration: none;
}


@media (max-width: 1024px) {
    .content-container {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .transparency-info {
        width: 80%;
        font-size: 20px;
        text-align: center;
    }

    .transparency-container-1 {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .transparency-box-1 {
        width: 90%;
        height: auto;
        padding: 20px;
    }

    .container {
        grid-template-columns: 1fr;
        padding: 40px;
        gap: 20px;
    }

    .btn-more {
        right: 0;
        padding: 15px 30px;
    }
}

@media (max-width: 768px) {
    .transparency-info {
        width: 90%;
        font-size: 18px;
        text-align: center;
    }

    .link-item, .link-item-1 {
        font-size: 20px;
        padding: 20px;
    }

    .btn-more {
        padding: 12px 25px;
        font-size: 16px;
        right: -20px;
    }

    .transparency-container-1 {
        width: 100%;
    }

    .transparency-box-1 {
        width: 100%;
    }

    .container {
        padding: 20px;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .content-container {
        width: 100%;
    }

    .transparency-info {
        font-size: 16px;
        padding: 10px;
    }

    .link-item, .link-item-1 {
        font-size: 18px;
        padding: 15px;
    }

    .btn-more {
        padding: 10px 20px;
        font-size: 14px;
        right: 0;
    }

    .image-section img {
        width: 100%;
    }

    .transparency-box-1 {
        width: 100%;
        padding: 15px;
    }

    .container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        padding: 20px;
    }

    .card {
        background: #f4f4f4;
    padding: 15px;
    margin: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
    }
}
.card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

h1 {
    text-align: center;
    font-size: 24px;
}


@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }
    
    .card {
        width: 90%;
    }
    
    h1 {
        font-size: 20px;
    }
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-button {
    background: none;
    border: none;
    padding: 10px; 
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown-button img {
    width: 340px;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.dropdown-button img:hover {
    transform: scale(1.2);
}

.dropdown-content {
    display: none;
    position: absolute; 
    top: 0; 
    left: 100%; 
    background-color: #f9f9f9;
    min-width: 360px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border: 1px solid #ccc;
}

.dropdown-content > a {
    color: black;
    padding: 15px 20px; 
    text-decoration: none;
    display: block;
}

.dropdown-content > a:hover {
    background-color: #ddd;
}


.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > a {
    padding-right: 40px; 
    position: relative;
}

.dropdown-submenu > a::after {
    content: "\25B8";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
}

.submenu-content {
    display: none;
    position: absolute; 
    left: 100%; 
    top: 0;
    background-color: #f9f9f9;
    min-width: 410px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 2;
    border: 1px solid #ccc;
}

.submenu-content a {
    color: black;
    padding: 12px 16px; 
    text-decoration: none;
    display: block;
    font-size: 0.9em; 
}

.submenu-content a:hover {
    background-color: #ddd;
}



.dropdown.open .dropdown-content {
    display: block;
}

.dropdown-submenu.open-submenu .submenu-content {
    display: block;
}


@media screen and (max-width: 768px) {
    .dropdown {
        width: 100%;
    }

    .dropdown-button {
        display: block;
        width: 100%;
        padding: 15px;
        text-align: left;
        display: flex; 
        align-items: center;
    }

    .dropdown-button img {
        width: 120px;
        margin-right: 10px;
    }

    .dropdown-content {
        display: none;
        position: static;
        width: 100%;
        border: none;
        box-shadow: none;
    }

    .dropdown-submenu {
        position: relative; 
    }

    .dropdown-submenu > a {
        display: block; 
        padding-right: 40px; 
    }

    .dropdown-submenu > a::after {
        content: "+"; 
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 16px;
    }

    .dropdown-submenu.open-submenu > a::after {
        content: "-"; 
    }

    .submenu-content {
        display: none;
        position: static;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        border-left: 1px solid #ccc;
        box-sizing: border-box;
        margin-top: 10px;
        min-width: 200px; 
    }

    .submenu-content a {
        display: block;
        padding: 15px 20px;
        font-size: 0.9em;
        text-align: center;
    }

    .dropdown.open .dropdown-content {
        display: block;
    }

    .dropdown-submenu.open-submenu .submenu-content {
        display: block;
    }

}

.imagen-centrada {
    width: 80%;
    max-width: 900px;
    margin: 20px auto;
   
    text-align: center;
  }

  .imagen-centrada img { 
    max-width: 100%; 
    height: auto;
    display: inline-block; 
  }
  .imagen-centrada2 {
    width: 80%;
    max-width: 400px;
    margin: 20px auto;
   
    text-align: center;
    transition: transform 0.4s ease;
}

.imagen-centrada2:hover {
    transform: scale(1.1);
}

  .imagen-centrada2 img { 
    max-width: 100%; 
    height: auto;
    display: inline-block; 
  }
  

  .imagen-centrada3 img { 
    max-width: 80%; 
    height: auto;
    display: inline-block; 
  }

  .file-item {
    margin-bottom: 15px; 
    padding-bottom: 5px; 
}
.file-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}
.file-item a {
    display: flex; 
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #333;
}
.file-item img {
    margin-bottom: 8px; 
    width: 48px; 
    height: auto;
}
.data-table th, .data-table td { 
    border: 1px solid #e0e0e0; 
    padding: 15px; text-align: center; vertical-align: middle; 
    white-space: normal; font-size: 0.95em; 

}

.data-table th {
    background-color: #f8f8f8;
    font-weight: bold;
    color: #333;
    text-transform: uppercase;
    font-size: 0.9em;
}
.fraction-intro-text {
    background-color: #f0f0f0; 
    padding: 15px 20px;
    margin-bottom: 20px;
    border-left: 5px solid #b71c1c; 
    border-radius: 4px;
    line-height: 1.8;
    font-size: 1.05em;
    color: #555;
    text-align: justify;
}

@media (max-width: 768px) {
    .file-item {
        margin-bottom: 10px;
        padding-bottom: 5px;
    }
    .file-item img {
        width: 35px; 
        height: auto;
    }
    .file-item a {
        font-size: 0.85em;
    }
    .data-table th, .data-table td {
        padding: 10px; 
    }
    .fraction-intro-text {
        padding: 10px 15px;
        margin-bottom: 15px;
        font-size: 0.95em;
    }
}

#scroll-to-top {
    display: none; 
    position: fixed; 
    bottom: 20px; 
    right: 20px; 
    z-index: 99; 
    border: none; 
    outline: none; 
    background-color: #b28e5c; 
    color: white; 
    cursor: pointer; 
    padding: 15px; 
    border-radius: 10px; 
    font-size: 18px; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease; 
}

#scroll-to-top:hover {
    background-color: #b28e5c; 
}