/* === RESET & BASE === */
* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    background-color: #fff;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* === HEADER === */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.site-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1rem;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #007BFF;
}

/* === MAIN === */
.main-content {
    max-width: 64rem;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.section {
    margin-bottom: 4rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #ddd;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #222;
    border-left: 4px solid #007BFF;
    padding-left: 1rem;
}

/* === FOR CONTACT TITLE ONLY === */
.section-title-contact {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #222;
    padding-left: 1rem;
}

/* === PROFILE === */
.section-profile .profile-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.profile-image img {
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
    object-fit: cover;
}

.profile-text {
    flex: 1;
}

.profile-name {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.profile-description {
    color: #555;
}

/* === SKILL === */
.section-skill .skill-category {
    margin-bottom: 2.5rem;
}

.skill-category h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #333;
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 2rem;
    padding-left: 1rem;
}

.skill-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.skill-list i {
    color: #007BFF;
    font-size: 1.25rem;
}

/* === PROJECT === */
.section-project .project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.project-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 0.75rem;
    padding: 1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.project-image {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    object-fit: cover;
}

.project-title {
    font-size: 1.25rem;
    font-weight: bold;
}

.project-description,
.project-tech {
    color: #555;
}

.project-links a {
    margin-right: 1rem;
    color: #007BFF;
    font-weight: 500;
}

.project-links a:hover {
    text-decoration: underline;
}

/* === CERTIFICATE === */
.section-certificate .certificate-card {
    background: #fefefe;
    border: 1px solid #ddd;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.certificate-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.certificate-card p,
.certificate-card ul {
    color: #444;
    font-size: 0.95rem;
}

.certificate-card ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 0.5rem 0 1rem;
}

.certificate-card a {
    color: #007BFF;
}

.certificate-card a:hover {
    text-decoration: underline;
}

/* === CONTACT === */
.section-contact {
    background-color: #f9f9f9;
    text-align: center;
}

.section-contact h2 {
    margin-bottom: 1.5rem;
}

.social-list {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.social-list li a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    color: #007BFF;
    transition: all 0.2s ease-in-out;
}

.social-list li a:hover {
    color: #0056b3;
    transform: translateX(4px);
}

.social-list i {
    font-size: 1.25rem;
}

/* === FOOTER === */
.site-footer {
    background-color: #eee;
    color: #333;
    text-align: center;
    padding: 0.75rem;
    font-size: 1rem;
    margin-top: 2rem;
}