* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #f8f9fa;
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.nav-content ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.nav-content a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-content a:hover {
    color: #007bff;
}

/* Header Styles */
header {
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: #f8f9fa;
}

.header-content {
    text-align: center;
    z-index: 1;
}

.gradient-text {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(45deg, #007bff, #00ff88);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradient 8s ease infinite;
    background-size: 200% 200%;
}

.typing-container {
    margin-top: 1rem;
    font-size: 1.5rem;
    min-height: 2em;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.2rem;
}

#typing-text {
    font-weight: 600;
    color: #333;
}

.cursor {
    font-weight: bold;
    color: #007bff;
    animation: blink 1s infinite;
}

/* Wave Divider */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

/* Skills Section */
#skills {
    min-height: 100vh;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    position: relative;
}

.skills-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 3rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

.skill-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.skill-card i {
    font-size: 4rem;
    transition: transform 0.3s ease;
}

.skill-card span {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.skill-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.skill-card:hover i {
    transform: scale(1.1);
}

/* Skills Ticker */
.skills-ticker-container {
    width: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 5%, rgba(255,255,255,1) 95%, rgba(255,255,255,0) 100%);
    padding: 1rem 0;
    margin-top: 3rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.skills-ticker {
    white-space: nowrap;
    overflow: hidden;
}

.ticker-content {
    display: inline-block;
    animation: ticker 15s linear infinite;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    padding-right: 2rem;
}

@keyframes ticker {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

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

    .skill-card i {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .skill-card {
        padding: 1.5rem;
    }

    .ticker-content {
        font-size: 1rem;
    }
}

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

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}