/*
Theme Name: Trusty and Freedom
Theme URI: https://trustyy.com
Author: Rafael Pampoch
Author URI: rafaelpampoch@hotmail.com
Description: Theme developed exclusively for Trustyy
Requires PHP: 5.6
Version: 1.0
License: Exclusive use by Trustyy
Text Domain: trust_free
*/

@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

/* Colors */

:root {
    --primary: #5BB8C4;
    --primaryBorder: #51a3ae;
    --secondary: #4B5563;
    --lightBackground: #F9FDFF;
    --mainRed: #C93740;
    --lightRed: #F87171;
    --darkRed: #AA2B33;
    --lightGreen: #EAF6FA;
    --mainText: var(--secondary);
    --secondaryText: #64748B;
    --mainBlue: #6295B4;
    --darkBlue: #203C4D;
}

/* Fonts */

.public-sans-font {
    font-family: "Public Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
}

.sora-font {
    font-family: "Sora", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
}

/* General */

html, body {
    height: 100% !important;
}

body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
    font-family: "Public Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
    font-size: 16px;
    line-height: 24px;
    color: #475569;
    background: var(--lightBackground);
}

strong {
    font-weight: 600 !important;
}

h1 {
    font-family: "Sora", sans-serif;
    font-optical-sizing: auto;
    font-size: 32px;
    font-weight: bold;
    color: var(--secondary);
}

h2 {
    font-family: "Sora", sans-serif;
    font-optical-sizing: auto;
    font-size: 22px;
    font-weight: bold;
    color: var(--secondary);
}

@media (min-width: 576px) {
    h1 {
        font-size: 38px;
    }
    h2 {
        font-size: 28px;
    }
}

/* Header */

.header {
    background: var(--lightBackground);
    box-shadow: 0px 4px 47px rgba(135, 143, 165, 0.15);
}

.header .nav a {
    color: #fff;
    padding: 3px 5px;
}

.header .nav a.active {
    text-decoration: underline;
}

/* General */

main {
    width: 100%;
}

.bg-primary {
    background: var(--primary) !important;
}

.bg-light-green {
    background: var(--lightGreen) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.text-white {
    color: #fff !important;
}

.text-primary {
    color: var(--primary) !important;
}

.list-type-1 {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.list-type-1 li {
    list-style-type: none;
    margin: 0 0 12px 0;
    padding: 0 0 0 32px;
    position: relative;
}

.list-type-1 li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 21px;
    height: 21px;
    background: url(img/arrow-circle-right.svg) no-repeat center center;
}

.fomr-title {
    font-family: "Public Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 1px;
    color: var(--primary);
    text-transform: uppercase;
}

input[type="text"],
input[type="email"],
input[type="number"],
select {
    background: #FFFFFF;
    box-shadow: 0px 0px 30px rgba(7, 51, 54, 0.1);
    border: none !important;
    border-radius: 8px;
    color: #475569 !important;
}

.btn {
    padding: 8px 14px;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primaryBorder);
}

.btn-primary:hover,
.btn-primary:active {
    background-color: var(--primaryBorder) !important;
    border-color: var(--primaryBorder) !important;
}

.btn-primary-faded {
    background-color: #90DCE1;
    border-color: #90DCE1;
    color: #fff;
}

.btn-primary-faded:hover,
.btn-primary-faded:active {
    background-color: #7bc8cd;
    border-color: #7bc8cd;
    color: #fff;
}

.fs-12 {
    font-size: 12px;
    line-height: 16px;
}

.fs-24 {
    font-size: 24px;
    line-height: 30px;
}

.fs-38 {
    font-style: normal;
    font-weight: 700;
    font-size: 38px;
    line-height: 51px;
}

.fs-46 {
    font-size: 46px;
    line-height: 57px;
    letter-spacing: 0.5px;
}

.progress {
    height: 36px;
}

.progress-bar {
    background-color: var(--primary);
}

/* Assessment */

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: -10px;
    font-size: 0.9rem;
    padding: 0 6px;
}

.is-invalid {
    border-color: #dc3545 !important;
}

.form-check.is-invalid label {
    color: #dc3545;
}

#progress-bar {
    min-width: 40px;
    text-align: center;
}

/* Survey Questions */

/* Wrapper */
.trust-question {
    margin-bottom: 2rem;
}

/* Title */
.trust-question-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

/* Description */
.trust-question-description {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

/* Options wrapper */
.trust-question-input > label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 500;
    cursor: pointer;
}

/* Detailed option */
.trust-detailed-option {
    display: block;
    margin-bottom: 1rem;
}

/* Textarea */
.trust-question-input textarea {
    border-radius: 0.375rem;
    padding: 0.5rem;
    border: 1px solid #ced4da;
    resize: vertical;
}

/* Slider wrapper */
.trust-slider-wrapper {
    margin-top: 1rem;
}

/* Slider side labels */
.trust-slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: #495057;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Slider itself */
.trust-slider-wrapper input[type="range"] {
    width: 100%;
}

