
@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');


:root {
    --brand-color: #4ade80; 
    --bg-color: #1a1a1a; 
    --text-color: #f3f4f6;
    --text-muted: #9ca3af;
    --card-bg: #262626;
    --accent-color: #22d3ee;
    --max-width: 1200px;
    --section-padding: 5rem 2rem;
    --border-radius: 12px;
    --box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}


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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Jost', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}


.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--brand-color);
    border-radius: 2px;
}


.cta-button {
    display: inline-block;
    background: var(--brand-color);
    color: var(--bg-color);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(74, 222, 128, 0.3);
    background: transparent;
    color: var(--brand-color);
    border-color: var(--brand-color);
}

.submit-btn {
    background: var(--brand-color);
    color: var(--bg-color);
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-size: 1rem;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(74, 222, 128, 0.3);
}


header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    background-color: rgba(26, 26, 26, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

header.scrolled {
    padding: 1rem 0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-color);
}

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

.nav-links a {
    position: relative;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

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

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


.menu-toggle {
    display: none;
    cursor: pointer;
    z-index: 1001;
}


.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(74, 222, 128, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, var(--brand-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero h2 {
    font-size: 2rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 2rem;
}

#about {
    padding: var(--section-padding);
    position: relative;
}

#about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 50%, rgba(34, 211, 238, 0.05) 0%, transparent 50%);
    z-index: -1;
}

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

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-image {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    font-size: 8rem;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(74, 222, 128, 0.1);
    transition: transform 0.3s ease;
}

.about-image:hover {
    transform: translateY(-10px);
}


#languages {
    padding: var(--section-padding);
    background: linear-gradient(to bottom, rgba(26, 26, 26, 0.9), rgba(26, 26, 26, 1));
    position: relative;
    overflow: hidden;
}

#languages::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234ade80' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: -1;
}

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

.language-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
    border: 1px solid rgba(74, 222, 128, 0.1);
    position: relative;
    overflow: hidden;
}

.language-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--brand-color);
}

.language-card:hover {
    transform: translateY(-10px);
}

.language-card h3 {
    color: var(--brand-color);
    margin-bottom: 1rem;
}


#education {
    padding: var(--section-padding);
    position: relative;
}

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

.education-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--brand-color);
}

.education-item {
    background: var(--card-bg);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
    width: calc(50% - 2rem);
}

.education-item:nth-child(odd) {
    margin-right: auto;
    margin-left: 2rem;
}

.education-item:nth-child(even) {
    margin-left: auto;
    margin-right: 2rem;
}

.education-item::before {
    content: '';
    position: absolute;
    top: 30px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--brand-color);
    box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.2);
}

.education-item:nth-child(odd)::before {
    right: -32px;
}

.education-item:nth-child(even)::before {
    left: -32px;
}

.education-item h3 {
    color: var(--brand-color);
}

.period {
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.cv-download {
    text-align: center;
    margin-top: 3rem;
}


#interests {
    padding: var(--section-padding);
    background: linear-gradient(to bottom, rgba(26, 26, 26, 0.9), rgba(26, 26, 26, 1));
}

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

.interest-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
    border: 1px solid rgba(34, 211, 238, 0.1);
}

.interest-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
}

.interest-card h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}


#projects {
    padding: var(--section-padding);
    position: relative;
}

#projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(74, 222, 128, 0.1) 0%, transparent 50%);
    z-index: -1;
}

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

.project-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(74, 222, 128, 0.1);
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--brand-color);
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.1), rgba(34, 211, 238, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.project-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-content h3 {
    margin-bottom: 0.5rem;
}

.project-content p {
    margin-bottom: 1rem;
    flex-grow: 1;
}

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

.project-links a {
    color: var(--brand-color);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

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


#contact {
    padding: var(--section-padding);
    background: linear-gradient(to bottom, rgba(26, 26, 26, 0.9), rgba(26, 26, 26, 1));
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(74, 222, 128, 0.1);
}

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

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

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

.social-contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(74, 222, 128, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(74, 222, 128, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-color);
}

.social-contact-link:hover {
    background: rgba(74, 222, 128, 0.1);
    border-color: var(--brand-color);
    transform: translateX(10px);
}

.social-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-color);
    border-radius: 50%;
    color: var(--bg-color);
}

.social-text {
    font-weight: 500;
}

.contact-form {
    max-width: 100%;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--card-bg);
    color: var(--text-color);
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-color);
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.2);
}


footer {
    background: var(--card-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(74, 222, 128, 0.05) 0%, transparent 50%);
    z-index: -1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    padding: 4rem 0 2rem 0;
}

.footer-section h4 {
    color: var(--brand-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--brand-color);
    border-radius: 1px;
}

.footer-logo h3 {
    color: var(--brand-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-description {
    color: var(--text-muted);
    line-height: 1.6;
    margin-top: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-links a:hover {
    color: var(--brand-color);
    padding-left: 10px;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--brand-color);
}

.footer-links a:hover::before {
    opacity: 1;
    left: -5px;
}

.contact-info-footer p {
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    margin-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

.social-icon-footer {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon-footer:hover {
    background: var(--brand-color);
    border-color: var(--brand-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(74, 222, 128, 0.3);
}


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

.floating {
    animation: float 3s ease-in-out infinite;
}


@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--card-bg);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    }

    .nav-links.active {
        right: 0;
    }

    .menu-toggle {
        display: block;
        font-size: 1.5rem;
    }

    .education-timeline::before {
        left: 2rem;
    }

    .education-item {
        width: calc(100% - 4rem);
        margin-left: 4rem !important;
        margin-right: 0 !important;
    }

    .education-item::before {
        left: -32px !important;
        right: auto !important;
    }

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

    .contact-info {
        order: 2;
    }

    .contact-form {
        order: 1;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .project-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}


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

.mb-0 {
    margin-bottom: 0 !important;
}