@media only screen and (max-width: 780px) {
  body {
    background-position: bottom;
    background-size: cover;
  }
  h1 {
    font-size: 32px;
    line-height: 36px;
  }
  h2 {
    font-size: 24px;
    line-height: 30px;
  }
  h3 {
    font-size: 20px;
    line-height: 28px;
  }
  h4 {
    font-size: 16px;
    line-height: 24px;
  }
  /* =======paddings-margins====== */
  .pt-mob-48 {
    padding-top: 48px;
  }
  .mt-mob-40 {
    margin-top: 40px;
  }
  .mt-mob-24 {
    margin-top: 24px;
  }
  .mt-mob-16 {
    margin-top: 16px;
  }
  .pt-mob-80 {
    padding-top: 80px;
  }
  .pb-mob-80 {
    padding-bottom: 80px;
  }
  .mt-520 {
    margin-top: 216px;
  }
  .mt-minus-80 {
    margin-top: 0px;
  }
  /* =======paddings-margins====== */

  /* =======all-css====== */

  .section-banner {
    background-image: none;
  }

  .btn-secondary {
    font-size: 12px;
    line-height: 14px;
    padding: 8px 16px;
  }
  .btn-primary {
    padding: 8px 24px;
  }
  .gradient-img {
    width: 94%;
    height: 248px;
  }
  .gradient-block-svg {
    width: 92px;
    height: 92px;
  }
  .integration-img {
    top: -80px;
  }

  .footer {
    height: 214px;
    background: none;
  }
  .mob-flex-wrap {
    flex-wrap: wrap;
    justify-content: center !important;
  }
  .mob-text-center {
    text-align: center;
  }

  .bottom-footer p {
    font-size: 12px;
    line-height: 14px;
  }

  .spacing-text {
    font-size: 12px;
    line-height: 14px;
  }

  .line{
    width:100%;
  }

  /* =======all-css====== */
  .video-block {
    padding: 8px;
    border-radius: 12px;
    width: 100%;
  }
  
  .video-block video,
  .video-block iframe {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }
  
  .featured-section {
      padding: 2rem 0.5rem;
  }
  
  .featured-logos {
      gap: 2rem;
  }
  
  .featured-logo {
      width: 100px;
      height: 28px;
  }

  .integration-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
  }

  .integration-card {
    padding: 16px;
  }

   .navbar {
    padding: 8px 0;
    position: relative; /* Change from fixed to relative positioning */
    margin-bottom: 24px;
  }

  .navbar .container {
    flex-direction: column;
    height: auto;
    padding: 8px 16px;
    gap: 16px;
  }

  .w-30 {
    width: 100%;
  }

  .navbar .w-30:first-child {
    order: 2;
    display: flex;
    justify-content: center;
    gap: 24px;
  }

  .navbar .w-30:nth-child(2) {
    order: 1;
  }

  .navbar .w-30:last-child {
    display: none;
  }

  .selectric-logo {
    height: 60px;
    width: auto;
  }

  /* Content spacing adjustments */
  .pt-mob-48 {
    padding-top: 24px; /* Reduced since navbar is no longer fixed */
  }

  h1 {
    font-size: 28px;
    line-height: 1.3;
    margin: 0 auto 16px auto;
    max-width: 90%;
  }

  #email-capture {
    color: var(--selectric-text-dark);
  }

  .app-store-link {
    font-size: 12px;
  }

  .features p {
    font-size: 14px;
    line-height: 1.4;
  }
  
  .feature-icon {
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
    max-width: 90%;
  }

  /* Ensure text content has proper margins */
  .col-12.col-lg-10.col-md-10.text-center {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Adjust heading sizes for mobile */
  h1 {
    font-size: 28px;
    line-height: 1.3;
    /* Add padding to prevent text from touching screen edges */
    padding-left: 12px;
    padding-right: 12px;
    /* Ensure the text container has room to breathe */
    margin: 0 auto 16px auto;
    max-width: 90%;
  }

  /* Allow paragraph text to wrap properly */
  p {
    word-wrap: break-word;
    padding-left: 12px;
    padding-right: 12px;
  }
    .featured-logos {
        gap: 1.5rem;
    }

    .featured-logo {
        width: 80px;
        height: 24px;
    }

    .navbar {
        margin-bottom: 16px;
      }
    
      .navbar .w-30:first-child {
        gap: 16px;
      }
    
      .navbar a:not(.navbar-brand) {
        font-size: 14px;
        padding: 8px 12px;
      }
    
      .selectric-logo {
        height: 50px;
      }
    
      h1 {
        font-size: 24px;
        line-height: 1.2;
      }
    
      .pt-mob-48 {
        padding-top: 16px;
      }
      .video-block {
        padding: 4px;
        border-radius: 8px;
      }
      
      .video-block video,
      .video-block iframe {
        border-radius: 4px;
      }

      .email-entry {
        margin-left: 30px;
        margin-right: 30px;
        max-width: calc(100% - 90px);
      }

      #email-capture {
        color: var(--selectric-text-dark);
      }

}

