:root {
    --heading-font: 'Bebas Neue', 'Segoe UI', 'Franklin Gothic Medium', Arial, sans-serif;
}

body {
    background-color: #0a0f1a;
    color: #f5f6fa;
}

/* Navbar styles removed - replaced with offcanvas sidebar */

.banner {
    background-color: #101c2c;
    background-image: none;
}

.home-page h1,
.home-page h2,
.home-page h3,
.home-page h4,
.home-page h5,
.home-page h6,
.home-page .display-1,
.home-page .display-2,
.home-page .display-3,
.home-page .display-4,
.home-page .display-5,
.home-page .display-6 {
    font-family: var(--heading-font);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.display-3, h2, h3, h4, h5, h6 {
    color: #1e90ff;
}

.card {
    background-color: #181f2f;
    color: #f5f6fa;
    border: 1px solid #1e90ff;
}
.card-title {
    color: #1e90ff;
}
.card-body {
    background-color: #181f2f;
}

.btn, .btn-primary, .btn-link {
    background-color: #1e90ff !important;
    color: #fff !important;
    border: none;
}
.btn-link {
    background: none !important;
    color: #1e90ff !important;
}
.btn-link:hover, .btn-link:focus {
    color: #fff !important;
    background-color: #1e90ff !important;
}

.bg-light, .container-fluid.bg-light {
    background-color: #101c2c !important;
}

.kontak {
    background: #0a0f1a !important;
    color: #f5f6fa;
}

.social-link a {
    color: #1e90ff !important;
}
.social-link a:hover {
    color: #fff !important;
}

footer, .container.text-center.pt-5.pb-5 {
    background-color: #101c2c;
    color: #f5f6fa;
}

input, textarea, select {
    background-color: #181f2f;
    color: #f5f6fa;
    border: 1px solid #1e90ff;
}

::-webkit-scrollbar {
    width: 8px;
    background: #101c2c;
}
::-webkit-scrollbar-thumb {
    background: #1e90ff;
    border-radius: 4px;
}

#hero {
    background: url('IMG/Profile/Kelompok/BPH3.JPG') center center/cover no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    overflow: hidden;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 15, 26, 0.7);
    z-index: 1;
}
#hero .container {
    margin-top: 120px;
    z-index: 2;
    position: relative;
}
#hero h1, #hero p, #hero a {
    color: #f5f6fa;
}
#hero h1 span {
    color: #1e90ff;
}
#hero .btn-primary {
    background-color: #1e90ff;
    border: none;
    color: #fff;
    font-weight: bold;
    padding: 0.75rem 2.5rem;
    font-size: 1.25rem;
    border-radius: 2rem;
    box-shadow: 0 4px 24px rgba(30,144,255,0.2);
    transition: background 0.2s;
}
#hero .btn-primary:hover {
    background-color: #1560a8;
    color: #fff;
}
#hero h1 {
    font-weight: 700;
    white-space: nowrap;
    font-size: 3.8rem;
}
#hero h2 {
    font-weight: 700;
    font-size: 2.4rem;
}
@media (max-width: 768px) {
    #hero h1 {
        font-size: 2rem;
        white-space: normal;
    }
    #hero h2 {
        font-size: 1.3rem;
    }
    #hero p {
        font-size: 1rem;
    }
    #hero .btn-primary {
        font-size: 1rem;
        padding: 0.5rem 1.5rem;
    }
    #hero {
        background-attachment: scroll;
    }
}

.scroll-down-text {
    position: absolute;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
    color: #f5f6fa;
    font-size: 1.1rem;
    background: rgba(16,28,44,0.7);
    padding: 0.5rem 1.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 2px 8px rgba(10,15,26,0.15);
    z-index: 3;
    letter-spacing: 1px;
    animation: scrollDownFade 2s infinite alternate;
}
@keyframes scrollDownFade {
    0% { opacity: 0.7; bottom: 32px; }
    100% { opacity: 1; bottom: 24px; }
}

.section-content {
    background: transparent;
    position: relative;
    z-index: 2;
}
.section-content .container {
    background: rgba(10, 15, 26, 0.08);
    border-radius: 1.5rem;
    box-shadow: 0 4px 32px rgba(10,15,26,0.10);
    padding: 2rem 2.5rem;
    color: #f5f6fa;
}
.section-content h2, .section-content h3, .section-content h4 {
    color: #1e90ff;
}

.section-accent {
    position: relative;
    z-index: 2;
}

