/* Valtrix Capital — homepage mobile + header fixes */

/* Proper mobile viewport (overrides fixed 1200px meta behavior) */
html {
  -webkit-text-size-adjust: 100%;
}

body.onyx-dark .secondary-pages {
  overflow-x: hidden;
}

/* Logo — larger on all screens */
.secondary-pages .navbar-brand {
  width: auto !important;
  max-width: 220px;
  padding: 6px 0;
}

.secondary-pages .navbar-brand img,
.header-section .navbar-brand img {
  width: auto !important;
  height: 62px !important;
  max-height: 62px;
  object-fit: contain;
}

/* Support / contact bar — visible and readable on mobile */
@media (max-width: 767px) {
  .secondary-pages .top-header-area {
    display: block !important;
    padding: 10px 0 !important;
  }

  .secondary-pages .top-header-info,
  .secondary-pages .top-header-social {
    text-align: center !important;
    margin-bottom: 0 !important;
  }

  .secondary-pages .top-header-info ul,
  .secondary-pages .top-header-social ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .secondary-pages .top-header-info a,
  .secondary-pages .top-header-area a {
    font-size: 1rem !important;
    font-weight: 600 !important;
    word-break: break-word;
  }

  .secondary-pages .top-header-info i,
  .secondary-pages .top-header-area i {
    font-size: 1.1rem !important;
  }

  .secondary-pages .top-header-social ul li:not(:first-child) {
    display: none;
  }

  .secondary-pages .navbar-brand img {
    height: 54px !important;
  }

  .secondary-pages #toggle-menu .navbar-nav {
    font-size: 18px !important;
    padding: 12px 0 !important;
  }

  .secondary-pages #toggle-menu .navbar-nav h2 {
    font-size: 1.15rem !important;
    margin: 0;
  }

  .secondary-pages .header-bottom {
    padding: 8px 0 !important;
  }

  /* Hero / welcome */
  .secondary-pages h2[style*="45px"],
  .secondary-pages .discover-more-btn {
    font-size: 1.5rem !important;
  }

  .secondary-pages .discover-more-btn .pill-button-01 b {
    font-size: 1.1rem !important;
  }

  /* Investment plans grid */
  .price-01 .row.justify-content-center > [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }

  .price-01 .price-box {
    margin-bottom: 20px;
    padding: 22px 18px !important;
  }

  .price-01 .price-title {
    font-size: 1.15rem !important;
    line-height: 1.35 !important;
  }

  .price-01 .price-cost {
    font-size: 1.35rem !important;
  }

  /* Services, about, banner */
  .services-box,
  .about-content,
  .banner-content {
    padding-left: 8px;
    padding-right: 8px;
  }

  .title-box .main-title {
    font-size: 1.65rem !important;
    line-height: 1.25;
  }

  .title-box .sub-title {
    font-size: 0.95rem !important;
    padding: 0 10px;
  }

  /* Video block */
  .valtrix-video-wrap video {
    width: 100% !important;
    height: auto !important;
    max-height: 52vw;
  }

  .valtrix-video-controls {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }

  /* Footer */
  .footer-logo img {
    width: 120px !important;
    height: auto !important;
  }

  .footer-text {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  /* Tables / news */
  .blog-area h3[style*="45px"] {
    font-size: 1.45rem !important;
  }

  img[width="100%"] {
    max-width: 100%;
    height: auto !important;
  }
}

@media (max-width: 480px) {
  .secondary-pages .top-header-info a {
    font-size: 1.05rem !important;
  }

  .secondary-pages .navbar-brand img {
    height: 48px !important;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .secondary-pages .navbar-brand img {
    height: 58px !important;
  }

  .price-01 .row.justify-content-center > [class*="col-md-6"] {
    flex: 0 0 50%;
    max-width: 50%;
  }
}
