@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');

html,
body {
    font-family: 'Open Sans', sans-serif;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    display: flex;
    align-items: center;
    flex-direction: column;
    background: #f6f6f6;
}

*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

nav {
    position: fixed;
    display: flex;
    align-items: flex-start;
    justify-content: space-evenly;
    flex-wrap: wrap;
    top: 0;
    left: 0;
    right: 0;
    width: 1120px;
    height: 120px;
    z-index: 666;
    margin: 0 auto;
}

nav::after {
    position: absolute;
    display: block;
    content: "";
    top: 0;
    left: 50%;
    width: 100vw;
    height: 100%;
    z-index: -1;
    transform: translateX(-50%);
    background: #fff;
}

nav a {
    outline: 0;
    color: inherit;
    text-decoration: none;
}

.logo {
    display: flex;
    align-items: center;
    gap: 5px;
    height: 40px;
    color: #113228;
    font-size: 26px;
    line-height: 1;
}

.logo::before {
    font-family: 'Font Awesome 6 Pro';
    content: "\e1b1";
    font-weight: bold;
}

.logo::after {
    font-family: 'Lobster', sans-serif;
    display: -webkit-box;
    content: "Welcome to Titanium Home Buyers";
    font-weight: 600;
    line-height: 1;
    overflow: hidden;
    -webkit-line-clamp: 1;
    line-clamp: 1; 
    -webkit-box-orient: vertical;
}

.message {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    color: #fff;
    gap: 20px;
    width: 100%;
    height: 40px;
    line-height: 1;
    z-index: 1;
}

.message::after {
    position: absolute;
    display: block;
    content: "";
    top: 0;
    left: 50%;
    width: 100vw;
    height: 100%;
    z-index: -1;
    transform: translateX(-50%);
    background: #113228;
}

.message span:first-child {
    margin-right: auto;
}

.message span {
    font-size: 12px;
    font-weight: 600;
}

.message a {
    display: flex;
    gap: 5px;
    font-size: 12px;
    font-weight: 400;
    white-space: nowrap;
    transition: all .3s ease;
}

.message a:hover {
    color: #ffc300;
}

.links {
    display: flex;
    align-items: center;
    gap: 20px;
    width: auto;
}

.links a {
    display: flex;
    align-items: center;
    height: 40px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    padding: 0 30px;
    color: #15372c;
    border-radius: 25px;
    border: 1px solid #15372c;
    transition: all .3s ease;
}

.links a:hover {
    background: #eee;
}

.links a:last-child {
    color: #fff;
    background: #15372c;
}

header {
    position: relative;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 30px;
    color: #fff;
    width: 1120px;
    height: auto;
    z-index: 1;
    padding: 60px 0;
    margin-top: 120px;
}

header::after {
    position: absolute;
    display: block;
    content: "";
    top: 0;
    left: 50%;
    width: 100vw;
    height: 100%;
    z-index: -2;
    transform: translateX(-50%);
    background: url(../img/img-1.jpg);
    background-size: cover;
    background-position: center;
}

header::before {
    position: absolute;
    display: block;
    content: "";
    top: 0;
    left: 50%;
    width: 100vw;
    height: 100%;
    z-index: -1;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.5);
}

header label {
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
}

header p {
    width: 50%;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
}

.partners {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    column-gap: 40px;
    row-gap: 20px;
}

.partners span {
    width: 100%;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
}

.partners svg {
    width: auto;
    height: 32px;
}

main {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 1120px;
}

form, .col-form {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 100%;
    gap: 20px;
}

form label, col-form label {
    position: relative;
    width: 100%;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    z-index: 1;
}

.box-yes-grp {
    margin-top: -30px;
    font-size: 13px;
}


input[type="checkbox" ] {
    background-color: initial;
    cursor: default;
    appearance: auto;
    box-sizing: border-box;
    margin: 3px 3px 3px 4px;
    padding: initial;
    border: initial;
    form label:has(select);
    width: calc(50% - 10px);
    margin: auto;
    width: auto;
    height: 19px;
    line-height: 1.8;
    font-size: 14px;
}

label.label-checkbox {
    font-weight: normal;
    font-size: 12px;
}

form label:has(select)::after {
    font-family: 'Font Awesome 6 Pro';
    position: absolute;
    display: flex;
    align-items: center;
    content: "\f078";
    font-weight: lighter;
    color: #999;
    z-index: 1;
    top: 0;
    right: 20px;
    height: 100%;
}

form label select {
    width: 100%;
}

form label:has(select) {
    width: calc(50% - 10px);
}

.footer-line {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1120px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    color: #fff;
    z-index: 1;
    gap:65px;
}

form a {
    color: inherit;
    outline: 0;
    text-decoration: underline;
}

form #back {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    width: 100%;
    cursor: pointer;
    text-decoration: none;
}

form #back::before {
    font-family: 'Font Awesome 6 Pro';
    content: "\f053";
    font-weight: normal;
}

form p {
    width: 100%;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.7;
}

form span {
    width: 100%;
    font-size: 10px;
    font-weight: 300;
    line-height: 1.7;
    text-align: justify;
}

form input,
form select {
    font-family: 'Open Sans', sans-serif;
    width: calc(50% - 10px);
    height: 48px;
    padding: 0 20px;
    outline: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    color: #999;
    border: 1px solid #ccc;
    border-radius: 0;
    background: #fff;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
}

form input::placeholder {
    color: #999;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

form textarea {
    font-family: 'Open Sans', sans-serif;
    width: 100%;
    height: auto;
    padding: 20px;
    outline: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    color: #999;
    border-radius: 0;
    border: 1px solid #ccc;
    background: #fff;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
}

form button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    color: #000;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    border: 0;
    cursor: pointer;
    background: #ffc300;
}

    form button:hover {
        color: #9a0404;
        background: #ffdb00;
    }
    


