.header-fixed {
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
}

.post-img {
    width: 100%;
    height: 100%;
}

.post-img>img {
    width: 100%;
    height: 100%;
}


.text-bolder {
    font-weight: bolder;

}

.img-fluid-70 {
    max-width: 100%;
    height: auto;
}

.breadcrumbs-carousel {
    position: relative;
    overflow: hidden;
}

.breadcrumbs-swiper {
    width: 100%;
    height: 100%;
}

.breadcrumbs-swiper .breadcrumbs {
    width: 100%;
    height: 500px;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.breadcrumbs-swiper .swiper-button-next,
.breadcrumbs-swiper .swiper-button-prev {
    color: #fff;
}

.breadcrumbs-swiper .swiper-pagination-bullet {
    background: #fff;
}

.breadcrumbs-swiper .swiper-pagination-bullet-active {
    background: var(--color-primary, #feb900);
}

/* New Timeline Styles */
.new-timeline-container {
    padding: 30px 0;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.new-timeline-container::after {
    content: '';
    position: absolute;
    width: 3px;
    background: linear-gradient(180deg, transparent, #c41e3a 5%, #c41e3a 95%, transparent);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
    z-index: 0;
}

.new-timeline-title {
    text-align: center;
    color: #c41e3a;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 40px;
}

.new-timeline {
    position: relative;
    padding: 0;
    list-style: none;
}

.new-timeline-event {
    padding: 20px 0;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    z-index: 1;
}

/* Node dot on center line */
.new-timeline-event::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: #c41e3a;
    border: 3px solid #fff;
    top: 32px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.25);
}

.new-timeline-event-left {
    left: 0;
    padding-right: 85px;
}

.new-timeline-event-left::after {
    right: -11px;
}

.new-timeline-event-right {
    left: 50%;
    padding-left: 85px;
}

.new-timeline-event-right::after {
    left: -11px;
}

.new-timeline-year {
    position: absolute;
    top: 17px;
    width: 65px;
    height: 65px;
    line-height: 65px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c41e3a, #a01628);
    color: white;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.35);
}

.new-timeline-event-left .new-timeline-year {
    right: 12px;
}

.new-timeline-event-right .new-timeline-year {
    left: 12px;
}

.new-timeline-content {
    padding: 20px 24px;
    background: #fff;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 3px solid #c41e3a;
}

.new-timeline-content:hover {
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.15);
    transform: translateY(-3px);
}

