* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9fafb;
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

nav.scrolled {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.logo {
    font-size: 20px;
    font-weight: bold;
    color: #111;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #374151;
    transition: all 0.3s ease;
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #111;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: #111;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.mobile-menu-btn:hover {
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    padding: 140px 20px 80px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.profile-container {
    width: 180px;
    height: 180px;
    margin: 0 auto 32px;
    position: relative;
    animation: fadeInScale 0.8s ease-out;
}

.profile-image-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    position: relative;
    transition: all 0.4s ease;
}

.profile-image-wrapper:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}

.profile-image-wrapper::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.profile-image-wrapper:hover::before {
    opacity: 1;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 48px;
    font-weight: bold;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 56px;
    font-weight: bold;
    color: #111;
    margin-bottom: 16px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero .subtitle {
    font-size: 24px;
    color: #6b7280;
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero .description {
    font-size: 18px;
    color: #9ca3af;
    max-width: 768px;
    margin: 0 auto 32px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn {
    display: inline-block;
    background: #111;
    color: white;
    padding: 12px 32px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    background: #374151;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Sections */
section {
    padding: 80px 20px;
}

.section-white {
    background: white;
}

.section-gray {
    background: #f9fafb;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.container-small {
    max-width: 900px;
    margin: 0 auto;
}

h2 {
    font-size: 40px;
    font-weight: bold;
    color: #111;
    margin-bottom: 32px;
    text-align: center;
    position: relative;
    width: 100%;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* About Section */
.about-text {
    font-size: 18px;
    color: #374151;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 16px;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.about-text p:nth-child(1) { animation-delay: 0.1s; }
.about-text p:nth-child(2) { animation-delay: 0.2s; }
.about-text p:nth-child(3) { animation-delay: 0.3s; }

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.skill-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    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(90deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.skill-card:hover::before {
    transform: scaleX(1);
}

.skill-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.skill-header {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.skill-header svg {
    margin-right: 12px;
    transition: transform 0.3s ease;
}

.skill-card:hover .skill-header svg {
    transform: rotate(10deg) scale(1.1);
}

.skill-header h3 {
    font-size: 24px;
    font-weight: bold;
    color: #111;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: #f3f4f6;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    color: #374151;
    transition: all 0.3s ease;
    cursor: default;
    display: flex;
    align-items: center;
    gap: 8px;
}

.skill-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

.tag:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

/* Projects Section */
.projects-subtitle {
    text-align: center;
    color: #6b7280;
    margin-bottom: 48px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.project-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.4s ease;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.12);
}

.project-image {
    height: 192px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.project-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.project-card:hover .project-image::before {
    width: 500px;
    height: 500px;
}

.project-content {
    padding: 24px;
}

.project-content h3 {
    font-size: 20px;
    font-weight: bold;
    color: #111;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.project-card:hover .project-content h3 {
    color: #667eea;
}

.project-content p {
    color: #6b7280;
    margin-bottom: 16px;
}

.project-tags {
    display: flex;
    gap: 8px;
}

.project-tag {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: #374151;
    transition: all 0.3s ease;
}

.project-card:hover .project-tag {
    background: #667eea;
    border-color: #667eea;
    color: white;
}

/* Awards Section */
.awards-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.award-item {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    display: flex;
    align-items: start;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.award-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    transition: height 0.3s ease;
}

.award-item:hover::before {
    height: 100%;
}

.award-item:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.award-item svg {
    margin-right: 16px;
    margin-top: 4px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    color: #667eea;
}

.award-item:hover svg {
    transform: scale(1.15);
}

.award-item h3 {
    font-size: 20px;
    font-weight: bold;
    color: #111;
    margin-bottom: 8px;
    text-align: left;
}

.award-item p {
    color: #6b7280;
}

/* Contact Section */
.contact-content {
    text-align: center;
}

.contact-content p {
    font-size: 18px;
    color: #6b7280;
    margin-bottom: 32px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #374151;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 12px 20px;
    border-radius: 8px;
    background: #f3f4f6;
}

.social-link:hover {
    color: white;
    background: #667eea;
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(102,126,234,0.4);
}

.social-link svg {
    transition: transform 0.3s ease;
}

.social-link:hover svg {
    transform: scale(1.2);
}

/* Footer */
footer {
    background: #111;
    color: white;
    text-align: center;
    padding: 32px 20px;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 16px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero .subtitle {
        font-size: 20px;
    }

    h2 {
        font-size: 32px;
    }

    .skills-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .profile-container {
        width: 150px;
        height: 150px;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
    }

}
