* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
}

/* Navigation Sidebar */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 250px;
    height: 100vh;
    background-color: #333;
    color: #fff;
    padding: 30px 0;
    overflow-y: auto;
    transition: transform 0.3s ease;
    z-index: 1000;
}

.sidebar.hidden {
    transform: translateX(-250px);
}

.name {
    font-size: 24px;
    font-weight: bold;
    padding: 0 20px 30px 20px;
    border-bottom: 1px solid #555;
    margin-bottom: 20px;
}

.nav-item {
    padding: 15px 20px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-item:hover {
    background-color: #444;
}

.nav-item.active {
    background-color: #555;
}

.arrow {
    transition: transform 0.3s;
    font-size: 12px;
}

.arrow.rotated {
    transform: rotate(90deg);
}

.submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #222;
}

.submenu.expanded {
    max-height: 500px;
}

.submenu-item {
    padding: 12px 20px 12px 40px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submenu-item:hover {
    background-color: #444;
}

/* Mobile Toggle */
.menu-toggle {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    background-color: #333;
    color: #fff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.menu-toggle.shifted {
    transform: translateX(250px);
}

/* Main Content */
.main-content {
    margin-left: 250px;
    padding: 60px 80px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: margin-left 0.3s ease, transform 0.3s ease;
}

.main-content.shifted {
    transform: translateX(250px);
}

.content-wrapper {
    flex: 1;
}

.header {
    margin-bottom: 40px;
}

.header h1 {
    font-size: 48px;
    margin-bottom: 15px;
    color: #333;
}

.tagline {
    font-size: 24px;
    color: #666;
    margin-bottom: 30px;
    font-style: italic;
}

.profile-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    background-color: #ddd;
}

.intro-text {
    max-width: 700px;
    line-height: 1.8;
    color: #555;
    font-size: 16px;
    margin-bottom: 40px;
}

/* Social Icons */
.social-icons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 120px));
    gap: 30px;
    max-width: 700px;
}

.social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s, opacity 0.3s;
}

.social-item:hover {
    transform: translateY(-5px);
    opacity: 0.8;
}

.social-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
    object-fit: contain;
}

.social-label {
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

/* Overlay for mobile */
.overlay {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .sidebar {
        transform: translateX(-250px);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
        padding: 100px 30px 40px 30px;
    }

    .header h1 {
        font-size: 36px;
    }

    .tagline {
        font-size: 18px;
    }

    .profile-image {
        width: 200px;
        height: 200px;
    }

    .social-icons {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .social-icon {
        width: 60px;
        height: 60px;
    }
}
