.container {
    max-width: 1440px;
    padding: 0;
}

/* media start */
@media (max-width: 1679px) {

    .header {
        padding-top: 20px;
    }

    .header .nav ul li a {
        font-size: 17px;
    }

    .logo {
        width: 90px;
    }

    .header.fixed .nav ul li a {
        font-size: 15px;
    }

    .container {
        max-width: 1140px;
    }

    .hero {
        height: 770px;
    }

    .hero-slider-content img {
        width: 490px;
    }

    h2 {
        font-size: 34px;
    }

    .about-us-content_left h2::after {
        width: 46px;
        height: 5px;
    }

    .about-us-content_left p {
        font-size: 44px;
        line-height: 52px;
    }

    .about-us-content_right {
        width: 45%;
        padding-top: 75px;
    }

    .about-us-content_right p {
        font-size: 17px;
        line-height: 32px;
    }

    .about-us {
        padding: 80px 0 115px;
    }

    .contact-us {
        padding: 85px 0 70px;
    }

    .contact-us-form h2::after {
        width: 46px;
        height: 5px;
    }

    .contact-us-form h2 {
        margin-bottom: 35px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 20px;
        border-bottom: 2px solid #fff;
    }

    .form-group {
        padding: 0 20px 60px;
    }

    .contact-us-form {
        width: 645px;
    }

    .contact-us::after {
        width: 528px;
        height: 515px;
    }

    .form-group.submit input {
        width: 210px;
        height: 60px;
        border: 2px solid #fff;
    }

    .footer {
        margin: 40px 0 0;
        padding: 80px 0 55px;
    }

    .footer-logo {
        width: 265px;
    }

    h3 {
        font-size: 26px;
    }

    .footer-list h3 {
        padding-bottom: 35px;
    }

    .footer-list a {
        font-size: 15px;
        line-height: 24px;
        margin-bottom: 25px;
    }

    .footer-list.footer-list-social h3 {
        padding-bottom: 18px;
    }

    .footer-list ul.social-nav li a {
        width: 30px;
        height: 30px;
    }

    .footer-list ul.social-nav {
        padding-bottom: 30px;
    }

    .footer-list.footer-list-social {
        margin-right: -66px;
    }

    .affiliates-img img {
        width: 80px;
    }

    .header .nav ul li {
        padding-left: 45px;
    }

    h1 {
        font-size: 48px;
    }

    .thank-you h1 {
        line-height: 57px;
        text-transform: capitalize;
        padding-bottom: 15px;
    }

    .contact-us.thank-you-banner {
        height: 580px;
    }

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

    .thank-you-banner .thank-you {
        width: 46%;
    }
}


