.mil-p-200-60 {
    padding-top: 200px;
    padding-bottom: 60px;
}

@media screen and (max-width: 992px) {
    .mil-p-200-60 {
        padding-top: 150px;
        padding-bottom: 30px;
    }
}


/* img */
.grid-container {
    margin: 0px auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 cột mỗi hàng */
    gap: 20px;
    /* Khoảng cách giữa các ô */
    width: 80%;
    /* Chiều rộng container */

    overflow: hidden;
}

.grid-item {
    position: relative;
    height: 100%;
    /* Đảm bảo grid-item chiếm toàn bộ chiều cao */
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
}

.grid-item img {
    width: 100%;
    /* Fill đủ chiều rộng */
    height: 100%;
    /* Fill đủ chiều cao */
    display: block;
    object-fit: cover;
    /* Đảm bảo ảnh không bị méo */
}

.yellow-bg {
    background-color: #ffe082;
    border-radius: 15px;
}

.blue-bg {
    background-color: #b3e5fc;
    border-radius: 15px;
}



/* animation box */
.wrapper {
    position: relative;
}

.box {
    position: absolute;
    /* Đặt vị trí tuyệt đối */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Đặt box phía sau nội dung khác */
    overflow: hidden;
    /* Ẩn phần tử thừa */
}

.box div {
    position: absolute;
    width: 60px;
    height: 60px;
    background-color: #2D4487;
    border: 6px solid rgba(255, 255, 255, 0.8);
    border-radius: 20%;
    /* Làm tròn góc */
}

.box div:nth-child(1) {
    top: 50%;
    left: 20%;
    animation: animate 10s linear infinite;
}

.box div:nth-child(2) {
    top: 63%;
    left: 50%;
    animation: animate 5s linear infinite;
}

.box div:nth-child(3) {
    top: 90%;
    left: 90%;
    animation: animate 10s linear infinite;
}

.box div:nth-child(4) {
    top: 25%;
    left: 32%;
    animation: animate 4s linear infinite;
}

.box div:nth-child(5) {
    top: 32%;
    left: 10%;
    animation: animate 8s linear infinite;
}

.box div:nth-child(6) {
    top: 73%;
    left: 33%;
    animation: animate 5s linear infinite;
}

.box div:nth-child(7) {
    top: 60%;
    left: 74%;
    animation: animate 3s linear infinite;
}

.box div:nth-child(8) {
    top: 12%;
    left: 30%;
    animation: animate 10s linear infinite;
}

.box div:nth-child(9) {
    top: 84%;
    left: 9%;
    animation: animate 9s linear infinite;
}

@keyframes animate {
    0% {
        transform: scale(0) translateY(0) rotate(0);
        opacity: 1;
    }

    100% {
        transform: scale(1.5) translateY(-500px) rotate(360deg);
        ;
        opacity: 0;
    }
}









/*  */

.intro-container {
    border: 2px solid #1a374d;
    /* Viền xanh đậm */
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    position: relative;
    border-radius: 5px;
}

.intro-heading {
    font-size: 24px;
    font-weight: bold;
    color: #1a374d;
    margin: 0;
    display: inline-block;
    position: relative;
    background: #f5f8fc;
}

.intro-content {
    margin-top: 20px;
    color: #333;
    text-align: justify;
}

.intro-footer {
    font-size: 18px;
    font-style: italic;
    color: #1a374d;
    position: absolute;
    bottom: -20px;
    right: 20px;
    background: #f5f8fc;
    padding: 0 10px;
    transform: translateY(50%);
}

/* cot loi */
.title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 30px;
}

.cotlois {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-left: -20px;


}

.cotloi {
    box-sizing: border-box;
    width: 18%;
    min-width: 200px;
    height: 250px;
    padding: 20px;
    border-radius: 15px;
    border: 1px solid #fff;
    background: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    text-align: left;
    border-left: 5px solid #2D4487;
    margin-left: 20px;
    margin-bottom: 20px;
}

.cotloi:hover {

    border-left: 5px solid black;
}


.cotloi-number {
    font-size: 96px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.24px;
    position: absolute;
    top: 10px;
    left: 15px;
    background: #2D4487;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.6;
}

.cotloi-text {
    margin-top: 100px;
    position: relative;
    z-index: 2;
}

.cotloi h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.cotloi p {
    font-size: 14px;
    margin: 5px 0;
}

