/* ==========================================================================
   1. VARIABLES & BASE SETUP (Gaya Asas)
   ========================================================================== */
:root {
    --primary-color: #f4f1ea; 
    --secondary-color: #b0a9a0; 
    --background-color: #1c1a19; 
    --accent-color: #e6a758; 
    --surface-color: #3a3633; 
    --glow-color: rgba(230, 167, 88, 0.75); 
}

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

html { scroll-behavior: smooth; }

body { 
    font-family: 'Inter', sans-serif; 
    background-color: var(--background-color); 
    color: var(--primary-color); 
    overflow-x: hidden; 
}

/* ==========================================================================
   2. TYPOGRAPHY & COMMON SECTIONS
   ========================================================================== */
.section-heading { text-align: center; margin-bottom: 0.5rem; font-size: clamp(1.8rem, 4vw, 2.2rem); font-weight: 900; text-transform: uppercase; letter-spacing: 0.15em; }
.section-subheading { text-align: center; max-width: 700px; margin: 0 auto 2.5rem auto; color: var(--secondary-color); line-height: 1.6; font-size: 1rem; }
.section-subheading.light { color: var(--surface-color); }
.section-heading.light { color: var(--background-color); }
.section-heading.dark { color: var(--primary-color); }

/* ==========================================================================
   3. BUTTONS & UTILITIES
   ========================================================================== */
.cta-button { display: inline-block; padding: 0.9rem 2.8rem; border: 2px solid var(--accent-color); background-color: var(--accent-color); color: var(--background-color); font-weight: 900; font-size: 0.9rem; letter-spacing: 0.1em; text-decoration: none; text-transform: uppercase; cursor: pointer; transition: all 0.3s ease; border-radius: 4px; }
.cta-button:hover { background-color: transparent; color: var(--accent-color); box-shadow: 0 0 20px var(--glow-color); transform: translateY(-3px); }
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.6s cubic-bezier(0.5, 0, 0, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
.cta-section { padding: 6rem 5%; text-align: center; background-color: var(--surface-color); border-top: 1px solid rgba(244,241,234,0.05); }
.cta-content { max-width: 700px; margin: 0 auto; }
.cta-content h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); font-weight: 900; margin-bottom: 0.8rem; color: var(--primary-color); }
.cta-content p { color: var(--secondary-color); margin-bottom: 2rem; font-size: 1.1rem; }

/* ==========================================================================
   4. HEADER & NAVIGATION
   ========================================================================== */
.main-header { position: fixed; top: 0; left: 0; width: 100%; padding: 1.2rem 5%; z-index: 50; display: flex; justify-content: space-between; align-items: center; background: linear-gradient(to bottom, rgba(28, 26, 25, 0.9) 0%, rgba(28, 26, 25, 0) 100%); transition: background-color 0.3s ease, padding 0.3s ease; }
.header-scrolled { background-color: rgba(28, 26, 25, 0.95); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(244, 241, 234, 0.05); padding: 0.8rem 5%; box-shadow: 0 4px 20px rgba(0,0,0,0.5); }
.header-logo { font-size: 1.4rem; font-weight: 900; text-decoration: none; color: var(--primary-color); letter-spacing: 0.1em; }

.menu-toggle { display: none; flex-direction: column; justify-content: space-between; width: 30px; height: 21px; background: transparent; border: none; cursor: pointer; z-index: 60; }
.menu-toggle span { width: 100%; height: 3px; background-color: var(--primary-color); border-radius: 2px; transition: all 0.3s ease; }
.menu-toggle.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.main-nav a { color: var(--secondary-color); text-decoration: none; margin-left: 2rem; font-weight: 700; transition: color 0.3s ease, text-shadow 0.3s ease; }
.main-nav a:hover, .main-nav a.active { color: var(--primary-color); text-shadow: 0 0 10px var(--glow-color); }
.main-nav a.nav-login-btn { background-color: var(--accent-color); color: var(--background-color); padding: 0.5rem 1.25rem; border-radius: 6px; border: 2px solid var(--accent-color); }
.main-nav a.nav-login-btn:hover { background-color: transparent; color: var(--accent-color); box-shadow: 0 0 15px var(--glow-color); text-shadow: none; }

/* ==========================================================================
   5. HOME PAGE (INDEX)
   ========================================================================== */
