* {
direction: rtl;
margin: 0;
padding: 0;
-webkit-box-sizing: border-box; /* Safari/Chrome */
-moz-box-sizing: border-box;    /* Firefox */
box-sizing: border-box;
}
html {
min-width: 910px;
}
body {
overflow-x: hidden;
}
#header {
position: relative;
z-index: 501;
width: 100%;
}
.top-header {
position: relative;
width: 100%;
position: fixed;
top: 0;
right: 0;
left: 0;
width: 100%;
z-index: 9999;
background: white;
-webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Safari/Chrome */
-moz-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);    /* Firefox */
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
header .container {
display: -webkit-box; /* Safari/Chrome */
display: -moz-box;    /* Firefox */
display: -ms-flexbox; /* IE10 */
display: flex;
-webkit-box-pack: justify; /* Safari/Chrome */
-ms-flex-pack: justify;    /* IE10 */
justify-content: space-between;
margin-top: 10px;
}
header .inner-container {
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
flex-direction: row-reverse;
width: 1380px;
margin-right: 10px;
}
header .logo {
background-image: url("image/ANIL-LOGO.png");
margin-right: 20px;
}
.inner-container {
width: 1250px;
margin: auto;
}
header div div nav {
text-align: left;
}
.menu {
width: auto;
height: 100%;
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center; /* Safari/Chrome */
-ms-flex-align: center;    /* IE10 */
align-items: center;
}
.menu li {
display: inline-block;
margin: 0 15px;
line-height: 3;
position: relative;
padding-right: 10px;
margin-left: 15px;
}
.menu li::before {
content: '';
position: absolute;
right: 0;
top: 25%;
height: 50%;
width: 1px;
background-color: #838383;
}
.menu-text {
color: #838383;
text-decoration: none;
font-size: 14px;
position: relative;
}
.menu-text:hover {
color: black;
}
.menu-text:hover::after {
content: "";
position: absolute;
bottom: -22px;
left: 0;
width: 100%;
height: 2px;
background-color: rgb(237, 39, 39);
}
.avia-menu {
width: auto;
height: 100%;
text-align: left;
}
.has-submenu {
    position: relative;
}

.submenu {
    text-align: right;
    position: absolute;
    top:  calc(100% + 0px);    /* دقیقا زیر آیتم والد */
    right: 0;
    left: auto;
    background: #fff;
    min-width: 150px;
    max-width: 200px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px); /* کمی پایین‌تر شروع کنه */
    transition: all 0.3s ease-in-out;
    z-index: 9999; /* مطمئن بشه روی همه باشه */
}

.has-submenu:hover > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* نرم بالا بیاد */
}

.submenu li {
    width: 100%;
    margin: 0;
}

.submenu li a {
    padding: 6px 12px;
    color: #838383;
    display: block;
    white-space: nowrap;
    font-size: 13px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    position: relative;
}

.submenu li a:hover {
    background-color: #f2f2f2;
    color: #000;
}

.submenu li a:hover::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: rgb(237, 39, 39);
}

