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

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.14), transparent 30%),
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.12), transparent 28%),
        linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
    color: #333333;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Intro Screen */
.intro-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    overflow: hidden;
}

.intro-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    animation: particlePulse 2s ease-in-out infinite;
}

@keyframes particlePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.15;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.25;
    }
}

.intro-screen::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg at 50% 50%, 
        transparent 0deg, 
        rgba(59, 130, 246, 0.1) 60deg, 
        transparent 120deg,
        rgba(59, 130, 246, 0.1) 180deg,
        transparent 240deg,
        rgba(59, 130, 246, 0.1) 300deg,
        transparent 360deg);
    animation: rotateGradient 8s linear infinite;
    opacity: 0.3;
}

@keyframes particleExpand {
    0% {
        opacity: 0.3;
        transform: rotate(0deg) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: rotate(180deg) scale(1.5);
    }
    100% {
        opacity: 0;
        transform: rotate(360deg) scale(3);
    }
}

@keyframes particlePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.15;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.25;
    }
}

.intro-content {
    position: relative;
    z-index: 10;
    text-align: center;
    opacity: 0;
    animation: contentFadeIn 1s ease-out 0.3s forwards;
}

@keyframes contentFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes particlesAppear {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes floatParticles {
    0%, 100% {
        background-position: 0% 0%, 100% 100%, 50% 50%, 80% 20%;
    }
    50% {
        background-position: 100% 50%, 0% 50%, 50% 100%, 20% 80%;
    }
}

.intro-text {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 700;
    color: #333333;
    margin: 0;
    letter-spacing: -0.02em;
    position: relative;
    opacity: 0;
    transform: translateY(60px) scale(0.8);
    animation: elegantIntro 2s ease-out forwards;
}

@keyframes elegantIntro {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.8);
        filter: blur(8px);
    }
    40% {
        opacity: 0.3;
        transform: translateY(20px) scale(0.95);
        filter: blur(4px);
    }
    70% {
        opacity: 0.8;
        transform: translateY(-10px) scale(1.02);
        filter: blur(1px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0px);
    }
}

.intro-text span {
    color: #3b82f6;
    font-weight: 700;
    position: relative;
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: nameFadeIn 1.5s ease-out 0.8s forwards;
}

@keyframes nameFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    60% {
        opacity: 0.7;
        transform: translateY(-5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.intro-screen.fade-out {
    animation: introFadeOut 1.5s ease-out 2.5s forwards;
}

@keyframes introFadeOut {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1);
    }
}

.main-content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.2s ease-out;
}

.main-content.show {
    opacity: 1;
    transform: translateY(0);
}

.main-content section:first-child {
    opacity: 1 !important;
    transform: none !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
    padding: 110px 0 60px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(37, 99, 235, 0.08) 0%, transparent 50%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.03) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(37, 99, 235, 0.03) 0%, transparent 20%),
        radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.02) 0%, transparent 60%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5rem;
    padding: 0 20px;
    margin: 0;
}

.hero-left,
.hero-right {
    flex: 1;
}

.hero-left {
    max-width: 560px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 1.5rem 0;
}

.hero-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.7rem 1.1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(59, 130, 246, 0.18);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1);
    color: #2563eb;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    backdrop-filter: blur(14px);
    margin-bottom: 1.3rem;
    width: fit-content;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.45s;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 700;
    color: #333333;
    margin-bottom: 1rem;
    line-height: 1.08;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.6s;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #2563eb);
    border-radius: 2px;
}

.hero-title .name {
    color: #3b82f6;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 2rem;
    color: #475569;
    font-weight: 400;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.8s;
    max-width: 520px;
}

.hero-right .intro-image-container {
    position: relative;
    width: min(100%, 320px);
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: scale(0.8) rotate(5deg);
    animation: scaleRotateIn 1s ease-out forwards;
    animation-delay: 1s;
    margin-left: auto;
}

