/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1e40af;
    background: #87CEEB;
    min-height: 100vh;
    overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.5s ease;
}

body.dark-mode {
    background: #0f0f23;
    color: #e2e8f0;
}

/* Sun and Solar System in Hero */
.solar-system {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
}

.sun {
    position: absolute;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle at 30% 30%, #FFFF80, #FFD700 40%, #FFA500 70%, #FF8C00);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 
        0 0 30px rgba(255, 215, 0, 0.8),
        0 0 60px rgba(255, 165, 0, 0.6),
        0 0 90px rgba(255, 140, 0, 0.4),
        inset -10px -10px 20px rgba(255, 140, 0, 0.3),
        inset 10px 10px 20px rgba(255, 255, 128, 0.3);
    z-index: 2;
    animation: sunPulse 4s ease-in-out infinite alternate;
    position: relative;
}

.sun::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 20%;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8), transparent);
    border-radius: 50%;
    filter: blur(2px);
}

.sun::after {
    content: '';
    position: absolute;
    top: 25%;
    right: 30%;
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.6), transparent);
    border-radius: 50%;
    filter: blur(1px);
}

/* Moon for dark mode */
.moon {
    position: absolute;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle at 30% 30%, #f8f9fa, #e9ecef 40%, #dee2e6 70%, #ced4da);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 
        0 0 30px rgba(248, 249, 250, 0.6),
        0 0 60px rgba(233, 236, 239, 0.4),
        0 0 90px rgba(222, 226, 230, 0.2),
        inset -10px -10px 20px rgba(206, 212, 218, 0.3),
        inset 10px 10px 20px rgba(248, 249, 250, 0.2);
    z-index: 2;
    animation: moonGlow 6s ease-in-out infinite alternate;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.moon::before {
    content: '';
    position: absolute;
    top: 25%;
    left: 35%;
    width: 8px;
    height: 8px;
    background: rgba(206, 212, 218, 0.4);
    border-radius: 50%;
    box-shadow: 
        15px 10px 0 2px rgba(206, 212, 218, 0.3),
        -10px 20px 0 1px rgba(206, 212, 218, 0.2),
        20px -5px 0 1px rgba(206, 212, 218, 0.25);
}

@keyframes moonGlow {
    0% { 
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 
            0 0 30px rgba(248, 249, 250, 0.6),
            0 0 60px rgba(233, 236, 239, 0.4),
            0 0 90px rgba(222, 226, 230, 0.2),
            inset -10px -10px 20px rgba(206, 212, 218, 0.3),
            inset 10px 10px 20px rgba(248, 249, 250, 0.2);
    }
    100% { 
        transform: translate(-50%, -50%) scale(1.05);
        box-shadow: 
            0 0 40px rgba(248, 249, 250, 0.8),
            0 0 80px rgba(233, 236, 239, 0.6),
            0 0 120px rgba(222, 226, 230, 0.4),
            inset -12px -12px 25px rgba(206, 212, 218, 0.4),
            inset 12px 12px 25px rgba(248, 249, 250, 0.3);
    }
}

body.dark-mode .sun {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
}

body.dark-mode .moon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

@keyframes sunPulse {
    0% { 
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 
            0 0 30px rgba(255, 215, 0, 0.8),
            0 0 60px rgba(255, 165, 0, 0.6),
            0 0 90px rgba(255, 140, 0, 0.4),
            inset -10px -10px 20px rgba(255, 140, 0, 0.3),
            inset 10px 10px 20px rgba(255, 255, 128, 0.3);
    }
    100% { 
        transform: translate(-50%, -50%) scale(1.08);
        box-shadow: 
            0 0 40px rgba(255, 215, 0, 1),
            0 0 80px rgba(255, 165, 0, 0.8),
            0 0 120px rgba(255, 140, 0, 0.6),
            inset -12px -12px 25px rgba(255, 140, 0, 0.4),
            inset 12px 12px 25px rgba(255, 255, 128, 0.4);
    }
}

.orbit {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.orbit-1 {
    width: 200px;
    height: 200px;
    animation: rotate 12s linear infinite;
    z-index: 5;
    pointer-events: none;
}

.orbit-2 {
    width: 300px;
    height: 300px;
    animation: rotate 18s linear infinite reverse;
    z-index: 4;
    pointer-events: none;
}

.orbit-3 {
    width: 400px;
    height: 400px;
    animation: rotate 24s linear infinite;
    z-index: 3;
    pointer-events: none;
}

.skill-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.98);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 20px;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 700;
    color: #1e40af;
    white-space: nowrap;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-align: center;
    min-width: 140px;
    pointer-events: auto;
    z-index: 10;
}

