    /* *{
    margin:0;
    padding:0;
}
header{
    height: 100px;
    background-color: red;
    padding: 20px 5% 0 5%;
}
header .max-width{
    max-width: 1600px;
    height: 100px;
    margin:auto;
}

header .nav-box{
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1106px;
    height: 100%;
    background-color: white
}


header .nav-box .nav-logo{
    width:30%;
    height: 80px;
    padding:10px;
  
    display:flex;
    align-items: center;
    justify-content: start;

}

header .nav-box .nav-items{
    width:80%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;

}

header .nav-box .nav-items .nav-links{
   
    width:80%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: start;


}

header .nav-box .nav-items .nav-links a{
    text-decoration: none;
    color: black;
    height: 100%;
    font-size: 18px;
    font-weight: 500;
    padding: 0 15px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

header .nav-box .nav-items .contact-btn{
   width:30%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

}

header .nav-box .nav-items .contact-btn a{
    display: block;
    padding: 20px 40px;
    text-decoration: none;
    background: #2FA61C;
    font-size: 18px;
    border-radius: 10px;
    color: white;

} */


section {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

/* When section is visible */
section.show {
  opacity: 1;
  transform: translateY(0);
}


  * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    header {
    
      background-color: white;
      
      position: sticky;
      top: 0;
      z-index: 1000;
    }

  .max-width {
      max-width: 1200px;
      height: 100%;
      margin: auto;
    }

   

    header .nav-box {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 100%;
     
      background: white;
      
    }

    .nav-logo img {
      height: 60px;
    }

    .nav-items {
      display: flex;
      align-items: center;
      justify-content: end;
      width: 80%;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 20px;
    }

    .nav-links a {
      text-decoration: none;
      color: black;
      font-size: 18px;
      font-weight: 500;
      padding: 20px 12px;
      border-radius: 6px;
    }

    .nav-links a:hover {
      color: #2FA61C;
    }

    .dropdown {
      position: relative;
    }

    /* ---------- Desktop dropdown animation ---------- */
    .sub-links {
      display: none;
      position: absolute;
      border-top: 3px solid #2FA61C;
      top: 40px;
      left: -15px;
      background: white;
      border-radius: 8px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, .1);
      padding: 10px 0;
      min-width: 220px;
      flex-direction: column;
      z-index: 200;

      /* animation base */
      max-height: 0;
      overflow: hidden;
      opacity: 0;
      transform: translateY(-8px);
      transition: max-height 0.4s ease, opacity 0.3s ease, transform 0.3s ease;
    }

    .sub-links a {
      display: block;
      padding: 10px 20px;
      font-size: 16px;
      color: black;
    }

    .sub-links a:hover {
      background: #f0f0f0;
      color: #2FA61C;
    }

    .dropdown:hover .sub-links {
      display: flex;
      max-height: 1000px;
      opacity: 1;
      transform: translateY(0);
    }

    .contact-btn a {
      display: block;
      padding: 10px 20px;
      text-decoration: none;
      background: #2FA61C;
      color: white;
      border-radius: 6px;
      font-size: 18px;
    }

    .humberger-menu {
      display: none;
      font-size: 26px;
      cursor: pointer;
    }

    /* -------- Small screen nav -------- */
    .small-screen-nav-links {
      position: fixed;
      top: 64px;
      border-top: 3px solid #2FA61C;
      left: 0;
      width: 100%;
      height: 100vh;
      background: white;
      flex-direction: column;
      display: none;
      padding: 0 5% 5% 5%;
      border-top: 1px solid #eee;
      z-index: 999;
      overflow-y: scroll;
    }

    .small-screen-nav-links a {
      text-decoration: none;
      color: black;
      font-size: 18px;
      padding: 12px 15px;
      border-radius: 6px;
      display: block;
    }

    .small-screen-nav-links a:hover {
      background: #f5f5f5;
      color: #2FA61C;
    }

    .small-screen-nav-links .dropdown {
      display: flex;
      flex-direction: column;
    }

    .small-screen-nav-links .sub-links {
      position: static;
      display: flex;
      flex-direction: column;
      background: #fafafa;
      border-left: 3px solid #2FA61C;
      margin-left: 10px;
      border-radius: 4px;

      /* animation base */
      max-height: 0;
      overflow: hidden;
      opacity: 0;
      transform: translateY(-8px);
      transition: max-height 0.4s ease, opacity 0.3s ease, transform 0.3s ease;
    }

    .small-screen-nav-links .sub-links a {
      font-size: 16px;
      padding: 10px 20px;
      opacity: 0;

    }

    /* When active dropdown */
    .small-screen-nav-links .dropdown.active .sub-links {
      max-height: 1000px;
      opacity: 1;
      transform: translateY(0);
    }

    .small-screen-nav-links .dropdown.active .sub-links a {
      animation: fadeSlide 0.4s forwards;
    }

    /* stagger effect */
    .small-screen-nav-links .dropdown.active .sub-links a:nth-child(1) {
      animation-delay: 0.05s;
    }

    .small-screen-nav-links .dropdown.active .sub-links a:nth-child(2) {
      animation-delay: 0.1s;
    }

    .small-screen-nav-links .dropdown.active .sub-links a:nth-child(3) {
      animation-delay: 0.15s;
    }

    .small-screen-nav-links .dropdown.active .sub-links a:nth-child(4) {
      animation-delay: 0.2s;
    }

    .small-screen-nav-links .dropdown.active .sub-links a:nth-child(5) {
      animation-delay: 0.25s;
    }

    .small-screen-nav-links .dropdown.active .sub-links a:nth-child(6) {
      animation-delay: 0.3s;
    }

    .small-screen-nav-links .dropdown.active .sub-links a:nth-child(7) {
      animation-delay: 0.35s;
    }

    .small-screen-nav-links .dropdown.active .sub-links a:nth-child(8) {
      animation-delay: 0.4s;
    }

    .small-screen-nav-links .dropdown.active .sub-links a:nth-child(9) {
      animation-delay: 0.45s;
    }

    .small-screen-nav-links .dropdown.active .sub-links a:nth-child(10) {
      animation-delay: 0.5s;
    }

    @keyframes fadeSlide {
      from {
        opacity: 0;
        transform: translateY(-5px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }


   
    @media (max-width:1281px) {
      header .nav-box{
         padding: 0 5% 0 5%;
      }
    }
    @media(max-width:991px) {

      .nav-links,
      .contact-btn {
        display: none;
      }

      .humberger-menu {
        display: block;
      }
    }


    @media (max-width:991px) {
      header .nav-items {
        justify-content: end;
      }

      .humberger-menu {
        margin-right: 20px;
      }
    }

  


    .top-bar {
      background: #eaf7e8;
      padding: 10px 5%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      font-family: Arial, sans-serif;
      width: 100%;
    }

    /* Left social icons */
    .top-bar-left a {
      background: #2fa61c;
      color: #fff;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 36px;
      height: 36px;
      margin-right: 10px;
      border-radius: 6px;
      font-size: 16px;
      transition: 0.3s ease;
    }

    .top-bar-left a:hover {
      background: #268d17;
    }

    /* Right info boxes */
    .top-bar-right {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .info-box {
      background: #2fa61c;
      color: #fff;
      padding: 8px 15px;
      border-radius: 6px;
      font-size: 14px;
      display: flex;
      align-items: center;
      gap: 8px;
      transition: 0.3s ease;
    }

    .info-box:hover {
      background: #268d17;
    }

    .info-box i {
      font-size: 14px;
    }

    /* Responsive */
    @media (max-width: 768px) {
      .top-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
      }

      .top-bar-right {
        flex-direction: column;
        width: 100%;
      }

      .info-box {
        width: 100%;
        justify-content: flex-start;
      }
    }

      @media (max-width:786px){
      .top-bar{
        display: none;
      }
    }

    @media (width >= 1600px ){
        .top-bar{
            width: 100%;
        }
        header .nav-box{
            padding-left: 0;
            padding-right: 0;
        }
    }