/* Reset & Base */
* {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Segoe UI', sans-serif;
  background: #f9f9f9;
  color: #333;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  padding: 1em;
  width: 100%;
  max-width: 960px;
  margin: auto;
}


/* Header */
header {
  background: linear-gradient(to right, #333, #555);
  color: white;
  padding: 1em;
  text-align: left;
}
header h1 {
  margin-left: 15px;;
  font-size: 1.8em;
  color: white;
  text-decoration: none;
}

header h1 a {
  color: white;
  text-decoration: none;
}

/* Navigation */
nav {
  display: flex;
  justify-content: left;
  gap: 1.5em;
  flex-wrap: wrap;
  margin-top: 1em;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5em 1em;
  white-space: nowrap;
}

nav a:hover {
  background-color: #757474;
  border-radius: 4px;
}

nav a.active {
  color: white;
  font-weight: bold;
  border-bottom: 2px solid white;
  background-color: #757474;
  border-radius: 4px;
}

/* Footer */
.footer-content {
  background: linear-gradient(to right, #333, #555);
  color: #ccc;
  text-align: center;
  padding: 1em 1em;
}

.footer-links {
  padding-bottom: 1.5em;
}

.footer-links a {
  margin: 0 10px;
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  border-bottom: 1px solid white;
}

.footer-links a.active {
  border-bottom: 2px solid white;
}

.footer-social a {
  margin: 0 8px;
  color: #555;
  font-size: 1.2em;
  transition: color 0.3s ease;
  text-decoration: none;
}

.footer-social a:hover {
  color: #0077b5; /* LinkedIn blue as default hover */
}

.section-title {
  font-size: 2em;
  margin-bottom: 1.5em;
  text-align: center;
  color: #003366;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1em;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  justify-content: center;
  padding: 0;
  list-style: none;
}

@media (max-width: 600px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }
}

body {
  font-size: 16px;
}

@media (max-width: 600px) {
  body {
    font-size: 15px;
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.section {
  padding: 2em 1em;
}

@media (max-width: 600px) {
  .section {
    padding: 1.5em 0.5em;
  }
}
.logo-link {
  display: inline-block;
  padding: 10px 0;
}

.logo-fullname {
  max-width: 400px;     /* Controls overall width */
  height: auto;         /* Maintains aspect ratio */
  vertical-align: middle;
  transition: transform 0.3s ease;
}

@media (max-width: 768px) {
  .logo-fullname {
    max-width: 375px;   /* Smaller logo on tablets */
  }
}

@media (max-width: 480px) {
  .logo-fullname {
    max-width: 350px;   /* Even smaller on mobile */
  }
}
