* Custom CSS for scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}


/* FAQ Accordion Arrow Rotation */
.faq-question[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

/* FAQ Answer transition for max-height */
.faq-answer {
    transition: max-height 0.3s ease-in-out;
}
.faq-answer.is-open {
    /* Max-height will be set by JS, but this helps the transition */
    will-change: max-height;
}


/* logo */

/* @font-face {
  font-family: 'Allura';
  src: url('/fonts/Allura.woff2') format('woff2');
  font-display: swap; 
} */
/* body{
    background-color: red;
} */

@font-face { font-family: 'Alex Brush'; src: url('/fonts/alex-brush-v22-latin-regular.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Allura'; src: url('/fonts/allura-v22-latin-regular.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Dancing Script'; src: url('/fonts/dancing-script-v28-latin-regular.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Great Vibes'; src: url('/fonts/great-vibes-v20-latin-regular.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Herr Von Muellerhoff'; src: url('/fonts/herr-von-muellerhoff-v22-latin-regular.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Italianno'; src: url('/fonts/italianno-v17-latin-regular.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Mr Bedfort'; src: url('/fonts/mr-bedfort-v22-latin-regular.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Mr De Haviland'; src: url('/fonts/mr-de-haviland-v14-latin-regular.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Ms Madi'; src: url('/fonts/ms-madi-v2-latin-regular.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Niconne'; src: url('/fonts/niconne-v15-latin-regular.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Pacifico'; src: url('/fonts/pacifico-v22-latin-regular.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Parisienne'; src: url('/fonts/parisienne-v13-latin-regular.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Playball'; src: url('/fonts/playball-v21-latin-regular.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Qwigley'; src: url('/fonts/qwigley-v19-latin-regular.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Rouge Script'; src: url('/fonts/rouge-script-v19-latin-regular.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Sacramento'; src: url('/fonts/sacramento-v16-latin-regular.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Satisfy'; src: url('/fonts/satisfy-v22-latin-regular.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Tangerine'; src: url('/fonts/tangerine-v17-latin-regular.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Yellowtail'; src: url('/fonts/yellowtail-v24-latin-regular.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Yesteryear'; src: url('/fonts/yesteryear-v20-latin-regular.woff2') format('woff2'); font-display: swap; }

@font-face {
  font-family: 'Caveat';
  src: url('/fonts/mr-de-haviland-v14-latin-regular.woff2') format('woff2');
  font-display: swap;
}


@font-face {
  font-family: 'Mea Culpa';
  src: url('/fonts/mea-culpa-v7-latin-regular.woff2') format('woff2');
  font-display: swap;
}

/* @font-face {
  font-family: 'HeyBaeScript';
  src: url('/Fonts/HeyBaeScript.woff') format('woff');
  font-display: swap;
} */

@font-face {
  font-family: 'Style Script';
  src: url('/fonts/style-script-v12-latin-regular.woff2') format('woff2');
  font-display: swap;
} 

@font-face {
  font-family: 'Lovers Quarrel';
  src:url('/Fonts/lovers-quarrel-v24-latin-regular.woff2') ;
  font-display: swap;
}

html{
    scroll-behavior: smooth;
}




/* ============================
   BLOG SECTION
============================ */

.blog {
  padding: 10px 20px 60px 20px;
  background: #f3f5f9; /* Softer modern background */
  font-family: "Inter", Arial, sans-serif;
  color: #333;
}

.blog-container {
  max-width: 1310px;
  margin: 0 auto;
  text-align: center;
}

.blog-container h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
}

.blog-container .subtext {
  color: #6b7280;
  font-size: 1rem;
  margin-bottom: 45px;
}



/* ============================
   BLOG GRID — Desktop: 3 cards
============================ */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  align-items: stretch;
}



/* ============================
   BLOG CARD
============================ */

.blog-card {
  background: #ffffff;
  border-radius: 22px; /* More rounded like your screenshot */
  overflow: hidden;

  /* Soft floating shadow */
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.07);
  
  transition: all 0.3s ease;
  cursor: pointer;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);
}


.blog-card img {
  width: 100%;
  height: 250px;

  /* clean placeholder style */
  background-color: #eef2f7;
  object-fit: cover;
}



/* ============================
   CONTENT
============================ */

.blog-content {
  padding: 22px;
  text-align: left;
}

.blog-content h3 {
  font-size: 1.5rem;
  color: #1a1d25;
  font-weight:  Bold;
  margin-bottom: 8px;
  line-height: 1.4;
 font-family: oppins, Arial, Helvetica, sans-serif;
 
}

.blog-content h3 a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
  font-size:  1.4rem;
}

.blog-content h3 a:hover {
  color: #2563eb;
}

.blog-content p {
  color: #2e3030;
  font-size: 15px;
  margin-bottom: 15px;
  line-height: 1.6;
  font-weight:  500;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.read-more {
  font-size: 1rem;
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
}

.read-more:hover {
  text-decoration: underline;
}



/* ============================
   RESPONSIVE BREAKPOINTS
============================ */

/* Tablet — 2 cards */
@media (max-width: 950px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
}

/* Mobile — 1 card */
@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .blog-card img {
  height: 250px;
  }

  .blog-content {
    padding: 18px;
  }

  .blog-container h2 {
    font-size: 1.9rem;
  }
}


.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}



 @media (max-width: 640px) {
    #faq h2 {
      font-size: 1.75rem; /* text-3xl */
      line-height: 1.3;
    }
    .faq-question {
      font-size: 1.1rem;
    }
    .faq-item {
      padding: 1.25rem;
    }
  }

  
  
/* PAGE TRANSITION (FADE OUT) */
.page-transition {
    opacity: 1;
    transition: opacity 0.35s ease-in-out;
}

.page-transition.fade-out {
    opacity: 0;
}

/* new tool */
.new-tool-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  margin-left: 16px;
  position: relative;
  transition: opacity 0.2s ease;
}

.new-tool-link:hover {
  opacity: 0.85;
  color: red;
}

/* Superscript styling */
.new-tool-link sup {
  font-size: 9px;
  font-weight: 600;
  margin-left: 2px;
  color: #a5b4ff; /* soft highlight */
}




/* =========================
   POPUP WRAPPER
========================= */

.popup-wrapper{

  position:fixed;

  inset:0;

  width:100%;
  min-height:100vh;

  display:none;

  align-items:center;
  justify-content:center;

  background:
  rgba(0,0,0,.55);

  padding:14px;

  overflow:hidden;

  z-index:999999;
}


/* =========================================================
   QUICKAUTOGRAPH — DOWNLOAD SURVEY POPUP
   FINAL COMPLETE CSS
========================================================= */

.qa-survey-overlay {
    position: fixed;

    inset: 0;

    z-index: 999999;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    padding: 14px;

    box-sizing: border-box;

    background: rgba(15, 23, 42, 0.58);

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}


/* OPEN */

.qa-survey-overlay.is-open {
    opacity: 1;
    visibility: visible;
}


/* =========================================================
   MODAL
========================================================= */

.qa-survey-modal {
    position: relative;

    width: 100%;
    max-width: 950px;

    max-height: calc(100vh - 28px);

    margin: 0;

    display: flex;
    flex-direction: column;

    background: #ffffff;

    border-radius: 22px;

    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.22);

    overflow-x: hidden;
    overflow-y: auto;

    box-sizing: border-box;

    transform:
        translateY(18px)
        scale(0.985);

    transition:
        transform 0.25s ease;
}


.qa-survey-overlay.is-open
.qa-survey-modal {
    transform:
        translateY(0)
        scale(1);
}


/* =========================================================
   MODAL SCROLLBAR
========================================================= */

.qa-survey-modal::-webkit-scrollbar {
    width: 6px;
}

.qa-survey-modal::-webkit-scrollbar-track {
    background: transparent;
}

.qa-survey-modal::-webkit-scrollbar-thumb {
    background: #d5d8df;
    border-radius: 20px;
}

.qa-survey-modal {
    scrollbar-width: thin;
    scrollbar-color: #d5d8df transparent;
}


/* =========================================================
   HEADER
========================================================= */

.qa-survey-header {
    position: relative;

    flex: 0 0 auto;

    padding:
        24px
        70px
        14px;

    text-align: center;
    
    background: #ffffff;

    border-bottom:
        1px solid #eef0f4;

    box-sizing: border-box;
}


/* =========================================================
   BRAND MARK
========================================================= */

.qa-survey-brand-mark {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    margin:
        0
        auto
        7px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #f2edff,
            #ebe6ff
        );

    color: #4f21e8;

    font-size: 25px;

    line-height: 1;
}

.qa-survey-brand-mark span {
    display: block;

    transform:
        translateY(-1px);
}


/* =========================================================
   TITLE
========================================================= */

.qa-survey-title {
    margin: 0;

    color: #111827;

    font-size: 27px;
    line-height: 1.2;

    font-weight: 750;

    letter-spacing: -0.035em;
}


/* =========================================================
   SUBTITLE
========================================================= */

.qa-survey-subtitle {
    margin:
        6px
        0
        12px;

    color: #667085;

    font-size: 14px;
    line-height: 1.4;

    font-weight: 500;
}


/* =========================================================
   CLOSE BUTTON
========================================================= */

.qa-survey-close {
    position: absolute;

    top: 18px;
    right: 18px;

    width: 44px;
    height: 44px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0;

    border: none;

    border-radius: 50%;

    background: #f5f6f8;

    color: #1f2937;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.qa-survey-close:hover {
    background: #e9ebef;

    color: #111827;

    transform: scale(1.04);
}

.qa-survey-close:active {
    transform: scale(0.97);
}

.qa-survey-close:focus-visible {
    outline:
        3px solid
        rgba(79, 33, 232, 0.2);

    outline-offset: 3px;
}


/* =========================================================
   PROGRESS
========================================================= */

.qa-survey-progress {
    position: relative;

    width: min(470px, 80%);

    height: 34px;

    margin:
        0
        auto;

    display: flex;

    align-items: center;
    justify-content: space-between;
}


/* line */

.qa-survey-progress-line {
    position: absolute;

    left: 18px;
    right: 18px;

    top: 50%;

    height: 2px;

    background: #e3e6ec;

    transform: translateY(-50%);

    z-index: 0;
}


/* steps */

.qa-survey-progress-step {
    position: relative;

    z-index: 1;

    width: 34px;
    height: 34px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #e7e9ee;

    color: #475467;

    font-size: 13px;

    font-weight: 700;

    box-sizing: border-box;
}


/* active */

.qa-survey-progress-step.is-active {
    background:
        linear-gradient(
            135deg,
            #4f20e5,
            #6c2df0
        );

    color: #ffffff;

    box-shadow:
        0 7px 18px
        rgba(79, 32, 229, 0.28);
}


/* =========================================================
   FORM
========================================================= */

#qaSurveyForm {
    width: 100%;

    display: flex;

    flex-direction: column;

    min-height: 0;

    box-sizing: border-box;
}


/* =========================================================
   BODY
========================================================= */

.qa-survey-body {
    order: 1;

    width: 100%;

    display: block;

    padding:
        18px
        34px
        0;

    box-sizing: border-box;

    overflow: visible;
}


/* =========================================================
   QUESTIONS
========================================================= */

.qa-survey-question {
    position: relative;

    display: block;

    width: 100%;

    height: auto;

    margin:
        0
        0
        16px;

    padding: 0;

    box-sizing: border-box;

    overflow: visible;

    clear: both;

    float: none;
}


/* =========================================================
   QUESTION HEADING
========================================================= */

.qa-survey-question-heading {
    display: flex;

    align-items: center;

    width: 100%;

    min-height: 34px;

    margin:
        0
        0
        7px;

    gap: 8px;

    box-sizing: border-box;
}


/* =========================================================
   NUMBER
========================================================= */

.qa-survey-number {
    flex:
        0 0 34px;

    width: 34px;
    height: 34px;

    min-width: 34px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #4f20e5,
            #6c2df0
        );

    color: #ffffff;

    font-size: 14px;

    line-height: 1;

    font-weight: 750;

    box-shadow:
        0 5px 14px
        rgba(79, 32, 229, 0.16);
}


/* =========================================================
   QUESTION LABEL
========================================================= */

.qa-survey-question-label {
    display: block;

    min-width: 0;

    margin: 0;

    color: #111827;

    font-size: 15px;

    line-height: 1.35;

    font-weight: 700;

    letter-spacing: -0.01em;
}


.qa-survey-required {
    color: #ef4444;

    margin-left: 2px;
}


.qa-survey-optional {
    color: #667085;

    font-weight: 500;
}


/* =========================================================
   OPTIONS GRID
========================================================= */

.qa-survey-options {
    width: 100%;

    display: grid;

    box-sizing: border-box;

    margin: 0;
    padding: 0;
}


/* Q1 */

.qa-survey-purpose-options {
    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 10px;
}


/* Q2 */

.qa-survey-document-options {
    grid-template-columns:
        repeat(6, minmax(0, 1fr));

    gap: 10px;
}


/* =========================================================
   OPTION
========================================================= */

.qa-survey-option {
    position: relative;

    width: 100%;

    min-width: 0;

    margin: 0;
    padding: 0;

    box-sizing: border-box;
}


/* Hide radio */

.qa-survey-option input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;

    pointer-events: none;
}


/* =========================================================
   OPTION CARD
========================================================= */

.qa-survey-option label {
    width: 100%;

    min-height: 80px;

    padding:
        9px
        7px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 5px;

    box-sizing: border-box;

    border:
        1px solid #dfe3ea;

    border-radius: 11px;

    background: #ffffff;

    color: #111827;

    font-size: 12px;

    line-height: 1.25;

    font-weight: 650;

    text-align: center;

    cursor: pointer;

    transition:
        border-color 0.18s ease,
        background 0.18s ease,
        color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease;
}


/* Q1 slightly taller */

.qa-survey-purpose-options
.qa-survey-option label {
    min-height: 80px;
}


/* Q2 */

.qa-survey-document-options
.qa-survey-option label {
    min-height: 78px;
}


/* icon */

.qa-survey-option-icon {
    display: block;

    font-size: 23px;

    line-height: 1;

    flex: 0 0 auto;
}


/* text */

.qa-survey-option label > span:last-child {
    display: block;
}


/* hover */

.qa-survey-option label:hover {
    border-color: #b8a9f7;

    background: #faf9ff;

    transform: translateY(-1px);

    box-shadow:
        0 4px 12px
        rgba(79, 32, 229, 0.06);
}


/* selected */

.qa-survey-option
input:checked
+ label {
    border-color: #5a28e8;

    background: #f5f1ff;

    color: #4d20d7;

    box-shadow:
        0 0 0 2px
        rgba(90, 40, 232, 0.09);
}


/* focus */

.qa-survey-option
input:focus-visible
+ label {
    outline:
        3px solid
        rgba(79, 32, 229, 0.18);

    outline-offset: 2px;
}


/* =========================================================
   ERROR
========================================================= */

.qa-survey-error {
    display: none;

    margin:
        6px
        0
        0;

    color: #dc2626;

    font-size: 12px;

    line-height: 1.4;

    font-weight: 500;
}


.qa-survey-error.is-visible {
    display: block;
}


/* =========================================================
   TEXTAREA WRAPPER
========================================================= */

.qa-survey-textarea-wrap {
    position: relative;

    width: 100%;

    height: auto;

    box-sizing: border-box;
}


/* =========================================================
   TEXTAREA
========================================================= */

.qa-survey-textarea {
    display: block;

    width: 100%;
    max-width: 100%;

    height: 78px;
    min-height: 78px;

    margin: 0;

    padding:
        11px
        13px
        23px;

    box-sizing: border-box;

    resize: vertical;

    border:
        1px solid #dfe3ea;

    border-radius: 11px;

    background: #ffffff;

    color: #1f2937;

    font-family: inherit;

    font-size: 13px;

    line-height: 1.45;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.qa-survey-textarea::placeholder {
    color: #98a2b3;
}


.qa-survey-textarea:focus {
    border-color: #7650ed;

    box-shadow:
        0 0 0 3px
        rgba(79, 32, 229, 0.08);
}


/* =========================================================
   CHARACTER COUNT
========================================================= */

.qa-survey-character-count {
    position: absolute;

    right: 10px;
    bottom: 7px;

    color: #667085;

    font-size: 10px;

    line-height: 1;

    pointer-events: none;
}


/* =========================================================
   FOOTER
   IMPORTANT:
   This comes AFTER the complete .qa-survey-body
========================================================= */

.qa-survey-footer {
    order: 2;

    position: relative;

    top: auto;
    right: auto;
    bottom: auto;
    left: auto;

    width: 100%;

    height: auto;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    margin: 0;

    padding:
        2px
        34px
        22px;

    box-sizing: border-box;

    background: #ffffff;

    overflow: visible;

    clear: both;

    float: none;

    z-index: 5;
}


/* =========================================================
   SUBMIT BUTTON
========================================================= */

.qa-survey-submit {
    position: relative;

    top: auto;
    right: auto;
    bottom: auto;
    left: auto;

    width: min(470px, 100%);

    max-width: 100%;

    min-height: 50px;

    margin: 0;

    padding:
        12px
        22px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    box-sizing: border-box;

    border: none;

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            #4f20e5,
            #6428ee
        );

    color: #ffffff;

    font-family: inherit;

    font-size: 15px;

    line-height: 1;

    font-weight: 750;

    cursor: pointer;

    box-shadow:
        0 9px 24px
        rgba(79, 32, 229, 0.22);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;
}


.qa-survey-submit svg {
    flex: 0 0 auto;
}


.qa-survey-submit:hover {
    transform: translateY(-1px);

    box-shadow:
        0 12px 28px
        rgba(79, 32, 229, 0.28);
}


.qa-survey-submit:active {
    transform: translateY(0);
}


.qa-survey-submit:focus-visible {
    outline:
        3px solid
        rgba(79, 32, 229, 0.2);

    outline-offset: 3px;
}


.qa-survey-submit:disabled {
    opacity: 0.65;

    cursor: not-allowed;

    transform: none;
}


/* =========================================================
   FOOTER NOTE
========================================================= */

.qa-survey-footer-note {
    width: 100%;

    margin:
        7px
        0
        0;

    padding: 0;

    color: #667085;

    font-size: 10px;

    line-height: 1.35;

    font-weight: 500;

    text-align: center;
}


/* =========================================================
   QUICKAUTOGRAPH — FINAL RESPONSIVE CSS
   MOBILE ONLY
   DESKTOP REMAINS UNCHANGED
========================================================= */

@media (max-width: 640px) {

    /* =====================================================
       OVERLAY
    ===================================================== */

    .qa-survey-overlay {
        padding: 8px;

        align-items: center;
        justify-content: center;

        overflow: hidden;
    }


    /* =====================================================
       MODAL
    ===================================================== */

    .qa-survey-modal {
        width: 100%;
        max-width: 100%;

        max-height: calc(100vh - 16px);

        border-radius: 20px;

        overflow-x: hidden;
        overflow-y: auto;

        -webkit-overflow-scrolling: touch;

        box-sizing: border-box;
    }


    /* =====================================================
       HEADER
    ===================================================== */

    .qa-survey-header {
        padding:
            20px
            52px
            14px;
    }


    .qa-survey-brand-mark {
        width: 44px;
        height: 44px;

        margin-bottom: 6px;

        font-size: 22px;
    }


    .qa-survey-title {
        font-size: 24px;
        line-height: 1.18;
    }


    .qa-survey-subtitle {
        margin:
            5px
            0
            10px;

        font-size: 13px;
    }


    /* =====================================================
       CLOSE
    ===================================================== */

    .qa-survey-close {
        top: 14px;
        right: 14px;

        width: 42px;
        height: 42px;
    }


    /* =====================================================
       PROGRESS
    ===================================================== */

    .qa-survey-progress {
        width: min(100%, 330px);

        height: 32px;
    }


    .qa-survey-progress-line {
        left: 17px;
        right: 17px;
    }


    .qa-survey-progress-step {
        width: 32px;
        height: 32px;

        font-size: 12px;
    }


    /* =====================================================
       BODY
    ===================================================== */

    .qa-survey-body {
        width: 100%;

        padding:
            16px
            14px
            0;

        min-width: 0;

        overflow: visible;

        box-sizing: border-box;
    }


    /* =====================================================
       QUESTIONS
    ===================================================== */

    .qa-survey-question {
        width: 100%;

        margin-bottom: 18px;

        min-width: 0;

        overflow: visible;
    }


    .qa-survey-question-heading {
        width: 100%;

        min-height: 34px;

        margin-bottom: 8px;

        gap: 8px;
    }


    .qa-survey-number {
        flex:
            0 0 34px;

        width: 34px;
        height: 34px;

        min-width: 34px;
    }


    .qa-survey-question-label {
        min-width: 0;

        font-size: 15px;
        line-height: 1.35;
    }


    /* =====================================================
       Q1 + Q2
       NORMAL MOBILE GRID
       NO HORIZONTAL SCROLL
    ===================================================== */

    .qa-survey-purpose-options,
    .qa-survey-document-options {

        display: grid;

        width: 100%;

        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 8px;

        margin: 0;
        padding: 0;

        overflow: visible;

        box-sizing: border-box;
    }


    /* Remove old flex behavior */

    .qa-survey-purpose-options,
    .qa-survey-document-options {

        flex-wrap: unset;

        -webkit-overflow-scrolling: unset;

        scrollbar-width: auto;

        -ms-overflow-style: auto;
    }


    .qa-survey-purpose-options::-webkit-scrollbar,
    .qa-survey-document-options::-webkit-scrollbar {
        display: none;
    }


    /* =====================================================
       Q1 CARDS
       3 TOP + 2 BOTTOM
    ===================================================== */

    .qa-survey-purpose-options
    .qa-survey-option {

        width: 100%;
        min-width: 0;

        flex: none;
    }


    .qa-survey-purpose-options
    .qa-survey-option label {

        width: 100%;
        min-width: 0;

        min-height: 82px;

        padding:
            8px
            5px;

        gap: 4px;

        border-radius: 11px;

        font-size: 12px;

        line-height: 1.2;

        box-sizing: border-box;
    }


    /* =====================================================
       Q2 CARDS
       3 TOP + 3 BOTTOM
    ===================================================== */

    .qa-survey-document-options
    .qa-survey-option {

        width: 100%;
        min-width: 0;

        flex: none;
    }


    .qa-survey-document-options
    .qa-survey-option label {

        width: 100%;
        min-width: 0;

        min-height: 78px;

        padding:
            8px
            5px;

        gap: 4px;

        border-radius: 11px;

        font-size: 12px;

        line-height: 1.2;

        box-sizing: border-box;
    }


    /* =====================================================
       ICON
    ===================================================== */

    .qa-survey-option-icon {
        font-size: 22px;

        line-height: 1;
    }


    /* =====================================================
       TEXT AREAS
    ===================================================== */

    .qa-survey-textarea {
        width: 100%;
        max-width: 100%;

        height: 92px;
        min-height: 92px;

        padding:
            12px
            13px
            24px;

        font-size: 14px;

        box-sizing: border-box;
    }


    /* =====================================================
       FOOTER
    ===================================================== */

    .qa-survey-footer {

        order: 2;

        position: relative;

        top: auto;
        right: auto;
        bottom: auto;
        left: auto;

        width: 100%;

        height: auto;

        display: flex;

        flex-direction: column;

        align-items: center;
        justify-content: center;

        margin: 0;

        padding:
            4px
            14px
            20px;

        box-sizing: border-box;

        background: #ffffff;

        overflow: visible;

        clear: both;

        float: none;

        z-index: 10;
    }


    /* =====================================================
       SUBMIT BUTTON
    ===================================================== */

    .qa-survey-submit {

        position: relative;

        top: auto;
        right: auto;
        bottom: auto;
        left: auto;

        width: 100%;
        max-width: 470px;

        min-height: 50px;

        margin: 0;

        flex-shrink: 0;

        display: flex;

        align-items: center;
        justify-content: center;

        box-sizing: border-box;

        border-radius: 10px;

        font-size: 15px;
    }


    /* =====================================================
       FOOTER NOTE
    ===================================================== */

    .qa-survey-footer-note {

        width: 100%;

        margin:
            7px
            0
            0;

        font-size: 10px;

        line-height: 1.35;

        text-align: center;
    }
}


/* =========================================================
   SMALL PHONES
   <= 380px
========================================================= */

@media (max-width: 380px) {

    .qa-survey-overlay {
        padding: 5px;
    }


    .qa-survey-modal {
        max-height: calc(100vh - 10px);

        border-radius: 18px;
    }


    /* -----------------------------------------------------
       HEADER
    ----------------------------------------------------- */

    .qa-survey-header {
        padding:
            18px
            48px
            12px;
    }


    .qa-survey-title {
        font-size: 21px;
    }


    .qa-survey-subtitle {
        font-size: 12px;
    }


    /* -----------------------------------------------------
       BODY
    ----------------------------------------------------- */

    .qa-survey-body {
        padding:
            14px
            12px
            0;
    }


    .qa-survey-question {
        margin-bottom: 16px;
    }


    /* -----------------------------------------------------
       Q1
       3 + 2
    ----------------------------------------------------- */

    .qa-survey-purpose-options {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 7px;
    }


    .qa-survey-purpose-options
    .qa-survey-option label {

        min-height: 78px;

        padding:
            7px
            4px;

        font-size: 11px;
    }


    /* -----------------------------------------------------
       Q2
       3 + 3
    ----------------------------------------------------- */

    .qa-survey-document-options {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 7px;
    }


    .qa-survey-document-options
    .qa-survey-option label {

        min-height: 75px;

        padding:
            7px
            4px;

        font-size: 11px;
    }


    /* -----------------------------------------------------
       ICON
    ----------------------------------------------------- */

    .qa-survey-option-icon {
        font-size: 20px;
    }


    /* -----------------------------------------------------
       TEXTAREA
    ----------------------------------------------------- */

    .qa-survey-textarea {

        height: 88px;

        min-height: 88px;

        font-size: 13px;
    }


    /* -----------------------------------------------------
       FOOTER
    ----------------------------------------------------- */

    .qa-survey-footer {
        padding:
            4px
            12px
            18px;
    }


    .qa-survey-submit {
        min-height: 48px;

        font-size: 14px;
    }


    .qa-survey-footer-note {
        font-size: 9px;
    }
}
