  






    body {
      margin: 0;
      font-family: "IRANSans", sans-serif;
      background: #f7f8fc;
      color: #222;
      





    }





/* ------------ هدر ------------ */
header {
    position: fixed;
    top: 10px;
    left: 10px;
    right: 10px;
    height: 75px;
    padding: 0 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);

}

/* لوگو */
.logo {
    height: clamp(40px, 5vw, 65px);
}

.hlogo {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
}


nav ul {
    display: flex;
    list-style: none;
    gap: clamp(15px, 2vw, 25px);
    justify-content: center;
    align-items: center;
}

nav ul li a {
    text-decoration: none;
    font-size: clamp(16px, 1.2vw, 18px);
    font-weight: 600;
    padding: clamp(6px, 0.8vw, 8px) clamp(8px, 1vw, 12px);
    border-radius: 8px;
    display: inline-block;
     color: #232ed1 ;
         position: relative; /* بسیار مهم: موقعیت نسبی برای لینک */
}

#menuList li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;      /* شروع از راست */
    width: 0%;     
    height: 2px;
    background-color: #232ed1 ;
    transition: width 0.3s ease;
}

/* هاور: کشیده شدن به چپ */
#menuList li a:hover::after {
    width: 100%;   /* گسترش خط */
}

/* دکمه همبرگری */
.menu-btn {
    display: none;
    font-size: clamp(28px, 5vw, 34px);
    cursor: pointer;
    user-select: none;
    position: relative;
    z-index: 1100;
}

/* ------------ موبایل ------------ */


@media (max-width: 830px) {

    header {
        justify-content: center;
    }

    .menu-btn {
        display: block;
    }

    nav ul {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        flex-direction: column;
        background: rgba(255,255,255,0.85);
        backdrop-filter: blur(12px);
        padding-top: 8px;
        padding-right: 7px;
        gap: 2.5rem;

        transform: translateY(+100%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transition: transform 0.4s ease, opacity 0.3s ease;
        z-index: 1000;
            justify-content: center;
    align-items: center;
    }

      nav ul li {
    width: 80%;
    text-align: center;   /* متن دقیقاً وسط */
  }

    nav ul li a {
    display: block;
    text-align: center;
    font-size: 22px;      /* خواناتر در موبایل */
  }




    nav ul.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        text-align: center;
    }
}



















    h2 {
      font-size: 46px;
      margin-bottom: 10px;
      color: #232ed1;
    }

    /* --- Layout Wrapper --- */
    .container {
      width: 90%;
      max-width: 1200px;
      margin: auto;
      padding-top: 60px;
    }

    /* --- About Section --- */
    .about-section {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 50px;
      align-items: start;
      margin-bottom: 120px;

    }

    .about-title h2 {
      font-size: 46px;

      color: #232ed1;
      margin-bottom: 15px;
    }

    .about-subtitle h2 {
      font-size: 30px;
      color: #555;
      margin-bottom: 20px;
      margin-top: 5px;
    }

    .about-text {
      font-size: 17px;
      line-height: 1.8;
      color: #444;
    }

    /* --- FAQ Section --- */
    .faq-box {
      background: #fff;
      padding: 18px 22px;
      border-radius: 14px;
      margin-bottom: 15px;
      cursor: pointer;
      box-shadow: 0 4px 12px rgba(0,0,0,0.06);
      transition: 0.3s;
    }

    .faq-box:hover {
      transform: translateY(-3px);
    }

    .faq-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 17px;
      font-weight: 600;
    }

    .faq-content {
      margin-top: 12px;
      line-height: 1.7;
      font-size: 14px;
      display: none;
      color: #444;
      animation: fade 0.3s ease;
    }

    @keyframes fade {
      from { opacity: 0; }
      to { opacity: 1; }
    }

    .arrow {
      width: 22px;
      transition: transform 0.3s;
    }

    .rotate {
      transform: rotate(180deg);
    }

    /* --- Lawyers Cards --- */
    .lawyers-section {
      text-align: center;
      margin-bottom: 80px;
    }

    .lawyers-container {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 30px;
      margin-top: 40px;
    }

    .lawyer-card {
      background: #fff;
      padding: 20px;
      border-radius: 18px;
      box-shadow: 0 4px 16px rgba(0,0,0,0.08);
      text-align: center;
      transition: 0.3s;
    }

    .lawyer-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    }

    .lawyer-img {
      width: 100%;
      border-radius: 14px;
      margin-top: 2px;
    }

    .lawyer-info {
      margin: 18px 0;
      line-height: 1.7;
      font-size: 15px;
      color: #444;
    }

    .resume-btn {
      display: inline-block;
      padding: 10px 20px;
      border-radius: 10px;
      background: #232ed1;
      color: #fff;
      text-decoration: none;
      transition: 0.3s;
    }

    .resume-btn:hover {
      background: #1a23a0;
    }

    @media(max-width: 900px) {
      .about-section {
        grid-template-columns: 1fr;
        text-align: center;
      }
      .lawyers-container {
        grid-template-columns: 1fr;
      }
    }





    /* فوتر */



    footer.footer {
background: #ffffff;
border-radius: 16px 16px 0 0;
padding: 40px 20px;
border-top: 6px solid #232ed1;
max-width: 1500px;
margin: 40px auto 0 auto;
}


.footer-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 40px;
text-align: center; /* متن ها وسط چین */
}


h3.footer-title {
color: #232ed1;
margin-bottom: 20px;
font-size: 1.2rem;
}


.footer-links a.footer-link {
display: block;
margin-bottom: 10px;
text-decoration: none;
color: #333;
font-size: 0.95rem;
transition: all 0.3s ease;
padding: 3px 2px;
border-radius: 4px;
position: relative;
      width: fit-content;
      margin: 0 auto 10px;
}


.footer-links a.footer-link:hover {
color: #232ed1;
transform: scale(1.03);
}


.footer-contact-item {
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
margin-bottom: 10px;
font-size: 0.95rem;
color: #333;
}


.footer-contact-item img {
width: 22px;
height: 22px;
}






