*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    color: #1e293b;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

header.navbar-container1 {
    width: 100%;
    padding-block: 1rem;
    margin-inline: auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 9999;
    position: fixed;
    background-color: white;
    transition: all 1s ease-in-out;
}

header.navbar-container1 .logo img {
    width: 95px;
}

header.navbar-container1 .nav-links {
    padding-left: 0;
    display: flex;
    justify-content: center;
    gap: 2rem 1rem;
}

header.navbar-container1 .nav-links.active {
    background-color: #fff;
    align-items: center;
    min-height: 240px;
    transition: all 1s ease-in-out;
}

header.navbar-container1 .nav-links li {
    list-style-type: none;
}

header.navbar-container1 .nav-links li a {
    padding: 0.5rem 1.5rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    color: black;
    transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

header.navbar-container1 .nav-links li:hover a {
    background-color: #2E5077;
    color: white;
}

header.navbar-container1 .menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.navbar-container1 .menu-toggle .bar {
    background-color: #000;
    height: 4px;
    width: 30px;
    margin: 3px;
}


/* navbar for transition */
header.navbar-container2 {
    width: 100%;
    padding-block: 1rem;
    margin-inline: auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 9999;
    position: fixed;
    background-color: #2E5077;
    transition: all 0.5s ease-in-out;
}

header.navbar-container2 .logo img {
    width: 95px;
}

header.navbar-container2 .nav-links {
    padding-left: 0;
    display: flex;
    justify-content: center;
    gap: 2rem 1rem;
}

header.navbar-container2 .nav-links.active {
    background-color: #003366;
    align-items: center;
    min-height: 240px;
    transition: all 0.5s ease-in-out;
}

header.navbar-container2 .nav-links li {
    list-style-type: none;
}

header.navbar-container2 .nav-links li a {
    padding: 0.5rem 1.5rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    color: white;
    transition: all 0.2s ease-in-out;
}

header.navbar-container2 .nav-links li:hover a {
    background-color: #7376fe;
    color: white;
}

header.navbar-container2 .menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

header.navbar-container2 .menu-toggle .bar {
    background-color: #fff;
    height: 4px;
    width: 30px;
    margin: 3px;
}



main {
    flex: 1;
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding: 2rem 4rem;
    align-items: center;
}


/* content 1 */
main .content {
    flex: 1;
    display: flex;
    align-items: center;
    height: 90vh;
}

main .content .content-description {
    flex: 1 1;
    opacity: 0;
    animation: fadeIn 3s forwards;
}

main .content .content-description .title {
    font-size: 2.2rem;
    font-weight: 500;
}

main .content .content-description .title span {
    margin-block: 1rem;
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: 0.2rem;
}

main .content .content-description p {
    font-size: 1.2rem;
    line-height: 1.7rem;
}

main .content .content-description button {
    padding: 0.5rem 2.2rem;
    border: 3px solid transparent;
    border-radius: 999px;
    margin-block-start: 1rem;
    background-color: #7376fe;
    font-family: sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    cursor: pointer;
    transition: all 0.15s ease-in;
}


main .content .content-description button:hover {
    border: 3px solid #7376fe;
    background-color: transparent;
    color: #7376fe;
}

main .content .content-image {
    flex: 1;
    display: flex;
}

main .content .content-image img {
    width: 660px;
    min-width: 150px;
    margin: auto;
    margin-right: -120px;
    opacity: 0;
    animation: fadeIn 2s forwards;
}



/* content 2 */
main .content2 {
    margin: 5rem 0 10rem 0;
    align-items: center;
}

main .content2 .content2-wrapper {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

main .content2 .content2-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

main .content2 .content2-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

main .content2 .content-description {
    flex: 1;
    text-align: left;
}

main .content2 .content-description .title {
    margin-block: 1rem;
    font-size: 2rem;
    color: #2E5077;
}

main .content2 .content-description p {
    width: 100%;
    font-size: 1.2rem;
    line-height: 1.7rem;
}

main .content2 .content-description button {
    padding: 0.5rem 2.2rem;
    border: 3px solid transparent;
    border-radius: 999px;
    margin-block-start: 1rem;
    background-color: #7376fe;
    font-family: sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    cursor: pointer;
    transition: all 0.15s ease-in;
}


main .content2 .content-description button:hover {
    border: 3px solid #7376fe;
    background-color: transparent;
    color: #7376fe;
}

/* Oprec Section */
.oprec {
    padding: 3rem 0;
    background-color: #ffffff;
    margin: 2rem 0;
}

.oprec-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    flex-direction: row;
    /* Mengubah arah flex untuk memindahkan gambar ke kiri */
}

.oprec-text {
    flex: 1.4;
}

.oprec-text .title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2E5077;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.oprec-text p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.oprec-text .button {
    padding: 0.5rem 2.2rem;
    border: 3px solid transparent;
    border-radius: 999px;
    margin-block-start: 1rem;
    background-color: #7376fe;
    font-family: sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    cursor: pointer;
    transition: all 0.15s ease-in;
}

.oprec-text .button:hover {
    border: 3px solid #7376fe;
    background-color: transparent;
    color: #7376fe;
}

.oprec-image {
    flex: 1;
    position: relative;
    display: flex;
    /* Tambahkan display flex */
    justify-content: center;
    /* Center horizontal */
    align-items: center;
    /* Center vertical */
}

.oprec-image::before {
    content: '';
    position: absolute;
    left: 50%;
    /* Ubah left menjadi 50% */
    transform: translateX(-50%);
    /* Tambahkan transform untuk centering */
    bottom: -20px;
    width: 60%;
    /* Sesuaikan dengan width gambar */
    height: 100%;
    z-index: 1;
}

.oprec-image img {
    width: 60%;
    border-radius: 10px;
    position: relative;
    z-index: 2;
    object-fit: cover;
    margin: 0 auto;
    /* Tambahkan margin auto */
}

/* content 3 */
main .content3 {
    margin: 15rem 0 10rem 0;
    align-items: center;
}

main .content3 .content-description {
    text-align: center;
    padding-bottom: 20px;
}

main .content3 .content-description .title {
    margin-block: 1rem;
    font-size: 2rem;
    text-align: center;
}

main .content3 .maps {
    display: flex;
    flex-wrap: wrap;
    gap: 5rem;
    /* Menambah jarak antar item */
    justify-content: center;
    padding: 10px 0;
}

main .content3 .maps .titik-maps {
    width: auto;
    text-align: center;
}

main .content3 .maps .titik-maps .wrap-map {
    width: calc((100% / 4) - 10px);
    min-width: 200px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    /* Meningkatkan bayangan */
    border-radius: 10px;
    /* Membuat sudut lebih bulat */
    padding: 12px;
    margin: auto;
    text-align: center;
    transition: all 0.5s ease-in-out;
}

main .content3 .maps .titik-maps .wrap-map iframe {
    width: 160px;
    height: 160px;
}



/* Page Software*/
/* ==========================================================================
   PAGE SOFTWARE (FLEXIBLE MULTI-COLUMN GRID & COMPACT MOBILE)
   ========================================================================== */

.section-software-page {
    background-color: #ffffff !important;
    padding-top: 7rem !important;
    padding-bottom: 5rem !important;
    min-height: 80vh;
}

.software-header-center {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 2.5rem;
}

.software-flex-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

.software-item-box {
    background: #ffffff;
    border: 1px solid var(--lab-border);
    border-radius: 18px;
    padding: 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    box-sizing: border-box;
    transition: none !important;
}

.software-item-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.software-item-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.software-item-body {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.software-item-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--lab-text-main);
    margin: 0 0 1rem 0;
    letter-spacing: -0.2px;
}

.btn-software-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    padding: 9px 0;
    border-radius: 999px;
    background: var(--lab-accent-blue);
    color: #ffffff !important;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
    border: none;
    cursor: pointer;
    box-sizing: border-box;
    transition: none !important;
}

@media (max-width: 1024px) {
    .software-flex-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .section-software-page {
        padding-top: 5.5rem !important;
        padding-bottom: 3rem !important;
    }

    .software-header-center {
        margin-bottom: 1.75rem;
    }

    /* 2 Columns on Mobile - Clean, Compact, Fits on 1 Screen without endless scroll */
    .software-flex-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .software-item-box {
        padding: 1.1rem 0.85rem;
        border-radius: 14px;
    }

    .software-item-icon {
        width: 52px;
        height: 52px;
        margin-bottom: 0.65rem;
    }

    .software-item-title {
        font-size: 0.95rem;
        margin-bottom: 0.65rem;
    }

    .btn-software-action {
        padding: 7px 0;
        font-size: 0.78rem;
    }
}

