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

/* === BODY === */
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f0f2f5; /* Change this for body background */
  color: #333;
  line-height: 1.6;
  padding: 20px;
}

/* === HEADER === */
header {
  background-color: #004080; /* Header background */
  color: #fff;
  padding: 30px 20px;
  text-align: center;
  border-radius: 10px;
}

header h1 {
  font-size: 2.5em;
}

.subtitle {
  font-style: italic;
  font-size: 1.2em;
  margin-top: 10px;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

nav a {
  color: #ffcc00; /* Navigation link color */
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

/* === MAIN SECTIONS === */
main {
  margin-top: 30px;
}

section {
  background-color: #fff; /* Section background */
  margin: 20px auto;
  padding: 25px;
  border-left: 6px solid #004080; /* Section accent border */
  border-radius: 10px;
  max-width: 900px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

section h2 {
  color: #004080;
  margin-bottom: 15px;
  font-size: 1.6em;
}

section ul {
  padding-left: 20px;
}

section ul li {
  margin-bottom: 8px;
}

/* === CV LINK === */
.cv-link {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 14px;
  background-color: #004080;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.cv-link:hover {
  background-color: #003366;
}

/* === PROJECT LINKS === */
#projects a {
  color: #0066cc;
  text-decoration: none;
}

#projects a:hover {
  text-decoration: underline;
}

/* === CONTACT FORM === */
#contacts form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

#contacts label {
  font-weight: bold;
  font-size: 1em;
  color: #333;
}

#contacts input,
#contacts textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1em;
  background-color: #f9f9f9;
  transition: border-color 0.3s ease;
}

#contacts input:focus,
#contacts textarea:focus {
  border-color: #004080;
  outline: none;
}

#contacts button {
  background-color: #004080;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#contacts button:hover {
  background-color: #003366;
}

/* === CONTACT LINKS === */
.contact-links {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1em;
}

.contact-item img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.contact-item a {
  color: #004080;
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

/* === FOOTER === */
footer {
  text-align: center;
  margin-top: 50px;
  padding: 20px;
  background-color: #004080;
  color: #fff;
  border-radius: 10px;
  font-size: 0.9em;
}