.has-submenu .submenu .has-submenu .submenu {
    top: 0;
    right: 100%; /* زیرمنوی تو در تو سمت چپ باز بشه */
    transform: translateY(0);
    min-width: 180px;
}
.slider {
background-image: url("image/slider.webp");
position: relative;
background-size: cover;
-webkit-background-attachment: fixed; /* Safari/Chrome */
-moz-background-attachment: fixed;    /* Firefox */
background-attachment: fixed;
width: 100%;
height: 600px;
}
.slider-text {
position: absolute;
top: 50%;
right: 10%;
-webkit-transform: translateY(-50%); /* Safari/Chrome */
-moz-transform: translateY(-50%);    /* Firefox */
-ms-transform: translateY(-50%);     /* IE9 */
-o-transform: translateY(-50%);      /* Opera */
transform: translateY(-50%);
text-align: right;
z-index: 2;
padding: 20px;
background: rgba(0, 0, 0, 0.5);
-webkit-border-radius: 15px; /* Safari/Chrome */
-moz-border-radius: 15px;    /* Firefox */
border-radius: 15px;
}
.slider-text h1 {
font-size: 2.5em;
margin-bottom: 10px;
color: rgb(237, 39, 39);
}
.slider-text p {
font-size: 1.5em;
margin: 5px 0;
color: white;
}
.slider .call {
position: absolute;
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center; /* Safari/Chrome */
-ms-flex-align: center;    /* IE10 */
align-items: center;
top: 67%;
right: 14%;
-webkit-transform: translateY(-50%);
-moz-transform: translateY(-50%);
-ms-transform: translateY(-50%);
-o-transform: translateY(-50%);
transform: translateY(-50%);
text-align: right;
padding: 10px;
background: white;
-webkit-border-radius: 15px; /* Safari/Chrome */
-moz-border-radius: 15px;    /* Firefox */
border-radius: 15px;
direction: rtl;
}
.slider .call .icon {
background-image: url("image/phone.png");
margin-left: 10px;
}
.slider .call a {
text-decoration: none;
color: #000000;
}
.slider .call a:hover {
text-decoration: underline;
color: rgb(237, 39, 39);
}
.element {
background-color: #F8F8F8;
margin-top: 3%;
width: 100%;
}
.element .top-element h1 {
text-align: center;
color: rgb(237, 39, 39);
}
.element .top-element p {
text-align: center;
font-size: 15px;
margin-top: 5px;
color: #838383;
}
.divider-with-star {
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center; /* Safari/Chrome */
-ms-flex-align: center;    /* IE10 */
align-items: center;
-webkit-box-pack: center; /* Safari/Chrome */
-ms-flex-pack: center;    /* IE10 */
justify-content: center;
width: 50%;
margin: 10px 352px;
}
.divider-with-star::before, .divider-with-star::after {
content: '';
-webkit-box-flex: 1; /* Safari/Chrome */
-ms-flex: 1;         /* IE10 */
flex: 1;
height: 2px;
background-color: rgb(237, 39, 39);
margin: 0 15px;
}
.star {
color: rgb(237, 39, 39);
font-size: 18px;
}
section .flex-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 20px;
}
section .flex-container .flex-item {
flex: 1 1 calc(25% - 40px);
max-width: calc(25% - 40px);
box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
background: #fff;
border-radius: 5px;
overflow: hidden;
box-sizing: border-box;
transition: all 0.3s ease;
text-align: center;
}
section .flex-container .flex-item:hover {
opacity: 0.5;
}
section .flex-container .flex-item a .name-of-project {
margin-top: 25px;
}
section .flex-container .flex-item  a {
text-decoration: none;
color: #7A7A7A;
font-size: 16px;
font-weight: 600;
}
section .flex-container .flex-item .name-of-project a:hover {
text-decoration: underline;
color: #7A7A7A;
}
section .center-btn {
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: center; /* Safari/Chrome */
-ms-flex-pack: center;    /* IE10 */
justify-content: center;
-webkit-box-align: center; /* Safari/Chrome */
-ms-flex-align: center;    /* IE10 */
align-items: center;
height: 15vh;
}
section .center-btn .btn {
background-color: rgb(237, 39, 39);
color: white;
border: none;
padding: 12px 30px;
-webkit-border-radius: 8px; /* Safari/Chrome */
-moz-border-radius: 8px;    /* Firefox */
border-radius: 8px;
font-size: 16px;
-webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Safari/Chrome */
-moz-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);    /* Firefox */
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
cursor: pointer;
-webkit-transition: all 0.3s ease; /* Safari/Chrome */
-moz-transition: all 0.3s ease;    /* Firefox */
-o-transition: all 0.3s ease;      /* Opera */
transition: all 0.3s ease;
text-decoration: none;
}
section .center-btn .btn:hover {
background-color: rgb(190, 35, 35);
-webkit-box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25); /* Safari/Chrome */
-moz-box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);    /* Firefox */
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
.customer .top-customer {
margin-top: 3%;
}
.customer .top-customer h1 {
text-align: center;
color: #ed2727;
}
.ads {
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: flex;
background-color: #F8F8F8;
-webkit-transition: all 0.4s; /* Safari/Chrome */
-moz-transition: all 0.4s;    /* Firefox */
-o-transition: all 0.4s;      /* Opera */
transition: all 0.4s;
width: 100%;
margin-top: 2%;
padding: 10px 0;
-webkit-box-orient: vertical; /* Safari/Chrome */
-webkit-box-direction: normal; /* Safari/Chrome */
-ms-flex-direction: column;    /* IE10 */
flex-direction: column;
}
.ads .text-ads {
text-align: center;
position: relative;
overflow: hidden;
margin-top: -9px;
}
.ads .text-ads h2 {
font-size: 19px;
margin-top: -10px;
}
.ads .text-ads p {
margin-top: 15px;
}
.ads .free {
background: rgb(237, 39, 39);
color: #fff;
font-size: 13px;
font-weight: 800;
left: 0;
line-height: 2;
margin-top: 35px;
text-align: center;
text-transform: uppercase;
-webkit-transform: translateY(-50%) translateX(0) translateX(35px) rotate(-45deg); /* Safari/Chrome */
-moz-transform: translateY(-50%) translateX(0) translateX(35px) rotate(-45deg);    /* Firefox */
-ms-transform: translateY(-50%) translateX(0) translateX(35px) rotate(-45deg);     /* IE9 */
-o-transform: translateY(-50%) translateX(0) translateX(35px) rotate(-45deg);      /* Opera */
transform: translateY(-50%) translateX(0) translateX(35px) rotate(-45deg);
width: 200%;
-webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5); /* Safari/Chrome */
-moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);    /* Firefox */
box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
}
.testimonial-slider {
position: relative;
width: 100%;
overflow: hidden;
-webkit-box-sizing: border-box; /* Safari/Chrome */
-moz-box-sizing: border-box;    /* Firefox */
box-sizing: border-box;
}
.slider-container {
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: flex;
overflow-x: scroll;
-webkit-scroll-behavior: smooth; /* Safari/Chrome */
-moz-scroll-behavior: smooth;    /* Firefox */
-ms-scroll-behavior: smooth;     /* IE */
scroll-behavior: smooth;
gap: 20px;
padding: 20px 0;
}
.testimonial-card {
min-width: 300px;
-ms-flex-negative: 0; /* IE10 */
flex-shrink: 0;
background: #f8f8f8;
padding: 2px;
-webkit-border-radius: 12px; /* Safari/Chrome */
-moz-border-radius: 12px;    /* Firefox */
border-radius: 12px;
-webkit-box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* Safari/Chrome */
-moz-box-shadow: 0 4px 10px rgba(0,0,0,0.1);    /* Firefox */
box-shadow: 0 4px 10px rgba(0,0,0,0.1);
text-align: center;
border: 1px solid #eee;
max-width: 485px;
margin: auto;
}
.testimonial-header {
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center; /* Safari/Chrome */
-ms-flex-align: center;    /* IE10 */
align-items: center;
-webkit-box-pack: start; /* Safari/Chrome */
-ms-flex-pack: start;    /* IE10 */
justify-content: flex-start;
margin-bottom: 15px;
}
.testimonial-header img {
width: 50px;
height: 50px;
-webkit-border-radius: 50%; /* Safari/Chrome */
-moz-border-radius: 50%;    /* Firefox */
border-radius: 50%;
margin-left: 15px;
}
.testimonial-header-img{
    background-image: url("image/user.png");
}
.testimonial-info {
text-align: right;
}
.testimonial-name {
font-weight: bold;
margin-bottom: 5px;
}
.testimonial-stars {
color: orange;
}
.testimonial-text {
text-align: right;
line-height: 1.8;
color: #333;
font-size: 13px;
}
.arrow {
position: absolute;
top: 50%;
-webkit-transform: translateY(-50%); /* Safari/Chrome */
-moz-transform: translateY(-50%);    /* Firefox */
-ms-transform: translateY(-50%);     /* IE9 */
-o-transform: translateY(-50%);      /* Opera */
transform: translateY(-50%);
font-size: 28px;
background: white;
border: none;
padding: 8px 14px;
-webkit-border-radius: 50%; /* Safari/Chrome */
-moz-border-radius: 50%;    /* Firefox */
border-radius: 50%;
-webkit-box-shadow: 0 0 10px rgba(0,0,0,0.2); /* Safari/Chrome */
-moz-box-shadow: 0 0 10px rgba(0,0,0,0.2);    /* Firefox */
box-shadow: 0 0 10px rgba(0,0,0,0.2);
cursor: pointer;
z-index: 10;
}
.arrow.left {
left: 0px;
}
.arrow.right {
right: 0px;
}
.dots {
text-align: center;
margin-top: 20px;
}
.dot {
height: 12px;
width: 12px;
margin: 0 5px;
background-color: #ccc;
-webkit-border-radius: 50%; /* Safari/Chrome */
-moz-border-radius: 50%;    /* Firefox */
border-radius: 50%;
display: inline-block;
cursor: pointer;
}
.dot.active {
background-color: #d1a855;
}
.slider-container::-webkit-scrollbar {
display: none;
}
.accordion-wrapper {
margin: 3% auto;
max-width: 100%;
}
.accordion {
border: 1px solid #ed2727;
margin-bottom: 10px;
overflow: hidden;
background-color: #F8F8F8;
width: 1150px;
max-width: 100%;
margin: 0 auto;
}
.accordion-header {
padding: 12px 20px;
cursor: pointer;
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: justify; /* Safari/Chrome */
-ms-flex-pack: justify;    /* IE10 */
-webkit-box-align: center; /* Safari/Chrome */
-ms-flex-align: center;    /* IE10 */
align-items: center;
justify-content: space-between;
-webkit-transition: color 0.3s; /* Safari/Chrome */
-moz-transition: color 0.3s;    /* Firefox */
-o-transition: color 0.3s;      /* Opera */
transition: color 0.3s;
color: #777;
}
.accordion-header.active {
color: #ed2727;
}
.accordion-header .question:hover {
text-decoration: underline;
}
.accordion-header .plus-minus {
font-size: 24px;
-webkit-transition: color 0.3s; /* Safari/Chrome */
-moz-transition: color 0.3s;    /* Firefox */
-o-transition: color 0.3s;      /* Opera */
transition: color 0.3s;
color: #ed2727;
}
.accordion-header.active .plus-minus {
color: #ed2727;
}
.accordion-body {
max-height: 0;
overflow: hidden;
-webkit-transition: max-height 0.4s ease; /* Safari/Chrome */
-moz-transition: max-height 0.4s ease;    /* Firefox */
-o-transition: max-height 0.4s ease;      /* Opera */
transition: max-height 0.4s ease;
padding: 0 20px;
background-color: #fff;
}
.accordion-body.open {
padding: 15px 20px;
font-size: 14px;
}
.Articles {
    background-color: #F8F8F8;
    margin-top: 3%;
    width: 100%;
}
.Articles .top-articles {
    text-align: center;
    color: #ed2727;
    padding-top: 3%;
}
.Articles .top-articles p {
    font-size: 12px;
    color: #B3B3B3;
}
.Articles .articles-flex {
   display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 20px;
}
.Articles .articles-flex .articles-flex-item {
    flex: 1 1 calc(25% - 40px);
max-width: calc(25% - 40px);
box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
background: #fff;
border-radius: 5px;
overflow: hidden;
box-sizing: border-box;
transition: all 0.3s ease;
text-align: center;
}
.Articles .articles-flex .articles-flex-item:hover {
    opacity: 0.5;
}
.Articles .articles-flex .articles-flex-item a .name-of-articles {
    margin-top: 25px;
}
.Articles .articles-flex .articles-flex-item .name-of-articles a:hover {
    text-decoration: underline;
    color: #7A7A7A;
}
.contact-button {
    position: fixed;
    bottom: 50px;
    left: 40px;
    background-color: #4281d8;
    padding: 12px 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    font-size: 15px;
    -webkit-box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    -webkit-transition: background-color 0.3s ease;
    -moz-transition: background-color 0.3s ease;
    -o-transition: background-color 0.3s ease;
    transition: background-color 0.3s ease;
}
.contact-button-img{
background-image:url("image/white-phone.png");
}
.contact-button a {
text-decoration: none;
color: white;
font-size: 14px;
}
.contact-button:hover {
text-decoration: underline;
color: white;
}
.contact-button.hidden {
opacity: 0;
visibility: hidden;
-webkit-transition: all 0.3s ease; /* Safari/Chrome */
-moz-transition: all 0.3s ease;    /* Firefox */
-o-transition: all 0.3s ease;      /* Opera */
transition: all 0.3s ease;
}
#backToTop {
position: fixed;
bottom: 50px;
right: 40px;
display: none;
background-color: #2e2e44;
color: white;
border: none;
padding: 15px 15px 5px 15px;
-webkit-border-radius: 3px; /* Safari/Chrome */
-moz-border-radius: 3px;    /* Firefox */
border-radius: 3px;
cursor: pointer;
font-size: 20px;
-webkit-box-shadow: 0 2px 10px rgba(0,0,0,0.2); /* Safari/Chrome */
-moz-box-shadow: 0 2px 10px rgba(0,0,0,0.2);    /* Firefox */
box-shadow: 0 2px 10px rgba(0,0,0,0.2);
z-index: 999;
-webkit-transition: background-color 0.3s ease; /* Safari/Chrome */
-moz-transition: background-color 0.3s ease;    /* Firefox */
-o-transition: background-color 0.3s ease;      /* Opera */
transition: background-color 0.3s ease;
}
#backToTop:hover {
background-color: #c3bfbf;
}
footer {
margin-top: 2%;
}
.top-footer {
background-color: #222230;
display: -webkit-box; /* Safari/Chrome */
display: -moz-box;    /* Firefox */
display: -ms-flexbox; /* IE10 */
display: flex;
-webkit-box-pack: space-around; /* Safari/Chrome */
-ms-flex-pack: space-around;    /* IE10 */
justify-content: space-around;
-webkit-box-align: center; /* Safari/Chrome */
-ms-flex-align: center;    /* IE10 */
align-items: center;
padding: 45px 0px;
}
.top-footer .join {
width: 50%;
}
.top-footer .join .email {
background-color: #FFFFFF0F;
border-width: 0px;
-webkit-border-radius: 30px; /* Safari/Chrome */
-moz-border-radius: 30px;    /* Firefox */
border-radius: 30px;
padding: 15px 60px;
color: white;
}
.top-footer .join .submit {
background-color: #FFFFFF;
color: #242436;
border-width: 0px;
-webkit-border-radius: 30px; /* Safari/Chrome */
-moz-border-radius: 30px;    /* Firefox */
border-radius: 30px;
padding: 15px 45px;
margin: 0px 10px;
cursor: pointer;
}
.top-footer .instagram {
width: 30%;
display: -webkit-box; /* Safari/Chrome */
display: -moz-box;    /* Firefox */
display: -ms-flexbox; /* IE10 */
display: flex;
}
.top-footer .instagram p {
color: white;
font-size: 1.3rem;
}
.top-footer .instagram img {
margin: 0 15px;
-webkit-border-radius: 20px; /* Safari/Chrome */
-moz-border-radius: 20px;    /* Firefox */
border-radius: 20px;
-webkit-transition: all 0.3s ease; /* Safari/Chrome */
-moz-transition: all 0.3s ease;    /* Firefox */
-o-transition: all 0.3s ease;      /* Opera */
transition: all 0.3s ease;
}
.top-footer .instagram img:hover {
-webkit-animation: pulse 1s infinite; /* Safari/Chrome */
-moz-animation: pulse 1s infinite;    /* Firefox */
animation: pulse 1s infinite;
}
@keyframes pulse {
0% {
-webkit-transform: scale(1); /* Safari/Chrome */
-moz-transform: scale(1);    /* Firefox */
-ms-transform: scale(1);     /* IE9 */
-o-transform: scale(1);      /* Opera */
transform: scale(1);
}
50% {
-webkit-transform: scale(1.15); /* Safari/Chrome */
-moz-transform: scale(1.15);    /* Firefox */
-ms-transform: scale(1.15);     /* IE9 */
-o-transform: scale(1.15);      /* Opera */
transform: scale(1.15);
}
100% {
-webkit-transform: scale(1); /* Safari/Chrome */
-moz-transform: scale(1);    /* Firefox */
-ms-transform: scale(1);     /* IE9 */
-o-transform: scale(1);      /* Opera */
transform: scale(1);
}
}
.footer-container {
background-color: #242436;
display: -webkit-box; /* Safari/Chrome */
display: -moz-box;    /* Firefox */
display: -ms-flexbox; /* IE10 */
display: flex;
padding: 60px 0px 0px 0px;
}
.footer-container .footer-column1 {
display: -webkit-box; /* Safari/Chrome */
display: -moz-box;    /* Firefox */
display: -ms-flexbox; /* IE10 */
display: flex;
}
.footer-container .footer-column1 .footer-logo {
padding: 100px 25px;
}
.footer-container .footer-column1 .footer-text {
padding-right: 15px;
}
.footer-container .footer-column h4 {
color: white;
}
.footer-container .footer-column p {
color: white;
line-height: 42px;
padding: 10px 0px 10px 30px;
font-weight: 400;
font-size: 15px;
}
.footer-container .footer-column span {
font-weight: 700;
}
.beetwen {
display: -webkit-box; /* Safari/Chrome */
display: -moz-box;    /* Firefox */
display: -ms-flexbox; /* IE10 */
display: flex;
-webkit-box-pack: justify; /* Safari/Chrome */
-ms-flex-pack: justify;    /* IE10 */
justify-content: space-between;
}
.beetwen a {
color: white;
text-decoration: none;
}
.beetwen p {
font-size: 12px;
}
.beetwen2 p {
color: white;
font-size: 12px;
}
.end p {
color: white;
font-size: 15px;
padding: 30px 0px;
}
.footer-column ul {
padding: 10px 0px;
display: -webkit-box; /* Safari/Chrome */
display: -moz-box;    /* Firefox */
display: -ms-flexbox; /* IE10 */
display: flex;
-webkit-box-orient: vertical; /* Safari/Chrome */
-webkit-box-direction: normal; /* Safari/Chrome */
-ms-flex-direction: column;    /* IE10 */
flex-direction: column;
}
.footer-column ul li {
display: inline-block;
padding: 10px 0px;
font-size: 15px;
}
.footer-column ul li a {
color: white;
text-decoration: none;
}
.footer-bottom {
background-color: #242436;
padding: 10px 70px 10px 0px;
color: white;
}
.hamburger-menu {
display: none; /* پیش‌فرض مخفی است */
background: none;
border: none;
cursor: pointer;
padding: 10px;
z-index: 10001;
position: absolute;
left: 15px;
}
.hamburger-menu span {
display: block;
width: 25px;
height: 3px;
background-color: #333;
margin: 5px 0;
-webkit-transition: all 0.3s ease; /* Safari/Chrome */
-moz-transition: all 0.3s ease;    /* Firefox */
-o-transition: all 0.3s ease;      /* Opera */
transition: all 0.3s ease;
}
.hamburger-menu.active span:nth-child(1) {
-webkit-transform: rotate(45deg) translate(5px, 5px); /* Safari/Chrome */
-moz-transform: rotate(45deg) translate(5px, 5px);    /* Firefox */
-ms-transform: rotate(45deg) translate(5px, 5px);     /* IE9 */
-o-transform: rotate(45deg) translate(5px, 5px);      /* Opera */
transform: rotate(45deg) translate(5px, 5px);
}
.hamburger-menu.active span:nth-child(2) {
opacity: 0;
}
.hamburger-menu.active span:nth-child(3) {
-webkit-transform: rotate(-45deg) translate(7px, -7px); /* Safari/Chrome */
-moz-transform: rotate(-45deg) translate(7px, -7px);    /* Firefox */
-ms-transform: rotate(-45deg) translate(7px, -7px);     /* IE9 */
-o-transform: rotate(-45deg) translate(7px, -7px);      /* Opera */
transform: rotate(-45deg) translate(7px, -7px);
}
.menu {
display: -webkit-box; /* Safari/Chrome */
display: -moz-box;    /* Firefox */
display: -ms-flexbox; /* IE10 */
display: flex;
-webkit-box-align: center; /* Safari/Chrome */
-ms-flex-align: center;    /* IE10 */
align-items: center;
}
@media (max-width: 1200px) {
.inner-container {
width: 100%;
padding: 0 15px;
}
header .container {
-webkit-box-orient: vertical; /* Safari/Chrome */
-webkit-box-direction: normal; /* Safari/Chrome */
-ms-flex-direction: column;    /* IE10 */
flex-direction: column;
-webkit-box-align: center; /* Safari/Chrome */
-ms-flex-align: center;    /* IE10 */
align-items: center;
}
.logo {
margin-bottom: 10px;
}
.menu {
-webkit-box-orient: vertical; /* Safari/Chrome */
-webkit-box-direction: normal; /* Safari/Chrome */
-ms-flex-direction: column;    /* IE10 */
flex-direction: column;
-webkit-box-align: center; /* Safari/Chrome */
-ms-flex-align: center;    /* IE10 */
align-items: center;
}
.menu li {
margin: 10px 0;
padding-right: 0;
}
.menu li::before {
display: none;
}
.has-submenu .submenu {
position: static;
-webkit-box-shadow: none; /* Safari/Chrome */
-moz-box-shadow: none;    /* Firefox */
box-shadow: none;
opacity: 1;
visibility: visible;
display: none;
}
.has-submenu:hover .submenu {
display: block;
}
.submenu li a {
padding: 5px 10px;
}
.slider-text, .slider .call {
right: 5%;
width: 90%;
text-align: center;
}
.slider-text h1 {
font-size: 1.8em;
}
.slider-text p {
font-size: 1.2em;
}
.flex-container .flex-item, .articles-flex .articles-flex-item {
width: 45%;
margin: 10px;
}
.accordion {
width: 90%;
}
}
@media (max-width: 768px) {
html {
min-width: 320px;
}
.hamburger-menu {
display: block;
}
.menu {
display: none;
-webkit-box-orient: vertical; /* Safari/Chrome */
-webkit-box-direction: normal; /* Safari/Chrome */
-ms-flex-direction: column;    /* IE10 */
flex-direction: column;
position: fixed;
top: 0;
right: 0;
width: 100%;
height: 100vh;
background: rgba(255, 255, 255, 0.95);
padding: 60px 20px 20px;
-webkit-box-shadow: 0 0 10px rgba(0,0,0,0.2); /* Safari/Chrome */
-moz-box-shadow: 0 0 10px rgba(0,0,0,0.2);    /* Firefox */
box-shadow: 0 0 10px rgba(0,0,0,0.2);
z-index: 10000;
overflow-y: auto;
}
.menu.active {
display: -webkit-box; /* Safari/Chrome */
display: -moz-box;    /* Firefox */
display: -ms-flexbox; /* IE10 */
display: flex;
}
.menu li {
display: block;
margin: 15px 0;
padding: 0 20px;
width: 100%;
text-align: right;
}
.menu li::before {
display: none;
}
.has-submenu .submenu {
position: static;
display: none;
-webkit-box-shadow: none; /* Safari/Chrome */
-moz-box-shadow: none;    /* Firefox */
box-shadow: none;
padding: 0 20px 0 40px;
background: none;
}
.has-submenu.active .submenu {
display: block;
}
.submenu li {
margin: 10px 0;
}
.inner-container {
-webkit-box-orient: horizontal; /* Safari/Chrome */
-webkit-box-direction: normal; /* Safari/Chrome */
-ms-flex-direction: row;       /* IE10 */
flex-direction: row;
-webkit-box-pack: justify; /* Safari/Chrome */
-ms-flex-pack: justify;    /* IE10 */
justify-content: space-between;
-webkit-box-align: center; /* Safari/Chrome */
-ms-flex-align: center;    /* IE10 */
align-items: center;
width: 100%;
padding: 0 15px;
}
.logo {
margin-bottom: 0;
}
.flex-container .flex-item, .articles-flex .articles-flex-item {
width: 100%;
}
.slider {
height: 400px;
}
.slider-text h1 {
font-size: 1.5em;
}
.slider-text p {
font-size: 1em;
}
.slider .call {
top: 75%;
right: 5%;
width: 90%;
-webkit-box-pack: center; /* Safari/Chrome */
-ms-flex-pack: center;    /* IE10 */
justify-content: center;
}
.divider-with-star {
margin: 10px auto;
width: 80%;
}
.top-footer {
-webkit-box-orient: vertical; /* Safari/Chrome */
-webkit-box-direction: normal; /* Safari/Chrome */
-ms-flex-direction: column;    /* IE10 */
flex-direction: column;
text-align: center;
}
.top-footer .join, .top-footer .instagram {
width: 100%;
margin: 10px 0;
}
.footer-container {
-webkit-box-orient: vertical; /* Safari/Chrome */
-webkit-box-direction: normal; /* Safari/Chrome */
-ms-flex-direction: column;    /* IE10 */
flex-direction: column;
-webkit-box-align: center; /* Safari/Chrome */
-ms-flex-align: center;    /* IE10 */
align-items: center;
}
.footer-column1 {
margin-bottom: 20px;
}
.contact-button {
bottom: 20px;
left: 20px;
}
.backToTop {
bottom: 20px;
right: 20px;
}
}
@media (max-width: 480px) {
    .hamburger-menu {
    left: 10px;
    }
    .menu {
    padding: 50px 10px 10px;
    }
    .menu li {
    margin: 10px 0;
    padding: 0 10px;
    }
    .slider-text h1 {
    font-size: 1.2em;
    }
    .slider-text p {
    font-size: 0.9em;
    }
    .testimonial-card {
    min-width: 250px;
    }
    .accordion-header {
    padding: 10px;
    }
    .accordion-body.open{
        max-height: none !important;
    }
    .join .email {
    width: 90%;
    }
    .join .submit {
    width: 60%;
    }
    .footer-text p {
    font-size: 14px;
    line-height: 1.5;
    padding: 15px 0;
    }
    .footer-column div {
    padding: 10px 0;
    }
}
@media (max-width: 768px) {
.top-footer {
-webkit-box-orient: vertical; /* Safari/Chrome */
-webkit-box-direction: normal; /* Safari/Chrome */
-ms-flex-direction: column;    /* IE10 */
flex-direction: column;
padding: 30px 0;
text-align: center;
}
.join form {
-webkit-box-orient: vertical; /* Safari/Chrome */
-webkit-box-direction: normal; /* Safari/Chrome */
-ms-flex-direction: column;    /* IE10 */
flex-direction: column;
width: 100%;
}
.join .email {
margin: 0 0 10px 0;
width: 80%;
}
.join .submit {
width: 50%;
margin: 0 auto;
}
.instagram {
margin-top: 20px;
}
.footer-container {
-webkit-box-orient: vertical; /* Safari/Chrome */
-webkit-box-direction: normal; /* Safari/Chrome */
-ms-flex-direction: column;    /* IE10 */
flex-direction: column;
padding: 30px 0;
text-align: center;
}
.footer-column {
width: 100% !important;
margin-bottom: 30px;
}
.footer-column1 {
-webkit-box-orient: vertical; /* Safari/Chrome */
-webkit-box-direction: normal; /* Safari/Chrome */
-ms-flex-direction: column;    /* IE10 */
flex-direction: column;
-webkit-box-align: center; /* Safari/Chrome */
-ms-flex-align: center;    /* IE10 */
align-items: center;
}
.footer-text {
padding: 15px 0;
text-align: center;
}
.footer-bottom {
padding: 10px;
}
}

