/* style css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(135deg, #dfe9f3, #ffffff);
    overflow-x: hidden;
}

/* WELCOME SLIDE */
.welcome-slide {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6a24b6 0%, #2575fc 50%, #dfe9f3 100%);
    position: relative;
    overflow: hidden;
}

.welcome-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.welcome-container {
    max-width: 800px;
    text-align: center;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.welcome-content h1 {
    font-size: 3.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out;
}

.quote {
    font-size: 1.4rem;
    font-weight: 300;
    color: rgba(255,255,255,0.95);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.next-btn {
    background: linear-gradient(45deg, #ffd700, #ffed4a);
    color: #333;
    border: none;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 10px 30px rgba(255,215,0,0.4);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.next-btn:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 40px rgba(255,215,0,0.6);
    color: #333;
}

.next-btn:active {
    transform: translateY(-4px) scale(1.02);
}

.next-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s;
}

.next-btn:hover::before {
    left: 100%;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CONTAINER CARD */
.container {
    display: flex;
    max-width: 1100px;
    margin: 40px auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* SIDEBAR */
.sidebar {
    width: 300px;
    background: linear-gradient(180deg, #6a11cb, #2575fc);
    color: white;
    text-align: center;
    padding: 30px 20px;
    position: relative;
}

.profile-img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.profile-img:hover {
    transform: scale(1.05);
}

.sidebar h1 {
    font-weight: 600;
    margin-bottom: 5px;
}

.role {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 25px;
}

.info {
    margin-top: 25px;
    text-align: left;
}

.info h3 {
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.5);
    padding-bottom: 5px;
    font-size: 16px;
}

.info ul {
    list-style: none;
}

.info ul li {
    padding: 8px 0;
    transition: 0.3s;
    font-size: 14px;
}

.info ul li:hover {
    color: #ffd700;
    padding-left: 10px;
}

/* BACK BUTTON */
.back-btn {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    margin-top: 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.back-btn:hover {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
}

/* CONTENT */
.content {
    flex: 1;
    padding: 40px;
    background: white;
}

/* CARD STYLE */
.card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    border-left: 4px solid #2575fc;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(37,117,252,0.15);
}

/* JUDUL */
.card h2 {
    color: #2575fc;
    margin-bottom: 15px;
    font-size: 22px;
    font-weight: 600;
}

.card p {
    line-height: 1.7;
    color: #555;
    margin-bottom: 8px;
}

/* RESPONSIVE */
@media(max-width: 900px){
    .container {
        flex-direction: column;
        margin: 20px;
    }
    .sidebar {
        width: 100%;
        padding: 30px 20px;
    }
    .welcome-content h1 {
        font-size: 2.5rem;
    }
    .quote {
        font-size: 1.2rem;
    }
    .content {
        padding: 25px 20px;
    }
}

@media(max-width: 480px){
    .welcome-content h1 {
        font-size: 2rem;
    }
    .next-btn {
        padding: 15px 30px;
        font-size: 1rem;
    }

/* SMOOTH SCROLL */
html {
    scroll-behavior: smooth;
}

/* PERBAIKI CONTAINER */
.container {
    gap: 20px;
    padding: 20px;
}

/* SIDEBAR LEBIH ELEGAN */
.sidebar {
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

/* FOTO LEBIH HALUS */
.profile-img {
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* CARD LEBIH MODERN */
.card {
    border-left: none;
    border-radius: 20px;
    background: linear-gradient(135deg, #ffffff, #f8fbff);
    transition: all 0.4s ease;
}

/* HOVER CARD */
.card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 20px 50px rgba(37,117,252,0.2);
}

/* JUDUL CARD */
.card h2 {
    position: relative;
    padding-bottom: 10px;
}

/* GARIS ESTETIK */
.card h2::after {
    content: "";
    width: 50px;
    height: 3px;
    background: #2575fc;
    position: absolute;
    left: 0;
    bottom: 0;
    border-radius: 10px;
}

/* ABOUT ME SCROLL RAPI */
.card p {
    max-height: 160px;
    overflow-y: auto;
    padding-right: 8px;
}

/* SCROLL STYLE */
.card p::-webkit-scrollbar {
    width: 6px;
}

.card p::-webkit-scrollbar-thumb {
    background: #2575fc;
    border-radius: 10px;
}

/* SKILLS LEBIH MENARIK */
.info ul li {
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 8px 10px;
    margin-bottom: 6px;
}

/* ANIMASI MASUK */
.card {
    animation: fadeUp 0.8s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* BUTTON LEBIH PRO */
.next-btn, .back-btn {
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* RESPONSIVE LEBIH HALUS */
@media(max-width: 768px){
    .container {
        flex-direction: column;
    }

    .sidebar {
        text-align: center;
    }

    .info {
        text-align: left;
    }
}
}