
.value {
  text-align: center;
  padding: 3rem 2rem;
  background-color: #000814;

}

.about-cmd-section {
  background-color: #000814;
  color: #eee;
  padding: 3rem 2rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.about-cmd-container {
  display: flex;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.about-us,
.why-work-cmd {
  flex: 1 1 45%;
  min-width: 280px;
    text-align: center;
  align-content: center;
  justify-content: center;
  text-decoration: none;

}

.about-us h2,
.why-work-cmd h2 {
  color: #f9c800;
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.about-us p {
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.why-work-cmd ul {
  list-style-type: disc;
  padding-left: 1.2rem;
}

.why-work-cmd li {
  margin-bottom: 0.7rem;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: default;
    list-style: none;


}

/* Responsive for smaller screens */
@media (max-width: 768px) {
  .about-cmd-container {
    flex-direction: column;
  }

  .about-us,
  .why-work-cmd {
    flex: 1 1 100%;
    min-width: auto;
  }
}


.mission-gallery {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 3rem 2rem;
  color: #fff;
  flex-wrap: wrap; /* ensures responsiveness */
}

.gallery-card {
  background-color: #fff;
  color: #111;
  border-radius: 10px;
  max-width: 300px;
  width: 100%;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-5px);
}

.gallery-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.caption {
  padding: 1rem;
  font-size: 1rem;
  line-height: 1.5;
}


.centered-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
  color: #fff;
  background: none; /* no background */
}

.centered-form h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
}

.centered-form form {
  display: flex;
  flex-direction: column;
}

.centered-form input,
.centered-form textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid #000000;
  color: #000000;
  padding: 0.8rem 0;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  outline: none;
}

.centered-form input::placeholder,
.centered-form textarea::placeholder {
  color: rgba(0, 0, 0, 0.6);
}

.centered-form button {
  background-color: #f9c800;
  color: #000000;
  padding: 0.6rem 1.2rem;
  font-weight: bold;
  font-size: 1.1rem;
  border-radius: 30px;
  margin-top: 1rem;
  width: fit-content;
  align-self: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.centered-form button:hover {
  background-color: #e0b700;
}


/*ime*/

    .image-gallery {
      display: flex;
      justify-content: center;
      gap: 20px;
      margin: 2rem;
    }

    .image-gallery img {
      width: 200px;
      height: 250px;
      object-fit: cover;
      cursor: pointer;
      border-radius: 8px;
      transition: transform 0.3s ease;
    }

    .image-gallery img:hover {
      transform: scale(1.05);
    }

    /* Overlay Styles */

    .overlay {
      height: 100%;
      width: 0;
      position: fixed;
      z-index: 1;
      top: 0;
      left: 0;
      background-color: #ffffff;
      overflow-x: hidden;
      transition: 0.5s;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #000000;
      padding-top: 100px;
    }

.overlay-content {
  display: grid;
  grid-template-columns: 1fr 1fr; 
  width: 100%;
  height: 80vh; 
  gap: 0;
}

.overlay-left,
.overlay-right {
  width: 100%;
  height: 100%;
  overflow-y: auto; 
}

.overlay-left p {
  font-size: 1.2rem;
  padding: 1rem;
  box-sizing: border-box;
  overflow-y: auto;
  text-align: center;
  align-content: center;
}

.overlay-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0; 
  display: block;
}


.overlay-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay-right img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}


    .overlay .closebtn {
      position: absolute;
      top: 20px;
      right: 40px;
      font-size: 60px;
      color: #fff;
      cursor: pointer;
    }

@media screen and (max-width: 768px) {
  .overlay-content {
    display: block; /* fallback to block */
    width: 90%;
    max-width: none;
    height: auto;
    padding-top: 300px;
  }

  .overlay-left,
  .overlay-right {
    width: 100%;
    height: auto;
  }

  .overlay-left p {
    padding: 1rem;
  }
}

.opptunity h2{
  font-size: 3rem;
    margin-bottom: 1rem;
    color: #f9c800;
}


.opptunity p{
    margin-bottom: 1rem;
    color: #000000;
}

.opptunity {
  text-align: center;
  padding: 3rem 2rem;
}

#overlay-text h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: #f9c800;
}

#overlay-text p {
    font-family: "Libre Franklin", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  line-height: 1.6;
  font-size: 1rem;
}
