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

/* GENERAL PAGE STYLING */
body {
    background-color: #f2f4f7;
    color: #2b2b2b;
    font-family: Arial, Helvetica, sans-serif; /* font for the body */
}

/* wrap for fade in */
.page-wrapper {
    opacity: 0; /* hide firts */
    animation: fadeIn 1s ease-in forwards; /* then fade-in */
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Header fonts */
h1, h2, h3 {
    font-family: Georgia, "Times New Roman", serif; /* font for header */
}

/* Reusable container */
.container {
    width: 90%;
    margin: 40px auto;
}

/* PROFILE SECTION */
header {
    display: flex;
    gap: 40px;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    border-left: 8px solid #3b6ea5;
}

/* Profile image */
.profile-section img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    border: 4px solid #8b5e3c;
    transition: transform 0.4s ease; /* added hover animation */
}

.profile-section img:hover {
    transform: translateY(-8px); /* added lift effect */
}

/* Info section */
.info-section h1 {
    color: #3b6ea5;
    margin-bottom: 5px;
}

.info-section h2 {
    color: #8b5e3c;
    margin-bottom: 15px;
}

.info-section p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.info-section h3 {
    margin-bottom: 10px;
    color: #3b6ea5;
}

.info-section ul {
    margin-left: 20px;
    list-style-type: square;
}

.info-section li {
    margin-bottom: 8px;
}

/* PROJECTS SECTION */
.projects h2 {
    margin-bottom: 20px;
    color: #3b6ea5;
}

/* Horizontal layout */
.project-list {
    display: flex;
    gap: 20px;
}

/* Project cards */
.project-card {
    background-color: #ffffff;
    padding: 20px;
    width: 300px;
    border-radius: 10px;
    border-top: 6px solid #8b5e3c;
    transition: transform 0.4s ease, box-shadow 0.4s ease; /* add hover animation */
}

.project-card:hover {
    transform: scale(1.05); /* add slight zoom */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12); /* add a soft shadow */
}

.project-card h3 {
    margin-bottom: 10px;
    color: #3b6ea5;
}

.project-card p {
    line-height: 1.5;
}

/* FOOTER */
footer {
    margin-top: 40px;
    padding: 20px;
    text-align: center;
    background-color: #3b6ea5;
    color: #ffffff;
}