:root {
    --primary-color: #4f46e5;
    --secondary-color: #7c3aed;
    --text-color: #333333;
    --text-light: #6b7280;
    --bg-color: #ffffff;
    --surface-color: #f8fafc;
    --surface-hover: #ffffff;
    --border-color: #e5e7eb;
    --nav-bg: rgba(255, 255, 255, 0.95);
    --card-bg: #ffffff;
    --hero-overlay: rgba(0, 0, 0, 0.1);
    --contact-bg: #1f2937;
    --contact-text: #ffffff;
}

[data-theme="dark"] {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --text-color: #f9fafb;
    --text-light: #9ca3af;
    --bg-color: #111827;
    --surface-color: #1f2937;
    --surface-hover: #374151;
    --border-color: #374151;
    --nav-bg: rgba(17, 24, 39, 0.95);
    --card-bg: #1f2937;
    --hero-overlay: rgba(0, 0, 0, 0.3);
    --contact-bg: #111827;
    --contact-text: #f9fafb;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: visible;
    position: relative;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #ffd700, #ff6b35, #ffd700);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: ironManGlow 3s ease-in-out infinite;
    position: relative;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    padding: 20px 70px;
    margin: -15px -20px;
    z-index: 10;
}

.logo::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -40px;
    right: -40px;
    bottom: -8px;
    background: linear-gradient(45deg, #ffd700, #ff69b4, #ffd700, #ff1493);
    border-radius: 60% 40% 70% 30% / 40% 60% 30% 70%;
    z-index: -1;
    opacity: 0.25;
    filter: blur(12px);
    animation: ironManGlow 3s ease-in-out infinite, cloudFloat 8s ease-in-out infinite;
}

.logo::after {
    content: '';
    position: absolute;
    top: -12px;
    left: -55px;
    right: -35px;
    bottom: -12px;
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.3), rgba(255, 105, 180, 0.4), rgba(255, 20, 147, 0.3));
    border-radius: 50% 60% 40% 80% / 70% 30% 60% 40%;
    z-index: -2;
    opacity: 0.2;
    filter: blur(16px);
    animation: cloudFloat 6s ease-in-out infinite reverse;
}

.floating-mini-avatar {
    position: absolute;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 1px solid rgba(255, 215, 0, 0.8);
    overflow: hidden;
    animation: orbitAroundName 12s linear infinite;
    box-shadow:
        0 0 8px rgba(255, 215, 0, 0.6),
        0 0 12px rgba(255, 105, 180, 0.4);
    z-index: 9999;
}

.floating-mini-avatar img,
.floating-mini-avatar video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes orbitAroundName {
    0% {
        transform: rotate(0deg) translateX(80px) rotate(0deg);
    }

    100% {
        transform: rotate(360deg) translateX(80px) rotate(-360deg);
    }
}

@keyframes cloudFloat {

    0%,
    100% {
        border-radius: 60% 40% 70% 30% / 40% 60% 30% 70%;
        transform: scale(1) rotate(0deg);
    }

    25% {
        border-radius: 70% 30% 50% 50% / 60% 40% 70% 30%;
        transform: scale(1.05) rotate(1deg);
    }

    50% {
        border-radius: 40% 80% 60% 40% / 50% 70% 30% 50%;
        transform: scale(1.08) rotate(-0.5deg);
    }

    75% {
        border-radius: 80% 20% 70% 50% / 30% 80% 50% 40%;
        transform: scale(1.03) rotate(0.8deg);
    }
}

