:root {
    --bg-color: #1f1f25;
    --bg-secondary: #2b2d35;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-color: #ff4a57;
    --font-main: 'Poppins', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 10%;
    position: fixed;
    width: 100%;
    top: 0;
    background-color: rgba(31, 31, 37, 0.95);
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

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

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    height: 100vh;
    padding-top: 80px; /* Header height */
}

.hero-content {
    max-width: 600px;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border: 1px solid var(--text-secondary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-secondary);
}

.social-icons a:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

.hero h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero h1 span {
    color: var(--accent-color);
}

.hero h4 {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--accent-color);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(255, 74, 87, 0.3);
    transition: transform 0.3s;
}

.btn:hover {
    transform: translateY(-3px);
}

.hero-image img {
    width: 450px;
    height: 450px;
    object-fit: cover;
    border-radius: 50%;
    border: 10px solid var(--bg-secondary);
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

/* Section General */
section {
    padding: 5rem 10%;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title span {
    color: var(--accent-color);
}

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

.experience-card {
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: 15px;
    transition: transform 0.3s;
}

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

.experience-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.company {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.duration {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
}

.experience-card p {
    color: var(--text-secondary);
}

/* Education Section */
.education-item {
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border-left: 5px solid var(--accent-color);
}

/* Contact Section */
.contact {
    text-align: center;
    background-color: var(--bg-secondary);
}

.contact p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column-reverse;
        justify-content: center;
        text-align: center;
        height: auto;
        padding-top: 120px;
        padding-bottom: 5rem;
    }

    .hero-content {
        margin-top: 3rem;
    }

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

    .hero-image img {
        width: 300px;
        height: 300px;
    }
    
    header {
        padding: 1.5rem 5%;
    }
}