.hero-right .intro-image-container::before {
    content: '';
    position: absolute;
    inset: -14px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.28), rgba(59, 130, 246, 0.08) 55%, transparent 72%);
    filter: blur(18px);
    z-index: -1;
}

.hero-right .intro-image-container::after {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    z-index: 2;
    pointer-events: none;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #666666;
    font-size: 0.9rem;
}

.scroll-arrow {
    font-size: 1.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 1.2s;
}

.resume-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    margin-top: 2.3rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 1.2s;
    flex-wrap: wrap;
    align-items: center;
}

.hero-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 1.35s;
}

.hero-highlight-card {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 1rem 1.1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(59, 130, 246, 0.14);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(16px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.hero-highlight-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(37, 99, 235, 0.16);
    border-color: rgba(37, 99, 235, 0.26);
}

.highlight-number {
    color: #2563eb;
    font-size: 1.1rem;
    font-weight: 800;
}

.highlight-label {
    color: #475569;
    font-size: 0.88rem;
    font-weight: 500;
}

.resume-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.resume-button::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;
}

.resume-button:hover::before {
    left: 100%;
}

.download-button {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: 2px solid #3b82f6;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

.download-button:hover {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 15px 35px rgba(59, 130, 246, 0.4),
        0 5px 15px rgba(59, 130, 246, 0.3);
    border-color: #3b82f6;
}

.view-button {
    background: transparent;
    color: #333333;
    border: 2px solid #3b82f6;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.view-button:hover {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border-color: #3b82f6;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 15px 35px rgba(59, 130, 246, 0.3),
        0 5px 15px rgba(59, 130, 246, 0.2);
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: 2px solid #3b82f6;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    transform: translateY(-2px);
    box-shadow: 
        0 15px 35px rgba(59, 130, 246, 0.4),
        0 5px 15px rgba(59, 130, 246, 0.3);
    border-color: #3b82f6;
}

.hero-right .intro-profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid rgba(59, 130, 246, 0.6);
    box-shadow: 
        0 0 30px rgba(59, 130, 246, 0.4),
        0 0 60px rgba(59, 130, 246, 0.2),
        0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.hero-right .intro-profile-image:hover {
    transform: scale(1.05);
    border-color: rgba(59, 130, 246, 0.8);
    box-shadow: 
        0 0 40px rgba(59, 130, 246, 0.6),
        0 0 80px rgba(59, 130, 246, 0.3),
        0 15px 40px rgba(0, 0, 0, 0.15);
}

.hero-right .intro-profile-image::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(circle at center, 
        rgba(59, 130, 246, 0.3) 0%, 
        rgba(59, 130, 246, 0.1) 50%, 
        transparent 100%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(20px);
}

.profile-image:hover {
    transform: scale(1.05) rotate(1deg);
    filter: brightness(1.15) contrast(1.1);
    box-shadow: 
        0 20px 40px rgba(251, 146, 60, 0.3),
        0 10px 20px rgba(0, 0, 0, 0.4);
}

.profile-image:hover::before {
    opacity: 1;
}

.btn-primary, .btn-secondary {
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    transform: translateY(0);
}

.btn-primary::before, .btn-secondary::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;
}

.btn-primary:hover::before, .btn-secondary:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: 2px solid #3b82f6;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

.btn-primary:hover {
    background: transparent;
    color: #3b82f6;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 15px 35px rgba(59, 130, 246, 0.4),
        0 5px 15px rgba(59, 130, 246, 0.3);
    border-color: #3b82f6;
}

.btn-secondary {
    background: transparent;
    color: #333333;
    border: 2px solid #3b82f6;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border-color: #3b82f6;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 15px 35px rgba(59, 130, 246, 0.3),
        0 5px 15px rgba(59, 130, 246, 0.2);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
}

.profile-image {
    width: 400px;
    height: 400px;
    object-fit: cover;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInRight 1s ease-out 0.8s forwards;
    position: relative;
    border-radius: 0;
    background: none;
}

.profile-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(251, 146, 60, 0.1) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profile-image:hover::before {
    opacity: 1;
}

