body {
    font-family: 'Poppins', sans-serif;
}
.bg-green-school {
    background-color: #2E8B57; /* SeaGreen - Hijau Adem */
}
.navbar-brand span {
    font-size: 1rem;
    font-weight: 500;
}
@media (min-width: 992px) {
    .navbar-brand span { font-size: 1.2rem; }
    .navbar .nav-item .dropdown-menu { 
        display: none; 
        margin-top: 0; 
        border-radius: 0 0 .5rem .5rem; 
        opacity: 0; 
        visibility: hidden; 
        transition: opacity .3s ease-in-out, visibility .3s ease-in-out;
        background-color: #2E8B57;
        background-image: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.05));
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    }
    .navbar .nav-item:hover .dropdown-menu { 
        display: block; 
        opacity: 1; 
        visibility: visible; 
    }
    .dropdown-item {
        color: rgba(255, 255, 255, 0.85);
        transition: all 0.2s ease-in-out;
        padding: .5rem 1.2rem;
    }
    .dropdown-item:hover {
        background-color: #3CB371; /* Hijau muda */
        color: #ffffff;
        transform: translateX(5px);
    }
}
.carousel { border-radius: 0.5rem; overflow: hidden; }
.carousel-item { height: 50vh; min-height: 300px; }
.carousel-item img, .carousel-item { background-size: cover; background-position: center; }
.floating-buttons { position: fixed; bottom: 20px; right: 20px; z-index: 1030; display: flex; flex-direction: column; align-items: center; gap: 15px; }
.floating-buttons a { display: flex; align-items: center; justify-content: center; color: white; box-shadow: 0 4px 8px rgba(0,0,0,0.2); transition: transform 0.2s ease, box-shadow 0.2s ease; text-decoration: none; }
.whatsapp-btn { width: 60px; height: 60px; background-color: #25D366; font-size: 2.2rem; border-radius: 16px; }
.scroll-top-btn { width: 50px; height: 50px; background-color: #0d6efd; font-size: 1.5rem; border-radius: 50%; display: none; }
.floating-buttons a:hover { transform: translateY(-5px); box-shadow: 0 6px 12px rgba(0,0,0,0.3); color: white; }
.social-icons a { font-size: 1.8rem; color: #555; margin: 0 10px; transition: color 0.3s ease; }
.social-icons a:hover { color: #2E8B57; }

/* Custom Modal Style */
.modal-pengumuman .modal-content, .modal-pegawai .modal-content {
    border: none;
    border-radius: 0.75rem;
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.175);
}
.modal-pengumuman .modal-header {
    background-color: #2E8B57;
    background-image: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.1));
    color: white;
    border-bottom: none;
    padding: 1.5rem;
}
.modal-pengumuman .modal-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}
.modal-pengumuman .modal-title {
    font-weight: 500;
}
.modal-pengumuman .modal-body, .modal-pegawai .modal-body {
    padding: 1.5rem;
}
.modal-pengumuman .modal-footer, .modal-pegawai .modal-footer {
    border-top: 1px solid #dee2e6;
    padding: 1rem 1.5rem;
}

/* Kartu Pegawai */
.card-pegawai {
    border: 1px solid #eee;
    transition: all 0.3s ease;
}
.card-pegawai:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
}
.card-pegawai img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    margin: -60px auto 0;
    border: 4px solid white;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
}

/* Kartu Guru di Halaman Guru (BARU) */
.card-guru-list {
    border: 1px solid #dee2e6;
    border-radius: 0.75rem;
    box-shadow: 0 0.25rem 0.75rem rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.card-guru-list:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
}
.card-guru-list img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    margin: 1.5rem auto 1rem;
    border: 4px solid #f8f9fa;
}


/* ... (Sisa gaya CSS) ... */
/* Logo Scroller Animation */
.logo-scroller {
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
    position: relative;
    -webkit-mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
    mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
}

.scroller-inner {
    display: flex;
    width: fit-content;
    flex-wrap: nowrap;
    animation: scroll 30s linear infinite;
}

.scroller-inner .logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.logo-item:hover {
    transform: scale(1.1);
}

.logo-item img {
    height: 90px;
    max-width: 150px;
    object-fit: contain;
}

@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Modal Detail Pegawai */
.modal-pegawai .modal-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}
.detail-grid {
    border: 1px solid #eee;
    border-radius: 0.5rem;
    overflow: hidden;
}
.detail-row {
    display: flex;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #eee;
}
.detail-row:last-child {
    border-bottom: none;
}
.detail-row:nth-child(even) {
    background-color: #f8f9fa;
}
.detail-label {
    font-weight: 600;
    width: 40%;
    flex-shrink: 0;
}
.detail-value {
    width: 60%;
    padding-left: 1rem;
    position: relative;
}
.detail-value::before {
    content: ":";
    position: absolute;
    left: 0;
    font-weight: 600;
}

/* Running Text News */
.running-text-container {
    display: flex;
    align-items: stretch;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075);
}

.running-text-container .label {
    background-color: #2E8B57;
    color: white;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.marquee-wrapper {
    flex-grow: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.marquee-content {
    display: flex;
    flex-wrap: nowrap;
    width: fit-content;
    animation: marquee 25s linear infinite;
}

.marquee-wrapper:hover .marquee-content {
    animation-play-state: paused;
}

.marquee-item {
    padding: 0 1.5rem;
    text-decoration: none;
    color: #343a40;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.marquee-item i {
    font-size: 0.5rem;
    margin-right: 0.5rem;
    color: #6c757d;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Kartu Seragam (BARU) */
.card-seragam {
    border: 1px solid #eee;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.05);
}
.card-seragam .card-image-wrapper {
    overflow: hidden; /* Penting untuk animasi zoom */
    border-radius: 0.5rem 0.5rem 0 0;
}
.card-seragam img {
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}
.card-seragam:hover img {
    transform: scale(1.1); /* Efek Zoom In */
}


/* Logo Scroller Animation */
.logo-scroller {
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
    position: relative;
    -webkit-mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
    mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
}
/* ... (Sisa gaya CSS) ... */

/* Tombol WhatsApp Custom (Diperbarui) */
.whatsapp-btn-custom {
    display: block;
    width: 90px;
    height: auto;
    transition: transform 0.2s ease;
    box-shadow: none !important; /* Menghilangkan bayangan */
}
.whatsapp-btn-custom:hover {
    transform: scale(1.1);
    box-shadow: none !important; /* Memastikan tidak ada bayangan saat hover */
}
.whatsapp-btn-custom img {
    width: 100%;
    height: auto;
}