@media only screen and (max-width: 1180px) {


    .compare-row {
        flex-direction: column;     /* ← this is the key change */
        flex-wrap: wrap;            /* optional but fine */
        gap: 32px;                  /* usually want more vertical spacing on mobile */
      }

      .word-break{
        overflow-wrap: break-word;
        width: 40px;
      }


      .compare-col {
          max-width: 100%;
          min-height: auto;
      }

      .vs-divider {
        position: static;
        transform: none;
        width: 100%;
        flex-direction: row;
        justify-content: center;
        margin: 0rem 0;
      }

      .vs-line {
        flex: none;
        height: 4px;
        width: 40%;
        min-height: auto;
      }

      .box svg[viewBox="0 0 400 40"] {
       width: 100%;
       height: 100%;
      }

/**/


    

}

@media only screen and (max-width: 768px) {
  .arrow-mobile {
    display: inline-block;
    vertical-align: middle;
    width: 14px;           /* ← feel free to adjust size */
    height: 14px;
  }


  .arrow-desktop {
      display: none;
    }
      .box svg {
        width: 14px;
        height: auto;
    }

    .box-icon {
     width: auto;
     height: auto;
     padding: 10px;
    }

    .box-icon>i {
      font-size: 1rem;
    }

    .sticky-first {
        position: static;        /* remove sticky on desktop */
        box-shadow: none;
        z-index: auto;
    }


    .revstack-grid {
            grid-template-columns: 1fr;        /* Stack into 1 column on mobile */
        }
        
        .rev-item {
            border-right: none;                /* Remove vertical borders */
            border-bottom: 1px solid #333;     /* Add horizontal borders instead */
        }
        
        .rev-item:last-child {
            border-bottom: none;
        }

}


/* Mobile styles */
@media only screen and (max-width: 920px) {

  .site-header {
    height: auto;
  }


  .security-box {
      padding: 2rem;

  }

  .quote-text {
      font-size: 1rem;
      text-align: left;
  }

  .menu-toggle {
    display: flex;
    /* use flexbox */
    align-items: center;
    /* vertical centering */
    justify-content: center;
    /* horizontal centering */
    background: none;
    border: none;
    cursor: pointer;
    font-size: 28px;
    /* controls icon size */
    width: 40px;
    /* fixed width */
    height: 40px;
  }

  .main-nav {
    display: none;
    width: 100%;
    /* full width */
    margin: 0;
    /* remove default margins */
    padding: 0;
    /* remove default padding */
  }

  .main-nav.active {
    display: block;
    width: 100%;
    box-sizing: border-box;
    /* include padding in width */
    padding: 20px;
  }


  .main-nav>ul {
    flex-direction: column;
    gap: 20px;
    background: #061442;
    padding: 20px;
    border-radius: 6px;
    margin: 0;
    /* prevent shifting */
    width: 100%;
    /* ensure it fits viewport */
    box-sizing: border-box;
    /* include padding in width */

  }

  .main-nav>ul li {
    width: 100%;
    /* each item fits inside */

  }


  .menu-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
  }


  .btn-group {
    display: none;
    /* hide external buttons on mobile */
  }

  .submenu {
    display: none;
    /* hidden by default */
    position: static;
    margin-left: 20px;
  }

  .has-submenu.active>.submenu {
    display: flex;
    /* show when parent has .active */
    flex-direction: column;
    gap: 10px;
  }


  .comp-table th,
  .comp-table td {
    padding: 0.75rem 1rem;
    /* slightly smaller padding on mobile */
    min-width: 120px;
    /* prevents columns from collapsing too much */
  }

  .comp-table thead th:first-child,
  .comp-table tbody td:not([class]) {
    min-width: 180px;
    /* give "Capability" column more space */
  }

  .comp-table .t-col {
    min-width: 140px;
  }

  .heading-text {
    font-size: 2.5rem;
    text-align: center;
  }

  .display-block {
    display: flex;
    flex-direction: column;
    width: 100%;
  }




  .video-thumbnail {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
  }

  .grid-9a {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    grid-auto-rows: auto;
    gap: 6px;
    padding: 0 0px;
    align-items: center;
  }

  .grid-9a > div:nth-child(odd) {
    height: 50px;
  }

  .grid-5a > div:nth-child(even) {
    height: 30px;
  }

  .grid-9a>.box,
  .grid-9a>.icon-block {
    justify-self: center;
  }





  .icon-label {
    font-size: 0.85rem;
  }


  .grid-3a {
      display: flex;
      grid-template-columns: 1fr 9fr;   /* keep the same proportion if you want */
      justify-content: space-around;
      grid-auto-flow: row;              /* default anyway */

    }

  .unified-box2 {
    grid-column: 1 / -1;
    max-width: 100%;
    margin: 16px 0;
    padding: 24px 8px;

  }

  .center-content>svg[viewBox="0 0 400 40"] {
    display: block;
  }

  .grid-5a {
    display: flex;
      flex-direction: row;     /* makes children stack vertically */
      gap: 15px;
      justify-content: space-around;
      align-items: stretch;       /* or center / flex-start depending on horizontal need */
  }


