
  /*new style*/
  .contact-page-body .home-p {
    margin-top: 0 !important;
    top: 0 !important;
}

.contact-page-body header {
    position: relative;
    z-index: 9999;
}

  
.contact-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 16px;
}

/*Socila icon box */

.social-follow-box {
    background: linear-gradient(180deg, #e4e6e7 0%, #f7fcff 100%);
    padding: 20px 16px;
    text-align: center;
    max-width: 450px;
    margin:10px auto;
}

.social-title {
    text-align: center;
    font-size: 15px;
    color: #6b7280;
    margin-bottom: 18px;
    font-weight: 500;
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.social-icons a {
    width: 48px;
    height: 48px;
    background: #ffffff;
    border: 1px solid #d6ecff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #0c127a;
    border-color: #0c127a;
    transform: translateY(-3px);
}

.social-icons img {
    width: 22px;
    height: 22px;
    transition: filter 0.3s ease;
}

/* اگر SVG تک‌رنگ است */
.social-icons a:hover img {
    filter: brightness(0) invert(1);
}


/* Office Card */
.office-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    overflow: hidden;
    
}

.office-title h2 {
    font-family: 'Modam';
    margin: 20px;
}
.office-detail{
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    background: #fff;
    overflow: hidden;
   
}
.office-info {
    display: flex;
    flex-direction: column;   /* زیر هم */
    align-items: flex-end;    /* چسبیده به سمت راست */
    gap: 10px;
}
.office-info > div {
    width: 100%;
    max-width: 420px; /* یا هر عددی که UIت می‌طلبد */
}



.info.hover-effect-8 {
    display: flex;
    flex-direction: column;
    gap: 15px; /* فاصله بین آیتم‌ها */
    max-width: 500px;
    margin-top: 20px;
}

/* هر آیتم در یک ردیف */
.info.hover-effect-8 .info-item {
    display: flex;
    align-items: center;   /* وسط چین عمودی */
    gap: 15px;             /* فاصله بین آیکون و متن */
}

/* آیکون دایره‌ای */
.info.hover-effect-8 .info-item i {
    width: 45px;
    height: 45px;
    font-size: 20px;
    color: #0C127A;
    background: #6d6e710e;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    transition: transform 0.4s ease, background-color 0.4s ease, box-shadow 0.4s ease;
}

/* موج پس‌زمینه */
.info.hover-effect-8 .info-item i::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border-radius: 50%;
    background:#6d6e7120;
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* هاور ملایم */
.info.hover-effect-8 .info-item:hover i {
    transform: scale(1.1) translateY(-3px);
    background-color: #6d6e713c;;
    box-shadow: 0 2px 10px #6d6e7120;
    color: #ED1C24;
}

.info.hover-effect-8 .info-item:hover i::after {
    opacity: 1;
    transform: scale(1.4);
}

/* متن داخل p */
.info.hover-effect-8 .info-item p {
    margin: 0;
    font-size:14px;
    color: #333;
}

/* span عنوان */
.info.hover-effect-8 .info-item span {
    font-weight: 600;
}

/* لینک تلفن */
.info.hover-effect-8 .info-item p a {
    color: #333;
    text-decoration: none;
}

.info.hover-effect-8 .info-item p a:hover {
    text-decoration: underline;
}


.office-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Contact Form */
/* مرکز صفحه */

.contact-wrapper {
  min-height: calc(100vh - 150px); /* ارتفاع هدر */
 
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background: #ffffff;
}

/* کارت اصلی */
.contact-card {
  width: 100%;
  max-width: 900px;
  padding: 50px;
  background: linear-gradient(180deg, #e4e6e7 0%, #f7fcff 100%);
  position: relative;
  
}

/* تیتر */
.contact-card h2 {
  font-family: 'Modam';
  text-align: center;
  font-size: 26px;
  margin-bottom: 10px;
}

/* توضیح */
.subtitle {
  text-align: center;
  color: #555;
  margin-bottom: 40px;
  font-size: 14px;
}

/* فرم */
.contact-form {
  width: 100%;
}

/* ردیف دو ستونه */
.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

/* گروه */
.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 13px;
  margin-bottom: 6px;
}

.form-group span {
  color: red;
}

.form-group input,
.form-group textarea {
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #1da1f2;
}

/* دکمه */
.form-action {
  display: flex;
  justify-content: flex-end;
}

.form-action button {
  background: #ED1C24;
  color: #fff;
  border: none;
  padding: 10px 30px;
  cursor: pointer;
  font-size: 14px;
}

.form-action button:hover {
  background: #0c127a;
}
@media (max-width: 768px) {
  .contact-card {
    padding: 30px 20px;
  }

  .form-row {
    flex-direction: column;
  }

  .form-action {
    justify-content: center;
  }
}


    .office-map iframe {
        height: 300px;
    }
 