@font-face {
    font-family: 'IranSansXRegular';
    src: url("../fonts/iransans/IRANSansXFaNum-Regular.ttf") format("truetype");
}

@font-face {
    font-family: 'IranSansXLight';
    src: url("../fonts/iransans/IRANSansXFaNum-UltraLight.ttf") format("truetype");
}

@font-face {
    font-family: 'IranSansXBlack';
    src: url("../fonts/iransans/IRANSansXFaNum-Black.ttf") format("truetype");
}

@font-face {
    font-family: 'IranSansXLight2';
    src: url("../fonts/iransans/IRANSansXFaNum-Light.ttf") format("truetype");
}

:root {
    --dark: #1f1b14;
    --darkSecond: #333333;
    --white: #fff;
    --green: #24e46e;
    --red: #ff343c;
    --blue: #104c5c;
}

.ltr {
    direction: ltr;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--green);
    line-height: 1.8;
    font-family: "IranSansXLight2";
}

a {
    color: var(--white);
    text-decoration: none;
}

a:hover {
    color: var(--green);
}

.pm-cta-lg,
.pm-cta-md,
.pm-cta-sm {
    border: 1px solid;
    padding: .5rem 3rem;
    border-radius: 30px;
    text-decoration: none;
}

.pm-cta-lg {
    font-size: 26px;
}

.pm-cta-md {
    font-size: 20px;
}

.pm-cta-sm {
    font-size: 16px;
}

.pm-cta-green {
    color: var(--green);
    border-color: var(--green);
    background-color: transparent;
    transition: all .25s ease;
}

.pm-cta-white {
    color: var(--white);
    border-color: var(--white);
    transition: all .25s ease;
}

.pm-cta-white:hover,
.pm-cta-green:hover {
    background-color: var(--blue);
    border-color: var(--blue) !important;
    color: var(--white);
}

.title-1 {
    font-size: 36px;
}

.title-2 {
    font-size: 30px;
}

.title-3 {
    font-size: 26px;
}

.border-green {
    border-color: var(--green) !important;
}

body {
    background-color: var(--dark);
    color: var(--white);
    font-family: "IranSansXLight", serif;
    line-height: 1.8;
}

.form-control {
    background-color: var(--dark);
    color: var(--white);
    border: 1px solid var(--white);
    border-radius: 15px;
    height: 50px;
}

.form-control.has-error {
    border-color: var(--red);
}

.form-control:focus {
    background-color: var(--dark);
    box-shadow: none;
    border-color: #24e46e;
    color: var(--white);
}

#feedback {
    position: absolute;
    color: var(--red);
    left: 0;
    right: 0;
    bottom: 0;
}

.feedback {
    display: none;
    font-size: .8rem;
}

.feedback.has-error {
    color: var(--red);
}

#feedback.success {
    color: var(--green);
}

.form-title:before,
.form-title:after {
    content: "";
    position: absolute;
    width: 22%;
    top: 50%;
    height: 1px;
    background-color: var(--white);
}

.form-title:before {
    left: 0;
}

.form-title:after {
    right: 0;
}

.form-title span {
    color: var(--white);
    z-index: 1;
    position: relative;
    padding: 0 1rem;
}

/* Header */
.top-bar-logo {
    width: 150px;
}

#navigation:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: -1;
    background-image: linear-gradient(to left, #24e46e, #24e46e 35%, #104c5c);
}

#navigation .navbar-toggler {
    background-color: var(--blue);
    border-radius: 0;
    padding: .5rem 1rem .5rem .5rem;
    height: 40px;
    border: 0;
}

#navigation .navbar-toggler:focus {
    border: 0;
    box-shadow: none;
}

.navbar-nav .dropdown-menu {
    background-color: var(--green);
}

.navbar-nav .dropdown-menu a {
    color: var(--dark) !important;
    text-align: right;
}

#searchForm {
    position: relative;
    background-color: var(--blue);
    border-top-left-radius: 50%;
    border-bottom-left-radius: 50%;
    padding-right: .5rem;
    transition: all .25s ease;
    width: 50px;
}