.initial {
    width: 50%;
}

.question {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 20px;
}

.steps {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    min-width: 280px;
    width: 280px;
    gap: 20px;
}

.steps label {
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
}

.steps span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

.steps p {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.7;
}

.steps i {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    color: #000;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    background: #ffc300;
    font-style: normal;
}

section {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 60px;
    padding: 80px 0;
    z-index: 1;
}

section::after {
    position: absolute;
    display: block;
    content: "";
    top: 0;
    left: 50%;
    width: 100vw;
    height: 100%;
    z-index: -1;
    transform: translateX(-50%);
}

section:nth-child(odd)::after {
    background: #fff;
}

section.col {
    flex-direction: column;
}

section.row {
    flex-direction: row;
}

section h1 {
    display: flex;
    justify-content: center;
    width: 100%;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
}

.faq {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    width: 768px;
    height: auto;
}

.explain {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 40px;
    width: 100%;
    height: auto;
}

.card {
    display: flex;
    flex-direction: column;
    width: 25%;
    height: auto;
    background: #fff;
}

.img {
    display: flex;
    width: 100%;
    height: 140px;
    background: #eee;
    background-size: cover !important;
    background-position: center !important;
}

.img-1 {
    background: url(../img/img-2.jpg);
}

.img-2 {
    background: url(../img/img-3.jpg);
}

.img-3 {
    background: url(../img/img-4.jpg);
}

.img-4 {
    background: url(../img/img-5.jpg);
}

.detail {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    width: 100%;
    gap: 20px;
    padding: 20px;
}

.detail label {
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
}

.detail p {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.7;
}

.accordion {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
    min-height: 60px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    padding: 10px 20px;
    background: #fff;
    text-align: left;
    cursor: pointer;
    border: 1px solid #ccc;
    transition: all .3s ease;
}

.accordion::after {
    font-family: 'Font Awesome 6 Pro';
    content: "\2b";
    font-weight: normal;
}

.accordion:hover {
    background: #eee;
}

.accordion.active {
    background: #eee;
}

.accordion.active::after {
    content: "\f068";
}

.content {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    height: auto;
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    background: #fff;
    transition: all .3s ease;
}

.content p {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.7;
}

.content p:first-child {
    margin-top: 20px;
}

.content p:last-child {
    margin-bottom: 20px;
}

footer {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 1120px;
    height: 80px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    color: #fff;
    z-index: 1;
    flex-wrap:wrap;
}

footer::after {
    position: absolute;
    display: block;
    content: "";
    top: 0;
    left: 50%;
    width: 100vw;
    height: 100%;
    z-index: -1;
    transform: translateX(-50%);
    background: #113228;
}

footer a {
    color: inherit;
    font-weight: 400;
    text-decoration: none;
    transition: all .3s ease;
}

footer a:hover {
    color: #ffc300;
}

.legal {
    display: flex;
    align-items: center;
    white-space: nowrap;
    width: auto;
    gap: 20px;
}

@media only screen and (max-width: 1200px) {

    nav,
    main,
    header,
    footer {
        width: 100%;
        padding-left: 5%;
        padding-right: 5%;
        overflow: hidden;
        height:auto;
    }
}

@media only screen and (max-width: 848px) {
    .faq {
        width: 100%;
    }

    .explain {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 100%;
        min-width: 100%;
    }

    .img {
        height: 180px;
    }

    .detail {
        white-space: initial;
        word-wrap: normal;
    }

    .detail p,
    .detail label {
        white-space: initial;
        word-wrap: normal;
    }
}

@media only screen and (max-width: 768px) {

    nav {
        height: 100px;
    }

    .message span {
        font-size: 0px;
    }

    .message span:first-child::after {
        content: "Sell? Call Us Today!";
        font-size: 12px;
    }

    .links {
        gap: 10px;
    }

    .links a {
        justify-content: center;
        width: 30px;
        height: 30px;
        padding: 0;
        font-size: 0px;
    }

    .links a::after {
        font-family: 'Font Awesome 6 Pro';
        font-weight: normal;
        font-size: 14px;
    }

    .links a:nth-child(1)::after {
        content: "\f19d";
    }

    .links a:nth-child(2)::after {
        content: "\f0e0";
    }

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

    .logo::after {
        content: "Titanium Home Buyers";
    }

    header {
        align-items: center;
        padding: 60px 5%;
        text-align: center;
        margin-top: 100px;
    }
    
    header label {
        font-size: 30px;
    }
    
    header p {
        width: 100%;
        font-size: 14px;
    }
    
    .partners {
        justify-content: center;
        column-gap: 20px;
        row-gap: 20px;
    }
    
    .partners svg {
        height: 20px;
    }
    
    .zip,
    .zip input {
        width: 100%;
    }

    section {
        width: 100%;
        gap: 40px;
        padding: 60px 0;
    }

    section.row {
        flex-direction: column-reverse;
    }

    section h1 {
        font-size: 20px;
    }

    .steps {
        width: 100%;
    }

    form {
        width: 100%;
    }

    .initial {
        width: 100%;
    }

    form label {
        font-size: 16px;
    }

    .footer-line {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        gap: 16px;
        padding: 19px 5px;
    }

    

    .legal {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .detail label {
        font-size: 16px;
    }

    .accordion {
        font-size: 14px;
    }

    .detail p,
    .detail label {
        white-space: initial;
        word-wrap: normal;
    }
}