@media (max-width: 991px) {
  main {
    padding-top: 66px;
  }

  .about-wrap {
    margin: 24px 0;
  }

  .about-content,
  .about-content .overlay {
    border-radius: 8px;
  }

  .about-content .overlay {
    padding: 36px 24px;
  }

  .about-content .overlay h1 {
    font-size: 34px;
    line-height: 1.25;
  }

  .about-content .buttons {
    gap: 12px;
    flex-wrap: wrap;
  }

  .form-block {
    margin: 20px 0 8px;
  }

  .form-block .input-group {
    flex-direction: column;
    gap: 0;
  }

  .form-block .input-single,
  .form-block input,
  .form-block select,
  .form-block textarea,
  .form-block button {
    width: 100%;
    max-width: 100%;
  }

  .menu-top {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 52px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .menuWrapper {
    display: block;
    padding: 0;
    position: static;
  }

  .menu {
    margin-top: 0;
    display: block;
    position: static;
  }

  .menu > ul {
    display: none;
    width: calc(100vw - 24px);
    max-width: 420px;
    position: fixed;
    right: 12px;
    top: 72px;
    background: rgba(2, 31, 66, 0.96);
    border-radius: 10px;
    padding: 12px 0;
    row-gap: 0;
    flex-direction: column;
    column-gap: 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
  }

  .menu.is-open > ul {
    display: flex;
  }

  .menu ul li {
    width: 100%;
  }

  .menu ul li a {
    display: block;
    font-size: 15px;
    line-height: 1.5;
    padding: 11px 16px;
  }

  .menu .dropdown-menu.mega-menu {
    min-width: 100% !important;
    width: 100%;
    position: static !important;
    transform: none !important;
    border: 0;
    margin-top: 0;
    box-shadow: none !important;
    background: rgba(255, 255, 255, 0.96);
    margin: 6px 0 0;
    padding: 10px 8px;
    display: none;
  }

  .menu .dropdown-menu.mega-menu.show {
    display: block;
  }

  .menu .dropdown-menu.mega-menu .row {
    margin: 0;
  }

  .menu .dropdown-menu.mega-menu .col-lg-3,
  .menu .dropdown-menu.mega-menu .col-md-6 {
    margin-bottom: 12px !important;
    padding: 0 12px;
    border-bottom: 1px solid #e7ecf5;
    padding-bottom: 8px;
  }

  .menu .dropdown-menu.mega-menu .col-lg-3:last-child,
  .menu .dropdown-menu.mega-menu .col-md-6:last-child {
    border-bottom: 0;
    margin-bottom: 0 !important;
  }

  .menu .dropdown-toggle {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
  }

  .menu .mega-menu h6 {
    margin-bottom: 8px;
    font-size: 14px;
  }

  .menu .mega-menu ul li {
    padding: 6px 0 !important;
    margin: 0 !important;
  }

  .service-section {
    margin: 32px 0;
  }

  .service-wrap {
    overflow: hidden;
  }

  .service-intro {
    border-radius: 8px 8px 0 0;
    padding: 28px 22px;
  }

  .service-intro h4 {
    margin: 0 0 24px;
    font-size: 24px;
    line-height: 1.35;
  }

  .service-intro h4 span {
    font-size: 24px;
  }

  .service-block {
    padding: 18px 14px 2px;
  }

  .service-block h3 {
    font-size: 18px;
    line-height: 1.35;
  }

  .service-block ul {
    padding-left: 20px;
    margin-bottom: 6px;
  }

  .service-block ul li {
    font-size: 13px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .about-wrap .pl-0 {
    padding-left: 0;
  }

  .about-content .overlay {
    padding: 30px 20px;
  }

  .about-content .overlay h1 {
    font-size: 30px;
  }

  .about-content .buttons {
    flex-wrap: nowrap;
  }

  .about-content .buttons a {
    padding: 10px 12px;
    font-size: 14px;
  }

  .form-block .input-group {
    flex-direction: row;
    gap: 12px;
  }

  .form-block .input-single {
    flex: 1;
  }

  .service-wrap > .row > .col-md-3,
  .service-wrap > .row > .col-md-9 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }

  .service-wrap .col-md-9 > .row {
    display: flex;
    flex-wrap: wrap;
  }

  .service-wrap .col-md-9 > .row > .col-md-4 {
    width: 50%;
    max-width: 50%;
    flex: 0 0 50%;
  }

  .service-intro {
    border-radius: 8px 8px 0 0;
  }
}

@media (max-width: 768px) {
  .about-wrap {
    margin: 16px 0;
    overflow: hidden;
  }

  .about-wrap .row {
    margin-left: 0;
    margin-right: 0;
  }

  .about-wrap .col-md-7,
  .about-wrap .col-md-5 {
    padding-left: 0;
    padding-right: 0;
  }

  .about-content {
    width: 100%;
    border-radius: 8px 8px 0 0;
  }

  .about-content .overlay {
    padding: 28px 16px;
    border-radius: 8px 8px 0 0;
  }

  .about-content .overlay h4 {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .about-content .overlay h1 {
    font-size: 26px;
    line-height: 1.3;
    margin-bottom: 14px;
  }

  .about-content .overlay p {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .about-content .buttons a {
    width: 100%;
    text-align: center;
    padding: 10px 14px;
  }

  .form-block h3 {
    font-size: 22px;
    padding: 0 16px;
  }

  .form-block p {
    font-size: 13px;
    line-height: 20px;
    padding: 0 16px;
  }

  .form-block form {
    padding: 0 16px 16px;
  }

  #particles-banner {
    margin-top: 5px;
  }

  .content a.border-btn,
  .content a.orange-btn {
    display: inline-block;
    width: auto;
    white-space: nowrap;
    padding: 9px 14px;
    font-size: 13px;
    transform: none !important;
    animation: none !important;
    opacity: 1 !important;
  }

  .content a.border-btn {
    margin-right: 12px;
    margin-bottom: 0;
  }

  .content a.orange-btn {
    margin: 0;
  }

  .service-section {
    margin: 24px 0;
  }

  .service-wrap .row {
    margin-left: 0;
    margin-right: 0;
  }

  .service-wrap .col-md-3,
  .service-wrap .col-md-9,
  .service-wrap .col-md-4 {
    padding-left: 0;
    padding-right: 0;
  }

  .service-intro {
    padding: 24px 16px;
    border-radius: 8px 8px 0 0;
  }

  .service-intro h4,
  .service-intro h4 span {
    font-size: 22px;
  }

  .service-block {
    border-right: 0 !important;
    padding: 16px 14px 2px;
  }

  .service-block h3 {
    font-size: 17px;
  }
}
