/* Mobile hamburger styling - Custom offcanvas button */
.header-area.style-1 .open-offcanvas {
  background: transparent !important;
  border: 0;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-area.style-1 .open-offcanvas .hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.header-area.style-1 .open-offcanvas .hamburger span {
  width: 26px;
  height: 2px;
  border-radius: 999px;
  background: #072032 !important;
  transition: background 0.2s ease;
}
.header-area.style-1 .open-offcanvas:focus-visible {
  outline: 2px solid var(--action);
  outline-offset: 3px;
}
.header-area.style-1.sticky .open-offcanvas .hamburger span {
  background: #072032 !important;
}

/* Mobile hamburger styling - Meanmenu plugin */
.mean-container a.meanmenu-reveal {
  background: transparent !important;
}
.mean-container a.meanmenu-reveal span {
  background: #072032 !important;
  border-radius: 999px;
}
.header-area.style-1.sticky .mean-container a.meanmenu-reveal span {
  background: #072032 !important;
}

@media (max-width: 1199.98px) {
  .header-area.style-1 {
    padding: 0 24px;
  }
  .header-area.style-1 .header-area__inner {
    gap: 18px;
  }
  .header-area.style-1 .header__nav {
    position: static;
    left: auto;
    top: auto;
    transform: none;
  }
  .header-area.style-1 .main-menu > ul > li > a {
    padding: 26px 12px;
  }
  .header-area.style-1.sticky .header-area__inner {
    max-width: calc(100% - 48px) !important;
  }
}

@media (max-width: 991.98px) {
  .header-area.style-1 {
    padding: 0 20px;
  }
  .header-area.style-1 .header-area__inner {
    height: auto;
    padding: 14px 0;
    border-radius: 32px;
  }
  .header-area.style-1.sticky .header-area__inner {
    margin: 12px auto !important;
    padding: 12px 18px !important;
    border-radius: 28px !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  .header-area.style-1 .header__logo img {
    height: 104px !important;
    width: auto;
  }
  .header-area.style-1.sticky .header__logo img {
    height: 84px !important;
  }
  .header-area.style-1 .header__button,
  .header-area.style-1.sticky .header__button {
    display: none !important;
  }
  .header-area.style-1 .header__nav {
    display: none !important;
  }
  .header-area.style-1 .header__navicon {
    margin-left: auto;
    display: flex !important;
    align-items: center;
  }
}

@media (max-width: 767.98px) {
  .header-area.style-1 {
    padding: 0 16px;
  }
  .header-area.style-1 .header-area__inner {
    gap: 12px;
    padding: 12px 0;
  }
  .header-area.style-1 .header__logo img {
    height: 76px !important;
  }
  .header-area.style-1.sticky .header__logo img {
    height: 64px !important;
  }
}

@media (max-width: 479.98px) {
  .header-area.style-1 .header-area__inner {
    padding: 10px 0;
  }
  .header-area.style-1 .header__logo img {
    height: 64px !important;
  }
  .header-area.style-1.sticky .header__logo img {
    height: 56px !important;
  }
}

/* Preloader logo sizing (home page) */
@media (max-width: 767.98px) {
  #preloader .txt-loading img {
    height: 220px !important;
    width: auto;
    margin: 0 auto !important;
  }
}

@media (max-width: 575.98px) {
  #preloader .txt-loading img {
    height: 160px !important;
  }
}

/* Hero media positioning */
@media (max-width: 1199.98px) {
  .banner-thumb {
    margin-top: -380px;
  }
}

@media (max-width: 991.98px) {
  .banner-thumb {
    margin-top: -260px;
    max-width: 92%;
  }
}

@media (max-width: 767.98px) {
  .banner-area {
    padding-bottom: 220px;
  }
  .banner-title {
    font-size: 36px;
    line-height: 1.05;
  }
  .banner-text .text {
    font-size: 18px;
  }
  .banner-thumb {
    margin-top: -180px;
    max-width: min(420px, 100%);
  }
  .squircle-img {
    border-width: 4px;
    border-radius: 18px;
  }
}

@media (max-width: 575.98px) {
  .banner-area {
    padding-bottom: 200px;
  }
  .banner-title {
    font-size: 32px;
  }
  .banner-text .text {
    font-size: 17px;
  }
  .banner-thumb {
    margin-top: -160px;
  }
}

/* Feature and gallery sections */
@media (max-width: 1199.98px) {
  .video-features {
    padding-top: 140px;
    padding-bottom: 140px;
  }
}

@media (max-width: 991.98px) {
  .video-features {
    padding-top: 110px;
    padding-bottom: 110px;
  }
  .person-tracking-stack,
  .feature-area .feature-thumb img.feature-img,
  .editing-area .editing-thumb img {
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  .video-features {
    padding-top: 80px;
    padding-bottom: 80px;
  }
  .video-features .feature-item {
    padding: 24px;
  }
  .feature-area .section-heading {
    text-align: center;
  }
  .feature-area .feature-thumb {
    margin-top: 30px;
    text-align: center;
  }
  .feature-area .feature-thumb img.feature-img,
  .editing-area .editing-thumb img {
    border-width: 4px;
    margin: 0 auto;
  }
  .person-tracking-stack {
    margin: 0;
  }
}

@media (max-width: 575.98px) {
  .video-features {
    padding-top: 70px;
    padding-bottom: 70px;
  }
  .video-features .feature-item {
    padding: 20px;
  }
}

/* Blog section */
@media (max-width: 991.98px) {
  .blog-area .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

@media (max-width: 767.98px) {
  .blog-area .section-header {
    text-align: left;
  }
  .blog-area article.blog .thumb img {
    height: 220px;
  }
}

@media (max-width: 575.98px) {
  .blog-area article.blog .thumb img {
    height: 200px;
  }
}

/* Work and technology sections */
@media (max-width: 991.98px) {
  .work-area .section-heading,
  .tech-area .section-heading {
    text-align: center;
  }
}

@media (max-width: 767.98px) {
  .work-area .work-items {
    gap: 24px;
  }
  .work-area .work-item {
    padding: 24px;
  }
  .tech-area .tech-grid {
    gap: 20px;
  }
  .tech-area .tech-item {
    padding: 22px;
  }
}

/* Footer */
@media (max-width: 991.98px) {
  .footer-area.style-2 .footer-area-inner {
    gap: 32px;
  }
}

@media (max-width: 767.98px) {
  .footer-area.style-2 .footer-area-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-area.style-2 .footer-logo img {
    height: 120px;
  }
  .footer-area.style-2 .description-text {
    max-width: none;
  }
  .footer-area.style-2 .copyright-area-inner {
    align-items: flex-start;
    gap: 16px;
  }
  .footer-area.style-2 .social-links {
    gap: 20px;
  }
}

@media (max-width: 575.98px) {
  .footer-area.style-2 .social-links {
    gap: 14px;
  }
}