#searchForm:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 50px;
    background-color: var(--blue);
    border-top-left-radius: 50%;
    border-bottom-left-radius: 50%;
    z-index: -1;
}

#searchForm button.submit {
    display: none;
}

#searchForm .submit {
    display: inline-block;
    background-color: transparent;
    height: 40px;
    line-height: 40px;
    border: 0;
    color: var(--white);
    padding-left: 1rem;
    border-top-left-radius: 50%;
    border-bottom-left-radius: 50%;

}

#navigation #search {
    width: 0;
    padding: 0;
    opacity: 0;
    color: var(--white);
    background-color: var(--dark);
    border: 1px solid var(--blue);
    transition: all .25s ease;
    height: 45px;
}

#navigation #search:focus {
    box-shadow: none;
    outline: 0;
}

#searchForm.active {
    width: 250px;
}

#searchForm.active #search {
    width: 80%;
    opacity: 1;
}

#searchForm.active a.submit {
    display: none;
}

#searchForm.active button.submit {
    display: inline-block;
}

#navigation ul li a.active {
    font-weight: 700;
    font-family: 'IranSansXRegular';
}

/* Footer */
footer {
    background-color: var(--darkSecond);
    border-top: 2px solid var(--green);
}

#footerMenu {
    list-style: none;

}

#footerMenu li {
    width: 50%;
    margin-bottom: .75rem;
}

#footerMenu li:nth-child(2n) {
    text-align: left;
}

#footerMenu li a {
    color: var(--white);
    text-decoration: none;
    font-size: 18px;
    transition: all .25s ease;
    border-bottom: 1px solid transparent;
    padding-bottom: .25rem;
}

#footerMenu li a:hover {
    color: var(--green);
    border-color: var(--green);
}

footer #socialMedia {
    border-bottom: 2px solid var(--green);
}

footer #contact a {
    text-decoration: none;
}

/* FrontPage */
#intro .typography {
    width: 150px;
}

#intro p {
    text-align: justify;
    text-align-last: center;
}

#intro .pm-cta-lg {
    color: var(--white);
    border-color: var(--white);
}

#intro {
    background-image: url("../images/bg/bg-frontpage-intro.jpg");
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: center;
}

#about .content {
    background-image: url("../images/temp/image-1.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border: 1px solid var(--green);
    border-radius: 20px;
    text-align: justify;
}

#about .content * {
    position: relative;
    z-index: 2;
}

#about .content:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .8);
    border-radius: 20px;
}

#about .about-image {
    margin: -4rem auto 0;
    width: 200px;
}

#faqSection .faq-cat {
    color: var(--green);
    text-decoration: none;
    padding-bottom: .5rem;
}

#faqSection .faq-cat.active {
    color: var(--white);
    border-bottom: 1px solid var(--white);
}

#faqSection .faq-wrap {
    display: none;
    transition: all .25s ease;
}

#faqSection .faq-wrap.active {
    display: block;
    transition: all .25s ease;
}

#faqSection .faq-wrap .accordion-button {
    background-color: var(--blue);
    color: var(--white);
}

#faqSection .faq-wrap .accordion-button:focus {
    box-shadow: none;
}

#faqSection .faq-wrap .accordion-button:after {
    display: none;
}

#faqSection .faq-wrap .icon {
    position: absolute;
    left: 12px;
}

#faqSection .accordion-body {
    background-color: var(--darkSecond);
    color: var(--white);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

#faqSection .accordion-item:last-of-type,
#faqSection .accordion-item:first-of-type .accordion-button {
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
}

#faqSection .accordion-item:first-of-type,
#faqSection .accordion-item:first-of-type .accordion-button {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

#faqSection .accordion-item .accordion-button:not(.collapsed) {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

#statistics .stats-wrap img {
    filter: brightness(25%) saturate(50%);
    -webkit-filter: brightness(25%) saturate(50%);
    -moz-filter: brightness(25%) saturate(50%);
}