.hero { position: relative; min-height: 90vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 100px 5% 40px; background-image: url('image/hero_image.png'); background-size: cover; background-position: center center; background-attachment: fixed; }
.hero::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(28,26,25,0.7) 0%, rgba(28,26,25,0.95) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; }
.hero-content h2 { font-size: clamp(2rem, 5vw, 4rem); font-weight: 900; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.05em; line-height: 1.1; }
.hero-content h2 span { color: var(--accent-color); }
.hero-content p { font-size: clamp(1rem, 2vw, 1.15rem); color: var(--secondary-color); max-width: 750px; margin: 1.5rem auto; line-height: 1.6; }

.intro-section { padding: 4rem 5%; text-align: center; background-color: var(--primary-color); }
.intro-content { max-width: 800px; margin: 0 auto; }
.intro-content p { font-size: clamp(1rem, 2vw, 1.1rem); color: var(--surface-color); line-height: 1.8; }

.services-section { padding: 2rem 5% 5rem; background-color: var(--primary-color); }
.services-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; max-width: 1100px; margin: 0 auto; }
.service-card { text-align: center; padding: 2.5rem 2rem; border-radius: 10px; background-color: #fff; box-shadow: 0 5px 20px rgba(28, 26, 25, 0.05); transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; justify-content: flex-start; border: 1px solid rgba(0,0,0,0.03); }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(230, 167, 88, 0.15); border-color: var(--accent-color); }
.service-icon { margin-bottom: 1.2rem; }
.service-icon svg { width: 45px; height: 45px; color: var(--accent-color); }
.service-card h4 { font-size: 1.2rem; font-weight: 900; margin-bottom: 0.8rem; color: var(--background-color); text-transform: uppercase; }
.service-card p { color: var(--surface-color); line-height: 1.6; font-size: 0.95rem; }

.training-banner { background: linear-gradient(rgba(28, 26, 25, 0.88), rgba(28, 26, 25, 0.95)), url('image/our_works/training_hero.jpg') center center/cover fixed; padding: 5rem 5%; text-align: center; border-top: 1px solid rgba(230, 167, 88, 0.15);  }
.training-banner-content { max-width: 850px; margin: 0 auto; }
.training-banner h2 { color: var(--accent-color); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; margin-bottom: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; }
.training-banner p { font-size: 1.05rem; color: var(--secondary-color); margin-bottom: 2rem; line-height: 1.6; }
.training-stats { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.stat-item { background: rgba(0,0,0,0.6); padding: 1.2rem 1.8rem; border-radius: 8px; border: 1px solid rgba(244, 241, 234, 0.1); backdrop-filter: blur(5px); transition: transform 0.3s ease; }
.stat-item:hover { transform: translateY(-3px); border-color: var(--accent-color); }
.stat-item span { display: block; font-size: 1.8rem; font-weight: 900; color: var(--primary-color); margin-bottom: 0.2rem; }
.stat-item small { color: var(--accent-color); font-weight: 700; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.1em; }

.testimonials-section { padding: 5rem 5%; background-color: var(--primary-color); }
.testimonials-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; max-width: 1100px; margin: 0 auto; }
.testimonial-card { background-color: #fff; padding: 2rem; border-radius: 10px; border: 1px solid rgba(28, 26, 25, 0.05); box-shadow: 0 5px 15px rgba(0,0,0,0.05); position: relative; }
.testimonial-card::before { content: '”'; font-size: 3.5rem; color: rgba(230, 167, 88, 0.2); position: absolute; top: 10px; left: 15px; font-family: Georgia, serif; }
.testimonial-card p { color: var(--surface-color); line-height: 1.6; font-style: italic; position: relative; z-index: 1; font-size: 0.95rem; }
.testimonial-author { margin-top: 1.2rem; font-weight: 900; color: var(--background-color); font-size: 0.95rem; }
.testimonial-author span { display: block; font-weight: 400; color: var(--accent-color); font-size: 0.85rem; margin-top: 4px; }

/* ==========================================================================
   6. OUR WORKS & PORTFOLIO (Sektor Kerja & Galeri)
   ========================================================================== */
.page-hero { position: relative; padding-top: 150px; padding-bottom: 4rem; text-align: center; background-color: var(--surface-color); background-size: cover; background-position: center center; z-index: 1; }
.page-hero.hero-works { background-image: url('image/our_works/our_works_hero.jpg'); }
.page-hero.hero-training { background-image: url('image/our_works/training_hero.jpg'); }
.page-hero::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(28, 26, 25, 0.7); z-index: -1; }
.page-hero h1 { font-size: clamp(2rem, 6vw, 3.5rem); font-weight: 900; margin-bottom: 1rem; position: relative; z-index: 2; }
.page-hero p { font-size: clamp(1rem, 2.5vw, 1.1rem); color: var(--secondary-color); max-width: 700px; margin: 0 auto; position: relative; z-index: 2; }

.portfolio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; padding: 5rem max(5%, calc((100% - 1000px) / 2)); background-color: var(--surface-color); border-top: 1px solid rgba(244, 241, 234, 0.05); border-bottom: 1px solid rgba(244, 241, 234, 0.05); }
.portfolio-grid .section-heading, .portfolio-grid .section-subheading { grid-column: 1 / -1; }

