* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f4f6f8;
    color: #333;
}

/* ===== HEADER ===== */
header {
    min-height: 100vh;
    width: 100%;

    background-color: #1e1e2f;
    color: white;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

header h1 {
    font-size: 36px;
    margin-bottom: 30px;
}

/* Navigation buttons */
header a {
    text-decoration: none;
}

header button {
    padding: 14px 28px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;

    background-color: #3730a3;
    color: white;
}

header button:hover {
    background-color: #3730a3;
}

/* ===== ABOUT SECTION ===== */
#about {
    min-height: 100vh;
    padding-top: 60px;

    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.6;
}

/* Name at top */
.name {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #1e1e2f;
    letter-spacing: 1px;
}

/* ===== PROFILE BOX ===== */
.profile-box {
    padding: 15px;
    border: 3px solid #3730a3;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
}

/* Profile image inside box */
.profile-box img {
    width: 260px;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

/* ===== PROFILE IMAGE ===== */
.profile img {
    border-radius: 50%;
    border: 4px solid #3730a3;
    margin-bottom: 20px;
}

/* ===== MAIN SECTIONS ===== */
section {
    min-height: 100vh;
    padding: 80px 60px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

section h1 {
  margin-bottom: 30px;
}

/* Alternate colors */
section:nth-child(even) {
    background-color: #ffffff;
}

section:nth-child(odd) {
    background-color: #eef2ff;
}

/* ===== TABLE ===== */
table {
    border-collapse: collapse;
    width: 80%;
}

th, td {
    border: 1px solid #ccc;
    padding: 12px;
}

th {
    background-color: #3730a3;
    color: white;
}

#projects table th:nth-child(1),
#projects table td:nth-child(1) {
    width: 200px;
}

#projects table th,
#projects table td {
    text-align: left;
    padding: 15px;
}

/* ===== LISTS ===== */
ol {
    max-width: 700px;
    text-align: left;
    list-style-type: disc;
}

ol li {
    margin: 10px 0;
    white-space: nowrap
}

/* ===== FOOTER ===== */
footer {
    min-height: 100vh;
    background-color: #1e1e2f;
    color: white;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

footer h1 {
    margin-bottom: 30px;
}

.contact-info p {
    margin: 8px 0;
}

.contact-info a {
    color: #a5b4fc;
    text-decoration: none;
}