:root {
    --bg-color: #1a1a1a;
    --text-color: #33ff33;
    --terminal-header: #2b2b2b;
    --button-color: #444444;
    --terminal-border: #333333;
    --link-color: #00ff00;
    --cursor-color: #33ff33;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Courier New', monospace;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.terminal {
    background-color: var(--bg-color);
    width: 100%;
    max-width: 800px;
    border-radius: 6px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.terminal-header {
    background-color: var(--terminal-header);
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.terminal-button {
    width: 16px;
    height: 16px;
    border-radius: 2px;
    display: inline-block;
    background-color: var(--button-color);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 5px;
    margin: 20px auto;
    display: block;
    border: 2px solid var(--text-color);
}

.skills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin: 20px 0;
}

.skill-category {
    margin-bottom: 15px;
}

.skill-category h3 {
    color: var(--text-color);
    margin-bottom: 10px;
    opacity: 0.9;
}

.skill-list {
    list-style: none;
}

.skill-list li::before {
    content: ">";
    margin-right: 8px;
    color: var(--text-color);
    opacity: 0.7;
}

.terminal-title {
    margin-left: 10px;
    font-size: 14px;
    opacity: 0.8;
}

.terminal-content {
    padding: 20px;
    line-height: 1.6;
}

.language-switch {
    text-align: right;
    margin-bottom: 20px;
}

.language-switch button {
    background: transparent;
    border: 1px solid var(--text-color);
    color: var(--text-color);
    padding: 5px 10px;
    cursor: pointer;
    font-family: inherit;
    border-radius: 3px;
}

.language-switch button.active {
    background: var(--text-color);
    color: var(--bg-color);
}

h1, h2 {
    margin-bottom: 20px;
}

h2 {
    color: var(--text-color);
    font-size: 1.2em;
    opacity: 0.8;
}

section {
    margin-bottom: 30px;
    position: relative;
}

section::before {
    content: "$";
    color: var(--text-color);
    position: absolute;
    left: -20px;
    opacity: 0.6;
}

.fa {
    font-family: Vazirmatn, 'Courier New', monospace;
}

.command-line {
    direction: ltr;
    text-align: left;
    font-family: 'Courier New', monospace;
}

.command-line a {
    color: #50fa7b;
    text-decoration: none;
}

.command-line a:hover {
    text-decoration: underline;
}

.command-line .prompt {
    color: #50fa7b;
    margin-right: 8px;
}

.email-image {
    max-width: 300px;
    height: auto;
    margin: 10px 0;
    border-radius: 4px;
}

/* Responsive Design */
@media (max-width: 600px) {
    .terminal {
        margin: 10px;
    }
    
    .terminal-content {
        padding: 15px;
    }
    
    h1 {
        font-size: 1.5em;
    }
    
    h2 {
        font-size: 1.1em;
    }
}