.portfolio-section { padding: 4rem 5% 6rem; }
.filter-controls { display: flex; justify-content: center; gap: 1rem; margin-bottom: 4rem; flex-wrap: wrap; }
.filter-btn { background-color: transparent; color: var(--secondary-color); border: 2px solid var(--surface-color); padding: 0.6rem 1.5rem; border-radius: 50px; cursor: pointer; font-weight: 700; transition: all 0.3s ease; }
.filter-btn:hover { color: var(--primary-color); border-color: var(--accent-color); }
.filter-btn.active { background-color: var(--accent-color); border-color: var(--accent-color); color: var(--background-color); }
.full-portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2rem; max-width: 1600px; margin: 0 auto; }

.portfolio-item { position: relative; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; background-color: var(--background-color); box-shadow: 0 12px 30px rgba(0,0,0,0.6); transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease; display: block; }
.portfolio-item.hide { display: none; }
.portfolio-item:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 20px 40px rgba(0,0,0,0.8), 0 0 15px var(--glow-color); z-index: 10; }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.portfolio-item:hover img { transform: scale(1.05); }

.item-overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 2.5rem 1.5rem 1.5rem; background: linear-gradient(to top, rgba(28, 26, 25, 0.95) 0%, rgba(28, 26, 25, 0) 100%); color: var(--primary-color); transform: translateY(100%); opacity: 0; transition: all 0.3s ease; }
.portfolio-item:hover .item-overlay { transform: translateY(0); opacity: 1; }
.item-overlay h3 { font-size: 1.2rem; margin-bottom: 0.2rem; font-weight: 700; color: var(--accent-color); }
.item-overlay p { font-size: 0.85rem; color: var(--primary-color); }

.portfolio-item.video-type::after { content: '▶'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: rgba(230, 167, 88, 0.9); color: #1c1a19; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; padding-left: 5px; box-shadow: 0 0 20px rgba(230, 167, 88, 0.5); transition: all 0.3s ease; z-index: 2; pointer-events: none; }
.portfolio-item.video-type:hover::after { transform: translate(-50%, -50%) scale(1.1); background: #f4f1ea; }

.modal { position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.9); display: none; align-items: center; justify-content: center; }
.modal-container { position: relative; max-width: 90%; max-height: 90%; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.modal-content { max-width: 100%; max-height: 90vh; display: block; animation: fadeIn 0.5s; }
.modal-caption { position: absolute; bottom: 0; left: 0; width: 100%; text-align: left; color: var(--primary-color); padding: 2.5rem 2rem; background: linear-gradient(to top, rgba(0,0,0,0.85) 20%, transparent 100%); animation: fadeIn 0.5s; }
.modal-caption h3 { font-size: 1.2rem; font-weight: 700; margin: 0; color: var(--primary-color); }
.modal-caption p { font-size: 0.9rem; margin-top: 5px; color: var(--secondary-color); }
.modal-close { position: absolute; top: 15px; right: 35px; color: #f1f1f1; font-size: 40px; font-weight: bold; transition: 0.3s; cursor: pointer; z-index: 1001; }
.modal-prev, .modal-next { cursor: pointer; position: absolute; top: 50%; transform: translateY(-50%); width: auto; padding: 16px; color: white; font-weight: bold; font-size: 24px; transition: 0.3s ease; user-select: none; background-color: rgba(0,0,0,0.3); border-radius: 4px; }
.modal-next { right: 2vw; } .modal-prev { left: 2vw; }
.modal-prev:hover, .modal-next:hover { background-color: rgba(230, 167, 88, 0.8); }

/* ==========================================================================
   7. TRAINING & COURSES
   ========================================================================== */
.live-workshop-card { display: flex; flex-direction: row; background-color: var(--surface-color); border: 2px solid var(--accent-color); border-radius: 12px; overflow: hidden; box-shadow: 0 0 30px rgba(230, 167, 88, 0.2); max-width: 1000px; margin: 0 auto; }
.live-workshop-img { flex: 0 0 45%; background-color: var(--background-color); display: flex; align-items: center; }
.live-workshop-img img { width: 100%; height: auto; object-fit: contain; }
.live-workshop-info { flex: 1; padding: 3rem; display: flex; flex-direction: column; justify-content: center; text-align: left; }

.training-section { padding: 4rem 5%; }
.training-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 2.5rem; max-width: 1200px; margin: 0 auto; }
.course-card { background-color: var(--surface-color); border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.5); transition: transform 0.4s ease, box-shadow 0.4s ease; display: flex; flex-direction: column; }
.course-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.7), 0 0 20px var(--glow-color); }
.course-card-image { aspect-ratio: 16 / 9; overflow: hidden; }
.course-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.course-card:hover .course-card-image img { transform: scale(1.03); }
.course-card-content { padding: 1.75rem; flex-grow: 1; display: flex; flex-direction: column; }
.course-card-content h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--primary-color); }
.course-card-content p { font-size: 0.95rem; color: var(--secondary-color); line-height: 1.6; margin-bottom: 1.25rem; }
.course-meta { display: flex; justify-content: flex-start; flex-wrap: wrap; gap: 6px; font-size: 0.8rem; color: var(--secondary-color); margin-bottom: 1.25rem; }
.course-meta span { display: inline-block; background-color: rgba(0,0,0,0.3); padding: 0.3rem 0.6rem; border-radius: 4px; }