/*  .grid-5>.box svg {
    display: block;
  }
*/

  /* Make icons/labels look good in vertical flow */
  .box-icon-2 {
    width: auto;
    height: auto;
    padding: 3px;
    margin: 0 auto;
  }

  .icon-label {
    text-align: center;
     font-size: 0.675rem;
    margin-top: 8px;
    height: 30px;
  }


  .status-box {
    justify-content: center;
  }

  .status-box {
      margin: 0 auto;
  }

  .align-items-fs {
    align-items: flex-start;
  }

  .custom-box-display {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .copy-right {
    text-align: center;
  }

  .soc-seal {
    display: flex;
    align-items: center;
    justify-content: center;
  }


   .box svg line[stroke-dasharray] {
     stroke-width: 4px;          /* adjust as needed */
   }

   .box svg line {
     stroke-width: 4px;          /* was 2 → now thicker */
   }

  /* .box svg[viewBox="0 0 400 40"] {
    width: 300px;
    height: 30px;
   }*/




   .vertical-stacka {
       align-items: center;
     }

     .vertical-stacka p {
       text-align: center;
     }

    .custom-box2.green-box-custom .ph-check-circle,
    .custom-box2.teal-box-custom .ph-check-circle {
      display: none !important;
    }

    .unifed-box {
      padding: 24px 12px;
    }

   


      .gap-12-a {
          gap: 2.3rem;
      }


        .compare-col {
          flex: 1 1 100%;             /* full width */
          max-width: 100%;
          min-height: auto;           /* no forced min-height – let content decide */
          /* Optional: add some breathing room */
          padding: 0 12px;
        }

    .h1mobile-font-text {
      font-size: 2rem;
      text-align: center;
    }

    .h2mobile-font-text {
      font-size: 1.125rem;
      text-align: center;
    }

    .text-4xl {
      font-size: 1.875rem;
    }



 .preview-container {
     width: auto;

 }

 .gridcol-1 {
     padding: 0rem;
 }

 .mobile-text-center {
  text-align: center;
 }

 .price-table-container {
     padding: 0 0px;

 }
}



/* Desktop styles */
@media only screen and (min-width: 921px) {
  .menu-toggle {
    display: none;
    /* hide hamburger */
  }


  .main-nav {
    flex: 1;
    /* nav takes available space */
    display: flex;
    justify-content: center;
    /* center nav links */
  }


  .main-nav>ul {
    display: flex;
    gap: 40px;
    align-items: center;
  }


  .menu-buttons {
    display: none;
    /* hide inside-nav buttons on desktop */
  }

  .btn-group {
    display: flex;
    /* show external buttons on desktop */
    gap: 12px;
    margin-left: auto;
    /* push buttons to far right */
  }

  .submenu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    background: #061442;
    padding: 10px;
    z-index: 1000;
  }

  .has-submenu:hover>.submenu {
    display: block;
  }

  .box-icon {
      padding: 12px 12px;
  }

  .icon-label {
     font-size: 0.875rem;
  }



}


@media (min-width: 640px) {

  /* sm:inline */
  .status-text {
    display: inline;
  }
}


/* Slightly larger on medium+ screens */
@media (min-width: 768px) {
  .quote-text {
    font-size: 1.125rem;
    /* md:text-lg */
  }
}

@media (min-width: 640px) {
  .br-sm {
    display: inline;
  }
}


/* ────────────────────────────────────────────────
   RESPONSIVE BEHAVIOR
───────────────────────────────────────────────── */

@media (max-width: 1100px) {

  .cards-grid,
  .cards-grid-2 {
    grid-template-columns: repeat(3, 1fr);
    /* 3 columns on tablets */
  }

  .grid-layout, .grid-layout-2 {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px; /* keep consistent spacing */

  }
}

@media (max-width: 768px) {

  .cards-grid,
  .cards-grid-2 {
    grid-template-columns: repeat(2, 1fr);
    /* 2 columns on small tablets / large phones */
    gap: 20px;
    padding: 16px;
  }

     .mobile-login-center {
    display: flex;           /* Enables flexbox for this element */
    justify-content: center; /* Centers text horizontally */
    align-items: center;     /* Centers text vertically */
    
    width: 100%;             /* Fills the width of the LI */
    min-height: 45px;        /* Ensures it has a consistent height like a button */
    text-decoration: none;   /* Removes underline */
  }

}


