/* ===================================
    Crafto - Eqsis
====================================== */
:root {
    --primary-font: 'Inter', sans-serif;
    --alt-font: 'Inter Tight', sans-serif;
    --custom-primary-color: #00b050;
    --custom-secondary-color: #0070c0;
    --custom-secondary-hover-color: #005a9e;
    --base-color: #0070c0;
}
/* reset */
body {
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 0px;
}
/* heading */
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--alt-font);
    letter-spacing: 0;
    margin-bottom: 25px;
}
h1,
.h1 {
    font-size: 40px;
}
h3,
.h3 {
    font-size: 34px;
    line-height: 44px;
}
h4,
.h4 {
    font-size: 2rem;
    line-height: 2.2rem;
}
.quiz-container {
    width: 100%;
    min-width: 100%;
    text-align: left;
    opacity: 1;
    transition: opacity 0.5s ease;
    min-height: 237px;
}
.btn {
    border-radius: 6px;
}
.btn.btn-large {
    padding: 12px 26px;
}
.btn-box-shadow:hover {
    transform: none;
}
.btn.btn-base-color:hover,
.btn.btn-base-color:active {
    background-color: var(--custom-secondary-hover-color) !important;
    border-color: var(--custom-secondary-hover-color) !important;
    color: white !important;
}
/* Banner */
.hero-banner {
    background-image: linear-gradient(180deg, #c9e9ff, #fbfeff 65%);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: contain;
    min-height: 100vh;
}
.hero-image {
    display: flex;
    align-items: end;
    width: 100%;
    height: 50vh;
    position: absolute;
    bottom: 0;
    overflow: hidden;
}
.hero-image img {
    width: 100%;
    max-width: none;
    object-fit: cover;
    object-position: top left;
}
.hero-section {
    min-height: 100vh;
    justify-content: center;
    align-items: center;
}
.hero-section h2 {
    font-family: var(--primary-font);
    color: var(--medium-gray);
}
/* Question fade transitions */
.question-answer-wrapper,
.lead-form-wrapper {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
    min-height: 151px;
    position: relative;
    z-index: 1;
}
.lead-form-wrapper {
    z-index: 10;
}
.fade-in {
    opacity: 1;
    transform: translateY(0);
}
.fade-out {
    opacity: 0;
    transform: translateY(10px);
}
.fade-out,
.d-none {
    pointer-events: none !important;
}
.question-answer-wrapper p,
.lead-form-wrapper p {
    line-height: 1;
    color: var(--dark-gray);
    margin-bottom: 20px;
}
/* Choices (radio style) */
.choices {
    display: flex;
    flex-flow: wrap;
    gap: 15px;
    width: 100%;
}
.choice {
    position: relative;
    padding: 8px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    width: calc(50% - 7.5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}
/* Checkmark */
.choice .checkmark {
    font-size: 24px;
    font-weight: normal;
    color: #e0e0e0;
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.3s ease, transform 0.3s ease;
    margin-right: 14px;
}
.choice .checkmark::before {
    content: '\f0c8';
}
.choice.selected {
    background-color: #e0f7fa;
    border-color: var(--custom-secondary-color);
}
/* Show checkmark when selected */
.choice.selected .checkmark {
    color: var(--custom-secondary-color);
    opacity: 1;
    transform: scale(1);
}
.choice.selected .checkmark::before {
    content: '\f14a';
    font-weight: 900;
}
.choice input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}
/* Navigation */
.navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    align-items: center;
}
.navigation button {
    padding: 10px 16px;
    font-size: 14px;
    line-height: 1;
    border: 2px solid var(--custom-secondary-color);
    background-color: transparent;
    color: var(--custom-secondary-color);
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}
.navigation button:focus,
.navigation button:focus-visible {
    outline: 2px dotted var(--custom-secondary-color);
    outline-offset: 4px;
}
.navigation button:disabled {
    cursor: not-allowed;
}
.navigation .text-btn {
    color: white;
    background: var(--custom-secondary-color);
}
.navigation .text-btn:hover {
    background: var(--custom-secondary-hover-color);
}
.nav-arrows {
    display: flex;
}
.nav-arrows button {
    margin-right: 10px;
}
.nav-arrows button:last-child {
    margin-right: 0px;
}
/* Progress Bar */
.progress-container {
    width: 100%;
    background: #e0e0e0;
    height: 4px;
    border-radius: 5px;
    margin-bottom: 22px;
    overflow: hidden;
}
.progress-bar {
    height: 100%;
    width: 0%;
    background: var(--custom-secondary-color);
    transition: width 0.4s ease;
}
/* Icon-style round buttons */
.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--custom-secondary-color);
    background-color: white;
    color: var(--custom-secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: all 0.3s ease;
    cursor: pointer;
}
.icon-btn:hover {
    background-color: var(--custom-secondary-hover-color);
    color: white;
}
.icon-btn:disabled {
    border-color: #ccc;
    color: #ccc;
    cursor: not-allowed;
    background: #f1f1f1;
}
.text-btn {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}
.text-btn:hover {
    background-color: var(--custom-secondary-hover-color);
    color: white;
}
/* Result */
.result {
    margin-top: 20px;
    font-size: 16px;
    color: green;
}
/* Lead Capture Form */
.lead-capture-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.lead-capture-form .form-group {
    width: calc(50% - 7.5px);
}
.form-group {
    display: flex;
    flex-direction: column;
}
.form-group label {
    font-weight: 600;
    margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
    padding: 9px 14px;
    font-size: 16px;
    font-weight: 400;
    border: 2px solid #ccc;
    border-radius: 6px;
    resize: vertical;
    background: transparent;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--custom-secondary-color);
}
.form-buttons {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.contact-form form input {
    padding: 12px 36px 12px 55px;
}
.contact-form .form-group .form-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding-top: 2px;
    left: 25px;
}
.bg-gradient-flamingo-amethyst-green {
    background-image: linear-gradient(to right, #e3545c, #c84d9d, #885dd1, #2f86bc, #01a89e);
}
.bg-gradient-green-blue {
    background-image: linear-gradient(to right, #00b050, #00a070, #0090a0, #0070c0);
}
/* Theme overrides */
.feature-box.feature-box-left-icon,
.feature-box.feature-box-left-icon-middle {
    align-items: center !important;
}
.feature-box-icon {
    display: flex;
}
.toast-container {
    z-index: 10008;
}
button.mfp-close,
button.mfp-close:active {
    top: 0px;
    right: 0px;
}
/* Responsive tweaks */
@media (min-width: 600px) {
    .navigation button {
        font-size: 16px;
    }
}
@media (min-width: 1600px) {
    footer {
        padding: 90px 0px;
    }
}
/* Styles for phones and tablets in portrait */
@media (max-width: 767.98px) and (orientation: portrait) {
    .sm-mb-7px {
        margin-bottom: 7px !important;
    }
    h1,
    .h1 {
        font-size: 30px;
    }
    h3,
    .h3 {
        font-size: 28px;
        line-height: 34px;
    }
    .form-group,
    .lead-capture-form .form-group {
        width: 100%;
    }
    .choice {
        width: 100%;
        font-size: 14px;
    }
    .question-answer-wrapper {
        min-height: 273px;
    }
}
