/* 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: #333;
    background-color: #f8fafc;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #2563eb;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

/* Animated Background */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 200, 255, 0.3) 0%, transparent 50%);
    animation: backgroundFloat 20s ease-in-out infinite;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.05) 50%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, rgba(255, 255, 255, 0.03) 50%, transparent 60%);
    background-size: 80px 80px;
    animation: patternMove 25s linear infinite;
    z-index: 2;
}

/* Floating Elements */
.hero .floating-element {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: floatUp 15s ease-in-out infinite;
    z-index: 3;
    pointer-events: none;
}

.hero .floating-element:nth-child(1) {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 15%;
    animation-delay: 0s;
}

.hero .floating-element:nth-child(2) {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 20%;
    animation-delay: 5s;
}

.hero .floating-element:nth-child(3) {
    width: 80px;
    height: 80px;
    top: 80%;
    left: 70%;
    animation-delay: 10s;
}

.hero .floating-element:nth-child(4) {
    width: 120px;
    height: 120px;
    top: 30%;
    right: 50%;
    animation-delay: 2s;
}

/* Pulsing Dots */
.hero .pulse-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: pulseDot 3s ease-in-out infinite;
    z-index: 3;
    pointer-events: none;
}

.hero .pulse-dot:nth-child(1) {
    top: 20%;
    left: 30%;
    animation-delay: 0s;
}

.hero .pulse-dot:nth-child(2) {
    top: 70%;
    left: 80%;
    animation-delay: 1s;
}

.hero .pulse-dot:nth-child(3) {
    top: 50%;
    left: 10%;
    animation-delay: 2s;
}

.hero .pulse-dot:nth-child(4) {
    top: 90%;
    left: 60%;
    animation-delay: 0.5s;
}

.hero .pulse-dot:nth-child(5) {
    top: 15%;
    right: 25%;
    animation-delay: 1.5s;
}

/* Hero Animations */
.hero-content {
    animation: slideInLeft 1.2s ease-out;
}

.hero-image {
    animation: slideInRight 1.2s ease-out;
}

.hero-title {
    animation: nameReveal 2s ease-out 0.5s both;
    overflow: hidden;
}

.hero-subtitle {
    animation: typingEffect 3s ease-out 1.5s both;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid #fbbf24;
    width: 0;
}

.hero-description {
    animation: fadeInUp 1s ease-out 2.5s both;
}

.hero-buttons {
    animation: slideUpButtons 1s ease-out 3s both;
}

.hero-social {
    animation: fadeInUp 1s ease-out 3.5s both;
}

.profile-card {
    animation: cinematicReveal 2s ease-out 1s both;
}

/* Floating Tech Icons */
.tech-icon {
    position: absolute;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.3);
    animation: floatIcon 8s ease-in-out infinite;
    z-index: 3;
    pointer-events: none;
}

.tech-icon:nth-child(1) {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.tech-icon:nth-child(2) {
    top: 25%;
    right: 15%;
    animation-delay: 2s;
}

.tech-icon:nth-child(3) {
    top: 70%;
    left: 5%;
    animation-delay: 4s;
}

.tech-icon:nth-child(4) {
    top: 80%;
    right: 10%;
    animation-delay: 6s;
}

.tech-icon:nth-child(5) {
    top: 40%;
    left: 85%;
    animation-delay: 1s;
}

.tech-icon:nth-child(6) {
    top: 60%;
    right: 5%;
    animation-delay: 3s;
}

/* Keyframe Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

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

/* Floating animation for profile card */
.profile-card:hover {
    animation: pulse 2s infinite;
}

/* Gradient animation for background */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #667eea, #764ba2, #667eea);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    opacity: 0.1;
    z-index: 0;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Background Animation Keyframes */
@keyframes backgroundFloat {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translateX(30px) translateY(-20px) rotate(90deg);
        opacity: 0.5;
    }
    50% {
        transform: translateX(-20px) translateY(15px) rotate(180deg);
        opacity: 0.4;
    }
    75% {
        transform: translateX(25px) translateY(-30px) rotate(270deg);
        opacity: 0.6;
    }
    100% {
        transform: translateX(0) translateY(0) rotate(360deg);
        opacity: 0.3;
    }
}

