/* General Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background-color: #f4f4f9;
  color: #333;
}

/* Header */
header {
  background-color: #14266e;
  color: #fff;
  padding: 1rem 0;
  text-align: center;
}

/* Navigation bar */

.logo img {
  height: 50px; /* Adjust size as needed */
  width: auto;
  display: block;
  margin-right: 60px; /* Space between logo and first nav button */
}

.navbar {
    display: flex;
    justify-content: left;
    gap: 10px;
    margin: 0;
    padding: 0;
    align-items: center;
    transform: None;
  }
  
  .nav-button {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    color: #ffffd4;
    font-size: 1rem;
    font-weight: bold;
    border: 2px solid #ffffffd4;
    border-radius: 10px;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  .nav-button:hover {
    background-color: #2a42c9;
    color: #fff;
    text-decoration: none;
  }

/* Main Content */
main {
  padding: 2rem;
}

section {
  margin-bottom: 2rem;
}

.about-container {
  display: flex; /* Enables a horizontal layout for the text and image */
  align-items: center; /* Aligns the image and text vertically in the center */
  gap: 20px; /* Adds space between the text and the image */
}

.profile-photo {
  flex-shrink: 0; /* Ensures the image doesn't shrink when space is limited */
  width: 200px; /* Sets the image width */
  height: auto; /* Maintains the aspect ratio */
  border-radius: 30%; /* Rounds off the edges. 50% is a circle image. */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); /* Adds a shadow for depth */
}

.about-container p {
  flex: 1; /* Ensures the text takes up the remaining space */
  margin: 0; /* Removes default margins */
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-icon {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.1);
  filter: brightness(1.3);
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

ul {
  list-style: none;
  padding: 0;
}

ul li {
  margin-bottom: 0.5rem;
}

a {
  color: #007BFF;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem 0;
  background-color: #333;
  color: #fff;
}
