﻿html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#scroll-container {
    flex: 1; /* Pushes the footer to the bottom */
    display: flex;
    flex-direction: column;
}


     /* Modal Dialog - All sizes */
.custom-modal .modal-dialog {
    max-width: 600px;
    width: 94vw;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1.2rem;
    margin-bottom: 1.2rem;
    /* Remove display: flex and align-items: center! */
    /* min-height: calc(100vh - 2.4rem); Remove this! */
}

 /* Modal Content */
.custom-modal-content {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.17), 0 1.5px 4px rgba(0,0,0,0.11);
    padding: 2.7rem 2.8rem 1.5rem 2.8rem;
    border: none;
    font-family: 'Inter', 'Arial', sans-serif;
    width: 100%;
    max-width: 100vw;
    max-height: calc(100vh - 2.4rem); /* Never exceed screen */
    overflow-y: auto; /* Enable scrolling INSIDE modal if content is tall */
    position: relative;
    display: flex;
    flex-direction: column;
}

       /* Ensure close button always visible on scroll */
.btn-close-modal {
    position: absolute;
    top: 22px;
    right: 24px;
    background: none;
    border: none;
    font-size: 2.1rem;
    color: #111;
    z-index: 10;
    width: 38px;
    height: 38px;
    line-height: 1;
    cursor: pointer;
}

        .custom-modal-title {
          margin-top: 0.6rem;
          margin-bottom: 1.1rem;
          font-size: 2.2rem;
          font-weight: 800;
          text-align: left;
          letter-spacing: -0.01em;
        }

        .custom-modal-subtitle {
          font-size: 1.1rem;
          font-weight: 700;
          margin-bottom: 0.6rem;
          margin-top: 0.1rem;
          color: #111;
        }

        .custom-modal-description {
          color: #232323;
          font-size: 1rem;
          line-height: 1.42;
          margin-bottom: 0.3rem;
        }

        .custom-input {
          background: #f4f4f4;
          border: 1.5px solid #e2e2e2;
          border-radius: 13px;
          font-size: 1rem;
          padding: 0.75rem 1rem;
          height: 50px;
          font-weight: 500;
          box-shadow: none !important;
          outline: none;
        }
        .custom-input:focus {
          border-color: #bdbdbd;
          background: #f7f7f7;
        }

        .custom-submit {
          background: #111;
          color: #fff;
          border: none;
          border-radius: 100px;
          font-size: 1.17rem;
          font-weight: 700;
          height: 52px;
          margin-top: 0.7rem;
          box-shadow: none !important;
          outline: none;
          transition: background 0.15s;
        }
        .custom-submit:hover,
        .custom-submit:focus {
          background: #000;
          color: #fff;
        }

        .custom-privacy-note {
          font-size: 0.95rem;
          color: #666;
          opacity: 0.77;
          margin-top: 1.5rem;
          text-align: left;
          margin-bottom: 0;
          padding-bottom: 0;
        }

        /* Remove default modal header/footer padding */
        .custom-modal-content .modal-header,
        .custom-modal-content .modal-footer {
          display: none;
        }

/* Responsive for mobile */
@media (max-width: 768px) {
    .custom-modal .modal-dialog {
        max-width: 97vw !important;
        margin: 0;
    }
    .custom-modal-content {
        padding: 1.1rem 0.7rem 1.2rem 0.7rem;
        border-radius: 12px;
    }
    .custom-modal-title {
        font-size: 1.32rem;
        margin-bottom: 0.6rem;
    }
}

