* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: #ffffff;
  color: #000000;
  line-height: 1.6;
}

/* Header */
.top-bar {
  background: #333;
  color: white;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center; /* ✅ Centers nav */
  padding: 0 2rem;
  flex-wrap: wrap;
}

.top-bar .logo img {
  height: 60px;
  width: auto;
}

.logo {
  position: absolute;
  left: 2rem; /* or adjust for your layout */
}


.logo img {
  height: 60px;
  width: auto;
}

.top-bar nav {
  display: flex;
  width: auto;
}

.top-bar nav ul {
  display: flex;
  gap: 1.5rem;
}

.top-bar nav ul li a {
  background: #333;
  color: white;
  font-weight: bold;
  padding: 0.5rem 0.2rem;
  border-radius: 5px;
  text-decoration: none;
  transition: 0.3s;
}

.top-bar nav ul li a:hover {
  background: white;
  color: #333;
}

/* Team Section Background */
.team-section-wrapper {
  position: relative;
  background: url('backgroundstock.jpg') center/cover no-repeat;
  padding: 4rem 2rem;
  z-index: 0;
}

.team-section-wrapper .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(202, 202, 202, 0.0); /* gray see-through layer r, g, b, % */
  z-index: 1;
}

.team-section-wrapper .main-container {
  position: relative;
  z-index: 2; /* sits above overlay */
}


/* Team Content */
.main-container {
  display: flex;
  justify-content: center;
  padding: 3rem 2rem;
}

.team-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  gap: 3rem;
}

.team-row {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
  align-items: center;
}

.team-member,
.team-member.reverse {
  max-width: 800px;
  width: 100%;
  background: white;
  color: black;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 0 0.9375rem rgba(0,0,0,0.25); 
  transition: transform 0.3s ease;
  overflow: hidden;
  border-radius: 100px;
}

.team-member.reverse {
  flex-direction: row-reverse;
  text-align: right;
}

.team-member:hover {
  transform: scale(1.03);
}

.image-wrapper {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #fff;
  flex-shrink: 0;
  background: #fff;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-info h3 {
  font-size: clamp(1.5rem, 2vw, 2.5rem);
}

.member-info p {
  font-size: clamp(0.9rem, 1.2vw, 1.2rem);
}

/* About Stripe */
.about-stripe {
  width: 100%;
  padding: 4rem 2rem;
  background: #333;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

.about-stripe h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

.about-stripe .divider {
  height: 2px;
  width: 100%;
  max-width: 800px;
  background: white;
}

.about-stripe .about-text {
  max-width: 800px;
  font-size: 1.25rem;
}

/* Reference Section */
.reference-section {
  padding: 4rem 2rem;
  background: white;
  color: black;
  text-align: center;
}

.references {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
}

.reference-item {
  background: #333;
  color: white;
  padding: 2rem;
  border-radius: 20px;
  width: 100%;
  max-width: 300px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.reference-item h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.reference-item p {
  font-size: 1rem;
  font-weight: 400;
}

.star {
  color: gold;
  margin-top: 0.5rem;
  font-size: 1.2rem;
}

/* Footer */
.site-footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
}


.nav-links {
  display: flex;
  justify-content: center;
  flex-grow: 0;
}

.nav-links ul {
  display: flex;
  gap: 1.5rem;
  justify-content: center; /* ✅ Center items in the nav */
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
  padding: 0.5rem;
  border-radius: 5px;
}

.nav-links ul li a:hover {
  background-color: white;
  color: #333;
}

.menu-toggle {
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
 .team-member,
  .team-member.reverse {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
    border-radius: 2.5rem;
  }

  .team-member.reverse {
    flex-direction: column;
  }

  .team-row {
    gap: 1.5rem;
  }

  
  .member-info {
    width: 100%;
    word-wrap: break-word;
  }

  .member-info h3 {
    font-size: 1.5rem;
  }

  .member-info p {
    font-size: 1rem;
  }


   .image-wrapper {
    width: 7.5rem;
    height: 7.5rem;
  }

  .about-stripe h1 {
    font-size: 2rem;
  }

  .about-stripe .about-text {
    font-size: 1rem;
  }

  .about-stripe .divider {
    width: 100%;
  }


  .top-bar {
    flex-direction: column;
    align-items: center;
    height: auto;
    padding: 1rem;
  }

   .top-bar .logo {
  position: static; /* back to normal flow */
  margin-bottom: 1rem;
}
   
    .menu-toggle {
    display: block;
    background-color: #fff;
    color: #333;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
  }

.menu-toggle:hover {
    background-color: #333;
    color: #fff;
  }

  
 
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 0.5rem;
    background-color: #333;
  }

.nav-links.open {
    display: flex;
  }

  .nav-links ul {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .nav-links ul li {
    width: 100%;
  }

   .nav-links ul li a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 1rem;
    border-top: 1px solid #444;
  }

  .nav-links ul li a:hover {
    background-color: white;
    color: #333;
  }

  .top-bar nav {
  position: static;
  width: 100%;
  display: none; /* Hidden by default */
  margin-top: 0.5rem;
}

  .top-bar nav.show {
    display: flex; /* Shown when toggled */
    justify-content: center;
  }

  .top-bar nav.open {
  max-height: 500px; /* large enough to fit all menu items */
}

 .top-bar nav ul {
  flex-direction: column;
  width: 100%;
  background-color: #333;
  margin: 0;
  padding: 0;
  align-items: center; /* ✅ centers the <li> */
  text-align: center;   /* ✅ centers the text */
}
.top-bar nav ul li {
  width: 100%;
}

  .top-bar nav ul li a {
    display: block;
    width: 100%;
    text-align: center;
  }

   .top-bar .logo img {
    height: 3.125rem; 
  }

  .reference-item {
    padding: 1.5rem 1rem;
    font-size: 0.95rem;
  }

  .reference-item h3 {
    font-size: 1.2rem;
  }
  .site-footer {
    font-size: 0.8rem;
    padding: 1.5rem 1rem;
  }
}


