/* Navbar and hero images */


.navbar-container{
  background-color: black;
  padding: 5px ;
  padding-inline-end: 20px;
  border: none;
  border-radius: 50px;
}

.navbar-custom {
  background:black;
    /* opacity: 80%; */
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
}
.navbar-brand img {
  height:52px;
  width:170px;
  margin-left: 40px;
}
.navbar-nav{
  align-items: center;
  font-family: 'Poppins', sans-serif;
  display: flex;
  gap: 20px;
  margin-right: 250px;
  font-size:14px;
  color:white;
}
.navbar-nav .nav-link {
  position: relative;
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.685) ;
}
.navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #79e079;
  transition: width 0.3s ease;
}
.navbar-nav .nav-link:hover::before{
  width: 100%;
}
.navbar-nav .nav-link:hover {
    transition: all 0.3s ease;
    color: white;
}
.navbar-toggler {
  border: none;
  outline: none;
  background-color: transparent;
}
.toggler{
  color: white;
  font-size: 24px;
}
.line{
  display: none;
  height: 2px ;
  width: 100%;
  background-color: white;
}
/* navbar action buttons are styled inline in nav.php per request */

#userHead{
  margin: 7px;
  margin-inline: 27px;
}
#logbtn{
  background-color: transparent;
  color: white;
  border: none;
  margin: 6px;
}


  /* Custom #btn styling for theme and sidebar appearance */



  /* Optional: Slow down scroll for main content (works for anchor links and wheel events) */
  .main {
    scroll-behavior: smooth;
  }

  /* Set Developer's form checkbox color to green */

  
    
    .btn {
      display: inline-block;
      padding: 12px 24px;
      font-size: 18px;
      color: rgb(89, 89, 89);
      background-color: transparent;
      border: 2px solid rgb(89, 89, 89);
      border-radius:60px;
      cursor: pointer;
      position: relative;
    }
    
    .btn .fa-btn {
      display: none;
    }
    
    .btn:hover .fa-btn {
      display: inline-block;
      
      animation: fadeIn 0.3s ease;
      margin-inline: 5px;
      color: rgb(121, 224, 121);
    }
    .btn a{
      text-decoration: none;
      color: rgb(89, 89, 89);
    }
 
    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: translateX(-15px);
      }
      to {
        opacity: 1;
        transform: translateX(0);
      }
    }
      
      .nav-inline-search{
        display: flex;
        align-items: center;
        gap: 8px;
        margin-right: 70px;
        background: rgba(255,255,255,0.02);
        border: 1px solid rgba(255,255,255,0.03);
        padding: 6px 8px;
        border-radius: 10px;
      }
      .navbar-actions{
        display:flex;
        align-items:center;
        gap:10px;
        position: absolute;
        right: 18px;
        margin-right: 50px;
      }
      .nav-action-btn{
        background: transparent;
        border: none;
        color: rgba(255,255,255,0.9);
        padding: 8px;
        border-radius: 8px;
        font-size: 16px;
        cursor: pointer;
        transition: background 140ms ease, transform 140ms ease;
      }
      .nav-action-btn:hover{ background: rgba(255,255,255,0.03); transform: translateY(-1px); }
      .nav-inline-search input[type="search"]{
        background: transparent;
        border: none;
        outline: none;
        color: #fff;
        width: 200px;
        font-size: 14px;
      }
      .nav-inline-search input{
        background: transparent;
      }
      .nav-inline-search button{
        background: transparent;
        color: #79e079;
        border: none;
        padding: 6px 8px;
        cursor: pointer;
      }
      .navbar-actions-2{
        display: none;
      }

      /* User Avatar in Header */
      .user-avatar {
        cursor: pointer;
        margin-left: 10px;
      }
      .user-avatar .avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: linear-gradient(135deg, #2fd66a, #12b07a);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        font-weight: 700;
        color: #042;
        border: 2px solid rgba(255, 255, 255, 0.1);
        transition: transform 0.2s ease, border-color 0.2s ease;
      }
      .user-avatar .avatar:hover {
        transform: scale(1.05);
        border-color: rgba(255, 255, 255, 0.3);
      }
      .user-avatar .avatar.img {
        background-size: cover;
        background-position: center;
        color: transparent;
      }
      /* hide inline search on small screens to avoid crowding */
      @media (max-width: 991px) {
        .navbar-nav {
          overflow:auto;
          flex-direction: column;
          margin-right: 0;
          padding-bottom: 20px;
          gap: 1px;
      }
      
      .line{
        display: block;
      }
      .navbar-nav.show{
         max-height: 300px; /* enough space for menu items */
         padding: 10px 20px;
        transition: 1s all;
        text-align: center;
        align-items: center;
        
      }
  
      .navbar-nav .nav-link {
        transition: 1s all;
        margin-right: 0;
        padding: 0.5rem 0;
        }
        .navbar-toggler{
          display: block;
        }
        
      }
      
      /* Mid Responsivness */
      
      
      
      
/* Hero Images  */


.hero-sections{
  display: flex;
  margin-top: 70px;
  position: relative;
  color: white;
  gap: 100px;
  justify-content: start;
  margin-inline: 120px;
  margin-bottom: 100px;
} 
.hero-images{
  color: white;
  display: flex;
}
.hero{
  background-image: url(../images/hero-01.png);
  height: 500px;
  width: 550px; 
  opacity: 0.15;
  position: relative;
}
.hero-02{
  background-image: url(../images/hero-02.png);
  height: 500px;
  width: 550px; 
  position: absolute;
  opacity: 0.5;
  margin-left: 50px;
}
.hero-btn{
  border:1px solid rgb(121, 224, 121) ;
  color: white;
  padding: 15px;
  font-size: 20px;
  border-radius: 30px;
  padding-inline: 22px;
  background-color:transparent;
}

@media (max-width: 1020px){
  .nav-inline-search{ display:none; }
  .hero-02{
    display: none;
  }
  .hero{
    display: none;
    }
    .hero-sections{
      margin-inline: 50px;
      gap: 20px;
      position: relative;
    }
    
  }
  
  
@media  (max-width: 1325px) and (min-width: 900px) {
  .navbar-nav{
    font-size: smaller;
    gap: 0px;
  }
  .navbar-actions{
    margin-right: 0px;
  }
  .hero-sections{
    margin-inline: 10px;
    gap:10px;
  }
  
}