/* General Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #f4f6f9;
  color: #333;
  line-height: 1.6;
}

/* Header */
.header {
  background: linear-gradient(to right, #1d3557, #457b9d);
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
}
.header h1 {
  margin: 0.5rem 0;
}
.header .subtitle {
  font-size: 1.1rem;
  font-style: italic;
}
.profile-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 4px solid #fff;
  object-fit: cover;
  margin-bottom: 10px;
}
.contact a {
  color: #f1faee;
  text-decoration: none;
}
nav {
  margin-top: 15px;
}

nav a {
  font-family: Arial, Helvetica, sans-serif; /* same clean font */
  font-size: 16px;
  font-weight: bold;
  color: #ffffff;   /* white text */
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #ffdd57;   /* gold highlight on hover */
}


/* Skill button */
 .skill-btn {
  background: #457b9d;
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}
.skill-btn:hover {
  background: #1d3557;
}

/* Modal */
.modal {
  display: none; /* hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
}

.modal-content {
  background: #fff;
  margin: 10% auto;
  padding: 20px;
  width: 70%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

.close {
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}
.close:hover {
  color: red;
}

/* Sections */
.container {
  max-width: 900px;
  margin: auto;
  padding: 2rem;
}
section {
  margin-bottom: 2rem;
}
section h2 {
  border-bottom: 2px solid #457b9d;
  padding-bottom: 5px;
  color: #1d3557;
}
.skills {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}
.skills li {
  background: #e9ecef;
  padding: 8px;
  border-radius: 6px;
}

/* Jobs */
.job {
  margin-bottom: 1.5rem;
}
.job h3 {
  margin-bottom: 0.5rem;
  color: #457b9d;
}
.job ul {
  list-style: disc;
  margin-left: 20px;
}

/* Footer */
.footer {
  text-align: center;
  padding: 1rem;
  background: #1d3557;
  color: #fff;
}
