/* =====================
   RESET
===================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* =====================
   BODY
===================== */
body {
    font-family: 'Poppins', sans-serif;
    background: #f4f6ff;
    color: #333;
}

/* =====================
   LAYOUT
===================== */
.container {
    display: flex;
    min-height: 100vh;
}

/* =====================
   SIDEBAR
===================== */
.sidebar {
    width: 280px;
    background-color: #6e66a5;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    position: fixed;
    height: 100vh;
}

.profile-pic img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid #074ef4;
    object-fit: cover;
    margin-bottom: 15px;
}

.sidebar h2 {
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 16px;
}

/* =====================
   SOCIAL ICONS (UPDATE)
===================== */
.social-icons {
    margin-bottom: 5px;
    display: flex;
    gap: 12px;
}

/* Hover umum */
.social-icons a:hover {
    color: white;
    transform: scale();
}

/* =====================
   WARNA SESUAI BRAND
===================== */

/* Instagram */
.social-icons a:nth-child(1):hover {
    background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
}

/* WhatsApp */
.social-icons a:nth-child(2):hover {
    background: #25D366;
}

/* TikTok */
.social-icons a:nth-child(3):hover {
    background: #000;
}

/* GitHub */
.social-icons a:nth-child(4):hover {
    background: #333;
}

/* Gmail */
.social-icons a:nth-child(5):hover {
    background: #8478be;
}

/* =====================
   NAVIGATION
===================== */
.sidebar-nav ul {
    list-style: none;
    width: 100%;
}

.sidebar-nav ul li {
    margin-bottom: 25px;
}

.sidebar-nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 17px;
    display: flex;
    align-items: center;
    transition: 0.3s;
    padding: 6px 10px;
    border-radius: 8px;
}

.sidebar-nav ul li a i {
    margin-right: 10px;
}

/* Hover + Active */
.sidebar-nav ul li a:hover {
    background: #6e66a5;
    color: white;
}

/* =====================
   COPYRIGHT
===================== */
.sidebar .copyright {
    margin-top: auto;
    font-size: 13px;
    text-align: center;
    color: #888;
    padding-top: 25px;
    border-top: 1px solid #2e365f;
}

/* =====================
   MAIN CONTENT
===================== */
.main-content {
    margin-left: 280px;
    flex-grow: 1;
    padding: 40px 60px;
    background: white;
}

/* =====================
   CARD
===================== */
.card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(106, 90, 205, 0.15);
    padding: 25px 30px;
    margin-bottom: 40px;
    transition: 0.3s;
    animation: fadeIn 0.6s ease;
}

/* Hover efek */
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(106, 90, 205, 0.25);
}

/* =====================
   TEXT
===================== */
.card h1 {
    color: #6e66a5;
    margin-bottom: 15px;
    font-size: 34px;
}

.card h2 {
    color: #6e66a5;
    margin-bottom: 15px;
    font-size: 26px;
}

.card p,
.card ul {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
}

.card ul {
    padding-left: 20px;
}

.card ul li {
    margin-bottom: 10px;
}

.card p strong {
    color: #6e66a5;
}

/* =====================
   ICON
===================== */
.card i {
    color: #6e66a5;
    margin-right: 5px;
}

/* =====================
   BUTTON
===================== */
.btn-contact {
    display: inline-block;
    margin: 10px 10px 0 0;
    background: linear-gradient(135deg, #6e66a5, #8b82d9);
    color: white;
    padding: 10px 18px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.btn-contact:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #5a5390, #7a72c9);
}

/* =====================
   ANIMATION
===================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .sidebar {
        position: relative;
        width: 100%;
        height: auto;
        padding: 20px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .profile-pic {
        display: none;
    }

    .sidebar h2 {
        font-size: 18px;
    }

    .social-icons {
        margin-bottom: 0;
    }

    .sidebar-nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .main-content {
        margin-left: 0;
        padding: 25px;
    }
}