.skill-card:hover {
    background: rgba(255, 255, 255, 1) !important;
    transform: translateX(-50%) scale(1.15) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2) !important;
    z-index: 15 !important;
}

.skill-card-1 {
    background: rgba(255, 255, 255, 0.98);
    border-color: #3b82f6;
    color: #1e40af;
}

.skill-card-1:hover {
    color: #1e3a8a !important;
    border-color: #3b82f6 !important;
}

.skill-card-2 {
    background: rgba(255, 255, 255, 0.98);
    border-color: #10b981;
    color: #065f46;
}

.skill-card-2:hover {
    color: #064e3b !important;
    border-color: #10b981 !important;
}

.skill-card-3 {
    background: rgba(255, 255, 255, 0.98);
    border-color: #f59e0b;
    color: #92400e;
}

.skill-card-3:hover {
    color: #78350f !important;
    border-color: #f59e0b !important;
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Floating Clouds */
.cloud {
    position: fixed;
    background: rgb(255, 255, 255);
    border-radius: 50px;
    z-index: -1;
    opacity: 1;
}

.cloud:before,
.cloud:after {
    content: '';
    position: absolute;
    background: rgb(255, 255, 255);
    border-radius: 50px;
}

.cloud-1 {
    width: 140px;
    height: 50px;
    top: 30%;
    left: 20%;
    animation: cloudDrift1 25s linear infinite;
}

.cloud-1:before {
    width: 70px;
    height: 70px;
    top: -35px;
    left: 15px;
}

.cloud-1:after {
    width: 80px;
    height: 50px;
    top: -20px;
    right: 15px;
}

.cloud-2 {
    width: 160px;
    height: 60px;
    top: 60%;
    right: 10%;
    animation: cloudDrift2 30s linear infinite;
}

.cloud-2:before {
    width: 80px;
    height: 80px;
    top: -40px;
    left: 20px;
}

.cloud-2:after {
    width: 90px;
    height: 60px;
    top: -25px;
    right: 20px;
}

.cloud-3 {
    width: 100px;
    height: 40px;
    top: 15%;
    left: 70%;
    animation: cloudDrift3 20s linear infinite;
}

.cloud-3:before {
    width: 50px;
    height: 50px;
    top: -25px;
    left: 10px;
}

.cloud-3:after {
    width: 60px;
    height: 40px;
    top: -15px;
    right: 10px;
}

.cloud-4 {
    width: 200px;
    height: 80px;
    top: 45%;
    right: 25%;
    animation: cloudDrift4 35s linear infinite;
}

.cloud-4:before {
    width: 100px;
    height: 100px;
    top: -50px;
    left: 30px;
}

.cloud-4:after {
    width: 120px;
    height: 80px;
    top: -35px;
    right: 30px;
}

.cloud-5 {
    width: 120px;
    height: 45px;
    top: 75%;
    left: 15%;
    animation: cloudDrift5 18s linear infinite;
}

.cloud-5:before {
    width: 60px;
    height: 60px;
    top: -30px;
    left: 12px;
}

.cloud-5:after {
    width: 70px;
    height: 45px;
    top: -18px;
    right: 12px;
}

.cloud-6 {
    width: 90px;
    height: 35px;
    top: 8%;
    left: 45%;
    animation: cloudDrift6 28s linear infinite;
}

.cloud-6:before {
    width: 45px;
    height: 45px;
    top: -22px;
    left: 8px;
}

.cloud-6:after {
    width: 55px;
    height: 35px;
    top: -12px;
    right: 8px;
}

@keyframes cloudDrift1 {
    0% { transform: translateX(-100px); }
    100% { transform: translateX(calc(100vw + 100px)); }
}

@keyframes cloudDrift2 {
    0% { transform: translateX(calc(100vw + 100px)); }
    100% { transform: translateX(-100px); }
}

@keyframes cloudDrift3 {
    0% { transform: translateX(-120px); }
    100% { transform: translateX(calc(100vw + 120px)); }
}

@keyframes cloudDrift4 {
    0% { transform: translateX(calc(100vw + 200px)); }
    100% { transform: translateX(-200px); }
}

@keyframes cloudDrift5 {
    0% { transform: translateX(-150px); }
    100% { transform: translateX(calc(100vw + 150px)); }
}

@keyframes cloudDrift6 {
    0% { transform: translateX(calc(100vw + 90px)); }
    100% { transform: translateX(-90px); }
}

/* Stars for dark mode */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    opacity: 0;
    transition: opacity 0.5s ease;
}