.syllabus-container { margin-bottom: 1.5rem; border: 1px solid rgba(244, 241, 234, 0.1); border-radius: 6px; background-color: rgba(0,0,0,0.15); overflow: hidden; }
.syllabus-btn { width: 100%; padding: 0.75rem 1rem; background: transparent; border: none; color: var(--accent-color); text-align: left; font-weight: 700; font-size: 0.9rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background 0.3s ease; }
.syllabus-btn:hover { background-color: rgba(244, 241, 234, 0.05); }
.syllabus-btn::after { content: '▼'; font-size: 0.7rem; transition: transform 0.3s ease; }
.syllabus-btn.active::after { transform: rotate(180deg); }
.syllabus-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; border-top: 0 solid rgba(244, 241, 234, 0.1); }
.syllabus-content ul { list-style: none; padding: 0.75rem 1rem; }
.syllabus-content li { font-size: 0.85rem; color: var(--secondary-color); padding: 0.4rem 0; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid rgba(244, 241, 234, 0.05); }
.syllabus-content li:last-child { border-bottom: none; }

.lms-features { padding: 4rem 5% 6rem; background-color: rgba(58, 54, 51, 0.3); text-align: center; }
.features-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; max-width: 1200px; margin: 3rem auto 0; }
.feature-box { background-color: var(--surface-color); padding: 2rem 1.5rem; border-radius: 8px; border: 1px solid rgba(244, 241, 234, 0.05); }

.video-modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.9); align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; }
.video-modal.show { display: flex; opacity: 1; }
.video-modal-content { position: relative; width: 90%; max-width: 900px; background-color: #000; border-radius: 8px; box-shadow: 0 5px 25px var(--glow-color); }
.video-modal-close { position: absolute; top: -40px; right: 0; color: var(--primary-color); font-size: 30px; font-weight: bold; cursor: pointer; }
.video-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 8px; }
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* ==========================================================================
   8. LMS DASHBOARD & LOGIN
   ========================================================================== */
.lms-navbar { background-color: rgba(28, 26, 25, 0.9); border-bottom: 1px solid rgba(244, 241, 234, 0.05); padding: 1rem 5%; display: flex; justify-content: space-between; align-items: center; z-index: 10; }
.lms-logo { font-size: 1.25rem; font-weight: 900; letter-spacing: 0.1em; color: var(--primary-color); text-decoration: none; }
.lms-logo span { color: var(--accent-color); }
.user-menu { display: flex; align-items: center; gap: 15px; font-size: 0.9rem; }
.btn-logout { background: transparent; border: 1px solid rgba(244, 241, 234, 0.2); color: var(--secondary-color); padding: 0.4rem 0.8rem; border-radius: 4px; cursor: pointer; font-weight: 700; transition: all 0.3s ease; }
.btn-logout:hover { border-color: var(--accent-color); color: var(--accent-color); }

