@charset "utf-8";
/*
Theme Name: Sascco
Theme URI: http://www.sascco.ir
Author: PFAV Team
Author URI: https://www.pfav.ir
Description: PFAVIR Company 
Version: 3.1
License: GNU General Public License v2 or later
*/

@font-face {
  font-family: iran;
  font-style: normal;
  font-weight: 800;
  src: url('assist/font/IRANSansX-Bold.woff') format('woff'),
    url('assist/font/IRANSansX-Bold.woff2') format('woff2');
}

@font-face {
  font-family: iran;
  font-style: normal;
  font-weight: normal;
  src: url('assist/font/IRANSansX-Regular.woff') format('woff'),
    url('assist/font/IRANSansX-Regular.woff2') format('woff2');
}


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

body {
  font: 15px "iran", sans-serif !important;
  line-height: 2;
  direction: rtl;
}

a {
  transition: none;
  color: #f93c5c;
  text-decoration: none !important;
  cursor: pointer;
}

a:hover {
  transition: .5s ease-in-out all;
}

.text-justify {
  text-align: justify;
}

.site-header {
  z-index: 1000;
}

.inner-top-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  background: #fff;
}

.top-header {
  border-bottom: 1px solid #2A32721A;
  height: 35px;
  display: flex;
  position: relative;
  overflow: hidden;
}

.top-header .left-bac {
  width: 40%;
  height: 100%;
  position: absolute;
  background: #e91a22;
  inset-inline-end: 0;
  top: 0;
  z-index: 1;
}

.top-header>.container {
  position: relative;
  z-index: 2;
}

.right-top-header {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
  position: relative;
  flex: 1;
}

.right-top-header span.shape1 {
  width: 41px;
  height: 35px;
  background: #f4f4f4;
  clip-path: polygon(28px 0%, 100% 0%, 14px 100%, 0% 100%);
  inset-inline-end: 0;
  position: absolute;
  top: 0;
  z-index: 3;
}

.right-top-header span.shape2 {
  width: 41px;
  height: 35px;
  background: #f4f4f4;
  clip-path: polygon(28px 0%, 100% 0%, 14px 100%, 0% 100%);
  inset-inline-end: 24px;
  position: absolute;
  top: 0;
  z-index: 3;
}

span.toggle-side-menu {
  color: #6E85A5;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  position: relative;
  z-index: 4;
}

.header-top-menu ul {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 22%;
  padding-right: 0;
  list-style: none;
}

.header-top-menu ul li a {
  font-size: 18px;
  font-weight: 400;
  color: #7a7a7a;
  display: inline-flex;
  transition: 0.3s;
}

.header-top-menu ul li a:hover {
  color: #b32100;
}

.left-top-header {
  display: flex;
  align-items: center;
  gap: 44px;
  background-color: #e91a22;
  width: 40%;
  justify-content: flex-end;
  position: relative;
  clip-path: polygon(0 0, 100% 0%, calc(100% - 26px) 100%, 0 100%);
  height: 100%;
}

.left-top-header .header-info-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.left-top-header .header-info-box span.v-line {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.17);
  display: inline-flex;
}

.left-top-header .header-info-box span.icon {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.47);
}

.left-top-header .header-info-box .text {
  font-size: 14px;
  line-height: 14px;
  font-weight: 400;
  color: #fff;
}

.left-top-header .header-info-box .text span {
  color: rgba(255, 255, 255, 0.47);
}

.navbar-brand img {
  height: 40px;
}

.navbar-toggler {
  border: none !important;
}

.navbar-toggler:focus {
  box-shadow: none;
  border: none;
}

/* ============================
   GENERAL STYLING
============================ */
.navbar-nav .nav-link {
    color: #333;
    font: 600 17px "iran", sans-serif;
    padding: 0.75rem 1rem;
    position: relative;
    transition: color .2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: #d22502;
}

/* ============================
   MAIN DROPDOWN MENU
============================ */
.dropdown-menu {
    background: #fff;
    border-radius: 0.6rem;
    padding: .8rem;
    box-shadow: 0 14px 30px rgba(0,0,0,.12);
    border: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .3s ease;
    min-width: 8rem;
    width: auto;
    white-space: nowrap;
}

