/* Mobile responsive fixes for audivio static site */

/* Mobile icon adjustments */
.mobile-icon {
  max-width: 80px;
  height: auto;
}

/* Mobile button styles */
.mobile-button-center {
  display: flex !important;
  justify-content: center !important;
  gap: 1rem !important;
  flex-wrap: wrap !important;
}

@media (max-width: 640px) {
  .particles-js-canvas-el {
    display: none !important;
  }

  .mobile-button-center {
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
  }

  .mobile-button-center a {
    width: 80% !important;
    text-align: center !important;
    margin: 0.5rem 0 !important;
  }

  .buttongradient {
    background: #2868B1 !important;
    padding: 0.75rem 1.5rem !important;
    color: white !important;
    border-radius: 0.5rem !important;
    box-shadow: 0 4px 15px rgba(40, 104, 177, 0.2) !important;
  }

  h2.text-white, p.text-white, span.text-white {
    color: #111827 !important;  /* This is Tailwind's text-gray-900 color */
  }

  .textsize-features {
    color: #111827 !important;
  }

  /* Make SVG icons black on mobile */
  svg[stroke="white"] {
    stroke: #111827 !important;
  }
}

  .buttongradient:hover {
    background: #27BAEC !important;
  }
}

/* Mobile title sizes */
@media (max-width: 640px) {
  .titlegradient, .titlegradient2 {
    font-size: 2.75rem !important;
    line-height: 3rem !important;
    margin-bottom: 0.5rem !important;
  }

  .line {
    font-size: 2.75rem !important;
    margin-top: 0.25rem !important;
  }
}

@media (min-width: 641px) {
  .titlegradient {
    font-size: 3.25rem;
    line-height: 4rem;
    margin-bottom: 2.5rem;
  }

  .titlegradient2 {
    font-size: 3.25rem;
    line-height: 4rem;
  }

  .line {
    font-size: 3rem;
    margin-top: 2.5rem;
    padding-bottom: 1.5rem;
  }
}

/* Mobile subtitle sizes */
.mobile-subtitle-size2 {
  font-size: 0.875rem;
}

@media (min-width: 640px) {
  .mobile-subtitle-size2 {
    font-size: 1.125rem;
  }
}

/* Mobile number sizes */
.mobile-number-size {
  font-size: 2.5rem;
}

@media (min-width: 640px) {
  .mobile-number-size {
    font-size: 3rem;
  }
}

/* Mobile text sizes */
.mobile-text-size {
  font-size: 0.875rem;
}

@media (min-width: 640px) {
  .mobile-text-size {
    font-size: 1rem;
  }
}

/* Mobile image positioning */
.mobile-image-position {
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

@media (min-width: 640px) {
  .mobile-image-position {
    margin-left: -15%;
    margin-top: -5%;
    width: 110%;
    height: 90%;
  }
}

/* Mobile image padding */
.mobile-image-padding {
  padding: 1rem;
}

@media (min-width: 640px) {
  .mobile-image-padding {
    padding: 0;
  }
}

/* Mobile video centering */
.video {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

@media (max-width: 640px) {
  .video {
    width: 95% !important;
  }
}

/* Mobile team section */
@media (max-width: 640px) {
  .mobile-profile-image {
    width: 100%;
    height: auto;
    max-width: 200px;
    margin: 0 auto;
    display: block;
    position: relative !important;
  }

  .space-y-4 {
    display: block !important;
    text-align: center !important;
    margin-bottom: 2rem !important;
  }

  .aspect-w-3 {
    position: relative !important;
    height: auto !important;
    padding-bottom: 0 !important;
  }

  .sm\:grid {
    display: block !important;
  }

  .sm\:col-span-2 {
    margin-top: 1.5rem !important;
  }

  .team-margin, .team-margin2 {
    margin-top: 0 !important;
  }

  .team-margin-bottom {
    margin-bottom: 2rem !important;
  }

  #team_section .space-y-12 {
    margin-top: 1rem !important;
  }

  #team_section h2 {
    text-align: center !important;
  }
}

/* Mobile feature margins */
.mobile-feature-margin {
  margin-top: 0.5rem;
}

/* Mobile margin corrections */
.mobile-margin-correct {
  margin-left: 0;
}

@media (min-width: 640px) {
  .mobile-margin-correct {
    margin-left: -10%;
  }
}

.mobile-margin-correct2 {
  margin-left: 0;
}

@media (min-width: 640px) {
  .mobile-margin-correct2 {
    margin-left: 1rem;
  }
}

/* Mobile team margins */
.team-margin {
  margin-top: 1rem;
}

.team-margin2 {
  margin-top: 1rem;
}

.team-margin-bottom {
  margin-bottom: 1rem;
}

.team-name-size {
  font-size: 1.125rem;
}

@media (min-width: 640px) {
  .team-name-size {
    font-size: 1.25rem;
  }
}

/* Mobile feature padding */
.mt-mobile-features {
  margin-top: 1rem;
}

.pb-mobile-features {
  padding-bottom: 1rem;
}

/* Mobile subtitle size */
.mobile-subtitle-size {
  font-size: 1rem;
}

@media (min-width: 640px) {
  .mobile-subtitle-size {
    font-size: 1.25rem;
  }
}

/* Mobile hide utility */
.mobile-hide {
  display: none;
}

@media (min-width: 640px) {
  .mobile-hide {
    display: block;
  }
}

/* Mobile menu styles */
#mobile-menu-button {
  transition: all 0.2s ease-in-out;
}

#mobile-menu-button:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* Mobile menu overlay */
#mobile-menu {
  z-index: 9999;
}

#mobile-menu .fixed.inset-0.z-50.bg-black {
  transition: opacity 0.3s ease-in-out;
}

/* Mobile menu panel */
#mobile-menu .bg-white.rounded-lg.shadow-lg {
  transition: transform 0.3s ease-in-out;
}

/* Mobile menu link hover effects */
#mobile-menu a {
  transition: all 0.2s ease-in-out;
}

#mobile-menu a:hover {
  background-color: #f8fafc;
  color: #4f46e5;
}

/* Mobile menu close button */
#mobile-menu-close {
  transition: all 0.2s ease-in-out;
}

#mobile-menu-close:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* Mobile menu button positioning */
@media (max-width: 1023px) {
  .flex.lg\\:hidden {
    display: flex;
  }
}

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}
