:root {
    /* AK Learning Palette */
    --primary: #059A87; 
    --secondary: #F4B700; 
    --purple-dark: #2B185A; 
    --text-dark: #1A1A1A;
    --text-gray: #4A4A4A;
    --text-muted: #888888;
    
    /* Layout specific */
    --bg-light: #F9F8F6; 
    --white: #ffffff;
    --font-poppins: 'Poppins', sans-serif;
    
    /* Kurva animasi modern 2026 */
    --smooth-bezier: cubic-bezier(0.65, 0, 0.35, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    outline: none;
}

body {
    font-family: var(--font-poppins);
    background-color: var(--bg-light); 
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 5%;
}

/* =========================================
   ANIMASI SCROLL
   ========================================= */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--smooth-bezier);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* =========================================
   NAVBAR SECTION 
   ========================================= */
.navbar {
    background-color: var(--white);
    padding: 20px 0;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03); 
    transition: all 0.4s var(--smooth-bezier);
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo { font-size: 28px; font-weight: 700; color: var(--primary); letter-spacing: -0.5px; text-decoration: none;}
.logo-img { max-height: 50px; width: auto; display: block; }
.nav-actions { display: flex; flex-direction: row; align-items: center; gap: 15px; }

.menu-toggle {
    display: none; background: transparent; border: none; color: var(--primary);
    font-size: 32px; cursor: pointer; padding: 0; margin: 0; transition: transform 0.3s ease;
}

.nav-links { display: flex; gap: 32px; }
.nav-links a {
    position: relative; text-decoration: none; color: var(--primary);
    font-weight: 600; font-size: 15px; padding: 8px 0; transition: color 0.3s var(--smooth-bezier);
}

.nav-links a::after {
    content: ''; position: absolute; width: 0; height: 2px;
    bottom: 0; left: 0; background-color: var(--primary); transition: width 0.4s var(--smooth-bezier);
}

.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.btn-catalog {
    background-color: var(--primary); color: var(--white); padding: 10px 24px;
    border-radius: 8px; text-decoration: none; display: flex; align-items: center; gap: 8px;
    font-weight: 600; border: 2px solid var(--primary); transition: all 0.4s var(--smooth-bezier);
}

.btn-catalog:hover {
    background-color: transparent; color: var(--primary);
    transform: translateY(-3px) scale(1.02); box-shadow: 0 10px 20px rgba(5, 154, 135, 0.15);
}

/* =========================================
   BUTTON ACTIONS (Load More & Show Less)
   ========================================= */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.btn-outline-dark {
    background-color: transparent;
    color: var(--text-dark);
    padding: 15px 40px;
    border: 2px solid var(--text-dark);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline-dark:hover {
    background-color: var(--text-dark);
    color: var(--white);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero-section {
    position: relative;
    height: 70vh;
    min-height: 500px;
    background: url('foto-bareng2.webp') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.hero-date {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.hero-title {
    font-size: clamp(28px, 5vw, 60px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    text-shadow: 2px 4px 10px rgba(0,0,0,0.3);
}

.btn-outline-light {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid var(--white);
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--text-dark);
}

/* =========================================
   SERVICES SECTION
   ========================================= */
.services-section {
    padding: 100px 5%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-card {
    display: flex;
    flex-direction: column;
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1.5px solid var(--text-dark);
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.service-header h3 { font-size: 20px; font-weight: 600; }
.service-header i { font-size: 20px; transition: transform 0.3s ease; }
.service-card:hover .service-header i { transform: translateX(5px); color: var(--primary); }

.img-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
    margin-bottom: 25px;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--smooth-bezier);
}

.service-card:hover .img-wrapper img { transform: scale(1.05); }

.service-benefits { list-style: none; }
.service-benefits li {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-gray);
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    transition: color 0.3s ease;
    cursor: pointer;
}
.service-benefits li:hover { color: var(--primary); }

/* =========================================
   IMPACT / WELCOME SECTION
   ========================================= */
.impact-section {
    background-color: var(--primary);
    padding: 100px 0;
}

.welcome-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.welcome-text { flex: 1; padding-right: 40px; }
.welcome-text h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 25px;
    color: var(--white); 
}
.welcome-text p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--white);
    margin-bottom: 30px;
    text-align: justify;
}

.welcome-text .link-more { color: var(--white); }
.welcome-text .link-more:hover { color: var(--secondary); }

