/* copyright 2025 Bahmanpc.ir */


/*=============== VARIABLES CSS ===============*/

body.light {

    /*========== Colors ==========*/
    --background-head: rgb(92, 46, 145, 0.9);
    --background-primary: #fff;
    --background-secondary: #5c2e91;
    --background-tertiary: rgb(247, 247, 247);
    --background-tertiary2: rgb(240, 240, 240);
    --background-main-page: rgb(154, 230, 152);

    --bg-op-ban: rgb(92, 46, 145, 0.9);
    --bg-banafsh: #5c2e91;
    --bg-sabz: #10b981;
    --bg-zard: #f59e0b;
    --bg-sefid: #fff;
    --bg-khak: rgb(247, 247, 247);
    --bg-khak2: rgb(240, 240, 240);
    --bg-ghermez: hsl(0, 77%, 38%);
    --bg-abi: #009fff;

    --action-primary: #10b981;
    --action-primary-hover: #f59e0b;
    --action-secondary-hover: rgb(66, 68, 86);
    --action-tertiary: rgb(142, 212, 255);
    --action-tertiary-hover: hsl(0, 77%, 38%);

    --foreground-primary: hsl(0, 0%, 17%);
    --foreground-secondary: hsl(0, 0%, 0%);
    --foreground-tertiary: hsl(0, 0%, 94%);
    --foreground-tertiary1: rgb(255, 255, 255);

    --accent: #009fff;
    --accent1: #0064d4;
    --white: hsl(0, 0%, 100%);
    --white-hover: hsla(0, 0%, 100%, 0.66);
    --black: #000000;
    --black-hover: lab(0% 0 0 0.5);
    --white-s: hsl(0, 0%, 100%);
    --white-hover-s: hsla(0, 0%, 100%, 0.66);
    --black-s: #000000;
    --black-hover-s: rgba(0, 0, 0, 0.5);

}

body.dark {
    /*========== Colors ==========*/
    --background-head: rgb(36, 3, 75, 0.9);
    --background-primary: #000000;
    --background-secondary: #24034b;
    --background-tertiary: #1e2935;
    --background-tertiary2: #2c3e50;
    --background-main-page: rgb(74, 18, 111);

    --bg-op-ban: rgb(36, 3, 75, 0.9);
    --bg-banafsh: #24034b;
    --bg-sabz: #0b7d57;
    --bg-zard: #d78800;
    --bg-sefid: #000000;
    --bg-khak: #1e2935;
    --bg-khak2: #2c3e50;
    --bg-ghermez: hsl(0, 76%, 25%);
    --bg-abi: #004ba2;

    --action-primary: #0b7d57;
    --action-primary-hover: hsl(57, 100%, 25%);
    --action-secondary-hover: rgb(66, 68, 86);
    --action-tertiary: rgb(14, 59, 87);
    --action-tertiary-hover: hsl(0, 77%, 38%);

    --foreground-primary: hsl(0, 0%, 72%);
    --foreground-secondary: hsl(0, 0%, 100%);
    --foreground-tertiary: hsl(0, 0%, 12%);
    --foreground-tertiary1: rgb(215, 215, 215);

    --accent: #009fff;
    --accent1: #0064d4;
    --white: hsl(0, 0%, 0%);
    --white-hover: hsla(0, 0%, 16%, 0.635);
    --black: #f3f3f3;
    --black-hover: rgba(238, 238, 238, 0.5);
    --white-s: hsl(0, 0%, 100%);
    --white-hover-s: hsla(0, 0%, 100%, 0.66);
    --black-s: #000000;
    --black-hover-s: #00000080;

}

:root {

    /*========== Font and typography ==========*/
    --fs-base: 1rem;
    --fs-1: 1.7rem;
    --fs-2: 1.5rem;
    --fs-3: 1.3rem;
    --fs-4: 1.2rem;
    --fs-5: 1.1rem;


    /*========== spacing ==========*/
    --py: 5rem;
    --shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
    --gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --primary-color: #004ba2;
    --secondary-color: #24034b;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --text-color: #1f2937;
    --light-bg: #f8fafc;
    --dark-bg: #1e293b;

}

/*=============== Reset ===============*/

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
    font-size: var(--fs-base);
    background-color: var(--background-primary);
    color: var(--foreground-primary);
    direction: ltr;
    line-height: 1.8;
    text-align: left;
    overflow-x: hidden;
    width: 100vw;
    margin: 0;
    padding: 0;
    transition: var(--transition);
}

html {
    font-family: sans-serif;
}


.toggle-container {
    position: fixed;
    top: 15px;
    right: calc(3vw + 35px);
    border-radius: 50%;
    z-index: 1000;
}