.lms-workspace { display: flex; flex: 1; overflow: hidden; height: calc(100vh - 70px); }
.video-viewer { flex: 3; background-color: #000; display: flex; flex-direction: column; overflow-y: auto; }
.iframe-wrapper { position: relative; width: 100%; padding-bottom: 56.25%; height: 0; background-color: #000; overflow: hidden; flex-shrink: 0; }
.iframe-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
.video-details { padding: 2rem; }
.video-details h1 { font-size: 1.6rem; font-weight: 700; color: var(--primary-color); margin-bottom: 0.5rem; }
.video-details p { font-size: 0.95rem; color: var(--secondary-color); line-height: 1.6; }

.lms-sidebar { flex: 1; min-width: 320px; max-width: 400px; background-color: var(--surface-color); border-left: 1px solid rgba(244, 241, 234, 0.05); display: flex; flex-direction: column; overflow-y: auto; }
.sidebar-title { padding: 1.5rem; font-size: 1rem; font-weight: 700; border-bottom: 1px solid rgba(244, 241, 234, 0.05); text-transform: uppercase; background-color: rgba(0,0,0,0.1); color: var(--accent-color); }
.playlist-items { list-style: none; }
.playlist-item { padding: 1.2rem 1.5rem; border-bottom: 1px solid rgba(244, 241, 234, 0.03); cursor: pointer; display: flex; gap: 12px; transition: background 0.3s ease; }
.playlist-item:hover { background-color: rgba(244, 241, 234, 0.03); }
.playlist-item.active { background-color: rgba(230, 167, 88, 0.1); border-left: 4px solid var(--accent-color); }
.playlist-item-icon { color: var(--secondary-color); margin-top: 2px; }
.playlist-item.active .playlist-item-icon { color: var(--accent-color); }
.playlist-item-info h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 0.25rem; color: var(--primary-color); }
.playlist-item.active .playlist-item-info h4 { color: var(--accent-color); }

.login-wrapper { display: flex; justify-content: center; align-items: center; min-height: 100vh; padding: 20px; }
.login-container { background-color: var(--surface-color); padding: 2.5rem; border-radius: 12px; width: 100%; max-width: 420px; box-shadow: 0 15px 35px rgba(0,0,0,0.5); border: 1px solid rgba(244, 241, 234, 0.05); text-align: center; }
.login-container h2 { font-size: 1.5rem; margin-bottom: 0.5rem; font-weight: 700; }
.login-container .subtitle { font-size: 0.9rem; color: var(--secondary-color); margin-bottom: 2rem; }
.form-group { text-align: left; margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--secondary-color); text-transform: uppercase; letter-spacing: 0.05em; }
.form-group select { width: 100%; padding: 0.75rem 1rem; background-color: rgba(0,0,0,0.2); border: 1px solid rgba(244, 241, 234, 0.1); border-radius: 6px; color: var(--primary-color); font-family: inherit; font-size: 0.95rem; }
.form-group select option { 
    background-color: var(--surface-color); /* Menukar latar belakang menjadi gelap */
    color: var(--primary-color); /* Memastikan teks berwarna cerah */
}
.btn-google { width: 100%; padding: 0.8rem; background-color: #fff; color: #333; border: none; border-radius: 6px; font-weight: 700; font-size: 1rem; cursor: pointer; transition: all 0.3s ease; margin-top: 1rem; display: flex; justify-content: center; align-items: center; gap: 10px; }
.btn-google:hover { box-shadow: 0 0 15px rgba(255,255,255,0.2); transform: translateY(-2px); }
.btn-google img { 
    width: 24px; 
    height: 24px; 
}
/* ==========================================================================
   9. FAT FOOTER
   ========================================================================== */
.fat-footer { background-color: var(--background-color); padding: 4rem 5% 2rem; color: var(--secondary-color); border-top: 1px solid rgba(244, 241, 234, 0.05); }
.footer-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2.5rem; max-width: 1100px; margin: 0 auto; margin-bottom: 2.5rem; }
.footer-column h4 { font-size: 1.05rem; font-weight: 700; color: var(--primary-color); margin-bottom: 1.2rem; letter-spacing: 0.1em; text-transform: uppercase; }
.footer-column .header-logo { margin-bottom: 1rem; display: block; font-weight: 900; transition: color 0.3s; }
.footer-column .header-logo:hover { color: var(--accent-color); }
.footer-column p, .footer-column li { margin-bottom: 0.6rem; font-size: 0.9rem; line-height: 1.6; }
.footer-column ul { list-style: none; }
.footer-column a { color: var(--secondary-color); text-decoration: none; transition: color 0.3s ease; }
.footer-column ul a:hover { color: var(--accent-color); padding-left: 5px; }
.social-links { display: flex; gap: 1rem; }
.social-links svg { width: 22px; height: 22px; fill: var(--secondary-color); transition: fill 0.3s ease, transform 0.3s ease; }
.social-links a:hover svg { fill: var(--accent-color); transform: scale(1.2) translateY(-2px); }
.footer-bottom { text-align: center; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(244, 241, 234, 0.1); font-size: 0.85rem; }

