@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #fff;
    overflow-x: hidden;
    background-color: #000;
}

#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.gradient-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    z-index: -2;
}

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

nav {
    background: rgba(0, 0, 0, 0.7);
    padding: 1rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

nav ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
}

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffcc00;
}

main {
    padding-top: 4rem;
}

section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    position: relative;
}

h1, h2 {
    margin-bottom: 1rem;
}

h1 {
    font-size: 4rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

h2 {
    font-size: 2.5rem;
    color: #ffcc00;
}

.glitch {
    position: relative;
    color: #fff;
    font-weight: bold;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 #00fff9, 2px 2px #ff00c1;
    animation: glitch-anim2 1s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(31px, 9999px, 94px, 0); }
    4.166666667% { clip: rect(91px, 9999px, 43px, 0); }
    8.333333333% { clip: rect(74px, 9999px, 71px, 0); }
    12.5% { clip: rect(75px, 9999px, 75px, 0); }
    16.66666667% { clip: rect(28px, 9999px, 29px, 0); }
    20.83333333% { clip: rect(80px, 9999px, 76px, 0); }
    25% { clip: rect(64px, 9999px, 31px, 0); }
    29.16666667% { clip: rect(19px, 9999px, 39px, 0); }
    33.33333333% { clip: rect(24px, 9999px, 96px, 0); }
    37.5% { clip: rect(58px, 9999px, 44px, 0); }
    41.66666667% { clip: rect(46px, 9999px, 56px, 0); }
    45.83333333% { clip: rect(75px, 9999px, 27px, 0); }
    50% { clip: rect(57px, 9999px, 73px, 0); }
    54.16666667% { clip: rect(57px, 9999px, 51px, 0); }
    58.33333333% { clip: rect(60px, 9999px, 74px, 0); }
    62.5% { clip: rect(84px, 9999px, 52px, 0); }
    66.66666667% { clip: rect(89px, 9999px, 79px, 0); }
    70.83333333% { clip: rect(36px, 9999px, 53px, 0); }
    75% { clip: rect(77px, 9999px, 60px, 0); }
    79.16666667% { clip: rect(68px, 9999px, 74px, 0); }
    83.33333333% { clip: rect(52px, 9999px, 52px, 0); }
    87.5% { clip: rect(28px, 9999px, 28px, 0); }
    91.66666667% { clip: rect(67px, 9999px, 16px, 0); }
    95.83333333% { clip: rect(31px, 9999px, 58px, 0); }
    100% { clip: rect(19px, 9999px, 85px, 0); }
}

@keyframes glitch-anim2 {
    0% { clip: rect(65px, 9999px, 91px, 0); }
    4.166666667% { clip: rect(79px, 9999px, 44px, 0); }
    8.333333333% { clip: rect(68px, 9999px, 91px, 0); }
    12.5% { clip: rect(20px, 9999px, 78px, 0); }
    16.66666667% { clip: rect(15px, 9999px, 56px, 0); }
    20.83333333% { clip: rect(13px, 9999px, 47px, 0); }
    25% { clip: rect(76px, 9999px, 78px, 0); }
    29.16666667% { clip: rect(25px, 9999px, 76px, 0); }
    33.33333333% { clip: rect(76px, 9999px, 22px, 0); }
    37.5% { clip: rect(33px, 9999px, 81px, 0); }
    41.66666667% { clip: rect(46px, 9999px, 46px, 0); }
    45.83333333% { clip: rect(78px, 9999px, 71px, 0); }
    50% { clip: rect(81px, 9999px, 40px, 0); }
    54.16666667% { clip: rect(31px, 9999px, 88px, 0); }
    58.33333333% { clip: rect(62px, 9999px, 72px, 0); }
    62.5% { clip: rect(78px, 9999px, 15px, 0); }
    66.66666667% { clip: rect(31px, 9999px, 90px, 0); }
    70.83333333% { clip: rect(13px, 9999px, 86px, 0); }
    75% { clip: rect(40px, 9999px, 98px, 0); }
    79.16666667% { clip: rect(16px, 9999px, 86px, 0); }
    83.33333333% { clip: rect(51px, 9999px, 97px, 0); }
    87.5% { clip: rect(45px, 9999px, 46px, 0); }
    91.66666667% { clip: rect(84px, 9999px, 94px, 0); }
    95.83333333% { clip: rect(96px, 9999px, 15px, 0); }
    100% { clip: rect(9px, 9999px, 90px, 0); }
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeIn 1s ease-out 1s forwards;
}

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