.dropdown-menu .dropdown-item,
.dropdown-menu .nav-link {
    font-size: 14px;
    padding: 0.4rem 2rem;
    border-radius: .4rem;
    color: #333;
    transition: all .2s ease;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .nav-link:hover {
    background: #d22502;
    color: #fff;
}

.dropdown-menu .dropdown-item.active {
    background: #961b02 !important;
    color: #fff !important;
}

/* ============================
   SUBMENU ARROW
============================ */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-item {
    padding-right: 20px;
    position: relative;
}

.dropdown-submenu .dropdown-item::after {
    content: "▶";
    font-size: 0.7em;
    margin-right: 5px;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

/* ============================
   DESKTOP (hover + fade)
============================ */
@media (min-width: 992px) {

    /* سطح 1 */
    .dropdown > .dropdown-menu {
        position: absolute;
        top: 100%; 
        right: 0;
        left: auto;
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
        z-index: 1000;
    }

    .dropdown:hover > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* سطح 2 */
    .dropdown-submenu > .dropdown-menu {
        position: absolute;
        top: -1rem; 
        right: 95%; 
        left: auto;
        display: none;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
        z-index: 1000;
    }

    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* سطح 3 */
    .dropdown-submenu .dropdown-submenu > .dropdown-menu {
        position: absolute;
        top: 0;         
        right: 100%;    
        left: auto;
        display: none;
        opacity: 0;
        visibility: hidden;
        transform: translateY(0);
        transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
        z-index: 1000;
    }

    .dropdown-submenu .dropdown-submenu:hover > .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
    }
}

/* ============================
   MOBILE (accordion)
============================ */
@media (max-width: 991px) {

    .dropdown-menu {
        position: relative !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
        margin: 0;
        display: none;
    }

    .dropdown.show > .dropdown-menu {
        display: block !important;
    }

    .dropdown-submenu > .dropdown-menu,
    .dropdown-submenu .dropdown-submenu > .dropdown-menu {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        margin: 0 !important;
        display: none;
        padding-left: 1.5rem;
        border-left: 2px solid #f0f0f0;
        background: #fafafa;
        border-radius: 0.3rem;
        margin-top: 0.2rem;
        font-size: 13px;
    }

    .dropdown-submenu.show > .dropdown-menu {
        display: block !important;
    }
}




.search-box {
  position: relative;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.search-box:focus-within {
  transform: translateY(-2px);
}

.search-input {
  border-radius: 15px !important;
  padding-left: 45px !important;
  padding-right: 20px !important;
  font-size: 13px !important;
  transition: all 0.3s ease !important;
  height: 40px !important;
}

.search-input:focus {
  border-color: #454545 !important;
  box-shadow: none !important;
}

.search-button {
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 15px !important;
  transition: all 0.3s ease-in-out;
  font-size: 12px !important;
  background-color: #7c7c7c !important;
  color: #fff !important;
}

.search-button:hover {
  background-color: #525252;
  transform: translateY(-50%) scale(1.05);
}


.hero-section {
  position: relative;
  height: 600px;
  margin-bottom: 50px;

  clip-path: polygon(0 0,100% 0,100% calc(100% - 40px),calc(50% + 57.13px) calc(100% - 40px),50% 100%,calc(50% - 57.13px) calc(100% - 40px),0 calc(100% - 40px));


}

.img-hero-home {
  height: 600px;
  filter: brightness(100%);
}

.carousel-text {
  right: 15%;
  bottom: 20%;
}

.hero-section .heading-hero-service {
  bottom: 0%;
  width: 100%;
  display: block;
  z-index: 3;
}



.section-title {
  color: #0d2f6f;
  font-weight: 800;
}

.title-dots .se-dot {
  width: .9rem;
  height: .9rem;
  border-radius: 50%;
  display: inline-block;
  margin-inline-start: .25rem
}

.dot-primary {
  background: #7a7a7a
}

.dot-accent {
  background: #ffc107
}

.hero-wrap {
  position: relative
}

.hero-main {
  background: linear-gradient(0deg, rgba(13, 47, 111, .1), rgba(13, 47, 111, .1)), url('https://www.sascco.ir/wp-content/uploads/2025/12/building-construction.jpg');
  background-size: cover;
  background-position: center;
  height: 410px;
  border-radius: 2rem;
  border: 1px solid rgba(13, 47, 111, .15);
  box-shadow: 0 20px 40px rgba(13, 47, 111, .15);
}

.side-label {
  position: absolute;
  inset-inline-end: -20px;
  top: 0px;
  height: 100%;
  writing-mode: vertical-lr;
  text-orientation: mixed;
  left: 0;
  background: #6c757d;
  color: #fff;
  padding: 1.25rem .75rem;
  border-radius: 1.25rem 0 0 1.25rem;
  box-shadow: 0 10px 30px rgba(13, 47, 111, .25);
  font-weight: 700;
}



.feature-item {
  display: flex;
  gap: .50rem;
  align-items: flex-start
}

.feature-badge {
  padding: 5px;
  border-radius: 50%;
  background: #ffc107;
  display: inline-grid;
  place-items: center;
  font-size: 14px;
}

.feature-title {
  font-weight: 800;
  color: #0f172a
}

.feature-desc {
  color: #6b7280;
  font-size: .74rem
}

.btn-pill {
  border-radius: 999px;
  padding: .85rem 1.25rem;
  font-weight: 700
}

.btn-arrow {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(13, 47, 111, .15)
}

.signature {
  height: 54px;
  opacity: .9
}

.manager {
  color: #1f2a44;
  font-weight: 800
}

@media (max-width: 992px) {
  .hero-wrap {
    margin-top: 2rem
  }

  .overlay-card {
    position: relative;
    inset: auto;
    width: 100%;
    bottom: auto;
    margin-top: 1rem
  }

  .side-label {
    display: none
  }
}



.logo-wrap {
  height: 100%;
  /* consistent row height */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: filter .2s ease, opacity .2s ease, transform .2s ease;
  cursor: pointer;
}

.logo-wrap:hover {
  filter: none;
  opacity: 1;
  transform: scale(1.02);
}

.logo-wrap img {
  max-height: 70%;
  max-width: 100%;
  height: auto;
  width: auto;
}

/* Optional: hide controls on extra-small screens for cleanliness */
@media (max-width: 575.98px) {

  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .carousel {
    transition: none;
  }
}

/*=========================================================*/

/* هدر بخش */
.section-eyebrow {
  color: #24b47e;
  font-weight: 600;
  letter-spacing: .3px;
}

.section-title {
  color: #14173d;
  font-weight: 800;
  font-size: clamp(26px, 4vw, 2.5rem);
}


/* کارت وبلاگ افقی */
.post {
  display: grid;
  grid-template-columns: 1.2fr .9fr;
  /* متن بزرگ‌تر از تصویر */
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid #f0f0f3;
  padding-block: 32px;
}

/* در نمایشگرهای کوچک عمودی شود */
@media (max-width: 992px) {
  .post {
    grid-template-columns: 1fr;
  }
}


.post-img {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: #f5f5f7;
}

.post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease
}

.post:hover .post-img img {
  transform: scale(1.05)
}


.post-meta {
  font-size: 14px;
  color: #8b8b98
}

.post-meta .badge {
  background: #edf2ff;
  color: #3a3a7d;
  border: 1px solid #dfe4ff
}

.post-title {
  font-size: clamp(18px, 2.4vw, 20px);
  font-weight: 800;
  line-height: 1.5;
  margin-top: .25rem;
}


.read-more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: #ff4d4d;
  text-decoration: none;
  font-weight: 700
}