.new-timeline-content p {
    margin: 0;
    color: #444;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Arrow for left event (points right toward center) */
.new-timeline-event-left .new-timeline-content::before {
    content: '';
    position: absolute;
    top: 28px;
    right: -10px;
    border-style: solid;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent #fff;
}

/* Arrow for right event (points left toward center) */
.new-timeline-event-right .new-timeline-content::before {
    content: '';
    position: absolute;
    top: 28px;
    left: -10px;
    border-style: solid;
    border-width: 10px 10px 10px 0;
    border-color: transparent #fff transparent transparent;
}

/* ---- Responsive: Tablet (max-width: 991px) ---- */
@media (max-width: 991px) {
    .new-timeline-container::after {
        left: 35px;
    }

    .new-timeline-event {
        width: 100%;
        padding-left: 90px;
        padding-right: 15px;
    }

    .new-timeline-event::after {
        left: 29px;
        right: auto;
    }

    .new-timeline-event-left,
    .new-timeline-event-right {
        left: 0;
    }

    .new-timeline-event-left .new-timeline-year,
    .new-timeline-event-right .new-timeline-year {
        left: 3px;
        right: auto;
    }

    .new-timeline-event-left .new-timeline-content::before,
    .new-timeline-event-right .new-timeline-content::before {
        left: -10px;
        right: auto;
        border-width: 10px 10px 10px 0;
        border-color: transparent #fff transparent transparent;
    }
}

/* ---- Responsive: Mobile (max-width: 768px) ---- */
@media (max-width: 768px) {
    .new-timeline-container::after {
        left: 28px;
    }

    .new-timeline-year {
        width: 55px;
        height: 55px;
        line-height: 55px;
        font-size: 0.95rem;
    }

    .new-timeline-event {
        padding-left: 75px;
    }

    .new-timeline-event-left .new-timeline-year,
    .new-timeline-event-right .new-timeline-year {
        left: 0;
    }

    .new-timeline-event::after {
        left: 22px;
    }
}

/* ---- Responsive: Small Mobile (max-width: 576px) ---- */
@media (max-width: 576px) {
    .new-timeline-container::after {
        left: 20px;
    }

    .new-timeline-year {
        width: 42px;
        height: 42px;
        line-height: 42px;
        font-size: 0.8rem;
    }

    .new-timeline-event {
        padding-left: 55px;
        padding-right: 0;
    }

    .new-timeline-event-left .new-timeline-year,
    .new-timeline-event-right .new-timeline-year {
        left: -1px;
    }

    .new-timeline-event::after {
        display: none;
    }

    .new-timeline-event-left .new-timeline-content::before,
    .new-timeline-event-right .new-timeline-content::before {
        display: none;
    }

    .new-timeline-content {
        padding: 15px 18px;
    }
}

/* ===================================
   CARDS DE INFRAESTRUTURA - DESIGN MODERNO
   =================================== */

.infra-cards-wrapper {
    gap: 1.5rem;
}

.infra-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.infra-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(196, 30, 58, 0.15);
    border-color: rgba(196, 30, 58, 0.2);
}

/* Header do Card */
.infra-card-header {
    background: linear-gradient(135deg, #c41e3a 0%, #a01628 100%);
    padding: 1.75rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.infra-card-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    z-index: 0;
}

.infra-card-header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.infra-header-content {
    position: relative;
    z-index: 1;
}

.infra-card-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.infra-card:hover .infra-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.infra-card-icon i {
    font-size: 2rem;
    color: #c41e3a;
}

.infra-card-title {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.02em;
}

.infra-card-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
    margin: 0.25rem 0 0;
}

/* Body do Card */
.infra-card-body {
    padding: 1.5rem;
    background: #fff;
}

/* Item Individual */
.infra-item {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.infra-item:hover {
    background: #fff;
    border-color: rgba(196, 30, 58, 0.15);
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(196, 30, 58, 0.08);
}

.infra-item-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.08) 0%, rgba(196, 30, 58, 0.12) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.infra-item:hover .infra-item-icon {
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.12) 0%, rgba(196, 30, 58, 0.18) 100%);
    transform: scale(1.1);
}

.infra-item-icon i {
    font-size: 1.125rem;
    color: #c41e3a;
}

.infra-item-content {
    flex: 1;
    min-width: 0;
}