.link-more {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.link-more i { transition: transform 0.3s ease; }
.link-more:hover i { transform: translateX(5px); }

.welcome-image { flex: 1; }
.welcome-image img { width: 100%; height: auto; display: block; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }

/* =========================================
   DOCUMENTATION SECTION (Track Record)
   ========================================= */
.documentation-section {
    padding: 100px 5%;
}

.year-header {
    color: #000;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 15px;
}

.year-header h2 { font-size: 32px; font-weight: 700; }
.year-divider { width: 100%; height: 1px; background-color: var(--text-dark); margin-bottom: 20px; }
.collection-desc { font-size: 14px; color: var(--text-gray); margin-bottom: 50px; max-width: 600px; }

/* CSS Grid untuk Dokumentasi */
.doc-grid {
    column-count: 3;
    column-gap: 40px;
}

.doc-item {
    break-inside: avoid;
    margin-bottom: 40px;
    position: relative;
    cursor: pointer;
}

.doc-item img {
    width: 100%;
    aspect-ratio: 16 / 9; 
    object-fit: cover;    
    display: block;
    margin-bottom: 15px;
    transition: filter 0.3s ease;
    border-radius: 4px;   
}

.doc-item:hover img { filter: brightness(0.85); }

.doc-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.doc-item p {
    font-size: 13px;
    color: var(--text-muted);
}

.load-more-container {
    text-align: center;
    margin-top: 40px;
}

.btn-dark {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 15px 40px;
    border: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-dark:hover {
    background-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(5, 154, 135, 0.2);
}

/* =========================================
   FOOTER SECTION 
   ========================================= */
.footer { background-color: var(--primary); color: var(--white); padding: 60px 0; }
.footer-container { display: grid; grid-template-columns: 1fr 1.5fr 1.5fr 1fr; gap: 30px; align-items: start; }
.footer-col h3 { font-size: 22px; font-weight: 700; margin-bottom: 20px; letter-spacing: 0.5px; }
.footer-col h4 { font-size: 18px; font-weight: 600; margin-bottom: 20px; }
.focus-title { font-size: 16px; margin-bottom: 15px; }
.border-left { border-left: 2px solid rgba(255, 255, 255, 0.3); padding-left: 30px; }

.footer-links, .footer-contact { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links li a { color: var(--white); text-decoration: none; font-size: 15px; display: inline-block; transition: all 0.3s ease; }
.footer-links li a:hover, .footer-contact li:hover { transform: translateX(5px); }
.footer-contact li { font-size: 15px; display: flex; align-items: center; gap: 10px; transition: transform 0.3s ease; }
.footer-contact li i { font-size: 18px; background: rgba(255, 255, 255, 0.1); padding: 6px; border-radius: 50%; }
.slogan { font-size: 15px; line-height: 1.6; }

/* =========================================
   RESPONSIVE DESIGN 
   ========================================= */
@media (max-width: 1024px) {
    .services-grid { gap: 20px; }
    .doc-grid { column-count: 2; }
    .welcome-container { gap: 30px; }
    .footer-container { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .border-left { border-left: none; padding-left: 0; }
}

@media (max-width: 768px) {
    /* Navbar Mobile */
    .menu-toggle { display: flex; align-items: center; justify-content: center; }
    .btn-catalog { padding: 8px 18px; font-size: 14px; margin: 0; }
    .nav-container { display: flex; justify-content: space-between; align-items: center; }
    
    .nav-links {
        position: absolute; top: 100%; left: 0; width: 100%;
        background-color: var(--white); flex-direction: column; align-items: center;
        padding: 20px 0; gap: 20px; box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
        transform: translateY(-150%); opacity: 0; z-index: -1;
        transition: all 0.4s var(--smooth-bezier); display: flex;
    }
    .nav-links.active { transform: translateY(0); opacity: 1; z-index: 999; }

    /* Sections Mobile */
    .services-grid { grid-template-columns: 1fr; }
    .welcome-container { flex-direction: column; }
    .welcome-text { padding-right: 0; text-align: center; }
    .doc-grid { column-count: 1; }
    
    .year-header { flex-direction: column; align-items: flex-start; gap: 10px; }
    
    /* Footer Mobile */
    .footer-container { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .footer-contact { align-items: center; }
    .footer-links li a:hover, .footer-contact li:hover { transform: none; }
}