.read-more i {
  transition: transform .25s ease
}

.read-more:hover i {
  transform: translateX(-4px)
}

/* چون RTL است، به چپ می‌رود */


/* دایره تزیینی کنار راست ستون راست مانند تصویر */
.dot-decoration {
  position: absolute;
  inset-inline-end: -24px;
  top: 8px;
  width: 36px;
  height: 36px;
  border: 2px solid #e9e9ef;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #c8c8d9;
  font-size: 10px;
  background: #fff
}


/* ریل قطار/کارت سمت راست تصویر دوم برای هماهنگی فاصله‌ها */
.col-divider {
  position: relative
}


/*=============================================================*/
.project-bg {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.dev/svgjs" viewBox="0 0 1422 800"><g shape-rendering="crispEdges" stroke-linejoin="round" fill="none" stroke-width="1" stroke="hsl(0, 0%, 100%)"><polygon points="1422,200 1066.5,0 1422,0"></polygon><polygon points="1066.5,200 711,0 1066.5,0"></polygon><polygon points="888.75,300 1066.5,200 888.75,200"></polygon><polygon points="888.75,300 711,200 888.75,200"></polygon><polygon points="888.75,300 711,400 711,300"></polygon><polygon points="1066.5,300 888.75,300 1066.5,400"></polygon><polygon points="1244.25,200 1422,200 1422,300"></polygon><polygon points="1244.25,200 1066.5,300 1244.25,300"></polygon><polygon points="1244.25,300 1066.5,400 1244.25,400"></polygon><polygon points="1422,400 1244.25,400 1244.25,300"></polygon><polygon points="711,0 355.5,200 711,200"></polygon><polygon points="355.5,200 355.5,0 0,0"></polygon><polygon points="355.5,300 177.75,200 177.75,300"></polygon><polygon points="0,300 177.75,200 177.75,300"></polygon><polygon points="177.75,300 0,400 0,300"></polygon><polygon points="177.75,300 355.5,400 177.75,400"></polygon><polygon points="533.25,200 711,200 533.25,300"></polygon><polygon points="533.25,200 355.5,300 533.25,300"></polygon><polygon points="533.25,400 355.5,300 355.5,400"></polygon><polygon points="533.25,400 533.25,300 711,300"></polygon><polygon points="711,500 711,400 533.25,500"></polygon><polygon points="533.25,400 355.5,400 533.25,500"></polygon><polygon points="355.5,600 533.25,500 533.25,600"></polygon><polygon points="711,600 533.25,600 711,500"></polygon><polygon points="355.5,400 177.75,500 177.75,400"></polygon><polygon points="177.75,400 0,400 0,500"></polygon><polygon points="0,500 177.75,600 177.75,500"></polygon><polygon points="177.75,500 355.5,500 355.5,600"></polygon><polygon points="355.5,600 355.5,800 0,600"></polygon><polygon points="533.25,600 711,700 533.25,700"></polygon><polygon points="533.25,700 533.25,600 355.5,600"></polygon><polygon points="355.5,700 533.25,800 355.5,800"></polygon><polygon points="711,700 533.25,700 533.25,800"></polygon><polygon points="1244.25,500 1422,400 1244.25,400"></polygon><polygon points="1066.5,500 1244.25,500 1066.5,400"></polygon><polygon points="1244.25,600 1066.5,600 1244.25,500"></polygon><polygon points="1422,600 1422,500 1244.25,500"></polygon><polygon points="1066.5,400 1066.5,500 888.75,500"></polygon><polygon points="711,500 888.75,400 888.75,500"></polygon><polygon points="888.75,600 711,600 711,500"></polygon><polygon points="888.75,500 888.75,600 1066.5,500"></polygon><polygon points="1066.5,600 888.75,700 888.75,600"></polygon><polygon points="888.75,700 888.75,600 711,600"></polygon><polygon points="888.75,700 711,800 711,700"></polygon><polygon points="888.75,700 1066.5,800 1066.5,700"></polygon><polygon points="1422,600 1066.5,800 1422,800"></polygon></g><g fill="hsl(220, 62%, 45%)" stroke-width="3" stroke="hsl(220, 43%, 13%)"></g></svg>');
  background-size: cover;
  background-repeat: repeat;
  background-color: #5c5c5c0f;

}

