html {
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
    height: 100%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
}

body {
    background-color: #f8f9fa;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    color: #333;
}

header {
    background-color: #033869;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px 20px;
}

.logo img {
    height: 60px;
    max-width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    transition: transform 0.3s ease;
}

.menu-toggle:hover {
    transform: scale(1.1);
}

.menu-links {
    display: flex;
    gap: 20px;
    margin-right: 20px;
    transition: all 0.3s ease;
}

.menu-links a {
    padding: 0 5px;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.menu-links a:hover {
    color: #0057FF;
    transform: translateX(5px);
}

main {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
    flex: 1;
}

main .text-header {
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
    color: #033869;
}

main .text-header h1 {
    font-size: 36px;
}

.post-card .post-content .category.detalhes {
    display: none;
}

.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-inner {
    position: relative;
    width: 100%;
}

.carousel-inner .post-section,
.posts-grid .post-section,
.carousel-inner .post-video,
.posts-grid .post-video {
    display: none !important;
}

.post-detail-content .post-section,
.post-detail-content .post-video {
    display: block;
}

.post-detail-content .post-image {
    display: none !important;
}

.post-detail {
    max-width: 900px;
    margin: 40px auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.post-full-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlide 0.8s ease-out forwards;
}

@keyframes fadeInSlide {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.post-detail-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.post-title {
    font-size: 28px;
    color: #033869;
    font-weight: 500;
    line-height: 1.3;
}

.post-category.resumo {
    font-size: 16px;
    color: #6c757d;
    font-style: italic;
}

.post-category.detalhes {
    font-size: 16px;
    color: #444;
    margin-top: 10px;
    display: block;
}

.post-date {
    font-size: 14px;
    color: #999;
    font-weight: 400;
}

.post-section {
    margin-bottom: 30px;
}

.section-text pre {
    max-width: 100%;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-all;
    background-color: #eee;
    padding: 10px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.4;
}

.section-title {
    font-size: 22px;
    color: #0575E6;
    font-weight: 500;
    margin-bottom: 15px;
}

.section-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
}

.section-images img {
    max-width: 100%;
    height: 150px;
    margin: 10px 0;
}

.section-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: 8px;
    background-color: #f5f5f5;
    cursor: pointer;
    transition: transform 0.3s ease;
    border-bottom: 1px solid #0575E6;
}

.section-image:hover {
    transform: scale(1.03);
}

.section-text {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
}

.post-video {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin: 20px auto;
}

.post-video iframe {
    width: 100%;
    height: 315px;
    border: none;
    border-radius: 8px;
}

.post-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

#back-button {
    padding: 8px 20px;
    font-size: 14px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

#back-button:hover {
    background-color: #0056b3;
}

.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.image-modal.active {
    display: flex;
}

.modal-image {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #0575E6;
}

.blog-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: none;
    opacity: 0;
    background-color: #ffffff;
    padding: 10px;
    border-radius: 10px;
}

.blog-card.active {
    display: flex;
    opacity: 1;
    position: relative;
}

.blog-container {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
    border-radius: 10px;
}

