* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.header {
  /* background: #f2f2f2; */
  min-height: 100vh;
  width: 100%;
  background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)),
    url(/images/sgth_background/sgth_background.jpg);
  background-position: center;
  background-size: cover;
  position: relative;
  z-index: 2;
} 
/*nav {*/
/*  background: #00000044;*/
  /* background: #00000000; */
  /* background: rgba(0, 0, 0, 0.15); */
/*  position: fixed;*/
/*  width: 100%;*/
/*  z-index: 1;*/
/*  height: 125px;*/
/*  line-height: 65px;*/
/*}*/
nav{
   background: rgba(0, 0, 0, 0.15); /* Adjust transparency as needed */
  /*background: #00401A ;*/
  /*background: #343a40 ;*/
  background: #292222 ;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  line-height: 50px;
  z-index: 1000; /* Ensure it stays above other elements */
}
nav .wrapper {
  min-width: 1250px;
  padding: 10px 45px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sgth_logo img {
  width: 70px;
  height: 70px;
  /* margin-left: 40px;
  margin-top: 40px; */
  float: left;
}
.wrapper .nav-links {
  display: inline-flex;
}
.nav-links {
  /* background: #00000044; */
  color: white;
  border-radius: 5px;
}
.nav-links li {
  list-style: none;
}
.nav-links li a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 6px 10px;
  transition: all 0.3s ease;
}
.nav-links li a:hover {
  /* background: #3a3b3c; */
  color: black; /* cyan is also good*/
  border-radius: 5px;
  /* background: rgb(10, 10, 10); */
  background: rgba(255, 255, 255, 0.568);
  box-shadow: 0 0 5px black, /*red also suits here*/ 0 0 5px black;
}
.nav-links .dropdown-menu {
  /* background: #7a7b7e44; */
  /*background: #000000cc;*/
  background: #292222 ;
  width: 180px;
  top: 60px;
  line-height: 45px;
  position: absolute;
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
}
.nav-links li:hover .dropdown-menu,
.nav-links li:hover .mega-box {
  top: 65px;
  opacity: 1;
  visibility: visible;
  transition: all 0.3s ease;
}
.dropdown-menu li a {
  width: 100%;
  display: block;
  padding: 0 0 0 15px;
  font-weight: 400;
  border-radius: 0px;
}
/*.mega-box {*/
/*  position: absolute;*/
/*  top: 70px;*/
/*  width: 80%;*/
  /* left: 17%; */
/*  right: 7%;*/
/*  opacity: 0;*/
/*  visibility: hidden;*/
/*}*/
.mega-box {
  position: absolute;
  top: 70px;
  width: 100%;
  /* left: 17%; */
  right: 0%;
  opacity: 0;
  visibility: hidden;
}
.mega-box .content {
  /*background: #000000cc;*/
  /*background: #00401A ;*/
  background: rgba(41, 34, 34, 0.7) ;
  padding: 1.5rem 1.2rem;
  display: flex;
  width: 100%;
  justify-content: space-between;
  border-radius: 5px;
}
.content .nav-row {
  /* width: calc(40% - 70px); */
  flex-basis: 33%;
  line-height: 2.0rem;
}
.content .nav-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.content .nav-row header {
  color: #f2f2f2;
  font-size: 1.2rem;
  font-weight: 500;
}
.content .nav-row .mega-links {
  margin-left: -40px;
  border-left: 1px solid rgba(255, 255, 255, 0.09);
}
.content .nav-row:nth-child(1),
.content .nav-row:nth-child(2) {
  border-left: 0px;
}

.nav-row .mega-links li {
  padding: 0 20px;
}
.nav-row .mega-links li a {
  padding: 0 20px;
  color: #d9d9d9;
  font-size: 1rem;
  display: block;
}
.nav-row .mega-links li a:hover {
  color: #000000;
}
.nav-links .mobile-item {
  display: none;
}
.wrapper .btn {
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  display: none;
  margin-left: 2%;
}
.wrapper .btn .cancel-btn {
  position: absolute;
  right: 30px;
  top: 10px;
}
#show_dropdown{
  display: none;
}
#menu-btn,
#cancel-btn {
  display: none;
}
#show_mega {
  display: none;
}

.text-box {
  width: 90%;
  color: #fff;
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.text-box h1 {
  font-size: 3rem;
}
.text-box p {
  margin: 10px 0 40px;
  font-size: 14px;
  color: #fff;
}
.hero-btn {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  border: 1px solid #fff;
  padding: 12px 34px;
  font-size: 13px;
  background: transparent;
  position: relative;
  cursor: pointer;
}
.hero-btn:hover {
  border: 1px solid #f44336;
  background: #f44336;
  transition: 1s;
}
#login:hover{
  background: #007bff;
}