.projects-section {
  padding: 48px 24px;
}

.projects-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

.projects-header h2 {
  margin: 0;

  font-weight: 700;
  font-size: 1.25rem;
}

.carousel-wrap {
  position: relative;
}

/* container with horizontal scrolling */
.cards-track {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 12px 28px 12px;
  scrollbar-width: none;
  /* firefox */
}

.cards-track::-webkit-scrollbar {
  display: none;
}

/* chrome */

.project-card {
  min-width: 280px;
  max-width: 320px;
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 10px 30px rgba(33, 48, 74, 0.08);
  overflow: hidden;
  scroll-snap-align: center;
  flex: 0 0 auto;
  border: 1px solid rgba(19, 34, 75, 0.04);
  display: flex;
  flex-direction: column;
}

.project-card .img-wrap {
  width: 100%;
  height: 170px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(180deg, #e9eef6 0%, #f6f8fb 100%);
}

.project-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-card .card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1 1 auto;
}

.project-title {
  font-size: 1.05rem;
  font-weight: 700;

  text-align: right;
}

.project-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  font-size: 0.86rem;
  color: #8892a6;
  border-top: 1px solid #f0f2f6;
  padding-top: 12px;
}

.project-meta .meta-item {
  text-align: center;
  background: transparent;
}

.project-meta .meta-item b {
  display: block;
  margin-bottom: 6px;
  color: #2a3b57;
  font-weight: 600;
  font-size: 0.8rem;
}

.view-btn {
  margin-top: auto;
  display: block;
  width: 100%;
  border-radius: 12px;
  padding: 10px 14px;
  border: none;
  background: #f1f3f7;
  color: #6b7480;

  cursor: pointer;
  box-shadow: none;
}

.view-btn:active {
  transform: translateY(1px);
}

/* left/right arrows (actually on RTL sides) */
.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  box-shadow: 0 6px 18px rgba(33, 48, 74, 0.07);
  border: 1px solid rgba(19, 34, 75, 0.04);
  cursor: pointer;
}

.nav-arrow i {
  font-size: 14px;
}

.nav-arrow.left {
  right: -18px;
}

/* since dir=rtl, left arrow placed on right */
.nav-arrow.right {
  left: -18px;
}

/* dots */
.dots {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e6e9ef;
  cursor: pointer;
  transition: all .2s;
  box-shadow: inset 0 -2px rgba(0, 0, 0, 0.03);
}

