/* Custom Font Family */
/* @font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/montserrat.woff2') format('woff2');
} */

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 100 900;
    font-stretch: 100%;
    font-display: swap;
    src: url('../fonts/roboto.woff2') format('woff2');
}

/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    text-decoration: none;
    list-style: none;
    font-family: 'Roboto', sans-serif;
    -webkit-tap-highlight-color: transparent;
    scroll-behavior: smooth;
}

::placeholder {
    color: #000000;
    opacity: 1;
    font-weight: 400;
}

::-moz-placeholder {
    color: #000000;
    opacity: 1;
    font-weight: 400;
}

::-webkit-input-placeholder {
    color: #000000;
    opacity: 1;
    font-weight: 400;
}

:-ms-input-placeholder {
    color: #000000;
    opacity: 1;
    font-weight: 400;
}

/* Common Color Palette */
:root {
    --primary: #c5b3c4;
    --secondary: #e5d8e2;
    --black: #000000;
    --white: #FFFFFF;
    --white-light: #fcfdf9;
    --dark-grey: #545454;
}

nav,
.container {
    max-width: 1300px;
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
}

.btn_wrapper {
    text-align: center;
}

.btn {
    font-size: 18px;
    border-radius: 50px;
    padding: 15px 50px;
    background-color: var(--black);
    color: var(--white);
    display: inline-block;
    text-transform: uppercase;
    transition: all .3s ease-in-out;
    font-weight: 600;
}

.btn:hover {
    background-color: rgba(0, 0, 0, 0.85);
}

.common_space {
    padding: clamp(20px, 1.563vw, 60px) 0;
}

/* Typography */
/* h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
} */

.h1 {
    font-size: clamp(40px, 4.271vw, 164px);
    /* font-family: 'Montserrat', sans-serif; */
    line-height: 100%;
    letter-spacing: -2px;
    line-height: 1;
}

.h2 {
    font-size: clamp(32px, 2.5vw, 96px);
    font-weight: 700;
    /* font-family: 'Montserrat', sans-serif; */
}

.h3 {
    font-size: clamp(28px, 1.563vw, 60px);
}

.h4 {
    font-size: 24px;
}

.h5 {
    font-size: 22px;
}

.h6 {
    font-size: 20px;
}

p {
    font-size: 22px;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

/* Hambar for Mobile */
.hambar {
    width: 30px;
    height: 25px;
    position: relative;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
    cursor: pointer;
    display: none;
}

.hambar span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--dark-grey);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.hambar span:nth-child(1) {
    top: 0px;
    transform-origin: left center;
}

.hambar span:nth-child(2) {
    top: 9px;
    transform-origin: left center;
}

.hambar span:nth-child(3) {
    top: 18px;
    transform-origin: left center;
}

.hambar.open span:nth-child(1) {
    transform: rotate(45deg);
    top: 0px;
    left: 2px;
}

.hambar.open span:nth-child(2) {
    width: 0%;
    opacity: 0;
}

.hambar.open span:nth-child(3) {
    transform: rotate(-45deg);
    top: 21px;
    left: 2px;
}

body.overflow {
    overflow: hidden;
    position: relative;
}

body.overflow::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.2);
}

/* Header CSS Start */
header {
    padding: 20px 0;
    position: relative;
    background-color: var(--white);
    transition: all .4s ease-in-out;
    z-index: 1;
}

header.scrolled {
    top: 0;
    position: sticky;
    box-shadow: 1px -12px 20px rgba(40, 40, 40, 0.5);
}

header nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header nav .logo img {
    max-width: clamp(130px, 13.021vw, 250px);
    display: block;
    height: auto;
}

header nav .nav-ul-div {
    display: flex;
    align-items: center;
    gap: clamp(20px, 4.167vw, 160px);
}

header nav .nav-ul-div .nav-ul {
    display: flex;
    align-items: center;
    gap: 30px;
}

header nav .nav-ul-div .nav-item {
    font-size: 22px;
    color: var(--black);
    font-weight: 400;
}

header nav .nav-ul-div .nav-item:hover {
    text-decoration: underline;
}

header nav .nav-ul-div .cta_num {
    display: inline-block;
    font-size: 27px;
    color: var(--black);
}

