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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #2d2d2d;
    background: linear-gradient(135deg, #fdfbf7 0%, #f5f1ed 25%, #faf6f2 50%, #f0e8e0 75%, #f8f3ee 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 40px;
}

header {
    margin-bottom: 60px;
    padding-bottom: 30px;
    border-bottom: 2px solid #a0816a;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 40px;
    justify-content: space-between;
}

.header-text {
    flex: 1;
}

.header-image {
    flex-shrink: 0;
}

.header-image img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #a0816a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.2rem;
    color: #666;
    font-weight: 400;
}

.section {
    margin-bottom: 50px;
}

h2 {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: #a0816a;
}

.experience-item, .education-item {
    margin-bottom: 30px;
    padding-left: 20px;
    border-left: 3px solid #e0e0e0;
}

.experience-item:hover, .education-item:hover {
    border-left-color: #a0816a;
    transition: border-left-color 0.3s ease;
}

h3 {
    font-size: 1.2rem;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.company, .institution {
    color: #a0816a;
    font-weight: 600;
    margin-bottom: 5px;
}

.date {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.description {
    color: #555;
    line-height: 1.7;
}

.project-title {
    font-size: 1.05rem;
    color: #666;
    font-weight: 600;
    margin-top: 15px;
    margin-bottom: 10px;
}

.achievements {
    list-style: none;
    margin-top: 10px;
}

.achievements li {
    color: #555;
    padding: 6px 0;
    position: relative;
    padding-left: 20px;
    line-height: 1.6;
}

.achievements li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #a0816a;
    font-weight: bold;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 10px;
    font-size: 0.95rem;
}

.contact-info a {
    color: #a0816a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-info a:hover {
    color: #8a6a54;
    text-decoration: underline;
}

.accomplishment-item {
    margin-bottom: 15px;
    padding-left: 20px;
    border-left: 3px solid #e0e0e0;
}

.accomplishment-item:hover {
    border-left-color: #a0816a;
    transition: border-left-color 0.3s ease;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 20px;
}

.skill-category {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.skill-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.skill-category h4 {
    color: #a0816a;
    font-size: 1rem;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.skill-list li {
    color: #555;
    padding: 4px 0;
    position: relative;
    padding-left: 15px;
}

.skill-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #a0816a;
}

.certifications-section-wrapper {
    margin-top: 40px;
}

.certifications-section-wrapper > h3 {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 25px;
    font-weight: 600;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.certification-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.certification-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(160, 129, 106, 0.12);
    border-color: #a0816a;
}

.cert-header {
    background: linear-gradient(135deg, rgba(160, 129, 106, 0.08) 0%, rgba(160, 129, 106, 0.04) 100%);
    padding: 18px;
    border-bottom: 2px solid #f0f0f0;
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
}

.cert-header h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.5;
    margin: 0;
    word-wrap: break-word;
}

.cert-body {
    padding: 16px 18px;
}

.cert-institution {
    color: #a0816a;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.cert-date {
    color: #888;
    font-size: 0.85rem;
    font-weight: 500;
}

footer {
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
    text-align: center;
    color: #888;
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .container {
        padding: 40px 30px;
    }

    .header-content {
        gap: 30px;
    }

    .header-image img {
        width: 160px;
        height: 160px;
    }
}

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

    h2 {
        font-size: 1.3rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    .container {
        padding: 30px 20px;
    }

    .header-content {
        flex-direction: column-reverse;
        gap: 25px;
        text-align: center;
    }

    .header-image img {
        width: 150px;
        height: 150px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .certifications-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        flex-direction: column;
        gap: 10px;
    }

    .experience-item, .education-item, .accomplishment-item {
        padding-left: 15px;
    }

    .achievements li {
        padding-left: 18px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    .container {
        padding: 20px 15px;
    }

    .header-image img {
        width: 120px;
        height: 120px;
        border-width: 3px;
    }

    .skill-category, .certification-card {
        padding: 15px;
    }

    .cert-header {
        padding: 15px;
    }

    .cert-body {
        padding: 12px 15px;
    }

    header {
        margin-bottom: 40px;
    }

    .section {
        margin-bottom: 35px;
    }
}