/* ==========================================================================
   PAGE TATA TERTIB (FLEXIBLE TABS & COMPACT NON-LOCKING LAYOUT)
   ========================================================================== */

.section-tatatertib-page {
    background-color: #ffffff !important;
    padding-top: 7rem !important;
    padding-bottom: 5rem !important;
    min-height: 80vh;
}

.tatatertib-header-center {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 2rem;
}

/* Category Navigation Bar (Pill Tabs) */
.tatatertib-nav-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 2.25rem;
    width: 100%;
}

.tt-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0.55rem 1.25rem;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid var(--lab-border);
    color: var(--lab-text-muted);
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    text-decoration: none;
    transition: none !important;
}

.tt-tab-btn:hover {
    background: #f1f5f9;
    color: var(--lab-text-main);
}

.tt-tab-btn.is-active {
    background: var(--lab-accent-blue);
    border-color: var(--lab-accent-blue);
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.25);
}

.tt-tab-btn.is-active i {
    color: #ffffff;
}

/* Panels Container */
.tatatertib-panels-container {
    width: 100%;
}

.tt-section-panel {
    background: #ffffff;
    border: 1px solid var(--lab-border);
    border-radius: 20px;
    padding: 2rem 2.25rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
    box-sizing: border-box;
}

.tt-panel-header {
    margin-bottom: 1.5rem;
    padding-bottom: 0.85rem;
    border-bottom: 2px solid #f1f5f9;
}

.tt-panel-header h2 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--lab-text-main);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tt-panel-header h2 i {
    color: var(--lab-accent-blue);
}

/* Clothing Grid Modern (Flexible 3-col on desktop, compact on mobile) */
.clothing-grid-modern {
    display: grid;
    grid-template-columns: 1.15fr 0.8fr 1.15fr;
    gap: 1.75rem;
    align-items: center;
}

.clothing-col-box {
    background: #f8fafc;
    border: 1px solid var(--lab-border);
    border-radius: 16px;
    padding: 1.35rem 1.25rem;
    height: 100%;
    box-sizing: border-box;
}

.clothing-box-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.clothing-box-heading i {
    font-size: 1.25rem;
}

.male-box .clothing-box-heading i {
    color: #0284c7;
}

.female-box .clothing-box-heading i {
    color: #db2777;
}

.clothing-box-heading h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--lab-text-main);
    margin: 0;
}

