body, html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #77796f;
  color: #fff;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 20px;
}

.logo {
  height: 50px;
}

nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin-left: 20px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.nav-links li a.active-nav {
  color: #cbd992;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
}

.hamburger .bar {
  width: 25px;
  height: 3px;
  background-color: #fff;
  margin: 3px 0;
  transition: all 0.3s ease-in-out;
}

#hero {
  height: 100vh;
  background-image: url('../images/bsf-hero.png'); /* Replace with your image URL */
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  text-align: left;
  color: #fff;
}

.hero-content {
  max-width: 600px;
  margin-left: 5%;
  text-shadow: 1px 1px 2px #000;
}

.hero-headline {
  font-size: 3em;
  margin: 0;
  text-shadow: 1px 1px 2px #000;
}

.hero-subheader {
  font-size: 1.5em;
  color: #ff6600;
  margin: 20px 0;
}

.hero-cta {
  display: inline-block;
  padding: 10px 20px;
  background-color: #5f66a4;
  color: #fff;
  text-decoration: none;
  font-size: 1.2em;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.hero-cta:hover {
  background-color: #7a7fa5;
}

section {
  padding: 50px 20px;
  background-color: #f4f4f4;
  text-align: left;
}

section h2 {
  font-size: 2.5em;
  color: #162590;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-bottom: 2px solid #ff6600;
  display: inline-block;
  padding-bottom: 5px;
}

section h3 {
  font-size: 2em;
  color: #162590;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-bottom: 2px solid #cbd992;
  display: inline-block;
  padding-bottom: 5px;
}

section p {
  font-size: 1.2em;
  color: #666;
  max-width: 800px;
  margin: 0 5%;
}

.card-container {
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  align-items: center;
  max-width: 1140px;
}

.card {
  display: flex;
  flex-direction: column;
  text-align: center;
  border: 1px solid #000;
  border-radius: 10px;
  overflow: hidden;
  margin: 5%;
}

.card img {
  max-width: 300px;
}



@media (max-width: 768px) {
  .nav-links {
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 50px;
    right: 0;
    flex-direction: column;
    width: 100%;
    transform: translateY(-100%);
    transition: all 0.5s ease-in-out;
  }
  
  .nav-links.nav-active {
    display: flex;
    opacity: 100%;
    pointer-events: auto;
    background-color: #333;
    transform: translateY(0);
  }

  .nav-links li {
    text-align: center;
    margin: 10px 0;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 8px);
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -7px);
  }

  #hero {
    justify-content: center;
    text-align: center;
  }
  
  .card-container {
    flex-direction: column;
  }
}

.mission-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.mission-text {
    flex: 1 1 50%;
    min-width: 250px;
    margin-left: 18px;
}

.mission-image {
    flex: 0 1 40%;
    max-width: 300px;
}

.mission-image img {
        width: 100%;
        border-radius: 5px;
        margin: 0 0 0 5%;
        height: auto;
}

@media (max-width: 768px) {
    .mission-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .mission-image {
        margin: 20px 0 0 0;
        max-width: 100%;
    }

        .mission-image img {
            margin: 5% 0 0 0;
        }
}

.mou-content {
  display: flex;
  gap: 20px; /* Space between cards */
}

.mou-card {
  flex: 1;
  text-align: center;
}

.mou-image {
  width: 100%;
  height: auto;
  max-width: 300px; 
}

.mou-description {
  margin-top: 10px;
}

.group-photo {
  text-align: center;
  margin-top: 20px;
}

.group-photo img {
  width: 100%;
  height: auto;
  max-width: 400px; 
}

.innovation-item {
  margin-bottom: 20px;
}

.comparison-list {
  list-style-type: disc; 
  margin: 0;
  padding-left: 20px; 
}

.comparison-list li {
  font-size: 1.2em; 
  color: #666; 
  line-height: 1; 
  margin-bottom: 5px;
  padding-left: 50px; 
}

.team-photos {
  display: flex;
  flex-wrap: wrap; 
  gap: 20px; 
  justify-content: center; 
}

.team-photo {
  text-align: center;
  flex: 1 1 45%; 
  max-width: 35%; 
  box-sizing: border-box; 
}

.team-photo img {
  width: 100%;
  height: auto; 
  max-height: 300px; 
}

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

  .team-photo {
    flex: 1 1 100%;
    max-width: 100%;
    margin-bottom: 20px;
  }
}



