* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
  font-family: "Roboto", "Helvetica Neue", Helvetica, Arial;
  font-size: 16px;
}

header {
  width: 100%;
  height: 85px;
  background-color: #03045e;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 48px;
  color: white;
  gap: 12px;
}

header img {
  width: 52px;
}

.nav-ul {
  display: flex;
  list-style: none;
  justify-content: center;
  align-items: center;
  gap: 32px;
}

.nav-ul li a {
  color: white;
  text-decoration: none;
}

.nav-ul li a:hover {
  color: #57cc99;
}

.header-form form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.header-form form input {
  width: 240px;
  padding: 10px;
  border: none;
  border-radius: 4px;
  background-color: #f1f1f1;
  outline: none;
}

.header-form form button {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  background-color: #57cc99;
  color: white;
  cursor: pointer;
}

.main-form-mobile form {
  display: flex;
  gap: 6px;
  padding: 12px 0px;
  justify-content: left;
  align-items: start;
  flex-wrap: wrap;
}

.main-form-mobile form input {
  width: 240px;
  padding: 10px;
  border: none;
  border-radius: 4px;
  background-color: #f1f1f1;
  outline: none;
}

.main-form-mobile form button {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  background-color: #57cc99;
  color: white;
  cursor: pointer;
}

.menu-mobile {
  display: none;
  color: white;
}

.menu-mobile img {
  width: 32px;
}

#menu {
  display: flex;
  width: 100vw;
  height: 100vh;
  position: fixed;
  background-color: #03045e;
  top: 85px;
  left: -200vw;
  flex-direction: column;
  color: white;
  border-top: 1px solid #57cc99;
  transition: left 0.5s ease;
}

.menu-nav-ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px 32px;
}

.menu-nav-ul a {
  text-decoration: none;
  color: white;
}

.fixed-header {
  position: fixed !important;
}

.show-menu {
  left: 0 !important;
  transition: left 0.5s ease;
}

main {
  padding: 48px 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.main-section {
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.main-section h4 {
  font-size: 2rem;
  color: gray;
}

.main-cards {
  display: flex;
  gap: 72px;
  flex-wrap: wrap;
  align-items: stretch;
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  flex: 1;
  min-width: 300px;
  max-width: 350px;
  height: auto;
}

.card_title {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #57cc99;
}

.card_title a {
  font-size: 1.2rem;
  text-decoration: none;
  color: #57cc99;
  font-weight: 600;
}

.card_content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 48px;
  padding-right: 48px;
  padding-top: 12px;
  list-style: none;
}

.card_content li a {
  color: gray;
  text-decoration: none;
}

.card_content li a:hover {
  color: #57cc99;
}

.main-section_content {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 24px;
}

.main-section_title {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: left;
  align-items: left;
  align-content: start;
  text-align: start;
}

.main-section_title h2 {
  font-size: 2.5rem;
  color: gray;
}

.main-section_title a {
  color: #57cc99;
  text-decoration: none;
}

.main-section_companies {
  width: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(128, 128, 128, 0.336);
  border-radius: 4px;
}

.main-section_companies_title {
  background-color: #57cc99;
  color: white;
  padding: 16px;
  display: flex;
}

.main-section_companies_content {
  display: flex;
  flex-direction: column;
  padding: 32px !important;
  gap: 16px;
}


.company_content img { max-width: 100% !important;}
.company_content a { display: block !important;}

.main-section_companies_content .company_img {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  object-fit: cover;
}

.main-section_companies_content .company_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
}

.main-section_2 {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid rgba(128, 128, 128, 0.336);
  border-radius: 4px;
}

.main-section_2_nav {
  background-color: #57cc99;
  color: white;
  padding: 16px;
}

.main-section_2_nav ul {
  display: flex;
  list-style: none;
  gap: 24px;
}

.main-section_2_nav ul li:hover {
  color: #03045e;
  cursor: pointer;
}

.main-section_companies_content {
  color: black;
  padding: 16px;
  display: flex;
  gap: 16px;
}

.main-section_2_form form {
  display: flex;
  flex-direction: column;
  justify-content: start;
  gap: 16px;
  padding: 24px 32px;
}

.main-section_2_form form input {
  width: 100%;
  padding: 10px;
  border: 1px solid rgb(196, 196, 196);
  border-radius: 4px;
  background-color: white;
  outline: none;
}

.main-section_2_form form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid rgb(196, 196, 196);
  border-radius: 4px;
  background-color: white;
  outline: none;
  resize: vertical;
}

.main-section_2_form form button {
  padding: 16px 20px;
  border: none;
  border-radius: 4px;
  background-color: #03045e;
  color: white;
  cursor: pointer;
}

/* Media Queries */

@media screen and (max-width: 768px) {
  .company_img {
    max-width: 200px !important;
    max-height: 200px !important;
  }

  main {
    padding: 24px 12px !important;
    display: block !important;
    width: 100% !important;
  }

  .main-cards {
    justify-content: center;
    align-items: center;
    gap: 16px;
  }

  main h4 {
    text-align: center;
  }

  .card {
    padding: 12px;
  }

  .copyrigfht {
    padding-left: 18px;
    padding-right: 18px;
  }

  .main-section_2_form form {
    padding: 20px;
  }

  .main-section_title {
    width: 100% !important;
  }
}

@media screen and (max-width: 1023px) {
  header {
    padding: 16px 32px;
  }

  header nav {
    display: none;
  }

  header .header-form {
    display: none;
  }

  .header-logo img {
    width: 48px;
  }

  .menu-mobile {
    display: flex;
  }

  .company_img {
    max-width: 275px;
    max-height: 275px;
  }

  .main-section_2_nav ul {
    flex-direction: column;
  }

  footer {
    padding: 64px 32px !important;
    justify-content: center;
    align-items: center;
  }

  footer h5 {
    font-size: 2rem;
  }

  .card_title h6 {
    font-size: 1.1rem;
  }

  .header-logo img {
    width: 48px;
  }

  .nav-ul {
    gap: 16px;
  }

  .nav-ul li a {
    font-size: 0.9rem;
  }

  .main-section_title {
    width: 700px;
  }
}

@media screen and (min-width: 1024px) {
  .nav-ul {
    gap: 48px;
  }

  .main-form-mobile {
    display: none;
  }
}

footer {
  display: flex;
  flex-direction: column;
  gap: 32px;
  background-color: #03045e;
  color: white;
  padding: 72px;
  padding-bottom: 48px;
}

footer h5 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #57cc99;
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

footer ul {
  width: 100%;
  display: flex;
  gap: 16px;
  list-style: none;
  flex-direction: column;
  justify-content: start;
  align-items: start;
}

footer ul li a {
  text-decoration: none;
  color: white;
}

footer ul li a:hover {
  cursor: pointer;
  color: #57cc99;
}

.copyrigfht {
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgba(255, 255, 255, 0.767);
  text-align: center;
  margin-top: 24px;
}

.main-section_companies_content .company_content {
  flex-direction: column !important;
  display: flex !important; 
}

.main-section_companies_content ul li {
    margin-bottom: 8px;
}