.clothing-list {
    padding-left: 1.25rem;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.clothing-list li {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #334155;
}

.clothing-col-img {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.clothing-col-img img {
    max-width: 100%;
    max-height: 420px;
    width: auto;
    object-fit: contain;
}

.clothing-img-caption {
    font-size: 0.8rem;
    color: var(--lab-text-muted);
    font-weight: 600;
    margin-top: 0.65rem;
}

/* Rule lists */
.tt-rule-content {
    width: 100%;
}

.tt-lead-p {
    font-size: 0.95rem;
    color: #334155;
    margin: 0 0 1rem 0;
    font-weight: 600;
}

.tt-rule-ol {
    padding-left: 1.35rem;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.tt-rule-ol li {
    font-size: 0.92rem;
    line-height: 1.65;
    color: #334155;
}

.tt-sub-ol,
.tt-sub-ul {
    padding-left: 1.2rem;
    margin-top: 0.45rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.tt-sub-ol li,
.tt-sub-ul li {
    font-size: 0.88rem;
}

@media (max-width: 1024px) {
    .clothing-grid-modern {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .clothing-col-img {
        order: -1;
    }

    .clothing-col-img img {
        max-height: 260px;
    }
}

@media (max-width: 768px) {
    .section-tatatertib-page {
        padding-top: 5.5rem !important;
        padding-bottom: 3rem !important;
    }

    .tatatertib-header-center {
        margin-bottom: 1.25rem;
    }

    /* Swipeable Compact Pills on Mobile */
    .tatatertib-nav-bar {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
        padding: 4px 2px 10px;
        gap: 6px;
        margin-bottom: 1.25rem;
    }

    .tt-tab-btn {
        padding: 0.45rem 0.95rem;
        font-size: 0.78rem;
        flex-shrink: 0;
    }

    .tt-section-panel {
        padding: 1.25rem 1rem;
        border-radius: 14px;
        margin-bottom: 1.25rem;
    }

    .tt-panel-header h2 {
        font-size: 1.1rem;
    }

    .clothing-col-box {
        padding: 1rem 0.85rem;
        border-radius: 12px;
    }

    .clothing-list li,
    .tt-rule-ol li {
        font-size: 0.84rem;
        line-height: 1.55;
    }

    .clothing-col-img img {
        max-height: 180px;
    }
}

/* floating whatsapp */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.whatsapp-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    animation: float 2s ease-in-out infinite;
}

.whatsapp-dropdown {
    position: absolute;
    bottom: 75px;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.whatsapp-contact {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.3s;
    white-space: nowrap;
}

.whatsapp-contact:hover {
    background-color: #bfbfbf;
}

.whatsapp-contact img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-name {
    font-weight: bold;
    font-size: 14px;
}

.contact-title {
    font-size: 12px;
    color: #666;
}

/* Page Galeri */
main .page-galeri {
    padding: 7rem 2rem 5rem;
    max-width: 1120px;
    margin: 0 auto;
}

.page-galeri .content-description {
    position: relative;
    text-align: center;
    margin-bottom: 2.5rem;
}

.gallery-kicker {
    align-items: center;
    color: #7376fe;
    display: flex;
    font-size: 0.72rem;
    font-weight: 700;
    gap: 0.55rem;
    justify-content: center;
    letter-spacing: 0.16rem;
    margin-bottom: 0.8rem;
}

.gallery-kicker span {
    background: #2e5077;
    display: inline-block;
    height: 7px;
    position: relative;
    width: 7px;
}

.gallery-kicker span::after {
    border: 1px solid #2e5077;
    content: '';
    height: 13px;
    left: -4px;
    position: absolute;
    top: -4px;
    width: 13px;
}

.page-galeri .content-description .title {
    color: #333;
    display: inline-block;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    padding-bottom: 10px;
    position: relative;
}

.page-galeri .content-description .title::after {
    background: #ff6b6b;
    bottom: 0;
    content: '';
    height: 3px;
    left: 25%;
    position: absolute;
    width: 50%;
}

.page-galeri .content-description .subtitle {
    color: #666;
    margin: 0.75rem auto 0;
}

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.gallery-filter {
    background: #fff;
    border: 1px solid #dbe4ee;
    border-radius: 999px;
    color: #2e5077;
    cursor: pointer;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.gallery-filter:hover,
.gallery-filter.is-active {
    background: #2e5077;
    border-color: #2e5077;
    color: #fff;
    transform: translateY(-1px);
}

.gallery-filter:active {
    transform: translateY(1px) scale(0.97);
}

.gallery-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-card {
    animation: galleryReveal 0.45s ease both;
    border-radius: 16px;
    box-shadow: 0 5px 18px rgba(46, 80, 119, 0.12);
    cursor: pointer;
    overflow: hidden;
    position: relative;
    transform: translateZ(0);
}

.gallery-card:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-grid.has-reveal .gallery-card {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.55s ease var(--reveal-delay), transform 0.55s ease var(--reveal-delay);
}

.gallery-grid.has-reveal .gallery-card.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

.gallery-card.is-hidden {
    display: none;
}

.gallery-pagination {
    display: none;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.gallery-pagination.is-visible {
    display: flex;
}

.gallery-page-btn {
    background: #fff;
    border: 1px solid #dbe4ee;
    border-radius: 8px;
    color: #2e5077;
    cursor: pointer;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    min-width: 2.5rem;
    padding: 0.55rem 0.8rem;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.gallery-page-btn:hover:not(:disabled),
.gallery-page-btn[aria-current='page'] {
    background: #2e5077;
    border-color: #2e5077;
    color: #fff;
}

.gallery-page-btn:disabled {
    cursor: default;
    opacity: 0.5;
}

.gallery-card img {
    aspect-ratio: 4 / 3;
    display: block;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
    width: 100%;
}

.gallery-card::after {
    align-items: center;
    background: linear-gradient(180deg, rgba(18, 42, 70, 0.08) 20%, rgba(18, 42, 70, 0.82) 100%);
    color: #fff;
    content: '\f06e  Lihat Foto';
    display: flex;
    font-family: 'Font Awesome 5 Free', sans-serif;
    font-weight: 700;
    inset: 0;
    justify-content: center;
    opacity: 0;
    position: absolute;
    transition: opacity 0.3s ease;
}

.gallery-card::before {
    bottom: 1rem;
    color: #fff;
    content: attr(aria-label);
    font-size: 0.9rem;
    font-weight: 600;
    left: 1rem;
    opacity: 0;
    position: absolute;
    transform: translateY(6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1;
}

.gallery-card:hover img,
.gallery-card:focus-visible img {
    transform: scale(1.06);
}

.gallery-card:hover::after,
.gallery-card:focus-visible::after {
    opacity: 1;
}

.gallery-card:hover::before,
.gallery-card:focus-visible::before {
    opacity: 1;
    transform: translateY(0);
}

.gallery-card:focus-visible {
    outline: 3px solid rgba(115, 118, 254, 0.55);
    outline-offset: 3px;
}

.gallery-empty {
    color: #667085;
    display: none;
    padding: 3rem 1rem;
    text-align: center;
}

.gallery-empty.is-visible {
    display: block;
}

.lightbox {
    align-items: center;
    background: rgba(11, 24, 39, 0.88);
    display: flex;
    inset: 0;
    justify-content: center;
    opacity: 0;
    padding: 1.5rem;
    pointer-events: none;
    position: fixed;
    transition: opacity 0.25s ease;
    visibility: hidden;
    z-index: 10000;
}

.lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.lightbox-content {
    animation: lightboxScale 0.25s ease both;
    max-height: 90vh;
    max-width: min(900px, 88vw);
    position: relative;
    text-align: center;
}

.lightbox-image {
    border-radius: 12px;
    display: block;
    max-height: 75vh;
    max-width: 100%;
    object-fit: contain;
}

.lightbox-caption {
    color: #fff;
    font-size: 1rem;
    margin: 1rem 3rem 0;
}

.lightbox-close,
.lightbox-control {
    align-items: center;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    height: 42px;
    justify-content: center;
    position: absolute;
    transition: background-color 0.2s ease;
    width: 42px;
}

.lightbox-close:hover,
.lightbox-control:hover {
    background: #2e5077;
}

.lightbox-close {
    right: -3rem;
    top: -3rem;
}

.lightbox-control {
    top: 45%;
}

.lightbox-prev {
    left: -4.5rem;
}

.lightbox-next {
    right: -4.5rem;
}

@keyframes galleryReveal {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

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

@keyframes lightboxScale {
    from {
        opacity: 0;
        transform: scale(0.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .gallery-card:first-child {
        grid-column: span 2;
        grid-row: span 1;
    }

    .lightbox-prev {
        left: -1rem;
    }

    .lightbox-next {
        right: -1rem;
    }
}

@media (max-width: 768px) {
    main .page-galeri {
        padding: 6.5rem 1.25rem 3rem;
    }

    .page-galeri .content-description .title {
        font-size: 2rem;
    }

    .gallery-grid {
        gap: 0.8rem;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-card:first-child {
        grid-column: span 2;
        grid-row: span 1;
    }

    .gallery-filter {
        font-size: 0.85rem;
        padding: 0.55rem 0.9rem;
    }

    .lightbox {
        padding: 1rem;
    }

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

    .lightbox-close {
        right: 0;
        top: -3.25rem;
    }

    .lightbox-prev {
        left: 0.5rem;
    }

    .lightbox-next {
        right: 0.5rem;
    }
}

.whatsapp-button:hover .whatsapp-dropdown {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/* footer */
footer {
    background: url('../img/background-footer.png') no-repeat;
    background-size: cover;
    margin-top: -60px;
}

footer .content-wrapper {
    flex: 1;
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding: 3rem 2rem 2rem;
    align-items: center;
    margin-top: 100px;
}

footer .content-wrapper img {
    width: 250px;
    min-width: 150px;
    margin-left: -20px;
}

footer .content-wrapper p {
    max-width: 480px;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5rem;
    letter-spacing: 0.1rem;
    color: white;
}

footer .content-wrapper .sosial-media {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

footer .content-wrapper .sosial-media small {
    font-weight: 500;
    letter-spacing: 0.1rem;
    color: white;
}



@media screen and (max-width: 768px) {
    header.navbar-container1 {
        padding: 10px 30px;
        justify-content: space-between;
    }

    header.navbar-container1 .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
    }

    header.navbar-container1 .nav-links.active {
        display: flex;
    }

    header.navbar-container1 .menu-toggle {
        display: flex;
    }


    header.navbar-container2 {
        padding: 10px 30px;
        justify-content: space-between;
    }

    header.navbar-container2 .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
    }

    header.navbar-container2 .nav-links.active {
        display: flex;
    }

    header.navbar-container2 .menu-toggle {
        display: flex;
    }



    main {
        gap: 0;
    }

    main .content {
        flex-direction: column;
        gap: 0;
    }

    /* new */
    main .content .content-description {
        margin-top: -80px;
    }

    main .content .content-description .title {
        font-size: 2.4rem;
    }

    main .content .content-description p {
        font-size: 1rem;
    }

    main .content .content-image {
        width: auto;
        order: -1;
    }

    main .content .content-image img {
        width: 400px;
        margin-right: 0;
    }

    /* content 2 */
    main .content2 {
        margin: 14rem 0 8rem 0;
    }

    main .content2 .content-description p {
        width: 100%;
        font-size: 1rem;
    }

    main .content2 .content-materi {
        flex-direction: column;
    }


    /* content 3 */
    main .content3 .maps {
        gap: 2rem;
    }

    main .content3 .maps .titik-maps .wrap-map {
        min-width: 100%;
    }

    main .content3 .maps .titik-maps .wrap-map iframe {
        width: 100%;
    }

    /* Page Software */
    main .page-software {
        flex-direction: column;
    }

    main .page-software .content-image img {
        width: 100%;
    }

    main .page-software .content-software .software button {
        font-size: 0.8rem;
    }

    main .page-software .content-description .subtitle {
        margin-bottom: 0;
    }


    /* page Tata Tertib */
    main .page-tatatertib .content-tatatertib .kerapihan-desk {
        display: none;
    }

    main .page-tatatertib .content-tatatertib .kerapihan-mobile {
        display: block;
    }


    /* footer */
    footer .content-wrapper {
        margin-top: 50px;
    }

    footer .content-wrapper p {
        font-size: 0.9rem;
    }

    footer .content-footer p {
        font-size: 0.9rem;
    }

}


@keyframes fadeIn {
    to {
        opacity: 1;
    }
}


/* ==========================================================================
   MODUL PRAKTIKUM (SISTEM LUAS PAGE IDENTIK INDEX - ZERO ANIMATION)
   ========================================================================== */

/* Section Modul - Sama Persis dengan .lab-section di Index */
.section-modul {
    background-color: #ffffff !important;
    padding-top: 7rem !important;
    padding-bottom: 5rem !important;
    min-height: 80vh;
}

/* Matikan Semua Animasi & Transisi pada Halaman Modul */
.section-modul,
.section-modul *,
.section-modul *::before,
.section-modul *::after {
    transition: none !important;
    animation: none !important;
}

/* 1. Header Center */
.modul-header-center {
    text-align: center;
    max-width: 840px;
    margin: 0 auto 2.25rem;
}

/* Section Title & Subtitle disamakan dengan Index (.section-title-main & .section-subtitle-main) */
.section-modul .section-title-main {
    margin-bottom: 0.75rem;
}

.section-modul .section-subtitle-main {
    max-width: 700px;
    margin: 0 auto 1.25rem;
}

/* 2. Search Toolbar (Centered in Container, Full Width on Mobile) */
.modul-search-wrap {
    max-width: 720px;
    margin: 0 auto 2.5rem;
    width: 100%;
    box-sizing: border-box;
}

.modul-search-box {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.modul-search-box .search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1.05rem;
    pointer-events: none;
}

.modul-search-box .search-input {
    width: 100%;
    padding: 13px 48px 13px 48px;
    background: #ffffff;
    border: 2px solid var(--lab-border);
    border-radius: 999px;
    font-size: 0.94rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--lab-text-main);
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
    box-sizing: border-box;
}

.modul-search-box .search-input:focus {
    outline: none;
    border-color: #94a3b8;
}

.btn-clear-search {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: none;
    align-items: center;
    justify-content: center;
    color: #64748b;
    cursor: pointer;
    font-size: 0.78rem;
    padding: 0;
}

.search-status-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0.6rem 0.5rem 0;
    font-size: 0.84rem;
    color: var(--lab-text-muted);
}

.search-status-bar .result-count {
    font-weight: 600;
    color: var(--lab-accent-blue);
}

/* 3. Cards Grid - Mengikuti Luas Penuh .lab-container (1240px) */
.modul-cards-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

/* Card Style - Desain Satuan Warna Bersih, Zero Animation & Zero Highlight */
.modul-card {
    background: #ffffff;
    border: 1px solid var(--lab-border);
    border-radius: 18px;
    padding: 1.25rem 1.15rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-sizing: border-box;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    position: relative;
}

/* Card Header */
.modul-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.85rem;
}

.modul-pdf-icon {
    width: 40px;
    height: 40px;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lab-accent-blue);
    font-size: 18px;
}

.modul-format-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    letter-spacing: 0.3px;
}

/* Card Body */
.modul-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.modul-card-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--lab-text-main);
    line-height: 1.35;
    margin: 0 0 6px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7em;
    letter-spacing: -0.2px;
}

.modul-card-meta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    color: var(--lab-text-muted);
    margin-top: auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.modul-card-meta i {
    color: #94a3b8;
    font-size: 0.75rem;
}

/* Card Footer: Full-Width Unduh Button (Zero Highlight & Zero Jump) */
.modul-card-footer {
    width: 100%;
    margin-top: auto;
}

.btn-download-modul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 8px 0;
    border-radius: 999px;
    background: var(--lab-accent-blue);
    color: #ffffff !important;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.22);
    box-sizing: border-box;
    border: none;
    cursor: pointer;
}

.btn-download-modul:hover {
    background: var(--lab-accent-blue);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.22);
}

.btn-download-modul i {
    font-size: 0.82rem;
}

/* Explicit Override: Matikan Highlight Saat Kursor Di Arahkan ke Modul */
.section-modul .modul-card:hover,
.section-modul .modul-card:focus,
.section-modul .modul-card:active {
    border-color: var(--lab-border) !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important;
    transform: none !important;
    background: #ffffff !important;
}

.section-modul .modul-card:hover .modul-pdf-icon,
.section-modul .modul-card:hover .modul-pdf-icon i {
    background: #eff6ff !important;
    color: var(--lab-accent-blue) !important;
    border-color: #dbeafe !important;
}

.section-modul .modul-card:hover .modul-card-title {
    color: var(--lab-text-main) !important;
}

.section-modul .btn-download-modul:hover {
    background: var(--lab-accent-blue) !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.22) !important;
    transform: none !important;
}

.btn-download-modul i {
    font-size: 0.82rem;
}

/* Empty State */
.modul-empty-state {
    grid-column: 1 / -1;
    width: 100%;
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 18px;
    padding: 3.5rem 1.5rem;
    text-align: center;
    margin: 1rem 0;
    box-sizing: border-box;
}

.modul-empty-state .empty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    background: #eff6ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--lab-accent-blue);
}

.modul-empty-state h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--lab-text-main);
    margin: 0 0 0.5rem;
}

