/* Base & Variables */
:root {
    --primary: #009DC9;
    --primary-dark: #007A9E;
    --primary-light: #4DD2FA;
    --secondary: #f9fafb;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --white: #ffffff;
    --accent: #FF6B6B;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: #fafafa;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* Typography & Utilities */
.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.divider {
    height: 4px;
    width: 60px;
    background: var(--primary);
    margin: 15px auto 20px;
    border-radius: 2px;
}

.divider.left {
    margin: 15px 0 20px 0;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.7); /* 30% transparent glass effect */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
    z-index: 1000;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.navbar.scrolled {
    padding: 10px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    box-shadow: var(--shadow-sm);
    backdrop-filter: none;
}

/* Teks dan Logo menjadi putih saat navbar menggunakan background gradien biru */
.navbar.scrolled .nav-logo,
.navbar.scrolled .nav-link,
.navbar.scrolled .mobile-toggle,
.navbar.scrolled .logo-subtitle {
    color: var(--white);
}

.navbar.scrolled .nav-link::after {
    background-color: var(--white);
}

.navbar.scrolled .nav-link:hover, 
.navbar.scrolled .nav-link.active {
    color: var(--primary-light);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-dark);
}

.logo-img {
    height: 45px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.1;
}

.logo-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #000000;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-main);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.btn-wa {
    background-color: #25D366;
    color: var(--white);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-wa:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-dark);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--primary);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transform: translateY(-150%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.mobile-menu.open {
    transform: translateY(0);
}

.mobile-link {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 500;
    padding: 10px;
    border-radius: 8px;
    transition: var(--transition);
}

.mobile-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 157, 201, 0.7), rgba(0, 0, 0, 0.6));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 2px 4px 10px rgba(0,0,0,0.3);
}

.hero-desc {
    font-size: 1.2rem;
    margin-bottom: 40px;
    text-shadow: 1px 2px 5px rgba(0,0,0,0.3);
}

.btn-primary {
    background-color: var(--white);
    color: var(--primary);
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    display: inline-block;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards;
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }

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

/* Pokja Section */
.pokja-section {
    padding: 100px 0;
    background-color: var(--secondary);
    position: relative;
    background-image: url('../img/hero_1.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.pokja-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(249, 250, 251, 0.92); /* var(--secondary) transparent */
    z-index: 1;
}

.pokja-section .container {
    position: relative;
    z-index: 2;
}

.pokja-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* Memaksa 5 kolom dalam satu baris */
    gap: 20px;
    margin-top: 50px;
}

@media (max-width: 1200px) {
    .pokja-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
    }
}

.pokja-card {
    background: var(--white);
    padding: 40px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pokja-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.pokja-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.pokja-card:hover::before {
    opacity: 1;
}

.pokja-card:hover p, .pokja-card:hover h3 {
    color: var(--white);
}

.pokja-card:hover .card-icon {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
}

.card-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(0, 157, 201, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.pokja-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
    transition: var(--transition);
}

.pokja-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition);
}

.btn-card {
    display: inline-block;
    margin-top: auto; /* Memaksa tombol ke posisi paling bawah agar sejajar */
    padding: 10px 24px;
    border-radius: 30px;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.pokja-card:hover .btn-card {
    border-color: var(--white);
    color: var(--white);
}

.btn-card:hover {
    background-color: var(--primary);
    color: var(--white) !important;
}

.pokja-card:hover .btn-card:hover {
    background-color: var(--white);
    color: var(--primary) !important;
}

/* Sambutan Ketua Section */
.sambutan-section {
    padding: 100px 0;
    background-color: var(--white);
}

.sambutan-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

.sambutan-image-container {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.blob-bg {
    position: absolute;
    width: 110%;
    height: 110%;
    background-color: var(--primary-light);
    opacity: 0.2;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    z-index: 1;
    animation: blobMorph 8s infinite alternate ease-in-out;
}

@keyframes blobMorph {
    0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

.ketua-img {
    width: 350px;
    height: auto;
    z-index: 2;
    position: relative;
    filter: drop-shadow(0 20px 20px rgba(0,0,0,0.15));
}

.sambutan-content {
    flex: 1.2;
}

.subtitle {
    color: var(--primary);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.sambutan-content h2 {
    font-size: 2.8rem;
    color: var(--text-main);
}

.quote-box {
    background-color: var(--secondary);
    padding: 30px;
    border-radius: 20px;
    border-left: 5px solid var(--primary);
    position: relative;
    margin-bottom: 30px;
}

.quote-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 2rem;
    color: rgba(0, 157, 201, 0.2);
}

.quote-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-muted);
    line-height: 1.8;
    position: relative;
    z-index: 2;
}

.signature h4 {
    font-size: 1.5rem;
    color: var(--primary-dark);
}

.signature span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Galeri Section */
.galeri-section {
    padding: 100px 0;
    background-color: var(--secondary);
}

.gallery-grid {
    display: grid;
    /* 8 columns for 16 images in 2 rows on large screens */
    grid-template-columns: repeat(8, 1fr); 
    gap: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    aspect-ratio: 1 / 1;
    box-shadow: var(--shadow-sm);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 157, 201, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay i {
    color: var(--white);
    font-size: 2rem;
    transform: scale(0);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.lightbox.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

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

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--white);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.lightbox-close:hover {
    color: var(--primary-light);
}

#lightboxCaption {
    color: var(--white);
    margin-top: 15px;
    font-size: 1.2rem;
    font-family: 'Outfit', sans-serif;
}

/* Video Section */
.video-section {
    padding: 100px 0;
    background-color: var(--white);
}

.video-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 30px;
}

