* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: linear-gradient(135deg, #1e1e1e, #3a3a3a);
    color: white;
    overflow-x: hidden;
    text-align: center;
    margin: 0;
    padding: 0;
}

/* Header - Glassmorphism & Neon Effect */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
    animation: slideInTop 1s ease-in-out;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-bottom: 2px solid #ffeb3b;
}

.navbar h2 {
    font-size: 26px;
    transition: 0.3s;
}

.navbar h2:hover {
    text-shadow: 0 0 10px #ffeb3b, 0 0 20px #ff9800;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: 0.3s;
    position: relative;
}

.nav-links a::after {
    content: "";
    width: 0%;
    height: 2px;
    background: #ffeb3b;
    position: absolute;
    bottom: -5px;
    left: 50%;
    transition: 0.3s;
    transform: translateX(-50%);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 80px 50px;
    text-align: left;
    min-height: 80vh;
    background: linear-gradient(135deg, #ff8c00, #ff2d55);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    margin: 30px;
    animation: fadeIn 1.5s ease-in-out;
    position: relative;
}

.hero-text {
    font-size: 40px;
    max-width: 60%;
    animation: float 4s infinite ease-in-out;
}

.hero-text span {
    color: #ffffff;
    font-weight: bold;
    background: linear-gradient(135deg, #ffeb3b, #ff9800);
    padding: 3px 8px;
    border-radius: 5px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
    animation: glow 1.5s infinite alternate;
}

/* Profile Image Hover Zoom */
.profile-image {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 5px solid white;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease-in-out;
}

.profile-image:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 20px rgba(255, 165, 0, 0.8);
}

/* Social Media & Download Button Section */
.top-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    margin: 20px auto;
    width: 96%;
    animation: fadeIn 1.5s ease-in-out;
}

/* Social Media Links with 3D Effect */
.links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.links i {
    font-size: 30px;
    color: white;
    transition: transform 0.3s ease-in-out, color 0.3s;
    cursor: pointer;
    animation: bounce 2s infinite;
}

.links i:hover {
    color: #ffeb3b;
    transform: scale(1.3) rotate(10deg);
}

/* Download Resume Button */
.download button {
    background: linear-gradient(135deg, #ff9800, #ff2d55);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    box-shadow: 0 3px 10px rgba(255, 165, 0, 0.5);
    transform: perspective(500px) rotateX(10deg);
    width: 100%;
    max-width: 200px;
    text-align: center;
}

.download button:hover {
    background: linear-gradient(135deg, #ff2d55, #ff9800);
    transform: perspective(500px) rotateX(0deg) scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 165, 0, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar, .hero, .top-section {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
        font-size: 30px;
    }

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

    .top-section {
        gap: 15px;
    }

    .download {
        margin-top: 15px;
    }

    .links {
        margin-top: 15px;
    }
}

/* Animations */
@keyframes slideInTop {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes glow {
    0% {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
    }
    100% {
        text-shadow: 0 0 20px rgba(255, 255, 255, 1);
    }
}
