@layer base {
  :root {
    --font: "IranSans";
    --primary-color: #00bfd2;
    --secondary-color: #ffbe26;
    --black-color: #151515;
    --purple-color: #3f3665;
    --body-size: 16px;
  }
}

:root {
  
  --font: "IranSans";
  --primary-color: #00bfd2;
  --secondary-color: #ffbe26;
  --black-color: #151515;
  --purple-color: #3f3665;
  --body-size: 16px;
}

*,
*::after,
*::before {
  outline: none;
  border: none;
  text-decoration: none;
  margin-block: 0;
  margin-inline: 0;
  list-style: none;
  box-sizing: border-box;
}

body h1.text-purple {
  font-size: 1.5rem;
}

a {
  color: var(--purple-color) !important;
  text-decoration: none !important;
}

p {
  margin-bottom: 0 !important;
}

ul {
  padding-inline-start: 0;
  margin-bottom: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font) !important;
  overflow-x: hidden;

  color: var(--purple-color);
}

@font-face {
  font-family: "IranSans";
  src: url("../fonts/IRANSansXFaNum-Light.woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IranSans";
  src: url("../fonts/IRANSansXFaNum-Regular.woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IranSans";
  src: url("../fonts/IRANSansXFaNum-Medium.woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IranSans";
  src: url("../fonts/IRANSansXFaNum-DemiBold.woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IranSans";
  src: url("../fonts/IRANSansXFaNum-Bold.woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IranSans";
  src: url("../fonts/IRANSansXFaNum-ExtraBold.woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IranSans";
  src: url("../fonts/IRANSansXFaNum-Black.woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* general classes */

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 12px;
  padding: 12px 20px;
  transition: all 0.3s;
  border: 1.9px solid transparent;
  width: fit-content;
}

.btn span {
  font-weight: 700;
}

.btn.yellow-btn {
  background-color: var(--secondary-color);
}

.btn.blue-btn {
  background-color: #b1e5eacc;
}

.btn.blue-btn:hover {
  background-color: #caeaeccc;
}

.btn.yellow-btn:hover {
  background-color: #fc5;
}

.btn.transparent-btn {
  border-color: var(--purple-color);
  background-color: transparent;
}

.btn.transparent-btn:hover {
  background: rgba(63, 54, 101, 0.1);
}

.title-cnt {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.title-cnt .right-part {
  display: flex;
  gap: 4px;
}

.title-cnt .left-part {
  flex-direction: row-reverse;
  display: flex;
  gap: 4px;
}

.title-cnt .bottom-part {
  flex-direction: row-reverse;
  display: flex;
  gap: 4px;
}

.title-cnt .part1 {
  background-color: var(--primary-color);
  border-radius: 8px;
  height: 6px;
  width: 28px;
}

.title-cnt .part2 {
  background-color: var(--primary-color);
  border-radius: 8px;
  height: 6px;
  width: 12px;
}

.title-cnt h2 {
  color: var(--purple-color);
  font-size: 31px;
  font-weight: 900;
  text-align: center;
}

.fancybox-toolbar {
        bottom: 8px;
    right: 50%;
    transform: translateX(50%);
    border-radius: 12px;
    overflow: hidden;
    top: auto;
    bottom: 8px;
}

.fancybox-arrow:after {
    border-radius: 8px;
}

.header-cnt {
  --tw-drop-shadow: drop-shadow(0 0px 6px rgb(0 0 0 / 0.07))
    drop-shadow(0 0px 2px rgb(0 0 0 / 0.06));
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast)
    var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate)
    var(--tw-sepia) var(--tw-drop-shadow);
}

.navbar-item .sub-nav-cnt {
  opacity: 0;
  transform: translate(50%, 20px);
  transition: all 0.6s;
  visibility: hidden;
}

.navbar-item:hover .sub-nav-cnt {
  opacity: 1;
  transform: translate(50%, 0);
  visibility: visible;
}

/* main section */

.main-section-cnt {
  padding-top: 157px;
  background: #d6f1f2;
}

.main-section-img {
  border-radius: 248px 248px 0px 0px;
  height: 600px;
}

.test-resp {
  border-radius: 32px 0px 32px 32px;
}

.test-resp-item .test-resp-item-text {
  height: 24px;
}

.test-resp-item:hover .test-resp-item-text {
  height: 44px;
}

.test-resp-item:hover .test-resp-item-icon {
  transform: rotate(45deg);
}

.test-resp-item:not(:hover) .test-resp-item-text2 {
  opacity: 0;
  transition: all 0.3s;
}

.test-resp-item:hover .test-resp-item-text2 {
  opacity: 1;
  transition: all 1.3s;
}

/* why section */

.slider-nav-slide {
  height: 0px;
}

.why-slide-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 118px;
}

.news-context {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 48px;
}

.why-slide-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 48px;
}

.progress-bar-content {
  width: 0;
}

.contact-form-input-container .online {
  margin-top: 16px;
}

.slick-current .progress-bar .progress-bar-content {
  animation: full-progress 3.2s linear forwards;
}

.news-item .news-item-img img {
  -webkit-backface-visibility: hidden;
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}

input::placeholder {
  font-weight: 300;
  font-size: 14px;
}

@keyframes full-progress {
  0% {
    width: 0%;
  }

  100% {
    width: 100%;
  }
}

.services-slide-cnt .service-slide-content {
  top: 100%;
}

.services-slide-cnt .service-slide-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.services-slide-cnt .services-slide-desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  text-overflow: ellipsis;
}

.services-slider .slick-slide>div {
    display: flex;
    justify-content: center;
    margin: 0 4px;
}

.services-slider .slick-list {
  padding-right: 30px !important;
}

.services-slider .slick-arrow {
  position: absolute;
  cursor: pointer;
  bottom: -64px;
  z-index: 1;
  transition: all 0.6s;
  border-radius: 8px;
}

.services-slider .slick-arrow:hover {
  background-color: #b2f6ffd4;
  transform: scale(1.1);
}

.services-slider .slick-arrow.slick-prev {
  left: 0;
}

.services-slider .slick-arrow.slick-next {
  left: 58px;
}

.cer-slider .slick-arrow {
  position: absolute;
  cursor: pointer;
  bottom: -64px;
  z-index: 1;
  transition: all 0.6s;
  border-radius: 8px;
}

.cer-slider .slick-arrow:hover {
  background-color: #b2f6ffd4;
  transform: scale(1.1);
}

.cer-slider .slick-arrow.slick-prev {
  left: 0;
}

.cer-slider .slick-arrow.slick-next {
  left: 58px;
}

.sea-all .see-all-svg {
  width: 0;
  opacity: 0;
}

.sea-all:hover .see-all-svg {
  width: 24px;
  opacity: 1;
}


.insu-slider .slick-track {
  margin: 0;
}

.insu-slider .slick-slide>div {
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-img-1 {
  animation: rotate 3s infinite;
}

.banner-img-2 {
  transform: rotate(-4deg);
  animation: rotate 3s infinite 1s;
}

.big-faq-img {
  animation: rotate 4s infinite;
}

.small-faq-img {
  transform: rotate(-4deg);
  animation: rotate 5s infinite 0.5s;
}

@keyframes rotate {
  0% {
    transform: rotate(-4deg);
  }

  50% {
    transform: rotate(4deg);
  }

  100% {
    transform: rotate(-4deg);
  }
}

.collapsible--expanded .plus-neg-cnt {
  background-color: var(--secondary-color);
}

.collapsible--expanded .plus-icon {
  opacity: 0;
}

.negative-icon {
  opacity: 0;
}

.collapsible--expanded .negative-icon {
  opacity: 1;
}

.faq-body {
  height: 0;
}

.faq-body {
  max-height: 0;
}

.collapsible--expanded .faq-body {
  max-height: 300px;
}

.expr-slide-cnt .expr-slide-header .expr-slide-name{
 display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
  
}

.expr-slide-cnt .expr-slide-desc {
  display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 94px;
}

.expr-dots .slick-arrow {
  position: absolute;
  cursor: pointer;
  bottom: 50%;
  transform: translateY(50%);
  z-index: 1;
  transition: all 0.6s;
  border-radius: 8px;
}

.expr-dots .slick-arrow:hover {
  background-color: #b2f6ffd4;
  transform: translateY(50%) scale(1.1);
}

.expr-dots .slick-arrow.slick-prev {
  left: -68px;
}

.expr-dots .slick-arrow.slick-next {
  right: -68px;
}

.menu-toggle {
  position: relative;
  height: 26px;
  width: 29px;
  color: #fff;
  cursor: pointer;
  display: flex;
}

.nav-open {
  overflow: hidden;
}

.nav-open main,
.nav-open footer {
  filter: blur(60px);
}



.nav-open .menu-toggle {
  transform: rotate(90deg);
  transition: all 0.5s 0.4s;
}

.menu-toggle {
  transform: rotate(180deg);
  transition: all 0.5s;
}

.menu-toggle-bar {
  display: block;
  position: absolute;
  top: 50%;
  margin-top: -1px;
  right: 0;
  width: 100%;
  height: 3px;
  border-radius: 4px;
  background-color: white;
}

body:not(.nav-open) .menu-toggle .menu-toggle-bar {
  transition: all 0.3s ease 0.4s;
}

.nav-open .menu-toggle .menu-toggle-bar {
  transition: all 0.3s ease;
}

.menu-toggle-bar.menu-toggle-bar--top {
  transform: translate(0, -8px);
}

.menu-toggle-bar.menu-toggle-bar--bottom {
  transform: translate(0, 8px);
}

.nav-open .menu-toggle-bar.menu-toggle-bar--top {
  transform: translate(0, 0) rotate(45deg);
}

.nav-open .menu-toggle-bar.menu-toggle-bar--middle {
  opacity: 0;
}

.nav-open .menu-toggle-bar.menu-toggle-bar--bottom {
  transform: translate(0, 0) rotate(-45deg);
}

.mobile-nav {
  height: 0;
}

.why-slide-cnt .why-slide {
  transition: all 0.4s;
  height: 180px;
}

.slick-dots {
  display: flex;
  justify-content: center;
  font-size: 0;
  margin: 24px auto 0 auto;
  border: 4px solid #ffffff00;
}

.slick-dots li {
  border-radius: 50%;
  background-color: #05a0b0;
  margin: 0 2px;
  cursor: pointer;
  height: 8px;
  width: 8px;
  transition: all 0.3s;
}

.slick-dots li.slick-active {
  background-color: var(--primary-color);
  width: 24px;
  border-radius: 8px;
}

.nav-open .mobile-nav {
  height: calc(100dvh - 92px);
  padding-top: 64px;
}

.mobile-sub-nav {
  max-height: 0;
}

.collapsible--expanded .collapse-icon svg {
  transform: rotate(180deg);
}

.collapsible--expanded .mobile-sub-nav {
  max-height: 400px;
}

input[type=file] {
  z-index: 100;
  cursor: pointer;
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  opacity: 0;
}

.nav.nav-tabs {
  border-bottom: 1px solid #62bbbd;
  padding-bottom: 16px;
  margin-bottom: 32px;
}

.nav-tabs .nav-item .nav-link.active {
  background-color: #02abbc1f;
}

.nav-tabs .nav-item .nav-link{
  border-radius: 50%;
  aspect-ratio: 1/1;
  width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.insu-slider .slick-track {
  display: flex;
  align-items: center;
}


@media (min-width: 200px) {
  .container-x {
    max-width: 100%;
    padding: 0 8px;
  }
}

@media (min-width: 360px) {
  .container-x {
    max-width: 340px;
    padding: 0px;
  }
}

@media (min-width: 400px) {
  .container-x {
    max-width: 380px;
  }
}

@media (min-width: 576px) {
  .container-x {
    max-width: 550px;
     
  
  }
 
}

@media (min-width: 650px) {
  .container-x {
    max-width: 630px;
     
  
  }
 
}

#basic_insurance {
    height: 48px;
}

@media (min-width: 768px) {
  .container-x {
    max-width: 740px;
  }
}

@media (min-width: 1000px) {
  .container-x {
    max-width: 960px;
  }
}

@media (min-width: 1240px) {
  .container-x {
    max-width: 1200px;
  }
}

@media (min-width: 1536px) {
  .container-x {
    max-width: 1224px;
  }
}
@media (min-width: 1024px) {
  .why-slide-cnt .why-slide {
    width: 171px !important;
    transition: all 0.4s;
    height: 180px;
  }

  .slick-current .why-slide-cnt .why-slide {
    width: 416px !important;
  }

  .services-slide-cnt:hover .service-slide-content {
    top: 0;
  }
}

.all-services .services-slide-cnt:hover .service-slide-content {
  top: 0;
}

@media (max-width: 1240px) {
  .title-cnt h2 {
    font-size: 24px;
  }

  .footer-list li a {
 font-size: 14px;
  }
}

@media (max-width: 1024px) {
  .services-slider .slick-list {
    padding: 0 56px !important;
  }

  .slick-current .service-slide-content,
  .slick-target .service-slide-content {
    top: 0;
  }

  .test-resp {
    border-radius: 32px;
  }

  .main-section-img {
    height: 520px;
  }

  .services-slider .slick-arrow.slick-next {
    left: 50%;
    transform: translateX(20%);
  }
  .services-slider .slick-arrow.slick-prev {
    right: 50%;
    left: auto;
    transform: translateX(-20%);
  }

  
  .cer-slider .slick-arrow.slick-next {
    left: 50%;
    transform: translateX(20%);
  }
  .cer-slider .slick-arrow.slick-prev {
    right: 50%;
    left: auto;
    transform: translateX(-20%);
  }


  .main-section-img {
    border-radius: 248px 248px 16px 16px;
  }
}

@media (max-width: 992px) {
  .main-section-img {
    height: 400px;
  }
}

@media (max-width: 576px) {
  .services-slider .slick-list {
    padding: 0 80px !important;
  }

  .contact-form-input-container .online {
    margin-top: 8px;
  }

  .test-resp-item .test-resp-item-text {
    height: 44px;
  }

  .test-resp-item .test-resp-item-icon {
    transform: rotate(45deg);
    /* f0f0f078 */
  }

  .test-resp-item:not(:hover) .test-resp-item-text2 {
    opacity: 1;
  }

  .test-resp-item .test-resp-item-text2 {
    opacity: 1;
  }

  .services-slider .slick-list .slick-slide > div {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .expr-dots .slick-arrow.slick-next {
    right: -48px;
  }

  .expr-dots .slick-arrow.slick-prev {
    left: -48px;
  }

  .main-section-img {
    height: 496px;
  }

  .why-slide-cnt .why-slide {
    height: 324px;
  }
  .services-cnt {
    padding-top: 72px !important;
  }
  .two-banner-cnt {
    padding-top: 0 !important;
  }
  .why-slide-text {
    font-size: 14px;
    height: 108px;
  }

  .title-cnt h2 {
    font-size: 20px;
}
}

@media (max-width: 400px) {
  .services-slider .slick-list {
    padding: 0 60px !important;
  }

  .all-services .services-slide {
    width:160px;
    height: 200px;
  }

  .cer-slide-cnt .cer-slide {
    height: 172px;
    }
    
    .expert-item-cnt  .expert-img-cnt  {
      height: 228px;
      padding-top: 2.5rem;
    }

    .banner h2 {
      font-size: 20px;
    }
}
@media (max-width: 340px) {
  .menu-toggle {
    margin-left: 6px !important;
  }

  .all-services .services-slide {
    width: 138px;
    height: 188px;
}

.all-services .service-slide-content .btn.blue-btn {
padding: 0.5rem 8px;
}

.all-services .services-slide-cnt .service-slide-title  {
font-size: 14px;
}

.all-services .services-slide-cnt .services-slide-desc {
    -webkit-line-clamp: 3;
  }

  .all-services .services-slide-cnt .service-slide-content {
    gap: 8px;
  }

  .reserve-cnt {
    flex-direction: column-reverse;
  }

  .malek-logo {
    gap: 2px;
  }

  .malek-logo span {
    font-size: 13px;
  }

  .footer-logo h3 {
    font-size: 18px;
  }

  .footer-list a {
    font-size: 14px;
    font-weight: 500;
  }
}

@media (min-width: 700px) and (max-width: 900px) and (orientation: landscape) {
  /* .nav-open .mobile-nav {
    height: 78vh;
  } */

  .why-slide-text {
    font-size: 14px;
    height: 108px;
  }

  .two-banner-cnt {
    padding-top: 0 !important;
  }

  .services-cnt {
    padding-top: 72px !important;
  }

}

@media (min-width: 650px) and (max-width: 700px) and (orientation: landscape) {
  .container-x {
    max-width: 630px;
  }
  .why-slide-text {
    font-size: 14px;
    height: 108px;
  }

  .cer-slide-cnt .cer-slide {
    height: 198px;
    }

  .services-cnt {
    padding-top: 72px !important;
  }

  .two-banner-cnt {
    padding-top: 0 !important;
  }

  .services-slider .slick-list {
    padding: 0 0px !important;
  }

  .bg-\[linear-gradient\(90deg\2c _\#fff_0\%\2c _transparent_100\%\)\] {
    background-image: linear-gradient(
      90deg,
      #f8fafc 0%,
      transparent 100%
    ) !important;
  }
}

@media (min-width: 600px) and (max-width: 650px) and (orientation: landscape) {
  .container-x {
    max-width: 580px;
  }

  .cer-slide-cnt .cer-slide {
    height: 198px;
    }

  .why-slide-text {
    font-size: 14px;
    height: 108px;
  }

  .two-banner-cnt {
    padding-top: 0 !important;
  }

  .services-cnt {
    padding-top: 72px !important;
  }

  .services-slider .slick-list {
    padding: 0 0px !important;
  }
}
