@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Caveat:wght@400..700&display=swap');

body {
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    line-height: 1.42857143;
    color: #333;
    background-color: #fff;

}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Poppins", sans-serif;
}

a {
    text-decoration: none;
}

/*social bar*/
.social-bar {
    background-color: #263238;
}

/*Menu*/
.bg-blue-royal {
    background-color: #001C3D;
    border-color: #001C3D;
}

#mainNavbar {
    background: #00478F !important;
}

#mainNavbar .nav-link {
    color: #fff !important;
}

#mainNavbar .nav-link:hover,
#mainNavbar .nav-link:focus {
    color: rgba(255, 255, 255, 0.8) !important;
}

#mainNavbar .nav-link.active {
    color: #fff !important;
    border-bottom: 2px solid #fff;
}

.text-primary {
    color: rgb(29, 69, 104) !important;
}

.text-justify {
    text-align: justify;
}

.btn-primary {
    color: #fff !important;
    background-color: #001C3D !important;
    border-color: #001C3D !important;
    padding: 10px 30px;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #011d4a !important;
    border-color: #011d4a !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.bg-primary {
    background-color: #001C3D !important;
}

.bg-opacity-70 {
    background-color: rgba(255, 255, 255, 0.7) !important;
}

/* Hero Section Styles */
.hero-photo-container {
    position: relative;
    overflow: hidden;
}

.hero-photo-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 10px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: bold;
    text-transform: uppercase;
}

.ratio-16x9 {
    aspect-ratio: 16 / 9;
    width: 100%;
}

.video-grid-item {
    padding: 2px;
}

.video-grid-item img {
    width: 100%;
    display: block;
}

/* Premium Search Offcanvas */
.offcanvas-search {
    height: 100vh !important;
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: none !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.offcanvas-search .btn-close-custom {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #333;
    opacity: 0.5;
    transition: all 0.3s ease;
    z-index: 1060;
}

.offcanvas-search .btn-close-custom:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.search-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 15px;
}

.search-form-modern {
    width: 100%;
    max-width: 800px;
    position: relative;
}

.search-input-modern {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 3px solid #00356b;
    font-size: 3rem;
    font-weight: 700;
    color: #00356b;
    padding: 10px 60px 10px 0;
    outline: none;
    transition: all 0.3s ease;
}

.search-input-modern::placeholder {
    color: rgba(0, 53, 107, 0.3);
}

.search-submit-modern {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 2rem;
    color: #00356b;
    transition: all 0.3s ease;
}

.search-submit-modern:hover {
    transform: translateY(-50%) scale(1.1);
    color: #011d4a;
}

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

.search-suggestions span {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #777;
    margin-bottom: 15px;
}

.suggestion-link {
    display: inline-block;
    padding: 8px 20px;
    margin: 5px;
    border-radius: 50px;
    background: rgba(0, 53, 107, 0.05);
    color: #00356b;
    font-weight: 500;
    transition: all 0.3s ease;
}

.suggestion-link:hover {
    background: #00356b;
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .search-input-modern {
        font-size: 1.5rem;
    }

    .search-submit-modern {
        font-size: 1.5rem;
    }
}

/* Dynamic Navbar Padding */
.navbar.sticky-top {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.sticky-top.navbar-scrolled {
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(5px);
}

/* Back to Top Button */
.btn-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #00356b;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1050;
}

.btn-back-to-top:hover {
    background-color: #011d4a;
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.btn-back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.btn-watch-youtube {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
    color: #fff !important;
    padding: 12px;
    text-decoration: none;
    font-weight: bold;
    width: 100%;
    transition: all 0.3s ease;
    text-transform: none;
    font-size: 1.1rem;
}

.btn-watch-youtube:hover {
    background-color: #222;
    color: #fff !important;
}

.btn-watch-youtube i {
    margin: 0 8px;
    font-size: 1.5rem;
    color: #f00;
    /* YouTube Red */
}

.youtube-footer {
    margin-top: 0;
    width: 100%;
}

.gallery-banner-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 40px 0;
    width: 100%;
}

.gallery-banner-text {
    color: #1A4B84;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 3.2rem;
    letter-spacing: 2px;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    text-shadow:
        -2px -2px 0 #fff,
        2px -2px 0 #fff,
        -2px 2px 0 #fff,
        2px 2px 0 #fff,
        3px 3px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .gallery-banner-text {
        font-size: 1.8rem;
        letter-spacing: 1px;
        text-shadow:
            -1px -1px 0 #fff,
            1px -1px 0 #fff,
            -1px 1px 0 #fff,
            1px 1px 0 #fff;
    }

    .gallery-banner-container {
        padding: 0.8rem 0;
    }
}