.toggle-switch {
    width: 30px;
    height: 30px;
    background-color: var(--accent);
    /* background: linear-gradient(45deg, #ff9800, #ff5722); */
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    padding: 5px;
}

.toggle-switch .icon {
    font-size: 20px;
    position: absolute;
    color: var(--action-primary-hover);
    transition: opacity 0.3s ease;
}

.toggle-switch .moon {
    opacity: 0;
    color: var(--white-hover-s);
}

.toggle-switch .circle {
    display: none;
}

/* حالت تاریک */
body.dark .toggle-switch {
    background: linear-gradient(45deg, #37474f, #263238);
}

body.dark .toggle-switch .sun {
    opacity: 0;
}

body.dark .toggle-switch .moon {
    opacity: 1;
}

a {
    text-decoration: none;
    color: var(--accent);
    font-weight: 400;
}

p {
    text-decoration: none;
    color: var(--foreground-primary);
    font-weight: 500;
    padding: 5px;
}

p>strong {
    font-weight: 400;
}

li {
    list-style: none;
    font-weight: 400;
}

img {
    max-width: 100%;
    aspect-ratio: auto 640px / 360px;
}

img,
button {
    display: block;
}

a,
span {
    display: inline-block;
}

button {
    font: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

:focus {
    outline-offset: 4px;
}

/*=============== scrollbar style ===============*/
::-webkit-scrollbar {
    width: 16px;
}

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 20px;
    border: 5px double var(--background-secondary);
}

::-webkit-scrollbar-track {
    background: var(--background-secondary);
}

/*=============== BASE ===============*/
p,
b,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
li,
a,
span {
    color: var(--black);
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    display: block;
    color: var(--foreground-secondary);
}

h1,
.h1 {
    text-align: center;
    justify-content: center;
    font-size: var(--fs-1);
    font-weight: 900;

}

h2,
.h2 {
    font-size: var(--fs-2);
    font-weight: 700;
}

h3,
.h3 {
    font-size: var(--fs-3);
    font-weight: 700;
}

h4,
.h4 {
    font-size: var(--fs-4);
    font-weight: 700;
}

h5,
.h5 {
    font-size: var(--fs-5);
    font-weight: 700;
}

.text-sm {
    font-size: var(--fs-4);
}

.text-tiny {
    font-size: var(--fs-5);
}

.abi {
    color: var(--accent);
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container-head {
    padding: 0 15px;
    margin-inline: auto;
    margin: auto;
    /* fallback for margin-inline */
}

/*=============== HEADER ===============*/
header {
    position: fixed;
    background-color: var(--background-head);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 9999999;
    top: 0;
    right: 0;
    left: 0;
    width: 100vw;
    height: 60px;
    direction: ltr;
    box-shadow: 0px 0px 3px black;
}

.head-60px {
    background-color: var(--background-secondary);
}

header .flex-wrapper {
    display: none;
    height: 50px;
}

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

.navbar .logo {
    position: absolute;
    top: 0px;
}

.navbar .logo img {
    height: 60px;
}

.lang {
    position: fixed;
    height: 28px;
    width: 28px;
    border-radius: 50%;
    right: 3vw;
    top: 16px;
    background-color: var(--black-s);
}

.lang a {
    border-radius: 50%;
    padding: 0;
    margin: 0;
    height: 28px;
    width: 28px;
}

.lang a i {
    font-size: 28px;
    color: var(--accent);
    border-radius: 50%;
}

header .btn-group {
    display: flex;
    align-items: center;
}

.mobile-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 50px;
    background-color: var(--background-head);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    direction: ltr;
    z-index: 9999999;
    box-shadow: 0 0px 3px black;
}

.mobile-menu>ul {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.mobile-menu>ul>li {
    display: block;
    width: calc(100% / 5 - 1px);
    height: 100%;
    transition: all 0.2s ease-in;
    z-index: 999;
}

.mobile-menu>ul>li:hover>a {
    color: var(--white-hover-s);
}

.mobile-menu>ul>li>a {
    display: block;
    position: absolute;
    margin: 0 -0.5px 0 0;
    padding: 25px 0 25px 0;
    color: var(--white-hover-s);
    width: 20%;
    height: 100%;
    text-align: center;
    font-weight: 400;
    font-size: 0.85rem;
    z-index: 9999;
}

.mobile-menu>ul>li>a :is(ion-icon, i) {
    font-size: 17px;
    position: absolute;
    bottom: calc(100% - 25px);
    right: calc(50% - 8.5px);
}

.mobile-menu>ul>li>a:active,
.mobile-menu>ul>li>a:hover {
    color: var(--white-s);
}

.mobile-menu>ul>li>ul {
    position: absolute;
    bottom: 49px;
    right: 0;
    padding: 10px 10px 40px 10px;
    width: 100%;
    margin-bottom: 20px;
    transition: all 0.2s ease-in;
    opacity: 0;
    visibility: hidden;
    background-color: var(--background-head);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0px -2px 3px var(--black-hover);
}

.mobile-menu>ul>li:hover>ul {
    margin-bottom: 0px;
    opacity: 1;
    visibility: visible;
}

.mobile-menu>ul>li>ul>li>a {
    text-align: center;
    color: var(--white-s);
    width: 100%;
    height: 100%;
    padding: 8px 10px;
    border-bottom: 1px solid;
    border-radius: 7px;
    font-size: 1.1rem;
}

.mobile-menu>ul>li>ul>li>.li-page {
    color: var(--white-hover-s);
}

.mobile-menu>ul>li>ul>li>a:hover {
    background-color: var(--accent);
    color: var(--black-s);
}

/*=============== body ===============*/

.color-pass,
.color-pass-back {
    transition: all 0.5s ease-in-out;
    transform: scale(1);
    overflow: hidden;
}

.color-pass .span-pass,
.color-pass-back .span-pass {
    position: absolute;
    display: flex;
}

.color-pass .span-pass:nth-child(1),
.color-pass-back .span-pass:nth-child(1) {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.color-pass .span-pass:nth-child(1) {
    left: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, var(--accent));
    animation: color-pass 10s linear infinite;
}

.color-pass-back .span-pass:nth-child(1) {
    right: 0;
    bottom: 0;
    background: linear-gradient(-90deg, transparent, var(--accent));
    animation: color-pass-back 10s linear infinite;
}

.main {
    position: relative;
    width: 100vw;
    height: 45vh;
    overflow: hidden;
}

.main .img-main {
    position: absolute;
    width: 100vw;
    height: 100%;
    object-fit: cover;
}

.main .content {
    background-color: var(--background-head);
    position: absolute;
    bottom: 0px;
    right: 0;
    width: 100vw;
    direction: rtl;
    z-index: 120;
    padding: 0 20px 0px 20px;
}

.main .content h2,
.main .content h1 {
    margin-bottom: 10px;
    text-align: left;
    font-size: var(--fs-1);
    color: var(--white-s);
}

.back-link {
    padding: 20px 10px;
    background-color: var(--background-primary);
    box-shadow: 0 0px 1px var(--black);
}

.back-link ul {
    direction: ltr;
    display: flex;
    width: 90vw;
    margin-right: 5vw;
}

.back-link ul li {
    display: inline-block;
    font-size: 14px;
    text-align: left;
    color: var(--black);
}

.back-link ul li a {
    color: var(--black);
    padding: 3px 3px 3px 2px;
    transition: all .2s ease-in-out;
}

.back-link ul li a:hover {
    color: var(--action-primary-hover);
}

.back-link ul li .page,
.back-link ul li .page:hover {
    margin-right: 4px;
    color: var(--black-hover);
}

.link-afew-pages {
    display: flex;
    padding: 10px;
    justify-content: center;
}

.link-afew-pages li {
    padding: 0px 10px;
}

.link-afew-pages a {
    padding: 5px 0;
    transition: all 0.2s ease-in-out;
}

.link-afew-pages a:hover {
    border-bottom: 1px solid black;
}

.link-afew-pages .border-bottom {
    border-bottom: 1px solid black;
}

.img-bg {
    position: relative;
    height: 120vh;
    top: 0;
    overflow: hidden;
}

.parallax-section,
.parallax-section2 {
    position: absolute;
    height: 140vh;
    width: 100vw;
    top: 0vh;
    left: 0;
    right: 0;
    bottom: 0;
    background-repeat: repeat;
    background-size: cover;
    z-index: 105;
}

.parallax-section {
    background-image: url("/Bahman/Kouhyar.Bahman.webp");
}

.parallax-section2 {
    background-image: url("/Bahman/Kouhyar-B.webp");
}

.hero-cover-fade {
    position: absolute;
    z-index: 195;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: -webkit-linear-gradient(top,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0) 35%,
            rgba(0, 0, 0, 0.6) 100%);
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0) 35%,
            rgba(0, 0, 0, 0.6) 100%);
}

