:root {
  --subMenuBgColor: #FFD23F;
  --menuFontColor:#fff;
  --menuFontColorHover:#7B3F00    ;
}

/* Importing Google font - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  z-index:1000 ;
}

header .navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;

}

.navbar .logo {
  color: #fff;
  font-weight: 600;
  font-size: 2.1rem;
  text-decoration: none;
}

.navbar .logo span {
  color: #C06B3E;
}

.navbar .menu-links {
  display: flex;
  list-style: none;
  gap: 35px;
}

.navbar a {
  color: var(--menuFontColor);
  text-decoration: none;
  transition: 0.2s ease;
}
/*menu font color on hover*/
.navbar a:hover {
  color: var(--menuFontColorHover);
}

.hero-section {
  height: 100vh;
  background-image: url("hero-bg.jpg");
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
  padding: 0 20px;
}

.hero-section .content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  color: #fff;
}

.hero-section .content h2 {
  font-size: 3rem;
  max-width: 600px;
  line-height: 70px;
}

.hero-section .content p {
  font-weight: 300;
  max-width: 600px;
  margin-top: 15px;
}

.hero-section .content button {
  background: #fff;
  padding: 12px 30px;
  border: none;
  font-size: 1rem;
  border-radius: 6px;
  margin-top: 38px;
  cursor: pointer;
  font-weight: 500;
  transition: 0.2s ease;
}

.hero-section .content button:hover {
  color: #fff;
  background: #C06B3E;
}

#close-menu-btn {
  position: absolute;
  right: 20px;
  top: 20px;
  cursor: pointer;
  display: none;
}

#hamburger-btn {
  color: #fff;
  cursor: pointer;
  display: none;
}

@media (max-width: 768px) {
  header {
    padding: 10px;
  }

  header.show-mobile-menu::before {
    content: "";
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(5px);
  }

  .navbar .logo {
    font-size: 1.7rem;
  }

    
  #hamburger-btn, #close-menu-btn {
    display: block;
  }
/*mobile display menu left to right open*/
  .navbar .menu-links {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100vh;
    background: #a0dff8;
    flex-direction: column;
    padding: 70px 40px 0;
    transition: left 1.2s ease;
  }

  header.show-mobile-menu .navbar .menu-links {
    left: 0;
  }

  .navbar a {
    color: #000;
  }

  .hero-section .content {
    text-align: center;
  }

  .hero-section .content :is(h2, p) {
    max-width: 100%;
  }

  .hero-section .content h2 {
    font-size: 2.3rem;
    line-height: 60px;
  }
  
  .hero-section .content button {
    padding: 9px 18px;
  }
  
}
/*on scroll effect*/
.nav-colored { background-color:#011899 ; }
.nav-transparent { background-color:transparent;}

/*sub menu*/
.navbar ul li ul {
  border: 1px solid;
  display: none;
  width: auto;
  padding: 0;
  margin: 0;
  list-style-type:none;
  position: absolute;
  padding-left: 10px;
  padding-right: 16px;

}
/* sub menu background */
.navbar ul li:hover ul {
  display: block;
  background-color:var(--subMenuBgColor);
  border: none;
  padding-right: 26px;
  padding-top: 10px;
  padding-bottom: 10px;
  border-radius: 8px;
 
}

.arrw{
  color: brown;
}
/*sub menu bos li item*/
.subM{
  margin-bottom: 6px;
  padding-bottom: 4px;
  border-bottom: solid 1px #151313a1;
}


