:root {
  --nav-height: 0px;
}

@media (max-width: 767px) {

 html, body {
  overflow-x: hidden;
  overflow-y: auto;
}


  .sell-faster {
    height: auto;
  }

  .container_section {
    flex-direction: column;
    height: auto;
    padding: 0 20px;
  }

  /* Hide sidebar */
  .sidebar {
    display: none;
  }

  .content {
    padding-left: 0;
    height: auto;
    padding-top: calc(var(--nav-height) + 8px);
  }

  /* One-column layout */
  .crm-section.feature {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }

  /* Title like Odoo */
  .title {
    margin: 1rem 0 2.5rem 0;
    color: #714b67;
    font-family: "Caveat";
    font-size: calc(1.525rem + 3.3vw);
    font-weight: 700;
  }

  /* Each feature block spacing */
  .crm-section.feature>div {
    margin-bottom: 28px;
  }

  /* Headings (Modern UI, Mobile, etc.) */
  .crm-section.feature h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #111827;
  }

  /* Paragraphs */
  .feature p {
    font-size: 16px;
    line-height: 1.7;
    color: #4b5563;
  }
}



@media (min-width: 768px) and (max-width: 1023px) {

 html, body {
  overflow-x: hidden;
  overflow-y: auto;
}


  .sell-faster {
    height: auto;
  }

  .container_section {
    flex-direction: column;
    height: auto;
    padding: 0 40px;
  }

  /* Hide sidebar on tablet */
  .sidebar {
    display: none;
  }

  .content {
    padding-left: 0;
    height: auto;
    padding-top: calc(var(--nav-height) + 8px);
  }

  /* Keep 2 columns like your screenshot */
  .crm-section.feature {

    grid-template-columns: repeat(2, 1fr);
    column-gap: 50px;
    row-gap: 40px;
    --gutter-x: 3rem;
    --gutter-y: 1.5rem;
  }

  .title {
    margin: 2.5rem 0 2rem 0;
    color: #232d63;
    font-family: "Caveat";
    font-size: 5rem;
    font-weight: 700;
  }

  .crm-section.feature h4 {
    line-height: 1.2;
    margin-top: 0;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    display: block;
    margin-block-start: 1.33em;
    margin-block-end: 1.33em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;

    unicode-bidi: isolate;

  }

  .feature p {
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
    text-align: left;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    word-break: normal;
    margin-bottom: 4px;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
  }

}



@media (min-width: 1024px) {

  .sell-faster {
    height: calc(100vh - 90px);

  }

  .container_section {
    display: flex;
    max-width: 1250px;
    margin: auto;
    height: 100%;
  }

  /* Apply 2-column grid ONLY to feature items */
  .crm-section.feature {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 80px;
    row-gap: 40px;
    margin-top:55px !important;
  }

  /* Make title span full width */
  .crm-section.feature .title {
    grid-column: 1 / -1;
  }

  /* Optional: clean heading spacing (matches screenshot) */
  .crm-section.feature h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #111;
  }

  .sidebar ul {
    list-style: none;
  }

  .sidebar {
    width: 300px;
    position: sticky;
    top: 100px;
    height: fit-content;
    flex-shrink: 0;
    padding-top: 20px;
  }

  .sidebar li {
    padding: 12px 16px;
    cursor: pointer;
    color: #555;
    font-weight: 400;
  }

  .sidebar li.active {
    color: #232d63;
    font-weight: 400;
    border-left: 3px solid #232d63;
    background: #f5f5f5;
  }

  .content {
    flex: 1;
    padding-left: 100px;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    height: 100%;
    /* padding-top: calc(var(--nav-height) + 8px); */
    /* ensure scrollIntoView respects navbar height */
    scroll-padding-top: calc(var(--nav-height) + 8px);
  }

  .content::-webkit-scrollbar {
    width: 0;
    height: 0;
  }

  .title {
    color: #232d63;
    font-size: 4rem;
    font-family: 'Caveat', cursive;
    margin: 1.5rem 0 1rem 0;
  }

  /* Remove extra top margin on titles; spacing handled by container and grid gaps */
  .crm-section.feature .title {
    margin-top: 0;
  }

  .features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .feature p {
    color: #555;
    line-height: 1.6;
    font-size: 17px;
    margin-bottom: 4px;
  }

  .crm-section {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
  }

  .crm-first-section {
    padding: 10px 0;
    border-bottom: 1px solid #eee;

  }
}
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-overlay.active {
  display: flex;
}

.popup-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
}

.no-scroll {
  overflow: hidden;
}