@keyframes patternMove {
    0% {
        background-position: 0 0, 0 0;
        transform: rotate(0deg);
    }
    100% {
        background-position: 80px 80px, -80px -80px;
        transform: rotate(360deg);
    }
}

@keyframes floatUp {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-30px) translateX(15px) scale(1.1);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-60px) translateX(-10px) scale(0.9);
        opacity: 0.7;
    }
    75% {
        transform: translateY(-30px) translateX(20px) scale(1.05);
        opacity: 0.4;
    }
}

@keyframes pulseDot {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    50% {
        transform: scale(1.5);
        opacity: 1;
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
}

/* New Cinematic Animations */
@keyframes nameReveal {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.8);
    }
    50% {
        opacity: 0.7;
        transform: translateY(25px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes typingEffect {
    0% {
        width: 0;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        width: 100%;
        opacity: 1;
        border-right: 2px solid transparent;
    }
}

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

@keyframes cinematicReveal {
    0% {
        opacity: 0;
        transform: scale(0.5) rotateY(90deg);
        filter: blur(10px);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.8) rotateY(45deg);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotateY(0deg);
        filter: blur(0px);
    }
}

@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-40px) rotate(0deg);
        opacity: 0.8;
    }
    75% {
        transform: translateY(-20px) rotate(-5deg);
        opacity: 0.5;
    }
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-30px) translateX(10px);
        opacity: 0.8;
    }
}

@keyframes gradientSweep {
    0% {
        background-position: -100% 0;
    }
    100% {
        background-position: 100% 0;
    }
}

/* About Section Animations */
@keyframes aboutBackgroundFloat {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translateX(20px) translateY(-15px) rotate(90deg);
        opacity: 0.5;
    }
    50% {
        transform: translateX(-15px) translateY(10px) rotate(180deg);
        opacity: 0.4;
    }
    75% {
        transform: translateX(25px) translateY(-20px) rotate(270deg);
        opacity: 0.6;
    }
    100% {
        transform: translateX(0) translateY(0) rotate(360deg);
        opacity: 0.3;
    }
}

@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 slideUpWithBounce {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    50% {
        opacity: 0.7;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes countUp {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes flipIn {
    0% {
        opacity: 0;
        transform: rotateY(-90deg) scale(0.8);
    }
    50% {
        opacity: 0.5;
        transform: rotateY(-45deg) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: rotateY(0deg) scale(1);
    }
}

@keyframes floatShape {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-20px) translateX(10px) rotate(90deg);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-40px) translateX(-5px) rotate(180deg);
        opacity: 0.7;
    }
    75% {
        transform: translateY(-20px) translateX(15px) rotate(270deg);
        opacity: 0.4;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.highlight {
    color: #fbbf24;
    position: relative;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: #e2e8f0;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #cbd5e1;
    line-height: 1.7;
}

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

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: #fbbf24;
    color: #1e293b;
}

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

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #2563eb;
    transform: translateY(-2px);
}

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

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: #fbbf24;
    color: #1e293b;
    transform: translateY(-3px);
}

.profile-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.profile-avatar {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 3rem;
    color: #fbbf24;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.profile-image:hover {
    cursor: pointer;
    filter: brightness(1.1);
}

.profile-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.profile-card p {
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.profile-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #cbd5e1;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

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

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #2563eb;
    border-radius: 2px;
}

/* About Section */
.about {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f0fdf4 100%);
    position: relative;
    overflow: hidden;
}

/* About Section Background Animation */
.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.05) 0%, transparent 50%);
    animation: aboutBackgroundFloat 15s ease-in-out infinite;
    z-index: 1;
}

/* About Content Animations */
.about-text {
    animation: slideInFromLeft 1s ease-out 0.3s both;
    position: relative;
    z-index: 2;
}

.about-image {
    animation: slideInFromRight 1s ease-out 0.6s both;
    position: relative;
    z-index: 2;
}

