* {
    margin: 0;
    padding: 0;
    font-family: YekanBakhMedium;
}
body {
    font-family: "iranyekanwebregular", Arial, Helvetica, sans-serif;
}
a {
    text-decoration: none;
}
li{
    list-style-type: none;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 1170px;
    margin: auto;
    padding: 21px 0 7px;
    background-color: rgba(255, 255, 255, 0.032);
    position: sticky;
    top: 0;
    backdrop-filter: blur(10px);
    transition: all ease 0.3s;
    z-index: 90;
}
.logo {
    margin: 11px 28px;
}
.header-ul {
    display: flex;
    list-style-type: none;
}
.header-ul li {
    font-size: 14px; 
    margin: auto 15px;
}
.header-ul ul:first-child { 
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.255);
    backdrop-filter: blur(20px);
    border-radius: 20px;
}
.header-ul ul { 
    display: flex;
    list-style-type: none;
}
.header-ul li a {
    text-decoration: none;
    cursor: pointer;
    color: #303030;
}
.header-ul > li:last-child a {
    color: #28457b;
    background-color: rgba(232, 239, 254, 0.6);
    border-radius: 20px;
    padding: 9px 27px;
    margin-right: 10px;
    font-family: YekanBakhBold;
    transition: all ease 0.2s;                
}
.header-ul > li:last-child a:hover {
    background-color: #28457b;
    color: rgba(232, 239, 254, 0.6);
}
.more-menu {
    display: flex;
}
.more-menu img {
    width: 8px;
    margin-right: 8px;
}
.hamburger-icon {
    width: 27px;
    margin-left: 10px;
    display: none;
    cursor: pointer;
}
.hamburger-menu {
    position: fixed;
    top: 0;
    right: 0;
    background-color: #fff;
    z-index: 10;
    width: 100%;
    font-family: YekanBakhMedium;
    transform: translateY(-100%);
}
.cross-icon {
    width: 100%;
    text-align: left;
    margin-left: 10px;
    padding: 25px 0;
}
.cross-icon img {
    width: 20px;
    margin-left: 30px;
    cursor: pointer;
}
.hamburger-menu-items {
    padding: 10px 30px;
}
.hamburger-menu-items ul {
    list-style-type: none;
}
.hamburger-menu-items a {
    text-decoration: none;
    color: black;
    display: inline-block;
    padding: 3px 0;
}
.hamburger-menu-items hr {
    background-color: #dfe1e4;
    height: 1px;
    width: 90%;
    margin: 8px 0;
    border: 0;
}
.more-item {
    display: flex;
    background-color: #eee;
    padding: 20px 50px;
    align-items: center;
}
.more-item img {
    width: 15px;
    margin-right: 5px;
}
.more-item a {
    text-decoration: none;
    color: #28457b;
    font-size: 0.85rem;
}
.show-hamburger-menu {
    animation: fadeInDown 0.25s forwards;
}
#show-more-menu {
    position: relative;
}
#show-more-menu ul {
    position: absolute;
    top: 10px;
    left: -35px;
    display: none;
    background-color: #fff;
    border-top: 5px solid #2b4a83;
    border-radius: 12px;
    padding: 20px 0 10px 0;    
    margin-top: 23px;
    list-style-type: none;
    width: 140px;
}
#show-more-menu ul li {
    margin: 0;
    padding: 10px 20px;
    font-size: 0.8rem;
    color: black;
}
#show-more-menu ul li:hover {
    background-color: rgba(232, 239, 254, 0.6);
}

