/* Main CSS for Ecuadorian Book Repository Website 
   Colors:
   - Main Background: Deep dark blue (#0D1B2A)
   - Gold Details: Metallic gold (#C4A349) with variations like lighter gold (#E0C170)
   - Lines and Glow Details: Light gold (#D8B768)
   - Main Text: Pure white (#FFFFFF)
   - Graphical Elements: Beige and light brown tones (#E6D8B3, #BFA982)
   
   Typography:
   - Titles/Classic elements: Cinzel (serif)
   - Modern elements: Montserrat (sans-serif)
*/

/* ============= GENERAL STYLES ============= */
/* Hide scrollbar */
::-webkit-scrollbar {
    display: none;
}

:root {
    --dark-blue: #0D1B2A;
    --metallic-gold: #C4A349;
    --light-gold: #E0C170;
    --glow-gold: #D8B768;
    --white: #FFFFFF;
    --beige: #E6D8B3;
    --light-brown: #BFA982;
    --text-shadow-gold: 0 0 10px rgba(216, 183, 104, 0.5);
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--white);
    background-color: var(--dark-blue);
    line-height: 1.6;
    -ms-overflow-style: none; 
    scrollbar-width: none; 
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.titulo-elegante {
    font-family: 'Cinzel', serif;
    font-weight: 600;
}

.titulo-moderno {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
}


a {
    color: var(--light-gold);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--glow-gold);
    text-shadow: var(--text-shadow-gold);
}

.btn-gold {
    background-color: var(--metallic-gold);
    color: var(--white);
    border: none;
    padding: 10px 25px;
    border-radius: 3px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background-color: var(--light-gold);
    color: var(--dark-blue);
    box-shadow: 0 0 15px rgba(216, 183, 104, 0.7);
}

.section-title {
    position: relative;
    margin-bottom: 3rem;
    text-align: center;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--dark-blue), var(--metallic-gold), var(--dark-blue));
    margin: 15px auto 0;
}

.float-whatsapp {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 72px;
    right: 20px;
    background-color: var(--metallic-gold);
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
}

.float-whatsapp:hover {
    background-color: var(--beige);
    color: var(--metallic-gold);
}
/* ============= DOCUMENT DETAIL STYLES ============= */
.document-detail {
    padding: 50px 0;
}

.document-image {
    text-align: center;
    margin-bottom: 30px;
}

.document-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 3px solid var(--metallic-gold);
}

.document-category {
    display: inline-block;
    background-color: var(--metallic-gold);
    color: var(--dark-blue);
    padding: 5px 15px;
    border-radius: 3px;
    margin-bottom: 15px;
    font-weight: 500;
}

.document-meta {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.document-meta-item {
    margin-right: 20px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.document-meta-item i {
    color: var(--metallic-gold);
    margin-right: 10px;
}

.document-description {
    margin-bottom: 30px;
}

.document-description h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--white);
}

@media (max-width: 768px) {
    .document-meta {
        flex-direction: column;
    }
    
    .document-meta-item {
        margin-right: 0;
    }
}
/* ============= HEADER STYLES ============= */
.site-header {
    background-color: var(--dark-blue);
    border-bottom: 1px solid var(--metallic-gold);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.athena-logo {
    border-radius: 30px;
    box-shadow: 0 0 10px rgba(196, 163, 73, 0.5);
    transition: all 0.3s ease;
    max-height: 100px;
    width: auto;
    display: block;
}

.athena-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(196, 163, 73, 0.7);
}

.main-logo-left {
    padding: 5px 0;
    width: 100%;
    height: auto;
}

.nav-menu {
    display: flex;
    justify-content: space-between;
    margin-right: 20px;
}

.header-controls {
    padding-right: 15px;
}

.search-icon a {
    font-size: 1.2rem;
    color: var(--metallic-gold);
    transition: all 0.3s ease;
}

.search-icon a:hover {
    color: var(--light-gold);
    transform: scale(1.1);
}

.top-bar {
    background-color: rgba(196, 163, 73, 0.15);
    padding: 8px 0;
    font-size: 14px;
}


.top-bar a {
    color: var(--light-gold);
    margin-right: 20px;
}

.top-bar a:hover {
    color: var(--white);
}

.social-links a {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    margin-left: 10px;
    border-radius: 50%;
    background-color: rgba(196, 163, 73, 0.2);
    color: var(--light-gold);
}