/* Responsive */
@media screen and (max-width: 1024px) {
    .cotloi {
        width: 45%;
    }
}

@media screen and (max-width: 600px) {
    .cotloi {
        width: 100%;
    }
}

/* time line */


/* TIMELINE
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.timeline {
    white-space: nowrap;
    overflow-x: hidden;
}

.timeline ol {
    font-size: 0;
    width: 100vw;
    padding: 250px 0;
    transition: all 1s;
}

.timeline ol li {
    position: relative;
    display: inline-block;
    list-style-type: none;
    width: 130px;
    height: 3px;
    background: #2D4487;

}

.timeline ol li:last-child {
    width: 280px;
}

.timeline ol li:not(:first-child) {
    margin-left: 14px;
}

.timeline ol li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    left: calc(100% + 1px);
    bottom: 0;
    width: 12px;
    height: 12px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: #f45b69;
}

.timeline ol li div {
    position: absolute;
    left: calc(100% + 7px);
    width: 280px;
    padding: 15px;
    font-size: 1rem;
    white-space: normal;
    color: black;
    background: white;
    border-radius: 15px;
}

.timeline ol li div::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 0;
    height: 0;
    border-style: solid;
}

.timeline ol li:nth-child(odd) div {
    top: -16px;
    transform: translateY(-100%);
}

.timeline ol li:nth-child(odd) div::before {
    top: 100%;
    border-width: 8px 8px 0 0;
    border-color: white transparent transparent transparent;
}

.timeline ol li:nth-child(even) div {
    top: calc(100% + 16px);
}

.timeline ol li:nth-child(even) div::before {
    top: -8px;
    border-width: 8px 0 0 8px;
    border-color: transparent transparent transparent white;
}

.timeline time {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 8px;
}

/* TIMELINE ARROWS
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.timeline .arrows {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.timeline .arrows .arrow__prev {
    margin-right: 20px;
}

.timeline .disabled {
    opacity: 0.5;
}

.timeline .arrows img {
    width: 45px;
    height: 45px;
}

/* GENERAL MEDIA QUERIES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@media screen and (max-width: 1200px) {
    .timeline {
        overflow-x: auto;
    }
}

@media screen and (max-width: 599px) {

    .timeline ol,
    .timeline ol li {
        width: auto;
    }

    .timeline {
        overflow-x: auto;
    }

    .timeline ol {
        padding: 0;
        transform: none !important;
    }

    .timeline ol li {
        margin-bottom: 5px;
        display: block;
        height: auto;
        background: transparent;
        border: 1px solid black;
        border-radius: 15px;


    }

    .timeline ol li:first-child {
        margin-top: 25px;
    }

    .timeline ol li:not(:first-child) {
        margin-left: auto;
    }

    .timeline ol li div {
        position: static;
        width: 94%;
        height: auto !important;
        margin: 0 auto 25px;
    }

    .timeline ol li:nth-child(odd) div {
        transform: none;
    }

    .timeline ol li:nth-child(odd) div::before,
    .timeline ol li:nth-child(even) div::before {
        left: 50%;
        top: 100%;
        transform: translateX(-50%);
        border: none;
        border-left: 1px solid white;
        height: 25px;
    }

    .timeline ol li:last-child,
    .timeline ol li:nth-last-child(2) div::before,
    .timeline ol li:not(:last-child)::after,
    .timeline .arrows {
        display: none;
    }
    .items.row.align-items-center.d-flex.justify-content-center.align-items-lg-center .item a img{
        display: flex;
        padding: 20px;
    }
}

/* slider */

.items {
    margin-left: -10px;
}

.item {
    box-sizing: border-box;
    width: 20%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    /* Khoảng cách bên trong */
    box-sizing: border-box;
    /* Bao gồm padding trong kích thước */
    border: 0.1rem var(--primary) solid;
    border-radius: 5px;
    margin-left: 10px;
}

.item img {
    max-width: 100px;
    /* Đảm bảo ảnh vừa khung */
    max-height: 100px;
    /* Đảm bảo ảnh không vượt quá chiều cao */
    object-fit: contain;
    /* Giữ tỷ lệ ảnh */
}


/* su menh tam ninh */
.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
}

.card-custom {
    background: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.card-custom:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.15);
}

.icon-box {
    font-size: 50px;
    color: #007bff;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .card-custom {
        padding: 20px;
    }
}