.dot.active {
  width: 36px;
  border-radius: 999px;
  background: linear-gradient(90deg, #21304b, #2f4d9b);
  box-shadow: none;
}

/* small screens */
@media (max-width:991.98px) {
  .cards-track {
    gap: 18px;
    padding-bottom: 20px;
  }

  .project-card {
    min-width: 240px;
    max-width: 260px;
  }

  .nav-arrow.left {
    right: -8px;
  }

  .nav-arrow.right {
    left: -8px;
  }
}

@media (max-width:575.98px) {
  .project-card {
    min-width: 220px;
    max-width: 220px;
  }

  .project-card .img-wrap {
    height: 140px;
  }
}


/* Contact Us Page ==========================================================*/
.content {
  padding: 0rem 0;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.dev/svgjs" viewBox="0 0 1422 800"><g shape-rendering="crispEdges" stroke-linejoin="round" fill="none" stroke-width="1" stroke="hsl(0, 0%, 100%)"><polygon points="1422,200 1066.5,0 1422,0"></polygon><polygon points="1066.5,200 711,0 1066.5,0"></polygon><polygon points="888.75,300 1066.5,200 888.75,200"></polygon><polygon points="888.75,300 711,200 888.75,200"></polygon><polygon points="888.75,300 711,400 711,300"></polygon><polygon points="1066.5,300 888.75,300 1066.5,400"></polygon><polygon points="1244.25,200 1422,200 1422,300"></polygon><polygon points="1244.25,200 1066.5,300 1244.25,300"></polygon><polygon points="1244.25,300 1066.5,400 1244.25,400"></polygon><polygon points="1422,400 1244.25,400 1244.25,300"></polygon><polygon points="711,0 355.5,200 711,200"></polygon><polygon points="355.5,200 355.5,0 0,0"></polygon><polygon points="355.5,300 177.75,200 177.75,300"></polygon><polygon points="0,300 177.75,200 177.75,300"></polygon><polygon points="177.75,300 0,400 0,300"></polygon><polygon points="177.75,300 355.5,400 177.75,400"></polygon><polygon points="533.25,200 711,200 533.25,300"></polygon><polygon points="533.25,200 355.5,300 533.25,300"></polygon><polygon points="533.25,400 355.5,300 355.5,400"></polygon><polygon points="533.25,400 533.25,300 711,300"></polygon><polygon points="711,500 711,400 533.25,500"></polygon><polygon points="533.25,400 355.5,400 533.25,500"></polygon><polygon points="355.5,600 533.25,500 533.25,600"></polygon><polygon points="711,600 533.25,600 711,500"></polygon><polygon points="355.5,400 177.75,500 177.75,400"></polygon><polygon points="177.75,400 0,400 0,500"></polygon><polygon points="0,500 177.75,600 177.75,500"></polygon><polygon points="177.75,500 355.5,500 355.5,600"></polygon><polygon points="355.5,600 355.5,800 0,600"></polygon><polygon points="533.25,600 711,700 533.25,700"></polygon><polygon points="533.25,700 533.25,600 355.5,600"></polygon><polygon points="355.5,700 533.25,800 355.5,800"></polygon><polygon points="711,700 533.25,700 533.25,800"></polygon><polygon points="1244.25,500 1422,400 1244.25,400"></polygon><polygon points="1066.5,500 1244.25,500 1066.5,400"></polygon><polygon points="1244.25,600 1066.5,600 12s44.25,500"></polygon><polygon points="1422,600 1422,500 1244.25,500"></polygon><polygon points="1066.5,400 1066.5,500 888.75,500"></polygon><polygon points="711,500 888.75,400 888.75,500"></polygon><polygon points="888.75,600 711,600 711,500"></polygon><polygon points="888.75,500 888.75,600 1066.5,500"></polygon><polygon points="1066.5,600 888.75,700 888.75,600"></polygon><polygon points="888.75,700 888.75,600 711,600"></polygon><polygon points="888.75,700 711,800 711,700"></polygon><polygon points="888.75,700 1066.5,800 1066.5,700"></polygon><polygon points="1422,600 1066.5,800 1422,800"></polygon></g><g fill="hsl(220, 62%, 45%)" stroke-width="3" stroke="hsl(220, 43%, 13%)"></g></svg>');
  background-size: cover;
  background-repeat: repeat;
  background-color: #5c5c5c0f;

}


/* About Page=================================================*/

.about-us {
  padding: 10rem 0 5rem 0;
  clip-path: polygon(0 0, 50% 100px, 100% 0, 100% 100%, 0 100%);
  margin-top: -5rem;
  width: 100%;
  height: 100%;
  background: linear-gradient(#262645 1px, transparent 1px),
    linear-gradient(90deg, #262645 1px, transparent 1px),
    repeating-linear-gradient(45deg,
      rgba(0, 255, 170, 0.05) 0px 1px,
      transparent 1px 12px),
    repeating-linear-gradient(-45deg,
      rgba(0, 255, 170, 0.05) 0px 1px,
      transparent 1px 12px),
    radial-gradient(circle at center, #0a0a1a 0%, #000 100%);
  color: #fff;
}

.our-teams {
  background: #e6e6e6;
}

.lic-heading h1 {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.5em;
  padding-bottom: 15px;
  position: relative;
}

.lic-heading h1:before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  height: 5px;
  width: 55px;
  background-color: #111;
}

.lic-heading h1:after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  height: 1px;
  width: 95%;
  max-width: 255px;
  background-color: #333;
}

.lic-body {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  height: 100%;
}

.lic-body img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
  transition: 0.3s ease;
}

.lic-body:hover img {
  filter: brightness(0.5);
  transform: scale(1.1);
}

.lic-overlay {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 1rem;
  color: white;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
}

.lic-height {
  height: 100%;
}

/*single post=========================================*/
.single-expert {
  line-height: 2.2;
  color: #000;
  text-align: justify;
}

.single-expert img {
  height: auto;
  margin: 10px 0 10px 0;
  border-radius: 10px;
}

.single-expert p,
.single-expert ul {
  margin: 10px 0 10px 0;
}

.single-share {
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0 4px 0 rgb(181 181 181 / .25);
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 20px;
  padding: 7px 13px 4px 13px;
  align-items: flex-start;
}


.single-expert h1,
.single-expert h2,
.single-expert h3,
.single-expert h4,
.single-expert h5,
.single-expert h6 {
  margin-bottom: 20px;
  line-height: 2rem;
  font-weight: 800;
}

.single-expert .aligncenter {
  display: block;
  margin: 0 auto;
}

.single-expert ol li,
.single-expert ul li {
  line-height: 30px;
  font-size: 16px;
}

blockquote {
  font-style: italic;
  color: #555555;
  padding: 1.4em 32px 0.2em 70px;
  border-right: 8px solid #c3c4c7;
  line-height: 1.6;
  position: relative;
  background: #f0f0f0;
}

blockquote::before {
  font-family: Arial;
  content: "\201C";
  color: #78C0A8;
  font-size: 4em;
  position: absolute;
  left: 10px;
  top: -10px;
}

blockquote::after {
  content: '';
}

blockquote span {
  display: block;
  color: #333333;
  font-style: normal;
  font-weight: bold;
  margin-top: 1em;
}


.avatar {
  height: 3rem;
  width: 3rem;
  position: relative;
  display: inline-block !important;
}

.children {
  list-style: none;
}

.single-expert table {
  width: 100%;
  margin-bottom: 20px;
  color: #212529;
  border-collapse: collapse;
}

.single-expert table th,
.single-expert table td {
  padding: .5rem .5rem;
  border: 1px solid #dee2e6;
  vertical-align: middle
}

.single-expert table thead th {
  vertical-align: bottom;
  border-bottom: 2px solid #dee2e6;
  background-color: #f8f9fa;
}

.single-expert table tbody tr:nth-of-type(odd) {
  background-color: #f9f9f9;
}

.single-expert table tbody tr:hover {
  background-color: #f1f1f1;
}

.single-expert pre {
  counter-reset: line-numbering;
  background: #2c3e50;
  padding: 12px;
  color: #ecf0f1;
  line-height: 100%;
  direction: ltr;
  font-family: monospace;
  border-left: 3px solid #797bff;
}

.single-expert iframe {
  width: 100%;
  height: 500px;
}

.single-expert .wp-video {
  max-width: 100%
}

/* ================================
   DEFAULT WORDPRESS GALLERY RESET
   ================================ */

.gallery {
  padding: 0;
  margin: 0 auto 18px;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px; /* فاصله بین آیتم‌ها */
  justify-content: center;
}

.gallery .gallery-item {
  text-align: center;
  margin: 0;
  padding: 0;
  position: relative;
  flex: 1 1 calc(33.333% - 12px); /* پیش‌فرض ۳ ستونه */
  box-sizing: border-box;
}

/* تصویر */
.gallery img {
  display: block;
  width: 100%;
  height: auto;
  padding: 8px;
  background: #f5f5f5;
  transition: all .2s ease;
  border-radius: 4px;
}

.gallery img:hover {
  background: #fff;
  transform: scale(1.02);
}

/* کپشن */
.gallery .gallery-caption {
  color: #666;
  font-size: 12px;
  margin-top: 6px;
  line-height: 1.4;
}

/* حذف br اضافی وردپرس */
.gallery dl, 
.gallery dt {
  margin: 0;
}

.gallery br + br {
  display: none;
}

/* ================================
   RESPONSIVE COLUMNS
   ================================ */

/* 2 ستون */
.gallery-columns-2 .gallery-item {
  flex-basis: calc(50% - 12px);
}

/* 3 ستون (پیش فرض وردپرس) */
.gallery-columns-3 .gallery-item {
  flex-basis: calc(33.333% - 12px);
}

/* 4 ستون */
.gallery-columns-4 .gallery-item {
  flex-basis: calc(25% - 12px);
}

/* 5 ستون */
.gallery-columns-5 .gallery-item {
  flex-basis: calc(20% - 12px);
}

/* 6 ستون */
.gallery-columns-6 .gallery-item {
  flex-basis: calc(16.666% - 12px);
}

/* ================================
   RESPONSIVE BREAKPOINTS
   ================================ */

@media (max-width: 768px) {
  .gallery .gallery-item {
    flex-basis: calc(50% - 10px);
  }
}

@media (max-width: 480px) {
  .gallery .gallery-item {
    flex-basis: 100%;
  }
}






/* Sidebar home and post ==========*/
.fs-9 {
  font-size: 17px !important;
}

.card-body {
  padding: 1.5rem;
  font-size: 15px;
  color: #333;
}

.card-body ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.card-body li {
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid #eee;
}

.card-body a {
  color: #495057;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.card-body a:hover {
  color: #0a58ca;
  text-decoration: underline;
}

.card-body .post-date {
  display: block;
  font-size: 13px;
  color: #888;
  margin-top: 0.25rem;
}

.card-body li:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

/* widget box sidebar-left ---------------*/
.widget-box {
  position: relative;
  font-size: 15px;
}

.widget-box::before {
  content: "";
  background: #cf3906;
  background-size: 30px;
  background-position: center;
  width: 4px;
  height: 20px;
  position: absolute;
  right: 0px;
  top: 10px;
}

.widget-box::after {
  content: "◦◦◦◦";
  font-weight: 100;
  font-size: 12px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  background-color: transparent;
  width: 25px;
  height: 5px;
  border-radius: 0 8px 8px 0;
  position: absolute;
  left: 2px;
  border: 2px solid #f0f0f0;
  padding: 11px 0px;
  border-left: 0;
  text-align: left;
  color: #b7b7b7;
  line-height: 0.2px;
}

/* footer ===================================================*/
footer {
  background-color: #1c2331;
}

footer .social-footer {
  background-color: #90010f;
}

footer .title-footer {
  position: relative;
}

footer .title-footer::before {
  content: '';
  position: absolute;
  top: 30px;
  right: 0;
  width: 60px;
  background-color: #ff0000;
  height: 2px;
}

footer .copyright {
  background-color: rgba(0, 0, 0, 0.2);
}

/*===================================================*/
@media (max-width: 786px) {

  .section-hero:after,
  .section-hero:before,
  .footer-section:after {
    display: none
  }

  .post-card img {
    height: auto;
  }

  .latest-news-title {
    font-size: 1rem;
  }

  .gallery-item {
    width: calc(50% - 16px);
  }

  .article-content iframe {
    height: 100%;
  }

  #other-news-home .hero {
    min-height: 420px
  }

  #other-news-home .hero-title {
    font-size: 1.5rem !important
  }
}



