* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    background: linear-gradient(to bottom right, #0a1628, #1a1f3a, #2d1b3d);
    color: white;
    min-height: 100vh;
    line-height: 1.6;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.25rem;
    font-weight: bold;
    background: linear-gradient(to right, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #d1d5db;
    text-decoration: none;
    text-transform: capitalize;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #a78bfa;
}

/* Sections */
.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 1.5rem;
}

.container {
    max-width: 1200px;
    width: 100%;
}

/* Home Section */
.home-section {
    text-align: center;
    padding-top: 8rem;
}

.name {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, white, #d1d5db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.typing-container {
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.typing-text {
    font-size: 2rem;
    font-weight: 500;
    color: #2d5f3f;
    min-height: 3rem;
}

.cursor {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.intro-text {
    font-size: 1.25rem;
    color: #d1d5db;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.button-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(to right, #a855f7, #ec4899);
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.3);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(168, 85, 247, 0.4);
}

.btn-secondary {
    background: linear-gradient(to right, #3b82f6, #06b6d4);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.btn-secondary:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
}

/* Section Titles */
.section-title {
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(to right, #d8b4fe, #fbcfe8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: #9ca3af;
    margin-bottom: 3rem;
}

.subsection-title {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    color: #c084fc;
    margin-bottom: 2rem;
}

/* Cards */
.card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #c084fc;
    margin-bottom: 1.5rem;
}

.card-text {
    color: #d1d5db;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.info-item a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: #c084fc;
}

.icon-purple {
    color: #a78bfa;
}

.achievement-list {
    list-style: none;
}

.achievement-list li {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: #d1d5db;
}

.bullet {
    color: #a78bfa;
    font-weight: bold;
}

/* Skills Section */
.skills-content {
    margin-bottom: 3rem;
}

.tech-skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.skill-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.skill-card:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.skill-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: box-shadow 0.3s ease;
}

.skill-card:hover .skill-icon {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.orange-gradient {
    background: linear-gradient(to bottom right, #fb923c, #ef4444);
}

.blue-gradient {
    background: linear-gradient(to bottom right, #60a5fa, #06b6d4);
}

.yellow-gradient {
    background: linear-gradient(to bottom right, #fbbf24, #d97706);
}

.green-gradient {
    background: linear-gradient(to bottom right, #4ade80, #10b981);
}

.purple-gradient {
    background: linear-gradient(to bottom right, #a78bfa, #ec4899);
}

.pink-gradient {
    background: linear-gradient(to bottom right, #f472b6, #fb7185);
}

.soft-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.skill-tag {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    color: #d1d5db;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: default;
}

.skill-tag:hover {
    border-color: #a78bfa;
    background: rgba(255, 255, 255, 0.2);
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.project-card:hover {
    transform: scale(1.05);
    border-color: rgba(167, 139, 250, 0.5);
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.2);
}

.project-badge {
    display: inline-block;
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: rgba(168, 85, 247, 0.2);
    color: #d8b4fe;
    border-radius: 1rem;
    border: 1px solid rgba(168, 85, 247, 0.3);
    margin-bottom: 1rem;
}

.project-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: white;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.project-card:hover .project-title {
    color: #c084fc;
}

.project-description {
    font-size: 0.875rem;
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    color: #d1d5db;
    border-radius: 1rem;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    margin-bottom: 0.5rem;
}

.contact-label {
    color: #9ca3af;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.contact-value {
    color: white;
}

.contact-link {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #c084fc;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    text-decoration: none;
    padding: 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: #c084fc;
    background: rgba(255, 255, 255, 0.05);
}

.social-link:hover span {
    text-decoration: underline;
}

.social-link i {
    font-size: 1.5rem;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 1.5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-content p {
    color: #9ca3af;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: #9ca3af;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    color: #c084fc;
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .name {
        font-size: 2.5rem;
    }
    
    .typing-text {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .intro-text {
        font-size: 1rem;
    }
    
    .button-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .tech-skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .name {
        font-size: 2rem;
    }
    
    .typing-text {
        font-size: 1.25rem;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    .section {
        padding: 4rem 1rem;
    }
}
