@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');
/* For animation */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Hover effect for nav links */
.nav-link:hover {
  color: #C0c0c0 !important; /* or any highlight color */
  font-weight: bold;
  text-decoration: underline;
}

/* For bottom nav links if they don't use .nav-link class */
.bnav a:hover {
  color: #c0c0c0;
  font-weight: bold;
}


html{
    scroll-behavior: smooth;
}

/* Smaller Devices */   
  /* Initially hide the bottom navigation */
  .bnav {
    display: none;
}

#landing{
    background:
       linear-gradient(
        rgba(0,34,65,0.61),
        rgba(0,34,65,0.61)
       ),
    url(/picture/landinghelmet.png);
    background-repeat: no-repeat;
    background-size: cover;
}

#land-title{
    font-weight: bold;
    color: pink;
}

#text-title{
	font-family: Montserrat;
	font-weight: 700;
	font-size: 24px;
	line-height: 32px;
	color: #DC3545;
    animation : fadeInUp 1s ease-out forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

#about p{
	font-family: Montserrat;
	font-weight: 500;
	font-size: 16px;
	line-height: 24px;
	color: #DC3545;
}

.service-img {
    height: 280px;
    object-fit: cover;
  }

/* Show the bottom navigation on screens with a maximum width of 768px */
@media (max-width: 719px) {
    .bnav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: #F33A6A; /* Adjust as needed */
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 10px 0;
        z-index: 1000; /* Ensure it stays on top */
        box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1); /* Optional shadow */
    }

    .bnav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: #fff; /* Adjust as needed */
        text-decoration: none;
    }

    .bnav a i {
        font-size: 24px; /* Adjust icon size */
        margin-bottom: 5px;
    }

    .bnav a span {
        font-size: 12px; /* Adjust text size */
    }

    #sub-title-landing{
        font-size: 20px;
    }

    #land-title{
        font-size: 30px;
    }
}

@media (max-width: 719px){
    nav.navbar{
        display: none;
    }
}


/* Default: hidden */
#backToTopBtn {
    display: none;
    position: fixed;
    bottom: 40px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: black;
    color: white;
    cursor: pointer;
    padding: 20px;
    border-radius: 50;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s;
  }
  
  /* Hover effect */
  #backToTopBtn:hover {
    background-color: #b02a37;
  }
  
  /* Show on medium (≥768px) and larger devices only */
  @media (min-width: 768px) {
    #backToTopBtn.show {
      display: block;
    }
  }
  