/* ======================== */
/* 0. HELPER STYLES         */
/* ======================== */
.container-sedang {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}
.text-center { 
    text-align: center; 
}
.section-tagline {
    font-family: var(--font-inter);
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 8px;
}
.section-title {
    font-family: var(--font-montserrat);
    font-size: 38px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

/* ======================== */
/* 1. HERO HALAMAN          */
/* =======================  */
.page-hero-section {
    background-image: url('../images/visimisi/d27d80a93a1db87c5ffa74c495d9e31349b0ea5c.png'); 
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 140px 20px 80px 20px; 
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    z-index: 1;
}
.page-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.1) 100%);
    z-index: -1;
}
.page-title {
    font-family: var(--font-montserrat);
    font-size: 44px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 10px;
}
.page-subtitle {
    font-family: var(--font-inter);
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0;
    line-height: 1.6;
}
.page-hero-section .container-sedang {
    text-align: left;
    margin-left: 30px;
    margin-right: 30px;
}


/* ==================== */
/* 2. PENGHARGAAN       */
/* ==================== */
.awards-section {
    padding: 80px 0;
}
.award-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 30px;
}
.award-card {
    display: block;
    text-decoration: none;
    background-color: var(--bg-light);
    border: 1px solid #eee;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer; 
}
.award-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(45, 106, 210, 0.4);
}
.award-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}
.award-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.award-card:hover .award-image img {
    transform: scale(1.05);
}
.award-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 147, 255, 0.7);
    color: var(--text-light);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.award-card:hover .award-overlay {
    opacity: 1;
}

.award-card .card-content-wrapper {
    padding: 20px; 
    display: flex;
    flex-direction: column;
    height: 100%; 
}

.award-card h3 {
    font-family: var(--font-montserrat);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 10px 0; 
    text-align: left; 
    line-height: 1.3;
}

.award-card .card-text {
    font-family: var(--font-inter);
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0 0 15px 0;
    flex-grow: 1; 
    text-align: left; 
}

.award-card .card-date {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-blue);
    text-align: left;
    margin: 0; 
}

/* ======================= */
/* 3. SERTIFIKAT           */
/* ======================= */
.certificates-section {
    padding: 80px 0;
}
.certificate-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 900px;
    
    column-count: 2;
    column-gap: 40px;
}
.certificate-list li {
    font-family: var(--font-inter);
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    break-inside: avoid; 
}
.certificate-list li::before {
    content: '✔';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-blue);
    font-weight: 700;
}

/* ======================= */
/* 4. STYLE MODAL          */
/* ======================= */
.award-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75); 
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px; 
}
.award-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}
.modal-container-photo-only {
    position: relative;
    background-color: var(--bg-light);
    border-radius: 10px;
    max-width: 900px; 
    width: auto; 
    max-height: 90vh; 
    padding: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    display: flex;
}
.award-modal-overlay.show .modal-container-photo-only {
    transform: scale(1);
}
.modal-main-image {
    width: 100%;
    height: auto;
    max-height: calc(90vh - 20px); 
    object-fit: contain;
    border-radius: 5px;
}
.modal-close-button {
    position: absolute;
    top: -15px;
    right: -15px;
    background: white;
    border: none;
    color: #333;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    z-index: 10;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: transform 0.2s ease, color 0.2s ease;
}
.modal-close-button:hover {
    color: red;
    transform: scale(1.1);
}


/* ===================== */
/* 5. RESPONSIF          */
/* ===================== */
@media (max-width: 992px) {
    /* PERBAIKAN: Tambahkan style hero */
    .page-hero-section {
        padding: 120px 20px 70px 20px;
        min-height: 300px;
    }
    .page-title {
        font-size: 40px;
    }
    .page-hero-section .container-sedang {
        margin-left: 0;
        margin-right: 0;
    }

    .award-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .awards-section, .certificates-section {
        padding: 60px 0;
    }
    .section-title {
        font-size: 30px;
    }
    .page-hero-section {
        padding: 100px 20px 60px 20px;
        min-height: 250px;
    }
    .page-title {
        font-size: 34px;
    }
    .page-subtitle {
        font-size: 16px;
    }

    .award-grid {
        grid-template-columns: 1fr;
    }
    .certificate-list {
        column-count: 1;
    }
}