:root {
    --bg-primary: #f0f2f5;
    --bg-secondary: #ffffff;
    --text-primary: #1f2937;
    --text-secondary: #4b5563;
    --border-color: #d1d5db;
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --accent-green: #10b981;
    --accent-yellow: #f59e0b;
    --accent-pink: #ec4899;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

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

@media (min-width: 768px) {
    .portfolio-container {
        margin: 2rem auto;
    }
}

.header-container {
    position: relative;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .header-container {
        padding: 2rem;
    }
}

.decoration-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.decoration-star {
    position: absolute;
    width: 40px;
    height: 40px;
    animation: spin 20s linear infinite;
    color: var(--accent-blue);
}

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

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

.animate-blink {
    animation: blink 1s step-end infinite;
}

.section-title {
    display: inline-block;
    padding: 0.5rem 2rem;
    border-radius: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    position: relative;
    white-space: nowrap;
    color: var(--text-primary);
    border: 1px solid transparent;
}

.section-title.education {
    background-color: rgba(199, 210, 254, 0.5);
    border-color: #a5b4fc;
}

.section-title.skills {
    background-color: rgba(167, 243, 208, 0.5);
    border-color: #6ee7b7;
}

.section-title.experience {
    background-color: rgba(153, 246, 228, 0.5);
    border-color: #5eead4;
}

.section-title.portfolio {
    background-color: rgba(253, 224, 71, 0.5);
    border-color: #facc15;
}

.section-title.contact {
    background-color: rgba(147, 197, 253, 0.5);
    border-color: #93c5fd;
}

.profile-image-container {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 999px;
    overflow: hidden;
    background-color: var(--bg-secondary);
    padding: 6px;
    border: 3px solid var(--accent-purple);
    margin: 0 auto;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .profile-image-container {
        width: 300px;
        height: 300px;
        padding: 8px;
        border: 4px solid var(--accent-purple);
        margin: 0;
    }
}

.profile-image-container img {
    border-radius: 999px;
}

.software-icon {
    width: 48px;
    height: 48px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.software-icon:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-blue);
}

.timeline-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--accent-purple);
    margin-right: 1rem;
}

.timeline-line {
    width: 2px;
    background-color: var(--border-color);
    height: 100%;
    position: absolute;
    left: 5px;
    top: 12px;
}

.portfolio-card {
    cursor: pointer;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.portfolio-card img {
    transition: transform 0.3s ease-in-out;
}

.typewriter-container {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 2rem;
    background-color: var(--bg-secondary);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    text-align: center;
    width: 100%;
    max-width: 400px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .typewriter-container {
        padding: 1.5rem 3rem;
        font-size: 2rem;
        width: auto;
        max-width: none;
        text-align: left;
    }
}