#statistics .stats-wrap:hover img {
    filter: brightness(10%);
    -webkit-filter: brightness(10%);
    -moz-filter: brightness(10%);
}

#statistics .stats-wrap:hover .content * {
    color: var(--white);
}

#statistics .content {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    color: var(--green);
}

#statistics .content h3 {
    font-family: "IranSansXBlack";
    font-size: 30px;
}

#agentIntro {
    background-image: url("../images/bg/bg-x.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

#agents .mobile-links {
    position: absolute;
    right: 20px;
    left: 20px;
    top: 30%;
}

#agents img {
    max-width: 300px;
}

#agents .mobile-links a {
    color: var(--green);
    text-decoration: none;
}

#archiveAgents .description {
    text-align: justify;
    text-align-last: center;
}

#formAgents {
    border: 1px solid var(--green);
    border-radius: 20px;
    background-image: url("../images/bg/bg-agent-form.jpg");
    background-size: cover;
}

#formAgents:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .8);
    border-radius: 20px;
}

.form-select {
    border-radius: 20px;
    border: 1px solid var(--white);
    background-image: none;
    padding: 1rem;
    background-color: var(--dark);
    color: var(--white);
}

#formAgents .submit {
    z-index: 2;
    position: relative;
}

.form-select:focus {
    border-color: var(--green);
    box-shadow: none;
}

.pm-select .fa-chevron-down {
    left: 14px;
    top: 55%;
}

#agentsList .agent-card {
    border: 1px solid var(--green);
    border-radius: 25px;
    padding-bottom: 4rem;
}

#agentsList .agent-title {
    color: var(--green);
}

#agentsList .agent-phone {
    background-color: var(--green);
    color: var(--white);
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    text-decoration: none;
    left: 0;
    right: 0;
    bottom: 0;
}

.pm-content {
    text-align: justify;
    text-align-last: center;
}

div.wpforms-container-full .wpforms-field-label {
    color: var(--white) !important;
}

.wpforms-form input,
.wpforms-form textarea {
    background-color: var(--dark) !important;
    border-color: var(--white) !important;
    border-radius: 20px !important;
    color: var(--white) !important;
    font-size: 20px !important;
    padding: 1rem !important;
}

.wpforms-form input {
    height: auto !important;
}

.wpforms-form input::placeholder {
    color: var(--white) !important;
    opacity: 1 !important;
}

div.wpforms-container-full .wpforms-form em.wpforms-error::before {
    display: none;
}

div.wpforms-container-full .wpforms-form .wpforms-submit-container {
    text-align: center;
}

div.wpforms-container-full button[type="submit"] {
    font-size: 26px !important;
    padding: .75rem 3rem !important;
    border: 1px solid var(--white) !important;
    border-radius: 30px !important;
    background-color: transparent !important;
    height: auto !important;
}

.wpforms-form {
    border: 1px solid var(--green) !important;
    border-radius: 25px !important;
    padding: 1rem !important;
}

div.wpforms-container-full .wpforms-form .wpforms-field-divider {
    border-top: 0 !important;
    padding: 0 !important;
}

div.wpforms-container-full .wpforms-form .wpforms-field-divider h3 {
    margin: 0 !important;
    padding: 0 !important;
    text-align: center;
    color: var(--white);
    position: relative;
}

div.wpforms-container-full .wpforms-form .wpforms-field-divider h3:before,
div.wpforms-container-full .wpforms-form .wpforms-field-divider h3:after {
    content: "";
    position: absolute;
    top: 50%;
    height: 1px;
    background-color: var(--white);
}

div.wpforms-container-full .wpforms-form .wpforms-field-divider h3:before {
    right: 0;
    left: 60%;
}

div.wpforms-container-full .wpforms-form .wpforms-field-divider h3:after {
    left: 0;
    right: 60%;
}

div.wpforms-container-full .wpforms-field.wpforms-field-radio ul li input {
    padding: 0 !important;
}