header nav .nav-ul-div .cta_num :where(img, .text) {
    display: none;
}

/* Footer Style */
footer {
    padding: 20px 0;
    background-color: var(--dark-grey);
}

footer .footer_logo {
    text-align: center;
}

footer .footer_logo img {
    max-width: clamp(150px, 14.792vw, 284px);
}

footer .footer_ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-bottom: 30px;
}

footer .footer_ul .foo_nav_li {
    display: inline-flex;
}

footer .footer_copyright p,
footer .footer_ul .foo_nav_li .foo_nav_a {
    color: var(--white-light);
    font-size: 18px;
}

footer .footer_ul .foo_nav_li .foo_nav_a:hover,
footer .footer_ul .foo_nav_li:not(:first-child) .foo_nav_a {
    text-decoration: underline !important;
}


/* Hero Banner Style */
.hero_banner .hero_box {
    border-radius: 32px;
    background-color: var(--secondary);
}

.hero_banner .hero_box .grid2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(30px, 4.167vw, 160px);
}

.hero_banner .hero_box .grid_item:first-child {
    padding: 53px 0 53px 60px;
}

.hero_banner .hero_box .grid2 .grid_item h1 {
    color: var(--white);
}

.hero_banner .hero_box .grid_item p {
    font-size: 24px;
    margin: 20px 0;
}

