* { box-sizing: border-box; }
    html, body { height: 100%; margin: 0; }
    
    body {
        background: linear-gradient(135deg, #0f172a 0%, #1a1f3a 50%, #0f172a 100%);
        color: #e2e8f0;
        font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
    }
    
    /* Loading Screen */
    .loading-screen {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, #0f172a 0%, #1a1f3a 50%, #0f172a 100%);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 9999;
        transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
        opacity: 1;
        visibility: visible;
    }
    
    .loading-screen.fade-out {
        opacity: 0;
        visibility: hidden;
    }
    
    .loading-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .loading-logo {
        width: 80px;
        height: 80px;
        border-radius: 1rem;
        /* background: linear-gradient(135deg, #ffffff, #ffffff); */
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2.5rem;
        animation: logoFloat 2s ease-in-out infinite;
        /* box-shadow: 0 20px 60px rgba(245, 158, 11, 0.4); */
    }
    
    @keyframes logoFloat {
        0%, 100% { transform: translateY(0) scale(1); }
        50% { transform: translateY(-15px) scale(1.05); }
    }
    
    .loading-spinner {
        width: 50px;
        height: 50px;
        border: 4px solid rgba(255, 255, 255, 0.1);
        border-top-color: #f59e0b;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }
    
    @keyframes spin {
        to { transform: rotate(360deg); }
    }
    
    .loading-text {
        color: #cbd5e1;
        font-size: 1rem;
        font-weight: 500;
        letter-spacing: 2px;
        text-transform: uppercase;
    }
    
    .loading-dots {
        display: inline-flex;
        gap: 0.3rem;
    }
    
    .loading-dots span {
        width: 6px;
        height: 6px;
        background: #f59e0b;
        border-radius: 50%;
        animation: pulse-dot 1.4s infinite;
    }
    
    .loading-dots span:nth-child(1) { animation-delay: 0s; }
    .loading-dots span:nth-child(2) { animation-delay: 0.2s; }
    .loading-dots span:nth-child(3) { animation-delay: 0.4s; }
    
    @keyframes pulse-dot {
        0%, 100% { opacity: 0.3; transform: scale(0.8); }
        50% { opacity: 1; transform: scale(1.2); }
    }
    
    .progress-bar {
        width: 150px;
        height: 3px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        overflow: hidden;
        margin-top: 1rem;
    }
    
    .progress-fill {
        height: 100%;
        background: linear-gradient(90deg, #f59e0b, #ef4444, #f59e0b);
        background-size: 200% 100%;
        animation: loading-progress 2s ease-in-out forwards;
    }
    
    @keyframes loading-progress {
        0% { width: 0%; }
        100% { width: 100%; }
    }
    
    /* Navigation */
    nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 50;
        background: rgba(15, 23, 42, 0.85);
        backdrop-filter: blur(30px);
        padding: 1rem 2rem;
    }
    
    nav.scrolled {
        background: rgba(15, 23, 42, 0.95);
        box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
    }
    
    .nav-container {
        max-width: 80rem;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .nav-brand {
        display: flex;
        align-items: center;
        gap: 1rem;
    }
    
    .nav-brand-icon {
        width: 3rem;
        height: 3rem;
        border-radius: 0.75rem;
        /* background: linear-gradient(135deg, #ffffff, hsl(0, 0%, 100%)); */
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        font-weight: bold;
        color: white;
    }
    
    .nav-brand-text h1 {
        font-size: 1.5rem;
        font-weight: 700;
        margin: 0;
        letter-spacing: -0.02em;
        color: #fbbf24;
    }
    
    .nav-brand-text p {
        font-size: 0.75rem;
        margin: 0;
        color: #94a3b8;
    }
    
    .nav-links {
        display: flex;
        gap: 2.5rem;
        align-items: center;
    }
    
    .nav-link {
        color: rgba(255, 255, 255, 0.7);
        text-decoration: none;
        font-weight: 500;
        font-size: 0.95rem;
        transition: color 0.3s;
        position: relative;
    }
    
    .nav-link::after {
        content: '';
        position: absolute;
        bottom: -0.25rem;
        left: 0;
        width: 0;
        height: 0.15rem;
        background: linear-gradient(135deg, #f59e0b, #ef4444);
        transition: width 0.3s;
    }
    
    .nav-link:hover {
        color: white;
    }
    
    .nav-link:hover::after {
        width: 100%;
    }
    
    .nav-cta {
        padding: 0.6rem 1.5rem;
        border-radius: 9999px;
        background: linear-gradient(135deg, #f59e0b, #ef4444);
        color: white;
        border: none;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s;
    }
    
    .nav-cta:hover {
        transform: scale(1.05);
        box-shadow: 0 15px 40px rgba(245, 158, 11, 0.3);
    }
    
    @media (max-width: 1024px) {
        .nav-links { display: none; }
    }
    
    /* Hero Section */
    .hero {
        min-height: 100vh;
        display: flex;
        align-items: center;
        padding-top: 5rem;
        position: relative;
        overflow: hidden;
    }
    
    .hero-container {
        max-width: 80rem;
        margin: 0 auto;
        padding: 0 1.5rem;
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: center;
    }
    
    @media (max-width: 1024px) {
        .hero-container { grid-template-columns: 1fr; }
    }
    
    .hero-content h1 {
        font-size: clamp(2.5rem, 8vw, 4rem);
        font-weight: 900;
        line-height: 1.2;
        margin: 0 0 1.5rem 0;
        letter-spacing: -0.02em;
    }
    
    .hero-content p {
        font-size: 1.125rem;
        line-height: 1.8;
        color: #cbd5e1;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .btn-primary, .btn-secondary {
        padding: 1rem 2rem;
        border-radius: 9999px;
        font-weight: 600;
        border: none;
        cursor: pointer;
        transition: all 0.3s;
        font-size: 1rem;
    }
    
    .btn-primary {
        background: linear-gradient(135deg, #f59e0b, #ef4444);
        color: white;
        box-shadow: 0 15px 50px rgba(245, 158, 11, 0.3);
    }
    
    .btn-primary:hover {
        transform: scale(1.05);
        box-shadow: 0 20px 60px rgba(245, 158, 11, 0.4);
    }
    
    .btn-secondary {
        background: rgba(255, 255, 255, 0.1);
        color: white;
        border: 2px solid rgba(255, 255, 255, 0.2);
    }
    
    .btn-secondary:hover {
        background: rgba(255, 255, 255, 0.15);
        transform: scale(1.05);
    }
    
    .stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        margin-top: 3rem;
        padding-top: 2.5rem;
        border-top: 2px solid rgba(255, 255, 255, 0.1);
    }
    
    .stat-item {
        text-align: center;
    }
    
    .stat-number {
        font-size: 2.5rem;
        font-weight: 900;
        margin-bottom: 0.5rem;
    }
    
    .stat-label {
        font-size: 0.875rem;
        color: #94a3b8;
    }
    
    /* Hero Visual with Enhanced 3D */
    .hero-visual {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 400px;
        position: relative;
        perspective: 1200px;
    }
    
    .building-3d-enhanced {
        width: 320px;
        height: 380px;
        display: flex;
        align-items: center;
        justify-content: center;
        animation: buildingRotate 6s ease-in-out infinite;
        filter: drop-shadow(0 40px 100px rgba(245, 158, 11, 0.3));
        transform-style: preserve-3d;
    }
    
    @keyframes buildingRotate {
        0%, 100% { transform: rotateX(10deg) rotateY(-15deg) scale(1); }
        50% { transform: rotateX(-5deg) rotateY(15deg) scale(1.05); }
    }
    
    .floating-icon {
        position: absolute;
        width: 80px;
        height: 80px;
        border-radius: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
        animation: floatIcon 5s ease-in-out infinite;
    }
    
    @keyframes floatIcon {
        0%, 100% { transform: translateY(0) rotate(0deg); }
        50% { transform: translateY(-20px) rotate(5deg); }
    }
    
    /* Sections */
    section {
        padding: 5rem 1.5rem;
        position: relative;
    }
    
    .section-container {
        max-width: 80rem;
        margin: 0 auto;
    }
    
    .section-header {
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .section-tag {
        display: inline-block;
        padding: 0.5rem 1.25rem;
        border-radius: 9999px;
        font-size: 0.875rem;
        font-weight: 600;
        margin-bottom: 1rem;
        background: rgba(59, 130, 246, 0.15);
        color: #60a5fa;
        border: 1.5px solid rgba(59, 130, 246, 0.3);
    }
    
    .section-title {
        font-size: clamp(2rem, 5vw, 3rem);
        font-weight: 900;
        margin: 0 0 1rem 0;
        letter-spacing: -0.02em;
    }
    
    .section-subtitle {
        font-size: 1.125rem;
        color: #cbd5e1;
        margin: 0;
    }
    
    /* About Section */
    .about-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: center;
    }
    
    @media (max-width: 1024px) {
        .about-grid { grid-template-columns: 1fr; }
    }
    
    .about-visual {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 400px;
    }
    
    .about-card {
        padding: 1.5rem;
        border-radius: 1.5rem;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.12);
        display: flex;
        gap: 1rem;
    }
    
    .about-card-icon {
        width: 3rem;
        height: 3rem;
        border-radius: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        flex-shrink: 0;
    }
    
    .about-cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    @media (max-width: 640px) {
        .about-cards { grid-template-columns: 1fr; }
    }
    
    /* Programs Section */
    .programs-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }
    
    .program-card {
        padding: 2rem;
        border-radius: 2rem;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
        border: 1.5px solid rgba(255, 255, 255, 0.12);
        transition: all 0.3s;
        display: flex;
        flex-direction: column;
    }
    
    .program-card:hover {
        transform: translateY(-15px);
        box-shadow: 0 30px 60px rgba(245, 158, 11, 0.25);
    }
    
    .program-icon {
        width: 4rem;
        height: 4rem;
        border-radius: 1.25rem;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .program-card h3 {
        font-size: 1.5rem;
        font-weight: 700;
        margin: 0 0 1rem 0;
    }
    
    .program-card p {
        font-size: 1rem;
        color: #cbd5e1;
        margin: 0 0 1.5rem 0;
    }
    
    .program-list {
        list-style: none;
        padding: 0;
        margin: 0 0 1.5rem 0;
        flex-grow: 1;
    }
    
    .program-list li {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 0.75rem;
        font-size: 0.95rem;
        color: #cbd5e1;
    }
    
    .program-list li::before {
        content: '✓';
        color: inherit;
        font-weight: bold;
    }
    
    /* Gallery Section */
    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .gallery-item {
        position: relative;
        overflow: hidden;
        border-radius: 1.5rem;
        height: 280px;
        cursor: pointer;
        transition: all 0.3s;
        transform-style: preserve-3d;
    }
    
    .gallery-item:hover {
        transform: scale(1.05) translateY(-10px);
        box-shadow: 0 25px 60px rgba(245, 158, 11, 0.3);
    }
    
    .gallery-item-bg {
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(30, 64, 175, 0.2));
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 3rem;
        transition: all 0.3s;
        position: relative;
    }
    
    .gallery-item:hover .gallery-item-bg {
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.4), rgba(30, 64, 175, 0.4));
    }
    
    .gallery-item-label {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 1.5rem;
        background: linear-gradient(to top, rgba(15, 23, 42, 0.95), transparent);
        color: white;
        transform: translateY(20px);
        transition: transform 0.3s;
    }
    
    .gallery-item:hover .gallery-item-label {
        transform: translateY(0);
    }
    
    .gallery-item-title {
        font-size: 1.125rem;
        font-weight: 700;
        margin: 0;
    }
    
    .gallery-item-desc {
        font-size: 0.875rem;
        color: #cbd5e1;
        margin: 0.25rem 0 0 0;
    }
    
    /* Contact Section */
    .contact-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    @media (max-width: 1024px) {
        .contact-grid { grid-template-columns: 1fr; }
    }
    
    .contact-info {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    
    .contact-item {
        display: flex;
        gap: 1.5rem;
    }
    
    .contact-icon {
        width: 3.5rem;
        height: 3.5rem;
        border-radius: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        flex-shrink: 0;
    }
    
    .contact-form {
        padding: 2rem;
        border-radius: 2rem;
        background: rgba(255, 255, 255, 0.08);
        border: 1.5px solid rgba(255, 255, 255, 0.12);
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .form-label {
        display: block;
        font-weight: 600;
        margin-bottom: 0.5rem;
        font-size: 0.95rem;
    }
    
    .form-input, .form-textarea {
        width: 100%;
        padding: 0.75rem 1rem;
        border-radius: 1rem;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.15);
        color: white;
        font-family: inherit;
        font-size: 1rem;
        transition: all 0.3s;
    }
    
    .form-input::placeholder, .form-textarea::placeholder {
        color: #64748b;
    }
    
    .form-input:focus, .form-textarea:focus {
        outline: none;
        background: rgba(255, 255, 255, 0.12);
        border-color: #f59e0b;
        box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
    }
    
    .form-textarea {
        resize: vertical;
        min-height: 120px;
    }
    
    /* Footer */
    footer {
        padding: 3rem 1.5rem;
        border-top: 1.5px solid rgba(255, 255, 255, 0.1);
        background: rgba(0, 0, 0, 0.3);
    }
    
    .footer-content {
        max-width: 80rem;
        margin: 0 auto;
        display: grid;
        grid-template-columns: auto 1fr auto;
        gap: 2rem;
        align-items: center;
    }
    
    @media (max-width: 768px) {
        .footer-content {
            grid-template-columns: 1fr;
            text-align: center;
        }
    }
    
    .footer-text {
        color: #94a3b8;
        margin: 0;
    }
    
    .social-links {
        display: flex;
        gap: 1rem;
        justify-content: flex-end;
    }
    
    @media (max-width: 768px) {
        .social-links { justify-content: center; }
    }
    
    .social-link {
        width: 2.5rem;
        height: 2.5rem;
        border-radius: 0.75rem;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fbbf24;
        text-decoration: none;
        transition: all 0.3s;
    }
    
    .social-link:hover {
        transform: scale(1.1);
        background: linear-gradient(135deg, #f59e0b, #ef4444);
        color: white;
    }


    /* my custom */
    .program-card {
    position: relative;
    background: #0f172a; /* warna background card */
    border-radius: 16px;
    padding: 24px;
    overflow: hidden;
    z-index: 1;
    }

    /* layer border animasi */
    .program-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    background: linear-gradient(
        45deg,
        red,
        orange,
        yellow,
        lime,
        cyan,
        blue,
        violet,
        red
    );
    background-size: 400%;
    animation: rgbBorder 8s linear infinite;
    z-index: -1;
    }

    /* inner background supaya isi tetap solid */
    .program-card::after {
    content: "";
    position: absolute;
    inset: 2px;
    background: #0f172a;
    border-radius: 14px;
    z-index: -1;
    }

    /* animasi gerak warna */
    @keyframes rgbBorder {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 400% 50%;
    }
    }

    /* Modal background */
.image-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0,0,0,0.9);
  backdrop-filter: blur(5px);
}

/* Gambar besar */
.image-modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 85vh;
  border-radius: 12px;
  animation: zoomIn 0.3s ease;
}

/* Tombol close */
.image-modal-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* Animasi */
@keyframes zoomIn {
  from {transform: scale(0.7); opacity: 0;}
  to {transform: scale(1); opacity: 1;}
}

/* ===== ICON ACTION ===== */
.gallery-item {
  position: relative;
  overflow: hidden;
}

.gallery-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.gallery-action-btn {
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(6px);
  border-radius: 50px;
  padding: 6px 10px;
  color: #fff;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.gallery-action-btn:hover {
  background: rgba(239,68,68,0.8);
  transform: scale(1.05);
}

.gallery-action-btn.comment:hover {
  background: rgba(59,130,246,0.8);
}
