/* Medium Layout: 1280px. */
@media only screen and (min-width: 992px) and (max-width: 1200px) {
}

/* Tablet Layout: 768px. */
@media only screen and (min-width: 768px) and (max-width: 991px) {
}

/* Mobile Layout: 320px. */
@media only screen and (max-width: 991px) {
/* Mobile Menu Overlay */
  .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(3px);
  }
header.site-header.px-hstyle1 {
    display: none;
}
  .mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }

/* Mobile Menu Bar */
  .mobile-menu-bar {
    background: var(--color-primary, #6041FF);
    display: block;
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .mobile-header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
  }

  .mobile-logo a {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
  }

  .mobile-logo img {
    max-height: 45px;
    width: auto;
  }

  .mobile-site-title {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
  }

/* Hamburger Button */
  .menu-btn {
    background: transparent;
    border: none;
    padding: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hamburger-box {
    width: 28px;
    height: 20px;
    display: inline-block;
    position: relative;
  }

  .hamburger-inner,
  .hamburger-inner::before,
  .hamburger-inner::after {
    width: 28px;
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
    position: absolute;
    transition: all 0.3s ease;
  }

  .hamburger-inner {
    top: 50%;
    transform: translateY(-50%);
  }

  .hamburger-inner::before {
    content: '';
    top: -8px;
  }

  .hamburger-inner::after {
    content: '';
    bottom: -8px;
  }

/* Hamburger Animation */
  .menu-active .hamburger-inner {
    background-color: transparent;
  }

  .menu-active .hamburger-inner::before {
    top: 0;
    transform: rotate(45deg);
  }

  .menu-active .hamburger-inner::after {
    bottom: 0;
    transform: rotate(-45deg);
  }

/* Mobile Menu Wrapper - Slide from Right */
  .mobile-menu-wrapper {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    max-width: 85vw;
    height: 100vh;
    background: #fff;
    z-index: 99999;
    transition: right 0.3s ease;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
  }

  .menu-active .mobile-menu-wrapper {
    right: 0;
  }

/* Mobile Menu Header */
  .mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background: var(--color-primary, #6041FF);
    color: #fff;
  }

  .mobile-menu-title {
    font-size: 18px;
    font-weight: 600;
  }

  .mobile-menu-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }

  .mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
  }

  nav#mobile-navigation {
    position: static;
  }

/* Mobile Menu Items */
  ul.wsm-menu {
    margin: 0;
    padding: 15px 0;
    list-style: none;
  }

  ul.wsm-menu li {
    border-bottom: 1px solid #f0f0f0;
  }

  ul.wsm-menu li:last-child {
    border-bottom: none;
  }

  ul.wsm-menu li a {
    padding: 14px 20px;
    text-decoration: none;
    display: block;
    color: #333;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
  }

  ul.wsm-menu li a:hover,
  ul.wsm-menu li a:focus {
    background: #f8f9ff;
    color: var(--color-primary, #6041FF);
    padding-left: 25px;
  }

  .mobile-navigation ul {
    list-style: none;
  }

  .menu-item-has-children {
    display: flex;
    flex-flow: row wrap;
  }

  .menu-item-has-children>a {
    width: calc(100% - 50px);
  }

  .menu-item-has-children .sub-menu {
    display: block;
    width: 100%;
    background: #f8f9ff;
  }

  .menu-item-has-children .sub-menu li a {
    padding-left: 35px;
    font-size: 14px;
  }

  span.mclose {
    display: none;
  }

  .menu-item-has-children>i {
    padding: 14px 15px;
    margin-left: auto;
    cursor: pointer;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }

  .menu-item-has-children>i:hover {
    color: var(--color-primary, #6041FF);
  }

  .menu-item-has-children.clicked>i,
  .menu-item-has-children.focus>i {
    transform: rotate(180deg);
    color: var(--color-primary, #6041FF);
  }

  ul#wsm-menu ul.sub-menu {
    visibility: hidden;
    max-height: 0;
    height: auto;
    opacity: 0;
    transition: all 0.3s ease;
    overflow: hidden;
  }

  ul#wsm-menu .menu-item-has-children.clicked>ul.sub-menu,
  ul#wsm-menu .menu-item-has-children.focus>ul.sub-menu {
    max-height: 500px;
    visibility: visible;
    opacity: 1;
    height: auto;
  }
    section#home {
      height: auto;
    }
  h1 {
    font-size: 35px;
  }
  h1.page-title {
    font-size: 20px;
  }
  h2 {
    font-size: 28px;
  }
  nav#site-navigation {
    display: none;
  }
}

/* Wide Mobile Layout: 480px. */
@media only screen and (min-width: 480px) and (max-width: 767px) {
  h1 {
    font-size: 35px;
  }
  h1.page-title {
    font-size: 24px;
  }
  h2 {
    font-size: 30px;
  }
}
/* Wide Mobile Layout: 480px. */
@media only screen and (max-width: 479px) {
  .header-search-form {
    right: 0;
  }
}