body.dark-mode .stars {
    opacity: 1;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #ffffff;
    border-radius: 50%;
    animation: twinkle 3s ease-in-out infinite alternate;
}

.star::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8), transparent);
    border-radius: 50%;
}

@keyframes twinkle {
    0% { opacity: 0.3; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.2); }
}

/* Star positions */
.star-1 { top: 15%; left: 10%; animation-delay: 0s; }
.star-2 { top: 25%; left: 80%; animation-delay: 0.5s; }
.star-3 { top: 35%; left: 20%; animation-delay: 1s; }
.star-4 { top: 45%; left: 70%; animation-delay: 1.5s; }
.star-5 { top: 55%; left: 15%; animation-delay: 2s; }
.star-6 { top: 65%; left: 85%; animation-delay: 2.5s; }
.star-7 { top: 20%; left: 45%; animation-delay: 0.3s; }
.star-8 { top: 40%; left: 30%; animation-delay: 0.8s; }
.star-9 { top: 60%; left: 60%; animation-delay: 1.3s; }
.star-10 { top: 30%; left: 90%; animation-delay: 1.8s; }
.star-11 { top: 70%; left: 25%; animation-delay: 2.3s; }
.star-12 { top: 10%; left: 65%; animation-delay: 2.8s; }

/* Floating theme toggle button */
.theme-toggle-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid #3b82f6;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #3b82f6;
    font-size: 1.2rem;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.theme-toggle-floating:hover {
    background: #3b82f6;
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(59, 130, 246, 0.3);
}

body.dark-mode .theme-toggle-floating {
    background: rgba(15, 15, 35, 0.9);
    border-color: #fbbf24;
    color: #fbbf24;
}

body.dark-mode .theme-toggle-floating:hover {
    background: #fbbf24;
    color: #0f0f23;
    box-shadow: 0 6px 30px rgba(251, 191, 36, 0.3);
}