div.wpforms-container-full .wpforms-field.wpforms-field-radio ul li input + label {
    color: var(--white);
}

#agencyRequest form {
    background-image: url("../images/bg/bg-x.png");
    background-repeat: no-repeat;
    background-size: 80%;
    background-position: center;
}

#contactUs form {
    background-image: url("../images/bg/bg-contact-us.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

#contactUs .social-media a {
    width: 50px;
    height: 50px;
    color: var(--green);
    border: 2px solid var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.survey form,
.complaints form {
    background-image: radial-gradient(circle at 45% 50%, #696662, #1f1b14 67%, #1f1b14 111%);
}

#blog .blog-card {
    border: 1px solid var(--green);
    border-radius: 25px;
}

#blog .post-image img {
    border-top-right-radius: 25px;
    border-top-left-radius: 25px;
    width: 100%;
}

#blog .post-title {
    font-family: "IranSansXBlack";
}

#singlePost .post-content {
    text-align: justify;
}

#productHeader {
    background-image: url("../images/bg/bg-product-header.webp");
    background-size: cover;
    background-position: center;
}

#productHeader .product-title {
    color: var(--white);
    font-family: 'IranSansXBlack';
    font-size: 40px;
}

#productHeader .product-description {
    text-align: justify;
}

#productHeader ul {
    list-style: none;
}

#productHeader ul li {
    position: relative;
    margin-bottom: .5rem;
}

#productHeader ul li:before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--green);
    right: -30px;
    top: 10px;
}

#productSingle .product-content {
    text-align: justify;
}

#productSingle .product-content-image {
    border: 1px solid var(--green);
    border-radius: 25px;
}

#productSingle .product-content-image .product-icons {
    border-top: 1px solid var(--green);
}

.product-card {
    border: 1px solid var(--green);
    border-radius: 25px;
    padding: 1rem;
    transition: all .25s ease;
}

.product-card * {
    transition: all .25s ease;
}

.product-card .product-title {
    color: var(--white);
}

.product-card:hover {
    background-color: var(--white);
}

.product-card:hover .product-image {
    transform: rotateY(180deg);
}

.product-card:hover .product-title {
    color: var(--dark);
}

.owl-carousel .owl-dots {
    text-align: center;
    margin-top: 2rem;
}

.owl-carousel .owl-dots .owl-dot {
    width: 16px;
    height: 16px;
    border: 1px solid var(--white);
    border-radius: 50%;
    transition: all .25s ease;
    margin: 0 .25rem;
}

.owl-carousel .owl-dots .owl-dot.active {
    width: 48px;
    border-radius: 20px;
}

.product-attributes {
    border: 1px solid var(--green);
    border-radius: 25px;
}

.product-attributes .attr-titles {
    font-size: 14px;
    width: 40%;
    padding: .5rem .5rem;
    border-left: 1px solid var(--green);
}

.product-attributes .attr-bullet {
    width: 6%;
    display: inline-block;
    border: 1px solid var(--white);
    border-radius: 10px;
    height: 10px;
}

.product-attributes .attr-bullet.active {
    border-color: var(--green);
}

.product-icons .the-icon {
    border-left: 2px solid var(--green);
}

.product-icons .the-icon:last-child {
    border: 0;
}

#searchProduct {
    border: 1px solid var(--green);
    border-radius: 25px;
    padding: 1rem;
    background-image: radial-gradient(circle at 106% 27%, #696662, #1f1b14 57%, #1f1b14 93%);
}

#searchProduct .form-select {
    font-size: 24px;
    font-family: "IranSansXBlack";
    text-align: left;
    color: var(--green);
    border: 0;
    background-color: transparent;
    border-radius: 0;
    background-image: url("../images/icons/chevron-down.svg");
    --bs-form-select-bg-img: url("../images/icons/chevron-down.svg");
}

#searchProduct .tire-size {
    border: 1px solid var(--green);
    border-radius: 25px;
}

