/* cmsms stylesheet: style_css modified: Tuesday, May 19, 2026 9:32:40 PM */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.swiper-wrapper{
    height: auto;
}
body {
    font-family: 'Inter', sans-serif;
    background: #FFF;
    color: #1e2a1c;
}
.modal-body a{
    color: #20662c;
}
.main-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
}

/* header */
.academy-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
}

.academy-header h1 {
    font-size: 2.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1c6e2f, #4f964b);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    letter-spacing: -0.3px;
    margin-bottom: 12px;
}

.academy-header p {
    color: #4f7350;
    margin-top: 0.5rem;
    border-bottom: 2px solid #cfebc2;
    display: inline-block;
    padding-bottom: 0.3rem;
    margin-bottom: 0rem;
    
}

.academy-header .sub {
    border-bottom: 2px solid #cfebc2;
    display: inline-block;
    padding-bottom: 0.3rem;
    font-weight: 500;
}

/* TIMELINE LAYOUT */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 2rem auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background: linear-gradient(to bottom, #bdd8ae, #6f9e64);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    width: 50%;
}

.timeline-item.left {
    left: 0;
    padding-right: 2rem;
}

.timeline-item.right {
    left: 50%;
    padding-left: 2rem;
}

.timeline-marker {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #ffffff;
    border: 3px solid #388e3c;
    border-radius: 50%;
    top: 32px;
    z-index: 2;
    box-shadow: 0 0 0 4px #e9f3e3;
}

.left .timeline-marker {
    right: -10px;
}

.right .timeline-marker {
    left: -10px;
}

.timeline-card {
    background: white;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
    border: 1px solid #e2efda;
}

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

.card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.card-inner {
    padding: 1.5rem;
}

.generation-badge {
    display: inline-block;
    background: #eef5e9;
    color: #2e7d32;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 14px;
    padding: 0.5rem 1rem;
    border-radius: 40px;
}

.card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1b4d23;
    margin-bottom: 0.6rem;
}

.card-description {
    color: #3a5436;
    line-height: 1.5;
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
}

.readmore-btn {
    background: none;
    border: 1px solid #bcddae;
    padding: 0.5rem 1rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.8rem;
    color: #2a7334;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
}

.readmore-btn:hover {
    background: #eaf5e4;
    gap: 12px;
}

.timeline-year-large {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #2a6e2f, #559c4a);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.fulldetail {
    /*max-width: 700px;*/
    margin: auto;
    text-align: justify;
}
  .fa-quote-left{
        position: absolute;
    top: 0;
    }
@media (max-width: 768px) {
    .main-container {
        padding: 1.2rem;
    }

    .timeline::after {
        left: 0px;
    }

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

    .timeline-item.right {
        padding-left: 1rem;
    }

    .left .timeline-marker,
    .right .timeline-marker {
        left: -10px;
        right: auto;
    }

    .timeline-year-large {
        font-size: 1.6rem;
    }

    .timeline-item.left {
        padding-right: 0rem;
    }

    .timeline-card {
        margin-bottom: 1rem;
    }

    .card-image {
        height: 200px;
    }

    .fulldetail {
        max-width: 100%;
        margin: auto;
        text-align: justify;
    }
    .fa-quote-left{
        position: absolute;
        top: 0;
    }
    .academy-header {
    margin-bottom: 0rem;
    }
    .gallery-swiper-slide img {
    height: 200px;
    }
    .swiper-button-next,
    .swiper-button-prev {
       display: none;
    }

}

/* MODAL */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 30, 10, 0.9);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: 0.2s;
}

.modal-overlay.active {
    visibility: visible;
    opacity: 1;
}

.modal-container {
    background: #ffffff;
    width: 100%;
    max-height: 100vh;
    overflow-y: auto;
    box-shadow: 0 40px 50px rgba(0, 0, 0, 0.3);
    animation: fadeUp 0.25s ease;
}

@keyframes fadeUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    position: sticky;
    top: 0;
    background: white;
    padding: 1rem 2rem;
    border-bottom: 2px solid #e2f0da;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #20662c;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #7e9a72;
    transition: 0.2s;
}

.close-modal:hover {
    color: #c73e3e;
}

.modal-body {
    padding: 1rem;
    overflow-x: hidden;
}

.summary-banner {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
}
.detail-banner {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
}

.detail-full-text {
    position: relative;
    font-size: 1rem;
    line-height: 1.6;
    color: #2b4228;
    margin-bottom: 2rem;
    padding: 1rem 1.2rem;
    border-radius: 1rem;
    border-left: 5px solid #8bc47a;
}

.carousel-section {
    margin: 2rem 0;
    border-top: 1px solid #e1e1e1;
    padding-top: 20px;
}

.carousel-section h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2a6b35;
    margin-bottom: 1rem;
    border-left: 5px solid #7bb461;
    padding-left: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.swiper {
    padding: 0.5rem 0 2rem;
    overflow: visible;
}

.swiper-slide {
    height: auto;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid #e3f0db;
    transition: 0.2s;
}

.position-card-swiper {
    text-align: center;
    cursor: pointer;
}

.position-photo-swiper {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #ddefcf;
    transition: 0.2s;
}

.position-photo-swiper:hover {
    opacity: 0.9;
    transform: scale(1.01);
}

.position-title-swiper {
    font-weight: 700;
    font-size: 0.9rem;
    color: #2b5e2e;
}

.gallery-swiper-slide {
    cursor: pointer;
    border-radius: 1rem;
    overflow: hidden;
}

.gallery-swiper-slide img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: 0.2s;
}

.gallery-swiper-slide img:hover {
    transform: scale(1.02);
}

.swiper-button-next,
.swiper-button-prev {
    top: 40%;
    color: #4f964b;
    background: rgba(255, 255, 255, 0.8);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    --swiper-navigation-size: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.swiper-pagination-bullet-active {
    background: #4f964b;
}

.footnote {
    font-size: 0.7rem;
    text-align: center;
    margin-top: 0.5rem;
    color: #7d9b70;
}

hr {
    margin: 1rem 0;
    border-color: #dcf0d2;
}

.role-badge {
    display: inline-block;
    background: #eef1e6;
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    border-radius: 30px;
}

/* image title inside gallery swiper (for general moments) */
.image-caption {
    font-size: 0.75rem;
    text-align: center;
    padding: 0.4rem;
    color: #4a6741;
    background: #f9fdf6;
    border-top: 1px solid #e3f0db;
    font-weight: 500;
}

@media (max-width: 550px) {
    .modal-body {
        padding: 1rem;
    }

    .modal-header h2 {
        font-size: 1.2rem;
    }
}
.modal{
   z-index: 600 !important;
}
.modal-backdrop{
   z-index: 500 !important;
}
