/* CSS Variables */
:root {
    --black-color: #333;
    --secondary-color: #666;
    --white-color: #ffff;
    --border-color: #ddd;
    --accent-color: #404d5d;
    --orange-color: #EA8315;
    --heading-color:#253447;
    --primary-color:#404d5e;
    --gray: #a9a9a9;
    --font-family-basic: Arial, sans-serif;
    --font-family-lato: 'lato', sans-serif;
    --font-family-montserrat: 'Montserrat', Arial, sans-serif;

}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family-basic);
}

h1, h2, h3, h4, h5, h6{
    font-family:lato;
}

h2{
    font-size: 26px;
}
.main-container {
    max-width: 970px;
    margin-inline: auto;
    padding: 0px 16px;
}

/* Navbar styles */
.navbar-border-box {
    height: 8px;
    width: 100%;
    background-color: var(--primary-color);
    /* background-color: #eaeaea; */
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo img {
    width: auto;
    height: 100%;
}

.navbar-phone {
    font-size: 18px;
    font-weight: bold;
    color: #253447;
    text-align: center;
    font-family: var(--font-family-montserrat);
}

.navbar-phone span {
    color: #404d5e;
}

.tp-widget-wrapper {
    padding-block: 5px;
    background-image: linear-gradient(#ffffff, #e6e6e6);
}

/* Hero Section */
.hero {
    background: rgba(0, 0, 0, 0.5);
    background-image: url('images/banner-image.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center bottom;
    display: flex;
    /* align-items: center; */
    justify-content: center;
    color: white;
    text-align: center;
    min-height: 550px;
}

.hero .overlay {
    position: absolute;
    background: rgba(0, 0, 0, 0.5);
    min-height: 550px;
    width: 100%;
}
.near-you .hero{
    min-height: 680px;
    position: relative;
}
.near-you .hero .overlay{
    height: 100%;
}

.hero .hero-data {
    z-index: 10;
    width: 850px;
    padding-top: 44px;
}

.hero .heading {
    font-size: 48px;
    font-weight: 900;
    line-height: 58px;
    text-align: center;
    font-family: var(--font-family-lato);
    max-width: 100%;
    margin-inline: auto;
}

.hero .sub-heading {
    font-family: var(--font-family-lato);
    font-size: 22px;
    margin: 14px 0 0 0;
    font-weight: 700;
    text-align: center;
}

.hero .form {
    margin-top: 44px;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 700px;
    margin: auto;
    margin-top: 40px;
}

.hero .form .input-wrapper {
    height: 68px;
    border-radius: 5px;
    background-color: var(--white-color);
    display: flex;
    flex: 1;
}

.hero .form .input-wrapper input {
    width: 100%;
    margin: 10px;
    border: none;
    padding-inline: 14px;
    padding-top: 4px;
    outline: none;
    font-size: 22px;
}

.hero .form .input-wrapper input::placeholder {
    font-size: 20px;
}


.form-button{
    display: inline-block;
    border-style: solid;
    border-radius: 11px;
    z-index: 21;
    width: 285px;
    height: 67px;
    background: var(--heading-color);
    box-shadow: none;
    text-shadow: none;
    color: #f9f7f2;
    border-width: 1px;
    border-color: #FFF;
    font-size: 22px;
    line-height: 69px;
    font-weight: 400;
    font-family: Lato;
    font-style: normal;
    text-align: center;
    background-repeat: no-repeat;
    text-decoration: none;
     margin-top: 32px;
     position: relative;
}
.form-button:hover{
    background: var(--accent-color);
}

.hero .form button, .form-button {
    border-style: solid;
    border-radius: 5px;
    z-index: 4;
    height: 67px;
    background: #404d5e;
    box-shadow: none;
    text-shadow: none;
    color: #f9f7f2;
    border-width: 1px;
    border-color: #a9a9a9;
    font-size: 26px;
    line-height: 31px;
    font-weight: 700;
    font-family: var(--font-family-montserrat);
    font-style: normal;
    text-align: center;
    width: 320px;
    cursor: pointer;
}
.form-button{
    
    width: 385px  !important;
}

.hero .form button:hover {
    border-color: var(--white-color);
}

.hero .cards-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    gap: 95px;
    margin-top: 40px;
    font-family: var(--font-family-montserrat);
}

.hero .cards-wrapper .card-1 {
    width: 251px;
}
/* 
.hero .cards-wrapper .card-1 h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero .cards-wrapper .card-1 h3 span {
    font-weight: 400;
    margin-left: -3px;
} */

.hero .cards-wrapper .card-1 .icons-wrapper {
    position: relative;
    width: 72px;
    height: 62px;
    margin-inline: auto;
}

.hero .cards-wrapper .card-1 .icons-wrapper img,
.hero .cards-wrapper .card-2 .icons-wrapper img{
    width:40px
}

.hero .cards-wrapper .card-1 p {
    font-size: 14px;
    line-height: 20px;
}


.hero .cards-wrapper .card-2 {
    width: 251px;
}

.hero .cards-wrapper .card-2 .icons-wrapper {
    position: relative;
    width: 72px;
    height: 62px;
    margin-inline: auto;
}

.hero .cards-wrapper .card-2 .icons-wrapper .icon-1 {
    position: absolute;
    left: 0;
    top: 0;
}

.hero .cards-wrapper .card-2 .icons-wrapper .icon-2 {
    position: absolute;
    left: 19px;
    top: 13px;
}

.hero .cards-wrapper .card-2 .icons-wrapper .icon-3 {
    position: absolute;
    right: 0;
    top: 7px;
}

.hero .cards-wrapper .card-2 p {
    font-size: 14px;
    line-height: 20px;
}

.reviews-wrapper {
    background-image: linear-gradient(#eaeaea, #eaeaea);
    padding-block: 36px;
}


.services-wrapper {
    padding-block: 36px;
}
.service-card{
    flex: 1
}
.services-container{
    display: flex;
    flex-direction: row;
    gap: 20px;
}
.text-center{
    text-align: center;
    font-family: var(--font-family-lato);
}
.heading-blue{
    color: var(--heading-color);
}

.reviews-container{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.reviews-container .review-info{
     flex: 0 0 20%;
}
.reviews-container .review-slider-wrapper{
    flex: 1 1 calc(60% - 10px);
}


.tp-widget-humanscore {
    font-size: 24px;
    margin: 0 0 12px;
    display: block;
    color: #FFF;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
}


.tp-stars--5 .tp-star:nth-of-type(-n + 5) .tp-star__canvas, .tp-stars--5 .tp-star:nth-of-type(-n + 5) .tp-star__canvas--half {
    fill: #00b67a;
}

.tp-widget-businessinfo {
    font-size: 13px;
    line-height: 16px;
    margin: 0 0 16px;
    display: block;
    color: #FFF;
    text-decoration: none;
    text-align: right;
    padding: 10px 0px 0px;
}

.tp-widget-logo {
    margin: 0 auto;
    width: 106px;
    display: block;
}

a:-webkit-any-link{
    text-decoration: none;
}

.reviews-star-wrapper{
    position: relative; height: 0; width: 100%; padding: 0; padding-bottom: 18.326693227091635%;
}
.reviews-star-wrapper img{width: 100%;}

.services-wrapper h2{
    margin-top: 18px;
    margin-top: 10px;
    height: 64px;
}
.services-wrapper .main-container{
    padding: 16px;
    background: rgba(234, 234, 234, 1);
    border-style: none;
    border-radius: 10px;
}
.services-container h3{
    font-family: lato;
    font-size: 21px;
    line-height: 35px;
    margin-bottom: 16px;
}
.services-container p{
    font-size: 16px;
}
.services-container .divider{
    display: block;
    background: rgba(255, 255, 255, 1);
    border-style: solid;
    border-width: 1px;
    border-color: #ccc;
    border-radius: 0px;
    left: 311px;
    top: 80px;
    z-index: 13;
    width: 14px;
    height: 130px;

}

.financial-advisor-wrapper{
    margin-bottom: 32px;
}

.financial-advisor-wrapper span{
    color:#696969;
}
.financial-advisor-wrapper a{
    display: inline-block;
    border-style: solid;
    border-radius: 11px;
    z-index: 21;
    width: 357px;
    height: 67px;
    background: #404d5e;
    box-shadow: none;
    text-shadow: none;
    color: #f9f7f2;
    border-width: 1px;
    border-color: var(--heading-color);
    font-size: 22px;
    line-height: 69px;
    font-weight: 400;
    font-family: Lato;
    font-style: normal;
    text-align: center;
    background-repeat: no-repeat;
    text-decoration: none;
     margin-top: 32px;
}

.financial-advisor-wrapper a:hover{
    background: var(--heading-color);
    box-shadow: none;
    color: #f9f7f2;
}


footer{
    background: rgba(223, 222, 222, 1);
    background: -webkit-linear-gradient(#dfdede, #adacac);
    background: -moz-linear-gradient(#dfdede, #adacac);
    background: linear-gradient(#dfdede, #adacac);
    background: -ms-linear-gradient(#dfdede, #adacac);
    background: -o-linear-gradient(#dfdede, #adacac);
}
.footer-wrapper{
    padding: 25px 0 15px;
}
.footer-wrapper .privacy-policy-wrapper a{
    color: #d63e4b;
    font-size: 14px;
}
.footer-wrapper p{
    margin-bottom: 16px;
    line-height: 22px;
    font-size: 14px;
    color: #363636;
}

.privacy-policy-wrapper{
    padding: 15px 0px;
}

.copyrite{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 20px 0;
}

.copyrite a{
    color: #000;
}

.copyrite-container{
    /* background: rgba(54, 54, 54, 1); */
    padding: 20px 0px;
    color: #a9a9a9;
    text-align: left;
}
.financial-advisor-wrapper h3{
    font-size: 22px;
    margin-top: 16px;
    font-family: var(--font-family-lato);

}
.financial-advisor-container .advisorr-services{
    line-height: 35px;
    margin-top: 16px;
    margin-bottom: 16px;
    font-size: 22px;
    font-family: var(--font-family-lato);
}
.financial-advisor-container .advisorr-services-1{

}

.advisor-recommend{
    font-weight: bolder;
    margin: 16px 0;
    font-size: 18px;
}



.advisor-services-wrapper{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap:30px
}
.advisor-services-wrapper ul{
    list-style: none;
    margin-top: 16px;
      /* list-style-image: url('images/green-tick-icon.png'); */
}

.advisor-services-wrapper ul li {
    margin-bottom: 16px;
}
.advisor-services-wrapper ul li p{
    font-size: 20px;

}


/* Leads Form */
.lead-form-fields-wrapper{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap:30px;
    width: 70%;
    margin: auto;
}
.lead-form-fields-wrapper ul{
    list-style: none;
    text-align: left;
}

.lead-form{
    margin-top: auto;
    padding-top: 36px;
}
.form-control{
    margin-bottom: 10px;
}
.lead-data-wrapper li{
    margin-bottom: 10px;
}
.lead-form input[type="text"],
.lead-form input[type="email"],
.lead-form input[type="tel"]{
    border-style: solid;
    border-width: 3px;
    border-color: #ffffff;
    background-color: #fff;
    color: #000;
    border-radius: 4px;
    height: 34px;
    width: 100%;
    font-size: 21px;
    line-height: 21px;
    padding-left: 3px;
    padding-right: 3px;
}

.trustpilot-wrapper{
    display: flex;
    flex-direction: row;
    justify-content: center;
    max-width: 568px;
    margin: 0 auto;
    gap: 20px;
    align-content: center;
    align-items: center;
}
.tp-review-status{
    font-weight: bold;
    font-size: 16px;
}
.tp-rating-icon, .tp-logo {
    width: 150px;
}
.tp-stars--5 .tp-star:nth-of-type(-n + 5) .tp-star__canvas, .tp-stars--5 .tp-star:nth-of-type(-n + 5) .tp-star__canvas--half{
    fill: #00b67a;
}
.tp-star__canvas, .tp-star__canvas--half{
    fill: #00b67a;
}
.tp-logo{width: 100px;}
#error{
    color: red;
    display: none; 
    padding: 8px 12px;
    margin-top: 5px;
    font-size: 14px;
    font-weight: bold;
    background-color: #f8d7da; /* Light red background */
    padding: 10px;
    border-radius: 5px;
}
#error::before {
      content: "!"; /* Or use an icon font */
      margin-right: 5px;
      color: #dc3545;
}
#response{
    color: rgb(39, 212, 103);
    display: none; 
    padding: 8px 12px;
    margin-top: 5px;
    font-size: 14px;
    font-weight: bold;
    background-color: #d7f8da; /* Light green background */
    padding: 10px;
    border-radius: 5px;
}
#response::before {
      content: "!"; /* Or use an icon font */
      margin-right: 5px;
      color: rgb(18, 167, 73);
}
.loading{
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    position: absolute;
    animation: spin 2s linear infinite;
    top: 23px;
    right: 16px;
    display: none;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Thank you page */
.main-heading{
    background-color: var(--primary-color);
    padding: 20px 20px;
}
.main-heading h1{
    font-size: 36px;
    font-weight: 900;
    text-align: center;
    font-family: var(--font-family-lato);
    max-width: 100%;
    margin-inline: auto;
    color: #FFF;
}
.what-next{
    padding: 20px 20px;
    margin-top: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    justify-items: center;
    align-items: center;
}
.what-next h2{
    font-size: 32px;
    font-weight: 900;
    text-align: center;
    font-family: var(--font-family-lato);
    max-width: 100%;
    margin-inline: auto;
    color: var(--primary-color);
    margin-bottom: 40px;
}
.what-next p{
    font-size: 22px;
    padding: 30px 10px;
    max-width: 700px;
}
.what-next img{
    width: 90px;
   margin:auto
}

/* Key frames */

@media only screen and (max-width: 600px) {
    .main-container {
        /* width: 100%; */
        display: block;
        padding: 0px 12px;
    }
    .hero .hero-data{
        width: 100%;
    }

    .navbar {
        justify-content: center;
    }

    /* .navbar .navbar-phone {
        display: none;
    } */
    .trustpilot-wrapper{
        display: flex;
        flex-direction: row;
        gap: 5px;
    }
    .tp-rating-icon, .tp-logo {
        width: 80px;
    }
    .tp-review-status{
        font-weight: bold;
        font-size: 12px;
    }

    .hero{
        height: auto;
        position:relative;
    }
    .hero .overlay{
        height: 100%;
    }
    .hero .form{
        flex-direction: column;
    }
    .hero .heading{
        line-height: 36px;
        font-size: 32px;
    }
    .hero .sub-heading{
        font-size: 16px;
        padding: 0px 16px;
    }
    .hero .form .input-wrapper{
        flex:auto;
        width: 280px;
    }
    .hero .form button,
    .financial-advisor-wrapper a{
        width: 315px;
    }
    .financial-advisor-wrapper a{
        line-height: 44px;
        height: 44px;
    }
    .hero .cards-wrapper{
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    .hero .cards-wrapper .card-2 p{
        padding-bottom: 16px;
    }

    .services-container{
        flex-direction: column;
    }
    .services-container .divider{
        display: none;
    }
    

    .advisor-recommend{
        font-weight: bold;
        margin: 16px 0;
    }
    .lead-form-fields-wrapper {
        flex-direction: column;
        width: 80%;
    }
    .hero .hero-data{
        min-height: auto;
    }

    .services-wrapper{
        padding: 0px 10px;
        margin-top: 34px;
        margin-bottom: 34px;
    }
    .financial-advisor-wrapper h3{
        font-size: 16px;
    }
    .financial-advisor-container .advisorr-services{
        line-height: 35px;
        /* margin-top: 16px;
        margin-bottom: 16px; */
        font-family: var(--font-family-lato);
    }
    .financial-advisor-container .advisorr-services-1{
        margin-bottom: 0px;
    }
    .financial-advisor-container .advisorr-services-2,
    .financial-advisor-container .advisor-services-wrapper ul{
        margin-top: 0px;
    }

    .financial-advisor-container br{
        display: none;
    }
    
    .services-wrapper{
        padding-inline: 20px;
    }
    .advisor-services-wrapper{
        flex-direction: column;
        gap: 0;
    }
    .advisorr-services h4{
        font-size: 16px;
    }
    .advisor-services-wrapper ul li p{
        font-size: 16px;
        line-height: 1.5;
    }
    .advisorr-services-1{
        margin-bottom: 0px;
    }
    .advisorr-services-2{
        margin-top: 0px;
    }
    .hide-sm{
        display: none;
    }
    .services-container h3{
        font-size: 20px;
    }
    .financial-advisor-container{
        padding-inline: 10px;
    }
    .navbar{
        justify-content: space-between;
        display: flex;
    }
    .navbar-phone{
        display: flex;
        flex-direction: column;
    }
    
}

@media only screen and (min-width: 600px) and (max-width: 768px) {
    .hero .hero-data{
        height: 720px;
    }
    .lead-form-fields-wrapper{
        width: 80%;
    }
    .advisor-services-wrapper h4{
        font-size: 20px;
    }
    .advisor-services-wrapper ul li p{
        font-size: 16px;
        line-height: 1.5
        
    }
    .advisor-services-wrapper br{
        display: none;
    }
    .financial-advisor-container{
        padding-inline: 10px;
    }
}

@media only screen and (max-width: 990px) {
    .disclaimers, .copyrite, .services-wrapper{
        padding-inline: 20px;
    }
    .navbar{
        justify-content: space-between;
        display: flex;
    }
    .navbar-phone{
        display: flex;
        flex-direction: column;
    }
    .footer-wrapper{
        padding: 25px 0 15px;
    }
}

@media only screen and (max-width: 440px) {
    .form-button {
        width: 270px !important;
        font-size: 20px;

    }
    .loading{
        top: 23px;
        right: 4px;
    }
    
    .copyrite{
        font-size: 12px;
    }
}


