:root{
  color-scheme: light dark;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    color: #ffffff;
    overflow-x: hidden;
    position: relative;
}

#stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s ease-in-out infinite;
}

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

header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    background: rgba(15, 12, 41, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(218, 34, 255, 0.3);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    background: linear-gradient(135deg, #da22ff 0%, #9733ee 50%, #4568dc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s;
    position: relative;
    padding: 5px 10px;
}

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

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #da22ff, #4568dc);
    transition: all 0.3s;
    transform: translateX(-50%);
}

nav a:hover::after {
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 20px 50px;
    position: relative;
    z-index: 1;
}

section {
    min-height: 100vh;
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

h1 {
    font-size: 64px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #da22ff 50%, #4568dc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out;
}

h2 {
    font-size: 42px;
    margin-bottom: 40px;
    color: #da22ff;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #da22ff, #4568dc);
    border-radius: 2px;
}

.subtitle {
    font-size: 24px;
    color: #e0e0e0;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.cta-button {
    background: linear-gradient(135deg, #da22ff 0%, #4568dc 100%);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(218, 34, 255, 0.4);
    animation: fadeInUp 1s ease-out 0.4s both;
    display: inline-block;
    text-decoration: none;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(218, 34, 255, 0.6);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    background: rgba(48, 43, 99, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(218, 34, 255, 0.3);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    transition: all 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(218, 34, 255, 0.6);
    box-shadow: 0 10px 40px rgba(218, 34, 255, 0.3);
}

.card h3 {
    color: #da22ff;
    font-size: 24px;
    margin-bottom: 15px;
}

.card-meta {
    color: #9733ee;
    font-size: 14px;
    margin-bottom: 10px;
    font-style: italic;
}

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

.card li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
}

.card li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: #da22ff;
    font-size: 18px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 30px;
    align-items: center;
}

.skill-tag {
    background: rgba(218, 34, 255, 0.2);
    border: 1px solid rgba(218, 34, 255, 0.4);
    padding: 12px 20px;
    border-radius: 25px;
    text-align: center;
    transition: all 0.3s;
    font-size: 14px;
}

.skill-tag:hover {
    background: rgba(218, 34, 255, 0.3);
    border-color: #da22ff;
    transform: scale(1.05);
}

.education-info {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.education-left h3 {
    font-size: 26px;
    color: #da22ff;
    margin-bottom: 5px;
}

.education-left p {
    color: #e0e0e0;
    margin-bottom: 5px;
}

.education-right {
    text-align: right;
}

.gpa {
    font-size: 24px;
    color: #4568dc;
    font-weight: bold;
}

footer {
    text-align: center;
    padding: 40px 20px;
    background: rgba(15, 12, 41, 0.9);
    border-top: 2px solid rgba(218, 34, 255, 0.3);
    position: relative;
    z-index: 1;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.contact-links a {
    color: #da22ff;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s;
}

.contact-links a:hover {
    color: #4568dc;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    h1 {
        font-size: 42px;
    }

    h2 {
        font-size: 32px;
    }

    header {
        padding: 15px 20px;
    }

    nav {
        flex-wrap: wrap;
        gap: 15px;
    }

    nav a {
        font-size: 14px;
    }

    .education-info {
        flex-direction: column;
    }

    .education-right {
        text-align: left;
        margin-top: 10px;
    }
}