@keyframes ironManGlow {

    0%,
    100% {
        background-position: 0% 50%;
        filter: hue-rotate(0deg);
    }

    50% {
        background-position: 100% 50%;
        filter: hue-rotate(45deg);
    }
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

/* Theme Toggle Button */
.theme-toggle {
    background: var(--surface-color);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    width: 50px;
    height: 26px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 2px;
}

.theme-toggle:hover {
    border-color: var(--primary-color);
}

.toggle-ball {
    width: 18px;
    height: 18px;
    background: var(--primary-color);
    border-radius: 50%;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: white;
}

[data-theme="dark"] .toggle-ball {
    transform: translateX(24px);
}

.toggle-ball i {
    font-size: 10px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 25%, #0f3460 50%, #533483 75%, #7209b7 100%);
    color: white;
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 0 2rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(138, 43, 226, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(255, 107, 53, 0.08) 0%, transparent 50%);
    animation: techFloat 15s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(30deg,
            transparent,
            transparent 2px,
            rgba(255, 215, 0, 0.03) 2px,
            rgba(255, 215, 0, 0.03) 4px),
        repeating-linear-gradient(-30deg,
            transparent,
            transparent 2px,
            rgba(138, 43, 226, 0.03) 2px,
            rgba(138, 43, 226, 0.03) 4px);
    animation: panther-pattern 20s linear infinite;
}

@keyframes techFloat {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.8;
    }

    33% {
        transform: translateY(-20px) rotate(2deg);
        opacity: 1;
    }

    66% {
        transform: translateY(-10px) rotate(-1deg);
        opacity: 0.9;
    }
}

@keyframes panther-pattern {
    0% {
        transform: translateX(0px) translateY(0px);
    }

    100% {
        transform: translateX(50px) translateY(25px);
    }
}

.hero-content {
    max-width: 600px;
    z-index: 2;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.memoji-video {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 3px solid rgba(255, 215, 0, 0.6);
    box-shadow:
        0 0 25px rgba(255, 215, 0, 0.5),
        0 0 40px rgba(255, 105, 180, 0.3);
    animation: memojiFloat 4s ease-in-out infinite;
    position: relative;
    z-index: 5;
}

.memoji-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes memojiFloat {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
        box-shadow:
            0 0 25px rgba(255, 215, 0, 0.5),
            0 0 40px rgba(255, 105, 180, 0.3);
    }

    50% {
        transform: translateY(-8px) rotate(2deg);
        box-shadow:
            0 0 35px rgba(255, 215, 0, 0.7),
            0 0 55px rgba(255, 105, 180, 0.5);
    }
}

.hero-avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 2rem;
    border: 4px solid rgba(255, 215, 0, 0.6);
    overflow: hidden;
    animation: slideInUp 1s ease-out, avatarFloat 6s ease-in-out infinite 1s;
    box-shadow:
        0 0 30px rgba(255, 215, 0, 0.4),
        0 0 60px rgba(138, 43, 226, 0.3),
        0 10px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 1001;
}

.hero-avatar::before {
    content: '';
    position: absolute;
    top: -25px;
    left: -30px;
    right: -20px;
    bottom: -25px;
    background: linear-gradient(45deg, #ffd700, #ff69b4, #ffd700, #ff1493);
    border-radius: 70% 30% 60% 40% / 50% 70% 30% 60%;
    z-index: -1;
    opacity: 0.3;
    filter: blur(15px);
    animation: avatarCloudFloat 10s ease-in-out infinite;
}

.hero-avatar::after {
    content: '';
    position: absolute;
    top: -35px;
    left: -40px;
    right: -25px;
    bottom: -35px;
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.25), rgba(255, 105, 180, 0.35), rgba(255, 20, 147, 0.3));
    border-radius: 60% 80% 40% 60% / 80% 40% 70% 30%;
    z-index: -2;
    opacity: 0.25;
    filter: blur(20px);
    animation: avatarCloudFloat 8s ease-in-out infinite reverse;
}

@keyframes avatarCloudFloat {

    0%,
    100% {
        border-radius: 70% 30% 60% 40% / 50% 70% 30% 60%;
        transform: scale(1) rotate(0deg);
    }

    25% {
        border-radius: 60% 40% 80% 20% / 70% 30% 60% 40%;
        transform: scale(1.08) rotate(2deg);
    }

    50% {
        border-radius: 80% 20% 50% 50% / 40% 80% 20% 70%;
        transform: scale(1.12) rotate(-1deg);
    }

    75% {
        border-radius: 50% 70% 30% 80% / 60% 40% 80% 30%;
        transform: scale(1.05) rotate(1.5deg);
    }
}

