body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f5f5f5;
    background-image: url('constellation-background.svg');
    background-size: cover;
    background-attachment: fixed;
    overflow-x: hidden;
}

header {
    background: rgba(50, 50, 50, 0.8);
    color: white;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1s ease-in-out;
}

header h1, header p {
    color: #fff;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    z-index: 100;
    position: relative;
}

nav ul li a:hover {
    color: #ff4081;
    text-shadow: none;
}

main {
    padding: 40px 20px;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

footer {
    background: rgba(50, 50, 50, 0.9);
    color: #fff;
    text-align: center;
    padding: 20px 0;
    position: relative;
    width: 100%;
    box-shadow: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

footer .social-icons {
    margin-top: 10px;
}

footer .social-icons a {
    color: #fff;
    margin: 0 10px;
    transition: color 0.3s ease;
}

footer .social-icons a:hover {
    color: #ff4081;
}

section {
    width: 100%;
    max-width: 800px;
    margin-bottom: 60px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: url('moving-graphic.svg') repeat-x;
    animation: moveBackground 20s linear infinite;
    opacity: 0.1;
}

@keyframes moveBackground {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

section:hover {
    transform: translateY(-10px);
}

h2 {
    color: #f5f5f5;
    border-bottom: 3px solid #ff4081;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 2em;
    text-align: center;
}

.resume-section, .project-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.resume-section:hover, .project-card:hover {
    transform: translateY(-5px);
}

ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

ul li:before {
    content: '\2022';
    color: #ff4081;
    position: absolute;
    left: 0;
}

.social-icons a {
    color: #333;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #ff4081;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes moveBubbles {
    from { transform: translateY(0); }
    to { transform: translateY(100vh); }
}

.bubble {
    position: fixed;
    width: 300px;
    height: 300px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    z-index: -100;
    animation: moveBubbles 120s linear infinite;
}

.bubble:nth-child(2) {
    width: 60px;
    height: 60px;
    left: 20%;
    animation-duration: 25s;
}

.bubble:nth-child(3) {
    width: 80px;
    height: 80px;
    left: 40%;
    animation-duration: 30s;
}

.bubble:nth-child(4) {
    width: 50px;
    height: 50px;
    left: 60%;
    animation-duration: 22s;
}

.bubble:nth-child(5) {
    width: 70px;
    height: 70px;
    left: 80%;
    animation-duration: 28s;
}

#contact {
    background: none;
    box-shadow: none;
    padding: 0;
}

@keyframes pop {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

.bubble.pop {
    animation: pop 0.5s forwards;
}

a {
    position: relative;
    z-index: 1000;
    color: inherit;
    text-decoration: none;
}

header, main h2 {
    color: #333;
}

#contact h2 {
    color: #f5f5f5;
}

a:hover {
    color: #ff4081;
    text-shadow: 0 0 5px #ff4081;
}

/* Blue glow for UniExchange and website link */
.project-card a:hover {
    color: #007bff;
    text-shadow: 0 0 5px #007bff;
}

/* Red line effect */
.resume-section {
    position: relative;
}

.resume-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 0;
    background-color: #ff4081;
    transition: height 0.3s ease;
}

.resume-section.active::before {
    height: 100%;
} 