@font-face {
    font-family: iransans;
    src: url('fonts/Iranian\ Sans.ttf')format('truetype');
}
*{
    font-family: iransans;
}
/*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

body {
    line-height:1;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
    display:block;
}

nav ul {
    list-style:none;
}

blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}

a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

/* change colours to suit your needs */
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

/* change colours to suit your needs */
mark {
    background-color:#ff9;
    color:#000;
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

table {
    border-collapse:collapse;
    border-spacing:0;
}

/* change border colour to suit your needs */
hr {
    display:block;
    height:1px;
    border:0;  
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}

input, select {
    vertical-align:middle;
}

img{
    width:50%;
    margin : 0 auto;
}

.wrapper-desktop{
    display: flex;
    flex-wrap: wrap;
    height: 100vh;
    /* overflow-y: hidden; */
}

.right{
    width: 30%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top : 0 ;
    right: 0;
}
.right .box{
    height: 80%;
    width: 80%;
    border: 1px solid #E1F5FE;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #4f5a5c;
    background: radial-gradient(circle,rgba(79, 90, 92, 1) 0%, rgba(60, 60, 66, 1) 50%, rgba(74, 66, 41, 1) 100%);
    border-radius: 20px;
}
.right .box .image{
    height: 30%;
}
.right .box .image img{
    width: 50%;
    height: 100%;
    margin-top: -10%;
    border-radius: 30%;
}
.right .box .info{
    color: #fff;
    height: 20%;
    /* margin-top : 10%; */
}
.right .box .info h1 , .right .box .info h3{
    line-height: 1.8;
}
.right .box .info p{
    margin-top: 5%;
    line-height: 1.5;
}


.wrapper-desktop .left{
    width: 70%;
    position: relative;
    right: 30%;
}


.wrapper-desktop .left .container {
    max-width: 900px;
    margin: 40px auto;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  }
  .wrapper-desktop .left h1,.wrapper-desktop .left h2 {
    color: #2c3e50;
    margin-bottom: 15px;
  }
  .wrapper-desktop .left h1 {
    border-bottom: 3px solid #3498db;
    padding-bottom: 10px;
  }
  .wrapper-desktop .left .section {
    margin-bottom: 30px;
  }
  .wrapper-desktop .left .section ul {
    list-style: none;
    padding: 0;
  }
  .wrapper-desktop .left .section ul li {
    background: #ecf0f1;
    margin: 8px 0;
    padding: 10px 15px;
    border-radius: 6px;
    transition: 0.3s;
  }
  .wrapper-desktop .left .section ul li:hover {
    background: #d6eaf8;
  }
  .wrapper-desktop .left .contact, .links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
  }
  .wrapper-desktop .left .contact div, .links a {
    background: #3498db;
    color: #fff;
    padding: 8px 15px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
  }
  .wrapper-desktop .left .links a:hover {
    background: #2c81ba;
  }
  .wrapper-desktop .left .contact a{
    color : #fff;
    text-decoration: none;
  }
  .wrapper-mobile{
    display: none;
  }
  .container h2{
    font-size: 1.5rem;
    font-weight: bold;
  }

  .side-nav {
    position: sticky;
    height: 40%;
    top: 20px;
    padding: 16px;
    /* border: 1px solid #e3e6ea; */
    border-radius: 10px;
    /* background: #fff; */
    margin : 0 auto;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    max-width: 280px;
  }
  .side-nav-title {
    font-size: 16px;
    margin: 0 0 12px 0;
    color: #2c3e50;
  } 


  .side-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .side-nav ul li {
    margin-bottom: 8px;
  }
  .side-nav a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: #34495e;
    background: #f7f9fc;
    transition: background 0.2s, color 0.2s;
  }
  .side-nav a:hover,
  .side-nav a:focus {
    background: #eaf3ff;
    color: #1f6feb;
    outline: none;
  }
  /* حالت فعال بر اساس fragment در URL */
  .side-nav a[aria-current="true"] {
    background: #eaf3ff;
    color: #1f6feb;
    font-weight: 600;
  }

  @media (max-width:1024px) {
    .wrapper-desktop{
        display: none;
    }
    .wrapper-mobile{
        display: block;
    }
    .wrapper-mobile .container {
        max-width: 900px;
        margin: 0px auto;
        background: #fff;
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
      }
      .wrapper-mobile h1,.wrapper-mobile h2 {
        color: #2c3e50;
        margin-bottom: 15px;
      }
      .wrapper-mobile h1 {
        border-bottom: 3px solid #3498db;
        padding-bottom: 10px;
      }
      .wrapper-mobile .section {
        margin-bottom: 30px;
      }
      .wrapper-mobile .section ul {
        list-style: none;
        padding: 0;
      }
      .wrapper-mobile .section ul li {
        background: #ecf0f1;
        margin: 8px 0;
        padding: 10px 15px;
        border-radius: 6px;
        transition: 0.3s;
      }
      .wrapper-mobile .section ul li{
        font-size: .9rem;
        line-height: 1.8;
      }
      .wrapper-mobile .section ul li:hover {
        background: #d6eaf8;
      }
      .wrapper-mobile .contact, .links {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
      }
      .wrapper-mobile .contact > div{
        display: inline-block;
        font-size: .8rem!important;
      }
      .wrapper-mobile .contact div, .links a {
        background: #3498db;
        color: #fff;
        padding: 8px 15px;
        border-radius: 6px;
        text-decoration: none;
        font-size: 14px;
      }
      .wrapper-mobile .links a:hover {
        background: #2c81ba;
      }
      .wrapper-mobile .contact a{
        color : #fff;
        text-decoration: none;
      }
      .wrapper-mobile header{
        display: flex;
        background : #CFD8DC;
        flex-wrap: wrap;
        align-items: center;
        padding-top: 20px;
        border-bottom: 1px solid #29B6F6;
      }
      .wrapper-mobile header > div{
        width: 50%;
        text-align: center;
      }
      .wrapper-mobile .left-mobile img{
        width: 40%;
        padding: 10px;
        height: 100px;
        border-radius: 50%;
        border: 1px solid #29B6F6;
      }
  }