@font-face {
    font-family: IRANSansWeb;
    src: url('./IRANSansWeb/eot/IRANSansWeb\(FaNum\)_Bold.eot');
    src: url('./IRANSansWeb/woff/IRANSansWeb\(FaNum\)_Bold.woff') format("woff"),
         url('./IRANSansWeb/ttf/IRANSansWeb\(FaNum\)_Bold.ttf') format("truetype"),
         url('./IRANSansWeb/woff2/IRANSansWeb\(FaNum\).woff2') format("woff2");
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: IRANSansWeb;
    src: url('./IRANSansWeb/eot/IRANSansWeb\(FaNum\)_UltraLight.eot');
    src: url('./IRANSansWeb/woff/IRANSansWeb\(FaNum\)_Light.woff') format("woff"),
         url('./IRANSansWeb/ttf/IRANSansWeb\(FaNum\)_UltraLight.ttf') format("truetype"),
         url('./IRANSansWeb/woff2/IRANSansWeb\(FaNum\)_UltraLight.woff2') format("woff2");
    font-weight: 100;
    font-style: normal;
}
@font-face {
    font-family: IRANSansWeb;
    src: url('./IRANSansWeb/eot/IRANSansWeb\(FaNum\)_Light.eot');
    src: url('./IRANSansWeb/woff/IRANSansWeb\(FaNum\)_Light.woff') format("woff"),
         url('./IRANSansWeb/ttf/IRANSansWeb\(FaNum\)_Light.ttf') format("truetype"),
         url('./IRANSansWeb/woff2/IRANSansWeb\(FaNum\)_Light.woff2') format("woff2");
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: IRANSansWeb;
    src: url('./IRANSansWeb/eot/IRANSansWeb\(FaNum\).eot');
    src: url('./IRANSansWeb/woff/IRANSansWeb\(FaNum\).woff') format("woff"),
         url('./IRANSansWeb/ttf/IRANSansWeb\(FaNum\).ttf') format("truetype"),
         url('./IRANSansWeb/woff2/IRANSansWeb\(FaNum\).woff2') format("woff2");
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: IRANSansWeb;
    src: url('./IRANSansWeb/woff/IRANSansWeb\(FaNum\)_Medium.woff') format("woff"),
         url('./IRANSansWeb/ttf/IRANSansWeb\(FaNum\)_Medium.ttf') format("truetype"),
         url('./IRANSansWeb/woff2/IRANSansWeb\(FaNum\)_Medium.woff2') format("woff2");
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: IRANSansWeb;
    src: url('./IRANSansWeb/ttf/IRANSansWeb_Black.ttf');
    font-weight: 900;
    font-style: normal;
}

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

  body {
    font-family: IRANSansWeb;
    font-size: 14px;
    text-align: right;
    background-color: #fff;
    overflow-x: hidden !important;
  }

  .main-container {
    padding: 30px;
  }

  .box-cnt-main {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 91vh;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 20px;
    color: #fff;
}

.box-cnt-right {
    width: 70%;
    height: 100%;
    overflow-y: auto;
    padding: 40px;
    overflow-x: hidden;
    direction: ltr !important;
}

.box-cnt-left {
    width: 30%;
}

.discription-box {
    margin-bottom: 50px;
}

h1 {
    font-size: 26px;
    color: black;
}

.discription-box p {
    text-align: justify;
    line-height: 35px;
    font-size: 15px;
    direction: rtl;
}

.contact-box {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
}

a.social-link {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 10px;
    text-decoration: unset;
    width: 300px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 20px;
    color: #fff;
    overflow: hidden; 
}


.social-link::after {
    content: "";
    position: absolute;
    inset: -50% -20%;                 /* کمی بزرگ‌تر از باکس تا ورودی و خروجی نرم باشد */
    pointer-events: none;             /* روی کلیک‌ها تاثیر نگذارد */
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0) 40%,
        rgba(255,255,255,0.75) 50%,
        rgba(255,255,255,0) 60%,
        rgba(255,255,255,0) 100%
    );
    transform: translateX(-120%) rotate(10deg); /* از بیرونِ چپ شروع کند */
    opacity: 0;                       /* پیش‌فرض نامرئی */
    will-change: transform, opacity;
}

.social-link:hover::after {
    animation: shine-sweep 1s ease forwards;
    opacity: 1;
}

.gsocial-link:active::after {
    animation: shine-sweep 1s ease forwards;
}

