#responsiveMenu {
    display: none;
}
.loaderr {
    z-index: 9999999999;
    background-color: #f3f3f3;
}

body .loader2 span:before {
    background: var(--primary);
}
body .loader2 .plane:before {
    color: var(--primary);
}
:root {
    --primary: #d4af69;
    --secondary: #2d4188;
    --secLight: #bcbec0;
    --light: #ffff;
    --text: #313131;
    --default: #e4e4e4;
}

/* تعریف فونت‌های مختلف */
@font-face {
  font-family: "Kalameh";
  src: url("../fonts/KalamehWeb(FaNum)-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Kalameh";
  src: url("../fonts/KalamehWeb(FaNum)-Bold.woff2") format("woff2");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Kalameh";
  src: url("../fonts/KalamehWeb(FaNum)-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Kalameh";
  src: url("../fonts/KalamehWeb(FaNum)-Light.woff2") format("woff2");
  font-weight: lighter;
  font-style: normal;
}

@font-face {
  font-family: "Kalameh";
  src: url("../fonts/KalamehWeb(FaNum)-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
}

body {
  font-family: "Kalameh";
  color: var(--text);
  font-size: 12pt;
  box-sizing: border-box;
  direction: rtl;
  margin: 0;
}
* {
  font-family: "Kalameh";
  color: var(--text);
  font-size: 12pt;
}
a {
  text-decoration: none;
  outline: none;
}
.container {
  display: flow-root;
  margin: 0 auto;
  max-width: 1280px !important;
  padding: 0 20px;
}
body.primary {
  background-color: var(--primary);
}

/*#region header  */
header {
  /* padding: 20px; */
  background-color: var(--light);
  border-radius: 0 0 50px 50px;
  overflow: visible;
  max-height: 280px;
}
.header-content.hasImage {
    display: flex;
    gap: 10px;
    position: relative;
    overflow: visible;
    justify-content: space-between;
    width: 90%;
    margin: 0 auto;
}
.header-content-image {
  display: block;
  width: 20%;
  /* margin-bottom: -101px; */
  align-items: center;
  overflow: hidden;
  max-height: 280px;
}
.header-content-items {
  width: 72%;
  position: relative;
  left: 0;
  top: 20px;
}
.header-content-image img {
  width: 100%;
  position: relative;
  top: 32px;
}
.h-link {
  display: flex;
  align-items: center;
}

.h-link a.lnk {
  color: var(--primary);
  border-right: 1px solid var(--secLight);
  padding: 0 14px;
}

.h-link a.lnk:first-child {
  padding-right: 0;
  border-right: 0;
}

.h-link a.logo {
  border-left: none;
  margin-right: auto;
}

.h-link a.logo img {
  width: 150px;
}

/*#endregion header  */
/*#region footer  */
footer {
  display: block;
  width: 100%;
  min-height: 100px;
  background-color: var(--primary);
}

.f-content {
  display: grid;
  grid-template-columns: 25% 25% 25% 25%;
  padding: 40px;
}
.f-items {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 500;
}
.f-items b {
  margin-bottom: 10px;
}
/*.f-item::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-left: 6px;
}*/
.licenses {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
    .licenses .license {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
        flex-wrap: wrap;
        border-radius: 10px;
        background-color: var(--light);
    }
.copy-right {
    display: block;
    background-color: var(--primary);
    text-align: center;
    width: 100%;
    color: var(--light);
    padding: 14px 0;
}

.copy-right  span{
 
    color: var(--light);

}
/*#endregion footer  */

/* loading section */
.loading-section {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loading-content {
  display: flex;
  align-items: center;
  /* gap: 16px; */
}

.loading-content-img {
  width: 120px;
  object-fit: cover;
  rotate: 45deg;
}

.loading-content-text-holder {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
}

.loading-content-text-holder-text {
  font-weight: 700;
  color: var(--secondary);
  font-size: 32px;
  margin: 0;
}

.loading-content-text-holder-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 8px;
  border: 2px solid var(--primary);
  font-weight: 500;
  font-size: 14px;
  color: var(--primary);
}

/* end loading section */
@media screen and (min-width: 0) and (max-width: 600px) {
  footer .container.f-content {
    grid-template-columns: 100%;
    gap: 40px;
  }
  .licenses {
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
  }
  .licenses .license {
    width: 100px;
    height: 140px;
  }
  .title-box {
    display: none !important;
  }
}



@media (max-width: 1300px) {
  .header-content-image {
    display: none;
  }

  .header-content-items {
    position: relative;
    width: 100%;
    top: 0;
  }

  header {
    padding: 20px;
    max-height: unset;
  }
  
  .title-box {
    width: 115px !important;
  }

  .title-box b {
    font-size: 14px;
  }
}

















/* ریست و استایل پایه */
.f-content {
    /*    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);*/
    background-color: var(--secondary);
    padding: 60px 30px 30px;
    position: relative;
    overflow: hidden;
}

    .f-content::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #c9a961 0%, #d4af37 50%, #c9a961 100%);
    }

    /* لایه نورانی پس‌زمینه */
/*    .f-content::after {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(201, 169, 97, 0.05) 0%, transparent 70%);
        animation: rotate 30s linear infinite;
    }*/

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* گرید اصلی */
.f-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin: 0 auto;
}

/* هر بخش */
.f-items {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(201, 169, 97, 0.2);
    border-radius: 16px;
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

    .f-items:hover {
        background: rgba(255, 255, 255, 0.06);
        border-color: rgba(201, 169, 97, 0.5);
        transform: translateY(-8px);
        box-shadow: 0 15px 40px rgba(201, 169, 97, 0.25);
    }

    /* عنوان‌های بخش */
    .f-items b,
    #namefooter {
        color: #c9a961;
        font-size: 20px;
        font-weight: bold;
        margin-bottom: 12px;
        padding-bottom: 15px;
        border-bottom: 2px solid rgba(201, 169, 97, 0.3);
        position: relative;
        text-align: right;
        display: block;
    }

        .f-items b::after,
        #namefooter::after {
            content: '';
            position: absolute;
            bottom: -2px;
            right: 0;
            width: 70px;
            height: 2px;
            background: linear-gradient(90deg, #c9a961, #d4af37);
            box-shadow: 0 0 10px rgba(201, 169, 97, 0.5);
        }

/* آیتم‌ها */
.f-item {
    color: #e1e1e1;
    font-size: 15px;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: right;
    /* display: flex;
    align-items: center;
    justify-content: space-between;*/
    position: relative;
}

    .f-item::before {
        content: '◄';
        font-size: 11px;
        opacity: 0;
        margin-left: 0;
        transition: all 0.3s ease;
    }

    .f-item:hover {
        color: #c9a961;
        background: rgba(201, 169, 97, 0.1);
        padding-right: 24px;
    }

        .f-item:hover::before {
            opacity: 1;
            margin-left: 10px;
        }

/* لینک‌ها */
a.f-item {
    border-right: 3px solid transparent;
}

    a.f-item:hover {
        border-right-color: #c9a961;
    }



 /*   .license::before {
        content: 'لوگو / مجوز';
        color: rgba(201, 169, 97, 0.4);
        font-size: 14px;
        font-weight: bold;
    }

    .license::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, transparent 0%, rgba(201, 169, 97, 0.1) 100%);
        opacity: 0;
        transition: opacity 0.4s ease;
    }*/

    /*.license:hover {
        border-color: #c9a961;
        border-style: solid;
        background: rgba(201, 169, 97, 0.05);
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(201, 169, 97, 0.2);
    }

        .license:hover::after {
            opacity: 1;
        }*/

/* ریسپانسیو */
@media (max-width: 1024px) {
    .f-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .f-content {
        grid-template-columns: 1fr;
        padding: 40px 20px 20px;
        gap: 25px;
    }

    .licenses {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
   

    .f-items {
        padding: 20px 18px;
    }
}



.mastercaa {
    background-position: 220px 4px !important;
}

.masteriata {
    background-position: 0px -7px !important;
}


.justyn {
    height: clamp(38px, 5vw, 51px);
}