:root {
    --primary-color: #1a237e;
    --secondary-color: #4a148c;
    --accent-color: #7c4dff;
    --text-color: #f5f5f5;
    --highlight-color: #b3e5fc;
    --background-gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --dark-text: #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--background-gradient);
    min-height: 100vh;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

header {
    background: rgba(0, 0, 0, 0.2);
    padding: 2rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-right: 2rem;
    object-fit: cover;
    border: 3px solid var(--accent-color);
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--highlight-color);
}

nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    margin: 0.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
}

nav a:hover {
    background: var(--accent-color);
    color: var(--primary-color);
}

section a {
    color: var(--text-color);
}

section {
    background: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

h2 {
    color: var(--highlight-color);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
}

.project {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    margin: 1rem 0;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.project:hover {
    transform: translateY(-5px);
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill {
    background: var(--accent-color);
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.skill:hover {
    background: var(--highlight-color);
    color: var(--dark-text);
    transform: scale(1.05);
}

footer {
    text-align: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    margin-top: 2rem;
}

button {
    background-color: var(--accent-color);
    color: var(--text-color);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: var(--highlight-color);
    color: var(--dark-text);
}

#recaptcha {
    margin-top: 1rem;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-img {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    nav {
        flex-direction: column;
        align-items: center;
    }
    
    nav a {
        width: 80%;
        text-align: center;
    }
}