/*===================================================================*/


/* Topbar */
.topbar {
  gap: .75rem
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .4rem .8rem;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #e9ecf3;
  box-shadow: 0 1px 0 #eef1f6 inset;
  color: #4b5563;
  font-size: .85rem;
  cursor: pointer;
  transition: .3s ease-in-out;
}

.chip:hover {
  border-color: #dfe4ee;
  background-color: #dfe4ee;
}


/* Hero */
.blog-hero {
  position: relative;
  border-radius: 0.7rem;
  overflow: hidden;
  height: 340px;
  background: #0b1220
}

.blog-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5)
}

.blog-hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem 1.25rem 1.5rem;
  color: #fff
}

.blog-hero .badges {
  position: absolute;
  top: 16px;
  inset-inline: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  z-index: 2;
}

.blog-hero .badges a {
  background: rgb(255 97 97 / 85%);
  color: #ececec;

  border-radius: 999px;
  padding: 0rem .65rem;
  font-size: .7rem;
}

.blog-hero-title {
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1.7
}

.blog-hero-title a {
  color: #fff;
}

.blog-hero-title a:hover {
  color: #ff6767;
}

.blog-hero-excerpt {
  color: #e8ebf3;
  line-height: 27px;
}


/* Sidebar */
.sidebar {
  position: sticky;
  top: 24px
}