@keyframes avatarFloat {

    0%,
    100% {
        transform: translateY(0px) rotate(-2deg);
        box-shadow:
            0 0 30px rgba(255, 215, 0, 0.4),
            0 0 60px rgba(138, 43, 226, 0.3),
            0 10px 40px rgba(0, 0, 0, 0.4);
    }

    25% {
        transform: translateY(-15px) rotate(1deg);
        box-shadow:
            0 0 40px rgba(255, 215, 0, 0.6),
            0 0 80px rgba(138, 43, 226, 0.4),
            0 25px 60px rgba(0, 0, 0, 0.5);
    }

    50% {
        transform: translateY(-10px) rotate(-1deg);
        box-shadow:
            0 0 35px rgba(255, 215, 0, 0.5),
            0 0 70px rgba(138, 43, 226, 0.35),
            0 20px 50px rgba(0, 0, 0, 0.45);
    }

    75% {
        transform: translateY(-20px) rotate(2deg);
        box-shadow:
            0 0 45px rgba(255, 215, 0, 0.7),
            0 0 90px rgba(138, 43, 226, 0.5),
            0 30px 70px rgba(0, 0, 0, 0.6);
    }
}

.hero-avatar:hover {
    animation: slideInUp 1s ease-out, avatarTechHover 0.8s ease-in-out;
}

@keyframes avatarTechHover {
    0% {
        transform: translateY(0px) rotate(0deg) scale(1);
        box-shadow:
            0 0 30px rgba(255, 215, 0, 0.4),
            0 0 60px rgba(138, 43, 226, 0.3),
            0 10px 40px rgba(0, 0, 0, 0.4);
    }

    50% {
        transform: translateY(-12px) rotate(-8deg) scale(1.08);
        box-shadow:
            0 0 60px rgba(255, 215, 0, 0.8),
            0 0 120px rgba(138, 43, 226, 0.6),
            0 40px 80px rgba(0, 0, 0, 0.7);
    }

    100% {
        transform: translateY(-8px) rotate(3deg) scale(1.04);
        box-shadow:
            0 0 50px rgba(255, 215, 0, 0.6),
            0 0 100px rgba(138, 43, 226, 0.4),
            0 35px 70px rgba(0, 0, 0, 0.5);
    }
}

.hero-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-greeting {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    font-weight: 600;
    animation: slideInUp 1s ease-out 0.2s both;
}

.hero-greeting .name {
    background: linear-gradient(45deg, #ffd700, #ff6b35, #ffd700, #8a2be2);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    animation: superheroNameGlow 4s ease-in-out infinite;
    position: relative;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
}

.hero-greeting .name::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(45deg, #ffd700, #8a2be2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(2px);
    z-index: -1;
    animation: superheroNamePulse 4s ease-in-out infinite;
}

@keyframes superheroNameGlow {

    0%,
    100% {
        background-position: 0% 50%;
        filter: hue-rotate(0deg) brightness(1);
    }

    25% {
        background-position: 50% 100%;
        filter: hue-rotate(45deg) brightness(1.2);
    }

    50% {
        background-position: 100% 50%;
        filter: hue-rotate(90deg) brightness(1.4);
    }

    75% {
        background-position: 50% 0%;
        filter: hue-rotate(135deg) brightness(1.2);
    }
}

@keyframes superheroNamePulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

.hero .subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: 500;
    animation: slideInUp 1s ease-out 0.4s both;
}

.hero .description {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.85;
    line-height: 1.6;
    animation: slideInUp 1s ease-out 0.6s both;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: slideInUp 1s ease-out 0.8s both;
}

.btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    min-width: 160px;
}

.btn-primary {
    background: rgb(255, 76, 222);
    color: #000000;
}

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