@keyframes shine-sweep {
    0%   { transform: translateX(-120%) rotate(10deg); opacity: 0; }
    10%  { opacity: 1; }
    100% { transform: translateX(120%)  rotate(10deg); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .social-link,
    .social-link:hover {
        transform: none;
    }
    .social-link::after,
    .social-link:hover::after {
        animation: none;
        opacity: 0.12;                /* فقط یک درخشش ثابت و ملایم */
        transform: none;
    }
}

span.social-img {
    width: 30px;
    height: 30px;
    display: block;
    background: #ffffff;
    border-radius: 5px;
}

.social-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

a.page-btn-link {
    text-decoration: unset;
    box-shadow: 0px 1px 6px 1px #ffffff2b;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 6px 20px;
    color: #fff;
}

.page-btn-link-cnt {
    margin-top: 20px;
}

body {
    background: linear-gradient(270deg, #001011, #008090);
    background-size: 400% 400%;
}


h1, h2, h3 {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 13px;
    margin-bottom: 20px;
}

p {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    line-height: 1.8;
}


span.social-txt {
    width: 75%;
    text-align: center;
}

.sub-desc-box {
    margin: 20px;
}

span.company-logo {
    width: 50px;
    height: 50px;
    display: block;
    background: white;
    border-radius: 50px;
    padding: 2px;
}

span.company-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

:root {
    --scroll-track: rgba(255,255,255,0.12); 
    --scroll-thumb: rgba(255,255,255,0.35);   
    --scroll-thumb-hover: rgba(255,255,255,0.55);
    --scroll-border: rgba(255,255,255,0.35);
    --scroll-glow: rgba(0, 201, 210, 0.35);   
  }

  body::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }
  
  body::-webkit-scrollbar-track {
    background: linear-gradient(180deg, transparent, var(--scroll-track));
    border-radius: 999px;
  }
  
  body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--scroll-thumb), rgba(255,255,255,0.2));
    border: 2px solid transparent;        
    background-clip: padding-box;         
    border-radius: 999px;
    box-shadow:
      0 1px 4px rgba(0,0,0,0.25),        
      0 0 8px var(--scroll-glow);        
  }
  
  body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--scroll-thumb-hover), rgba(255,255,255,0.3));
    box-shadow:
      0 2px 6px rgba(0,0,0,0.3),
      0 0 10px var(--scroll-glow);
  }
  
  body::-webkit-scrollbar-corner { background: transparent; }
  
  /* === Firefox === */
  html {
    scrollbar-width: thin; 
    scrollbar-color: rgba(255,255,255,0.45) rgba(255,255,255,0.12);
  }
  

  /* responsive section */

  @media only screen and (min-width: 1024px) and (max-width: 1439px) {
    .box-cnt-right {
        width: 60%;
    }

    .box-cnt-left {
        width: 40%;
    }
  }

  @media only screen and (min-width: 0px) and (max-width: 1023px) {
    .box-cnt-main {
        flex-direction: column;
        gap: 25px;
    }

    .box-cnt-right {
        width: 100%;
        height: 66%;
        padding-top: 10px;
        padding-bottom: 0;
    }

    .box-cnt-left {
        width: 100%;
        height: 34%;
        overflow: auto;
        overflow-x: hidden;
        direction: ltr !important;
    }

    .contact-box {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: row;
        gap: 20px;
        flex-wrap: wrap;
    }

    a.social-link {
        direction: rtl;
    }
  }

  @media only screen and (min-width: 425px) and (max-width: 767px) {
    .box-cnt-right , .box-cnt-left {
        width: 100%;
    }

    .box-cnt-right {
        height: 90%;
    }

    .box-cnt-left {
        height: 10%;
        position: relative;
        bottom: -5px;
    }
    
    .box-cnt-right {
        padding: 0;
    }

    h1 , h2 {
        font-size: 20px;
    }

    span.company-logo {
        width: 45px;
        height: 45px;
    }

    .discription-box p {
        font-size: 14px;
    }

    h3 {
        font-size: 16px;
    }

    span.social-txt {
        display: none;
    }

    a.social-link {
        width: unset;
        border-radius: 8px;
        padding: 5px;
    }
  }

  @media only screen and (min-width: 375px) and (max-width: 424px) {
    .box-cnt-right , .box-cnt-left {
        width: 100%;
    }

    .box-cnt-right {
        height: 90%;
    }

    .box-cnt-left {
        height: 10%;
        position: relative;
        bottom: -5px;
    }
    
    .box-cnt-right {
        padding: 0;
    }

    h1 , h2 {
        font-size: 20px;
    }

    span.company-logo {
        width: 45px;
        height: 45px;
    }

    .discription-box p {
        font-size: 14px;
    }

    h3 {
        font-size: 16px;
    }

    span.social-txt {
        display: none;
    }

    a.social-link {
        width: unset;
        border-radius: 8px;
        padding: 5px;
    }

    .contact-box {
        gap: 15px;
    }

    .main-container {
        padding: 19px;
    }

    .box-cnt-main {
        height: 94vh;
    }
  }

  @media only screen and (min-width: 0px) and (max-width: 374px) {
    .box-cnt-right , .box-cnt-left {
        width: 100%;
    }

    .box-cnt-right {
        height: 90%;
    }

    .box-cnt-left {
        height: 10%;
        position: relative;
        bottom: -5px;
    }
    
    .box-cnt-right {
        padding: 0;
    }

    h1 , h2 {
        font-size: 16px;
    }

    span.company-logo {
        width: 35px;
        height: 35px;
    }

    .discription-box p {
        font-size: 13px;
        line-height: 30px;
    }

    h3 {
        font-size: 14px;
    }

    span.social-txt {
        display: none;
    }

    a.social-link {
        width: unset;
        border-radius: 8px;
        padding: 5px;
    }

    .contact-box {
        gap: 8px;
    }

    .box-cnt-main {
        height: 95vh;
    }

    .main-container {
        padding: 15px;
    }
  }