/* Particle Swarm Animation Styles */
#particleSwarmCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: #0f0f2d;
    opacity: 0.8;
}

/* Ensure content is above the particle canvas */
.about-container {
    position: relative;
    z-index: 1;
    background: var(--surface-color);
    max-width: 600px;
    margin: 140px auto 0 auto;
    border-radius: 20px;
    box-shadow: 0 8px 32px var(--shadow-light);
    padding: 48px 28px 0 28px;
    text-align: center;
    overflow: hidden;
}

/* Make sure navbar is fixed and centered */
.navbar {
    position: fixed;
    top: 30px; /* Moved down 40px from the top */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 12px 12px;
    padding: 0 20px;
    transition: all 0.3s ease;
    justify-content: center;
    align-items: center;
    height: 70px;
}

/* Dark theme styles for navbar */
[data-theme="dark"] .navbar {
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

/* Adjust content to account for fixed navbar */
body {
    padding-top: 80px;
}

/* Ensure content starts below the fixed navbar */
.about-container {
    margin-top: 60px;
}

/* Dark theme for particles */
[data-theme="dark"] #particleSwarmCanvas {
    background: #0a0a1a;
}

/* About Page Styles */
.about-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 18px auto;
    box-shadow: 0 4px 18px var(--shadow-light);
    border: 4px solid var(--background-color);
    background: #fff;
}
.about-title {
    font-size: 2.3rem;
    font-weight: 800;
    margin-bottom: 6px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.about-subtitle {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.about-desc {
    font-size: 1.08rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}
.about-info-cards {
    display: flex;
    gap: 18px;
    justify-content: center;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.about-info-card {
    background: var(--background-color);
    border-radius: 14px;
    box-shadow: 0 2px 10px var(--shadow-light);
    padding: 18px 22px;
    min-width: 180px;
    max-width: 260px;
    flex: 1 1 180px;
    text-align: left;
    transition: box-shadow 0.2s, transform 0.2s;
    border: 1.5px solid var(--border-color);
}
.about-info-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 7px;
}
.about-info-card p {
    color: var(--text-secondary);
    font-size: 0.98rem;
    margin: 0;
}
.about-info-card:hover {
    box-shadow: 0 8px 24px var(--shadow-medium);
    transform: translateY(-4px) scale(1.03);
}
.about-social {
    display: flex;
    justify-content: flex-start;
    gap: 28px;
    margin-top: 18px;
    margin-bottom: 18px;
}
.about-social-icon {
    color: var(--primary-color);
    font-size: 2.1rem;
    transition: color 0.2s, transform 0.2s;
    position: relative;
}
.about-social-icon:hover {
    color: var(--accent-color);
    transform: scale(1.15) translateY(-3px);
}
/* Tooltip styles */
.about-social-icon[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    top: -38px;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    opacity: 1;
    pointer-events: none;
    z-index: 10;
    transition: opacity 0.2s;
}
.about-social-icon[data-tooltip]:hover::before {
    content: '';
    position: absolute;
    left: 50%;
    top: -14px;
    transform: translateX(-50%);
    border: 7px solid transparent;
    border-top: none;
    border-bottom: 7px solid #667eea;
    z-index: 11;
}
.about-wave {
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
}
.about-wave svg {
    width: 100%;
    height: 80px;
    display: block;
}
@media (max-width: 700px) {
    .about-container {
        padding: 32px 4vw 0 4vw;
    }
    .about-info-cards {
        flex-direction: column;
        gap: 12px;
    }
    .about-info-card {
        min-width: 0;
        max-width: 100%;
        text-align: center;
    }
}
@media (max-width: 500px) {
    .about-avatar {
        width: 64px;
        height: 64px;
    }
    .about-title {
        font-size: 1.3rem;
    }
    .about-subtitle {
        font-size: 0.98rem;
    }
    .about-info-card h3 {
        font-size: 1rem;
    }
    .about-info-card p {
        font-size: 0.92rem;
    }
}
[data-theme="dark"] .about-container {
    background: #192641;
    box-shadow: 0 8px 32px rgba(0,0,0,0.7);
}
[data-theme="dark"] .about-info-card {
    background: #23272f;
    border-color: #20199f53;
}
[data-theme="dark"] .about-wave svg path {
    opacity: 0.7;
} 

/* Specific icon colors on hover */
.social-icon[aria-label="YouTube"]:hover {
    background: #ff0000;
    color: white;
}

.social-icon[aria-label="Facebook"]:hover {
    background: #1877f2;
    color: white;
}

.social-icon[aria-label="Instagram"]:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
}

.social-icon[aria-label="TikTok"]:hover {
    background: #000000;
    color: #69c9d0;
}
