/* Global Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
}

body {
  background: #fff;
  color: #222;
  line-height: 1.6;
  padding-top: 60px;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: #f5f1ea; /* off-white background from logo */
  border-bottom: 1px solid #1c6a8d; /* same blue as text/logo */
  display: flex;
  align-items: center;
  padding: 0 20px;
  z-index: 9999;
}

.topbar-logo {
  height: 36px;
  margin-right: 10px;
}

.topbar-title {
  font-size: 1.2em;
  color: #1c6a8d;
  font-weight: 600;
  text-decoration: none;
  pointer-events: auto;
}

.topbar-title:hover,
.topbar-title:focus,
.topbar-title:active {
  text-decoration: none;
  color: #1c6a8d;
}

/* Header */
header {
  position: relative;
  height: 50vh;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50vh;
  background: url('imgs/workshop_background.png') center/cover no-repeat fixed;
  z-index: -1;
}

header .content {
  position: relative;
  z-index: 1;
}

header h1 {
  font-size: 3em;
  margin-bottom: 20px;
}

header a.button {
  background: #007BFF;
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

.contextual-banner {
  background-color: #1c6a8d;   /* brand blue */
  color: #f5f1ea;              /* off-white from logo */
  font-weight: 600;
  text-align: center;
  padding: 40px 20px;
  font-size: 1.4em;
  border-bottom: 1px solid #144f6d; /* subtle edge */
}

/* Section */
.section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
}

.section h2 {
  text-align: center;
  margin-bottom: 0px;
  font-size: 2em;
}

/* Solutions */
.solutions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  text-align: center;
}

.solutions .item {
  flex: 1;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.solutions .item img {
  width: 200px;
  margin-bottom: 0;
}

.solution-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.solution-link h3 {
  position: relative;
  transition: color 0.3s;
}

.solution-link:hover h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 3px;
  background-color: #007BFF; /* Corporate blue */
}


/* Testimonials */
.testimonials {
  overflow: hidden;
  position: relative;
  min-height: 100px;
  padding: 10px;
}

.testimonial-track {
  position: relative;
  height: 100%;
}

.testimonial {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  text-align: center;
  padding: 20px;
  font-weight: bold;
  font-size: 1.5em;
}

.testimonial_src {
  font-size: 0.75em;
  font-style: italic;
  display: block;
  color: darkgray;
  margin-top: 5px;
}

.testimonial.active {
  opacity: 1;
}

/* Team */
.team {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.member {
  flex: 1 1 200px;
  text-align: center;
  padding: 20px;
}

.member img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.member a {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}

.member a:hover h3 {
  color: gray;
}

.member a:hover img {
  border: 4px solid #007BFF;
  padding: 6px;
  background-color: white;
  border-radius: 50%;
  box-sizing: content-box;
}

/* Bio Blocks (Meet the Team) */
.bio-block {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
}

.bio-block:nth-child(even) {
  flex-direction: row-reverse;
}

.bio-block img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
}

.bio-content {
  flex: 1;
}

.bio-content h3 {
  margin-bottom: 5px;
  font-size: 1.8em;
}

.bio-content p.title {
  font-weight: bold;
  margin-bottom: 10px;
  color: #555;
}

.bio-content p.desc {
  font-size: 1em;
  color: #444;
}

/* Responsive Design */
@media (max-width: 768px) {
  .solutions {
    flex-direction: column;
    align-items: center;
  }

  .solutions .item {
    width: 100%;
    max-width: 300px;
  }

  .testimonial {
    font-size: 0.9em;
    padding: 15px;
  }

  .testimonial_src {
    font-size: 0.6em;
  }

  .bio-block {
    flex-direction: column;
    text-align: center;
  }

  .bio-block:nth-child(even) {
    flex-direction: column;
  }

  .bio-block img {
    margin-bottom: 20px;
  }

  .solutions .item {
    width: 100%;
    max-width: 300px;
  }

  .testimonial {
    font-size: 0.9em;
    padding: 15px;
  }

  .testimonial_src {
    font-size: 0.6em;
  }

  .bio-block {
    flex-direction: column;
    text-align: center;
  }

  .bio-block:nth-child(even) {
    flex-direction: column;
  }

  .bio-block img {
    margin-bottom: 20px;
  }
}