.container-fluid .content,
.container-fluid2 .content {
    position: relative;
    background-color: var(--action-primary-hover);
    width: 75vw;
    margin-top: 40vh;
    margin-left: 3vw;
    padding: 40px;
}

.container-fluid .content span,
.container-fluid2 .content span {
    position: absolute;
    color: var(--white);
    margin-top: -100px;
    font-size: 100px;
    left: calc(50% - 50px);
}

.container-fluid .content p,
.container-fluid2 .content p {
    font-size: 30px;
    text-align: center;
    color: var(--white);
}

.english-font {
    font-family: "Times New Roman", Times, serif;
}

.body {
    width: 100vw;
    direction: ltr;
    text-align: justify;
    color: var(--foreground-secondary);
}

.body h1,
.body h2,
.body h3,
.body h4,
.body h5 {
    padding: 10px 0;
}

.body>.desc img {
    display: grid;
    width: 80%;
    margin-right: 10%;
    padding: 20px 0;
}

.body li,
.faq li {
    margin-left: 20px;
    list-style-type: disc;
}

.body a,
.faq a {
    color: blue;
}

.body .head-page {
    width: 100vw;
    padding: 10px;
}

.body .ads .list-scroll {
    background-color: var(--action-primary);
    padding: 7px;
    border-radius: 0px 15px;
    box-shadow: -3px 3px 7px black;
}

