/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

/* Particles background */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #00ffff;
    border-radius: 50%;
    animation: float 6s infinite linear;
    box-shadow: 0 0 10px #00ffff;
}

.particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 40%;
    left: 80%;
    animation-delay: 1s;
}

.particle:nth-child(3) {
    top: 60%;
    left: 30%;
    animation-delay: 2s;
}

.particle:nth-child(4) {
    top: 80%;
    left: 70%;
    animation-delay: 3s;
}

.particle:nth-child(5) {
    top: 30%;
    left: 50%;
    animation-delay: 4s;
}

.particle:nth-child(6) {
    top: 70%;
    left: 90%;
    animation-delay: 5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.7;
    }
}

/* Lighting effects */
.light-effect {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

.light-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
    top: 10%;
    left: 20%;
    animation: pulse 4s infinite ease-in-out;
}

.light-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.08) 0%, transparent 70%);
    top: 60%;
    right: 10%;
    animation: pulse 6s infinite ease-in-out 2s;
}

.light-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 20, 147, 0.06) 0%, transparent 70%);
    bottom: 20%;
    left: 10%;
    animation: pulse 5s infinite ease-in-out 1s;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* Main container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

/* Header styles */
.header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.profile-image-container {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.profile-image {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    position: relative;
    border-radius: 50%;
    background: linear-gradient(45deg, #00ffff, #8a2be2);
    padding: 4px;
    animation: rotate 10s linear infinite;
}

.logo-container {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.logo-svg {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.5));
    animation: logoGlow 3s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    from {
        filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.5));
    }
    to {
        filter: drop-shadow(0 0 30px rgba(138, 43, 226, 0.7));
    }
}

.glow-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: linear-gradient(45deg, #00ffff, #8a2be2, #ff1493);
    opacity: 0.3;
    animation: rotate 8s linear infinite reverse;
    z-index: -1;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.name {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #00ffff, #8a2be2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px #00ffff40;
    }
    to {
        text-shadow: 0 0 30px #8a2be240;
    }
}

.title {
    font-size: 1.5rem;
    color: #aaaaaa;
    margin-bottom: 15px;
}

.location {
    color: #cccccc;
    font-size: 1.1rem;
}

.location i {
    margin-right: 8px;
    color: #00ffff;
}

/* Section styles */
section {
    margin-bottom: 60px;
    padding: 40px;
    background: rgba(20, 20, 20, 0.8);
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.1);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #ffffff;
    position: relative;
    display: inline-block;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #00ffff, #8a2be2);
    margin: 15px auto;
    border-radius: 2px;
    animation: expand 2s ease-in-out infinite alternate;
}

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

/* About section */
.about-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #cccccc;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Skills section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.skill-item {
    background: rgba(30, 30, 30, 0.6);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.skill-item:hover::before {
    left: 100%;
}

.skill-item:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 255, 0.3);
}

.skill-icon {
    font-size: 2.5rem;
    color: #00ffff;
    margin-bottom: 15px;
}

.skill-info h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(45deg, #00ffff, #8a2be2);
    border-radius: 4px;
    width: 0%;
    transition: width 2s ease-in-out;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: 200px 0;
    }
}

.skill-percentage {
    color: #00ffff;
    font-weight: 600;
}

/* Experience section */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #00ffff, #8a2be2);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 40px;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 40px;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #00ffff;
    border-radius: 50%;
    border: 4px solid #0a0a0a;
    box-shadow: 0 0 20px #00ffff;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-content {
    background: rgba(30, 30, 30, 0.8);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2);
}

.timeline-content h3 {
    color: #00ffff;
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.timeline-content h4 {
    color: #8a2be2;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.timeline-date {
    color: #aaaaaa;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: block;
}

.timeline-content p {
    color: #cccccc;
    line-height: 1.6;
}

/* Contact section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: rgba(30, 30, 30, 0.6);
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 255, 255, 0.3);
    box-shadow: 0 10px 20px rgba(0, 255, 255, 0.1);
}

.contact-item i {
    font-size: 1.5rem;
    color: #00ffff;
    margin-right: 15px;
    width: 30px;
}

.contact-item span {
    color: #cccccc;
    font-size: 1.1rem;
}

/* Navigation section */
.navigation-section {
    text-align: center;
    padding: 60px 40px;
}

.nav-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.nav-button {
    display: block;
    padding: 30px 20px;
    background: rgba(20, 20, 20, 0.8);
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 20px;
    text-decoration: none;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.nav-button:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: #00ffff;
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.3);
}

.nav-icon {
    font-size: 2.5rem;
    color: #00ffff;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.nav-button:hover .nav-icon {
    transform: scale(1.2) rotate(360deg);
    color: #8a2be2;
}

/* Specific icon colors for different platforms */
.nav-button:nth-child(1):hover .nav-icon {
    color: #1877f2; /* Facebook blue */
}

.nav-button:nth-child(2):hover .nav-icon {
    color: #00b2ff; /* Messenger blue */
}

.nav-button:nth-child(3):hover .nav-icon {
    color: #00d4aa; /* Website green */
}

.nav-button:nth-child(4):hover .nav-icon {
    color: #ff6b6b; /* Email red */
}

.nav-text {
    font-size: 1.2rem;
    font-weight: 600;
    display: block;
}

.nav-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.nav-button:hover .nav-glow {
    left: 100%;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 20px 15px;
    }
    
    .name {
        font-size: 2.2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 50px !important;
        padding-right: 0 !important;
    }
    
    .timeline-dot {
        left: 10px !important;
        right: auto !important;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .profile-image {
        width: 150px;
        height: 150px;
    }
    
    .logo-svg {
        filter: drop-shadow(0 0 15px rgba(0, 255, 255, 0.4));
    }
}

@media (max-width: 480px) {
    .nav-container {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 25px 20px;
    }
}