.section-accent::before,
.section-accent::after {
    content: '';
    position: absolute;
    left: 5%;
    width: 90%;
    height: 4px;
    background: linear-gradient(90deg, rgba(30, 144, 255, 0) 0%, rgba(30, 144, 255, 0.8) 50%, rgba(30, 144, 255, 0) 100%);
    pointer-events: none;
    z-index: 0;
}

.section-accent::before {
    top: 0;
    opacity: 0.7;
}

.section-accent::after {
    bottom: 0;
    opacity: 0.4;
}

.glass-card {
    background: rgba(16, 28, 44, 0.85);
    border: 1px solid rgba(30, 144, 255, 0.35);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(10, 15, 26, 0.35);
    backdrop-filter: blur(12px);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-8px);
    border-color: rgba(30, 144, 255, 0.8);
    box-shadow: 0 25px 50px rgba(30, 144, 255, 0.25);
}

.icon-badge {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
}

.icon-badge.gradient {
    background: linear-gradient(135deg, #1e90ff, #7b61ff);
    box-shadow: 0 10px 20px rgba(123, 97, 255, 0.35);
}

.mini-stats {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.mini-stats .value {
    font-family: var(--heading-font);
    font-size: 2.4rem;
    line-height: 1;
    display: block;
}

.mini-stats small {
    color: #c0c5d6;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.section-bg-dark {
    position: relative;
    background: url('IMG/Profile/Kelompok/FotoBPH3.JPG') center center/cover no-repeat;
    background-attachment: fixed;
    z-index: 1;
}
.section2-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 15, 26, 0.92);
    z-index: 2;
    pointer-events: none;
}
.section-bg-dark .container {
    position: relative;
    z-index: 3;
}

/* Navbar styles removed - replaced with offcanvas sidebar */

.tim img {
    width: 150px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px !important;
    border: 6px solid #cccccc;
}

/* Struktur Himpunan Section Styles */
.struktur-himpunan-section {
    position: relative;
    background: linear-gradient(135deg, #101c2c 0%, #0a0f1a 100%);
    overflow: hidden;
}

.struktur-himpunan-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(30, 144, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(123, 97, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.struktur-himpunan-section .container {
    position: relative;
    z-index: 1;
}

.section-header-struktur {
    margin-bottom: 3rem;
}

.badge-struktur {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.2) 0%, rgba(123, 97, 255, 0.2) 100%);
    border: 1px solid rgba(30, 144, 255, 0.3);
    border-radius: 50px;
    color: #1e90ff;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.carousel-struktur {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(30, 144, 255, 0.3);
}

.carousel-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    cursor: pointer;
}

.carousel-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.carousel-image-wrapper:hover img {
    transform: scale(1.1);
}

.carousel-struktur .carousel-control-prev,
.carousel-struktur .carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(30, 144, 255, 0.3);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.carousel-struktur .carousel-control-prev:hover,
.carousel-struktur .carousel-control-next:hover {
    background: rgba(30, 144, 255, 0.6);
    transform: translateY(-50%) scale(1.1);
}

.struktur-divider {
    margin: 4rem 0 2rem;
    text-align: center;
    position: relative;
}

.struktur-divider::before,
.struktur-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(30, 144, 255, 0.5), transparent);
}

.struktur-divider::before {
    left: 0;
}

.struktur-divider::after {
    right: 0;
}

.struktur-divider i {
    font-size: 2rem;
    color: #1e90ff;
    background: rgba(30, 144, 255, 0.1);
    padding: 1rem;
    border-radius: 50%;
    display: inline-block;
    margin-bottom: 1rem;
    border: 2px solid rgba(30, 144, 255, 0.3);
}

.struktur-divider-sub {
    margin: 2rem 0 1rem;
    text-align: center;
}

.struktur-divider-sub i {
    font-size: 1.5rem;
    color: #1e90ff;
    opacity: 0.7;
    margin-bottom: 0.5rem;
}

.struktur-card {
    background: rgba(16, 28, 44, 0.85);
    border: 1px solid rgba(30, 144, 255, 0.2);
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.struktur-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #1e90ff, transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.struktur-card:hover::before {
    opacity: 1;
}

.struktur-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(30, 144, 255, 0.6);
    box-shadow: 0 20px 50px rgba(30, 144, 255, 0.3);
    background: rgba(16, 28, 44, 0.95);
}