.video-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    background-color: #000;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.video-link {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
}

.video-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.video-card:hover .video-thumb {
    opacity: 0.9;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background-color: rgba(255, 0, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    padding-left: 5px; /* Visual center for play icon */
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
    animation: pulseRed 2s infinite;
    transition: var(--transition);
}

.small-play {
    width: 50px;
    height: 50px;
    font-size: 1rem;
}

.video-card:hover .play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    background-color: #ff0000;
}

@keyframes pulseRed {
    0% { box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(255, 0, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 0, 0, 0); }
}

.video-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: var(--white);
    pointer-events: none;
}

.main-video {
    height: 450px;
}

.main-video .video-info h4 {
    font-size: 1.5rem;
}

.side-videos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 15px;
}

.video-card.small {
    height: 217.5px;
}

.video-card.small .video-info {
    padding: 15px;
}

.video-card.small .video-info h5 {
    font-size: 1rem;
    font-weight: 500;
}

/* Footer */
.footer {
    background-color: #111827;
    color: #e5e7eb;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand h3 {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand p {
    color: #9ca3af;
    max-width: 300px;
}

.footer-links h4, .footer-contact h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after, .footer-contact h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #9ca3af;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #9ca3af;
}

.footer-contact i {
    color: var(--primary-light);
    font-size: 1.2rem;
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #374151;
    color: #6b7280;
}

/* Floating Buttons */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: var(--transition);
    animation: floatWA 3s ease-in-out infinite;
}

.floating-wa:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

@keyframes floatWA {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

.scroll-top {
    position: fixed;
    bottom: 100px;
    right: 35px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background-color: var(--primary-dark);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .main-video {
        height: 400px;
    }
    
    .sambutan-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .divider.left {
        margin: 15px auto 20px auto;
    }
    
    .quote-box {
        text-align: left;
    }
    
    .pokja-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu, .nav-actions .btn-wa {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-desc {
        font-size: 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .side-videos {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-links h4::after, .footer-contact h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .pokja-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .main-video {
        height: 250px;
    }
    
    .ketua-img {
        width: 200px;
    }
    
    .pokja-grid {
        grid-template-columns: 1fr;
    }
    
    .sambutan-content h2 {
        font-size: 2rem;
    }
    
    .quote-box {
        padding: 20px;
    }
    
    .quote-text {
        font-size: 1rem;
    }
}

/* Halaman Struktur Kepengurusan */
.hero-half {
    height: 50vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--white) 100%);
    overflow: hidden;
}

.hero-half::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('../img/hero_1.png');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 1;
}

.hero-half-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

.hero-half-content h1 {
    font-size: 3.5rem;
    color: var(--primary-dark);
    text-shadow: 2px 2px 4px rgba(255,255,255,0.5);
    margin-bottom: 10px;
}

.org-section {
    padding: 80px 0;
    background-color: var(--secondary);
}

.org-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.org-level {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    width: 100%;
}

.org-level.level-1 { margin-bottom: 20px; }
.org-level.level-2 { margin-bottom: 40px; gap: 60px; }
.org-level.level-3 { margin-bottom: 40px; }
.org-level.level-4 { }

.org-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    width: 250px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.org-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 8px;
    background: var(--primary);
}

.org-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.org-card-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px;
    border: 4px solid var(--primary-light);
    background-color: #f3f4f6;
}

.org-card h3 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.org-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
}

@media (max-width: 768px) {
    .hero-half-content h1 {
        font-size: 2.5rem;
    }
    .org-card {
        width: calc(50% - 15px);
    }
}

@media (max-width: 480px) {
    .hero-half-content h1 {
        font-size: 2rem;
    }
    .org-card {
        width: 100%;
    }
    .org-level.level-2 {
        gap: 30px;
    }
}

/* Halaman Profil */
.hero-profil {
    height: 60vh;
    background: linear-gradient(135deg, var(--primary) 0%, var(--white) 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    padding-top: 80px;
}

.hero-profil .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
}

.hero-profil-text {
    flex: 1.2;
}

.hero-profil-text h1 {
    font-size: 3rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.hero-profil-image {
    flex: 0.8;
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-profil-image .blob-bg {
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
}

.hero-profil-image img {
    height: 50vh;
    width: auto;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
}

.visimisi-section {
    padding: 80px 0;
    background-color: var(--white);
}

.visimisi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.visimisi-card {
    background: var(--secondary);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-top: 5px solid var(--primary);
}

.visimisi-card h3 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.visimisi-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.history-section {
    padding: 80px 0;
    background-color: var(--secondary);
}

.history-content {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.history-text {
    font-size: 1.1rem;
    color: var(--text-main);
    line-height: 1.8;
}

.history-text p {
    margin-bottom: 20px;
}

@media (max-width: 992px) {
    .hero-profil {
        height: auto;
        padding: 120px 0 60px;
    }
    
    .hero-profil .container {
        flex-direction: column-reverse;
        text-align: center;
    }
    
    .hero-profil-image img {
        height: 300px;
    }
    
    .visimisi-grid {
        grid-template-columns: 1fr;
    }
}
