* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.navbar {
  position: fixed;
  top: 40px;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  border: none;
  box-shadow: none;
  padding-top: 20px;
  display: flex;
  justify-content: center;
}
.step-grid {
    display: flex;
    gap: 20px;
}

.step-form-wrapper {
    flex: 2; 
}

.step-summary {
    flex: 1; 
    background: #f9f9f9;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    max-height: 500px;
    overflow-y: auto;
}

.custom-navbar-style {
  width: 55%;
  height: 60px;
  border-radius: 20px;
  border: 1px solid white;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: nowrap;
}

.navbar-nav.custom-navbar-style .nav-item .nav-link {
  color: white;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 20px;
  cursor: pointer;
}

.navbar-nav.custom-navbar-style .nav-item .nav-link:hover {
  color: white;
  font-weight: 700;
}

.navbar-nav.custom-navbar-style .nav-item .nav-link.active {
  font-weight: 700;
}

.logo {
  position: fixed;
  left: 40px;
  z-index: 1001;
}

.logo img {
  width: 150px;

}

.calculate-button {
  position: fixed;
  top: 60px;
  right: 40px;
  width: 190px;
  height: 60px;
  border-radius: 15px;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 1001;
}

.calculate-button span {
  display: inline-block;
  width: 88px;
  height: 27px;
  line-height: 27px;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #000;
  text-align: center;
  user-select: none;
}


#navbarNav {
  justify-content: center;
  width: 100%;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 40px;
  left: 0;
  width: 100%;
  padding: 0 40px;
  z-index: 1000;
  background-color: transparent;
}

#main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.custom-navbar-style {
    display: flex;
    flex-wrap: nowrap;
    gap: 30px;
    padding: 0 20px;
    height: 60px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}


.calculate-button {
  flex-shrink: 0;
}

.navbar-nav.custom-navbar-style {
    background: #131410;
    flex-direction: row !important;
}

/* Footer */

.footer {
  background-color: transparent;
  color: white;
  font-family: 'Poppins', sans-serif;
  margin-top: 60px;
  padding-top: 40px;
}

.footer-logo-img {
  max-width: 150px;
  height: auto;
  display: block;
  margin-bottom: 20px;
}

.footer-links .footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links .footer-nav li {
  margin-bottom: 10px;
}

.footer-links .footer-nav li a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.2s;
}

.footer-links .footer-nav li a:hover {
  color: #9BBE2C;
}


.footer-contact a {
  color: white;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: #9BBE2C;
}



.footer-social a {
  display: inline-block;
  margin-right: 12px;
}

.footer-social img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}


.footer-contact p {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  margin-top: 10px;
  font-size: 16px;
  color: white;
  line-height: 1.5;
}

.footer-contact p .footer-p-icon {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  object-fit: contain;
}

.footer-contact p a {
  color: white;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact p a:hover {
  color: #9BBE2C;
}
.footer-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    margin: 30px auto 0;
    width: 100%;
    max-width: 1200px;
    font-size: 20px;
    font-weight: 400;
    color: #CCCCCC;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    border-top: 1px solid rgba(255, 255, 255, 0.499);
}
.footer-copyright {
    font-size: 20px;
    font-weight: 400;
    color: #CCCCCC;
    font-family: 'Poppins', sans-serif;
    
}

.footer-social {
  display: flex;
  gap: 12px;
}


.footer-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1200px;
  width: 80%;
  margin: 0 auto;
  padding: 0 20px;
  gap: 30px;
  font-weight: 400;
  font-size: 20px;
  font-family: 'Poppins', sans-serif;
  padding-top: 30px;
  border-top: 1px dashed rgba(255, 255, 255, 0.499);


}

.footer-col {
  flex: 1 1 400px;
  min-width: 180px;
}


.footer-links,
.footer-logo,
.footer-contact {
  flex: 0 1 auto;
}

/* Sidebar */

.sidebar {
  position: fixed;
  top: 0;
  left: 0px;
  height: 100vh;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  box-shadow: -10px 0 10px rgba(0, 0, 0, 0.3);
  list-style: none;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 20px 20px 20px;
  z-index: 1002;
  text-align:center;
}
.sidebar-close{
    text-align:right
}
.sidebar li {
    width: 100%;
    margin-bottom: 20px;
}

.sidebar a {
    width: 100%;
    color: white;
    font-size: 20px;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    margin-left: 0px;
}

.menu-button,
.sidebar {
  display: none;
}


.hide-on-desktop {
    display: none;
}


@media only screen and (max-width: 1350px) {
  .custom-navbar-style {
    gap: 20px;
    padding: 0 10px;
    font-size: 18px;
  }

  .calculate-button span {
    font-size: 16px;
  }
}

@media only screen and (max-width: 1270px) {
  .custom-navbar-style {
    gap: 16px;
    padding: 0 10px;
    font-size: 16px;
  }

  .navbar-nav.custom-navbar-style .nav-item .nav-link {
    font-size: 16px;
  }

  .calculate-button {
    width: 150px;
  }

  .footer-container {
    max-width: 900px;
    gap: 0px;
  }

}

@media only screen and (max-width: 1000px) {

  .calculate-button {
    width: 120px;
  }

  .logo img {
    width: 150px;
  }

  .footer-container {
    max-width: 750px;
  }

}

