html {
    scroll-behavior: smooth;
}

body { 
    font-family: 'Inter', sans-serif;
}

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

.documentation h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 28px;
    margin-top: 10px;
    padding-bottom: 10px;
    border-bottom: 3px solid #cce7ff;
    color: #1e2a47;
}

/* Scroll container */
.scroll {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}

.scroll::-webkit-scrollbar {
    display: none;
}

/* Card */
.example {
    width: 320px;
    height: 200px;
    flex-shrink: 0;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    scroll-snap-align: start;

    background: #f8f8f8;
    transition: transform .35s ease, box-shadow .35s ease;
}

.example:hover {
    transform: translateY(-6px);
}

/* Image */
.example img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Caption overlay */
.example span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 14px;
    background: linear-gradient(to top, rgba(0,0,0,.65), transparent);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

/* Footer */
footer {
    background-color: #1f2937;
    color: #fff;
    padding: 30px 20px 15px;
    font-family: 'Segoe UI', sans-serif;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* RYZCLE */
.footer-content-rz {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 100px;
}

.nav-ryzcle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.logoR {
    width: 150px;
    height: 100px;
    object-fit: contain;
}
/* END */

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #38bdf8;
}

.logo {
    width: 40px;
    height: 40px;
    object-fit: contain;

    /* Transition untuk hover smooth */
    transition: transform 0.3s ease, color 0.3s ease;
}

.logo:hover {
    transform: scale(1.1);
}

.social-icons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.social-icons a {
    font-size: 26px;
    color: #fff;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
    color: #38bdf8;
    transform: scale(1.2);
}

.footer-divider {
    width: 80%;
    height: 1px;
    background-color: #c2c2c2;
}

footer p {
    font-size: 14px;
    color: #ffffff;
    margin: 0;
}

/* RESPONSIVE */
@media (max-width: 600px) {
    .nav-links {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 20px;
    }

    .social-icons {
        justify-content: center;
    }
}

.tech-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px 10px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;

    transition: transform .3s ease, box-shadow .3s ease;
}

.tech-card img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.tech-card span {
    font-size: 14px;
    font-weight: 500;
    color: #334155;
}

.tech-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0,0,0,.12);
}

/* Technology Stack Section */
.tech-section {
    background: white;
    border-top: 1px solid #e5e7eb;
}

.tech-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 96px 24px;
}

.tech-header {
    text-align: center;
    margin-bottom: 64px;
}

.tech-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 16px;
}

.tech-description {
    color: #475569;
    max-width: 672px;
    margin: 0 auto;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
}

/* Media Queries for Technology Stack */
@media (min-width: 640px) {
    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) {
    .tech-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .tech-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .tech-grid {
        grid-template-columns: repeat(8, 1fr);
    }
}

/* Mobile optimization for tech cards */
@media (max-width: 639px) {
    .tech-container {
        padding: 60px 16px;
    }
    
    .tech-header {
        margin-bottom: 40px;
    }
    
    .tech-title {
        font-size: 1.5rem;
        line-height: 1.3;
        padding: 0 10px;
    }
    
    .tech-description {
        font-size: 14px;
        padding: 0 10px;
    }
    
    .tech-grid {
        gap: 20px;
    }
    
    .tech-card {
        padding: 16px 8px;
    }
    
    .tech-card img {
        width: 48px;
        height: 48px;
    }
    
    .tech-card span {
        font-size: 12px;
    }
}
/* End .Footer */