:root {
    --gradient-1: #232F3E;
    --gradient-2: #146EB4;
    --accent: #FF9900;
    --light: #f8f9fa;
    --dark: #2d3748;
    --gray: #718096;
    --glass: rgba(255,255,255,0.15);
}
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: linear-gradient(120deg, var(--light) 60%, #e3eafc 100%);
    overflow-x: hidden;
}
/* Futuristic animated gradient header */
header {
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    color: white;
    padding: 3rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
header::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    opacity: 0.12;
    transform: translateX(-50%) scale(1.2);
    z-index: 0;
    animation: pulseGlow 6s infinite alternate;
}
@keyframes pulseGlow {
    0% { opacity: 0.12; transform: translateX(-50%) scale(1.2); }
    100% { opacity: 0.22; transform: translateX(-50%) scale(1.4); }
}
.header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}
h1 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    animation: fadeInDown 1s ease;
    text-shadow: 0 2px 16px rgba(20,110,180,0.18);
}
.tagline {
    font-size: 1.2rem;
    opacity: 0.92;
    margin-bottom: 1.5rem;
    animation: fadeIn 1.5s ease;
    letter-spacing: 1px;
}
.scroll-down {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--accent);
    font-size: 2rem;
    animation: bounce 2s infinite;
    z-index: 2;
    cursor: pointer;
    filter: drop-shadow(0 2px 8px var(--accent));
}
/* Glassmorphism container */
.container {
    max-width: 1000px;
    margin: -30px auto 0;
    padding: 0 20px;
    position: relative;
    z-index: 3;
}
section {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(20,110,180,0.08);
    padding: 2.5rem;
    margin-bottom: 2rem;
    transition: transform 0.3s cubic-bezier(.4,2,.3,1), box-shadow 0.3s;
    border: 1px solid rgba(35,47,62,0.08);
    opacity: 0;
    transform: translateY(30px);
}
section.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(.4,2,.3,1), transform 0.7s cubic-bezier(.4,2,.3,1);
}
section:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 16px 40px rgba(20,110,180,0.13);
}
h2 {
    color: var(--gradient-1);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    letter-spacing: 1px;
}
h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--gradient-2));
    border-radius: 3px;
    animation: gradientBar 2s infinite alternate;
}
@keyframes gradientBar {
    0% { width: 60px; }
    100% { width: 80px; }
}
h3 {
    color: var(--gradient-2);
    margin: 1.2rem 0 0.5rem;
    font-size: 1.3rem;
    letter-spacing: 0.5px;
}
p {
    color: var(--gray);
    margin-bottom: 1rem;
}
#about p {
    text-align: justify;
}
/* Skills section */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
}
.skill-pill {
    background: linear-gradient(90deg, var(--gradient-1) 60%, var(--gradient-2) 100%);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(.4,2,.3,1);
    box-shadow: 0 2px 8px rgba(20,110,180,0.08);
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255,255,255,0.08);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.skill-pill:hover {
    transform: translateY(-3px) scale(1.07);
    box-shadow: 0 5px 18px rgba(20,110,180,0.13);
    background: linear-gradient(90deg, var(--accent) 30%, var(--gradient-2) 100%);
}
.skill-pill img, .skill-pill i {
    margin-right: 6px;
    filter: drop-shadow(0 1px 2px rgba(20,110,180,0.12));
}
/* Projects section */
.project {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px dashed #e2e8f0;
    animation: fadeInUp 1.2s;
}
.project:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.project h3 {
    display: flex;
    align-items: center;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.project h3 i {
    margin-right: 10px;
    color: var(--accent);
    filter: drop-shadow(0 2px 8px var(--accent));
}
ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}
li {
    margin-bottom: 0.5rem;
    color: var(--gray);
    position: relative;
    animation: fadeInList 1.2s;
}
@keyframes fadeInList {
    from { opacity: 0; left: -20px; }
    to { opacity: 1; left: 0; }
}
/* Contact section */
.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}
.contact-link {
    display: inline-flex;
    align-items: center;
    background: var(--light);
    color: var(--gradient-1);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(.4,2,.3,1);
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(20,110,180,0.08);
    font-size: 1rem;
    position: relative;
}
.contact-link:hover {
    background: linear-gradient(90deg, var(--gradient-1), var(--gradient-2));
    color: white;
    transform: translateY(-3px) scale(1.07);
    box-shadow: 0 5px 15px rgba(20,110,180,0.13);
}
.contact-link i {
    margin-right: 8px;
    font-size: 1.1rem;
    filter: drop-shadow(0 1px 2px var(--accent));
}
/* Footer */
footer {
    text-align: center;
    padding: 2rem 0;
    color: var(--gray);
    font-size: 0.9rem;
    background: linear-gradient(90deg, var(--gradient-1) 60%, var(--gradient-2) 100%);
    color: #fff;
    letter-spacing: 1px;
    box-shadow: 0 -2px 16px rgba(20,110,180,0.08);
}
/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-20px) translateX(-50%); }
    60% { transform: translateY(-10px) translateX(-50%); }
}
/* Responsive design */
@media (max-width: 900px) {
    .container {
        max-width: 98vw;
        padding: 0 8px;
    }
    section {
        padding: 1.2rem;
    }
}
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    .tagline {
        font-size: 1rem;
    }
    section {
        padding: 1rem;
    }
    .contact-links {
        flex-direction: column;
        gap: 0.8rem;
    }
    .contact-link {
        justify-content: center;
        width: 100%;
    }
    .skills-container {
        gap: 0.5rem;
    }
}
@media (max-width: 500px) {
    h1 {
        font-size: 1.3rem;
    }
    h2 {
        font-size: 1.1rem;
    }
    h3 {
        font-size: 1rem;
    }
    section {
        padding: 0.7rem;
    }
    .skill-pill {
        font-size: 0.8rem;
        padding: 0.3rem 0.7rem;
    }
}