@media (max-width: 576px) {
    .custom-modal .modal-dialog {
        max-width: 100vw !important;
        margin: 0;
    }
    .custom-modal-content {
        padding: 1.2rem 0.5rem 1rem 0.5rem;
        border-radius: 10px;
        max-height: 100vh;
        overflow-y: auto;
        padding-bottom: calc(env(safe-area-inset-bottom, 0) + 1.2rem); /* iOS notch */
    }
    .custom-modal-title {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    .custom-modal-subtitle {
        font-size: 1rem;
    }
    .btn-close-modal {
        top: 10px;
        right: 12px;
        font-size: 1.4rem;
        width: 30px;
        height: 30px;
    }
    .custom-question-block {
        padding: 0.6rem 0.3rem;
    }
      .Wedai-footer {
        padding-top: 42px;
        padding-bottom: 35px;
        text-align: center;
    }
    .Wedai-footer .footer-logo img {
        height: 46px;
    }
    .Wedai-footer .footer-social .social-icon {
        font-size: 1.28rem;
        margin: 0 6px;
    }
    .Wedai-footer .footer-email,
    .Wedai-footer .footer-bottom {
        font-size: 0.97rem;
    }
}
/* Modal background overlay for full viewport on mobile */
@media (max-width: 576px) {
    .modal-backdrop.show {
        height: 100vh;
        min-height: 100vh;
    }
}


             .custom-question-block {
            background: #f9f9fc;
            border-radius: 16px;
            padding: 1.1rem 1.2rem 1.1rem 1.2rem;
            margin-bottom: 1.4rem;
            box-shadow: 0 1.5px 9px rgba(30,32,65,0.05);
            border: 1.2px solid #eee;
            transition: box-shadow 0.17s;
            position: relative;
        }
                .custom-question-block:hover {
            box-shadow: 0 8px 30px rgba(30,32,65,0.11);
            border-color: #e5e7fb;
        }

             .custom-question-label {
            font-size: 1.08rem;
            font-weight: 600;
            color: #181a24;
            margin-bottom: 0.7rem;
            display: block;
            letter-spacing: -0.005em;
        }


             .custom-radio-group {
            display: flex;
            gap: 2.4rem;
            margin-top: 0.15rem;
            align-items: center;
        }


             .custom-radio-label {
            display: flex;
            align-items: center;
            border-radius: 9px;
            padding: 0.36rem 1.45rem 0.36rem 1.2rem;
            font-size: 1.07rem;
            font-weight: 600;
            cursor: pointer;
            background: #f2f3fa;
            border: 1.7px solid #e2e2e2;
            color: #23253a;
            user-select: none;
            margin: 0 0.26rem 0 0;
            transition: border-color 0.13s, background 0.13s, color 0.13s;
            min-width: 70px;
            min-height: 39px;
            box-shadow: none;
            position: relative;
        }


            /* Yes/No hover and active */
        .custom-radio-group input[type="radio"]:checked + .custom-radio-label {
            background: #eceefd;
            border-color: #373fbb;
            color: #191b3a;
        }
        .custom-radio-label:hover {
            border-color: #b7bcf8;
            background: #f7f7fe;
        }

        /* Hide the ugly default radio, but keep accessible */
        .custom-radio-group input[type="radio"] {
            opacity: 0;
            position: absolute;
            left: -9999px;
        }

      
                .form-select.custom-input {
            background: #f4f4f4;
            border-radius: 13px;
            border: 1.5px solid #e2e2e2;
            font-size: 1rem;
            font-weight: 500;
            height: 50px;
            box-shadow: none !important;
            outline: none;
            color: #242424;
        }
        .form-select.custom-input:focus {
            border-color: #bdbdbd;
            background: #f7f7f7;
        }
.Wedai-footer {
    background: #D90217;
    color: #fff;
    padding-top: 70px;
    padding-bottom: 60px;
    margin-bottom: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    box-shadow: 0 -4px 24px 0 rgba(0,0,0,0.04);
}

.Wedai-footer .footer-logo img {
    height: 60px;  /* You can adjust size here */
    width: auto;
    filter: drop-shadow(0 0 4px rgba(0,0,0,0.14));
}

.Wedai-footer .footer-link, 
.Wedai-footer .footer-link:visited {
    color: #fff;
    text-decoration: underline;
    opacity: 0.96;
    transition: opacity 0.15s;
}
.Wedai-footer .footer-link:hover {
    opacity: 1;
    text-decoration: underline;
}

.Wedai-footer .footer-social .social-icon {
    display: inline-block;
    margin: 0 10px;
    font-size: 1.7rem;
    color: #fff;
    transition: color 0.15s;
}
.Wedai-footer .footer-social .social-icon:hover {
    color: #fffbe5;
}



.floating-getintouch {
    position: fixed;
    bottom: 18px;
    right: 18px;
    z-index: 4000;
    background: #D90217;
    color: #fff;
    padding: 14px 18px;
    border-radius: 999px;
    box-shadow: 0 3px 16px 0 rgba(0,0,0,0.14);
    font-size: 1.2rem;
    font-weight: 600;
    transition: background 0.18s;
}
.floating-getintouch:hover {
    background: #a90011;
    color: #fff;
}
@media (min-width: 576px) {
    .floating-getintouch { display: none; }
}
.launch-announcement {
    font-size: 1.25rem;
    font-weight: 600;
    color: #D90217;
    text-align: center;
    margin-bottom: 1.2rem;
    animation: fadeInUp 1.2s ease-out;
}

@media (max-width: 768px) {
    .launch-announcement {
        font-size: 1.05rem;
    }
}

/* Optional animation */
@keyframes fadeInUp {
    from {
        transform: translateY(12px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
.hero-banner .container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Make the wrapper behave like a flex container with wrapping */
.hash-tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.2rem 1rem;
    list-style: none;
    margin: 0 auto;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}



/* Each tag */
.hash-tags {
    background: #f5f5f5;
    border-radius: 999px;
    padding: 0.4rem 1rem;
    font-size: clamp(0.8rem, 2.5vw, 1rem);
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
    margin: 0 !important;
    max-width: 100%;
    flex-shrink: 1;               /* ✳️ allows to shrink inside flex row */
    white-space: normal;          /* ✳️ allow tag text to wrap */
    overflow: visible;            /* ✳️ allow full tag shape */
    text-overflow: unset;         /* ✳️ remove ellipsis */
    word-break: break-word;       /* ✳️ safe line breaks */
}


.hash-tags p {
  margin: 0;
  padding: 0;
  line-height: 1.2;
  display: block;
  text-align: center;
  white-space: normal;
  word-break: break-word;
}

/* Tag text */
.hash-tags {
    margin: 0 !important;
     font-size: clamp(0.8rem, 2.5vw, 1rem);
}
@media (max-width: 400px) {
    .hash-tags-wrapper {
        padding-left: 1rem;
        padding-right: 1rem;
        justify-content: flex-start;
    }
}