.gallery-banner-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #001C3D;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-banner-line {
    height: 1px;
    background-color: #001C3D;
    flex-grow: 1;
    max-width: 150px;
    position: relative;
}

.gallery-banner-line::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border: 2px solid #001C3D;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.gallery-banner-line-left::before {
    left: 0;
}

.gallery-banner-line-right::before {
    right: 0;
}

/* Chronology Section */
.chronology-section {
    background-color: #fff;
}

.chronology-title {
    color: #001C3D;
    font-weight: 900;
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.chronology-subtitle {
    color: #333;
    font-weight: 700;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

.chronology-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #fdb913;
}

.phase-column {
    display: flex;
    flex-direction: column;
}

.phase-card {
    position: relative;
    border-radius: 15px;
    padding: 40px 25px;
    height: 100%;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-top: 20px;
}

.phase-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.phase-card.blue {
    background: linear-gradient(135deg, #1d4e89 0%, #001C3D 100%);
    color: #fff;
}

.phase-card.orange {
    background: linear-gradient(135deg, #ffd97d 0%, #fdb913 100%);
    color: #001C3D;
}

.phase-badge {
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.6rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 10;
    border: 4px solid #fff;
}

.blue .phase-badge {
    background-color: #fdb913;
    color: #001C3D;
}

.orange .phase-badge {
    background-color: #001C3D;
    color: #fff;
}

.phase-year {
    font-size: clamp(2rem, 8vw, 3.5rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 5px;
}

.phase-number-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 25px;
    opacity: 0.9;
}

.phase-content {
    flex-grow: 1;
}

.phase-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.phase-content ul li {
    margin-bottom: 12px;
    font-weight: 600;
    line-height: 1.4;
    position: relative;
}

.phase-icon {
    margin-top: auto;
    text-align: center;
    font-size: 4.5rem;
    opacity: 0.9;
    padding-top: 20px;
}

@media (max-width: 991px) {
    .phase-badge {
        left: 50%;
        top: -27px;
        transform: translateX(-50%);
    }

    .phase-card {
        margin-top: 40px;
        min-height: auto;
    }
}

@media (min-width: 992px) {
    .phase-column {
        position: relative;
    }

    .phase-column:not(:last-child)::after {
        content: '➔';
        position: absolute;
        top: 30px;
        right: -15px;
        font-size: 2rem;
        color: #fdb913;
        z-index: 5;
        opacity: 0.5;
    }
}

/* Event Cards & Carousel */
.event-card {
    background-color: #fcfcfc;
    border-radius: 15px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
    border-color: #001C3D;
}

.event-card-img img {
    width: 100%;
    height: auto;
    background-color: #fff;
    border-bottom: 2px solid #001C3D;
}

.event-card-body {
    padding: 25px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
}

.event-card-title {
    color: #001C3D;
    font-weight: 800;
    font-size: 1.15rem;
    margin-bottom: 20px;
    line-height: 1.4;
    min-height: 3.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-card-icon {
    font-size: 3rem;
    color: #001C3D;
    opacity: 0.8;
    margin-top: auto;
}

/* Slick Dots Customization */
.slick-dots li button:before {
    font-size: 12px;
    color: #001C3D;
}

.slick-dots li.slick-active button:before {
    color: #fdb913;
}

/* CTA Section & Warning Button */
.cta-section {
    position: relative;
    overflow: hidden;
}

.btn-warning {
    background-color: #fdb913 !important;
    border-color: #fdb913 !important;
    color: #fff !important;
    padding: 12px 30px;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active {
    background-color: #e5a50d !important;
    border-color: #e5a50d !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Category Header Styles */
.category-header-line {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.category-header-line::before,
.category-header-line::after {
    content: '';
    flex: 0 1 120px;
    height: 2px;
    background-color: #fdb913;
}

.category-header-line i {
    color: #fdb913;
    margin: 0 15px;
    font-size: 1.2rem;
}

.category-header-title {
    color: #fff;
    font-weight: 800;
    font-size: clamp(2rem, 8vw, 3.5rem);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.category-header-subtitle {
    color: #fff;
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 400;
}

.text-warning {
    color: #fdb913 !important;
}

/* Category Post Card Styles */
.category-post-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.category-post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.post-card-img-container {
    position: relative;
    overflow: hidden;
}

.post-card-img-container img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.category-post-card:hover .post-card-img-container img {
    transform: none;
}

.post-card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #fdb913;
    color: #fff;
    padding: 5px 15px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.post-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.post-card-title {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 15px;
    line-height: 1.3;
}

.post-card-title a {
    color: #001C3D;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-card-title a:hover {
    color: #fdb913;
}

.post-card-meta {
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #6c757d;
}

.meta-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.meta-item i {
    color: #fdb913;
    width: 25px;
    font-size: 1rem;
}

.post-card-excerpt {
    color: #495057;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.post-card-action {
    margin-top: auto;
    text-align: center;
}

.btn-read-more {
    border: 2px solid #001C3D;
    color: #001C3D;
    border-radius: 10px;
    padding: 8px 25px;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.btn-read-more i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.btn-read-more:hover {
    background-color: #001C3D;
    color: #fff;
}

.btn-read-more:hover i {
    transform: translateX(5px);
}
/* Navbar Dropdown Styling */
#mainNavbar .dropdown-menu {
    background-color: #001C3D !important;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    padding: 8px 0;
    margin-top: 12px !important;
    min-width: 220px;
    overflow: hidden;
    animation: dropdownFadeIn 0.3s ease-out;
}

#mainNavbar .dropdown-item {
    color: #ffffff !important;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

#mainNavbar .dropdown-item:last-child {
    border-bottom: none;
}

#mainNavbar .dropdown-item:hover,
#mainNavbar .dropdown-item:focus {
    background-color: #fdb913 !important;
    color: #001C3D !important;
    padding-left: 25px;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Page Styles */
.text-blue-royal {
    color: #001C3D !important;
}

.bg-blue-royal {
    background-color: #001C3D !important;
}

.about-icon-box {
    width: 50px;
    height: 50px;
    background-color: #fdb913;
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.function-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 10px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.function-item:hover {
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateX(10px);
}

.strategy-card {
    height: 100%;
    border: none;
    border-top: 5px solid #fdb913;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.strategy-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.about-header-title {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.about-header-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: #fdb913;
}

/* History Page Styles */
.history-hero {
    background: linear-gradient(rgba(0, 28, 61, 0.9), rgba(0, 28, 61, 0.9)), url('/site/img/constitucion_bg.jpg'); /* Background image should be the book if available, or just blue gradient */
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    color: #fff;
}

.history-hero-title {
    font-size: clamp(2rem, 8vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
    border-bottom: 4px solid #fdb913;
    display: inline-block;
    margin-bottom: 25px;
    padding-bottom: 10px;
}

.history-hero-text {
    font-size: clamp(1rem, 4vw, 1.25rem);
    max-width: 600px;
    opacity: 0.9;
}

.evolution-section {
    padding: 60px 0;
    background-color: #fff;
}

.evolution-timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin: 50px 0;
    padding: 0 50px;
}

.evolution-timeline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #dee2e6;
    z-index: 1;
}

.timeline-point {
    position: relative;
    z-index: 2;
    text-align: center;
}

.timeline-year {
    width: 80px;
    height: 80px;
    background: #fff;
    border: 5px solid #001C3D;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2rem;
    color: #001C3D;
    margin: 0 auto 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.timeline-point.gold .timeline-year {
    border-color: #fdb913;
    color: #fdb913;
}

.timeline-dot {
    width: 15px;
    height: 15px;
    background: #001C3D;
    border-radius: 50%;
    margin: 10px auto;
}

.timeline-point.gold .timeline-dot {
    background: #fdb913;
}

.history-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease;
    border-top: 5px solid #001C3D;
}

.history-card.gold {
    border-top: 5px solid #fdb913;
}

.history-card:hover {
    transform: translateY(-5px);
}

.history-card-header {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #f8f9fa;
}

.history-card-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #001C3D;
    text-transform: uppercase;
}

.history-card.gold .history-card-title {
    color: #fdb913;
}

.history-card-icon {
    font-size: 3rem;
    color: #6c757d;
    margin: 15px 0;
    opacity: 0.6;
}

.history-card-body ul {
    list-style: none;
    padding: 0 20px 20px;
}

.history-card-body ul li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 10px;
    font-size: 1.05rem;
    color: #495057;
}

.history-card-body ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #000;
}

.history-footer-banner {
    background-color: #e9ecef;
    border-radius: 15px;
    padding: 30px;
    margin-top: 50px;
}

.history-footer-icon {
    width: 70px;
    height: 70px;
    background: #001C3D;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 20px;
}

/* Font Size Adjustments (+2px) */
.history-footer-banner p {
    font-size: 1rem !important;
}

.function-item p,
.strategy-card p {
    font-size: 1.05rem !important;
}

.purpose-section p {
    font-size: 1.4rem !important;
}

.about-header-title + p {
    font-size: 1.15rem !important;
}

/* Document Card Styles */
.document-card {
    background: #fff;
    border-radius: 15px;
    border: 2px solid #f8f9fa;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.document-card:hover {
    border-color: #fdb913;
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.document-card-icon {
    font-size: 4rem;
    color: #dc3545; /* PDF Red */
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.document-card:hover .document-card-icon {
    transform: scale(1.1);
}

.document-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #001C3D;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 4.5em;
}

.btn-download {
    background-color: #001C3D;
    color: #fff;
    border-radius: 8px;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
}

.btn-download:hover {
    background-color: #fdb913;
    color: #001C3D;
    transform: scale(1.05);
}

/* Transparency Page Styling */
.transparency-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 25px;
    padding: 60px 40px;
    border: 1px solid #dee2e6;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.transparency-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 28, 61, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(100px, -100px);
}

.transparency-tabs .nav-tabs {
    border: none;
    gap: 10px;
    margin-bottom: 0;
}

.transparency-tabs .nav-item {
    margin-bottom: 0;
}

.transparency-tabs .nav-link {
    background-color: #f8f9fa;
    color: #001C3D !important;
    border: 2px solid transparent !important;
    border-radius: 12px 12px 0 0 !important;
    font-weight: 700;
    padding: 12px 25px;
    transition: all 0.3s ease;
}

.transparency-tabs .nav-link:hover {
    background-color: #e9ecef;
    border-color: #dee2e6 !important;
}

.transparency-tabs .nav-link.active {
    background-color: #001C3D !important;
    color: #ffffff !important;
    border-color: #001C3D !important;
}

.glossary-container {
    background: #fff;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    padding: 30px;
    border: 1px solid #dee2e6;
    border-top: none;
}

.glossary-table {
    margin-bottom: 0;
}

.glossary-table tr td {
    padding: 20px;
    border-bottom: 1px solid #f1f3f5;
}

.glossary-table tr:last-child td {
    border-bottom: none;
}

.glossary-number {
    background: #fdb913;
    color: #001C3D;
    font-weight: 900;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
}

/* Caricatura Slider Styles */
.caricatura-carousel {
    max-width: 1000px;
    margin: 40px auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    background-color: #f8f9fa;
}

.caricatura-carousel .carousel-item {
    text-align: center;
}

.caricatura-carousel img {
    max-height: 700px;
    width: auto !important;
    margin: 0 auto;
    object-fit: contain;
}

.caricatura-caption {
    background: linear-gradient(transparent, rgba(0, 28, 61, 0.9));
    padding: 40px 20px 20px;
    width: 100%;
    left: 0;
    bottom: 0;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #001C3D;
    border-radius: 50%;
    background-size: 50% 50%;
    padding: 25px;
}

.carousel-indicators [data-bs-target] {
    background-color: #fdb913;
}

/* New Caricatura Gallery Styles */
.gallery-section-title {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 50px 0;
}

.gallery-section-title::before,
.gallery-section-title::after {
    content: '';
    flex: 1;
    border-bottom: 4px solid #001C3D;
}

.gallery-section-title span {
    padding: 0 30px;
    font-size: clamp(2rem, 8vw, 3.5rem);
    font-family: 'Caveat', cursive;
    font-weight: 700;
    color: #001C3D;
    text-transform: capitalize;
    letter-spacing: 2px;
    text-shadow: 3px 3px 0px #fdb913;
}

.gallery-cat-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #edf2f7;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.gallery-cat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    border-color: #fdb913;
}

.gallery-cat-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    padding: 15px;
    background: #fff;
}

.gallery-cat-card-title {
    background-color: #ffffff;
    padding: 12px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 800;
    color: #001C3D;
    text-transform: uppercase;
    border-top: 1px solid #f1f3f5;
}

.caricatura-bottom-banner {
    background-color: #f1f3f5;
    border-radius: 20px;
    padding: 25px 40px;
    margin-top: 60px;
}

.caricatura-btn-send {
    background-color: #001C3D;
    color: #fff;
    border-radius: 12px;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.caricatura-btn-send:hover {
    background-color: #fdb913;
    color: #001C3D;
    transform: scale(1.05);
}

.caricatura-smiley {
    font-size: clamp(2rem, 8vw, 3.5rem);
    color: #fdb913;
    margin-right: 20px;
}

@media (max-width: 768px) {
    .history-hero-title {
        font-size: 2.2rem;
    }
    .history-hero-text {
        font-size: 1.1rem;
    }
    .history-hero {
        padding: 50px 0;
        text-align: center;
    }
}

.responsive-title {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
    word-wrap: break-word;
}