@media (max-width: 480px) {
.join .email {
width: 90%;
}
.join .submit {
width: 60%;
}
.footer-text p {
font-size: 14px;
line-height: 1.5;
padding: 15px 0;
}
.footer-column div {
padding: 10px 0;
}
}
.top-projects{
    margin: 7% 2% 0 0;
}
.projects{
    background-color: #F8F8F8;
    margin-top: 1%;
    width: 100%;
    padding: 50px 0px;
}
.projects .flex-container {
    display: flex;
    gap: 35px;
    justify-content: flex-start;
    margin-right: 30px;
    flex-wrap: wrap;
}
.projects .flex-container .flex-item {
    flex: 1 1 calc(25% - 40px);
    max-width: calc(25% - 40px);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-sizing: border-box;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.projects .flex-container .flex-item:hover {
    opacity: 0.5;
}
.projects .flex-container .flex-item a .name-of-project {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    text-align: center;
    padding: 10px 0;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
    z-index: 2;
}
.projects .flex-container .flex-item:hover .name-of-project {
    transform: translateY(0);
    opacity: 1;
}
.projects .flex-container .flex-item  a {
    text-decoration: none;
    color: #7A7A7A;
    font-size: 16px;
    font-weight: 600;
}
.projects .flex-container .flex-item  a img{
    display: block;
    width: 100%;
    transition: transform 0.3s ease;
}.projects .flex-container .flex-item  a img:hover{
    transform: scale(1.05);
}

.projects .flex-container .flex-item .name-of-project a:hover {
    text-decoration: underline;
    color: #7A7A7A;
}
@media (max-width: 992px) {
    .projects .flex-container .flex-item {
        flex: 1 1 calc(50% - 40px);
        max-width: calc(50% - 40px);
    }
}
@media (max-width: 600px) {
    .projects .flex-container .flex-item {
        flex: 1 1 100%;
        max-width: 100%;
    }
}
@media (max-width: 992px) {
  section .flex-container .flex-item {
    flex: 1 1 calc(50% - 40px);
    max-width: calc(50% - 40px);
  }
}

/* موبایل‌های بزرگ (بین 480px تا 768px) */
@media (max-width: 768px) {
  section .flex-container .flex-item {
    flex: 1 1 calc(100% - 30px);
    max-width: calc(100% - 30px);
  }
}

/* موبایل‌های خیلی کوچک (زیر 480px) */
@media (max-width: 480px) {
  section .flex-container {
    gap: 15px;
    padding: 0 10px;
  }

  section .flex-container .flex-item {
    flex: 1 1 100%;
    max-width: 100%;
  }
}
.project-content-wrapper {
    display: flex;
    flex-direction: column; /* آیتم‌ها از بالا به پایین */
    align-items: center;    /* وسط افقی */
    text-align: center;     /* متن داخل آیتم‌ها وسط چین */
    max-width: 900px;       /* محدود کردن عرض محتوا */
    margin: 0 auto;         /* وسط صفحه */
    padding: 20px;
}

.project-content {
   display: flex;
    flex-direction: column;
    align-items: center;
}
video {
    height: auto;
    display: block;
}

iframe,
embed,
object {
    max-width: 100%;
    height: auto;
}
.video-wrapper {
    width: 100%;
    overflow: hidden;
}

.video-wrapper iframe,
.video-wrapper embed,
.video-wrapper object,
.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
    max-height: 80vh;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .video-wrapper iframe,
    .video-wrapper embed,
    .video-wrapper object,
    .video-wrapper video {
        max-height: 60vh;
    }
}

@media (max-width: 767px) {
    .video-wrapper iframe,
    .video-wrapper embed,
    .video-wrapper object,
    .video-wrapper video {
        max-height: 90vh; 
    }
}

@media (max-width: 480px) {
    .video-wrapper iframe,
    .video-wrapper embed,
    .video-wrapper object,
    .video-wrapper video {
        max-height: 85vh;
    }
}
.project-content video,
.project-content iframe,
.project-content embed,
.project-content object {
    max-width: 100%;
    height: auto;
}