.blog-container:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.pagination .dot {
    margin-top: 10px;
    width: 10px;
    height: 10px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.pagination .dot.active {
    background-color: #0575E6;
}

.pagination .dot:hover {
    background-color: #0057FF;
}

.card-image {
    flex: 0 0 400px;
    max-width: 400px;
    width: 100%;
    height: 350px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    border-radius: 10px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.card-content {
    flex: 1;
    padding: 20px;
    min-width: 0;
}

.card-content .category.detalhes {
    display: none !important;
}

.card-content .category.resumo {
    color: gray;
}

.card-content .category {
    font-size: 14px;
    color: #0575E6;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 10px;
}

.card-content h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.3;
}

.card-content p {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.5;
}

.card-content .date {
    font-size: 14px;
    color: #999;
}

.card-sidebar {
    flex: 0 0 300px;
    background-color: #f9f9f9;
    padding: 15px;
    border-left: 1px solid #eee;
}

.card-sidebar h3 {
    font-weight: bold;
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
}

.card-sidebar ul {
    list-style: none;
}

.card-sidebar ul li {
    margin-bottom: 5px;
    color: #666;
    font-size: 14px;
    transition: color 0.3s ease;
}

.card-sidebar ul li a:hover {
    color: #0575E6;
}

.related-posts {
    margin-top: 40px;
}

.related-posts h1 {
    font-size: 28px;
    color: #033869;
    margin-bottom: 20px;
    text-align: center;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.post-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    max-width: 600px;
    height: 500px !important;
    margin: 20px auto;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

.post-image {
    width: 100%;
    height: 250px;
    background: #e9ecef;
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    margin: 0;
    padding: 0;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    border-radius: 5px;
}

.post-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.post-content .category {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 5px;
    display: block;
}

.post-content h3 {
    font-size: 18px;
    color: #333;
    margin-top: 5px;
    margin-bottom: 10px;
    line-height: 1.3;
    font-weight: bold;
}

.post-content .date {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

footer {
    background-color: #033869;
    color: white;
    padding: 0 20px;
    width: 100%;
    flex: 0 1 auto;
}

.footer-container {
    padding: 15px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.footer-column {
    flex: 1;
    min-width: 100px;
    margin: 1px 0;
}

.footer-column h3 {
    font-weight: bold;
    font-size: 16px;
    color: #0575E6;
    margin-bottom: 2px;
    text-transform: uppercase;
}

.footer-column p,
.footer-column a {
    font-size: 16px;
    color: white;
    text-decoration: none;
    margin-bottom: 4px;
}

.footer-column a:hover {
    color: #0575E6;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: white;
    font-size: 20px;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #0575E6;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
}

.footer-bottom p {
    font-size: 14px;
    color: white;
}

.social-container {
    background-color: #00203D;
    padding: 10px 0;
    width: 100%;
    z-index: 1001;
}

.social-links {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.social-links a {
    display: flex;
    text-decoration: none;
    transition: all 0.3s ease;
    align-items: center;
}

.social-links i {
    color: #0575E6;
    font-size: 21px;
}

.social-links p {
    color: white;
    margin-left: 10px;
    font-size: 16px;
}

.social-links a:hover i {
    transform: scale(1.2);
}

.social-links a:hover p {
    color: #0575E6;
}

.social-links a:hover {
    transform: translateX(5px);
}

#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 56, 105, 0.95);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.5s ease;
}

#loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader {
    text-align: center;
    color: white;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 6px solid rgba(255, 255, 255, 0.3);
    border-top: 6px solid #0575E6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.loader p {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
    animation: pulse 2s infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

body.loading main {
    opacity: 0;
    transition: opacity 0.5s ease;
}

body:not(.loading) main {
    opacity: 1;
}

.search-bar {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-bar input {
    padding: 8px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    width: 180px;
    transition: width 0.3s ease;
}

.search-bar input:focus {
    outline: none;
    width: 190px;
}

.search-bar button {
    background-color: #0575E6;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    color: white;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-bar button i {
    font-size: 16px;
}

.search-bar button:hover {
    background-color: #0057FF;
}

.search-bar.mobile-only {
    display: none;
    position: fixed;
    top: 120px;
    right: -100%;
    width: 230px;
    padding: 10px;
    background-color: #033869;
    z-index: 1001;
    transition: right 0.3s ease-in-out;
    justify-content: center;
}

body.menu-open .search-bar.mobile-only {
    display: flex;
    right: 10px;
}

.categories-carousel {
    margin: 40px 0;
    text-align: center;
}

.categories-carousel h1 {
    font-size: 28px;
    color: #033869;
    margin-bottom: 10px;
}

.categories-wrapper {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    padding: 0 40px;
}

.categories-inner {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.categories-inner::-webkit-scrollbar {
    display: none;
}

.category-item {
    flex: 0 0 auto;
    text-align: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    width: 120px;
    scroll-snap-align: center;
}

.category-item:hover {
    transform: scale(1.05);
}

.category-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    border: 2px solid #0575E6;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-item p {
    font-size: 14px;
    color: #333;
    margin-top: 10px;
    font-weight: 500;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-arrow:hover {
    background-color: rgba(255, 255, 255, 1);
}

.carousel-arrow.left-arrow {
    left: 0;
}

.carousel-arrow.right-arrow {
    right: 0;
}

.carousel-arrow i {
    color: #0575E6;
    font-size: 16px;
}

#view-all-posts {
    display: block;
    background: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin: 20px auto;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: fit-content;
}

#view-all-posts:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

#view-all-posts:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.back-to-top:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 1215px) {
    .social-links p {
        font-size: 15px;
    }
}

@media (max-width: 1024px) {
    .blog-card.active {
        display: flex;
        flex-direction: column;
    }

    .social-container {
        display: none;
        height: 0;
    }

    .social-links {
        visibility: hidden;
    }

    .blog-card {
        display: grid;
        grid-template-columns: 1fr 2fr 1fr;
        grid-template-areas: "image content sidebar";
    }

    .card-image {
        max-width: 100%;
        height: 250px;
        flex: none;
    }

    .card-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .card-content {
        grid-area: content;
        min-width: 0;
    }

    .card-sidebar {
        grid-area: sidebar;
        border-left: none;
        border-top: none;
    }

    header {
        top: 0;
    }

    main {
        padding-top: 40px;
    }
}

@media (min-width: 769px) {
    .search-bar.desktop-only {
        display: flex;
    }

    .search-bar.mobile-only {
        display: none !important;
    }

    header {
        justify-content: space-between;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .search-bar.desktop-only {
        display: none;
    }

    .blog-card.active {
        display: flex;
        flex-direction: column;
    }

    .social-container {
        height: 1px;
    }

    .social-links {
        visibility: hidden;
    }

    .menu-toggle {
        display: block;
    }

    .menu-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: #033869;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        margin: 0;
        padding: 20px;
        z-index: 1000;
        transition: right 0.3s ease-in-out;
    }

    .menu-links.active {
        right: 0;
    }

    .menu-links a {
        font-size: 24px;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
    }

    .menu-links.active a {
        opacity: 1;
        transform: translateY(0);
    }

    .menu-links.active a:nth-child(1) {
        transition-delay: 0.1s;
    }

    .menu-links.active a:nth-child(2) {
        transition-delay: 0.2s;
    }

    .menu-links.active a:nth-child(3) {
        transition-delay: 0.3s;
    }

    .menu-toggle.active i::before {
        content: "\f00d";
    }

    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    body.menu-open::before {
        opacity: 1;
    }

    .blog-card {
        display: flex;
        flex-direction: column;
    }

    .card-image {
        max-width: 100%;
        height: 200px;
    }

    .card-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .card-sidebar {
        border-top: 1px solid #eee;
    }

    .social-links {
        gap: 20px;
        padding: 0 15px;
    }

    .social-links a {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .social-links p {
        margin-left: 0;
        margin-top: 5px;
        font-size: 14px;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }

    .post-card {
        min-height: 300px;
    }

    .footer-container {
        flex-direction: column;
        gap: 20px;
    }

    .footer-column {
        min-width: 100%;
    }

    .categories-inner {
        gap: 20px;
    }

    .category-item {
        width: 100px;
    }

    .category-image {
        width: 80px;
        height: 80px;
    }

    .category-item p {
        font-size: 12px;
    }

    .carousel-arrow {
        width: 25px;
        height: 25px;
    }

    .carousel-arrow i {
        font-size: 14px;
    }

    header {
        padding: 5px 10px;
    }

    .search-bar.mobile-only {
        top: 60px;
        width: 200px;
        right: 10px;
    }

    main {
        padding-top: 30px;
    }

    .post-detail {
        max-width: 100%;
        margin: 20px 10px;
    }

    .post-full-content {
        padding: 20px;
    }

    .post-title {
        font-size: 24px;
    }

    .section-title {
        font-size: 20px;
    }

    .section-images {
        grid-template-columns: 1fr;
    }

    .section-image {
        max-height: 150px;
    }

    .post-footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .tabs-header {
        flex-wrap: wrap;
    }

    .tab-button {
        flex: 1 1 50%;
        padding: 12px;
        font-size: 14px;
    }

    .download-grid {
        grid-template-columns: 1fr;
    }

    .download-item {
        padding: 10px;
    }

    .download-info h3 {
        font-size: 14px;
    }

    .download-info p {
        font-size: 12px;
    }

    .download-size {
        font-size: 11px;
    }

    .download-btn {
        width: 35px;
        height: 35px;
    }

    .download-btn i {
        font-size: 14px;
    }

    .about-tabs .tabs-header {
        flex-wrap: wrap;
    }

    .about-tabs .tab-button {
        flex: 1 1 50%;
        padding: 12px;
        font-size: 16px;
    }

    .company-banner {
        height: 200px;
    }

    .company-overlay h2 {
        font-size: 24px;
    }

    .company-overlay p {
        font-size: 16px;
    }

    .company-info h3,
    .company-timeline h3,
    .team-intro h3 {
        font-size: 20px;
    }

    .timeline {
        padding-left: 30px;
    }

    .timeline-item {
        margin-bottom: 20px;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .member-photo {
        width: 120px;
        height: 120px;
    }

    .post-video iframe {
        height: 200px;
    }

    .section-text pre {
        font-size: 13px;
        padding: 8px;
    }

    .download-search-bar {
        gap: 5px;
    }

    .download-search-bar input {
        width: 80%;
        padding: 10px;
        font-size: 14px;
    }

    .download-search-bar button {
        width: 100%;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .menu-links a {
        font-size: 20px;
    }

    .card-content h2 {
        font-size: 20px;
    }

    .card-content p {
        font-size: 14px;
    }

    .post-content h3 {
        font-size: 16px;
    }

    .social-links p {
        font-size: 12px;
    }

    .footer-column h3 {
        font-size: 16px;
    }

    .footer-column p,
    .footer-column a {
        font-size: 12px;
    }

    .categories-inner {
        gap: 15px;
    }

    .category-item {
        width: 80px;
    }

    .category-image {
        width: 60px;
        height: 60px;
    }

    .category-item p {
        font-size: 10px;
    }

    .card-sidebar {
        display: none;
    }

    .post-card {
        min-height: 280px;
    }

    .card-image {
        height: 250px;
    }

    .card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .search-bar.mobile-only {
        top: 50px;
        width: 180px;
    }

    main {
        padding-top: 20px;
    }

    header {
        padding: 5px 10px;
    }

    .post-full-content {
        min-height: 400px;
        padding: 15px;
    }

    .post-title {
        font-size: 20px;
    }

    .section-title {
        font-size: 18px;
    }

    .section-text {
        font-size: 14px;
    }

    .post-date {
        font-size: 12px;
    }

    #back-button {
        padding: 8px 16px;
        font-size: 12px;
    }

    .close-modal {
        font-size: 30px;
        top: 10px;
        right: 10px;
    }

    .filter-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    .about-tabs .tab-button {
        flex: 1 1 100%;
    }

    .company-info p,
    .timeline-item p {
        font-size: 14px;
    }

    .timeline-year {
        font-size: 16px;
    }

    .post-video iframe {
        height: 180px;
    }

    .section-text pre {
        font-size: 12px;
        padding: 6px;
    }

    .download-search-bar input {
        font-size: 13px;
        padding: 8px;
    }

    .download-search-bar button {
        height: 38px;
    }
}

.search-bar {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-bar input {
    padding: 8px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    width: 180px;
    transition: width 0.3s ease;
}

.search-bar input:focus {
    outline: none;
    width: 190px;
}

.search-bar button {
    background-color: #0575E6;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    color: white;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-bar button i {
    font-size: 16px;
}

.search-bar button:hover {
    background-color: #0057FF;
}

.search-bar.mobile-only {
    display: none;
    position: fixed;
    top: 120px;
    right: -100%;
    width: 230px;
    padding: 10px;
    background-color: #033869;
    z-index: 1001;
    transition: right 0.3s ease-in-out;
    justify-content: center;
}

body.menu-open .search-bar.mobile-only {
    display: flex;
    right: 10px;
}

.categories-carousel {
    margin: 40px 0;
    text-align: center;
}

.categories-carousel h1 {
    font-size: 28px;
    color: #033869;
    margin-bottom: 10px;
}

.categories-wrapper {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    padding: 0 40px;
}

.categories-inner {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.categories-inner::-webkit-scrollbar {
    display: none;
}

.category-item {
    flex: 0 0 auto;
    text-align: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    width: 120px;
    scroll-snap-align: center;
}

.category-item:hover {
    transform: scale(1.05);
}

.category-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    border: 2px solid #0575E6;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-item p {
    font-size: 14px;
    color: #333;
    margin-top: 10px;
    font-weight: 500;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-arrow:hover {
    background-color: rgba(255, 255, 255, 1);
}

.carousel-arrow.left-arrow {
    left: 0;
}

.carousel-arrow.right-arrow {
    right: 0;
}

.carousel-arrow i {
    color: #0575E6;
    font-size: 16px;
}

#view-all-posts {
    display: block;
    background: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

#view-all-posts:hover {
    background: #0056b3;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.back-to-top:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 1215px) {
    .social-links p {
        font-size: 15px;
    }
}

@media (max-width: 1024px) {
    .blog-card.active {
        display: flex;
        flex-direction: column;
    }

    .social-container {
        display: none;
        height: 0;
    }

    .social-links {
        visibility: hidden;
    }

    .blog-card {
        display: grid;
        grid-template-columns: 1fr 2fr 1fr;
        grid-template-areas: "image content sidebar";
    }

    .card-image {
        max-width: 100%;
        height: 250px;
        flex: none;
    }

    .card-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .card-content {
        grid-area: content;
        min-width: 0;
    }

    .card-sidebar {
        grid-area: sidebar;
        border-left: none;
        border-top: none;
    }

    header {
        top: 0;
    }

    main {
        padding-top: 40px;
    }
}

@media (min-width: 769px) {
    .search-bar.desktop-only {
        display: flex;
    }

    .search-bar.mobile-only {
        display: none !important;
    }

    header {
        justify-content: space-between;
        align-items: center;
    }
}

.search-bar {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-bar input {
    padding: 8px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    width: 180px;
    transition: width 0.3s ease;
}

.search-bar input:focus {
    outline: none;
    width: 190px;
}

.search-bar button {
    background-color: #0575E6;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    color: white;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-bar button i {
    font-size: 16px;
}

.search-bar button:hover {
    background-color: #0057FF;
}

.search-bar.mobile-only {
    display: none;
    position: fixed;
    top: 120px;
    right: -100%;
    width: 230px;
    padding: 10px;
    background-color: #033869;
    z-index: 1001;
    transition: right 0.3s ease-in-out;
    justify-content: center;
}

body.menu-open .search-bar.mobile-only {
    display: flex;
    right: 10px;
}

.categories-carousel {
    margin: 40px 0;
    text-align: center;
}

.categories-carousel h1 {
    font-size: 28px;
    color: #033869;
    margin-bottom: 10px;
}

.categories-wrapper {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    padding: 0 40px;
}

.categories-inner {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.categories-inner::-webkit-scrollbar {
    display: none;
}

.category-item {
    flex: 0 0 auto;
    text-align: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    width: 120px;
    scroll-snap-align: center;
}

.category-item:hover {
    transform: scale(1.05);
}

.category-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    border: 2px solid #0575E6;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-item p {
    font-size: 14px;
    color: #333;
    margin-top: 10px;
    font-weight: 500;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-arrow:hover {
    background-color: rgba(255, 255, 255, 1);
}

.carousel-arrow.left-arrow {
    left: 0;
}

.carousel-arrow.right-arrow {
    right: 0;
}

.carousel-arrow i {
    color: #0575E6;
    font-size: 16px;
}

#view-all-posts {
    display: block;
    background: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

#view-all-posts:hover {
    background: #0056b3;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.back-to-top:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.blog-card .post-content {
    padding: 5px;
    padding-left: 15px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.blog-card .post-content h3 {
    color: #007bff;
}

.download-section {
    margin: 40px 0;
    padding: 0 15px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.download-section .text-header {
    text-align: center;
    margin-bottom: 30px;
    color: #033869;
}

.download-section .text-header h1 {
    font-size: 36px;
}


.download-tabs {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
}

.tab-button {
    flex: 1;
    padding: 15px;
    border: none;
    background: none;
    font-size: 16px;
    color: #666;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tab-button:hover {
    background: #e9ecef;
    color: #033869;
}

.tab-button.active {
    background: #0575E6;
    color: white;
}

.tabs-content {
    padding: 20px;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.6s ease-in-out;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.download-item {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.download-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.download-info {
    flex: 1;
    padding-right: 15px;
}

.download-info h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
    font-weight: 500;
}

.download-info p {
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
}

.download-size {
    font-size: 12px;
    color: #999;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #007bff;
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    transition: background 0.3s ease;
}

.download-btn:hover {
    background: #0056b3;
}

.download-btn i {
    font-size: 16px;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-section {
    margin: 40px 0;
    padding: 0 15px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.about-section .text-header {
    text-align: center;
    margin-bottom: 40px;
    color: #033869;
}

.about-section .text-header h1 {
    font-size: 36px;
}

.about-tabs {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.about-tabs .tabs-header {
    display: flex;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
}

.about-tabs .tab-button {
    flex: 1;
    padding: 15px;
    border: none;
    background: none;
    font-size: 18px;
    color: #666;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    font-weight: 500;
}

.about-tabs .tab-button:hover {
    background: #e9ecef;
    color: #033869;
}

.about-tabs .tab-button.active {
    background: #0575E6;
    color: white;
}

.about-tabs .tabs-content {
    padding: 30px;
}

.about-tabs .tab-panel {
    display: none;
}

.about-tabs .tab-panel.active {
    display: block;
    animation: fadeIn 0.6s ease-in-out;
}

.company-header {
    position: relative;
    margin-bottom: 30px;
}

.company-banner {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

.company-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 56, 105, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    border-radius: 10px;
}

.company-overlay h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.company-overlay p {
    font-size: 18px;
}

.company-info {
    max-width: 900px;
    margin: 0 auto 30px;
    text-align: center;
}

.company-info h3 {
    font-size: 24px;
    color: #033869;
    margin-bottom: 15px;
}

.company-info p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.company-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.company-timeline h3 {
    font-size: 24px;
    color: #033869;
    margin-bottom: 20px;
    text-align: center;
}

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    height: 100%;
    width: 2px;
    background: #0575E6;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -25px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: #007bff;
    border-radius: 50%;
    border: 2px solid #fff;
}

.timeline-year {
    display: block;
    font-size: 18px;
    color: #0575E6;
    font-weight: 500;
    margin-bottom: 5px;
}

.timeline-item p {
    font-size: 16px;
    color: #666;
}

.team-intro {
    text-align: center;
    margin-bottom: 30px;
}

.team-intro h3 {
    font-size: 24px;
    color: #033869;
    margin-bottom: 10px;
}

.team-intro p {
    font-size: 16px;
    color: #666;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.team-member {
    text-align: center;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.member-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #0575E6;
    transition: border-color 0.3s ease;
}

.team-member:hover .member-photo {
    border-color: #007bff;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
    font-weight: 500;
}

.member-role {
    font-size: 14px;
    color: #0575E6;
    margin-bottom: 10px;
}

.member-bio {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.search-results {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    background: #f8f9fa;
    min-height: 100vh;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlide 0.6s ease-out forwards;
}

.search-results h1 {
    font-size: 32px;
    color: #033869;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

#back-from-search {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    font-size: 14px;
    background-color: #0575E6;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    text-transform: uppercase;
    margin: 0 0 30px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#back-from-search:hover {
    background-color: #0057FF;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

#back-from-search:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#search-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    padding: 0 10px;
}

.search-results .post-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(15px);
    animation: cardFadeIn 0.5s ease-out forwards;
    animation-delay: calc(var(--order) * 0.1s);
}

.search-results .post-card:nth-child(1) {
    --order: 1;
}

.search-results .post-card:nth-child(2) {
    --order: 2;
}

.search-results .post-card:nth-child(3) {
    --order: 3;
}

.search-results .post-card:nth-child(4) {
    --order: 4;
}

.search-results .post-card:nth-child(5) {
    --order: 5;
}

.search-results .post-card:nth-child(6) {
    --order: 6;
}

@keyframes cardFadeIn {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-results .post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.search-results .post-image {
    height: 200px;
    background: #e9ecef;
    position: relative;
    overflow: hidden;
}

.search-results .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.search-results .post-card:hover .post-image img {
    transform: scale(1.08);
}

.search-results .post-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.search-results .post-content .category {
    font-size: 12px;
    color: #0575E6;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.search-results .post-content h3 {
    font-size: 18px;
    color: #333;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-results .post-content .date {
    font-size: 12px;
    color: #999;
    margin-top: auto;
}

.search-results .post-card::after {
    content: "Leia Mais";
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 12px;
    color: #007bff;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.search-results .post-card:hover::after {
    opacity: 1;
}

.search-results .no-results {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 18px;
    font-weight: 500;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin: 20px auto;
    max-width: 500px;
}

.post-card,
.blog-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.post-card:hover,
.blog-card:hover {
    transform: translateY(-5px);
}

.post-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.post-content h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.post-content .resumo {
    font-size: 14px;
    color: #777;
    margin: 0;
}

.post-footer-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    border-top: 1px solid #eee;
}

.post-views {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: #1a73e8;
    padding: 4px 10px;
    border-radius: 8px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.post-views i {
    font-size: 14px;
    animation: pulse 2s infinite;
}

.post-views .view-count::after {
    content: " Visualizações";
    color: #fff;
}

.post-views:hover {
    background: #1557b0;
    transform: scale(1.05);
}

.view-count {
    min-width: 20px;
    text-align: center;
}

.post-footer {
    padding: 15px;
    background: #f9f9f9;
    border-top: 1px solid #ddd;
    display: flex;
    gap: 20px;
    align-items: center;
}

.post-footer .post-views {
    font-size: 14px;
    padding: 5px 12px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.download-search-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.download-search-bar input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.download-search-bar input:focus {
    outline: none;
    border-color: #0575E6;
    box-shadow: 0 2px 8px rgba(5, 117, 230, 0.2);
}

.download-search-bar button {
    background-color: #0575E6;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    color: white;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 45px;
}

.download-search-bar button:hover {
    background-color: #0057FF;
    transform: scale(1.05);
}

.download-search-bar button i {
    font-size: 18px;
}

.download-item.hidden {
    display: none;
}

.no-results {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 16px;
    background: #fff;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}