.person-content {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-top: 40px;
}

.person-column {
  flex: 1;
}

.person-column.left img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
}

.person-column.center h2 {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 5px;
  font-family: inherit;
}

.person {
  border-top: 1px solid #ccc;
  padding-top: 0px;
  margin-top: 0px;
}

.team-member {
  display: flex;
  flex-wrap: wrap;
  gap: 0px;
  padding: 0px 0;
}


.person-column.center .practice {
  text-transform: uppercase;
  font-size: 0.75em;
  font-weight: 500;
  letter-spacing: 1px;
  color: #2a5db0;
  margin-bottom: 10px;
}

.person-column.center a,
.person a {
  font-size: 0.95em;
  color: #2a5db0;
  text-decoration: none;
  display: block;
  margin-bottom: 4px;
}

.person-column.center a:hover,
.person a:hover {
  text-decoration: underline;
}

.person-column.right h3 {
  font-size: 0.75em;
  font-weight: 600;
  text-transform: uppercase;
  color: #555;
  margin-top: 10px;
  margin-bottom: 5px;
}

.person-column.right ul,
.person-column.right p {
  font-size: 0.95em;
  color: #333;
  margin: 5px 0;
}

@media screen and (max-width: 768px) {
  .person-content {
    flex-direction: column;
    gap: 20px;
  }
}
.member-info a.email,
.member-info a.vcard {
  font-size: 0.95em;
  color: #003366;
  text-decoration: none;
}

.member-info a.vcard {
  display: block;
  margin-top: 2px;
  font-style: italic;
}

.member-info a:hover {
  text-decoration: underline;
}



/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Georgia, "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: #eef4fa;
  color: #333;
  line-height: 1.6;
}

/* HEADER (TOP SIDE) */
header.top-side {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: #001f3f;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 100px;
  padding: 5px 30px 5px 15px;
  z-index: 1000;
  transition: top 0.4s ease-in-out;
  will-change: top;
}

header.top-side .logo {
  display: flex;
  align-items: center;
  font-size: 1.8em;
  font-weight: bold;
  letter-spacing: 2px;
  margin-right: 60px;
}

header.top-side .logo img {
  height: 100px;
  width: 100px;
  object-fit: cover;
  border-radius: 50%;
  margin-right: 15px;
  margin-top: 12.5px;
}

header.top-side nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  margin-right: 15px;
}

header.top-side nav li {
  margin-left: 20px;
}

header.top-side nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1em;
}

header.top-side nav a:hover {
  text-decoration: underline;
}

.menu-toggle {
  display: none;
}

@media screen and (max-width: 768px) {
  .menu-toggle {
    display: block;
    position: absolute;
    top: 25px;
    right: 20px;
    font-size: 2em;
    cursor: pointer;
    color: white;
    z-index: 1100;
  }

  .menu-toggle::after {
    content: "☰";
  }
  .menu-toggle.active::after {
    content: "✕";
  }

  /* MODIFICATION FOR LOGO ALIGNMENT IN MOBILE: */
  header.top-side .logo {
    margin-left: 0; /* Align to the very left of the parent's padding box */
    margin-right: auto; /* Pushes the logo to the left by taking up all available space on its right */
  }
  /* END OF MODIFICATION */

  header.top-side nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100%;
    background-color: #001f3f;
    display: flex;
    flex-direction: column;
    align-items: start;
    padding: 60px 20px;
    transition: right 0.3s ease;
    z-index: 1000;
  }

  header.top-side nav.active {
    right: 0;
  }

  header.top-side nav ul {
    flex-direction: column;
    width: 100%;
  }

  header.top-side nav li {
    margin: 15px 0;
    text-align: left;
    width: 100%;
  }

  header.top-side nav a {
    font-size: 1.2em;
    width: 100%;
  }
}

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.hero.scroll-fade.show .hero-bg {
  opacity: 1;
  transform: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
  padding: 200px 20px;
}

.hero h1 {
  font-size: 3.5em;
  margin-bottom: 10px;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.5em;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}

/* TEAM MEMBERS */
.team-members {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px 80px;
  display: flex;
  flex-direction: column;
  gap: 50px;
  background: #eef4fa;
  min-height: 300px;
}