/* Slider bottom values */
.trust-slider-values {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    /* padding: 0 0.25rem; */
}

.trust-slider-values span {
    /* width: 30px; */
    text-align: center;
    padding-top: 3px;
}

.trust-slider-values span:first-of-type {
    text-align: left;
    /* padding-left: 7px; */
}

.trust-slider-values span:last-of-type {
    text-align: right;
    /* padding-right: 7px; */
}

/* General range styling */
.trust-slider-wrapper input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: #dee2e6;
    border-radius: 3px;
    outline: none;
    width: 100%;
    cursor: pointer;
}

/* Chrome, Safari, Edge */
.trust-slider-wrapper input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: var(--primary); /* Bootstrap primary */
    cursor: pointer;
    border: none;
    margin-top: -7px; /* vertical alignment */
}

/* Firefox */
.trust-slider-wrapper input[type="range"]::-moz-range-thumb {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: none;
}

/* IE */
.trust-slider-wrapper input[type="range"]::-ms-thumb {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: none;
}

/* WebKit browsers */
.trust-slider-wrapper input[type="range"]::-webkit-slider-runnable-track {
    height: 6px;
    background: linear-gradient(to right, var(--primary) var(--progress), #dee2e6 var(--progress));
    border-radius: 3px;
}

/* Thumb para WebKit */
.trust-slider-wrapper input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    margin-top: -7px;
    position: relative;
    z-index: 2;
}

/* Firefox */
.trust-slider-wrapper input[type="range"]::-moz-range-track {
    height: 6px;
    background: #dee2e6;
    border-radius: 3px;
}

.trust-slider-wrapper input[type="range"]::-moz-range-progress {
    background-color: var(--primary);
    height: 6px;
    border-radius: 3px;
}

/* Thumb para Firefox */
.trust-slider-wrapper input[type="range"]::-moz-range-thumb {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: none;
}

/* Increase size of checkboxes and radios */
.trust-question-input input[type="checkbox"],
.trust-question-input input[type="radio"] {
    width: 1.25rem;
    height: 1.25rem;
    accent-color: #c1e8f5; /* Bootstrap primary color */
    margin-right: 0.5rem;
    vertical-align: middle;
}

/* Optional: customize when checked (modern browsers) */
.trust-question-input input[type="checkbox"]:checked,
.trust-question-input input[type="radio"]:checked {
    background-color: #c1e8f5;
    border-color: #c1e8f5;
}

.trust-question.trust-answered {
    background-color: #f0fff4;
    border-radius: 0.5rem;
    padding: 1rem;
}

/* Page Cheering */

.page-cheering h1 {
    font-size: 48px;
    line-height: 52px;
    font-weight: 800;
}

.page-cheering p {
    font-size: 22px;
    line-height: 32px;
    font-weight: 400;
}

.page-cheering p strong {
    font-weight: 800 !important;
}

.page-cheering a {
    color: var(--primary);
    text-decoration: none;
}

.page-cheering a:hover {
    text-decoration: underline;
}

.top-note {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--primary);
}

.text-price {
    font-size: 38px;
    line-height: 38x;
    font-weight: 900;
}

.testimonial-box {
    position: relative;
}

.testimonial-content,
.testimonial-content.green-bg {
    position: relative;
    background: #fff;
    padding: 32px 24px 24px;
    border-radius: 0 8px 8px;
    margin-left: 28px;
}

.testimonial-content.green-bg {
    background: var(--primary);
}

.testimonial-content::before,
.testimonial-content.green-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: -24px;
    width: 28px;
    height: 24px;
    background: url(img/testimonial-tab.svg) no-repeat center center;
}

.testimonial-content.green-bg::before {
    filter: brightness(0) saturate(100%) invert(77%) sepia(45%) saturate(461%) hue-rotate(138deg) brightness(81%) contrast(88%);
}

.box-faq {
    background: #fff;
    padding: 20px 30px 15px;
    border-bottom: 1px solid var(--primary);
}

.green-card {
    box-sizing: border-box;
    background: #E3F6F8;
    border: 1px solid #5BB8C4;
    border-radius: 8px;
    padding: 14px;
    line-height: 22px;
    height: 100%;
}

/* Step circle (number) */
.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary);
    color: #ffffff;
    font-weight: 600;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Connector line + arrow */
.step-connector {
    flex: 1;
    width: 2px;
    background-color: var(--primary);
    opacity: .3;
    position: relative;
    margin-top: 8px;
    margin-bottom: 8px;
}
.step-connector::after {
    /* arrowhead */
    content: "";
    position: absolute;
    bottom: -2px;
    left: -7px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid var(--primary);
}

/* Text styles */
.step-title {
    font-weight: 700;
}
.step-description {
    color: #5C677D;
    margin-top: 0.25rem;
}

/* Button custom */
.btn-recovery {
    background-color: #4ABDCB;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    padding: 0.75rem 2rem;
}

/* Footer */

.footer {
    height: 60px;
    background: var(--mainBlue);
    color: #fff;
    font-size: 16px;
    line-height: 16px;
}