.side-card {
  background: #fff;
  border-radius: 0.7rem;
  box-shadow: 0 4px 4px 0px #e9ecef;
  border: 1px solid #eef1f6;
}

.side-item {
  display: flex;
  gap: .75rem;
  padding: 0 0 .85rem;
  border-radius: 1rem;
  transition: .2s
}

.side-thumb {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  overflow: hidden;
  flex: none
}

.side-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover
}



/* Cards */
.blog-card {
  background: #fff;
  border: 1px solid #eef1f6;
  border-radius: 0.7rem;
  overflow: hidden;
  box-shadow: 0 4px 4px 0px #e9ecef;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .12)
}

.blog-thumb {
  position: relative;
  height: 220px;
  overflow: hidden
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s
}

.blog-card:hover .blog-thumb img {
  transform: scale(1.04)
}

.blog-badges {
  position: absolute;
  bottom: 10px;
  left: 10px;
  display: flex;
  gap: .4rem;
  flex-wrap: wrap
}

.blog-badge-soft {
  background: #ffffff40;
  border-radius: 5px;
  font-weight: 700;
  padding: 0 .5em;
  font-size: .75rem;
  color: #fff;
}

.blog-body {
  padding: 1rem .9rem 1rem;
  display: flex;
  flex-direction: column;
  flex: 1
}