.profile-image:hover {
    transform: scale(1.02);
    filter: brightness(1.1) contrast(1.05);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    animation: bounce 2s infinite;
}

.scroll-text {
    font-size: 0.9rem;
    margin-bottom: 10px;
    opacity: 0.8;
}

.scroll-arrow {
    font-size: 1.5rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.14);
    z-index: 9999;
    padding: 0.85rem 0;
    transform: translateY(0);
    opacity: 1;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

@keyframes slideDown {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3b82f6;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(59, 130, 246, 0.05);
    transition: all 0.3s ease;
}

.nav-logo:hover {
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.2);
}

.nav-logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #2563eb);
    border-radius: 1px;
    transition: width 0.3s ease;
}

.nav-logo:hover::after {
    width: 80%;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.75rem;
}

.nav-menu a {
    text-decoration: none;
    color: #1f2937;
    font-weight: 600;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.2rem;
    border-radius: 999px;
    border: 1px solid rgba(59, 130, 246, 0.18);
    background: linear-gradient(135deg, #ffffff, #eff6ff);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.nav-menu a:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.28);
}

.nav-menu a.active {
    color: #ffffff;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-color: transparent;
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.24);
}

.nav-menu a:focus-visible {
    outline: none;
    color: #ffffff;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.18);
}

.nav-menu a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.nav-menu a:hover::before {
    opacity: 1;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 0.5rem;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.12);
}

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

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

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Section Styles */
section {
    padding: 100px 0;
    position: relative;
}

.about,
.education,
.skills,
.projects,
.contact {
    scroll-margin-top: 110px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #3b82f6;
    font-weight: 700;
    position: relative;
}

.section-title::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
    border-radius: 2px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #3b82f6;
    border-radius: 2px;
}

/* About Section */
.about {
    background: rgba(255, 255, 255, 0.62);
}

.about-content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.about-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    padding: 2rem;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(59, 130, 246, 0.12);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(14px);
}

.about-tagline {
    background: linear-gradient(135deg, #53CBF3, #38BDF8);
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
}

.tagline-text {
    color: #0a0a0a;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.3px;
}

.about-text {
    color: #333333c0;
}

.about-intro {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #666666;
}

.about-focus, .about-goal, .about-approach {
    margin-bottom: 1.5rem;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(59, 130, 246, 0.12);
    border-left: 3px solid #3b82f6;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-focus:hover, .about-goal:hover, .about-approach:hover {
    transform: translateX(3px) translateY(-4px);
    box-shadow: 0 16px 34px rgba(37, 99, 235, 0.12);
}

.about-focus h4, .about-goal h4, .about-approach h4 {
    color: #3b82f6;
    margin-bottom: 0.6rem;
    font-size: 1rem;
    font-weight: 600;
}

.about-focus p, .about-goal p, .about-approach p {
    color: #666666;
    line-height: 1.5;
    margin: 0;
    font-size: 0.9rem;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.3);
}

.stat h3 {
    font-size: 2.2rem;
    color: #3b82f6;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat p {
    color: #666666;
    font-weight: 500;
    font-size: 0.9rem;
    margin: 0;
}

/* Education Section */
.education {
    background: rgba(241, 245, 249, 0.74);
    padding: 100px 0;
}

.education-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.education-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #3b82f6, #2563eb);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: flex-start;
}

.timeline-icon {
    position: relative;
    z-index: 2;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.8);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.timeline-icon:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.5);
}

