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

:root {
    --primary-color: #10b981;
    --secondary-color: #059669;
    --dark-bg: #0a1f1a;
    --darker-bg: #051410;
    --card-bg: rgba(15, 35, 25, 0.8);
    --text-primary: #ffffff;
    --text-secondary: #a8d5ba;
    --accent: #22c55e;
    --green-light: #34d399;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    height: 100vh;
    overflow: hidden;
    position: relative;
}

/* Animated Background */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 50%, #0d3327 100%);
    overflow: hidden;
}

.background-animation::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: -250px;
    left: -250px;
    animation: float 20s ease-in-out infinite;
}

.background-animation::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(5, 150, 105, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -300px;
    right: -300px;
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(100px, 100px) rotate(120deg);
    }
    66% {
        transform: translate(-100px, 50px) rotate(240deg);
    }
}

/* Floating Particles */
.background-animation {
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(16, 185, 129, 0.3), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(5, 150, 105, 0.3), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(52, 211, 153, 0.2), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(16, 185, 129, 0.2), transparent),
        radial-gradient(2px 2px at 90% 80%, rgba(5, 150, 105, 0.2), transparent);
    background-size: 200% 200%;
    animation: particleMove 20s ease infinite;
}

@keyframes particleMove {
    0%, 100% {
        background-position: 0% 0%, 100% 100%, 50% 50%, 80% 10%, 90% 80%;
    }
    50% {
        background-position: 100% 100%, 0% 0%, 50% 50%, 20% 90%, 10% 20%;
    }
}

.container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: clamp(1rem, 3vh, 1.5rem);
    height: 100vh;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out;
}

.name {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--green-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.title {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 300;
    letter-spacing: 2px;
}

.underline {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin: 0 auto 1.5rem;
    animation: expand 1.5s ease-out 0.5s both;
    box-shadow: 0 0 20px var(--primary-color);
}

@keyframes expand {
    from {
        width: 0;
    }
    to {
        width: 100px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Content Sections */
.content {
    width: 100%;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    text-align: center;
    color: var(--text-primary);
    font-weight: 400;
    letter-spacing: 1px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

/* Social Links */
.social-links {
    margin-bottom: 1.5rem;
}

.links-container {
    margin-top: 1rem;
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: var(--card-bg);
    border: 2px solid rgba(16, 185, 129, 0.3);
    border-radius: 50px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.social-link:hover::before {
    width: 300px;
    height: 300px;
}

.social-link:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
}

.social-link i {
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
}

.social-link span {
    position: relative;
    z-index: 1;
}

.social-link.linkedin:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
}

.social-link.github:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
}

/* Contact Info */
.contact-info {
    margin-bottom: 1rem;
}

.contact-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1.8rem;
    background: var(--card-bg);
    border: 2px solid rgba(5, 150, 105, 0.3);
    border-radius: 50px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 300px;
    justify-content: center;
}

.contact-item:hover {
    transform: translateX(10px);
    border-color: var(--primary-color);
    box-shadow: 0 5px 25px rgba(16, 185, 129, 0.4);
}

.contact-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

/* Footer */
.footer {
    text-align: center;
    padding: 0.8rem 0;
    color: var(--text-secondary);
    font-size: 0.75rem;
    opacity: 0.6;
    margin-top: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .name {
        font-size: 2.2rem;
    }

    .title {
        font-size: 1rem;
    }

    .container {
        padding: 1rem;
    }

    .hero {
        margin-bottom: 1.5rem;
    }

    .section-title {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .social-links {
        margin-bottom: 1.2rem;
    }

    .links-container {
        align-items: center;
        gap: 1rem;
    }

    .social-link {
        width: 100%;
        max-width: 70px;
        justify-content: center;
        padding: 0.9rem 1.5rem;
    }

    .contact-info {
        margin-bottom: 0.8rem;
    }

    .contact-container {
        gap: 1rem;
    }

    .contact-item {
        min-width: 50%;
        max-width: 200px;
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .name {
        font-size: 1.8rem;
    }

    .title {
        font-size: 0.9rem;
    }

    .hero {
        margin-bottom: 1rem;
    }

    .section-title {
        font-size: 1.1rem;
    }

    .social-link {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }

    .contact-item {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }

    .footer {
        font-size: 0.7rem;
        padding: 0.5rem 0;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    overflow: hidden;
}

