/* Base styles from index.html */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: rgba(30, 34, 45, 0.85);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 16px rgba(30,34,45,0.12);
    border-bottom: none;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: #ffd700;
    transform: translateY(-2px);
}

/* Skills Page Specific Styles */
.skills-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 3rem;
    margin: 2rem 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.skills-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.skill-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.15);
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.25);
}

.skill-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-title::before {
    content: '▶';
    color: #667eea;
    font-size: 1rem;
}

.skill-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skill-card ul li {
    position: relative;
    padding: 0.5rem 0 0.5rem 1.5rem;
    margin-bottom: 0.5rem;
    color: #555;
    font-size: 1rem;
    line-height: 1.5;
    transition: all 0.2s ease;
}

.skill-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
    font-size: 1.2rem;
}

.skill-card ul li:hover {
    color: #667eea;
    transform: translateX(5px);
}

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

.floating-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

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

/* Responsive design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .skills-section {
        padding: 2rem 1.5rem;
        margin: 1rem 0;
    }

    .skills-section h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .skill-card {
        padding: 1.5rem;
    }
}

/* Add some visual interest with gradient borders */
.skill-card:nth-child(1) { border-left: 4px solid #667eea; }
.skill-card:nth-child(2) { border-left: 4px solid #764ba2; }
.skill-card:nth-child(3) { border-left: 4px solid #667eea; }
.skill-card:nth-child(4) { border-left: 4px solid #764ba2; }