#show-english-menu , #show-computer-menu {
    position: relative;
}
.product-menu {
    position: absolute;
    top: 10px;
    left: -135px;
    background-color: #fff;
    display: none;
    justify-content: flex-start;
    width: 372px;
    border-top: 5px solid #2b4a83;
    border-radius: 12px;
    padding-top: 5px;
    margin-top: 23px;
}
.product-menu a p:first-child{
    color: black;
    font-size: 0.95rem;
}
.product-menu a p:last-child{
    margin-top: 2px;
    color: gray;
    font-size: 0.7rem;
}
.product-menu a {
    margin: 10px;
    display: block;
    padding: 10px;
    border-radius: 5px;
}
.banner {
    display: flex;
    justify-content: space-between;
    width: 1050px;
    padding: 124px 60px 80px;
    /* background-image: linear-gradient(135deg,#21254e,#2b4a83); */
    background-image: linear-gradient(135deg,#000000,#515358);
    border-radius: 20px;
    margin: 20px auto;
}
.banner-text h3 {
    font-family: YekanBakhHeavy;
    font-size: 1.5rem !important;
    line-height: 3rem;
    color: #fff;
}
.banner-text p {
    color: #fff;
    font-size: 1.15rem;
    font-family: YekanBakhMedium;
    margin: 25px 0;
    line-height: 2.5rem;
}
.banner-img img {
    width: 500px;
}
.banner-btn {
    margin-top: 60px;
}
.register {
    font-size: 1rem;
    font-family: YekanBakhBold;
    color: rgb(255, 255, 255);
    /* background-color: #ffd900; */
    background-color: #2b4a83;
    padding: 6px 14px;
    border: none;
    border-radius: 10px;
    margin-left: 10px;
    text-decoration: none;
}
.login {
    font-size: 1rem;
    font-family: YekanBakhBold;
    color: #fff;
    background-color: #435a8a;
    padding: 6px 14px;
    border: none;
    border-radius: 10px;
    text-decoration: none;
}
.go-down {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    bottom: 57px;
    z-index: 1;
}
.go-down div {
    background-image: url(../images/arrowbottom.svg);
    width: 164px;
    height: 74px;
}
.go-down img {
    position: relative;
    width: 13px;
    top: -60px;
    left: -5px;
}
.fields {
    margin: -50px auto 20px auto;
    display: flex;
    width: 1170px;
    justify-content: space-between;
}
.next-div {
    /* background-image: linear-gradient(135deg,#21254e,#2b4a83); */
    background-image: linear-gradient(135deg,#000000,#515358);
    height: 200px;
    width: 380px;
    border-radius: 20px;
    text-align: center;
    align-items: center;
}
.next-div h3 { 
    font-size: 2rem;
    font-family: YekanBakhBold;
    color: #fff;
    padding: 30px;
}
.next-div ul {
    text-decoration: none;
    list-style: none;
    display: flex;
    align-self: center;
    text-align: center;
    justify-content: center;
}
.next-div ul li a{
    font-size: 1rem;
    color: #fff;
    margin: auto 5px ;
}
.next-div ul li {
    font-family: YekanBakhBold;
    background-color: #435a8a;
    padding: 6px 14px;
    border: none;
    border-radius: 10px;
    text-decoration: none;
    margin: 25px 5px;
}
/* هاور منو ها */
.product-menu {
  position: absolute;
  left: 20%;            /* از چپ شروع می‌شود */
  background: #fff;
  display: none;      /* ابتدا مخفی */
  visibility:hidden ;
  min-width: 200px;   /* عرض دلخواه */
  z-index: 1000;
  /* برای انیمیشن */
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.4s ease, transform 0.5s ease;
}
/* ۲. وقتی روی parent hover می‌شود */
.more-menu:hover > .product-menu {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  visibility:visible ;
}
/* ۴. ظاهر منوهای زبان/کامپیوتر */
.show-english-menu .product-menu,
.show-computer-menu .product-menu {
  width: 240px;
  border-top: 4px solid #2b4a83;
  border-radius: 12px;
  padding: 5px;
  right: 7%;
  display: flex;
  flex-wrap: wrap;      /* برای دو ستون */
  justify-content: flex-start;
}
.show-computer-menu .product-menu {
      right: 30%;
}
/* ۵. استایل‌های داخلی (لینک‌ها) */
.product-menu a {
  display: block;
  padding: 10px;
  color: #000;
  text-decoration: none;
}
.product-menu a:hover {
  background: rgba(232, 239, 254, 0.6);
}


@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-100%);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes showUp {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@media (max-width: 1200px) {
    header {
        width: 940px;
    }
    .banner {
        width: 900px;
        padding: 60px 40px 120px;
    }
    .banner-img img {
        width: 430px;
    }
    .fields {
    width: 980px;
    }
    .next-div {
    width: 310px;
    }
    .next-div h3 {
    font-size: 1.5rem;
    }
    .next-div ul li a {
    padding: 6px 0px;
    font-size: 12px;
    }
    .Enrow ul{
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        justify-content: center;
    }
    .ENmain > ul > li , .PCmain > ul > li {
        width: auto;
    }
}
@media (max-width: 990px) {
    header {
        width: auto;
        padding: 20px 60px;
    }
    .header-ul li:last-child {
        display: none;
    }
    .logo {
        margin: 0;
    }
    .header-ul li {
        margin: 0 10px;
    }
    .banner {
        width: auto;
        padding: 40px 40px 85px;    
        margin-left: 35px;
        margin-right: 35px;
        display: flex;
        flex-wrap: wrap;
        text-align: center;
        flex-direction: column-reverse !important;
    }
    /* .banner-img img {
        display: none;
    } */
    .banner-text {
        text-align: center;
    }
    .banner-text p {
        margin: 5px 0;
        font-size: 1rem;
    }
    .banner-btn {
        margin-top: 20px;
    }
    .fields {
        width: auto;
        padding: 10px 10px 55px;    
        margin-left: 25px;
        margin-right: 25px;
    }
    .next-div {
    width: 230px;
    height: 260px;
    }
    .next-div h3 {
    font-size: 1.3rem;
    padding-bottom: 0;
    }
    .next-div ul {
    display: block;
    }
    .next-div ul li {
    margin: 20px 15px;
    }
    .next-div ul li a {
    padding: 6px 15px;
    }
}
@media (max-width: 768px) {
    .header-ul {
        display: none;
    }
    header {
        width: auto;
        padding: 10px 8px;
    }
    .hamburger-icon {
        display: block;
    }
    .banner {
        margin-left: 8px;
        margin-right: 8px;
    }
    .fields {
        width: auto;
        padding: 5px 5px 55px;    
        margin-left: 5px;
        margin-right: 5px;
        display: flex;
        flex-wrap: wrap;
        text-align: center;
        flex-direction: column !important;
        text-align: center;
    }
    .next-div {
    width: 100%;
    height: 160px;
    margin-bottom: 10px;
    }
    .next-div h3 {
    font-size: 1.5rem;
    padding-bottom: 0;
    }
    .next-div ul {
        display: flex;
    }
    .next-div ul li  {
    margin: 25px 10px;
}
    .next-div ul li a {
    padding: 6px 25px;
}
}
@media (max-width: 575px) {
    .banner {
        padding: 80px 40p;
    }
    .banner-text h3 {
        font-size: 1.2rem;
    }
    .banner-text p {
        font-size: 0.9rem;
    }
    .banner-img img {
        width: 250px;
    }
     .fields {
        width: auto;
        padding: 5px 5px 25px;    
        margin-left: 5px;
        margin-right: 5px;
        display: flex;
        flex-wrap: wrap;
        text-align: center;
        flex-direction: column !important;
    }
    .next-div {
        width: 100%;
        height: 240px;
        margin: 3px auto;
        }
        .next-div ul {
        display: block;
        }
        .next-div h3 {
        font-size: 1.5rem;
        padding: 15px 0;
        }
        .next-div ul li {
        margin: 10px auto;
        width: 250px;
    }
    .sitesmain a {
        font-size: 14px;
    }
    .uploaderimg {
        width: 200px;
        margin-right: 20px;
    }
    iframe {
        height:1500px !important;
    }
}