/* Resetting default margin and padding */
body, h1, h2, h3, p, ul {
  margin: 0;
  padding: 0;
}

/* Global styles */
body {
  font-family: "arial", "sans-serif";
  line-height: 1.6;
  background-color: #e9e9e9;
  padding-bottom: 200px;
}

.container {
  width: 90%;
  /* margin: 0 auto; */
  padding: 20px;
  margin: auto;
}

/* Header styles */
header {
  display: flex;
  margin: 0 auto;
  width: 100%;
  background-color: #333;
  z-index: 1;
  justify-content: space-between;
  align-items: center;
}

.hero-container {
  width: 100%;
  margin: auto;
  position: relative;
  height: 50vh;
  overflow: hidden;
  z-index: -1;
}
.hero-container h1 {
  font-size: 6vw;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 26ch;
  opacity: 1;
  z-index: 1;
}
.hero-container img {
  position: absolute;
  opacity: 30%;
}
.hero-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/hero.jpg'); /* Your hero image */
  background-size: 150%;
  background-position: center;
  filter: grayscale(100%);
  opacity: 0.3; /* Adjust the opacity value (0.5 in this example) */
  z-index: -1; /* Ensure the overlay is behind other content */
}

.company-logo {
  margin-left: 10%;
  padding: 10px 0px;
  width: 15%;
  height: auto;
  max-width: 400px;
  flex-basis: 200px;
}

#nav-bar {
  margin-left: auto;
  margin-right: 10%;
  color: white;
}

#nav-bar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#nav-bar ul li {
  display: inline-block;
  margin-left: 20px;
  font-size: 20px;
}

.nav-link {
  color: white;
  text-decoration: none;
}

/* Main content styles */
section {
  padding: 20px 0;
}

.line-h {
  height: 2px;
  background-color: #257cce;
  align-self: center;
  flex-grow: 1;
}

.legal-text {
  text-align: justify;
}

.box {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.col h2 {
  text-align: center;
  margin: 10px auto;
}

.col {
  flex-grow: 1;
  flex-shrink: 0;
  flex-basis: calc(33.33% - 20px);
  background-color: #cccccc;
  transition: background-color 0.3s;
  padding: 10px;
  box-sizing: border-box;
}
.col img {
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 80%;
  max-width: 400px;
  max-height: 300px;
}
.col {
  flex-basis: 100%;
}

.col-header-div {
  display: flex;
  align-items: center;
}
.col-header-div img {
  margin-right: 10px;
  height: 3.5rem;
  width: 1.5rem;
  flex-basis: 3.5rem;
  margin-left: 0;
}

/* Footer styles */
footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #333;
  color: white;
}

#contact {
  text-align: center;
  flex-shrink: 1;
  flex-basis: max-content;
}

#footer-final{
  display: flex;
  align-items: center;
}

#footer-final img{
  width: auto;
  max-width: 50%;
  max-height: 6vh;
  object-fit: contain;
  margin-left: 0;
  display: none;
  margin: 10px 0px;
  padding-left: 5vw;
}

#footer-registration {
  padding-right: 5vw;
  text-align: left;
  flex-shrink: 1;
  margin: 10px 0px;
  flex-basis: max-content;
}

/* Tablet Portrait */
@media only screen and (min-width: 450px) {
  body {
    padding-bottom: 150px;
  }
  .col {
    flex-basis: 30%;
  }
  .container {
    width: 80%;
  }
  .hero-container h1 {
    font-size: 5vw;
  }
  .hero-container {
    height: 50vh;
  }
  #footer-final img {
    display: flex;
  }
}
/* Tablet Landscape */
@media only screen and (min-width: 1000px) {
  body {
    padding-bottom: 150px;
  }
  .col {
    flex-basis: 30%;
  }
  .container {
    width: 80%;
  }
  .hero-container h1 {
    font-size: 5vw;
  }
  .hero-container {
    height: 55vh;
  }
  .col img {
    float: left;
    width: 60%;
    margin-right: 10px;
  }
  #footer-final img {
    max-height: 5vh;
  }
}
/* Desktop */
@media only screen and (min-width: 1200px) {
  .container {
    width: 70%;
  }
  .hero-container h1 {
    font-size: 3vw;
  }
  .hero-container {
    height: 65vh;
  }
  #footer-final img {
    max-height: 6vh;
  }
}