.modul-empty-state p {
    font-size: 0.95rem;
    color: var(--lab-text-muted);
    max-width: 440px;
    margin: 0 auto 1.25rem;
    line-height: 1.55;
}

.btn-reset-filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #eff6ff;
    color: var(--lab-accent-blue);
    border: 1px solid #bfdbfe;
    padding: 0.6rem 1.3rem;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
}

.btn-reset-filter:hover {
    background: var(--lab-accent-blue);
    color: #ffffff;
}

/* 4. Responsive Rules (Identik Sistem Index) */
@media (max-width: 1023px) {
    .modul-cards-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .section-modul {
        padding-top: 5.5rem !important;
        padding-bottom: 3rem !important;
    }

    .modul-header-center {
        margin-bottom: 1.75rem;
    }

    .modul-search-wrap {
        margin-bottom: 1.75rem;
    }

    /* Minimal 2 per baris di HP */
    .modul-cards-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .modul-card {
        padding: 12px 10px 10px;
        border-radius: 14px;
    }

    .modul-pdf-icon {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }

    .modul-card-title {
        font-size: 0.82rem;
        line-height: 1.3;
    }

    .btn-download-modul {
        padding: 7px 0;
        font-size: 0.78rem;
    }
}

@media (max-width: 480px) {
    .section-modul {
        padding-left: 0.85rem !important;
        padding-right: 0.85rem !important;
    }

    .modul-cards-list {
        gap: 8px;
        /* 2-column grid rapat dan rapi di HP */
    }

    .modul-card {
        padding: 11px 9px 10px;
        border-radius: 12px;
    }

    .modul-pdf-icon {
        width: 32px;
        height: 32px;
        font-size: 15px;
    }

    .modul-card-title {
        font-size: 0.8rem;
        line-height: 1.26;
        min-height: 2.5em;
    }

    .btn-download-modul {
        padding: 6.5px 0;
        font-size: 0.76rem;
    }
}


/* Gallery specific styles */
.page-galeri {
    padding: 2rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.content-galeri {
    text-align: center;
    /* Memastikan teks berada di tengah */
}

.title-galeri {
    text-align: center;
}

.title-galeri .title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.title-galeri .title:after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background: #ff6b6b;
    bottom: 0;
    left: 25%;
}

.title-galeri .subtitle {
    color: #666;
    margin-top: -1rem;
    margin-bottom: 5rem;
}

.content-galeri {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;/
}





.galeri-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.galeri-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.galeri-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.galeri-item:hover img {
    transform: scale(1.05);
}

.galeri-caption {
    padding: 1.5rem;
}

.galeri-caption h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.galeri-caption p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.5;
}

.galeri-caption .date {
    display: block;
    color: #888;
    font-size: 0.85rem;
    font-style: italic;
}

.galeri-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    gap: 10px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: #f5f5f5;
    border-radius: 50%;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination span.current {
    background: #ff6b6b;
    color: white;
}

/* Album detail view */
.album-header {
    margin-bottom: 2rem;
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.album-header h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.album-header .album-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.album-description {
    line-height: 1.6;
    color: #555;
}

.back-link {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1rem;
    margin-top: 2rem;
    color: #000000;
    font-weight: 600;
    text-decoration: none;
}

.back-link i {
    margin-right: 0.5rem;
}

/* Photo grid for album detail */
.photos-grid {
    columns: 4 300px;
    column-gap: 20px;
    padding: 20px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.photo-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    break-inside: avoid;
    margin-bottom: 20px;
    display: inline-block;
    width: 100%;
    max-width: 100%;
}

.photo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.5);
    transition: transform 0.4s ease;
}

.photo-item:hover img {
    transform: scale(1.18);
}

.photo-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.photo-item a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
    object-position: center;
    background-color: #f5f5f5;
}

.photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    backdrop-filter: blur(5px);
}

.photo-item:hover .photo-caption {
    transform: translateY(0);
}

.photo-caption h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.photo-caption p {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
    opacity: 0.9;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


.galeri-item,
.photo-item {
    animation: fadeIn 0.5s ease forwards;
}

/* Stagger the animation for each item */
.galeri-item:nth-child(1),
.photo-item:nth-child(1) {
    animation-delay: 0.1s;
}

.galeri-item:nth-child(2),
.photo-item:nth-child(2) {
    animation-delay: 0.2s;
}

.galeri-item:nth-child(3),
.photo-item:nth-child(3) {
    animation-delay: 0.3s;
}

.galeri-item:nth-child(4),
.photo-item:nth-child(4) {
    animation-delay: 0.4s;
}

.galeri-item:nth-child(5),
.photo-item:nth-child(5) {
    animation-delay: 0.5s;
}

.galeri-item:nth-child(6),
.photo-item:nth-child(6) {
    animation-delay: 0.6s;
}

.galeri-item:nth-child(7),
.photo-item:nth-child(7) {
    animation-delay: 0.7s;
}

.galeri-item:nth-child(8),
.photo-item:nth-child(8) {
    animation-delay: 0.8s;
}

.galeri-item:nth-child(9),
.photo-item:nth-child(9) {
    animation-delay: 0.9s;
}

/* No results message */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    font-size: 1.2rem;
    color: #666;
}

/* ==========================================================================
   REDESIGN INDEX & TEAM - LAB. AKUNTANSI MENENGAH (BLUE IDENTITY THEME)
   ========================================================================== */

:root {
    --lab-primary-navy: #0f172a;
    --lab-deep-blue: #0b1530;
    --lab-accent-blue: #2563eb;
    --lab-accent-blue-hover: #1d4ed8;
    --lab-accent-cyan: #38bdf8;
    --lab-text-main: #0f172a;
    --lab-text-muted: #475569;
    --lab-border: #e2e8f0;
    --lab-bg-light: #ffffff;
    --lab-bg-alt: #f1f5f9;
    --lab-bg-soft: #f8fafc;
}

/* Full Width Wrappers - Fix white screen gap bug */
main.lab-main-wrap,
.lab-main-wrap {
    flex: 1;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
}

.lab-section {
    width: 100%;
    padding: 4.5rem 2rem;
    position: relative;
    box-sizing: border-box;
}

.lab-container {
    max-width: 1240px;
    margin: 0 auto;
    width: 100%;
}

/* Header Navbar - Fixed Dark, Never changes to white */
.lab-navbar-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.9rem 2.5rem;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

