@media (max-width: 991px) {

  .offcanvas .dropdown-menu {
    position: static;
    width: 100%;
    overflow: hidden;

    max-height: 0;
    opacity: 0;
    padding: 0;
    margin-top: 0;

    border-radius: 10px;
    box-shadow: none;

    transition: 
      max-height 0.4s ease,
      opacity 0.3s ease,
      padding 0.3s ease;
  }

  .offcanvas .dropdown-menu.show {
    max-height: 500px; /* enough height */
    opacity: 1;
    padding: 8px 0;
    margin-top: 8px;
  }

  .offcanvas .dropdown-item {
    padding: 10px 20px;
  }
  /* Arrow animation */
.dropdown-icon {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.dropdown-icon.rotate {
  transform: rotate(180deg);
}
.topbar .container {
  display: block !important;
}
.topbar-right {
  width: 100%;
  margin-top: 15px;
  text-align: center;
}
.topbar-left {
  width: 100%;
  text-align: center;
}



}






@media (max-width: 768px){l
 html,
body {
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    overflow-x: hidden;
}
* { margin: 0; padding: 0; } 
  .topbar-left {
  width: 100%;
  text-align: center;
}
.topbar-right {
  width: 100%;
  margin-top: 15px;
  text-align: center;
}
.topbar .d-flex {
  display: block ;
}
.hero-title {
  font-size: 2rem;
}
.hero-section {
  padding: 80px 0;
  min-height: 550px;
}
.navbar-brand img {
  width: 75px;
}
.about-img img {
  height: auto;
  margin-bottom: 20px;
}
.about-section .p-5 {
  padding: 0 !important;
}
  .section-title {
    font-size: 30px;
    margin-bottom: 10px;
  }
.work-box {
  margin-bottom: 15px;
}

.contact-section.py-5 .p-5 {
  padding: 10px 0 !important;
}
.about-img img {
  height: 100%!important;
  margin-bottom: 20px;
}
.row.mb-5 {
  margin-bottom: 0 !important;
}
.about-section.py-5 {
  padding-top: 10px !important;
}

}