.social-links a:hover {
    background-color: var(--metallic-gold);
    color: var(--white);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .top-bar .d-flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-info a {
        margin-right: 0;
        margin-bottom: 10px;
        display: list-item;
    }
    .social-links a {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .social-links {
        margin-top: 10px;
    }
}

.main-header {
    padding: 20px 0;
}

.logo a {
    display: inline-block;
}

.logo h1 {
    font-size: 28px;
    margin: 0;
    color: var(--white);
    text-shadow: var(--text-shadow-gold);
}

@media (max-width: 576px) {
    .logo h1 {
        font-size: 20px;
        text-align: center;
    }
}

.logo .titulo-moderno {
    color: var(--metallic-gold);
}

.logo .titulo-moderno:hover {
    color: var(--light-gold);
    box-shadow: var(--glow-gold) ;
}

.main-nav {
    display: grid;
    justify-content: flex-end;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0 15px;
    position: relative;
}

.nav-menu a {
    color: var(--white);
    font-weight: 500;
    padding: 10px 0;
    position: relative;
}

.nav-menu a:before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--light-gold);
    transition: width 0.3s ease;
}

.nav-menu a:hover:before {
    width: 100%;
}

.nav-menu .dropdown-menu {
    background-color: var(--dark-blue);
    border: 1px solid var(--metallic-gold);
}

.nav-menu .dropdown-menu a {
    color: var(--white);
    padding: 8px 15px;
}

.nav-menu .dropdown-menu a:before {
    display: none;
}

.nav-menu .dropdown-menu a:hover {
    background-color: var(--metallic-gold);
    color: var(--dark-blue);
}

/* Estilos para el botón del menú hamburguesa */
.hamburger-menu button {
    border: none;
    background: transparent;
    font-size: 1.5rem;
  }
  
  /* Estilos para el menú desplegable en móviles */
#mobileMenu {
    background-color: var(--light-brown); /* Puedes cambiar a tu color de fondo */
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: absolute; 
    z-index: 1000; 
}
  /* Estilos para los enlaces del menú */
  #mobileMenu .nav-link {
    color: var(--dark-blue); /* Color del texto */
    padding: 0.5rem 0;
    font-size: 1rem;
  }
  
  /* Cambio de color al pasar el mouse */
  #mobileMenu .nav-link:hover {
    color: #007bff; /* Azul Bootstrap */
  }
  
/* Estilo base */
.hamburger-menu {
    display: none;
}

/* Mostrar entre 768px y 991px */
@media (max-width: 991px) {
    .hamburger-menu {
        display: block !important;
    }
    .nav-menu {
        display: none !important;
    }
}

/* Ocultar en pantallas grandes */
@media (min-width: 992px) {
    .hamburger-menu {
        display: none !important;
    }
}

.search-icon a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: var(--metallic-gold);
    color: var(--white);
    border-radius: 50%;
    margin-left: 20px;
}

.search-icon a:hover {
    background-color: var(--light-gold);
    color: var(--dark-blue);
    transform: rotate(90deg);
}

/* ============= HERO SECTION ============= */
.hero-section {
    background: linear-gradient(rgba(13, 27, 42, 0.8), rgba(196, 163, 73, 0.7)), url('../img/hero-bg.webp');
    background-size: cover;
    background-position: center;
    padding: 150px 0;
    text-align: center;
    position: relative;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: var(--text-shadow-gold);
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
    color: var(--white);
}
/* ============= CATALOG STYLES ============= */
.categories-sidebar {
    background-color: rgba(196, 163, 73, 0.05);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.categories-sidebar h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(196, 163, 73, 0.2);
}

.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-list li {
    margin-bottom: 10px;
}