.struktur-card-featured {
    border: 2px solid rgba(30, 144, 255, 0.4);
    box-shadow: 0 15px 40px rgba(30, 144, 255, 0.2);
}

.struktur-card-featured::after {
    content: '⭐';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.struktur-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, rgba(16, 28, 44, 0.95) 0%, rgba(10, 15, 26, 0.95) 100%);
    display: block;
}

.struktur-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.5s ease;
    display: block;
}

.struktur-card:hover .struktur-card-image img {
    transform: scale(1.1);
}

.struktur-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 144, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.struktur-card-image:hover .struktur-card-overlay {
    opacity: 1;
}

.struktur-card-overlay i {
    font-size: 2rem;
    color: white;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.struktur-card-body {
    text-align: center;
    position: relative;
}

.struktur-badge {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -40px auto 1rem;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.struktur-card:hover .struktur-badge {
    transform: scale(1.1) rotate(5deg);
}

.struktur-badge.pembina {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #1a1a1a;
}

.struktur-badge.pic {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.struktur-badge.ketua {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    animation: glow 2s infinite;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 5px 20px rgba(240, 147, 251, 0.5); }
    50% { box-shadow: 0 5px 30px rgba(240, 147, 251, 0.8); }
}

.struktur-badge.wakil {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.struktur-badge.sekretaris {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.struktur-badge.bendahara {
    background: linear-gradient(135deg, #fa709a, #fee140);
}

.struktur-badge.kadep {
    background: linear-gradient(135deg, #30cfd0, #330867);
}

.struktur-badge.kadiv {
    background: linear-gradient(135deg, #a8edea, #fed6e3);
    color: #1a1a1a;
}

.struktur-card-body h4 {
    color: #f5f6fa;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.struktur-card:hover .struktur-card-body h4 {
    color: #1e90ff;
}

.struktur-role {
    color: #c0c5d6;
    font-size: 0.85rem;
    margin: 0;
    font-weight: 500;
}

.struktur-card-departemen {
    border-left: 4px solid #1e90ff;
}

.struktur-card-divisi {
    border-left: 4px solid rgba(30, 144, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .struktur-card {
        margin-bottom: 2rem;
    }
    
    .struktur-card-image {
        aspect-ratio: 3/4;
    }
    
    .struktur-badge {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin: -35px auto 1rem;
    }
    
    .struktur-card-body h4 {
        font-size: 1rem;
    }
    
    .struktur-role {
        font-size: 0.8rem;
    }
    
    .struktur-divider {
        margin: 3rem 0 1.5rem;
    }
    
    .carousel-struktur .carousel-control-prev,
    .carousel-struktur .carousel-control-next {
        width: 40px;
        height: 40px;
    }
}
.hero-gradient-bridge {
    position: relative;
    width: 100%;
    height: 80px; /* tinggi transisi, bisa diubah */
    margin-top: -80px; /* overlap sedikit ke section 2 */
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(10,15,26,0.0) 0%,
        rgba(10,15,26,0.72) 90%
    );
}
@media (max-width: 768px) {
    .hero-gradient-bridge {
        height: 40px;
        margin-top: -40px;
    }
}
.section-gradient-bridge {
    position: relative;
    width: 100%;
    height: 60px; /* tinggi gradasi, bisa disesuaikan */
    margin-top: -60px; /* overlap agar mulus */
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(10,15,26,0.0) 0%,   /* sama dengan overlay section 2 */
        rgba(16,28,44,0.92) 100%  /* warna bg-light atau section parlemen */
    );
}
@media (max-width: 768px) {
    .section-gradient-bridge {
        height: 40px;
        margin-top: -40px;
    }
}

/* Hamburger Menu */
.hamburger-menu {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    background: rgba(16, 28, 44, 0.9);
    border: 2px solid #1e90ff;
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 45px;
    height: 45px;
}

.hamburger-menu:hover {
    background: rgba(30, 144, 255, 0.2);
    transform: scale(1.05);
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background: #1e90ff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Offcanvas Sidebar */
.offcanvas-sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100vh;
    background: linear-gradient(135deg, #101c2c 0%, #0a0f1a 100%);
    border-right: 2px solid #1e90ff;
    z-index: 999;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
}

.offcanvas-sidebar.active {
    left: 0;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid rgba(30, 144, 255, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(30, 144, 255, 0.1);
}

.sidebar-header h5 {
    color: #1e90ff;
    font-weight: bold;
    margin: 0;
}

.close-sidebar {
    background: none;
    border: none;
    color: #1e90ff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.close-sidebar:hover {
    background: rgba(30, 144, 255, 0.2);
    color: #fff;
}

.sidebar-nav {
    padding: 20px 0;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-item {
    margin: 0;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: #f5f6fa;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    font-weight: 500;
}

.sidebar-link:hover {
    background: rgba(30, 144, 255, 0.15);
    color: #1e90ff;
    border-left-color: #1e90ff;
    text-decoration: none;
}

.sidebar-link i {
    width: 20px;
    text-align: center;
    margin-right: 15px;
    color: #1e90ff;
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid rgba(30, 144, 255, 0.3);
    text-align: center;
    background: rgba(30, 144, 255, 0.05);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(30, 144, 255, 0.2);
    color: #1e90ff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(30, 144, 255, 0.3);
}

.social-links a:hover {
    background: #1e90ff;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 144, 255, 0.3);
}

.sidebar-footer p {
    color: #f5f6fa;
    font-size: 0.9rem;
    font-style: italic;
}

/* Sidebar Overlay */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive Design */
@media (max-width: 768px) {
    .offcanvas-sidebar {
        width: 280px;
        left: -280px;
    }
    
    .hamburger-menu {
        top: 15px;
        left: 15px;
        width: 40px;
        height: 40px;
        padding: 10px;
    }
}

/* Smooth scrolling untuk link anchor */
html {
    scroll-behavior: smooth;
}

/* Animasi untuk sidebar items */
.sidebar-item {
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInLeft 0.3s ease forwards;
}

.sidebar-item:nth-child(1) { animation-delay: 0.1s; }
.sidebar-item:nth-child(2) { animation-delay: 0.2s; }
.sidebar-item:nth-child(3) { animation-delay: 0.3s; }
.sidebar-item:nth-child(4) { animation-delay: 0.4s; }
.sidebar-item:nth-child(5) { animation-delay: 0.5s; }
.sidebar-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Bank Soal Page Styles */
#hero-bank-soal {
    background: url('IMG/Profile/Kelompok/FotoBPH3.JPG') center center/cover no-repeat;
    background-attachment: fixed;
    min-height: 60vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

#hero-bank-soal .hero-overlay {
    background: rgba(10, 15, 26, 0.8);
}

.soal-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(30, 144, 255, 0.2);
    background: linear-gradient(135deg, #181f2f 0%, #101c2c 100%);
    overflow: hidden;
}

.soal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(30, 144, 255, 0.3);
    border-color: #1e90ff;
}

.soal-card .card-img-top {
    position: relative;
    overflow: hidden;
    height: 200px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.soal-card .card-img-top:hover {
    transform: scale(1.02);
}

.soal-card .card-img-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.soal-card:hover .card-img-top img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(30, 144, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.soal-card:hover .play-button {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.duration-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    z-index: 1;
}

.soal-card .card-body {
    padding: 1.5rem;
}

.soal-card .card-title {
    color: #1e90ff;
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.soal-card .card-text {
    color: #f5f6fa;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.soal-card .badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.6rem;
}

.soal-card .card-footer {
    background: rgba(30, 144, 255, 0.05);
    border-top: 1px solid rgba(30, 144, 255, 0.2);
    padding: 1rem 1.5rem;
}

.soal-card .btn-primary {
    background: linear-gradient(135deg, #1e90ff 0%, #1560a8 100%);
    border: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.soal-card .btn-primary:hover {
    background: linear-gradient(135deg, #1560a8 0%, #1e90ff 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(30, 144, 255, 0.4);
}

/* Filter Section Styles */
.bg-light .card {
    background: linear-gradient(135deg, #181f2f 0%, #101c2c 100%);
    border: 1px solid rgba(30, 144, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.bg-light .card-body {
    background: transparent;
}

.form-label {
    color: #1e90ff;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    background: rgba(24, 31, 47, 0.8);
    border: 1px solid rgba(30, 144, 255, 0.3);
    color: #f5f6fa;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    background: rgba(24, 31, 47, 0.9);
    border-color: #1e90ff;
    box-shadow: 0 0 0 0.2rem rgba(30, 144, 255, 0.25);
    color: #f5f6fa;
}

.form-control::placeholder {
    color: rgba(245, 246, 250, 0.6);
}

/* Video Modal Styles */
.modal-content {
    background: linear-gradient(135deg, #101c2c 0%, #0a0f1a 100%);
    border: 1px solid rgba(30, 144, 255, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.modal-body {
    padding: 0;
    position: relative;
}



/* Video iframe styling */
#videoIframe {
    border: none;
    border-radius: 8px;
}

/* Load More Button */
.btn-outline-primary {
    border: 2px solid #1e90ff;
    color: #1e90ff;
    background: transparent;
    font-weight: 500;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: #1e90ff;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(30, 144, 255, 0.4);
}

/* Active sidebar link */
.sidebar-link.active {
    background: rgba(30, 144, 255, 0.2);
    color: #1e90ff;
    border-left-color: #1e90ff;
}

/* Responsive adjustments for Bank Soal */
@media (max-width: 768px) {
    #hero-bank-soal {
        background-attachment: scroll;
        min-height: 50vh;
    }
    
    .soal-card .card-img-top {
        height: 150px;
    }
    
    .play-button {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .soal-card .card-title {
        font-size: 1rem;
    }
    
    .soal-card .card-text {
        font-size: 0.85rem;
    }
    

}

/* Animation for cards */
.soal-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.soal-card:nth-child(1) { animation-delay: 0.1s; }
.soal-card:nth-child(2) { animation-delay: 0.2s; }
.soal-card:nth-child(3) { animation-delay: 0.3s; }
.soal-card:nth-child(4) { animation-delay: 0.4s; }
.soal-card:nth-child(5) { animation-delay: 0.5s; }
.soal-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gallery Page Styles */
#hero-galeri {
    background: url('IMG/Profile/Kelompok/FotoBPH3.JPG') center center/cover no-repeat;
    background-attachment: fixed;
    min-height: 60vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

#hero-galeri .hero-overlay {
    background: rgba(10, 15, 26, 0.8);
}

.gallery-card {
    background: linear-gradient(135deg, #181f2f 0%, #101c2c 100%);
    border: 1px solid rgba(30, 144, 255, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(30, 144, 255, 0.3);
    border-color: #1e90ff;
}

.gallery-image {
    position: relative;
    overflow: hidden;
    height: 200px;
    cursor: pointer;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-card.video-card {
    cursor: default;
}

.gallery-video {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.gallery-video video,
.gallery-video iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: 0;
}

.gallery-card:hover .gallery-image img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 144, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 2rem;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-overlay i {
    transform: scale(1);
}

.gallery-info {
    padding: 1rem;
    background: rgba(30, 144, 255, 0.05);
}

.gallery-title {
    color: #1e90ff;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.gallery-category {
    color: #f5f6fa;
    font-size: 0.8rem;
    margin: 0;
    opacity: 0.8;
}

/* Gallery Modal Styles */
#galleryModal .modal-content {
    background: linear-gradient(135deg, #101c2c 0%, #0a0f1a 100%);
    border: 1px solid rgba(30, 144, 255, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

#galleryModal .modal-header {
    border-bottom: 1px solid rgba(30, 144, 255, 0.2);
    background: rgba(30, 144, 255, 0.05);
}

#galleryModal .modal-title {
    color: #1e90ff;
    font-weight: 600;
}

#galleryModal .btn-close {
    filter: invert(1);
}

#galleryModal .modal-body {
    background: transparent;
}

#galleryModal .modal-footer {
    border-top: 1px solid rgba(30, 144, 255, 0.2);
    background: rgba(30, 144, 255, 0.05);
}

#galleryModal img {
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments for Gallery */
@media (max-width: 768px) {
    #hero-galeri {
        background-attachment: scroll;
        min-height: 50vh;
    }
    
    .gallery-image {
        height: 150px;
    }
    
    .gallery-overlay i {
        font-size: 1.5rem;
    }
    
    .gallery-title {
        font-size: 0.8rem;
    }
    
    .gallery-category {
        font-size: 0.7rem;
    }
}

/* Animation for gallery items */
.gallery-item {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }
.gallery-item:nth-child(7) { animation-delay: 0.7s; }
.gallery-item:nth-child(8) { animation-delay: 0.8s; }

/* Social Media Posts Section */
.social-post-card {
    background: linear-gradient(135deg, #181f2f 0%, #101c2c 100%);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid rgba(30, 144, 255, 0.2);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.social-post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #1e2a3a 0%, #15202b 100%);
    border-color: rgba(30, 144, 255, 0.4);
}

.social-post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(30, 144, 255, 0.2);
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon.tiktok {
    background: linear-gradient(45deg, #000000 0%, #ff0050 50%, #00f2ea 100%);
}

.social-post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.social-post-preview {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1rem;
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(30, 144, 255, 0.1);
}

.preview-container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-loading {
    text-align: center;
    color: #6c757d;
}

.preview-loading i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1e90ff;
}

.preview-loading p {
    margin: 0;
    font-size: 0.9rem;
}

.preview-embed {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
    background: #000;
    min-height: 300px;
}

/* Instagram embed specific styling */
.preview-container[data-platform="instagram"] .preview-embed {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

/* TikTok embed specific styling */
.preview-container[data-platform="tiktok"] .preview-embed {
    background: linear-gradient(45deg, #000000 0%, #ff0050 50%, #00f2ea 100%);
}

/* Instagram Preview Card */
.instagram-preview-card {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.instagram-preview-card:hover {
    transform: scale(1.02);
}

.instagram-preview-header {
    display: flex;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid #eee;
}

.instagram-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 12px;
}

.instagram-info strong {
    display: block;
    font-size: 14px;
    color: #262626;
}

.instagram-info span {
    font-size: 12px;
    color: #8e8e8e;
}

.instagram-preview-image {
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.instagram-placeholder {
    text-align: center;
    color: #8e8e8e;
}

.instagram-placeholder i {
    font-size: 3rem;
    margin-bottom: 8px;
    color: #c7c7c7;
}

.instagram-placeholder p {
    margin: 0 0 4px 0;
    font-weight: 600;
}

.instagram-placeholder small {
    font-size: 11px;
}

.instagram-preview-actions {
    display: flex;
    align-items: center;
    padding: 12px;
    gap: 16px;
}

.instagram-preview-actions i {
    font-size: 20px;
    color: #262626;
    cursor: pointer;
    transition: color 0.2s ease;
}

.instagram-preview-actions i:hover {
    color: #8e8e8e;
}

/* TikTok Preview Card */
.tiktok-preview-card {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    color: white;
}

.tiktok-preview-card:hover {
    transform: scale(1.02);
}

.tiktok-preview-header {
    display: flex;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid #333;
}

.tiktok-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(45deg, #000000 0%, #ff0050 50%, #00f2ea 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 12px;
}

.tiktok-info strong {
    display: block;
    font-size: 14px;
    color: white;
}

.tiktok-info span {
    font-size: 12px;
    color: #ccc;
}

.tiktok-preview-video {
    aspect-ratio: 9/16;
    background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.tiktok-placeholder {
    text-align: center;
    color: #ccc;
    position: relative;
}

.tiktok-placeholder i {
    font-size: 3rem;
    margin-bottom: 8px;
    color: #666;
}

.tiktok-placeholder p {
    margin: 0 0 4px 0;
    font-weight: 600;
}

.tiktok-placeholder small {
    font-size: 11px;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 0, 80, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    margin-top: 20px;
}

.tiktok-preview-actions {
    display: flex;
    align-items: center;
    padding: 12px;
    gap: 16px;
}

.tiktok-preview-actions i {
    font-size: 20px;
    color: white;
    cursor: pointer;
    transition: color 0.2s ease;
}

.tiktok-preview-actions i:hover {
    color: #ff0050;
}

.preview-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e2a3a 0%, #15202b 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    border-radius: 15px;
}

.preview-fallback i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.preview-fallback.instagram i {
    color: #e4405f;
}

.preview-fallback.tiktok i {
    color: #ff0050;
}

.preview-fallback p {
    margin: 0;
    font-size: 0.9rem;
    color: #6c757d;
}

.social-post-text {
    flex: 1;
}

.social-post-text p {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.social-post-footer {
    margin-top: auto;
    padding-top: 1rem;
}

.social-post-footer .btn {
    width: 100%;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-post-footer .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Social media buttons styling */
.btn-primary {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
    border: none !important;
    color: white !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #e6683c 0%, #dc2743 25%, #cc2366 50%, #bc1888 75%, #8a3ab9 100%) !important;
}

.btn-outline-primary {
    border: 2px solid #1e90ff !important;
    color: #1e90ff !important;
    background: transparent !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: #1e90ff !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 144, 255, 0.3);
}

/* Social posts responsive */
@media (max-width: 768px) {
    .social-post-card {
        margin-bottom: 2rem;
    }
    
    .social-post-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .social-post-header small {
        align-self: flex-end;
    }
    
    .preview-fallback i {
        font-size: 2rem;
    }
    
    .preview-fallback p {
        font-size: 0.8rem;
    }
}
