* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
:root {
    --primary-color: #005a9c;
    --secondary-color: #00a8e8;
    --light-gray: #f4f4f4;
    --dark-gray: #333;
    --white: #fff;
}

html {
    overflow-y: scroll;
}

:root {
    --primary-color: #005a9c;
    --secondary-color: #00a8e8;
    --light-gray: #f4f4f4;
    --dark-gray: #333;
    --white: #fff;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    color: var(--dark-gray);
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.nav-container {
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
   padding: 0 2rem;
}

.container{
    max-width: 100%;
    margin: 0 340px;
 
    align-self: center;
    overflow: hidden;
    padding: 0 2rem;
}

@media (max-width: 1200px) {
    .container {
        margin: 0 0;
    }
}

@media (max-width: 992px) {
    .container {
        margin: 0 0;
    }
}

/* Header */
.main-header {
    background: var(--white);
    padding: 1.6rem 0;
    width: 100%;
    /*border-bottom: 1px solid #ddd; */
    position: sticky;
    top: 0;

   
}

.hero {
    position: relative;
    height: 90vh; /* Adjust as needed */
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    background: transparent; /* Make header background transparent */

    align-items: center;
    justify-content: center;
}

.home .main-header {
    position: absolute;
    width: 100%;
  
    background: transparent; /* Make header background transparent */
 
}

.report-item:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.hero-content {
    padding-top: 100px;
    text-align: center;
    z-index: 1;
    font-size: 2rem;
    mix-blend-mode: difference;
}

.main-nav a {
    color: var(--primary-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    font-weight: 600;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--secondary-color);
    background-color: var(--light-gray);
    border-radius: 5px;
}

.logo{
    text-decoration: none;
}

.main-header .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

.main-header .logo p {
    margin: 0;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.home .main-header {
    position: relative;
    width: 100%;
  
    background: transparent; /* Make header background transparent */
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.home .main-header .logo p,
.home .main-nav a {
    color: var(--white); /* Change text color to be visible on the slider */

}
.main-nav {
    justify-content: center;
}

.main-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
}

.main-nav a {
    color: var(--dark-gray);
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    font-weight: 600;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--secondary-color);
    mix-blend-mode: hard-light;
    
    border-radius: 5px;
}


.main-image {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%; /* Para asegurar que la imagen sea responsiva */
    height: auto; /* Para mantener la proporción de la imagen */
    margin-top: 2rem; /* Espacio arriba de la imagen */
    margin-bottom: 2rem; /* Espacio debajo de la imagen */
    border-radius: 8px; /* Bordes redondeados como en las secciones de contenido */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* Sombra sutil como en los reportes */
}

/* Main Content */
main {
    padding: 2rem 0;
    flex: 1;
}

.page main {
    padding-top: 80px;
}

.page-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    border-bottom: 3px solid var(--secondary-color);
    padding-bottom: 0.5rem;
}

.content-section {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

/* Accountability Page */
.report-list {
    list-style: none;
    margin-top: 1rem;
    padding: 0;
}

.report-item {
    background: var(--white);
    border: 1px solid #ddd;
    margin-bottom: 1rem;
    padding: 1.5rem;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: box-shadow 0.3s ease;
}
.report-actions {
    display: flex;
    gap: 1rem; /* Espacio entre los botones */
}

.report-item .view-link {
    background-color: var(--white);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.report-item:hover {
    box-shadow: 0 44px 15px rgba(0,0,0,0.1);
}

.report-item .year {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.report-item .download-link {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.report-item .download-link:hover {
    background-color: var(--primary-color);
}

.report-item .view-link:hover {
    background-color: var(--light-gray);
    color: var(--secondary-color);
}

/* Footer */
.main-footer {
    background: var(--dark-gray);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
}

.menu-toggle {
    display: none;
}

/* --- Responsive Styles --- */
@media (max-width: 768px) {
    .main-header .nav-container {
        flex-wrap: wrap;
    }
    .menu-toggle {
         display: flex;
         justify-content: center;
    }   

    .menu-toggle i {
        font-size: 1.5rem;
        color: var(--primary-color);
        
    }

    .nav-wrapper {
        order: 3;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease-in-out;
    }

    .nav-wrapper.is-open {
        max-height: 500px; /* Adjust as needed */
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }

    /* Responsive styles for Accountability Page */
    .report-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .report-actions {
        flex-direction: column;
        width: 100%;
    }

    .report-item .view-link, .report-item .download-link {
        text-align: center;
    }
}


.hero-title {
    font-size: 3rem;
    color: var(--white);
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Hero and Slider Styles */
.hero {
    position: relative;
    height: 90vh; /* Adjust as needed */
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    background: transparent; /* Make header background transparent */
    align-items: center;
}

.home .main-header {
    position: absolute;
    width: 100%;
    background: transparent; /* Make header background transparent */
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slider {
    display: flex;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    animation: slide 9s infinite;
    opacity: 0;
}

.slide:nth-child(1) {
    animation-delay: 0s;
}

.slide:nth-child(2) {
    animation-delay: 3s;
}

.slide:nth-child(3) {
    animation-delay: 6s;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the slide area */
    display: block;
}

@keyframes slide {
    0% { opacity: 0; }
    10% { opacity: 1; }
    33% { opacity: 1; }
    43% { opacity: 0; }
    100% { opacity: 0; }
}