/* ==========================================================================
   UTILITIES: Floating WhatsApp
   ========================================================================== */
.float-wa { 
    position: fixed; 
    bottom: 30px; 
    right: 30px; 
    background-color: #25D366; 
    color: #FFF; 
    border-radius: 50px; 
    width: 55px; 
    height: 55px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    box-shadow: 0px 4px 15px rgba(0,0,0,0.4); 
    z-index: 100; 
    transition: all 0.3s ease; 
}

.float-wa svg { 
    width: 30px; 
    height: 30px; 
    fill: currentColor; 
}

.float-wa:hover { 
    transform: scale(1.1) translateY(-5px); 
    box-shadow: 0px 6px 20px rgba(37, 211, 102, 0.4); 
}


/* ==========================================================================
   10. RESPONSIVE DESIGN (Media Queries)
   ========================================================================== */
@media (max-width: 992px) {
    .lms-workspace { flex-direction: column; height: auto; overflow: visible; display: block; }
    .lms-sidebar { max-width: 100%; width: 100%; border-left: none; border-top: 1px solid rgba(244, 241, 234, 0.05); overflow-y: visible; height: auto; }
    .iframe-wrapper { padding-bottom: 150%; } 
}

@media (max-width: 850px) {
    .live-workshop-card { flex-direction: column; max-width: 500px; }
    .live-workshop-img { flex: none; width: 100%; }
    .live-workshop-info { padding: 1.75rem; }
}

@media (max-width: 768px) {
   .menu-toggle { display: flex; }
   .main-nav { display: none; position: absolute; top: 100%; left: 0; width: 100%; background-color: rgba(28, 26, 25, 0.98); backdrop-filter: blur(10px); flex-direction: column; padding: 1.5rem 0; text-align: center; box-shadow: 0 10px 20px rgba(0,0,0,0.5); border-bottom: 1px solid var(--accent-color); }
   .main-nav.show { display: flex; }
   .main-nav a { margin: 1rem 0; margin-left: 0; font-size: 1.1rem; display: block; }
   .main-nav a.nav-login-btn { display: inline-block; margin: 1rem auto; }
   
   .portfolio-grid { grid-template-columns: 1fr; padding: 4rem 5%; }
   .item-overlay { transform: translateY(0); opacity: 1; background: linear-gradient(to top, rgba(28, 26, 25, 1) 0%, rgba(28, 26, 25, 0.8) 40%, rgba(28, 26, 25, 0) 100%); padding: 1.5rem 1rem 1rem; }
   
   .float-wa { bottom: 20px; right: 20px; width: 50px; height: 50px; }
   .float-wa svg { width: 26px; height: 26px; }
   
   .video-modal-content { width: 100%; height: 100%; max-width: 100%; border-radius: 0; }
   .video-container { padding-bottom: 0; height: 100%; }
   .video-container iframe { height: 100%; }
   .video-modal-close { top: 15px; right: 20px; z-index: 1001; background-color: rgba(28, 26, 25, 0.7); width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 28px; }

   .modal-container {
        justify-content: center;
        width: 100%;
    }
    .modal-content { 
        max-height: 60vh; /* Hadkan tinggi gambar supaya ada ruang untuk teks di bawah */
        border-radius: 8px;
    }
    .modal-caption { 
        position: relative; /* Buang sifat terapung (absolute) supaya tidak tindih gambar */
        background: none; 
        padding: 1.5rem 1rem 0; 
        width: 90%; 
        text-align: center; /* Teks di tengah lebih kemas untuk mobile */
    }
    .modal-caption h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 600px) {
    .lms-navbar { flex-direction: column; gap: 15px; padding: 1.2rem 5%; align-items: flex-start; }
    .user-menu { width: 100%; justify-content: space-between; border-top: 1px solid rgba(244, 241, 234, 0.1); padding-top: 12px; }
    .video-details { padding: 1.5rem 5%; }
    .video-details h1 { font-size: 1.3rem; }
}