/* This .team-member rule was duplicated from the top of the file,
   assuming the more specific one below or this one is intended.
   Keeping it as provided by user. */
.team-member {
  display: flex;
  flex-wrap: wrap;
  gap: 30px; /* This was 0px at the top, 30px here. Using 30px as it's with other team-member styles. */
  padding: 30px 0; /* This was 0px 0 at the top, 30px 0 here. */
}

.team-member img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
}

.member-info {
  flex: 2;
  min-width: 200px;
}

.member-info h2 {
  font-size: 1.5em;
  font-family: Georgia, serif;
  margin-bottom: 5px;
}

.member-info .position {
  color: #666;
  font-weight: bold;
  margin-bottom: 5px;
}

.member-info .email,
.member-info .location,
.member-info .phone {
  font-size: 0.95em;
  color: #444;
}

.education {
  flex: 2;
  min-width: 250px;
}

.education h3 {
  text-transform: uppercase;
  font-size: 0.8em;
  color: #666;
  margin-bottom: 5px;
  letter-spacing: 0.5px;
}

.education ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 10px;
}

.education li {
  font-size: 0.95em;
  color: #333;
}

footer {
  background: #001f3f;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 0.9em;
}

footer a {
  color: #bbbbbb;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Scroll Animation */
.scroll-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-fade.show {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .team-member { /* This rule is for .team-member, distinct from the header media query */
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .member-info,
  .education {
    flex: unset;
  }
}
/* NEW PERSON STYLE (INSPIRED BY BLOG POST) */
/* (DUPLICATE .team-members REMOVED) */

.person { /* This .person rule was duplicated from the top. Keeping as provided. */
  border-top: 1px solid #ccc;
  padding-top: 40px; /* Was 0px at the top. Using 40px from this instance. */
  margin-top: 40px;  /* Was 0px at the top. Using 40px from this instance. */
}

.person-meta {
  font-size: 0.75em;
  letter-spacing: 1px;
  color: #666;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 10px;
}

.person h2 {
  color: #001f3f;
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 5px;
  font-family: inherit;
}

.person .location,
.person .email,
.person .vcard {
  font-size: 1em;
  color: #444;
  margin-bottom: 5px;
}

.person a { /* This .person a rule was also at the top. Merging intentions. */
  font-size: 0.95em;
  color: #2a5db0;
  text-decoration: none;
  /* display: block; and margin-bottom: 4px; were at the top, might be relevant */
}

.person a:hover { /* This .person a:hover rule was also at the top. */
  text-decoration: underline;
}

.person-details h3 {
  text-transform: uppercase;
  font-size: 0.8em;
  color: #666;
  margin-top: 15px;
  margin-bottom: 5px;
  letter-spacing: 0.5px;
}

.person-details ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 10px;
}

.person-details li {
  font-size: 0.95em;
  color: #333;
}

.people-filter {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}

.people-filter-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.search-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #aaa;
  padding: 10px 15px;
  font-size: 1.4em;
  font-family: Georgia, serif;
}

.search-bar input {
  border: none;
  width: 100%;
  font-size: 1em;
  outline: none;
  background: transparent;
}

.search-bar button {
  background: none;
  border: none;
  font-size: 1.2em;
  cursor: pointer;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 15px;
}

.filters select {
  padding: 10px 15px;
  border: 1px solid #aaa;
  font-size: 1em;
  width: 180px;
  font-family: inherit;
  background: white;
  color: #333;
}

@media screen and (max-width: 768px) { /* This media query is for .filters */
  .filters {
    flex-direction: column;
    width: 100%;
  }

  .filters select {
    width: 100%;
  }
}
/* --- Biz Kimiz (intro-text) section styles --- */
.intro-text {
  background: linear-gradient(to bottom right, #f7fafd, #e3ecf7);
  padding: 60px 30px;
  margin: 60px auto;
  max-width: 900px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 31, 63, 0.08);
}

.intro-text h2 {
  font-size: 2.5em;
  color: #001f3f;
  margin-bottom: 25px;
  font-family: 'Georgia', serif;
  text-align: center;
}

.intro-text p {
  font-size: 1.1em;
  line-height: 1.8;
  color: #333;
  margin-bottom: 20px;
  font-family: 'Georgia', serif;
  text-align: justify;
}