/* General styling */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  text-align: center;
  background-color: #f9f9f9;
  color: #333;
}

/* Header */
header {
  padding: 20px 0;
  border-bottom: 1px solid #ccc;
}

/* Navigation */
nav a {
  margin: 0 10px;
  text-decoration: none;
  font-weight: bold;
  color: black;
}

/* Section spacing */
section {
  margin: 40px 0;
  padding: 0 10px;
}

/* Remove bullets and spacing from lists */
ul {
  list-style-type: none;
  padding-left: 0;
  margin: 0;
}

/* Tag styling */
.tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 10px;
}

.tag {
  background-color: #ffe9a9;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
}

/* Heading spacing */
h2, h3, h4, h5 {
  margin-bottom: 10px;
}

/* Footer */
footer {
  margin-top: 60px;
  padding: 20px 0;
  border-top: 1px solid #ccc;
  font-size: 0.9em;
}

/* Links */
a {
  color: #007acc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Project and portfolio item spacing */
.project, .portfolio-item {
  margin: 15px 0;
}

/* Availability icons layout */
.availability span {
  display: inline-block;
  margin: 5px 10px;
  font-size: 1.2rem;
}

/* IF Law Sub-Navigation */
.sub-nav {
  background-color: #f9f9f9;
  padding: 10px 0;
  text-align: center;
  border-bottom: 1px solid #ddd;
}

.sub-nav a {
  margin: 0 15px;
  text-decoration: none;
  color: #444;
  font-weight: 500;
  transition: color 0.2s ease;
}

.sub-nav a:hover {
  color: #000;
  text-decoration: underline;
}

/* Split navigation bar for main branches and utility links */
.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  background-color: #f4f4f4;
  padding: 10px 20px;
  border-bottom: 1px solid #ccc;
}

.nav-left a,
.nav-right a {
  margin: 0 10px;
  text-decoration: none;
  font-weight: bold;
  color: #333;
}

.nav-left a:hover,
.nav-right a:hover {
  color: #007acc;
}

/* CTA Buttons */
.cta {
  display: inline-block;
  margin: 8px;
  padding: 10px 16px;
  background-color: #ffe9a9;
  color: #000;
  font-weight: 600;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.cta:hover {
  background-color: #ffda6a;
}