.timeline-icon i {
    color: white;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.timeline-content {
    flex: 1;
    margin-left: 2rem;
}

.education-card {
    background: rgba(255, 255, 255, 0.88);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(59, 130, 246, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.education-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.3);
}

.education-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.education-header h3 {
    color: #3b82f6;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
}

.education-status {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.education-status.current {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

.education-status.completed {
    background: rgba(83, 203, 243, 0.1);
    color: #53CBF3;
    border: 1px solid rgba(83, 203, 243, 0.3);
}

.education-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.college-info, .duration-info, .location-info, .achievement-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #666666;
    transition: all 0.3s ease;
}

.college-info:hover, .duration-info:hover, .location-info:hover, .achievement-info:hover {
    color: #3b82f6;
    transform: translateX(5px);
}

.college-info i, .duration-info i, .location-info i, .achievement-info i {
    color: #3b82f6;
    width: 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skill-card {
    background: rgba(255, 255, 255, 0.84);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.6s ease;
}

.skill-card:hover::before {
    left: 100%;
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.2);
}

.skill-card.skill-selected {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.skill-card.skill-selected i {
    color: white;
    transform: scale(1.1);
}

.skill-card.skill-selected h3 {
    color: white;
    font-weight: 700;
}

.skill-card.skill-selected p {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.skill-card i {
    font-size: 3rem;
    color: #3b82f6;
    margin-bottom: 1rem;
}

.skill-card h3 {
    margin-bottom: 1rem;
    color: #333333;
}

.skill-card p {
    color: #666666;
    font-weight: 500;
}

/* Projects Section */
.projects {
    background: rgba(255, 255, 255, 0.55);
}

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

.project-card {
    background: rgba(255, 255, 255, 0.86);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid rgba(59, 130, 246, 0.1);
    backdrop-filter: blur(12px);
}

.project-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, #3b82f6, #0ea5e9);
}

.project-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.3);
}

.project-content {
    padding: 2rem;
    background: transparent;
}

.project-content h3 {
    margin-bottom: 1rem;
    color: #3b82f6;
    font-size: 1.5rem;
    font-weight: 600;
}

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

.project-tech span {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.project-tech span:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
}

.project-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border: 1px solid #3b82f6;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
}

.github-button {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.github-button:hover {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
}

.github-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.6s ease;
}

/* Contact Section */
.contact {
    text-align: center;
    background: rgba(241, 245, 249, 0.78);
}

.contact-content p {
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    color: #666666;
}

.contact-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(59, 130, 246, 0.12);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(14px);
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: rgba(59, 130, 246, 0.05);
    color: #3b82f6;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 500;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.contact-link:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
}

/* Animations */
@keyframes imageFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.6) translateY(30px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes imageGlow {
    0%, 100% {
        box-shadow: 
            0 0 30px rgba(59, 130, 246, 0.4),
            0 0 60px rgba(59, 130, 246, 0.2),
            0 10px 30px rgba(0, 0, 0, 0.3);
    }
    50% {
        box-shadow: 
            0 0 40px rgba(59, 130, 246, 0.6),
            0 0 80px rgba(59, 130, 246, 0.3),
            0 15px 35px rgba(0, 0, 0, 0.4);
    }
}

@keyframes imageAura {
    0% {
        opacity: 0.6;
        transform: scale(1);
    }
    100% {
        opacity: 1;
        transform: scale(1.1);
    }
}

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

@keyframes textShimmer {
    0%, 100% {
        transform: translateX(-100%) rotate(0deg);
        opacity: 0;
    }
    50% {
        transform: translateX(100%) rotate(180deg);
        opacity: 1;
    }
}

@keyframes colorShift {
    0%, 100% {
        filter: hue-rotate(0deg) brightness(1);
    }
    50% {
        filter: hue-rotate(15deg) brightness(1.2);
    }
}

@keyframes rotateGradient {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes heroGradient {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-60px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(60px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes titleSlideUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes nameGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(59, 130, 246, 0.8);
    }
    50% {
        text-shadow: 0 0 20px rgba(59, 130, 246, 1), 0 0 30px rgba(59, 130, 246, 0.6);
    }
}

@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
    }
    50% {
        box-shadow: 0 4px 25px rgba(59, 130, 246, 0.4);
    }
}

        @keyframes buttonGlow {
    0%, 100% {
        box-shadow: 
            0 15px 35px rgba(59, 130, 246, 0.4),
            0 5px 15px rgba(59, 130, 246, 0.3);
    }
    50% {
        box-shadow: 
            0 20px 45px rgba(59, 130, 246, 0.6),
            0 10px 25px rgba(59, 130, 246, 0.4);
    }
}