.btn-secondary {
    background: linear-gradient(45deg, #fbbf24, #0bf5de);
    color: white;
    border: none;
}

.btn-secondary:hover {
    background: linear-gradient(45deg, hsl(182, 92%, 50%), #d97706);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.4);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--surface-color);
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

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

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.05);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    z-index: -1;
    opacity: 0.1;
}

.about-text h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

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

.skill {
    text-align: center;
    padding: 1rem;
    background: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 1px solid var(--border-color);
}

.skill:hover {
    transform: translateY(-5px);
    background: var(--surface-hover);
}

.skill i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.skill h4 {
    color: var(--text-color);
}

/* Roadmap Timeline Qualifications Section */
.qualifications {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--surface-color) 0%, var(--bg-color) 100%);
    position: relative;
    overflow: hidden;
}

.qualifications-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

/* The winding path */
.timeline-path {
    position: absolute;
    top: 0;
    left: 50%;
    width: 6px;
    height: 100%;
    background: #ddd;
    transform: translateX(-50%);
    border-radius: 3px;
}

.timeline-path::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 20px solid var(--primary-color);
    transform: translateX(-50%) translateY(-20px);
}

.timeline-item {
    display: flex;
    margin-bottom: 80px;
    position: relative;
    animation: slideInTimeline 0.8s ease-out forwards;
    opacity: 0;
}

.timeline-item:nth-child(1) {
    animation-delay: 0.2s;
}

.timeline-item:nth-child(2) {
    animation-delay: 0.4s;
}

.timeline-item:nth-child(3) {
    animation-delay: 0.6s;
}

.timeline-item:nth-child(4) {
    animation-delay: 0.8s;
}