.about-text p {
    animation: fadeInUp 1s ease-out 0.9s both;
}

.about-text p:nth-child(2) {
    animation-delay: 1.2s;
}

.about-stats {
    animation: slideUpWithBounce 1s ease-out 1.5s both;
}

.stat {
    animation: countUp 1s ease-out 1.8s both;
}

.stat:nth-child(2) {
    animation-delay: 2.1s;
}

.stat:nth-child(3) {
    animation-delay: 2.4s;
}

.education-card {
    animation: flipIn 1.2s ease-out 1.8s both;
}

/* Floating Elements in About Section */
.about .floating-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.15), rgba(16, 185, 129, 0.15));
    animation: floatShape 12s ease-in-out infinite;
    z-index: 1;
}

.about .floating-shape:nth-child(1) {
    width: 60px;
    height: 60px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.about .floating-shape:nth-child(2) {
    width: 40px;
    height: 40px;
    top: 70%;
    right: 10%;
    animation-delay: 4s;
}

.about .floating-shape:nth-child(3) {
    width: 80px;
    height: 80px;
    top: 50%;
    left: 90%;
    animation-delay: 8s;
}

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

.about-text p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #64748b;
    font-size: 0.9rem;
}

.education-card {
    background: #f8fafc;
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid #e2e8f0;
}

.education-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.education-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #2563eb;
}

.education-item p {
    color: #64748b;
    margin-bottom: 0.5rem;
}

.education-date, .education-location {
    display: block;
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 0.3rem;
}

.education-cgpa {
    display: block;
    font-size: 0.9rem;
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 0.3rem;
    background: rgba(37, 99, 235, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    text-align: center;
    margin-top: 0.5rem;
}

/* Skills Section */
.skills {
    background: #f8fafc;
}

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

.skill-category {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.skill-category h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.skill-category h3 i {
    color: #2563eb;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-tag {
    background: #e0f2fe;
    color: #0369a1;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
}

/* Skill Breakdown Styling */
.skill-breakdown {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skill-item {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid rgba(37, 99, 235, 0.1);
    transition: all 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.3);
}

.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.skill-name {
    font-weight: 600;
    color: #1e293b;
    font-size: 1rem;
}

.skill-rating {
    display: flex;
    gap: 2px;
}

.star {
    font-size: 1.2rem;
    color: #fbbf24;
    animation: starTwinkle 2s ease-in-out infinite;
}

.star:nth-child(2) {
    animation-delay: 0.2s;
}

.star:nth-child(3) {
    animation-delay: 0.4s;
}

.star:nth-child(4) {
    animation-delay: 0.6s;
}

.skill-focus {
    font-size: 0.85rem;
    color: #64748b;
    font-style: italic;
    background: rgba(37, 99, 235, 0.05);
    padding: 0.3rem 0.8rem;
    border-radius: 8px;
    border-left: 3px solid #2563eb;
}

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

/* Projects Section */
.projects {
    background: white;
}

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

.project-card {
    background: #f8fafc;
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #2563eb;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.project-header h3 {
    font-size: 1.3rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.project-date {
    background: #2563eb;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

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

.tech-tag {
    background: #ddd6fe;
    color: #5b21b6;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-description {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

.project-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: #1d4ed8;
}

/* Achievements Section */
.achievements {
    background: #f8fafc;
}

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

.achievement-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.achievement-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.achievement-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.achievement-status {
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.achievement-description {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Contact Section */
.contact {
    background: white;
}

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

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

.contact-info p {
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #64748b;
}

.contact-item i {
    color: #2563eb;
    width: 20px;
}

.contact-social {
    display: flex;
    gap: 1rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #f8fafc;
    border-radius: 50%;
    color: #64748b;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-3px);
}

.contact-form {
    background: #f8fafc;
    border-radius: 15px;
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-content p {
    margin-bottom: 0.5rem;
    color: #94a3b8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        justify-content: center;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .skill-category,
    .project-card,
    .achievement-card {
        padding: 1.5rem;
    }
    
    .achievement-card {
        flex-direction: column;
        text-align: center;
    }
}
