/* font import */
@import url("https://fonts.googleapis.com/css?family=Poppins:200,400,700&display=swap");

/* import variables */
@import "variables.css";

/* set up */
html {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  height: 100%;
}

.section-header {
  text-align: center;
  font-size: 38px;
  color: var(--primary-blue);
  padding-top: 10px;
}

body,
h1,
h2,
h3,
i {
  margin: 0;
  padding: 0;
}

body {
  line-height: 1.5;
  font-family: "Poppins";
  color: var(--neutral-black);
  font-size: 100%;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  height: 100%; /* Ensures body fills the entire height of the viewport */
}

/* bio section */

.bio-row {
  padding: 50px 0;
  width: 90%;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.bio-column {
  display: flex;
  flex-direction: row;
  /*align-items: center;*/
  margin: 0 10px;
}

.bio-image {
  height: 350px;
  width: auto;
  margin-right: 30px;
  border-radius: 15px;
}

.bio-name {
  color: var(--primary-blue);
  font-size: 24px;
}

.bio-title {
  margin: 0;
  padding: 0;
  font-size: 18px;
  font-weight: 200;
  margin-top: 0px;
}

.bio-email {
  margin: 0;
  padding: 0;
  font-size: 18px;
  font-weight: 200;
  margin-top: 0px;
  text-decoration: underline;
  font-style: italic;
}

/* header */
/* header */
.header-links {
  margin: 0;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  padding: 10px 0px;
  background-color: var(--neutral-white);
  border-bottom: 2px solid var(--primary-blue);
  max-width: 100%;
}

.align-header-right {
  display: flex;
  list-style-type: none;
  padding: 0;
  margin: 0px 25px 0 0;
}

.header-logo {
  height: 60px;
  padding-left: 20px;
}

.header-logo:hover {
  cursor: pointer;
}

.chevron {
  display: inline-block;
  cursor: pointer;
  margin-left: 5px;
}

.align-header-right li.header-link-item,
.align-header-right li.constant-btn {
  display: inline-block;
  margin-right: 15px;
  border-radius: 8px;
  padding: 5px 8px;
  transition: background-color 0.6s;
}

/* before, make background color opacity zero */
.li.header-link-item:before {
  opacity: 0;
}

.align-header-right a {
  text-decoration: none;
  color: var(--neutral-black);
}

.align-header-right li.constant-btn {
  background-color: var(--primary-blue);
  padding: 5px 8px;
  border-radius: 8px;
}

.constant-btn a {
  color: var(--neutral-white);
}

li.constant-btn:hover {
  background-color: var(--faded-blue);
}

.align-header-right li.header-link-item:hover {
  background-color: var(--primary-blue);
  color: var(--neutral-white);
}

.align-header-right li.header-link-item:hover a,
.align-header-right li.constant-btn:hover a {
  color: var(--neutral-white);
}

/* if it's the last align-header-right, no margin-right */
.align-header-right li:last-child {
  margin-right: -5px;
}

.header-link-item {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%; /* This ensures the dropdown displays right below the parent item */
  left: 0; /* This will make the dropdown start from the left edge of the parent item */
  min-width: 160px;
  border-radius: 8px;
  padding: 5px 8px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  background-color: var(--neutral-white);
  z-index: 1;
}

.dropdown-content a {
  padding: 8px 12px;
  text-decoration: none;
  display: block;
  border-radius: 8px;
}

.header-dropdown-item:hover {
  background-color: var(--primary-blue);
  color: var(--neutral-white);
}

.dropdown:hover .dropdown-content {
  display: block;
}

.header-dropdown-item {
  color: var(
    --neutral-black
  ) !important; /* Assuming var(--neutral-black) is black */
}

.header-dropdown-item:hover {
  background-color: var(
    --primary-blue
  ); /* The background color when hovered, already exists */
  color: var(
    --neutral-white
  ) !important; /* The text color when hovered, added this */
}

.hamburger-menu {
  display: none; /* Initially hidden */
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  position: absolute;
  right: 10px;
  align-items: center;
  padding: 10px;
  overflow-x: hidden;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: var(--neutral-black);
}

.mobile-dropdown-content {
  display: none;
  position: absolute;
  top: 50px; /* Adjust based on your header height */
  right: 20px;
  background-color: var(--neutral-white);
  border: 1px solid var(--primary-blue);
  width: 200px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 2;
  flex-direction: column;
  overflow-x: hidden;
  padding: 0;
}

.mobile-dropdown-content a {
  display: block;
  padding: 10px;
  text-decoration: none;
  color: var(--neutral-black);
  border-bottom: 1px solid #ddd; /* Provides a separator between links */
}

.mobile-dropdown-content a:last-child {
  border-bottom: none; /* Removes the border from the last link */
}

.mobile-dropdown-content a:hover {
  background-color: var(--primary-blue);
  color: var(--neutral-white);
}

.hamburger-menu:hover + .mobile-dropdown-content,
.mobile-dropdown-content:hover {
  display: flex;
}

.button-parent {
  display: flex;
  justify-content: flex-end;
  padding-right: 25px;
  padding-bottom: 50px;
}

.pdf-button {
  background-color: var(--primary-blue);
  color: white;
  padding: 5px 20px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Poppins";
  font-weight: 600;
  transition: background-color 0.6s;
}

.download-icon {
  margin-left: 10px; /* Space between text and icon */
  font-size: 25px;
}

.download-icon-img {
  height: 20px;
  width: auto;
}

/* Extra styles to improve the look & feel of the button */
.pdf-button:hover {
  background-color: var(--faded-blue);
}

.pdf-button:active {
  background-color: #2e5857; /* Even darker color when the button is clicked */
}

.pdf-button:focus {
  outline: none; /* Remove the default focus outline */
}

@media (max-width: 1100px) {
  .button-parent {
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 950px) {
  .hamburger-menu {
    display: flex;
    padding-right: 0px;
  }

  .align-header-right {
    display: none;
  }

  footer {
    font-size: 12px;
  }

  .header-logo {
    padding-left: 5px;
  }
}

/* footer */
footer {
  padding: 20px;
  background-color: var(--primary-blue);
  color: var(--neutral-white);
}

/* New Container Styling */
.footer-container {
  display: flex;
  justify-content: space-between; /* This makes the columns sit far apart */
  align-items: flex-end;
  width: 95%; /* This ensures the collective width of columns is 90% */
  margin: 0 auto; /* This centers the container within the footer */
}

/* Column Styling */
.footer-col {
  display: flex;
  flex-direction: column; /* This makes the anchor tags stack vertically */
}

/* Anchor Tag Styling */
.footer-col a {
  text-decoration: none; /* Removing the default underline */
  color: white; /* Setting the text color */
  padding: 5px 0; /* Some padding for aesthetics */
  transition: color 0.3s; /* Smooth transition for hover effect */
}

.footer-col a:hover {
  color: var(--primary-green);
  font-weight: bold;
}

.footer-logo {
  height: 92px;
  width: auto;
}

.footer-col-right {
  text-align: right;
  margin-right: -10px;
}

.soft-break {
  height: 1px;
  border-top: 1px solid var(--neutral-black);
  opacity: 0.3;
  width: 95%;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .footer-logo {
    height: 50px;
    width: auto;
  }

  .cto-logo {
    height: 12px;
    width: auto;
  }

  .footer-address {
    width: 60%;
  }
}

@media (max-width: 768px) {
  .bio-row {
    flex-direction: column; /* stack children vertically */
  }

  .main-text {
    font-size: 30px;
  }

  .bio-column {
    flex-direction: column; /* stack children vertically */
    align-items: flex-start; /* align children to the start of the flex container */
    width: 100%; /* ensure full width for smaller screens */
    margin-bottom: 20px; /* add some space between the team member bios */
  }

  .bio-image {
    margin-right: 0; /* remove the margin to the right of the image */
    margin-bottom: 20px; /* add some space below the image */
    width: 90%; /* make image width responsive */
    height: auto; /* adjust height automatically */
    margin-top: 0;
  }

  .bio-text {
    width: 90%; /* make text container width responsive */
  }

  .info-row-value h2 {
    font-size: 18px;
  }
}

.cto-logo {
  height: 12px;
  width: auto;
}

/* Team Member Page Styles */
.team-member-container {
  max-width: 1000px;
  margin: 40px auto;
  padding: 20px;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.team-member-content {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 20px;
}

.team-member-left {
  flex: 1;
}

.team-member-photo {
  width: 250px;
  height: auto;
  border-radius: 10px;
}

.team-member-right {
  flex: 2;
}

.team-member-right h2 {
  margin: 0;
  font-size: 24px;
  color: #333;
}

.team-member-title {
  font-style: italic;
  color: #666;
  margin: 5px 0;
}

.team-member-description {
  padding: 10px;
  line-height: 1.6;
  color: #333;
}

.team-member-board {
  padding: 20px;
  background: #f9f9f9;
  margin-top: 15px;
  border-left: 3px solid var(--primary-blue);
}

.team-member-board h4 {
  margin: 0;
  color: var(--primary-blue);
}

.team-member-board ul {
  padding-left: 25px;
}

@media (max-width: 768px) {
  .team-member-content {
    flex-direction: column;
    text-align: center;
  }

  .team-member-left,
  .team-member-right {
    flex: unset;
    width: 100%;
  }

  .team-member-board {
    padding: 10px;
    background: #f9f9f9;
    margin-top: 15px;
    border-left: 3px solid var(--primary-blue);
  }

  .team-member-board h4 {
    margin: 0;
    color: var(--primary-blue);
  }

  .team-member-board ul {
    padding-left: 20px;
  }
}