/* hero-section and background image for the rest of pages */

.header-for-rest-of-pages {
  min-height: 70vh;
  width: 100%;
  background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)),
    url(/images/sgth_background/sgth_background.jpg);
  background-position: center;
  background-size: cover;
  position: relative;
}
.text-box-for-rest-of-pages {
  width: 90%;
  color: #fff;
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  line-height: 1.2;
}
.text-box-for-rest-of-pages h1 {
  font-size: 2.5rem;
}
.text-box-for-rest-of-pages p {
  margin: 10px 0 40px;
  font-size: 14px;
  color: #fff;
}
.hero-btn {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  border: 1px solid #fff;
  padding: 12px 34px;
  font-size: 13px;
  background: transparent;
  position: relative;
  cursor: pointer;
}
.city{
    font-size: 30px;
}
/* Responsive code */
/* @media screen and (max-width: 970px) { */
@media screen and (max-width: 1237px) {
  .wrapper .btn {
    display: block;
  }

  #menu-bar {
    display: block;
    font-size: 1.8rem;
    position: fixed;
    top: 1.5rem;
    /* right: 2.5rem; */
    right: 10%;
  }
  .fa-solid.fa-bars{
    text-align: center;
  }
  .wrapper .nav-links {
    position: fixed;
    height: 100vh;
    width: 100%;
    min-width: 350px;
    background: #242526;
    display: block;
    top: 0;
    left: -200%;
    overflow-y: auto;
    line-height: 50px;
    padding: 50px 10px;
    box-shadow: 0 15px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
  }
  #menu-btn:checked ~ .nav-links {
    left: 0%;
  }
  #menu-btn:checked ~ .btn.menu-btn {
    display: none;
  }
  .nav-links::-webkit-scrollbar {
    width: 0px;
  }
  .nav-links li {
    margin: 15px 10px;
  }
  .nav-links li a {
    padding: 0 20 px;
    display: block;
    font-size: 20px;
  }
  .nav-links .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    top: 65px;
    padding-left: 20px;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
  }
  #show_dropdown:checked ~ .dropdown-menu,
  #show_mega:checked ~ .mega-box {
    max-height: 100%;
  }
  .nav-links .dropdown-menu li {
    margin: 0;
  }
  .nav-links .dropdown-menu li a {
    font-size: 18px;
    border-radius: 5px;
  }
  .nav-links .desktop-item {
    display: none;
  }
  .nav-links .mobile-item {
    display: block;
    font-size: 20px;
    color: #f2f2f2;
    font-weight: 500;
    padding-left: 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
  }
  .nav-links .mobile-item:hover {
    background: #3a3b3c;
  }

  #show_dropdown_user:checked ~ .dropdown-menu,
  #show_mega:checked ~ .mega-box {
    max-height: 100%;
  }

  .mega-box {
    position: static;
    top: 65px;
    width: 100%;
    opacity: 1;
    visibility: visible;
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
  }
  .mega-box .content {
    background: #000000cc;
    flex-direction: column;
    padding: 20px 20px 0 20px;
  }
  .mega-box .content .nav-row {
    width: 100%;
    margin-bottom: 15px;
    border-top: 1px solid rgba(red, green, blue, 0.08);
  }
  .mega-box .content .nav-row:nth-child(1),
  .mega-box .content .nav-row:nth-child(2) {
    border-top: 0px;
  }
  .content .nav-row .mega-links {
    border-left: 0px;
    padding-left: 15px;
  }
  .nav-row .mega-links li {
    margin: 0;
  }

  .content .nav-row header {
    font-size: 19px;
  }

  .text-box,
  .text-box-for-rest-of-pages {
    top: 50%;
    margin-left: 0;
  }
  .text-box h1,
  .text-box-for-rest-of-pages h1 {
    margin: 10px 0;
    padding: 0;
    font-size: 16px;
  }
  .text-box p,
  .text-box-for-rest-of-pages p {
    margin: 10px;
    padding: 0;
    font-size: 12px;
  }
  .hero-btn {
    padding: 6px 16px;
    font-size: 10px;
  }
  .city{
     display: block;
     margin-top: -10px;
    font-size: 15px;
    }
}


@media screen and (max-width: 800px) {
    
  .sgth_logo img {
  width: 70px;
  height: 70px;
  /* margin-left: 40px;
  margin-top: 40px; */
  float: left;
}

}





