/* Base Styles (Mobile-First) */
body {
  margin: 0;
  background-image: url(BG4.png);
  min-height: 100vh;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.FloatingImg {
  display:none;
}

.menu-container {
  position: relative;
}

.burger {
  position: fixed;
  top: 6%;
  left: 10%;
  width: 8vw;
  height: 6vw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 2001;
}

.burger span {
  display: block;
  height: 4px;
  width: 100%;
  background: #333;
  border-radius: 2px;
  transition: all 0.5s ease;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.nav {
  position: fixed;
  top: 0vh;
  left: -100vw; /* More reliable than -100% */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: left 0.5s ease;
  z-index: 2000;
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 3%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  
  font-family: "Roboto", sans-serif;
  font-weight: 300;
}

.nav.open {
 left:0;
}


.nav ul {
  list-style: none;
  padding: 0;
}

.nav ul li {
  margin: 20px 0;
  transition: transform 0.2s ease;
}

.nav ul li:hover {
  transform: scale(1.1);
}

.nav ul li a {
  color: black;
  text-decoration: none;
  font-size: 2rem;
}

.MainLogo {
  position: fixed;
  height: 20vh;
  width: auto;
  left: 27vw;
  top: -2vh;
  z-index: -1;
}

.LogIn{
  position: fixed;
  top: 5vh;
  right: 3vw;
  padding:0.25rem;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 3%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.2s ease;
  z-index: 1001;
}

.LogInButton {
  cursor: pointer;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 1rem;
  background: none;
  border:none;
  
}

.LogIn:hover {
  transform: scale(1.1);
}

a:link, a:visited {
  text-decoration: none;
  color: black;
}

ul {
  text-align: left;
}


.ServiceAlert {
  background: rgba(241, 119, 119, 0.705);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 3%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  position: relative;
  top:15vh;
  margin: 5% auto;
  width: 70vw;
  padding: 2%;
  text-align: center;
  font-family: "Roboto", sans-serif;
  font-weight: 200;
  font-size: 0.75rem;
}

.ContentBlock, .ContentBlock2{
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 3%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  position: relative;
  top:15vh;
  margin: 5% auto;
  width: 70%;
  padding: 2%;
  text-align: center;
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-size: 0.80rem;
}

.ContentSection2, .ContentSection3{
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 3%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  position: relative;
  top:13vh;
  margin: 10% auto;
  width:70%;
  padding: 2%;
  text-align: center;
  font-family: "Roboto", sans-serif;
  font-weight: 200;
  font-size: 0.80rem;
}

.ContentBlock2 {
  text-shadow: 2px 2px white;
}

.ContentBlock p,
.ContentBlock ul li,
.ContentBlock2 p {
  font-size: 0.85rem;
}

.Image1 {
  width: 60%;
  height: auto;
  background-color: rgb(199, 195, 195);
  border-radius: 5px;
  border: 2px solid rgba(95, 94, 92, 0.486);
  margin: auto;
  display:none;
}

.footer {
  font-family: "Roboto", sans-serif;
  position:relative;
  top: 10vh;  
  font-weight: 400;
  text-align: center;
  margin-top: 30%;
  padding: 2%;
  font-size: 1rem;
}

/* Fade-in Animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 0.3s;
}

/* Delay staggered effect for multiple elements */
.fade-in:nth-child(2) {
  animation-delay: 0.5s;
}
.fade-in:nth-child(3) {
  animation-delay: 0.7s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* --------------------------- */
/* Tablet and Desktop Queries */
/* --------------------------- */
@media (min-width: 768px) {
  
  .ContentSection1 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 70%;
    margin: 1% auto;
    gap: 0.5%;
  }

  .ContentSection3{
    top:1vh;
    width: 65vw;
    height: auto;
    margin:1% auto;
    font-size: 1rem;
  }
  
.FloatingImg{
  display: block;
  z-index: -1;
  position: absolute;
  right:5vw;
  top: 60vh;
  height: 15vw;
  width: auto;

}

  .ContentBlock, .ContentBlock2 {
    width: 30vw;
    position: relative; /* reset absolute positioning */
    top: 2vh;
    left: auto;
    right: auto;
    margin:5% auto;
    font-weight: 300;
    font-size: 1rem;
  }

  .ContentBlock p,
.ContentBlock ul li,
.ContentBlock2 p {
font-size: 1rem;
}

.Image1{
  display: block;
  width:15vw;
  height:auto;
}

  .burger {
    width: 3%;
    height: 2.75%;
    top: 6%;
    left: 2%;
  }

.MainLogo {
  position: fixed;
  height: 25vh;
  width: auto;
  left: 7%;
  top: -4vh;
  z-index: -1;
}


  .nav ul li a {
    font-size: 2.5rem;
    padding:5%;
  }

  .nav {
 top:14vh;
width:20%;
height:auto;
}

.nav.open {
top:14vh;
left:0vw;
width:20%;
height:auto;
}


.LogIn{
  position: fixed;
  top: 5vh;
  right: 5vh;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 3%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.2s ease;
  z-index: 1001;
}

.ServiceAlert {
  margin:2% auto;
  margin-bottom: 2%;
  font-size: 1rem;
  width: 30vw;
  height:auto;
  top:0.25vh;
  left:1vw;
  
  
}

.ServiceAlert p{
  font-weight: 400;
  font-size: 1rem;
}

.footer{
  position:relative;
  bottom: 0vh;
  margin-top: 0%;
}

}