@media (max-width: 667px) {
  .grid-layout {
    grid-template-columns: 1fr; /* single column */
  }
  .grid-layout-2 {
    grid-template-columns: 1fr; /* single column */
  }

  .grid-layout-2a {
    grid-template-columns: 1fr;
  }

  .max-w-370px {
     min-width: 0 !important; /* Resets min-width to its initial state */
     width: 100% !important;   /* Allows element to take full available width */
   }


   .mobile-fixgap {
    gap: 0rem;
    margin: 0rem 0;
   }

   .but-align {
       grid-template-columns: 1fr;
       display: grid;
   }

   .but-align > div > h2 {
    text-align: center;
   }

  

   .grid-5arrow {
       grid-template-columns: 1fr 22px 1fr 22px 1fr;

   }

   .features-list {
       margin: 0rem 0;
   }

   .text-xs {
       font-size: 0.65rem;
   }

   .override-grid {
      grid-template-columns: repeat(1, 1fr);
        display: grid;
        gap: 5px;
   }

   .self-left {
    justify-self: self-start;
   }

   .gap-2-override {
    gap: 8px;
   }

   .copyright-footer {
       border-top: 1px solid #b2b5c030;
       padding: 0px 0;
   }

}

@media (max-width: 500px) {

  .cards-grid,
  .cards-grid-2 {
    grid-template-columns: 1fr;
    /* stack 1 column on mobile */

  }

  .grid-container {
      grid-template-columns: repeat(2, 1fr);   /* 2 columns on tablets & mobile */
      gap: 1.25rem;
    }

        .order-md-first  { order: -1    !important; }
          .order-md-last   { order: 6     !important; }
          .order-md-0      { order: 0     !important; }
          .order-md-1      { order: 1     !important; }
          .order-md-2      { order: 2     !important; }
          .order-md-3      { order: 3     !important; }
          .order-md-4      { order: 4     !important; }
          .order-md-5      { order: 5     !important; }

          .grid-layout .grid-layout-2 {
            grid-template-columns: 1fr; /* single column */
          }


          .startup-banner {
              flex-direction: column;
              text-align: center;
          }


          .form-2col {
              grid-template-columns: repeat(1, 1fr);
          }

          .two-column-grid {
                  grid-template-columns: 1fr;
              }

              .section-2 {
                  padding: 48px 16px;
                  overflow: hidden;
              }
       
}




@media (max-width: 480px) {
          .grid-layout {
            grid-template-columns: 1fr; /* single column */
          }
          .grid-layout-2 {
            grid-template-columns: 1fr; /* single column */
          }

        .max-w-370px {
           min-width: 0 !important; /* Resets min-width to its initial state */
           width: 100% !important;   /* Allows element to take full available width */
         }

         .quote-builder-grid {
             grid-template-columns: 1fr;
         }
}



/* ====================== GRID SYSTEM - 1 to 12 Columns ====================== */

.grid-1  { display: grid; grid-template-columns: repeat(1, 1fr);  gap: 24px; width: 100%; }
.grid-2  { display: grid; grid-template-columns: repeat(2, 1fr);  gap: 24px; width: 100%; }
.grid-3  { display: grid; grid-template-columns: repeat(3, 1fr);  gap: 24px; width: 100%; }
.grid-4  { display: grid; grid-template-columns: repeat(4, 1fr);  gap: 24px; width: 100%; }
.grid-5  { display: grid; grid-template-columns: repeat(5, 1fr);  gap: 24px; width: 100%; }
.grid-6  { display: grid; grid-template-columns: repeat(6, 1fr);  gap: 24px; width: 100%; }
.grid-7  { display: grid; grid-template-columns: repeat(7, 1fr);  gap: 24px; width: 100%; }
.grid-8  { display: grid; grid-template-columns: repeat(8, 1fr);  gap: 24px; width: 100%; }
.grid-9  { display: grid; grid-template-columns: repeat(9, 1fr);  gap: 24px; width: 100%; }
.grid-10 { display: grid; grid-template-columns: repeat(10, 1fr); gap: 24px; width: 100%; }
.grid-11 { display: grid; grid-template-columns: repeat(11, 1fr); gap: 24px; width: 100%; }
.grid-12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; width: 100%; }

/* Responsive Behavior */
@media (max-width: 1200px) {
    .grid-12, .grid-11, .grid-10 { grid-template-columns: repeat(10, 1fr); }
}

@media (max-width: 992px) {
    .grid-12, .grid-11, .grid-10, .grid-9, .grid-8 { 
        grid-template-columns: repeat(8, 1fr); 
    }
}

@media (max-width: 768px) {
    .grid-12, .grid-11, .grid-10, .grid-9, .grid-8, .grid-7, .grid-6 { 
        grid-template-columns: repeat(6, 1fr); 
    }
}

@media (max-width: 576px) {
    .grid-1, .grid-2, .grid-3, .grid-4, .grid-5, .grid-6,
    .grid-7, .grid-8, .grid-9, .grid-10, .grid-11, .grid-12 {
        grid-template-columns: 1fr;           /* Stack everything on mobile */
        gap: 20px;
    }
}

