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

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

h1, h2, h3 {
  color: #2c729a;
  margin-bottom: 20px;
}

h1 {
  font-size: 2.8em;
  font-weight: 700;
}

h2 {
  font-size: 2.2em;
  font-weight: 600;
}

h3 {
  font-size: 1.8em;
  font-weight: 500;
}

p {
  font-size: 1.1em;
  color: #555;
  margin-bottom: 20px;
}

a {
  color: #2c729a;
  text-decoration: none;
  font-weight: 600;
}

a:hover {
  text-decoration: underline;
}

/* Header */
header {
  background: linear-gradient(to bottom, #163269, #2c729a);
  color: #ffffff;
  padding: 80px 0;
}

.profile {
  display: flex;
  align-items: center;
  gap: 30px;
}

.profile-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 4px solid #ffffff;
}

.profile-text h1 {
  margin: 0;
  font-size: 3.5em;
  color: #ffffff;
}

.profile-text h1 .last-name {
  color: #ffd700; /* Gold color for last name */
  font-weight: 700;
}

.profile-text p {
  margin: 10px 0 0;
  font-size: 1.4em;
  color: #e0e0e0;
}

/* Navigation Menu */
.main-nav {
  margin-top: 10px;
  background-color: #ffffff;
  padding: 10px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.main-nav ul {
  list-style-type: none;
  padding: 0;
  display: flex;
  gap: 20px;
  justify-content: center;
}

.main-nav a {
  color: #163269;
  font-size: 1.1em;
  font-weight: 600;
  text-transform: uppercase;
}

.main-nav a:hover {
  color: #2c729a;
}

/* About Section */
#about {
  background-color: #f4f4f4;
  padding: 0 0;
}

#about p {
  font-size: 1.1em;
  line-height: 1.8;
  color: #444;
}

/* Skills Section */
#skills {
  background-color: #f4f4f4;
  padding: 0 0;
}

.skills-grid {
  display: flex;
  gap: 30px;
}

.skill-category {
  flex: 1;
  background-color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.skill-category h3 {
  margin-bottom: 15px;
  color: #163269;
}

.skill-category ul {
  list-style-type: none;
  padding: 0;
}

.skill-category li {
  margin: 15px 0;
  padding-left: 25px;
  position: relative;
  line-height: 1.6;
  color: #555;
}

.skill-category li::before {
  content: "•";
  color: #2c729a;
  font-size: 1.5em;
  position: absolute;
  left: 0;
  top: -3px;
}

/* Portfolio Section */
#portfolio {
  background-color: #f4f4f4;
  padding: 0 0;
}

.portfolio-grid {
  display: flex;
  gap: 30px;
}

.portfolio-items {
  flex: 1;
  background-color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


/* Contact Section */
.contact-methods {
  margin: 30px 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-item {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-item strong {
  color: #163269;
  display: block;
  margin-bottom: 5px;
  font-size: 1.1em;
}

.contact-item a {
  color: #2c729a;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

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

.office-hours {
  font-size: 0.9em;
  color: #7a7979;
  margin-top: 5px;
  font-style: italic;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .contact-item {
    padding: 15px;
  }
}

/* Footer */
footer {
  background-color: #163269;
  color: #ffffff;
  text-align: center;
  padding: 30px 0;
  margin-top: 60px;
}

footer p {
  margin: 0;
  font-size: 1em;
  color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .profile {
    flex-direction: column;
    text-align: center;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 10px;
  }

  .skills-grid {
    flex-direction: column;
  }

  .skill-category {
    flex: 1 1 100%;
  }

  .portfolio-items {
    flex-direction: column;
  }

  .item {
    flex: 1 1 100%;
  }
}