@media (max-width: 991.98px) {

    .mobile-navbar .menu-button button {
        background: none;
        border: none;
        padding: 0;
        color: white;
    }
    .logo {
        position: absolute;
        top: -38px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1001;
    }
    
    .logo img {
         width: 110px;
         height: 117px;
     }

    .menu-button {
        display: block;
        position: absolute;
        left: 60px;
        z-index: 1003;
    }

    .show-on-mobile {
        display: block;
    }

    .custom-navbar-style {
        display: none;
    }

    i.mdi-menu {
        font-size: 30px;
    }

    .hide-on-mobile {
        display: none;
    }

    .hide-on-desktop {
        display: flex;
    }

    .mobile-navbar {
        position: fixed;
        top: 60px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 600px;
        padding: 8px 12px;
        background-color: transparent;
        transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
        z-index: 1001;
    }

    .mobile-navbar.sticky {
        background-color: rgba(0,0,0,0.8);
        backdrop-filter: blur(10px);
    }

    .custom-navbar-style.hide-on-mobile {
        display: none;
    }

    .calculate-button {
        top: 12px;
        height: 35px;
    }


  
        .sidebar-close button {
            background: none;
            border: none;
            color: white;
            font-size: 30px;
            cursor: pointer;
            padding: 4px;
        }


    .footer-logo-img {
        max-width: 120px;
    }
}

@media (max-width: 770px) {
  .footer-container {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    padding: 20px 10px;
    max-width: 80%;

  }
    .footer-copyright {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 12px 35px;
        font-size: 14px;
        gap: 10px;
    }
    .footer-bar {
        margin-top: 0;
        padding: 10px 20px 0 0;
    }
  .footer{
      margin-top:30px;
  }

  .footer-col {
    flex: 0 0 calc(33.33% - 10px);
    min-width: 0;
  }


    .logo img {
        width: 120px;
        height: 100px;
    }

    .logo {
        top: -30px;
        
    }
    .calculate-button {
        top: 12px;
        width: 80px;
    }

    .calculate-button span {
            font-size: 12px;
    }

}

@media (max-width: 600px) {
    .footer-logo-img {
        max-width: 120px;
        margin-bottom: 10px;
    }

    .footer-contact p,
    .footer-contact a,
    .footer-links .footer-nav li a {
        font-size: 13px;
        line-height: 1.5;
    }

    .footer-links .footer-nav li {
        margin-bottom: 6px;
    }

    .footer-social {
        justify-content: flex-end;
    }

   

    .footer-social img {
        width: 18px;
        height: 18px;
    }

    .sidebar-close {
        text-align: right!important;
        padding: 20px;
    }
    @media (max-width: 600px) {
        .sidebar {
            width: 100vw;
            padding: 20px 20px 20px;
        }
    }
   
    @media (max-width: 560px) {
        .footer-container {
            display: flex;
            flex-wrap: wrap;
            flex-direction: row;
            justify-content: center;
            align-items: flex-start;
            gap: 0;
            padding: 20px 10px;
            max-width: 100%;
        }

        .footer-logo {
            flex: 0 0 100%;
            display: flex;
            justify-content: center;
            margin-bottom: 20px;
        }

        .footer-logo-img {
            margin-bottom: 0;
        }

        .footer-links,
        .footer-contact {
            flex: 0 0 auto;
            min-width: 140px;
        }

        .footer-links .footer-nav li,
        .footer-contact p {
            margin-bottom: 0px;
        }

        .footer-links .footer-nav li a,
        .footer-contact p,
        .footer-contact a {
             font-size: 13px;
        }
    }
}

@media(max-width: 500px) {
    .footer-container{
        width:100%!important;
        justify-content:space-around;
    }
    .menu-button {
        top: -10px;
        left: 20px;
    }

    .mobile-navbar {
        max-width: 500px;
        border-radius: 0;
        padding-top: 46px;
    }
   
    
    .calculate-page{
        margin-top:100px!important;
    }
    .sidebar a {
        margin-left: 0;
    }

    .mobile-navbar {
        width:100%;
        border:none;
    }

    .calculate-button {
        top: 5px;
        right: 16px;
    }

        .calculate-button span {
            font-size: 12px;
        }
    .aboutBanner {
        padding: 20px 10px 20px!important;
    }
    .logo img {
        width: 90px;
        height: 72px;
    }
    .navbar-nav.custom-navbar-style .nav-item .nav-link {
        margin-top: 10px;
    }
    .logo {
        top: -23px;
    }

    .mdi-menu::before {
        margin-top: 20px;
    }


    .custom-navbar-style {
        height: 67px;
    }

    .mobile-navbar {
        top: 0px;
    }
}

@media (max-width: 380px) {

    .footer-col {
        min-width: 120px;
    }
   


    .footer-container {
        flex-direction: column;
        align-items: center;
        padding: 16px 6px;
    }

    .footer-logo {
        flex: 0 0 100%;
        justify-content: center;
        margin-bottom: 15px;
    }

  .footer-logo-img {
    max-width: 100px;
    height: auto;
  }

  .footer-links,
  .footer-contact {
    display: inline-block;
    vertical-align: top;
    font-size: 14px;
    text-align: center;
    min-width: 0px;
  }

  .footer-contact p,
  .footer-links .footer-nav li {
    margin-bottom: 6px;
  }

  .footer-contact p,
  .footer-contact a,
  .footer-links .footer-nav li a {
    font-size: 14px;
    line-height: 1.3;
  }

  .footer-contact p .footer-p-icon {
    width: 14px;
    height: 14px;
    margin-right: 6px;
  }



  .menu-button {
    top: -10px;
    left: 20px;

  }

  .sidebar {
    width: 100vw;
    padding: 100px 20px 20px;
  }

  }

.custom-navbar-style.sticky {
  position: fixed;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 10px 20px;
  z-index: 9999;
  transition: all 0.3s ease;
}