/* Layer background: ini yang berubah dari full-width jadi pill */
.lab-navbar-fixed::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: #0f172a;
    border: 1px solid transparent;
    border-radius: 0;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    pointer-events: none;
    transition: inset 0.7s cubic-bezier(0.34, 1.56, 0.64, 1),
                border-radius 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.4s ease,
                box-shadow 0.5s ease,
                background-color 0.4s ease;
}

.lab-navbar-fixed.is-scrolled::before {
    inset: 8px 1rem;
    border-radius: 999px;
    background: #0b1530;
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    animation: pillShine 1s ease-out 0.15s 1;
}

@keyframes pillShine {
    0%   { box-shadow: 0 12px 40px rgba(0,0,0,0.45), 0 0 0 0 rgba(56,189,248,0.6); }
    60%  { box-shadow: 0 12px 40px rgba(0,0,0,0.45), 0 0 0 10px rgba(56,189,248,0); }
    100% { box-shadow: 0 12px 40px rgba(0,0,0,0.45), 0 0 0 0 rgba(56,189,248,0); }
}

.lab-brand {
    transform-origin: left center;
    transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.lab-navbar-fixed.is-scrolled .lab-brand {
    transform: scale(0.88);
}

/* Garis progress scroll di bawah pill */
.lab-navbar-fixed::after {
    content: '';
    position: absolute;
    left: 2rem;
    right: 2rem;
    bottom: 10px;
    height: 3px;
    border-radius: 2px;
    background: #38bdf8;
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.7);
    transform: scaleX(var(--scroll, 0));
    transform-origin: left;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.lab-navbar-fixed.is-scrolled::after {
    opacity: 1;
}

/* Compensasi biar konten di bawah ga ke-cover pas navbar shrink jadi floating */
.hero-landing-wrap {
    padding-top: 7rem;
    /* sesuaikan kalau sebelumnya beda */
}

.lab-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #ffffff;
    flex-shrink: 0;
}

.lab-brand img {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.lab-brand-text {
    display: flex;
    flex-direction: column;
}

.lab-brand-name {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.3px;
    color: #ffffff;
    line-height: 1.2;
}

.lab-brand-name span,
.brand-accent {
    color: var(--lab-accent-cyan) !important;
}

.nav-dropdown-icon {
    font-size: 0.75rem;
    margin-left: 4px;
    transition: transform 0.2s ease;
}

.lab-brand-sub {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    color: #94a3b8;
    text-transform: uppercase;
    transition: font-size 0.3s ease, opacity 0.3s ease;
}

.lab-nav-menu {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    list-style: none;
    margin: 0 0 0 auto;
    /* Pushed to right (mentok kanan) */
    padding: 0;
}

.lab-nav-menu li {
    position: relative;
}

.lab-nav-menu li a,
.lab-nav-menu li .lab-dropdown-toggle,
button.lab-dropdown-toggle,
#dropdownKetentuan {
    color: #e2e8f0 !important;
    text-decoration: none !important;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    padding: 0.5rem 0.85rem !important;
    border-radius: 8px !important;
    transition: color 0.2s ease, background-color 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    cursor: pointer !important;
    margin: 0 !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    user-select: none !important;
    vertical-align: middle !important;
}

.lab-nav-menu li a:hover,
.lab-nav-menu li a.active,
.lab-nav-menu li a:focus,
.lab-nav-menu li .lab-dropdown-toggle:hover,
.lab-nav-menu li .lab-dropdown-toggle.active,
.lab-nav-menu li .lab-dropdown-toggle:focus,
.lab-nav-menu li .lab-dropdown-toggle:active,
.lab-nav-item-dropdown.is-open .lab-dropdown-toggle,
button.lab-dropdown-toggle:hover,
button.lab-dropdown-toggle.active,
button.lab-dropdown-toggle:focus,
button.lab-dropdown-toggle:active,
#dropdownKetentuan:hover,
#dropdownKetentuan.active,
#dropdownKetentuan:focus,
#dropdownKetentuan:active {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.12) !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Dropdown Menu for Ketentuan (NO ANIMATION, CLICK-ONLY, TEXT ONLY) */
.lab-nav-item-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown-icon {
    font-size: 0.72rem !important;
    margin-left: 2px !important;
    color: currentColor !important;
    transition: none !important;
    pointer-events: none !important;
}

.lab-nav-item-dropdown.is-open .nav-dropdown-icon {
    transform: rotate(180deg) !important;
}

.lab-dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    min-width: 215px;
    background: #0d1b3e;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 6px 0;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1005;
    list-style: none;
    margin: 0;
    transition: none !important;
    animation: none !important;
}

/* OPEN ON CLICK ONLY - NO HOVER */
.lab-nav-item-dropdown.is-open .lab-dropdown-menu,
.lab-dropdown-menu.is-show {
    display: block !important;
}

.lab-dropdown-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lab-dropdown-menu a {
    display: block !important;
    padding: 10px 18px !important;
    color: #e2e8f0 !important;
    font-size: 0.92rem !important;
    font-weight: 600;
    text-decoration: none;
    transition: none !important;
    border-radius: 0 !important;
    white-space: nowrap;
}

.lab-dropdown-menu a:hover,
.lab-dropdown-menu a.active {
    background: rgba(37, 99, 235, 0.25) !important;
    color: #38bdf8 !important;
    padding-left: 18px !important;
}

.lab-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 6px;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), font-size 0.3s ease;
}

.lab-navbar-fixed.is-scrolled .lab-nav-toggle {
    font-size: 1.1rem;
    transform: translateX(-10px);
}

.lab-nav-toggle i {
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lab-nav-toggle.is-active i {
    transform: rotate(90deg) scale(1.1);
}

/* ==========================================================================
   HERO SECTION (Full screen width, Blue Identity, Wallpaper wp_landing_page)
   ========================================================================== */

.hero-landing-wrap {
    position: relative;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(11, 21, 48, 0.88) 0%, rgba(15, 28, 64, 0.82) 100%),
        url('../img/wp_landing_page.webp') center/cover no-repeat;
    padding: 7rem 2rem 4rem;
    box-sizing: border-box;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: center;
    width: 100%;
}

.hero-content {
    display: flex;
    flex-direction: column;
}

.hero-title {
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.12;
    color: #ffffff;
    margin: 0 0 1.25rem 0;
    letter-spacing: -0.5px;
}

.hero-title .hero-accent {
    color: var(--lab-accent-cyan) !important;
    display: block;
    text-shadow: none;
    /* No distracting glowing */
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.75;
    color: #cbd5e1;
    margin: 0 0 2rem 0;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: var(--lab-accent-blue);
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 0.85rem 2rem;
    border-radius: 999px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    transition: background 0.2s ease, transform 0.2s ease;
    border: none;
}

.btn-hero-primary:hover {
    background: var(--lab-accent-blue-hover);
    transform: translateY(-2px);
    color: #ffffff;
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.85rem 1.75rem;
    border-radius: 999px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
}

/* Assistant Card on Right */
.hero-card-container {
    display: flex;
    justify-content: center;
}

.hero-assistant-card {
    background: #17233f;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 26px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 510px;
}

.hero-card-img-wrap {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 18px;
    overflow: hidden;
    background: #000;
}

.hero-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 8px 4px;
}

.hero-card-info h4 {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 4px 0;
}

.hero-card-info span {
    color: var(--lab-accent-cyan);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Minus glowing from action button (+) - Clean, flat, minimalist */
.hero-card-action-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
    cursor: pointer;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
}

.hero-card-action-btn:hover {
    background: rgba(255, 255, 255, 0.24);
    color: #ffffff;
    transform: scale(1.04);
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
}

/* Blue Divider Bar - Clean separation without heavy glow */
.hero-divider-bar {
    width: 100%;
    height: 6px;
    background: var(--lab-accent-blue);
    box-shadow: none;
}

/* ==========================================================================
   SECTION 1: TENTANG KAMI & MENGENAI LAB. AKUNTANSI MENENGAH (EXPANDED)
   ========================================================================== */

.section-profil {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
}

/* Reusable Tag Kicker Badge (Aesthetic Pill with Unique Section Color Codes) */
.section-tag-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 0.85rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
}

/* Distinct Kicker Identities */
.kicker-profil {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.kicker-profil i {
    color: #2563eb;
}

.kicker-software {
    background: #eef2ff;
    color: #4338ca;
    border: 1px solid #c7d2fe;
}

.kicker-software i {
    color: #6366f1;
}

.kicker-kampus {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.kicker-kampus i {
    color: #059669;
}

.kicker-galeri {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
}

.kicker-galeri i {
    color: #d97706;
}

.section-title-main {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--lab-text-main);
    line-height: 1.25;
    margin: 0 0 1rem 0;
    letter-spacing: -0.4px;
}

.section-subtitle-main {
    font-size: 1.02rem;
    line-height: 1.65;
    color: #64748b;
    max-width: 720px;
    margin: -0.25rem 0 2rem 0;
}

.profil-content-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 3rem;
}

