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

:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --secondary: #10b981;
    --dark: #1f2937;
    --gray: #6b7280;
    --light-gray: #f3f4f6;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 2rem 1rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 3rem 2rem;
    text-align: center;
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid var(--white);
    margin-bottom: 1.5rem;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.tagline {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 1rem;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-item svg {
    width: 20px;
    height: 20px;
}

main {
    padding: 2rem;
}

section {
    margin-bottom: 3rem;
}

h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--secondary);
    display: inline-block;
}

h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.skill-tag {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: var(--shadow);
}

.skill-tag:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.skill-category {
    margin-bottom: 2rem;
}

.skill-category h3 {
    color: var(--primary-dark);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.projects-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.project-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid var(--primary);
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: var(--shadow);
}

.project-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.project-card h3 {
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.project-card p {
    color: var(--gray);
    line-height: 1.8;
}

.experience-item {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--secondary);
}

.experience-title {
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 1.1rem;
}

.experience-period {
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.stable-infra-section {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--primary);
}

.stable-infra-section h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary);
    display: inline-block;
}

.stable-infra-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.link-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s, transform 0.2s;
    box-shadow: var(--shadow);
}

.link-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.link-button svg {
    width: 20px;
    height: 20px;
}

.feedback-form {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

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

label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

input, textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s;
}

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

textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-button {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: var(--shadow);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.submit-button:active {
    transform: translateY(0);
}

footer {
    background: var(--dark);
    color: var(--white);
    text-align: center;
    padding: 2rem;
}

.education-item {
    background: var(--light-gray);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.education-degree {
    font-weight: 600;
    color: var(--primary-dark);
}

.education-score {
    color: var(--secondary);
    font-weight: 600;
}

@media (max-width: 768px) {
    body {
        padding: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .contact-info {
        flex-direction: column;
        gap: 0.5rem;
    }

    main {
        padding: 1.5rem;
    }

    .project-card, .stable-infra-section {
        padding: 1.5rem;
    }
}

.overview-text {
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 1rem;
}

.overview-list {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.overview-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.overview-list li::before {
    content: "▸";
    color: var(--secondary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.internship-item {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary);
}

.internship-title {
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 1.1rem;
}

.internship-period {
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.internship-description {
    color: var(--gray);
    margin-top: 0.5rem;
    line-height: 1.6;
}