/* Glass Effect Utility */
.glass-card {
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.contact-form-container .glass-card {
    background: rgba(255, 255, 255, 0.45);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.nav {
    position: fixed;
    top: 20px;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}


.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    padding: 1rem 2.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.nav-menu:hover {
    background: rgba(255, 255, 255, 1);
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

body.dark-mode .nav-menu {
    background: rgba(15, 15, 35, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

body.dark-mode .nav-menu:hover {
    background: rgba(15, 15, 35, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.nav-link {
    color: #1e40af;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

.nav-link:hover {
    color: #1e3a8a;
    background: rgba(59, 130, 246, 0.1);
}

.nav-link.active {
    color: #ffffff;
    background: #3b82f6;
}

body.dark-mode .nav-link {
    color: #e2e8f0;
}

body.dark-mode .nav-link:hover {
    color: #ffffff;
    background: rgba(251, 191, 36, 0.2);
}

body.dark-mode .nav-link.active {
    color: #0f0f23;
    background: #fbbf24;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: absolute;
    right: 2rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}


/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    background: transparent;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-name {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-title {
    font-size: 1.5rem;
    color: #fbbf24;
    margin-bottom: 1rem;
    font-weight: 600;
    min-height: 2rem;
}

.cursor {
    animation: blink 1s infinite;
    font-weight: 400;
}

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

.hero-description {
    font-size: 1.1rem;
    color: #e2e8f0;
    margin-bottom: 2rem;
    line-height: 1.8;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(45deg, #3b82f6, #1e40af);
    color: #ffffff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: #fbbf24;
    color: #1e40af;
    border: 1px solid #f59e0b;
    font-weight: 600;
}

.btn-secondary:hover {
    background: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.4);
}

/* Floating Cards */
.hero-cards {
    position: relative;
    height: 400px;
}

.floating-card {
    position: absolute;
    background: rgba(59, 130, 246, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    animation: floatCard 6s ease-in-out infinite;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

.floating-card:hover {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.2);
}

.floating-card i {
    font-size: 2rem;
    color: #3b82f6;
}

.floating-card span {
    font-weight: 600;
    color: #1e40af;
}

.card-1 {
    top: 0;
    right: 0;
    animation-delay: 0s;
}

.card-2 {
    top: 10%;
    left: 10%;
    animation-delay: 2s;
}

.card-3 {
    top: 65%;
    right: 30%;
    animation-delay: 4s;
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* About Section - Colorful Accordions */
.about {
    padding: 6rem 0;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
    color: #ffffff;
    font-weight: 700;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.about-text {
    font-size: 1.2rem;
    color: #ffffff;
    line-height: 1.8;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.skills-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.accordion-item:nth-child(1) {
    background: #ff4757;
}

.accordion-item:nth-child(2) {
    background: #00d2ff;
}

.accordion-item:nth-child(3) {
    background: #ffa502;
}

.accordion-item:nth-child(4) {
    background: #c44569;
}

.accordion-item:nth-child(5) {
    background: #00a8cc;
}

.accordion-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.accordion-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    cursor: pointer;
    color: #ffffff;
    transition: all 0.3s ease;
    font-weight: 600;
    position: relative;
}

.accordion-header:hover {
    background: rgba(255, 255, 255, 0.1);
}

.accordion-header i:first-child {
    font-size: 1.5rem;
    width: 24px;
    text-align: center;
}

.accordion-header i:last-child {
    margin-left: auto;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header i:last-child {
    transform: rotate(180deg);
}

.accordion-header h3 {
    margin: 0;
    flex: 1;
    font-size: 1.2rem;
    font-weight: 600;
}

.accordion-content {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
}

.accordion-item.active .accordion-content {
    padding: 1.5rem 2rem;
    max-height: 200px;
}

.accordion-content p {
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tech-tags .tech-tag {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.tech-tags .tech-tag:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

/* Dark mode adaptations */
body.dark-mode .accordion-item {
    border: 1px solid rgba(255, 255, 255, 0.15);
}

body.dark-mode .tech-tags .tech-tag {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

body.dark-mode .about-text {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Skills Marquee */
.skills-marquee {
    padding: 4rem 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
}

.marquee {
    width: 100%;
    overflow: hidden;
}

.marquee-content {
    display: flex;
    animation: marquee 40s linear infinite;
    gap: 6rem;
    align-items: center;
}

.skill-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    height: 120px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.skill-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(59, 130, 246, 0.3));
    margin-bottom: 0.5rem;
}

.skill-item:hover img {
    transform: scale(1.1);
}

.skill-item .skill-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
}

.skill-item .openai-icon {
    font-size: 3rem;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(59, 130, 246, 0.3));
}

.skill-item:hover .openai-icon {
    transform: scale(1.1);
}

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

/* Portfolio Section */
.portfolio {
    padding: 6rem 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    overflow: visible;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.project-image {
    height: 200px;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.4), rgba(219, 234, 254, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    flex-shrink: 0;
}

.project-placeholder {
    font-size: 3rem;
    color: #1e40af;
}

.project-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.project-content p {
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    color: #ffffff;
}

/* Python - Blue */
.tech-tag.python {
    background: #3776ab;
    border-color: #3776ab;
    color: #ffffff;
}

/* Flask - Black */
.tech-tag.flask {
    background: #000000;
    border-color: #333333;
    color: #ffffff;
}

/* JavaScript - Yellow */
.tech-tag.javascript {
    background: #f7df1e;
    border-color: #f7df1e;
    color: #000000;
}

/* React - Cyan Blue */
.tech-tag.react {
    background: #61dafb;
    border-color: #61dafb;
    color: #000000;
}

/* TensorFlow - Orange */
.tech-tag.tensorflow {
    background: #ff6f00;
    border-color: #ff6f00;
    color: #ffffff;
}

/* PyTorch - Red/Orange */
.tech-tag.pytorch {
    background: #ee4c2c;
    border-color: #ee4c2c;
    color: #ffffff;
}

/* Plotly - Blue */
.tech-tag.plotly {
    background: #3f4f75;
    border-color: #3f4f75;
    color: #ffffff;
}

/* SQLite - Blue */
.tech-tag.sqlite {
    background: #003b57;
    border-color: #003b57;
    color: #ffffff;
}

/* Bootstrap - Purple */
.tech-tag.bootstrap {
    background: #7952b3;
    border-color: #7952b3;
    color: #ffffff;
}

/* Jupyter - Orange */
.tech-tag.jupyter {
    background: #f37626;
    border-color: #f37626;
    color: #ffffff;
}

/* Data Science - Teal */
.tech-tag.data-science {
    background: #20b2aa;
    border-color: #20b2aa;
    color: #ffffff;
}

/* HTML/CSS - Orange */
.tech-tag.html-css {
    background: #e34c26;
    border-color: #e34c26;
    color: #ffffff;
}

/* JIRA API - Blue */
.tech-tag.jira {
    background: #0052cc;
    border-color: #0052cc;
    color: #ffffff;
}

/* Reddit API - Orange/Red */
.tech-tag.reddit {
    background: #ff4500;
    border-color: #ff4500;
    color: #ffffff;
}

/* Slack API - Purple */
.tech-tag.slack {
    background: #4a154b;
    border-color: #4a154b;
    color: #ffffff;
}

/* Automation - Green */
.tech-tag.automation {
    background: #28a745;
    border-color: #28a745;
    color: #ffffff;
}

/* Testing - Red */
.tech-tag.testing {
    background: #dc3545;
    border-color: #dc3545;
    color: #ffffff;
}

/* AI APIs - Purple */
.tech-tag.ai-apis {
    background: #6f42c1;
    border-color: #6f42c1;
    color: #ffffff;
}

.tech-tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.project-links {
    display: flex !important;
    gap: 1rem;
    margin-top: auto;
    opacity: 1 !important;
    visibility: visible !important;
}

.github-chip {
    background: #000000;
    color: #ffffff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid #333333;
}

.github-chip:hover {
    background: #333333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.github-chip i {
    font-size: 1rem;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-text h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.contact-text h4 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 600;
}

.contact-text p {
    color: #ffffff;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.cv-download {
    text-align: center;
}

.social-chips {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    margin-top: 2rem;
}

.contact-link {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 1.5rem;
    text-decoration: none;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.contact-link:hover {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.contact-link i {
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

/* Email - Orange/Red */
.contact-link:nth-child(1) {
    border: 2px solid rgba(255, 87, 34, 0.4);
}

.contact-link:nth-child(1) i {
    color: #e53e3e;
    font-size: 1.8rem;
}

.contact-link:nth-child(1):hover {
    border: 2px solid rgba(255, 87, 34, 0.6);
}

/* LinkedIn - Blue */
.contact-link:nth-child(2) {
    border: 2px solid rgba(10, 102, 194, 0.4);
}

.contact-link:nth-child(2) i {
    color: #0077b5;
    font-size: 1.8rem;
}

.contact-link:nth-child(2):hover {
    border: 2px solid rgba(10, 102, 194, 0.6);
}

/* GitHub - Dark Gray */
.contact-link:nth-child(3) {
    border: 2px solid rgba(36, 41, 47, 0.4);
}

.contact-link:nth-child(3) i {
    color: #171515;
    font-size: 1.8rem;
}

.contact-link:nth-child(3):hover {
    border: 2px solid rgba(36, 41, 47, 0.6);
}

/* Instagram - Pink/Purple Gradient */
.contact-link:nth-child(4) {
    border: 2px solid rgba(225, 48, 108, 0.4);
}

.contact-link:nth-child(4) i {
    background: linear-gradient(45deg, #e1306c, #c13584, #833ab4, #fd1d1d, #fcb045);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.8rem;
}

.contact-link:nth-child(4):hover {
    border: 2px solid rgba(225, 48, 108, 0.6);
}

.contact-link span {
    font-weight: 600;
    color: #ffffff;
}

/* Modern Social Media Chips */
.social-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.8rem;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    color: #ffffff;
    flex: 1;
    justify-content: center;
}

.social-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.social-chip i {
    font-size: 1rem;
}

.social-chip span {
    font-weight: 500;
}

/* Email Chip */
.email-chip {
    background: #ef4444;
}

.email-chip:hover {
    background: #dc2626;
}

/* LinkedIn Chip */
.linkedin-chip {
    background: #0077b5;
}

.linkedin-chip:hover {
    background: #005885;
}

/* GitHub Chip */
.github-chip {
    background: #333333;
}

.github-chip:hover {
    background: #1a1a1a;
}

/* Instagram Chip */
.instagram-chip {
    background: #e1306c;
}

.instagram-chip:hover {
    background: #c13584;
}

/* Contact form container */
.contact-form-container {
    flex: 1;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form-container h3 {
    color: #ffffff !important;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.form-group label::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    transition: width 0.3s ease;
}

.form-group:focus-within label::after {
    width: 100%;
}

.form-group:focus-within label {
    color: #fbbf24;
    transform: translateX(5px);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 20px;
    padding: 1.2rem;
    color: #000000 !important;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', sans-serif;
    position: relative;
}

body.dark-mode .form-group input,
body.dark-mode .form-group select,
body.dark-mode .form-group textarea {
    color: #ffffff !important;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(0, 0, 0, 0.6) !important;
    transition: all 0.3s ease;
}

body.dark-mode .form-group input::placeholder,
body.dark-mode .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #fbbf24;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 0 30px rgba(251, 191, 36, 0.4),
        0 0 60px rgba(251, 191, 36, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-2px) scale(1.02);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: rgba(251, 191, 36, 0.5);
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: #ffffff;
    color: #000000;
}

body.dark-mode .form-group select option {
    background: #1e40af;
    color: #ffffff;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
    rows: 6;
}

.form-submit-btn {
    background: linear-gradient(135deg, #3b82f6, #1e40af, #6366f1);
    border: none;
    border-radius: 25px;
    padding: 1.4rem 2.5rem;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.form-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.form-submit-btn:hover::before {
    left: 100%;
}

.form-submit-btn:hover {
    background: linear-gradient(135deg, #2563eb, #1e3a8a, #4f46e5);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 15px 40px rgba(59, 130, 246, 0.5),
        0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-submit-btn:active {
    transform: translateY(-1px) scale(1.02);
    transition: all 0.1s ease;
}

.form-submit-btn i {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.2rem;
}

.form-submit-btn:hover i {
    transform: translateX(8px) rotate(15deg);
    color: #fbbf24;
}

.form-submit-btn span {
    transition: all 0.3s ease;
}

.form-submit-btn:hover span {
    letter-spacing: 0.5px;
}

/* Footer with Triangular Transition */
.footer {
    padding: 4rem 0 1rem 0;
    text-align: center;
    background: #87CEEB;
    position: relative;
    overflow: hidden;
    transition: background 0.5s ease;
}

body.dark-mode .footer {
    background: #0f0f23;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #228B22;
    transition: background 0.5s ease;
    clip-path: polygon(
        0% 40%, 
        2% 0%, 4% 40%, 
        6% 0%, 8% 40%, 
        10% 0%, 12% 40%, 
        14% 0%, 16% 40%, 
        18% 0%, 20% 40%, 
        22% 0%, 24% 40%, 
        26% 0%, 28% 40%, 
        30% 0%, 32% 40%, 
        34% 0%, 36% 40%, 
        38% 0%, 40% 40%, 
        42% 0%, 44% 40%, 
        46% 0%, 48% 40%, 
        50% 0%, 52% 40%, 
        54% 0%, 56% 40%, 
        58% 0%, 60% 40%, 
        62% 0%, 64% 40%, 
        66% 0%, 68% 40%, 
        70% 0%, 72% 40%, 
        74% 0%, 76% 40%, 
        78% 0%, 80% 40%, 
        82% 0%, 84% 40%, 
        86% 0%, 88% 40%, 
        90% 0%, 92% 40%, 
        94% 0%, 96% 40%, 
        98% 0%, 100% 40%, 
        100% 100%, 
        0% 100%
    );
}

body.dark-mode .footer::before {
    background: #0d4e2a;
}

.footer p {
    color: #ffffff;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

/* Easter Egg Hint */
.easter-egg-hint {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    font-family: 'Inter', sans-serif;
}

.easter-egg-hint:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

body.dark-mode .easter-egg-hint {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

body.dark-mode .easter-egg-hint:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Easter Egg Modal */
.easter-egg-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    animation: modalFadeIn 0.3s ease-out;
}

.easter-egg-modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    margin: 15% auto;
    padding: 2rem;
    border: 2px solid #3b82f6;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
    text-align: center;
}

body.dark-mode .easter-egg-modal-content {
    background: rgba(15, 15, 35, 0.95);
    border-color: #fbbf24;
}

.easter-egg-modal-close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #666666;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.easter-egg-modal-close:hover {
    color: #000000;
    background: rgba(0, 0, 0, 0.1);
    transform: scale(1.1);
}

body.dark-mode .easter-egg-modal-close {
    color: #cccccc;
}

body.dark-mode .easter-egg-modal-close:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.easter-egg-modal-content h3 {
    color: #1e40af;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

body.dark-mode .easter-egg-modal-content h3 {
    color: #fbbf24;
}

.easter-egg-modal-content p {
    color: #374151;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

body.dark-mode .easter-egg-modal-content p {
    color: #e5e7eb;
}

.modal-hint {
    background: rgba(59, 130, 246, 0.1);
    border-left: 4px solid #3b82f6;
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
}

body.dark-mode .modal-hint {
    background: rgba(251, 191, 36, 0.1);
    border-left-color: #fbbf24;
}

.modal-hint small {
    color: #6b7280;
}

body.dark-mode .modal-hint small {
    color: #9ca3af;
}

/* Spoiler effect */
.spoiler {
    position: relative;
    display: inline-block;
    margin-left: 0.5rem;
    cursor: pointer;
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.spoiler:hover {
    background: rgba(0, 0, 0, 0.15);
}

body.dark-mode .spoiler {
    background: rgba(255, 255, 255, 0.1);
}

body.dark-mode .spoiler:hover {
    background: rgba(255, 255, 255, 0.15);
}

.spoiler-content {
    color: #6b7280;
    font-weight: bold;
    filter: blur(5px);
    transition: all 0.3s ease;
    user-select: none;
}

body.dark-mode .spoiler-content {
    color: #9ca3af;
}

.spoiler-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.7rem;
    color: #6b7280;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    transition: all 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
}

body.dark-mode .spoiler-overlay {
    color: #9ca3af;
    background: rgba(15, 15, 35, 0.9);
}

.spoiler.revealed .spoiler-content {
    filter: blur(0px);
    user-select: text;
    color: #3b82f6;
}

body.dark-mode .spoiler.revealed .spoiler-content {
    color: #fbbf24;
}

.spoiler.revealed .spoiler-overlay {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
}

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

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Move solar system above text on mobile */
    .solar-system {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 300px;
        height: 300px;
        margin: 0 auto 2rem auto;
        order: -2;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(12, 20, 69, 0.95);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }


    .hero-content {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-name {
        font-size: 2.5rem;
    }

    .hero-cards {
        order: -1;
        height: 200px;
    }

    .floating-card {
        position: relative;
        display: inline-flex;
        margin: 0.5rem;
        animation: none;
    }

    .card-1, .card-2, .card-3 {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        transform: none;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        height: auto;
        gap: 1rem;
    }

    .bento-card {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .social-chips {
        justify-content: center;
        gap: 0.5rem;
    }
    
    .social-chip {
        font-size: 0.8rem;
        padding: 0.5rem 0.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 200px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 1rem;
    }

    .hero-name {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .glass-card {
        padding: 1.5rem;
    }
}

/* Easter Egg Animations */
@keyframes easterEggPop {
    0% {
        transform: translate(-50%, -50%) scale(0) rotate(180deg);
        opacity: 0;
    }
    70% {
        transform: translate(-50%, -50%) scale(1.1) rotate(-10deg);
    }
    100% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes easterEggFadeOut {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
}

@keyframes rainbowGlow {
    0% { filter: hue-rotate(0deg) brightness(1) saturate(1); }
    25% { filter: hue-rotate(90deg) brightness(1.2) saturate(1.5); }
    50% { filter: hue-rotate(180deg) brightness(1.4) saturate(2); }
    75% { filter: hue-rotate(270deg) brightness(1.2) saturate(1.5); }
    100% { filter: hue-rotate(360deg) brightness(1) saturate(1); }
}

@keyframes starDance {
    0% { 
        transform: scale(1) rotate(0deg);
        filter: brightness(1) hue-rotate(0deg);
    }
    50% { 
        transform: scale(1.5) rotate(180deg);
        filter: brightness(2) hue-rotate(180deg);
    }
    100% { 
        transform: scale(1) rotate(360deg);
        filter: brightness(1) hue-rotate(360deg);
    }
}

@keyframes megaPulse {
    0% { 
        transform: translate(-50%, -50%) scale(1);
        filter: brightness(1) hue-rotate(0deg);
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.3);
        filter: brightness(1.5) hue-rotate(180deg);
    }
    100% { 
        transform: translate(-50%, -50%) scale(1);
        filter: brightness(1) hue-rotate(360deg);
    }
}

/* Easter Egg Classes */
.cloud-1.rainbow-glow {
    animation: cloudDrift1 25s linear infinite, rainbowGlow 2s ease-in-out infinite alternate !important;
}

.cloud-2.rainbow-glow {
    animation: cloudDrift2 30s linear infinite, rainbowGlow 2s ease-in-out infinite alternate !important;
}

.cloud-3.rainbow-glow {
    animation: cloudDrift3 20s linear infinite, rainbowGlow 2s ease-in-out infinite alternate !important;
}

.cloud-4.rainbow-glow {
    animation: cloudDrift4 35s linear infinite, rainbowGlow 2s ease-in-out infinite alternate !important;
}

.cloud-5.rainbow-glow {
    animation: cloudDrift5 18s linear infinite, rainbowGlow 2s ease-in-out infinite alternate !important;
}

.cloud-6.rainbow-glow {
    animation: cloudDrift6 28s linear infinite, rainbowGlow 2s ease-in-out infinite alternate !important;
}

.star.star-dance {
    animation: twinkle 3s ease-in-out infinite alternate, starDance 1s ease-in-out infinite alternate !important;
}

.sun.mega-pulse {
    animation: sunPulse 4s ease-in-out infinite alternate, megaPulse 0.8s ease-in-out infinite alternate !important;
}

.moon.mega-pulse {
    animation: moonGlow 6s ease-in-out infinite alternate, megaPulse 0.8s ease-in-out infinite alternate !important;
}