@keyframes shimmerEffect {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

@keyframes textShimmer {
    0%, 100% {
        transform: translateX(-100%) rotate(0deg);
        opacity: 0;
    }
    50% {
        transform: translateX(100%) rotate(180deg);
        opacity: 1;
    }
}

@keyframes colorShift {
    0%, 100% {
        filter: hue-rotate(0deg) brightness(1);
    }
    50% {
        filter: hue-rotate(20deg) brightness(1.2);
    }
}

@keyframes magicalFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-15px) rotate(1deg) scale(1.02);
    }
    50% {
        transform: translateY(-8px) rotate(-0.5deg) scale(1.01);
    }
    75% {
        transform: translateY(-20px) rotate(0.8deg) scale(1.015);
    }
}

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

@keyframes lightAura {
    0% {
        opacity: 0.3;
        transform: scale(0.9) rotate(0deg);
    }
    100% {
        opacity: 0.7;
        transform: scale(1.1) rotate(5deg);
    }
}

@keyframes shadowPulse {
    0%, 100% {
        opacity: 0.8;
        filter: brightness(1);
    }
    50% {
        opacity: 1;
        filter: brightness(1.2);
    }
}

@keyframes introFadeOut {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.9);
    }
}

@keyframes pulseGradient {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes slideToLeft {
    0% {
        transform: translateX(0) translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-200px) translateY(-50px);
        opacity: 0;
    }
}

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

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

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

@keyframes expandLine {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 80px;
        opacity: 1;
    }
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

@keyframes underlineExpand {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

@keyframes floatGradient {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(1deg) scale(1.02);
    }
    50% {
        transform: rotate(-1deg) scale(1.01);
    }
    75% {
        transform: rotate(0.5deg) scale(1.02);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleRotateIn {
    0% {
        opacity: 0;
        transform: scale(0.8) rotate(5deg);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05) rotate(-2deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .intro-text {
        font-size: clamp(2rem, 8vw, 4rem);
        text-align: center;
    }
    
    .hero-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-left {
        max-width: 100%;
        align-items: center;
        text-align: center;
        padding: 0;
    }

    .hero-right {
        justify-content: center;
    }
    
    .hero-title {
        font-size: clamp(2rem, 6vw, 3rem);
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }

    .hero-badge,
    .resume-buttons {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-highlights {
        grid-template-columns: 1fr;
    }
    
    .profile-image {
        width: 250px;
        height: 250px;
        border-radius: 15px;
    }
    
    .nav-menu {
        position: fixed;
        top: 86px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 86px);
        background: rgba(15, 23, 42, 0.92);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
        gap: 1rem;
        backdrop-filter: blur(18px);
    }

    .nav-menu li {
        width: min(260px, 85%);
    }

    .nav-menu a {
        width: 100%;
        background: rgba(255, 255, 255, 0.08);
        color: #f8fafc;
        border-color: rgba(255, 255, 255, 0.12);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .contact-links {
        flex-direction: column;
        align-items: center;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .education-grid {
        grid-template-columns: 1fr;
    }
    
    .education-timeline::before {
        left: 20px;
    }
    
    .timeline-icon {
        width: 50px;
        height: 50px;
    }
    
    .timeline-icon i {
        font-size: 1.2rem;
    }
    
    .timeline-content {
        margin-left: 1.5rem;
    }
    
    .education-card {
        padding: 1.5rem;
    }

    .about-main,
    .contact-content {
        padding: 1.5rem;
    }
    
    .education-header h3 {
        font-size: 1.2rem;
    }

    .education-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
    
    .education-status {
        font-size: 0.7rem;
        padding: 0.3rem 0.8rem;
    }
    
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 120px;
    }

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

    .resume-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .resume-button {
        justify-content: center;
    }
    
    .greeting {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}
