html {
    scroll-behavior: smooth;
}

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

body {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #1a1a1a, #333);
    font-family: "Poppins", sans-serif;
    color: #f5f5f5;
    padding: 20px 0;
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: linear-gradient(to right, #000, #333);
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    animation: slideDown 0.5s ease-in-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

h1 {
    margin-bottom: 40px;
    font-weight: 700;
    font-size: 2.5rem;
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    animation: zoomIn 0.5s ease-in-out;
    color: #ff9800;
}

@keyframes zoomIn {
    from {
        transform: scale(0.5);
    }
    to {
        transform: scale(1);
    }
}

.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 80px;
    width: 100%;
    padding: 0 20px;
}

.project-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
    width: 100%;
}

.project-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: color 0.3s;
}

.project-link:hover {
    color: #ffffff;
}

.project {
    max-width: 600px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    width: 100%;
    transition: transform 0.3s, background-color 0.3s;
}

.project:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.2);
}

.project h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #ff9800;
    transition: color 0.3s;
}

.project p {
    font-size: 1.2rem;
    color: #e0e0e0;
    transition: color 0.3s;
}

.project:hover h3,
.project:hover p {
    color: #ffffff;
}

.icons {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    flex-wrap: wrap;
    width: 100%;
}

.icon {
    margin: 10px;
    transition: transform 0.3s;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.icon:hover {
    transform: translateY(-5px);
}

.icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.icon::after {
    content: attr(data-label);
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
}

.icon:hover::after {
    opacity: 1;
    bottom: -30px;
}

.footer {
    text-align: center;
    padding: 20px 0;
    background: transparent;
    width: 100%;
    color: #b0b0b0;
}

.footer p {
    font-size: 14px;
}

.status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 5px;
}

.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    width: 100%;
    max-width: 400px;
    animation: fadeIn 1s ease-in-out;
}

.profile-photo {
    width: 100px;
    height: 100px;
    overflow: hidden;
    border-radius: 50%;
    margin-bottom: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 3px solid #ff9800;
    box-shadow: 0 0 10px rgba(255, 152, 0, 0.5);
}

.profile-photo img {
    width: 100%;
    height: auto;
}

.profile-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(255, 152, 0, 0.5);
}

.profile-name {
    font-weight: bold;
    font-size: 1.2rem;
}

.profile-typed {
    margin-top: 15px;
    font-size: 1.1rem;
    color: #fff;
    overflow: hidden;
    width: 100%;
    text-align: center;
    word-wrap: break-word;
}

.top-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.top-nav li {
    margin: 0 15px;
}

.top-nav a {
    display: inline-block;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.top-nav a:hover {
    color: #ff9800;
}

.bio-button {
    text-align: center;
    margin-top: 20px;
}

.bio-button button {
    padding: 12px 30px;
    font-size: 16px;
    background: linear-gradient(135deg, #ff9800, #ff5722);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.bio-button button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.4), transparent);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.bio-button button:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.bio-button button:hover {
    background: linear-gradient(135deg, #ff5722, #e64a19);
    transform: scale(1.05);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.bio-button button span {
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
}

.bio-button button .icon {
    font-size: 18px;
    display: flex;
    align-items: center;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.bio-button button {
    animation: pulse 2s infinite;
}


@media (max-width: 768px) {
    body {
        padding: 0;
    }

    header {
        padding: 10px;
        background: linear-gradient(to right, #000, #333);
    }

    .top-nav ul {
        flex-direction: row;
        display: flex;
        justify-content: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: linear-gradient(to right, #000, #333);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
        z-index: 1000;
        padding: 5px;
        margin: 0;
    }

    .top-nav ul.show {
        display: flex;
    }

    .top-nav li {
        margin: 0 10px;
    }

    .top-nav a {
        display: inline-block;
        color: #ffffff;
        text-decoration: none;
        font-size: 0.9rem;
        padding: 8px;
        text-align: center;
        transition: color 0.3s;
    }

    .top-nav a:hover {
        color: #ff9800;
    }

    .main-content {
        margin-top: 60px;
        padding: 0 10px;
    }

    .project-section {
        margin-top: 20px;
    }

    .project {
        padding: 15px;
        margin-bottom: 15px;
        border-radius: 8px;
    }

    .project h3 {
        font-size: 1.5rem;
    }

    .project p {
        font-size: 1rem;
    }

    .icons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .icon {
        margin: 10px;
    }

    .icon img {
        width: 50px;
        height: 50px;
    }

    .bio-button button {
        padding: 10px 20px;
        font-size: 14px;
    }

    .profile-section {
        max-width: 90%;
    }
}