#searchProduct .tire-size > div {
    min-width: 33%;
    border-left: 1px solid var(--green);
}

#searchProduct .tire-size > div:last-child {
    border: 0;
}

#searchProduct .select-width:after,
#searchProduct .select-height:after,
#searchProduct .select-height:before,
#searchProduct .select-length:before {
    content: "";
    position: absolute;
    top: 100%;
    background-color: var(--green);
    left: 50%;
}

#searchProduct .select-width:after {
    height: 64px;
    width: 1px;
}

#searchProduct .select-height:after {
    height: 50px;
    width: 1px;
}

#searchProduct .select-height:before {
    top: calc(100% + 50px);
    height: 1px;
    width: 44%;
}

#searchProduct .select-length:before {
    top: 102px;
    right: 20%;
    bottom: 24px;
    width: 1px;
    z-index: 2;
}

#searchProduct .tire-images {
    border-bottom: 1px solid var(--green);
}

#searchProduct .tire-width:before,
#searchProduct .tire-width:after {
    content: "";
    position: absolute;
    top: 10px;
    width: 10px;
    height: 20px;
    background-repeat: no-repeat;
    background-size: contain;
}

#searchProduct .tire-width:before {
    left: 0;
    background-image: url("../images/icons/chevron-right.svg");
}

#searchProduct .tire-width:after {
    right: 0;
    background-image: url("../images/icons/chevron-left.svg");
}

#searchProduct .tire-width .top-line {
    content: "";
    position: absolute;
    top: -10px;
    right: 10%;
    left: 10%;
    width: 80%;
    height: 1px;
    background-color: var(--green);
}


#searchProduct .tire-height .top-line {
    content: "";
    position: absolute;
    top: -23px;
    width: 1px;
    right: calc(50% + 3px);
    height: 20px;
    background-color: var(--green);
}

#searchProduct .tire-height:before,
#searchProduct .tire-height:after {
    content: "";
    position: absolute;
    width: 20px;
    height: 10px;
    left: calc(50% - 10px);
    background-repeat: no-repeat;
    background-size: contain;
}

#searchProduct .tire-height:before {
    background-image: url("../images/icons/chevron-down.svg");
    top: -10px;
}

#searchProduct .tire-height:after {
    background-image: url("../images/icons/chevron-up.svg");
    top: 30%;
}

#searchProduct .tire-height .bottom-line {
    content: "";
    position: absolute;
    bottom: 20%;
    left: 50%;
    right: 5%;
    height: 1px;
    background-color: var(--green);
}

#searchProduct .car-types {
    border: 1px solid var(--green);
    border-radius: 25px;
    font-size: 20px;
}

#searchProduct .car-types div:first-child {
    border-left: 1px solid var(--green);
}

#searchProduct .product-icons {
    border: 1px solid var(--green);
    border-radius: 25px;
}

#searchProduct .product-icons img {
    height: 40px;
    width: auto;
}

@media (min-width: 576px) {
    .title-1 {
        font-size: 42px;
    }

    .form-title:before,
    .form-title:after {
        width: 30%;
    }

    #navigation .navbar-toggler {
        padding-right: 2.5rem;
    }

    #statistics .content h3 {
        font-size: 40px;
    }

    #blog .post-image img {
        border-top-left-radius: 0;
        border-top-right-radius: 25px;
        border-bottom-right-radius: 25px;
    }

    .product-card .product-title {
        font-size: 20px;
    }

    .product-attributes .attr-titles {
        font-size: 18px;
        width: 30%;
        padding-right: 1rem;
    }

    .product-attributes .attr-bullet {
        width: 7%;
    }

    #searchProduct .select-length::before {
        bottom: 34px;
        top: 69px;
    }
}

