:root {
    --bg-color: #f7f8fc;
    --primary-color: #a5b4fc;
    --secondary-color: #c7d2fe;
    --text-color: #374151;
    --card-bg: #ffffff;
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* HERO */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    animation: fadeIn 1.5s ease-in-out;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 600;
}

.hero-content p {
    margin-top: 10px;
    font-size: 1.2rem;
}

.hero-content span {
    display: block;
    margin-top: 5px;
    font-size: 0.95rem;
    opacity: 0.8;
}

/* SECTIONS */
main {
    max-width: 1100px;
    margin: auto;
    padding: 4rem 2rem;
}

section {
    margin-bottom: 4rem;
    animation: slideUp 1s ease forwards;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* ABOUT */
.about p {
    max-width: 700px;
}

/* SKILLS */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.skill-card {
    background: var(--card-bg);
    padding: 1.5rem;
    text-align: center;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

/* PROJECTS */
.projects-description {
    margin-bottom: 2rem;
    opacity: 0.8;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.project-placeholder {
    background: rgba(255, 255, 255, 0.6);
    border: 2px dashed var(--primary-color);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    font-weight: 300;
    transition: background 0.3s ease;
}

.project-placeholder:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* FOOTER */
footer {
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ANIMATIONS */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