.scroll-indicator {
    margin-top: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-30px); }
    60% { transform: translateY(-15px); }
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.about-text {
    flex: 1;
}

.about-icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.about-icons i {
    font-size: 2rem;
    color: #ffcc00;
    transition: transform 0.3s ease;
}

.about-icons i:hover {
    transform: scale(1.2);
}

.cta-button {
    display: inline-block;
    background-color: #ffcc00;
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 1rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.6s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background-color: #ffd700;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.swimming-animation {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 2rem auto;
}

.water {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80%;
    background-color: rgba(0, 119, 190, 0.3);
    border-radius: 50%;
    animation: wave 2s infinite ease-in-out;
}

.swimmer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: #fff;
    animation: swim 2s infinite ease-in-out;
}

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

@keyframes swim {
    0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
    50% { transform: translate(-50%, -50%) rotate(10deg); }
}

.skills-grid, .achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    width: 100%;
    max-width: 1200px;
}

.skill-card, .achievement-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(20px);
}

.skill-card:hover, .achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.skill-card i, .achievement-card i {
    font-size: 2rem;
    color: #ffcc00;
    margin-bottom: 0.5rem;
}

.contact-info {
    text-align: center;
}

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

.social-links a {
    color: #fff;
    font-size: 2rem;
    transition: all 0.3s;
}

.social-links a:hover {
    color: #ffcc00;
    transform: scale(1.2);
}

footer {
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    text-align: center;
    padding: 1rem;
    position: fixed;
    bottom: 0;
    width: 100%;
}

#3d-animation {
    width: 100%;
    height: 300px;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }

    .about-icons {
        grid-template-columns: repeat(2, 1fr);
    }

    .skills-grid, .achievements-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}
/* Previous CSS styles remain the same, adding new styles for added elements */

.social-links-hero {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.social-links-hero a {
    color: #fff;
    font-size: 2.5rem;
    transition: all 0.3s;
}

.social-links-hero a:hover {
    color: #ffcc00;
    transform: scale(1.2);
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s;
}

.highlight-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.skills-container {
    width: 100%;
    max-width: 1200px;
}

.skills-category {
    margin-bottom: 3rem;
}

.skills-category h3 {
    color: #ffcc00;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.skill-level {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-top: 0.5rem;
    position: relative;
    overflow: hidden;
}

.skill-level::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: #ffcc00;
    width: var(--level);
    animation: skillLevel 1.5s ease-out;
}

@keyframes skillLevel {
    from { width: 0; }
    to { width: var(--level); }
}

.specialty-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.specialty-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s;
}

.specialty-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.specialty-card i {
    font-size: 2.5rem;
    color: #ffcc00;
    margin-bottom: 1rem;
}

.experience-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
}

.timeline-item {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease-out forwards;
}

.timeline-icon {
    background: #ffcc00;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    margin-left: 2rem;
    flex: 1;
    max-width: 500px;
}

.timeline-date {
    color: #ffcc00;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.project-link {
    display: inline-block;
    color: #ffcc00;
    text-decoration: none;
    margin-top: 0.5rem;
    transition: all 0.3s;
}

.project-link:hover {
    color: #ffd700;
    text-decoration: underline;
}

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

@media (max-width: 768px) {
    .experience-timeline::before {
        left: 20px;
    }

    .timeline-item {
        justify-content: flex-start;
    }

    .timeline-content {
        margin-left: 1rem;
    }

    .specialty-cards {
        grid-template-columns: 1fr;
    }

    .social-links-hero {
        gap: 1rem;
    }

    .social-links-hero a {
        font-size: 2rem;
    }
}
