/*
Theme Name: Avan Apps
Author: mahan-tech.ir
Description: قالب فارسی آوان اپس با پروژه‌ها، معرفی تیم و مدیریت فناوری‌ها.
Version: 1.1.0
Text Domain: anan
*/
:root {
    --primary-color: #3188cc;
    --background-color: #000616;
    --light-text-color: white;
    --box-shadow: -1px 8px 17px 0px #3188cc5c;
    --line-shadow: 0px 0px 20px 5px var(--primary-color);
    --light-text-shadow: 0px 0px 12px #297bff;
    --dark-text-shadow: 0px 0px 12px #000000;
}

p,
a,
span,
h1,
h2,
h3,
h4,
h5,
h6,
address,
li {
    color: var(--light-text-color);
    direction: rtl;
    text-shadow: 0px 0px 12px #297bff;
}

li {
    line-height: 22px;
}





img {
    max-width: 100%;
    height: auto;
}

button a {
    font-size: 20px;
}

/* normalize */
html {
    background-color: var(--background-color);
}

body {
    margin-top: 81px !important;
    box-sizing: border-box;
    padding: 0px;
    margin: 0px;
    /* direction: ltr; */
    background: radial-gradient(circle at 50% 30%, #061b3a 0%, #020817 45%, #01040b 100%);
    background-attachment: fixed;
    background-size: cover;
}
@media (max-width:700px) {
    body {
    margin-top: 70px !important;
    }
}

main {
    padding-top: calc(7vh + 0px);
}

a {
    text-decoration: none;
    color: var(--dark-text-color);
    text-shadow: var(--gold-text-shadow);
}

li {
    list-style: none;

}

button:hover {
    transform: scale(1.01);
    border: 2px solid var(--light-text-color);
}

button a {
    display: block;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

input[type="radio"] {
    accent-color: var(--hover-color);
}

/* FONTS */

/* thin */


/* light */


/* medium */


/* regular */


/* bold */


/* styles */

body {
    font-family: 'vazir';
}

button,
input,
select,
textarea {
    font-family: inherit;
}

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

address {
    text-align: justify;
}

p {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    word-break: break-word;
}

button {
    width: 165px;
    height: 35px;
    background-color: var(--primary-color);

    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.5s 0.1s linear, box-shadow 0.1s 0s linear;
}

button:active {
    /* background-color: red; */
    box-shadow: 1px 1px 10px 10px var(--btn-color);
}

button a {
    font-size: 18px;
    color: var(--light-text-color);
}



/* woocommerce messages */


.wc-empty-cart-message {
    display: none;
}

.woocommerce-message {
    background-color: #ffffff00 !important;
    border-top-color: var(--hover-color) !important;
    background: radial-gradient(var(--hover-color), transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    color: var(--text-colors) !important;
    min-height: 70px;
    width: 100% !important;
    margin: 25px 0px 60px 0px !important;
}


.woocommerce-message:focus-visible {
    outline: 0px !important;
}

.woocommerce-message:focus-visible {
    border: none !important;
}

.woocommerce-error {
    background-color: #ffffff00 !important;
    border-top-color: var(--hover-color) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(#b81c23, transparent) !important;
    flex-direction: column;
    gap: 10px;
    min-height: 70px;
}

.woocommerce-message .button,
.woocommerce-error .button {
    background-color: var(--hover-color) !important;
    color: var(--text-colors) !important;
    border-radius: 20px !important;
}

.woocommerce-message::before,
.woocommerce-error::before {
    content: "" !important;
    width: 50px;
    height: 50px;
    background-image: url(./svg/woocommerce-message.svg);
    color: var(--hover-color) !important;
}

input::placeholder {
    color: black;
    opacity: 1 !important;
    transition: opacity 1s 0.1s ease !important;
}

/* وقتی هاور میشه، placeholder محو میشه */
input:focus::placeholder {
    opacity: 0 !important;
}

/* custom scroll bar */
/* عرض اسکرول بار */
::-webkit-scrollbar {
    width: 8px;
}

/* پس‌زمینه اسکرول بار */
::-webkit-scrollbar-track {
    background: #111;
}

/* خود Scrollbar */
::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
    transition: all 0.5s 0.1s linear;
}


/* Tablet */
@media (min-width:768px) {
    h1 {
        font-size: 35px;
    }

    h2 {
        font-size: 30px;
    }

    h3 {
        font-size: 25px;
    }

    p {
        font-size: 17px;
        line-height: 1.7;
    }
}

/* Desktop */
@media (min-width:1000px) {
    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 35px;
    }

    h3 {
        font-size: 30px;
    }

    p {
        font-size: 18px;
        line-height: 1.8;
    }
}

/* mobile */
@media (max-width:768px) {
    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 25px;
    }

    h3 {
        font-size: 20px;
    }

    p {
        font-size: 17px;
        line-height: 1.7;
    }
}

/* Shared visual system */
:root {
    --primary-color: #167aff;
    --background-color: #06111f;
    --light-text-color: #f4f7fc;
    --dark-text-color: #e1e9f5;
    --light-text-colors: #e1e9f5;
    --header-color: #06111f;
    --box-shadow: 0 8px 24px #0002
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: #06111f;
    font-family: vazir, Tahoma, Arial, sans-serif
}

main {
    padding-top: 0
}

p,
a,
span,
h1,
h2,
h3,
h4,
h5,
h6,
address,
li {
    text-shadow: none
}

a {
    color: var(--dark-text-color)
}

img {
    max-width: 100%
}

button {
    transition: background .2s, transform .2s
}

button:hover {
    border-width: 1px
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid #70beff;
    outline-offset: 4px
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }
}

@font-face {
    font-family: Vazirmatn;
    src: url('./assets/fonts/Vazirmatn.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap
}

body,
input,
button,
select,
textarea {
    font-family: Vazirmatn, Tahoma, sans-serif
}

body {
    font-size: 15px;
    -webkit-font-smoothing: antialiased
}

h1,
h2,
h3 {
    font-weight: 750
}

button,
a {
    -webkit-tap-highlight-color: transparent
}

p {
    hyphens: none;
    word-break: normal;
    text-justify: auto
}

img {
    height: auto
}

main {
    min-width: 0
}

.avan-footer .avan-footer-brand-symbol {
    width: 38px;
    height: 28px;
    object-fit: contain
}

.footer-tagline {
    direction: rtl;
    text-align: right
}

main ul li {
    position: relative;
    list-style: none;
    padding-right: 25px;
}

main ul li::after {
    content: "";
    position: absolute;
    right: -25px;
    top: -3px;
    width: 25px;
    height: 25px;
    background-image: url(https://avanapps.ir/wp-content/uploads/2026/10/avan-logo.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}