.profile-banner.with-overlay {
    position: relative;
    background-image: url("/landing/images/banner-1.webp");
    background-size: cover;
    background-position: 100% 80%;
    background-repeat: no-repeat;
    /* min-height: 400px; */
    z-index: 0;
    overflow: hidden;
}

.structure-banner.with-overlay {
    position: relative;
    background-image: url("/landing/images/banner-6.webp");
    background-size: cover;
    background-position: 100% 40%;
    background-repeat: no-repeat;
    /* min-height: 400px; */
    z-index: 0;
    overflow: hidden;
}

.div-about {
    border: 1px solid black;
    padding: 40px;
    border-radius: 25px;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: auto;
    /* padding: 60px 0; */
}

.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: #ccc;
    transform: translateX(-50%);
    z-index: 0;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 40px 30px;
    box-sizing: border-box;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}

.timeline-item::after {
    content: "";
    position: absolute;
    /* top: calc(var(--img-h, 300px) + 16px); */
    top: 50%;
    width: 14px;
    height: 14px;
    background: #007bff;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 2px #ccc;
    z-index: 2;
}

.timeline-item.left::after {
    left: 100%;
    transform: translate(-50%, -50%);
}

.timeline-item.right::after {
    left: 0;
    transform: translate(-50%, -50%);
}

.timeline-body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    display: block;
}

.timeline-content {
    margin-top: 10px;
    /* background: #f9f9f9; */
    padding: 20px;
    /* border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
    color: black;
    text-align: left;
    width: 100%;
    max-width: 400px;
}

.timeline-content ul,
.timeline-content p {
    margin-top: 10px;
}

.org-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 40px 20px;
}

.level {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    width: 220px;
    color: black;
    transition: transform 0.3s;
}

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

/* .photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid #4f46e5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-size: 12px;
  color: #4f46e5;
} */

.name {
    font-weight: 600;
    margin-bottom: 4px;
}

.position {
    font-size: 14px;
    color: #666;
}

.position span {
    display: block;
    font-weight: 600;
    color: #4f46e5;
    margin-top: 4px;
}

.company-structure-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.company-structure-card {
    text-align: center;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.company-structure-name {
    font-weight: 500;
    color: #000;
    font-size: 18px;
}

.company-structure-position {
    font-size: 15px;
    color: #666;
    margin-top: 5px;
}

@media (max-width: 992px) {
    .company-structure-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 991px) {
    .mil-about-photo {
        display: none;
    }
}

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

    .card {
        width: 100%;
        max-width: 320px;
    }

    .company-structure-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline-body {
        align-items: flex-start;
    }
    .timeline::before {
        left: 20px;
        transform: none;
        display: none;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding: 30px;
        text-align: left;
    }

    .timeline-item::after {
        left: 20px;
        transform: translateY(-50%);
        width: 12px;
        height: 12px;
        display: none;
    }

    .timeline-content {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .company-structure-container {
        grid-template-columns: 1fr;
    }
}
