/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Kanit', sans-serif;
}

body {
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Sidebar Styles */
.sidebar {
    width: 240px;
    height: 100vh;
    background-color: #2c3e50;
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    transform: translateX(0);
    transition: transform 0.3s ease;
    z-index: 100;
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 99;
}

.menu-overlay.active {
    display: block;
}

/* Logo Container */
.logo-container {
    padding: 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #34495e;
}

.logo-icon {
    font-size: 24px;
    color: white;
}

.logo-text {
    font-size: 20px;
    font-weight: bold;
    margin-left: 15px;
    color: white;
}

/* Menu Item */
.menu-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s;
    color: white;
    text-decoration: none;
}

.menu-item:hover {
    background-color: #34495e;
}

.menu-icon {
    font-size: 20px;
    min-width: 30px;
    display: flex;
    justify-content: center;
    color: white;
}

.menu-title {
    font-size: 16px;
    margin-left: 10px;
    color: white;
}

/* Menu Toggle Button */
.menu-toggle {
    display: none;
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 101;
    background-color: #2c3e50;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 12px;
    cursor: pointer;
    font-size: 18px;
}

/* Card Container */
.card-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: calc(100% - 240px);
    min-height: 100vh;
    padding: 40px;
    margin-left: 240px;
}

/* Card Styles */
.card {
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    padding: 50px;
    text-align: center;
    max-width: 800px;
    width: 100%;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
}

.profile-img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 0%;
    margin-bottom: 5px;
}

h2 {
    font-size: 32px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

p {
    font-size: 18px;
    margin: 15px 0;
    color: #555;
    line-height: 1.6;
}

p i {
    margin-right: 15px;
    color: #f39c12;
    font-size: 20px;
}

.social-icons {
    margin-top: 30px;
}

.social-icons a {
    font-size: 28px;
    margin: 0 15px;
    color: #555;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #3498db;
}

/* Media Queries */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .menu-toggle {
        display: block;
    }

    .card-container {
        width: 100%;
        margin-left: 0;
        padding: 20px;
    }

    .card {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .card {
        padding: 30px;
    }

    h2 {
        font-size: 28px;
    }

    p {
        font-size: 16px;
    }

    .profile-img {
        width: 150px;
        height: 150px;
    }

    .social-icons a {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .card {
        padding: 20px;
    }

    h2 {
        font-size: 24px;
    }

    p {
        font-size: 14px;
    }

    .profile-img {
        width: 120px;
        height: 120px;
    }

    .social-icons a {
        font-size: 22px;
    }
}