.hero_banner .hero_box .grid_item:last-child {
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.hero_banner .hero_box .grid2 .grid_item img {
    display: block;
}

/* Brand Logo Style */
.brand_logo_container {
    text-align: center;
}

/* Steps Section Style */
.steps_section .steps_para {
    max-width: 1100px;
    margin: 0 auto 60px auto;
    text-align: center;
}

.steps_section .flex_wrapper {
    display: flex;
    align-items: flex-start;
}

.steps_section .flex_wrapper .flex_item:first-child {
    flex: 0 0 40%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.steps_section .flex_wrapper .flex_item h2 {
    font-size: clamp(28px, 1.979vw, 76px);
    font-kerning: normal;
    font-weight: 700;
    color: var(--dark-grey);
    margin-bottom: clamp(30px, 2.083vw, 40px);
    letter-spacing: -2px;
}

.steps_section .steps_lists {
    padding-left: 50px;
    display: flex;
    flex-direction: column;
    gap: clamp(25px, 1.823vw, 35px);
    margin-bottom: clamp(30px, 2.083vw, 40px);
}

.steps_section .steps_lists .step_card {
    display: flex;
    align-items: center;
    gap: 20px;
}

.steps_section .steps_lists .step_card .step_count span {
    font-weight: 700;
    font-style: normal;
    color: var(--secondary);
    font-kerning: normal;
    text-decoration: none;
    font-size: clamp(28px, 2.083vw, 40px);
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(50px, 3.906vw, 75px);
    height: clamp(50px, 3.906vw, 75px);
    border: 6px solid var(--secondary);
    border-radius: 50%;
}


/* Layout Section  */
.left_right_section .layout_card.flex_wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 70px;
    padding: clamp(30px, 3.646vw, 70px) 0;
}

.left_right_section .layout_card.flex_wrapper .flex_item:first-child {
    flex-shrink: 0;
}

.left_right_section .layout_card.flex_wrapper:nth-child(even) {
    flex-direction: row-reverse;
}

.left_right_section .layout_card.flex_wrapper .flex_item h2 {
    color: var(--dark-grey);
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.left_right_section .layout_card.flex_wrapper .flex_item h3 {
    color: var(--dark-grey);
    margin-bottom: 5px;
    font-size: 22px;
    margin-top: clamp(20px, 1.563vw, 30px);
    letter-spacing: -.5px;
}

.left_right_section .layout_card.flex_wrapper .flex_item p {
    font-size: 18px;
    color: var(--dark-grey);
}

.left_right_section .layout_card.flex_wrapper .flex_item ul {
    padding-left: 30px;
}

.left_right_section .layout_card.flex_wrapper .flex_item ul li {
    list-style: disc;
    color: var(--dark-grey);
    font-size: 18px;
}

.left_right_section .layout_card.flex_wrapper .flex_item ul li::marker {
    color: var(--dark-grey);
}

.left_right_section .layout_card.flex_wrapper .flex_item a.btn {
    margin-top: clamp(20px, 2.604vw, 50px);
}


/* Saving Section */
.saving_section {
    text-align: center;
    padding-bottom: 60px;
}

.saving_section h2 {
    color: var(--dark-grey);
    font-size: 30px;
    font-weight: 600;
    letter-spacing: -2px;
}

.saving_section p {
    margin-top: 3px;
}

.saving_section .saving_box {
    max-width: 950px;
    margin: 0 auto;
}

.saving_section .saving_box h2 {
    margin-bottom: clamp(20px, 1.563vw, 30px);
    font-weight: 600;
}

.saving_section .saving_box {
    margin-top: clamp(20px, 2.083vw, 40px);
}

.saving_section .saving_box .insurance_types ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px clamp(20px, 5.208vw, 100px);
}

.saving_section .saving_box .insurance_types ul li {
    padding: 17px 15px;
    background-color: var(--primary);
    font-weight: 500;
    border-radius: 12px;
    color: var(--white);
}

/* Thank you page start */
.thank-you {
    padding: clamp(50px, 3.646vw, 70px) 0;
}

.thank-you h1 {
    font-size: clamp(48px, 4.271vw, 164px);
    font-weight: 700;
    color: var(--dark-grey);
    margin-bottom: 24px;
    letter-spacing: -2px;
    line-height: 100%;
    text-align: center;
}

.thank-you p {
    font-size: 24px;
    margin-bottom: 24px;
    text-align: center;
}

.ty-btn {
    text-align: center;
}

/* Loader */
.loader {
    position: fixed;
    z-index: 999;
    height: 2em;
    width: 2em;
    overflow: show;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: none;
}

/* Transparent Overlay */
.loader:before {
    content: '';
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(rgba(20, 20, 20, .8), rgba(0, 0, 0, .8));

    background: -webkit-radial-gradient(rgba(20, 20, 20, .8), rgba(0, 0, 0, .8));
}

/* :not(:required) hides these rules from IE9 and below */
.loader:not(:required) {
    /* hide "loader..." text */
    font: 0/0 a;
    color: transparent;
    text-shadow: none;
    background-color: transparent;
    border: 0;
}

.loader:not(:required):after {
    content: '';
    display: block;
    font-size: 10px;
    width: 1em;
    height: 1em;
    margin-top: -0.5em;
    -webkit-animation: spinner 150ms infinite linear;
    -moz-animation: spinner 150ms infinite linear;
    -ms-animation: spinner 150ms infinite linear;
    -o-animation: spinner 150ms infinite linear;
    animation: spinner 150ms infinite linear;
    border-radius: 0.5em;
    -webkit-box-shadow: rgba(255, 255, 255, 0.75) 1.5em 0 0 0, rgba(255, 255, 255, 0.75) 1.1em 1.1em 0 0, rgba(255, 255, 255, 0.75) 0 1.5em 0 0, rgba(255, 255, 255, 0.75) -1.1em 1.1em 0 0, rgba(255, 255, 255, 0.75) -1.5em 0 0 0, rgba(255, 255, 255, 0.75) -1.1em -1.1em 0 0, rgba(255, 255, 255, 0.75) 0 -1.5em 0 0, rgba(255, 255, 255, 0.75) 1.1em -1.1em 0 0;
    box-shadow: rgba(255, 255, 255, 0.75) 1.5em 0 0 0, rgba(255, 255, 255, 0.75) 1.1em 1.1em 0 0, rgba(255, 255, 255, 0.75) 0 1.5em 0 0, rgba(255, 255, 255, 0.75) -1.1em 1.1em 0 0, rgba(255, 255, 255, 0.75) -1.5em 0 0 0, rgba(255, 255, 255, 0.75) -1.1em -1.1em 0 0, rgba(255, 255, 255, 0.75) 0 -1.5em 0 0, rgba(255, 255, 255, 0.75) 1.1em -1.1em 0 0;
}

/* Animation */

@-webkit-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-moz-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-o-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/* Media Query */
@media (max-width: 1024px) {
    header {
        padding: 12px 0;
    }

    .btn {
        padding: 15px 40px;
        font-size: 18px;
    }

    .left_right_section .layout_card.flex_wrapper .flex_item:first-child {
        flex-shrink: unset;
    }

    .left_right_section .layout_card.flex_wrapper .flex_item {
        flex: 0 0 50%;
    }

    .left_right_section .layout_card.flex_wrapper .flex_item ul li,
    .left_right_section .layout_card.flex_wrapper .flex_item p,
    .hero_banner .hero_box .grid_item p,
    p {
        font-size: 18px;
    }
}

@media (max-width: 991px) {
    .hambar {
        display: flex;
        flex-shrink: 0;
    }

    header nav .nav-ul-div {
        margin-left: auto;
        margin-right: 20px;
    }

    header nav .nav-ul-div .cta_num {
        font-size: 22px;
    }

    header nav .nav-ul-div .nav-ul {
        position: absolute;
        content: "";
        width: 100%;
        max-width: 300px;
        background-color: var(--secondary);
        top: 0;
        left: 0;
        height: 100vh;
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 20px;
        transform: translateX(-100%);
        transition: all .4s ease-in-out;
    }

    header nav .nav-ul-div .nav-ul.active {
        transform: translateX(0);
    }

    body:has(.thank-you, .ccpa-content) .hambar {
        display: none;
    }

    body:has(.thank-you, .ccpa-content) .nav-ul-div {
        margin: 0;
    }

    body:has(.thank-you, .ccpa-content) .nav-ul-div .cta_num {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 10px 15px;
        border-radius: 24px;
        border: 1px solid #BDA8BD;
        font-size: 16px;
        color: #BDA8BD;
        font-weight: 600;
    }

    body:has(.thank-you, .ccpa-content) .nav-ul-div .cta_num:hover {
        background-color: #BDA8BD;
        color: var(--white);
    }

    body:has(.thank-you, .ccpa-content) .nav-ul-div .cta_num:hover img {
        filter: brightness(0) invert(1);
    }

    body:has(.thank-you, .ccpa-content) .nav-ul-div .cta_num img,
    body:has(.thank-you, .ccpa-content) .nav-ul-div .cta_num .text {
        display: block;
    }

    body:has(.thank-you, .ccpa-content) .nav-ul-div .cta_num .number {
        display: none;
    }
}

@media (max-width: 767px) {
    .steps_section .flex_wrapper {
        flex-direction: column;
    }

    .hero_banner .hero_box .grid2 {
        grid-template-columns: repeat(1, 1fr);
    }

    .hero_banner .hero_box .grid_item:first-child {
        padding: 40px 20px 0px 20px;
        text-align: center;
    }

    .btn {
        font-size: 16px;
        padding: 14px 30px;
    }

    .steps_section .steps_para {
        margin: 0 auto 30px auto;
    }

    .steps_section .flex_wrapper .flex_item h2 {
        margin-bottom: 30px;
    }

    .steps_section .flex_wrapper {
        gap: 30px;
    }

    .steps_section .steps_lists {
        padding-left: 0;
        gap: 25px;
    }

    .steps_section .flex_wrapper .flex_item:first-child {
        width: 100%;
    }

    .steps_section .steps_lists .step_card .step_count span {
        font-size: 28px;
        width: 50px;
        height: 50px;
    }

    .left_right_section .layout_card.flex_wrapper:nth-child(even),
    .left_right_section .layout_card.flex_wrapper {
        flex-direction: column-reverse;
    }

    .thank-you p {
        font-size: 18px;
    }
}

@media (max-width: 575px) {
    header nav .nav-ul-div .cta_num {
        font-size: 16px;
    }

    footer .footer_logo img {
        max-width: 150px;
        height: auto;
        display: block;
        margin: 0 auto;
        object-fit: contain;
    }

    footer .footer_ul {
        flex-direction: column;
        gap: 20px;
    }

    footer .footer_copyright p,
    footer .footer_ul .foo_nav_li .foo_nav_a {
        font-size: 18px;
        text-align: center;
    }

    .saving_section .saving_box .insurance_types ul {
        grid-template-columns: repeat(1, 1fr);
    }
}