@keyframes slideInTimeline {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Alternate left/right positioning */
.timeline-item:nth-child(odd) {
    flex-direction: row;
    text-align: right;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
    text-align: left;
}

.timeline-content {
    flex: 1;
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.4s ease;
    position: relative;
    margin: 0 3rem;
    max-width: 350px;
}

.timeline-content:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

/* Timeline dots/circles */
.timeline-dot {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    position: absolute;
    left: 50%;
    top: 30px;
    transform: translateX(-50%);
    z-index: 10;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    animation: dotPulse 3s ease-in-out infinite;
}

.timeline-dot.education {
    background: linear-gradient(135deg, #10b981, #059669);
}

.timeline-dot.work {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.timeline-dot.internship {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.timeline-dot.contract {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

@keyframes dotPulse {

    0%,
    100% {
        transform: translateX(-50%) scale(1);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    }

    50% {
        transform: translateX(-50%) scale(1.1);
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    }
}

/* Content styling */
.timeline-content h3 {
    color: var(--text-color);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.timeline-content h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.timeline-date {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
    animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {

    0%,
    100% {
        box-shadow: 0 0 5px rgba(79, 70, 229, 0.3);
    }

    50% {
        box-shadow: 0 0 15px rgba(79, 70, 229, 0.6);
    }
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Connecting lines from dots to content */
.timeline-item:nth-child(odd) .timeline-content::after {
    content: '';
    position: absolute;
    top: 45px;
    right: -15px;
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 15px solid var(--card-bg);
}

.timeline-item:nth-child(even) .timeline-content::after {
    content: '';
    position: absolute;
    top: 45px;
    left: -15px;
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 15px solid var(--card-bg);
}

.internship-availability {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 3rem auto 0;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
    animation: availabilityGlow 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.internship-availability::before {
    content: '💼';
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 2rem;
    opacity: 0.3;
    animation: rotate 5s linear infinite;
}

@keyframes availabilityGlow {

    0%,
    100% {
        box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 15px 40px rgba(16, 185, 129, 0.5);
        transform: scale(1.02);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Projects Section */
.projects {
    padding: 100px 0;
    background: var(--bg-color);
}

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

.project-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-image {
    height: 200px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.project-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

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

.tech-tag {
    background: var(--surface-color);
    color: var(--text-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid var(--border-color);
}

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

.project-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.project-links a:hover {
    color: var(--secondary-color);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--contact-bg);
    color: var(--contact-text);
}

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

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 2rem;
    opacity: 0.9;
    color: var(--text-light);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--contact-text);
}

.contact-method i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 20px;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--contact-text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    background: var(--surface-color);
    border-radius: 8px;
    color: var(--text-color);
    font-family: inherit;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--surface-color);
    color: var(--text-color);
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.social-links a {
    color: var(--text-color);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-right {
        gap: 1rem;
    }

    .nav-container {
        padding: 0 2rem;
    }

    .logo {
        font-size: 1.3rem;
        padding: 15px 40px;
        margin: -10px -10px;
    }

    .floating-mini-avatar {
        width: 14px;
        height: 14px;
        border: 1px solid rgba(255, 215, 0, 0.8);
        animation: orbitAroundName 10s linear infinite;
        box-shadow:
            0 0 6px rgba(255, 215, 0, 0.6),
            0 0 10px rgba(255, 105, 180, 0.4);
    }

    @keyframes orbitAroundName {
        0% {
            transform: rotate(0deg) translateX(60px) rotate(0deg);
        }

        100% {
            transform: rotate(360deg) translateX(60px) rotate(-360deg);
        }
    }

    .memoji-video {
        width: 80px;
        height: 80px;
        margin-bottom: 0.5rem;
    }

    .hero-avatar {
        width: 150px;
        height: 150px;
        margin-bottom: 1.5rem;
        animation: slideInUp 1s ease-out, avatarFloat 6s ease-in-out infinite 1s;
        border: 3px solid rgba(255, 215, 0, 0.6);
        box-shadow:
            0 0 20px rgba(255, 215, 0, 0.4),
            0 0 40px rgba(138, 43, 226, 0.3),
            0 8px 30px rgba(0, 0, 0, 0.4);
        z-index: 1001;
    }

    .hero-avatar::before {
        top: -20px;
        left: -25px;
        right: -15px;
        bottom: -20px;
        filter: blur(12px);
    }

    .hero-avatar::after {
        top: -25px;
        left: -30px;
        right: -20px;
        bottom: -25px;
        filter: blur(15px);
    }

    @keyframes avatarFloat {

        0%,
        100% {
            transform: translateY(0px) rotate(-1deg);
            box-shadow:
                0 0 20px rgba(255, 215, 0, 0.4),
                0 0 40px rgba(138, 43, 226, 0.3),
                0 8px 30px rgba(0, 0, 0, 0.4);
        }

        25% {
            transform: translateY(-10px) rotate(0.5deg);
            box-shadow:
                0 0 25px rgba(255, 215, 0, 0.6),
                0 0 50px rgba(138, 43, 226, 0.4),
                0 18px 45px rgba(0, 0, 0, 0.5);
        }

        50% {
            transform: translateY(-7px) rotate(-0.5deg);
            box-shadow:
                0 0 22px rgba(255, 215, 0, 0.5),
                0 0 45px rgba(138, 43, 226, 0.35),
                0 15px 35px rgba(0, 0, 0, 0.45);
        }

        75% {
            transform: translateY(-12px) rotate(1deg);
            box-shadow:
                0 0 28px rgba(255, 215, 0, 0.7),
                0 0 55px rgba(138, 43, 226, 0.5),
                0 22px 50px rgba(0, 0, 0, 0.6);
        }
    }

    .hero-greeting {
        font-size: 1.5rem;
        line-height: 1.4;
    }

    .hero .description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .btn {
        width: 200px;
        text-align: center;
    }

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

    .about-content {
        text-align: center;
    }

    .about-image img {
        max-width: 250px;
        margin: 0 auto;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .skills {
        justify-content: center;
    }

    .theme-toggle {
        width: 45px;
        height: 24px;
    }

    .toggle-ball {
        width: 16px;
        height: 16px;
    }

    [data-theme="dark"] .toggle-ball {
        transform: translateX(21px);
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: column;
        text-align: center;
    }

    .timeline-content {
        margin: 4rem 1rem 0;
        max-width: none;
    }

    .timeline-dot {
        position: relative;
        left: 50%;
        top: 0;
        margin-bottom: 1rem;
    }

    .timeline-path {
        display: none;
    }
}

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}