.categories-list a {
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.categories-list a:hover {
    background-color: rgba(196, 163, 73, 0.1);
    color: var(--light-gold);
}

.categories-list .badge {
    background-color: var(--metallic-gold);
    color: var(--dark-blue);
}
/* ============= LOGIN STYLES ============= */
.login-section {
    padding: 80px 0;
}

.login-form-container {
    background-color: rgba(13, 27, 42, 0.7);
    border: 1px solid var(--metallic-gold);
    border-radius: 8px;
    padding: 30px;
    height: 100%;
}

.login-img{
    height: 180px;
    width: auto;
    display: block;
    margin: 0 auto;
}
/* ============= CONTACT STYLES ============= */
.page-header {
    background: linear-gradient(rgba(13, 27, 42, 0.85), rgba(13, 27, 42, 0.95)), url('/assets/img/catalog-bg.webp');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    margin-bottom: 0;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 3rem;
}

.page-header p {
    color: var(--white);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.contact-section {
    padding: 80px 0;
}

.contact-form-container {
    background-color: rgba(13, 27, 42, 0.7);
    border: 1px solid var(--metallic-gold);
    border-radius: 8px;
    padding: 30px;
    height: 100%;
}

.contact-form-container h2 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.contact-info-container {
    background-color: rgba(13, 27, 42, 0.7);
    border: 1px solid var(--metallic-gold);
    border-radius: 8px;
    padding: 30px;
    height: 100%;
}

.contact-info-container h2 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.contact-info-item {
    display: flex;
    margin-bottom: 30px;
}

.contact-info-item .icon {
    margin-right: 20px;
    min-width: 40px;
    height: 40px;
    background-color: var(--metallic-gold);
    color: var(--dark-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-info-item .content h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--light-gold);
}

.contact-info-item .content p {
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.social-media h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--white);
}

.social-icons {
    display: flex;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(196, 163, 73, 0.2);
    color: var(--light-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--metallic-gold);
    color: var(--dark-blue);
    transform: translateY(-3px);
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 3px solid var(--metallic-gold);
}

/* ============= FEATURED DOCUMENTS ============= */
.featured-section {
    padding: 80px 0;
}

.document-card {
    background-color: rgba(13, 27, 42, 0.7);
    border: 1px solid var(--metallic-gold);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 30px;
    height: 100%;
}


.document-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(196, 163, 73, 0.3);
}

.document-card .card-img {
    height: 250px;
    overflow: hidden;
}

.document-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.document-card:hover img {
    transform: scale(1.05);
}

.document-card .card-body {
    padding: 20px;
}

.document-card .card-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.document-card .card-author {
    color: var(--light-gold);
    font-style: italic;
    margin-bottom: 10px;
    display: block;
}

.document-card .card-category {
    display: inline-block;
    background-color: var(--metallic-gold);
    color: var(--dark-blue);
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 12px;
    margin-bottom: 15px;
}

.document-card .card-text {
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.document-card .card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: rgba(196, 163, 73, 0.1);
}

.document-card .downloads {
    font-size: 0.8rem;
    color: var(--light-gold);
}

/* ============= CATEGORIES SECTION ============= */
.categories-section {
    padding: 80px 0;
    background-color: rgba(13, 27, 42, 0.9);
}

.category-box {
    position: relative;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
}

.category-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-box:hover img {
    transform: scale(1.1);
}

.category-box .category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(13, 27, 42, 0.3), rgba(13, 27, 42, 0.9));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    transition: background 0.3s ease;
}

.category-box:hover .category-overlay {
    background: linear-gradient(to bottom, rgba(196, 163, 73, 0.3), rgba(13, 27, 42, 0.9));
}

.category-box h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--white);
}

.category-box .document-count {
    color: var(--light-gold);
    font-size: 0.9rem;
}

/* ============= ABOUT SECTION ============= */
.about-section {
    padding: 80px 0;
}

.about-section:before {
    content: '';
    display: block;
    width: 50vw;
    height: 3px;
    background: linear-gradient(to right, var(--dark-blue), var(--metallic-gold), var(--dark-blue));
    margin: 15px auto; 
}

.about-section:after {
    content: '';
    display: block;
    width: 50vw;
    height: 3px;
    background: linear-gradient(to right, var(--dark-blue), var(--metallic-gold), var(--dark-blue));
    margin: 15px auto; 
}

.about-content {
    padding: 30px;
    box-shadow: var(--metallic-gold);
    border-left: 4px solid #C4A349; padding-left: 15px;
}

.about-content h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
}

.about-image:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    top: 20px;
    left: 20px;
    z-index: -1;
}

/* ============= SEND DOCUMENT SECTION ============= */
.page-header {
    background: linear-gradient(rgba(13, 27, 42, 0.85), rgba(13, 27, 42, 0.95)), url('/assets/img/catalog-bg.webp');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    margin-bottom: 0;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 3rem;
}