.profil-narrative p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 1.25rem;
}

.profil-narrative p strong {
    color: #0f172a;
}

.profil-badge-box {
    background: #eff6ff;
    border-left: 4px solid var(--lab-accent-blue);
    padding: 1.25rem 1.5rem;
    border-radius: 0 12px 12px 0;
    margin-top: 1.5rem;
}

.profil-badge-box p {
    margin: 0;
    font-size: 0.98rem;
    color: #1e40af;
    font-weight: 600;
    line-height: 1.6;
}

.profil-side-card {
    background: #f8fafc;
    border: 1px solid var(--lab-border);
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.profil-side-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.profil-side-card h3 i {
    color: var(--lab-accent-blue);
}

.profil-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.profil-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.5;
}

.profil-checklist li i {
    color: #10b981;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Clean Utilities for Profil Section (No Inline CSS) */
.profil-block {
    margin-bottom: 1.5rem;
}

.profil-block-divider {
    padding-top: 1.25rem;
    border-top: 1px solid var(--lab-border);
}

.profil-block-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.profil-block-title i {
    color: var(--lab-accent-blue);
}

.profil-side-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-profil-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-profil-primary {
    background: var(--lab-accent-blue);
    color: #ffffff;
    border: 1px solid var(--lab-accent-blue);
}

.btn-profil-primary:hover {
    background: var(--lab-accent-blue-hover);
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-profil-outline {
    background: #ffffff;
    color: #334155;
    border: 1px solid #cbd5e1;
}

.btn-profil-outline:hover {
    border-color: var(--lab-accent-blue);
    color: var(--lab-accent-blue);
    transform: translateY(-1px);
}

.btn-oprec-apply {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.section-subtitle-main {
    color: var(--lab-text-muted);
    font-size: 1.05rem;
    margin-top: -0.5rem;
    margin-bottom: 1.5rem;
}

/* Feature Pillars Grid */
.lab-pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.pillar-card {
    background: #ffffff;
    border: 1px solid var(--lab-border);
    border-radius: 18px;
    padding: 1.5rem 1.25rem;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pillar-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.1);
    border-color: #93c5fd;
}

.pillar-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #eff6ff;
    color: var(--lab-accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1.1rem;
}

.pillar-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.5rem 0;
}

.pillar-card p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--lab-text-muted);
    margin: 0;
}

/* ==========================================================================
   SECTION 2: TATA TERTIB & KETENTUAN PRAKTIKUM
   ========================================================================== */

.section-tatatertib {
    background-color: var(--lab-bg-alt);
}

/* Clothing Guidelines Card (3-Column Layout) */
.clothing-guidelines-card {
    background: #ffffff;
    border: 1px solid var(--lab-border);
    border-radius: 24px;
    padding: 2.25rem;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.05);
    margin-bottom: 2.5rem;
}

.clothing-card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.clothing-card-header h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--lab-text-main);
    margin: 0 0 0.5rem 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.clothing-card-header p {
    color: var(--lab-text-muted);
    font-size: 0.95rem;
    margin: 0;
}

.clothing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.clothing-box {
    background: #f8fafc;
    border: 1px solid var(--lab-border);
    border-radius: 18px;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.clothing-box-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.15rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--lab-border);
}

.clothing-box-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.clothing-box-icon.male {
    background: #e0f2fe;
    color: #0284c7;
}

.clothing-box-icon.female {
    background: #fce7f3;
    color: #db2777;
}

.clothing-box-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--lab-text-main);
    margin: 0;
}

.clothing-ol {
    padding-left: 1.25rem;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.clothing-ol li {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #334155;
}

.clothing-center-img-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.clothing-center-img-wrap img {
    max-width: 100%;
    max-height: 480px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.08));
}

.clothing-center-caption {
    font-size: 0.82rem;
    color: #64748b;
    font-weight: 600;
    margin-top: 0.75rem;
}

/* 3-Column Rules & Policies Grid */
.tatatertib-rules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.rule-box-card {
    background: #ffffff;
    border: 1px solid var(--lab-border);
    border-radius: 20px;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rule-box-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.08);
}

.rule-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.25rem;
    padding-bottom: 0.85rem;
    border-bottom: 2px solid var(--lab-border);
}

.rule-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #eff6ff;
    color: var(--lab-accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.rule-card-title {
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--lab-text-main);
    margin: 0;
    line-height: 1.3;
}

.rule-card-intro {
    font-size: 0.88rem;
    color: #475569;
    margin: 0 0 1rem 0;
    line-height: 1.5;
}

.rule-list {
    padding-left: 1.2rem;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.rule-list li {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #334155;
}

.rule-list li strong {
    color: #0f172a;
}

.rule-sublist {
    padding-left: 1.15rem;
    margin-top: 0.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.rule-sublist li {
    font-size: 0.84rem;
}

.badge-delete-warning {
    background: #fee2e2;
    color: #dc2626;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.78rem;
}

/* ==========================================================================
   SECTION 2: SOFTWARE PRAKTIKUM (COOL AZURE LAB STUDIO TONE)
   ========================================================================== */

.section-software,
.section-software-oprec {
    background: linear-gradient(180deg, #edf4fb 0%, #e4eff9 100%);
    border-top: 1px solid #cbd5e1;
    border-bottom: 1px solid #cbd5e1;
    position: relative;
}

.software-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.35rem;
    margin-bottom: 1.5rem;
}

.software-box-card {
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 20px;
    padding: 1.65rem 1.35rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    align-items: flex-start;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.software-box-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(37, 99, 235, 0.14);
    border-color: #60a5fa;
}

.software-icon-wrap {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    border-radius: 16px;
    padding: 10px;
    border: 1px solid #bfdbfe;
    transition: transform 0.2s ease;
}

.software-box-card:hover .software-icon-wrap {
    transform: scale(1.05);
}

.software-icon-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.software-details h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.4rem 0;
}

.software-details p {
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--lab-text-muted);
    margin: 0 0 1rem 0;
}

.btn-software-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--lab-accent-blue);
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.btn-software-link:hover {
    color: var(--lab-accent-blue-hover);
    transform: translateX(3px);
}

/* Oprec Banner - Side-by-Side */
.oprec-banner-card {
    background: linear-gradient(135deg, #0b1530 0%, #1e3a8a 100%);
    border-radius: 24px;
    padding: 2.5rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    color: #ffffff;
    box-shadow: 0 15px 35px rgba(11, 21, 48, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3.5rem;
}

.oprec-banner-text {
    flex: 1;
}

.oprec-banner-text h2 {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 0.75rem 0;
    color: #ffffff;
}

.oprec-banner-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #cbd5e1;
    margin: 0 0 1.5rem 0;
    max-width: 580px;
}

.oprec-banner-img {
    width: 220px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
}

.oprec-banner-img img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* ==========================================================================
   SECTION 3: LABORATORIUM KAMI (INTERACTIVE CAMPUS SELECTOR & MAP VIEWER)
   ========================================================================== */

.section-kampus {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
}

.campus-tabs-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 1.5rem 0 2rem 0;
}

.campus-tab-btn {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
    padding: 0.65rem 1.25rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.campus-tab-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.campus-tab-btn.is-active {
    background: var(--lab-accent-blue);
    color: #ffffff;
    border-color: var(--lab-accent-blue);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.campus-display-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
}

.campus-info-pane {
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
}

.campus-region-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    align-self: flex-start;
}

.campus-info-pane h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 1rem 0;
}

.campus-address-text {
    font-size: 0.98rem;
    line-height: 1.65;
    color: #475569;
    margin: 0 0 1.5rem 0;
}