@media (min-width: 768px) {
    .title-1 {
        font-size: 48px;
    }

    .form-title:before,
    .form-title:after {
        width: 35%;
    }

    .top-bar-logo {
        width: 150px;
    }

    #navigation .navbar-toggler {
        padding-right: 3rem;
    }

    #searchForm.active {
        width: 400px;
        border-top-left-radius: 100px;
        border-bottom-left-radius: 100px;
    }

    #agents .frontpage-agent {
        border: 1px solid var(--green);
        border-radius: 20px;
        padding: 2rem;
    }

    #agentsList .agent-phone {
        font-size: 20px;
    }

    .wpforms-form {
        padding: 3rem 1.5rem !important;
    }

    .product-attributes .attr-titles {
        width: 25%;
        padding-right: 1.5rem;
    }

    .product-attributes .attr-bullet {
        width: 8%;
        height: 15px;
    }

    #searchProduct {
        background-image: radial-gradient(circle at 70% 80%, #696662, #1f1b14 50%, #1f1b14 135%)
    }

    #searchProduct .form-select {
        text-align: center;
    }

    #searchProduct .tire-images {
        border-bottom: 0;
    }

    #searchProduct .select-length::before {
        bottom: 24px;
    }
}

@media (min-width: 992px) {
    .title-1 {
        font-size: 54px;
    }

    .pm-cta-lg {
        font-size: 36px;
    }

    .pm-cta-md {
        font-size: 28px;
    }

    .form-title:before,
    .form-title:after {
        width: 40%;
    }

    #navigation {
        background-image: linear-gradient(to left, var(--blue) 20%, transparent 80%);
    }

    #navbarSupportedContent {
        background-color: var(--blue);
        max-width: 70%;
    }

    #navigation::before {
        right: 65%;
    }

    #navigation ul li a {
        color: var(--white);
    }

    #navigation ul li a:hover {
        color: var(--green);
    }

    #searchForm.active {
        width: 300px;
    }

    #footerMenu li {
        width: auto;
        margin: 0 1rem;
    }

    #intro .typography {
        width: 300px;
    }

    .title-2 {
        font-size: 40px;
    }

    #intro {
        background-size: auto 120%;
    }

    #about .about-image {
        width: 80%;
    }

    #faqSection .title-2 {
        border-bottom: 0 !important;
    }

    #statistics .content h3 {
        font-size: 80px;
    }

    #agents img {
        max-width: 400px;
    }

    .wpforms-form {
        padding: 3rem !important;
    }

    #productHeader .product-title {
        font-size: 60px;
    }

    #productHeader .product-description {
        font-size: 20px;
    }

    .product-card {
        padding: 3rem;
    }

    .product-card .product-title {
        font-size: 30px;
    }

    .owl-carousel .owl-nav {
        position: absolute;
        top: calc(50% - 30px);
        right: -4rem;
        left: -4rem;
        z-index: -1;
    }

    .owl-carousel .owl-nav button {
        width: 40px;
        height: 60px;
        background-size: 80% auto !important;
        background-repeat: no-repeat !important;
    }

    .owl-carousel .owl-nav button.owl-next {
        background-image: url("../images/icons/chevron-left.svg");
        float: left;
    }

    .owl-carousel .owl-nav button.owl-prev {
        background-image: url("../images/icons/chevron-right.svg");
    }

    #searchProduct .select-length::before {
        bottom: 35px;
    }
}

@media (min-width: 1200px) {
    .top-bar-logo {
        width: 160px;
    }

    #navigation ul li a {
        color: var(--white);
        font-size: 18px;
        margin-left: 1rem;
    }

    #searchForm .submit {
        height: 48px;
        line-height: 48px;
    }

    #searchForm #search {
        height: 49px;
    }

    #intro {
        background-size: auto 100%;
        padding-top: 10rem !important;
        padding-bottom: 10rem !important;

    }

    #statistics .content h3 {
        font-size: 100px;
    }

    #agents img {
        max-width: 600px;
    }

    #searchProduct .select-length::before {
        bottom: 42px;
    }
}

@media (min-width: 1400px) {
    #singlePost .container {
        max-width: 1200px;
    }

    #singlePost p {
        margin-bottom: 3rem;
        font-size: 18px;
    }
}