.page-header p {
    color: var(--white);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.process-steps-section {
    padding: 80px 0;
    background-color: rgba(13, 27, 42, 0.9);
}

.process-step {
    background-color: rgba(196, 163, 73, 0.05);
    border: 1px solid var(--metallic-gold);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
}

.process-step:hover {
    transform: translateY(-10px);
    background-color: rgba(196, 163, 73, 0.1);
    box-shadow: 0 10px 25px rgba(196, 163, 73, 0.2);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--metallic-gold);
    color: var(--dark-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-content {
    text-align: center;
    padding-top: 20px;
}

.step-content h3 {
    color: var(--light-gold);
    margin-bottom: 15px;
    font-size: 1.5rem;
}
/* ============= TESTIMONIALS SECTION ============= */
.testimonials-section {
    padding: 80px 0;
    background-color: rgba(13, 27, 42, 0.9);
}

.testimonial-card {
    background-color: rgba(196, 163, 73, 0.05);
    border-radius: 8px;
    padding: 30px;
    position: relative;
    margin-top: 40px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    background-color: rgba(196, 163, 73, 0.1);
    transform: translateY(-5px);
}

.testimonial-card:before {
    content: '\201C';
    position: absolute;
    top: -30px;
    left: 20px;
    font-size: 5rem;
    color: var(--metallic-gold);
    font-family: Georgia, serif;
    opacity: 0.3;
}

.testimonial-card .testimonial-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid var(--metallic-gold);
}

.testimonial-card .testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-card .testimonial-content {
    text-align: center;
}

.testimonial-card .testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-card .testimonial-author {
    display: block;
    font-weight: 600;
    color: var(--light-gold);
}

.testimonial-card .testimonial-position {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ============= FOOTER STYLES ============= */
.site-footer {
    background-color: rgba(10, 22, 35, 1);
    padding-top: 70px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-top {
    padding-bottom: 20px;
}

.footer-widget {
    margin-bottom: 30px;
}

.footer-widget .widget-title {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget .widget-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--metallic-gold);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--light-gold);
    padding-left: 5px;
}


.logo-footer {
    display: block;
    margin: 0 auto;
    width: 68%;
    margin-bottom: 20px;
    border-radius: 15px;
}

.logo2-footer {
    display: block;
    width: 20%;
}
.text-footer{
    font-size: 0.8rem;
    margin-bottom: 5px;
}
.licencia-footer{
    font-size: 0.6rem;
    color: var(--metallic-gold); 
    font-weight: bold;
}
.licencia-img-footer{
    display: block;
    margin: 0 auto;
    margin-bottom: 10px;
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.contact-info i {
    color: var(--metallic-gold);
    margin-right: 15px;
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(196, 163, 73, 0.1);
    padding: 20px 0;
    font-size: 0.9rem;
}

.copyright {
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
}

.footer-bottom-links li {
    margin-left: 20px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links a:hover {
    color: var(--light-gold);
}

/* ============= BREADCRUMBS ============= */
.breadcrumbs {
    background-color: rgba(196, 163, 73, 0.1);
    padding: 15px 0;
    margin-bottom: 40px;
}

.breadcrumbs-list {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.breadcrumbs-list li {
    position: relative;
    padding-right: 20px;
    margin-right: 15px;
}

.breadcrumbs-list li:not(:last-child):after {
    content: '›';
    position: absolute;
    right: 0;
    color: var(--light-gold);
}

.breadcrumbs-list a {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumbs-list a:hover {
    color: var(--light-gold);
}

.breadcrumbs-list .active {
    color: var(--light-gold);
}

/* ============= PUBLISH PAGE ============= */
.bg-light-dark {
    background-color: rgba(13, 27, 42, 0.8);
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    height: 100%;
    width: 2px;
    background: var(--metallic-gold);
    z-index: 1;
}

.timeline-item {
    margin-bottom: 60px;
    position: relative;
}

.timeline-item::after {
    content: '';
    display: block;
    clear: both;
}

.timeline-icon {
    width: 50px;
    height: 50px;
    position: absolute;
    top: 0;
    left: 50%;
    overflow: hidden;
    margin-left: -25px;
    background: var(--dark-blue);
    border: 2px solid var(--metallic-gold);
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 0 10px rgba(196, 163, 73, 0.4);
    z-index: 2;
}

.timeline-icon i {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 46px;
    font-size: 20px;
    color: var(--metallic-gold);
}

.timeline-content {
    width: 45%;
    padding: 25px 30px;
    background: rgba(13, 27, 42, 0.6);
    border-left: 3px solid var(--metallic-gold);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    position: relative;
    border-radius: 0 5px 5px 0;
}

.timeline-content:hover {
    padding: 25px 30px;
    background: rgba(22, 43, 66, 0.6);
    border-left: 3px solid var(--metallic-gold);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    position: relative;
    border-radius: 0 5px 5px 0;
}

.timeline-content:hover h3{
    color: var(--glow-gold);
}

.timeline-item:hover .timeline-icon{
    background: rgb(30, 51, 73);
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--metallic-gold);
    font-family: 'Cinzel', serif;
}


.timeline-content::before {
    content: '';
    position: absolute;
    top: 15px;
    right: -15px;
    border-style: solid;
    border-width: 10px 0 10px 15px;
    border-color: transparent transparent transparent rgba(13, 27, 42, 0.6);
}

.timeline-content.right {
    float: right;
    border-left: none;
    border-right: 3px solid var(--metallic-gold);
    border-radius: 5px 0 0 5px;
}

.timeline-content.right::before {
    content: '';
    right: auto;
    left: -15px;
    border-width: 10px 15px 10px 0;
    border-color: transparent rgba(13, 27, 42, 0.6) transparent transparent;
}

@media (max-width: 768px) {
    .timeline::before {
      left: 20px; /* mueve la línea cerca del borde */
    }
  
    .timeline-icon {
        position: relative;
        top: 0;
        left: 20px;
        transform: translateX(-50%);
        margin: 0;
        margin-bottom: 20px;
      }
  
    .timeline-content,
    .timeline-content.right {
      width: calc(100% - 70px); /* deja espacio para el ícono y margen */
      float: none;
      margin-left: 70px;
      border-radius: 5px;
      border-left: 3px solid var(--metallic-gold);
      border-right: none;
      text-align: left;
    }
  
    .timeline-content::before,
    .timeline-content.right::before {
      top: 15px;
      left: -15px;
      right: 0;
      border-width: 10px 15px 10px 0;
      border-color: transparent rgba(13, 27, 42, 0.6) transparent transparent;
    }

  }
  

/* Accordion Styling */
.accordion-item {
    background-color: rgba(13, 27, 42, 0.6);
    border: 1px solid #c4a349b4;
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.accordion-button {
    background-color: rgba(13, 27, 42, 0.8);
    color: var(--white);
    font-family: 'Cinzel', serif;
    font-weight: 500;
    padding: 15px 20px;
}

.accordion-button:not(.collapsed) {
    background-color: var(--metallic-gold);
    color: var(--dark-blue);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(196, 163, 73, 0.25);
}

.accordion-body {
    padding: 20px;
    background-color: rgba(13, 27, 42, 0.4);
    color: var(--beige);
}

/* CTA Box */
.cta-box {
    background-color: rgba(196, 163, 73, 0.1);
    border: 1px solid var(--metallic-gold);
    padding: 40px;
    border-radius: 5px;
}

/* Responsive Timeline */
@media screen and (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }
    
    .timeline-icon {
        left: 20px;
        margin-left: 0;
    }
    
    .timeline-content {
        width: calc(100% - 60px);
        float: right;
    }
    
    .timeline-content::before {
        left: -15px;
        border-width: 10px 15px 10px 0;
        border-color: transparent rgba(13, 27, 42, 0.6) transparent transparent;
    }
    
    .timeline-content.right {
        border-left: 3px solid var(--metallic-gold);
        border-right: none;
        border-radius: 0 5px 5px 0;
    }
    
    .timeline-content.right::before {
        left: -15px;
        border-width: 10px 15px 10px 0;
        border-color: transparent rgba(13, 27, 42, 0.6) transparent transparent;
    }
}
/* ============= CATALOG PAGE ============= */
.catalog-header {
    background: linear-gradient(rgba(13, 27, 42, 0.85), rgba(13, 27, 42, 0.95)), url('/assets/img/catalog-bg.webp');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    text-align: center;
}

.catalog-filters {
    background-color: rgba(196, 163, 73, 0.05);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-form .form-group {
    flex: 1;
    min-width: 200px;
}

.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.pagination .page-item .page-link {
    background-color: rgba(196, 163, 73, 0.05);
    color: var(--white);
    border-color: var(--metallic-gold);
}

.pagination .page-item.active .page-link {
    background-color: var(--metallic-gold);
    border-color: var(--metallic-gold);
    color: var(--dark-blue);
}

.pagination .page-item .page-link:hover {
    background-color: var(--light-gold);
    color: var(--dark-blue);
}

/* ============= DOCUMENT DETAIL PAGE ============= */
.document-detail {
    padding: 50px 0;
}

.document-image {
    position: relative;
    text-align: center;
    margin-bottom: 30px;
}

.document-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 3px solid var(--metallic-gold);
}

.document-info {
    margin-bottom: 30px;
}

.document-info h1 {
    color: var(--white);
    margin-bottom: 15px;
}

.document-meta {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.document-meta-item {
    margin-right: 20px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.document-meta-item i {
    color: var(--metallic-gold);
    margin-right: 10px;
}

.document-category {
    display: inline-block;
    background-color: var(--metallic-gold);
    color: var(--dark-blue);
    padding: 5px 15px;
    border-radius: 3px;
    margin-bottom: 20px;
}

.document-buttons {
    margin-top: 30px;
}

.document-description {
    margin-bottom: 40px;
}

.related-documents {
    margin-top: 50px;
    padding-top: 50px;
    border-top: 1px solid rgba(196, 163, 73, 0.2);
}

/* ============= FORM STYLES ============= */
.form-section {
    padding: 50px 0;
}

.form-container {
    background-color: rgba(13, 27, 42, 0.7);
    border: 1px solid var(--metallic-gold);
    border-radius: 8px;
    padding: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    color: var(--white);
    margin-bottom: 10px;
    display: block;
}

.form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(196, 163, 73, 0.3);
    color: var(--white);
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--metallic-gold);
    color: var(--white);
    box-shadow: 0 0 0 0.25rem rgba(196, 163, 73, 0.25);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-check-input {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(196, 163, 73, 0.3);
}

.form-check-input:checked {
    background-color: var(--metallic-gold);
    border-color: var(--metallic-gold);
}

/* ============= ABOUT ADITIONAL STYLES ============= */
.page-header {
    background: linear-gradient(rgba(13, 27, 42, 0.8), rgba(13, 27, 42, 0.8)), url('/assets/img/catalog-bg.webp');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    margin-bottom: 0;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 3rem;
}

.page-header p {
    color: var(--white);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.about-content-section {
    padding: 20px 0;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content h2 {
    color: var(--white);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.about-content h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--metallic-gold);
}

.about-text {
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-text h3 {
    color: var(--light-gold);
    margin: 30px 0 15px;
    font-size: 1.5rem;
}

.about-text ul {
    padding-left: 20px;
}

.about-text ul li {
    margin-bottom: 10px;
}

.team-section {
    padding: 80px 0;
    background-color: rgba(13, 27, 42, 0.9);
}

.team-member {
    background-color: rgba(13, 27, 42, 0.7);
    border: 1px solid var(--metallic-gold);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    height: 100%;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(196, 163, 73, 0.3);
}

.member-image {
    height: 250px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-info {
    padding: 20px;
}

.member-info h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--white);
}

.member-info .position {
    display: block;
    color: var(--light-gold);
    font-style: italic;
    margin-bottom: 15px;
}

.member-info p {
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.member-info .social-links {
    display: flex;
}

.member-info .social-links a {
    width: 32px;
    height: 32px;
    background-color: rgba(196, 163, 73, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    color: var(--light-gold);
    transition: all 0.3s ease;
}

.member-info .social-links a:hover {
    background-color: var(--metallic-gold);
    color: var(--dark-blue);
    transform: translateY(-3px);
}

.stats-section {
    padding: 40px 0;
    background: linear-gradient(rgba(13, 27, 42, 0.9), rgba(13, 27, 42, 0.95)), url('/assets/img/catalog-bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.stat-item {
    text-align: center;
    margin-bottom: 30px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--light-gold);
    margin-bottom: 10px;
}

.stat-title {
    font-size: 1.2rem;
    color: var(--white);
    font-family: 'Cinzel', serif;
}

.partners-section {
    padding: 40px 0;
}

.partners-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}

.partner-item {
    padding: 20px;
    width: 200px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px;
    background-color: rgba(196, 163, 73, 0.05);
    border: 1px solid rgba(196, 163, 73, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.partner-item:hover {
    background-color: rgba(196, 163, 73, 0.1);
    transform: scale(1.05);
}

.partner-item img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
}

.partner-item:hover img {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(196, 163, 73, 0.3);
}
/* ============= RESPONSIVE STYLES ============= */
@media (max-width: 992px) {
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .main-nav {
        justify-content: center;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
}

@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 15px;
    }
    
    .footer-bottom-links li {
        margin: 0 10px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 100px 0;
    }
    
    .document-meta {
        flex-direction: column;
    }
    
    .document-meta-item {
        margin-right: 0;
    }
}