.body .ads .list-scroll>ul {
    background-color: var(--action-primary-hover);
    border-radius: 0px 5px;
}

.body .ads .list-scroll>ul>li {
    list-style: decimal;
    margin-right: 30px;
    color: var(--foreground-primary);
}

.body .ads .list-scroll>ul>li>a {
    color: var(--foreground-primary);
    font-weight: 400;
    padding: 5px 10px;
    width: 100%;
    height: 100%;
    border-bottom: 1px solid black;
    border-radius: 0px 5px;
}

.body .ads .list-scroll>ul>li>a:hover {
    background-color: var(--action-tertiary);
    box-shadow: 0px 1px 2px black;
}

.body .desc {
    background-color: var(--background-tertiary);
    margin-top: 0;
    width: 100vw;
    padding: 0px 0px 20px 0px;
    box-shadow: 0 1px 1px var(--black);
    border-radius: 5px;
}

.body>.desc>div {
    width: 100%;
    padding: 10px 15px;
}

.bta-box {
    background-color: var(--background-tertiary2);
    padding: 20px;
    border-left: 5px solid #b90808;
    margin: 30px 0;
}

.cta-box {
    background-color: var(--background-tertiary2);
    padding: 20px;
    border-right: 5px solid #b90808;
    margin: 30px 0;
}


.body>.desc>.center {
    text-align: center;
    border-left: 5px solid var(--background-secondary);
    border-right: 5px solid var(--background-secondary);
    margin-top: 0;
}

.link-page {
    background-color: var(--accent);
    padding: 0px 7px;
    border: 2px solid;
    border-radius: 9px;
}

.faq {
    position: relative;
    width: 100vw;
    background-color: rgba(132, 132, 132, 0.224);
    text-align: center;
    padding: 20px;
}


.faq>div>div {
    text-align: justify;
    padding: 10px 0px;
}


.floating-whatsapp {
    position: fixed;
    bottom: 60px;
    left: 10px;
    background: #25D366;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    animation: whatsapp-shadow 2s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
}

@keyframes whatsapp-shadow {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

footer {
    position: relative;
    background-color: var(--background-tertiary);
    width: 100vw;
    padding-bottom: 50px;
    direction: ltr;
    text-align: left;
    z-index: 10;
    box-shadow: 0 0px 1px var(--black);
}

footer .content {
    max-width: 1250px;
    margin: auto;
    padding: 20px 30px 30px 30px;
}

footer .content .top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--black);
}

.content .top .logo-details {
    position: absolute;
    opacity: 0.2;
    top: 20px;
    z-index: -1;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 35px;
    height: 35px;
    background-color: var(--background-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-s);
    font-size: 1rem;
    transition: all 0.3s;
}

.social-link:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
}

footer .content .link-boxes {
    z-index: 1;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.content .link-boxes .box .link_name {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 10px;
    position: relative;
}

.link-boxes .box .link_name::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: -2px;
    height: 1px;
    width: 100%;
    background-color: var(--black);
}

.content .link-boxes .box li {
    margin: 6px 0;
    list-style: none;
    color: var(--black);
}

.content .link-boxes .box>li>a {
    color: var(--black);
    font-size: 14px;
    font-weight: 500;
    opacity: 0.8;
    transition: all 0.4s ease;
}

.content .link-boxes .box>li>a:hover {
    text-decoration: underline;
    opacity: 1;
}

footer .contact li a {
    direction: ltr;
}

.content .link-boxes .input-box {
    z-index: 1;
}