@media (max-width: 1439px) {
    .header {
        padding-top: 15px;
    }

    .header-wrapper {
        padding: 0 25px;
    }

    .logo {
        width: 75px;
    }

    .header .nav ul li a {
        font-size: 15px;
    }

    .header .nav ul li {
        padding-left: 40px;
    }

    .header.fixed .logo {
        width: 55px;
    }

    .header.fixed .nav ul li a {
        font-size: 14px;
    }

    .header.fixed {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .hero {
        height: 670px;
    }

    .container {
        max-width: 980px;
    }

    .hero-slider-content img {
        width: 420px;
    }

    .about-us {
        padding: 55px 0 90px;
    }

    h2 {
        font-size: 30px;
    }

    .about-us-content_left h2 {
        padding-bottom: 18px;
        margin-bottom: 16px;
    }

    .about-us-content_left h2::after {
        width: 42px;
        height: 4px;
    }

    .about-us-content_left p {
        font-size: 36px;
        line-height: 46px;
    }

    .about-us-content_right {
        width: 48%;
        padding-top: 65px;
    }

    .about-us-content_right p {
        font-size: 16px;
        line-height: 28px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 18px;
    }

    .form-group {
        padding: 0 15px 45px;
    }

    .contact-us-form {
        margin: 0 -15px;
        width: 595px;
    }

    .form-group.submit input {
        width: 180px;
        height: 55px;
    }

    .contact-us {
        padding: 65px 0 40px;
    }

    .contact-us::after {
        width: 478px;
        height: 465px;
    }

    .footer {
        margin: 30px 0 0;
        padding: 60px 0 40px;
    }

    .footer-logo {
        width: 225px;
    }

    h3 {
        font-size: 21px;
    }

    .footer-list a {
        font-size: 13px;
        line-height: 23px;
        margin-bottom: 15px;
    }

    .footer-list h3 {
        padding-bottom: 25px;
    }

    .footer-list ul.social-nav li a {
        width: 22px;
        height: 22px;
    }

    .footer-list ul.social-nav {
        padding-bottom: 20px;
    }

    .footer-list.footer-list-social h3 {
        padding-bottom: 15px;
    }

    .affiliates-img img + img {
        margin-left: 30px;
    }

    .affiliates-img img {
        width: 80px;
    }

    .contact-us-form h2::after {
        width: 42px;
        height: 4px;
    }

    .contact-us-form h2 {
        margin-bottom: 25px;
    }

    .thank-you p {
        font-size: 16px;
        line-height: 33px;
    }

    h1 {
        font-size: 42px;
    }

    .thank-you h1 {
        line-height: 46px;
        text-transform: capitalize;
        padding-bottom: 10px;
    }

    .form-group.submit .formerror {
        top: 70px;
    }

    .form-group.submit .formerror,
    .error-email-valid,
    .errorform {
        left: 15px;
    }
}


@media (max-width: 1199px) {
    .header {
        padding-top: 11px;
    }

    .logo {
        width: 65px;
    }

    .header .nav ul li a {
        font-size: 18px;
    }

    .header .nav ul li {
        padding-left: 30px;
    }

    .header .nav ul {
        padding-right: 0;
    }

    .hero {
        height: 540px;
    }

    .hero-slider-content img {
        width: 350px;
    }

    .container {
        max-width: 910px;
    }

    .about-us-content_left p {
        font-size: 33px;
        line-height: 44px;
    }

    .contact-us::after {
        width: 428px;
        height: 415px;
    }

    .footer {
        margin: 20px 0 0;
        padding: 40px 0 30px;
    }

    .footer-logo {
        width: 175px;
    }

    .footer-wrapper .footer-list:nth-child(2) {
        width: 26%;
    }

    .footer-wrapper .footer-list:nth-child(3) {
        width: 15%;
    }

    .footer-list.footer-list-social {
        margin-right: -25px;
    }

    .affiliates-img img {
        width: 70px;
    }

    .about-us {
        padding: 35px 0 60px;
    }

    .contact-us {
        padding: 45px 0 10px;
    }
}


@media (max-width: 1023px) {
    .header-wrapper {
        padding: 0 15px;
    }

    .hero {
        height: 410px;
    }

    .container {
        max-width: 100%;
        padding: 0 15px;
    }

    h2 {
        font-size: 26px;
    }

    .about-us-content_left {
        width: 100%;
    }

    .about-us-content_right {
        width: 100%;
        padding-top: 15px;
    }

    .about-us {
        padding: 35px 0;
    }

    .contact-us-form {
        margin: 0 -15px;
        width: 100%;
        z-index: 1;
    }

    .contact-us::after {
        width: 298px;
        height: 295px;
    }

    .form-group {
        padding: 0 15px 35px;
    }

    .form-group.submit input {
        width: 160px;
        height: 45px;
        font-size: 16px;
    }

    .footer-logo {
        width: 100%;
        text-align: left;
        padding-bottom: 25px;
    }

    .footer-logo img {
        width: 235px;
    }

    .footer-wrapper .footer-list:nth-child(2) {
        width: 100%;
    }

    .footer-wrapper .footer-list:nth-child(3) {
        width: 100%;
    }

    .footer-list.footer-list-social {
        margin-right: 0;
        width: 100%;
    }

    .footer-list a {
        font-size: 14px;
        line-height: 23px;
        margin-bottom: 15px;
        width: 255px;
        display: block;
    }

    .footer-list {
        padding-bottom: 15px;
        border-bottom: 1px solid #fff;
        margin-bottom: 30px;
    }

    .footer-list:last-child {
        border: 0;
    }

    .footer-list ul li a {
        margin: 0 0 15px;
    }

    .footer {
        padding: 40px 0 0px;
    }

    .thank-you {
        width: 73%;
        margin: 0 auto;
    }

    .thank-you p {
        font-size: 16px;
        line-height: 25px;
    }

    h1 {
        font-size: 35px;
    }

    .thank-you h1 {
        line-height: 41px;
        padding-bottom: 15px;
    }

    .thank-you-banner .thank-you {
        left: 0;
        padding-left: 20px;
        padding-right: 20px;
        width: 50%;
    }

    .form-group.submit .formerror {
        top: 57px;
        left: 15px;
    }

    .form-group textarea {
        line-height: 20px;
    }

    .hero-slider-content img {
        width: 280px;
        position: relative;
        left: 25px;
    }

    .footer-wrapper .footer-list:nth-child(3) ul li {
        border-bottom: 1px solid #403f3f;
        margin-bottom: 15px;
    }

    .footer-wrapper .footer-list:nth-child(3) ul li:last-child {
        border: 0;
        margin: 0;
    }

    .nav {
        position: fixed;
        width: 300px;
        right: -100%;
        background: #333;
        top: 0;
        padding: 21px 0 20px;
        height: 100%;
        z-index: 99;
        transition: all 0.4s;
        -webkit-transition: all 0.4s;
        -moz-transition: all 0.4s;
        display: block;
        overflow-y: auto;
    }

    .nav.in {
        right: 0;
        transition: all 0.4s;
        -webkit-transition: all 0.4s;
        -moz-transition: all 0.4s;
    }

    .bars .icon-bar {
        display: block;
        width: 35px;
        height: 4px;
        border-radius: 1px;
        background-color: #ffffff;
        transition: all 0.3s;
        -moz-transition: all 0.3s;
        -webkit-transition: all 0.3s;
    }

    .bars .icon-bar:first-child, .navbar-toggle .icon-bar:last-child {
        transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        margin-top: 0;
    }

    .bars .icon-bar:nth-child(2) {
        margin: 4px 0;
    }

    .bars .icon-bar:first-child,
    .bars .icon-bar:last-child {
        transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        margin-top: 0;
    }

    .navbar-toggle.collapsed {
        width: 45px;
        height: 45px;
        border: 0;
        background: transparent;
        transform: scale(1);
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        transition: all 1;
        -moz-transition: all 1;
        -webkit-transition: all 1;
    }

    .bars {
        position: absolute;
        top: 50%;
        right: 15px;
        z-index: 99999;
        display: block;
        transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        -o-transform: translateY(-50%);
    }

    .navbar-header .navbar-toggle {
        display: block;
        padding: 0;
        margin-right: 0;
        margin-top: 2px;
        margin-bottom: 0;
    }

    /* .bars.in {
        transform: scale(0.7);
        -webkit-transform: scale(0.7);
        -moz-transform: scale(0.7);
        transition: all 1s;
        -moz-transition: all 1s;
        -webkit-transition: all 1s;
    } */

    .bars.in .icon-bar:first-child {
        transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        margin-top: 4px;
    }

    .bars.in .icon-bar:nth-child(2) {
        display: none;
    }

    .bars.in .icon-bar:last-child {
        transform: rotate(-45deg);
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        margin-top: -4px;
    }

    .header.fixed .nav ul li a:hover {
        color: #fff;
    }

    .header .nav ul {
        display: block;
        width: 100%;
    }

    .header .nav ul li {
        padding-left: 0;
        width: 100%;
        padding: 0 0 20px 20px;
        display: block;
    }

    .header .nav ul li + li {
        border-top: 1px solid #403f3f;
        padding-top: 20px;
    }

    .header .nav ul li a {
        display: block;
    }

    .form-group.select::before {
        width: 9px;
        height: 9px;
        right: 24px;
    }
    .mobile-nav-bottom {
        display: block;
        width: 100%;
    }

    .header-contact {
        padding-left: 0px;
        padding-bottom: 20px;
    }

    .mobile-nav-bottom h3 {
        font-size: 18px;
        padding-bottom: 20px;
        padding-top: 15px;
        text-transform: uppercase;
        text-align: left;
        width: 100%;
        padding-left: 20px;
    }

    .call a {
        color: #fff;
        font-size: 18px;
        font-weight: 700;
        padding-left: 7px;
    }

    .call i {
        font-size: 18px;
    }

    .mobile-nav-bottom .social-nav {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        padding-left: 13px;
    }

    .mobile-nav-bottom ul.social-nav li {
        padding:0;
        margin: 0 7px;
        width: max-content;
    }

        .mobile-nav-bottom ul.social-nav li + li {
            border: 0;
            padding: 0;
        }

    .mobile-nav-bottom ul.social-nav li a {
        width: 38px;
        height: 38px;
        background: #fff;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 2px solid #fff;
        transition: .5s;
        -webkit-transition: .5s;
        -moz-transition: .5s;
        -o-transition: .5s;
        padding-right:
    }

    .mobile-nav-bottom ul.social-nav li a i {
        color: #000;
    }
    .call .fa-phone:before {
        width: 40px;
        height: 40px;
        text-align: center;
        line-height: 38px;
        color: #fff;
        float: left;
        margin-right: 10px;
        border: solid 2px rgba(255, 255, 255, 0.45);
        border-radius: 50%;
    }

    .call {
        display: flex;
        align-items: center;
        padding-left: 20px;
    }

    .header.fixed {
        z-index: 2;
    }

    .header {
        z-index: 2;
    }

    .nav .logo {
        padding-bottom: 50px;
        padding-left: 20px;
        display: inline-block;
        width: 70px !important;
    }

    .header.fixed .nav ul li a {
        font-size: 18px !important;
    }
}


@media (max-width: 767px) {
    .hero-slider-content img {
        width: 300px;
        padding-left: 25px;
    }

    .hero {
        height: 380px;
    }

    .contact-us-form {
        margin: 0;
        width: 100%;
    }

    .form-group {
        padding: 0 0px 35px;
        width: 100%;
    }

    .contact-us-inner {
        padding-left: 0;
    }

    .about-us {
        padding: 20px 0;
    }

    .contact-us {
        z-index: 0;
    }

    .contact-us::after {
        z-index: -1;
    }

    .contact-us.thank-you-banner {
        height: 400px;
    }

    .thank-you-banner .thank-you {
        width: 60%;
    }

    .error-email-valid,
    .errorform {
        left: 0;
    }

    .form-group.submit .formerror {
        top: 55px;
        left: 0;
    }

    .form-group.select::before {
        right: 10px;
    }

    .form-group input, .form-group select {
        line-height: 1;
    }
}


@media (max-width: 840px) and (orientation: landscape) {
    .contact-us {
        z-index: 0;
    }

    .contact-us::after {
        z-index: -1;
    }

    .contact-us-form {
        margin: 0;
        width: 100%;
    }

    .form-group {
        padding: 0 0px 35px;
        width: 100%;
    }
    .form-group.submit .formerror, .error-email-valid, .errorform {
        left: 0;
    }
    .form-group.submit .formerror {
        left: 0;
    }
}


@media (max-width: 580px) {
    .hero-slider {
        background-position: right;
    }

    .hero-slider-content img {
        width: 170px;
        padding-left: 0px;
    }

    .about-us-content_left p {
        font-size: 26px;
        line-height: 36px;
    }

    .contact-us {
        padding: 35px 0 0px;
    }

    .thank-you {
        width: 100%;
    }

    h1 {
        font-size: 32px;
    }

    .thank-you-banner .thank-you {
        width: 100%;
    }

    .errorform {
        left: 0;
    }

    .error-email-valid{
        left: 0
    }

    .form-group.submit .formerror {
        left: 0;
    }
}

@media (max-width: 320px) {
    h1 {
        font-size: 28px;
    }

    .thank-you h1 {
        line-height: 36px;
        padding-bottom: 10px;
    }

    .thank-you p {
        font-size: 14px;
        line-height: 23px;
    }
}