.campus-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-open-maps {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0f172a;
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 600;
    padding: 0.7rem 1.4rem;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.btn-open-maps:hover {
    background: var(--lab-accent-blue);
    color: #ffffff;
}

.campus-map-pane {
    position: relative;
    width: 100%;
    min-height: 380px;
    background: #e2e8f0;
}

.campus-map-pane iframe {
    width: 100%;
    height: 100%;
    min-height: 380px;
    border: none;
    display: block;
}

/* ==========================================================================
   SECTION 4: GALERI KEGIATAN (SOFT COOL SLATE BACKGROUND)
   ========================================================================== */

.section-galeri {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
}

.gallery-filter-wrap {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 1.5rem 0 2rem 0;
    flex-wrap: wrap;
}

/* ==========================================================================
   FOOTER (FULL WIDTH, DEEP NAVY, NO LEAKS)
   ========================================================================== */

footer.lab-footer,
.lab-footer {
    background: #0b1530 !important;
    background-image: none !important;
    color: #94a3b8 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    margin-inline: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 4rem 2.5rem 2rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-sizing: border-box;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand img {
    height: 48px;
    margin-bottom: 1.25rem;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #94a3b8;
    max-width: 360px;
    margin: 0;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 1.25rem 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links li a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.2s ease;
}

.footer-links li a:hover {
    color: var(--lab-accent-cyan);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #cbd5e1;
    font-size: 0.92rem;
    margin-bottom: 0.75rem;
}

.footer-contact-item i {
    color: var(--lab-accent-cyan);
    width: 18px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.75rem;
    text-align: center;
    font-size: 0.88rem;
    color: #64748b;
}

/* ==========================================================================
   MOBILE OPTIMIZATIONS (KURANGI MENUMPUK KE BAWAH, USAHAKAN MENYAMPING)
   ========================================================================== */

@media (max-width: 991px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .profil-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .lab-pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .campus-display-card {
        grid-template-columns: 1fr;
    }

    .campus-info-pane {
        border-right: none;
        border-bottom: 1px solid var(--lab-border);
        padding: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .lab-section {
        padding: 3rem 1.25rem;
    }

    .lab-navbar-fixed {
        padding: 0.85rem 1.25rem;
    }
    
    .lab-navbar-fixed.is-scrolled::before {
    inset: 6px 0.6rem;
    }

    .hero-landing-wrap {
        padding: 5.5rem 1.25rem 3rem;
        min-height: auto;
    }

    .hero-title {
        font-size: 2.15rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.98rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    .hero-actions {
        display: flex;
        flex-direction: row;
        gap: 0.75rem;
        width: 100%;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        flex: 1;
        justify-content: center;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .hero-assistant-card {
        border-radius: 20px;
        padding: 12px;
    }

    /* Mobile Nav Drawer */
    .lab-nav-toggle {
        display: block;
    }

    .lab-nav-menu {
        position: fixed;
        top: var(--menu-top, 62px);
        left: var(--menu-left, 0);
        right: var(--menu-right, 0);
        background: #0b1530;
        flex-direction: column;
        align-items: stretch;
        padding: 1.25rem;
        gap: 0.6rem;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 18px;
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
        display: flex;
        max-height: calc(100vh - var(--menu-top, 62px) - 1.5rem);
        overflow-y: auto;
        visibility: hidden;
        opacity: 0;
        transform: scale(0.92) translateY(-8px);
        transform-origin: top right;
        pointer-events: none;
        transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                    visibility 0s linear 0.35s;
    }
    
    .lab-nav-menu.is-open {
        visibility: visible;
        opacity: 1;
        transform: scale(1) translateY(0);
        pointer-events: auto;
        transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                    transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
                    visibility 0s linear 0s;
    }

    .lab-nav-menu li {
        width: 100% !important;
        position: relative;
    }

    .lab-nav-item-dropdown {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .lab-nav-menu li a,
    .lab-nav-menu li .lab-dropdown-toggle,
    button.lab-dropdown-toggle,
    #dropdownKetentuan {
        padding: 0.75rem 1rem !important;
        font-size: 1rem !important;
        font-weight: 600 !important;
        color: #e2e8f0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        background: transparent !important;
        border: none !important;
        outline: none !important;
        border-radius: 8px !important;
    }

    .lab-nav-menu li a:hover,
    .lab-nav-menu li a.active,
    .lab-nav-menu li .lab-dropdown-toggle:hover,
    .lab-nav-menu li .lab-dropdown-toggle.active,
    .lab-nav-item-dropdown.is-open .lab-dropdown-toggle,
    button.lab-dropdown-toggle:hover,
    button.lab-dropdown-toggle.active,
    #dropdownKetentuan:hover,
    #dropdownKetentuan.active {
        background: rgba(255, 255, 255, 0.12) !important;
        color: #ffffff !important;
    }

    .lab-dropdown-menu {
        position: static !important;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        display: none;
        width: 100% !important;
        box-sizing: border-box !important;
        background: #091124 !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        border-radius: 10px !important;
        padding: 6px 0 !important;
        margin: 6px 0 4px 0 !important;
        box-shadow: none !important;
        transition: none !important;
        animation: none !important;
        min-width: 0 !important;
    }

    .lab-nav-item-dropdown.is-open .lab-dropdown-menu,
    .lab-dropdown-menu.is-show {
        display: flex !important;
        flex-direction: column !important;
    }

    .lab-dropdown-menu li {
        width: 100% !important;
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .lab-dropdown-menu a {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 10px 16px !important;
        font-size: 0.92rem !important;
        color: #e2e8f0 !important;
        background: transparent !important;
        border-radius: 6px !important;
        text-decoration: none !important;
        white-space: normal !important;
    }

    .lab-dropdown-menu a:hover,
    .lab-dropdown-menu a.active {
        background: rgba(37, 99, 235, 0.25) !important;
        color: #38bdf8 !important;
    }

    /* Section 1: Pillars in 2-Columns Side-by-Side */
    .lab-pillars-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.85rem;
    }

    .pillar-card {
        padding: 1rem 0.9rem;
        border-radius: 14px;
    }

    .pillar-icon-box {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }

    .pillar-card h4 {
        font-size: 0.92rem;
        margin-bottom: 0.3rem;
    }

    .pillar-card p {
        font-size: 0.8rem;
        line-height: 1.45;
    }

    /* Section 2: Software in 2-Columns Side-by-Side */
    .software-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.85rem;
        margin-bottom: 2rem;
    }

    .software-box-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.15rem 1rem;
        gap: 0.75rem;
        border-radius: 16px;
    }

    .software-icon-wrap {
        width: 50px;
        height: 50px;
        padding: 6px;
    }

    .software-details h3 {
        font-size: 1rem;
    }

    .software-details p {
        font-size: 0.82rem;
        line-height: 1.4;
        margin-bottom: 0.6rem;
    }

    /* Oprec Banner in compact side-by-side */
    .oprec-banner-card {
        padding: 1.5rem 1.25rem;
        flex-direction: row;
        gap: 1rem;
        align-items: center;
        border-radius: 18px;
    }

    .oprec-banner-text h2 {
        font-size: 1.35rem;
        margin-bottom: 0.4rem;
    }

    .oprec-banner-text p {
        font-size: 0.86rem;
        line-height: 1.45;
        margin-bottom: 1rem;
    }

    .oprec-banner-img {
        width: 90px;
        flex-shrink: 0;
    }

    /* Campus tabs: Horizontal scroll chips */
    .campus-tabs-bar {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 8px;
        margin-bottom: 1.25rem;
        -webkit-overflow-scrolling: touch;
        gap: 0.5rem;
    }

    .campus-tab-btn {
        flex-shrink: 0;
        padding: 0.5rem 0.95rem;
        font-size: 0.82rem;
    }

    .campus-info-pane h3 {
        font-size: 1.3rem;
    }

    .campus-map-pane,
    .campus-map-pane iframe {
        min-height: 250px;
    }

    /* Gallery Filter: Horizontal scroll */
    .gallery-filter-wrap {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 8px;
        gap: 0.5rem;
        -webkit-overflow-scrolling: touch;
    }

    .gallery-filter {
        flex-shrink: 0;
        font-size: 0.85rem;
        padding: 0.45rem 0.95rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem;
    }

    .gallery-card:first-child {
        grid-column: span 2 !important;
        grid-row: span 1 !important;
    }

    /* WhatsApp Dropdown: Compact 2-column list */
    .whatsapp-dropdown {
        width: 320px;
        max-width: 90vw;
        padding: 10px;
    }

    .whatsapp-dropdown .whatsapp-contact {
        padding: 8px;
        gap: 8px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    /* Tata Tertib Responsive */
    .clothing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .clothing-center-img-wrap {
        order: -1;
    }

    .clothing-center-img-wrap img {
        max-height: 280px;
    }

    .tatatertib-rules-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

@media (max-width: 480px) {
    .lab-section {
        padding: 2.75rem 1rem;
    }

    .lab-navbar-fixed {
        padding: 0.75rem 1rem;
    }

    .hero-landing-wrap {
        padding: 5rem 1rem 2.5rem;
    }

    .hero-title {
        font-size: clamp(1.65rem, 7vw, 1.85rem);
    }

    .section-title-main {
        font-size: clamp(1.45rem, 6vw, 1.65rem);
        margin-bottom: 0.75rem;
    }

    .section-subtitle-main {
        font-size: 0.88rem;
        margin-bottom: 1.25rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 0.6rem;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        text-align: center;
        padding: 0.75rem 1rem;
    }

    .oprec-banner-card {
        flex-direction: column;
        text-align: left;
        padding: 1.5rem 1.15rem;
        gap: 1.25rem;
    }

    .oprec-banner-img {
        display: none;
    }

    .btn-oprec-apply {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* Extra Small Screens Optimization (<= 380px, e.g. Galaxy Fold, iPhone SE) */
@media (max-width: 380px) {
    .lab-navbar-fixed {
        padding: 0.65rem 0.75rem;
    }

    .lab-brand {
        gap: 8px;
    }

    .lab-brand img {
        height: 34px;
        width: auto;
    }

    .lab-brand-name {
        font-size: 0.92rem;
        line-height: 1.15;
    }

    .lab-brand-sub {
        font-size: 0.62rem;
    }

    .lab-pillars-grid {
        grid-template-columns: 1fr !important;
        gap: 0.75rem;
    }

    .software-grid {
        grid-template-columns: 1fr !important;
        gap: 0.75rem;
    }

    .software-box-card {
        padding: 1.15rem 0.85rem;
    }

    .campus-info-pane {
        padding: 1.25rem 0.85rem;
    }

    .btn-open-maps {
        width: 100%;
        justify-content: center;
        padding: 0.65rem 0.85rem;
        font-size: 0.85rem;
    }

    .footer-bottom p {
        font-size: 0.76rem;
        line-height: 1.4;
    }
}

/* Unified Page Content Spacing for Standalone Pages */
.page-software,
.page-tatatertib,
.page-modul {
    padding-top: 6.5rem !important;
    min-height: 70vh;
}

.page-software .content-description .title,
.page-tatatertib .content-description .title,
.page-modul .content-modul .title {
    color: var(--lab-text-main) !important;
    font-weight: 800 !important;
}

.page-software .content-description .title:after,
.page-tatatertib .content-description .title:after,
.page-modul .content-modul .title:after {
    background: var(--lab-accent-blue) !important;
}

.page-software .content-software .software button {
    background-color: var(--lab-accent-blue) !important;
    font-family: inherit !important;
}

.page-software .content-software .software button:hover {
    border-color: var(--lab-accent-blue) !important;
    color: var(--lab-accent-blue) !important;
}

/* ==========================================================================
   OUR TEAM PAGE STYLING (LAB. AKUNTANSI MENENGAH)
   ========================================================================== */

.section-team-page {
    background-color: #ffffff !important;
    padding-top: 7rem !important;
    padding-bottom: 5rem !important;
    min-height: 80vh;
}

/* 1. Header Center - Disamakan Persis dengan Modul, Software, dan Ketentuan */
.team-header-center {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 2.25rem;
}

.section-team-page .section-title-main {
    margin-bottom: 0.75rem;
}

.section-team-page .section-subtitle-main {
    max-width: 720px;
    margin: 0 auto 1.5rem;
}

/* Toolbar Filter Bar with Left Dropdown & Right Category Pills */
.team-toolbar-wrap {
    width: 100%;
    margin: 0 auto 2.5rem auto;
    padding: 0;
}

.team-toolbar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 1.15rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
    max-width: 680px;
    margin: 0 auto;
}

/* Side-by-Side Dropdowns Container */
.toolbar-dropdowns-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    width: 100%;
}

.filter-dropdown-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dropdown-field-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    white-space: nowrap;
}

.dropdown-field-label i {
    color: #0284c7;
    font-size: 0.9rem;
}

/* Custom Select Box with Minimal Animation */
.custom-select-box {
    position: relative;
    min-width: 175px;
}

.team-custom-select {
    width: 100%;
    padding: 0.58rem 2.4rem 0.58rem 0.95rem;
    border-radius: 12px;
    border: 1.5px solid #cbd5e1;
    background: #f8fafc;
    color: #0f172a;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.team-custom-select:hover {
    border-color: #94a3b8;
    background: #ffffff;
}

.team-custom-select:focus {
    border-color: #38bdf8;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.custom-select-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #64748b;
    font-size: 0.78rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

.custom-select-box:focus-within .custom-select-arrow {
    transform: translateY(-50%) rotate(180deg);
    color: #0284c7;
}

/* Role Sections (Supervisor, Programmer, Asisten) */
.team-content-container {
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.team-category-section {
    margin-bottom: 3.5rem;
}

.category-header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 0.85rem;
    border-bottom: 2px solid #e2e8f0;
    flex-wrap: wrap;
    gap: 10px;
}

.category-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-icon-badge {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.category-icon-supervisor {
    background: #fef3c7;
    color: #b45309;
}

.category-icon-programmer {
    background: #e0e7ff;
    color: #4338ca;
}

.category-icon-asisten {
    background: #eff6ff;
    color: #1d4ed8;
}

.category-header-wrap h3 {
    font-size: 1.65rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.3px;
}

.category-header-wrap .category-badge-count {
    background: #f1f5f9;
    color: #475569;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
}

/* Distinct Modern Team Cards */
.modern-team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.6rem;
}

.member-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.member-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.09);
    border-color: #93c5fd;
}

/* Top Accent Bar based on Category */
.member-card.card-supervisor::before {
    content: '';
    display: block;
    height: 4px;
    background: linear-gradient(90deg, #d97706, #f59e0b);
    width: 100%;
}

.member-card.card-programmer::before {
    content: '';
    display: block;
    height: 4px;
    background: linear-gradient(90deg, #4338ca, #6366f1);
    width: 100%;
}

.member-card.card-asisten::before {
    content: '';
    display: block;
    height: 4px;
    background: linear-gradient(90deg, #1d4ed8, #3b82f6);
    width: 100%;
}

/* Portrait Photo Container */
.member-photo-wrap {
    padding: 18px 18px 0 18px;
    position: relative;
}

.member-photo-frame {
    width: 100%;
    aspect-ratio: 1 / 1.05;
    border-radius: 14px;
    overflow: hidden;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}

.member-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.3s ease;
}

.member-card:hover .member-photo-frame img {
    transform: scale(1.03);
}

/* Member Card Details */
.member-info-body {
    padding: 1.15rem 1.25rem 1.4rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
    text-align: center;
}

.member-name {
    font-size: 1.02rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.35rem 0;
    line-height: 1.35;
}

.member-role-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 999px;
    margin: 0 auto 0.5rem auto;
    letter-spacing: 0.2px;
}

.badge-supervisor {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.badge-programmer {
    background: #e0e7ff;
    color: #3730a3;
    border: 1px solid #c7d2fe;
}

.badge-asisten {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.member-npm-tag {
    font-size: 0.82rem;
    color: #64748b;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* Empty State */
.team-empty-state {
    text-align: center;
    padding: 3.5rem 1rem;
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    margin-bottom: 2rem;
}

.team-empty-state i {
    color: #94a3b8;
    margin-bottom: 1rem;
}

.team-empty-state h4 {
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

/* Responsive Breakpoints for Team */
@media (max-width: 1024px) {
    .modern-team-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .section-team-page {
        padding-top: 5.5rem !important;
        padding-bottom: 3rem !important;
    }

    .team-header-center {
        margin-bottom: 1.75rem;
    }

    .team-toolbar-wrap {
        margin-bottom: 1.5rem;
    }

    .team-toolbar-card {
        padding: 0.95rem 1rem !important;
        border-radius: 14px !important;
        gap: 0.85rem !important;
        max-width: 100% !important;
    }

    .toolbar-dropdowns-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        width: 100%;
    }

    .filter-dropdown-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        min-width: 0;
        width: 100%;
    }

    .custom-select-box {
        min-width: 0;
        width: 100%;
    }

    .team-custom-select {
        font-size: 0.82rem;
        padding: 0.52rem 1.8rem 0.52rem 0.65rem;
        border-radius: 10px;
    }

    .dropdown-field-label {
        font-size: 0.74rem;
    }

    .category-header-wrap {
        margin-bottom: 1rem;
    }

    .category-header-wrap h3 {
        font-size: 1.15rem;
    }

    /* Flexible & Compact Team Cards on Mobile (Eliminates excessive vertical scroll) */
    .modern-team-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .member-card {
        border-radius: 12px !important;
        box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
    }

    .member-photo-wrap {
        padding: 8px 8px 0 8px !important;
    }

    .member-photo-frame {
        aspect-ratio: 1 / 0.95 !important;
        border-radius: 8px !important;
    }

    .member-info-body {
        padding: 0.6rem 0.5rem 0.75rem !important;
    }

    .member-name {
        font-size: 0.82rem !important;
        line-height: 1.25 !important;
        margin-bottom: 0.25rem !important;
    }

    .member-role-badge {
        font-size: 0.68rem !important;
        padding: 1.5px 6px !important;
        margin-bottom: 0.25rem !important;
    }

    .member-npm-tag {
        font-size: 0.7rem !important;
    }
}