.infra-item-label {
    display: block;
    font-size: 0.8125rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.infra-item-value {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #c41e3a;
    line-height: 1.2;
}

/* Animação de Entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.infra-card {
    animation: fadeInUp 0.6s ease backwards;
}

.infra-card:nth-child(1) {
    animation-delay: 0.1s;
}

.infra-card:nth-child(2) {
    animation-delay: 0.2s;
}

.infra-card:nth-child(3) {
    animation-delay: 0.3s;
}

/* Responsividade */
@media (max-width: 768px) {
    .infra-card-header {
        padding: 1.5rem 1.25rem;
    }

    .infra-card-icon {
        width: 56px;
        height: 56px;
    }

    .infra-card-icon i {
        font-size: 1.75rem;
    }

    .infra-card-title {
        font-size: 1.125rem;
    }

    .infra-card-body {
        padding: 1.25rem;
    }

    .infra-item {
        padding: 0.875rem;
    }

    .infra-item-icon {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .infra-cards-wrapper {
        gap: 1rem;
    }

    .infra-card-header {
        padding: 1.25rem 1rem;
    }

    .infra-card-body {
        padding: 1rem;
    }
}

.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 400px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.service-card .btn-light:hover {
    background-color: #f8f9fa;
    transform: scale(1.05);
    transition: all 0.3s ease;
}

@media (max-width: 991px) {
    .service-card {
        min-height: 350px;
    }
}

@media (max-width: 767px) {
    .service-card {
        min-height: 300px;
    }
}

.ods-section {
    padding: 80px 20px;
    /* background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%); */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
}

.ods-wrapper {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    height: 800px;
}

/* Círculo central */
.ods-center {
    position: absolute;
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 25px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border: 8px solid #2b5fa7;
    z-index: 10;
}

.ods-logo {
    width: 140px;
    height: 140px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #e52e3d 0%, #c41e3a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 16px;
    line-height: 1.3;
    padding: 20px;
}

.ods-center h4 {
    font-size: 20px;
    margin-bottom: 18px;
    color: #2b5fa7;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ods-center p {
    font-size: 13px;
    line-height: 1.7;
    color: #333;
}

/* Cards ODS */
.ods-item {
    position: absolute;
    width: 280px;
    background: white;
    padding: 15px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    transition: all 0.3s ease;
    border-left: 6px solid;
}

.ods-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.ods-item h5 {
    margin-bottom: 12px;
    font-size: 17px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ods-item p {
    line-height: 1.6;
    color: #555;
    font-size: 0.7rem;
}

.ods-icon {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
    flex-shrink: 0;
}

/* Conectores */
.connector {
    position: absolute;
    background: linear-gradient(90deg, rgba(43, 95, 167, 0.3), rgba(43, 95, 167, 0.1));
    z-index: 1;
}

/* Cores por ODS */
.item-1 {
    border-left-color: #e5243b;
    top: 7%;
    left: 37.5%;
}

.item-1 .ods-icon {
    background: linear-gradient(135deg, #e5243b, #c41e3a);
}

.item-2 {
    border-left-color: #fd6925;
    top: 20%;
    right: 20px;
}

.item-2 .ods-icon {
    background: linear-gradient(135deg, #fd6925, #d9531e);
}

.item-3 {
    border-left-color: #fdb713;
    bottom: 30%;
    right: 20px;
}

.item-3 .ods-icon {
    background: linear-gradient(135deg, #fdb713, #d99711);
}

.item-4 {
    border-left-color: #3f7e44;
    bottom: 5%;
    right: 20%;
}

.item-4 .ods-icon {
    background: linear-gradient(135deg, #3f7e44, #2d5a30);
}

.item-5 {
    border-left-color: #c9992d;
    bottom: 5%;
    left: 20%;
}

.item-5 .ods-icon {
    background: linear-gradient(135deg, #c9992d, #a17824);
}

.item-6 {
    border-left-color: #00689d;
    bottom: 30%;
    left: 20px;
}

.item-6 .ods-icon {
    background: linear-gradient(135deg, #00689d, #004d74);
}

.item-7 {
    border-left-color: #c5192d;
    top: 20%;
    left: 20px;
}

.item-7 .ods-icon {
    background: linear-gradient(135deg, #c5192d, #8e1320);
}

/* Responsivo */
@media (max-width: 992px) {
    .ods-wrapper {
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 25px;
        padding-top: 30px;
    }

    .ods-center,
    .ods-item {
        position: static;
        transform: none;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .ods-center {
        border-radius: 20px;
        height: auto;
    }

    .connector {
        display: none;
    }
}

@media (max-width: 600px) {
    .ods-section {
        padding: 40px 15px;
    }

    .ods-center {
        padding: 30px 20px;
    }

    .ods-logo {
        width: 100px;
        height: 100px;
        font-size: 13px;
        padding: 15px;
    }

    .ods-center h4 {
        font-size: 18px;
    }

    .ods-center p {
        font-size: 12px;
    }

    .ods-item {
        padding: 20px;
    }

    .ods-item h5 {
        font-size: 15px;
        flex-direction: column;
        align-items: flex-start;
    }
}