.blog-title {
  font-weight: 700;
  font-size: 1.02rem;
  margin-bottom: 1rem
}

.blog-excerpt {
  color: #6b7280;
  font-size: .92rem;
  flex-grow: 1;
  line-height: 2rem;
}

.blog-footer {
  margin-top: auto;
  padding-top: .75rem;
  border-top: 1px solid #e9ecf3;
  display: flex;
  justify-content: space-between;
  align-items: center
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #8892a6;
  font-size: .9rem
}

.blog-meta i {
  font-size: 0.8rem
}

.blog-read-more {
  font-size: 1rem;
  color: #ffffff;
  background: #f85858;
  padding: 5px 8px 2px 10px;
  border-radius: .5rem;
}

.blog-read-more:hover {
  text-decoration: underline;
  background: #c14444;
}




/* Utilities */
.icon-btn {
  background: #fff;
  border: 1px solid #e9ecf3;
  border-radius: 999px;
  padding: .5rem .75rem
}

.icon-btn:hover {
  background: #f7f8fc
}


/*404 Page =======================================================*/
#notfound {
  background-image: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  position: relative;
  height: 100vh;
}

#notfound .notfound {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.notfound {
  max-width: 767px;
  width: 100%;
  line-height: 1.4;
  text-align: center;
  padding: 15px;
}

.notfound .notfound-404 {
  position: relative;
  height: 220px;
}

.notfound .notfound-404 h1 {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  font-size: 186px;
  font-weight: 200;
  margin: 0px;
  background: linear-gradient(130deg, #ffa34f, #ff6f68);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  text-transform: uppercase;
}

.notfound h2 {
  font-size: 33px;
  font-weight: 200;
  text-transform: uppercase;
  margin-top: 0px;
  margin-bottom: 25px;
  letter-spacing: 3px;
}


.notfound p {
  font-size: 16px;
  font-weight: 200;
  margin-top: 0px;
  margin-bottom: 25px;
}


.notfound a {
  color: #f83c32;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px dashed #ff6f68;
  border-radius: 2px;
}

.notfound-social>a {
  display: inline-block;
  height: 50px;
  line-height: 50px;
  width: 50px;
  font-size: 20px;
  color: #ff6f68;
  border: 1px solid #efefef;
  border-radius: 50%;
  margin: 3px;
  -webkit-transition: 0.2s all;
  transition: 0.2s all;
}

.notfound-social>a:hover {
  color: #fff;
  background-color: #ff6f68;
  border-color: #ff6f68;
}

@media only screen and (max-width: 480px) {
  .notfound .notfound-404 {
    position: relative;
    height: 168px;
  }

  .notfound .notfound-404 h1 {
    font-size: 142px;
  }

  .notfound h2 {
    font-size: 22px;
  }
}

.widget_calendar {
  width: 100%;
}

.widget_calendar th,
.widget_calendar td {
  padding: 0.75rem;
  vertical-align: top;
  border-top: 1px solid #eceeef;
}


.widget_calendar thead th {
  vertical-align: bottom;
  border-bottom: 2px solid #eceeef;
}

.widget_calendar tbody+tbody {
  border-top: 2px solid #eceeef;
}

.widget_calendar .table {
  background-color: #fff;
}