@media (min-width: 1560px) {
  .home-hero-video-wrapper {
    height: clamp(850px, 1px + 58.9583vw, 1133px);
  }

  .home-blog .posts-grid .post-thumbnail {
    height: auto;
    aspect-ratio: 5 / 3;
  }

  .testiomonials-full-width .testiomonials-slider-full-width {
    max-width: 1760px;
  }

  .contacts-bottom-block::after {
    right: 0;
  }
}

@media (max-width: 1440px) {
  .container {
    padding-right: clamp(16px, -16px + 6.6667vw, 80px);
    padding-left: clamp(16px, -16px + 6.6667vw, 80px);
  }

  .home-hero-video-wrapper {
    height: clamp(204px, -119px + 67.2917vw, 850px);
  }

  .home-hero .hero-heading {
    padding-top: clamp(40px, 28px + 2.5vw, 64px);
    padding-bottom: clamp(24px, 16px + 1.6667vw, 40px);
  }


  .home-hero .subheading-2 {
    font-size: var(--fluid-18-20);
    line-height: 1.4;
  }

  .post-type-archive-cases .section-cases-item {
    max-width: 42vw;
    height: initial;
    aspect-ratio: 306 / 451;
  }

  .footer-top-section {
    margin-bottom: clamp(24px, -4px + 5.8333vw, 80px);
  }
}

@media screen and (max-width: 1340px) {
  .single-career-hero {
    height: clamp(370px, 308.9091px + 10.9091vw, 466px);
  }

  .career-hero-title {
    font-size: clamp(44px, 26.1818px + 3.1818vw, 72px);
    line-height: 1.1111;
  }

  .career-hero-content {
    padding-top: clamp(84px, 29.2727px + 9.7727vw, 170px);
  }
}

@media screen and (max-width: 1240px) {
  .home-services-grid-container {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer accordion styles */
  .footer-accordion {
    position: relative;
    margin-bottom: 16px;
  }

  .footer-accordion .accordion-toggle {
    position: relative;
    padding-right: 24px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .footer-accordion .accordion-toggle::after {
    position: absolute;
    top: 50%;
    right: 0;
    color: #fff;
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 5V19M5 12H19' stroke='%23F5F7FC' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    transition: transform 0.3s;
    transform: translateY(-50%);
  }

  .footer-accordion.active .accordion-toggle::after {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12H19' stroke='%23F5F7FC' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    transform: translateY(-50%) rotate(180deg);
  }

  .footer-accordion.active .accordion-toggle {
    /* color: var(--e-global-color-brand); */
  }

  .footer-menus-wrapper {
    flex-direction: column;
    gap: 0;
  }

  .footer-solutions-services-wrapper {
    gap: 0;
  }

  .footer-top-section .container {
    flex-direction: column;
    gap: 30px;
  }

  .company-contacts {
    padding: 24px;
  }
}

@media (max-width: 1023px) {
  h1,
  .h1 {
    margin: 0;
    font-family: Satoshi-Medium, serif;
    font-size: 64px;
  }

  h2,
  .h2 {
    margin: 0;
    font-family: Satoshi-Medium, serif;
    font-size: 40px;
  }

  h3,
  .h3 {
    margin: 0;
    font-family: Satoshi-Medium, serif;
    font-size: 36px;
    font-weight: 500;
  }

  h4,
  .h4 {
    margin: 0;
    font-family: Satoshi-Regular;
    font-size: 34px;
    font-weight: 400;
  }

  h5,
  .h5 {
    margin: 0;
    font-family: Satoshi-Medium;
    font-size: 32px;
    font-weight: 500;
  }

  h6,
  .h6 {
    margin: 0;
    font-family: Satoshi-Medium;
    font-size: 28px;
    font-weight: 500;
  }

  .subheading-1 {
    font-family: Satoshi-Medium;
    font-size: 24px;
    font-weight: 500;
  }

  .subheading-2 {
    font-family: Satoshi-Regular;
    font-size: 20px;
    font-weight: 400;
  }

  .body-text-1 {
    font-family: Satoshi-Medium;
    font-size: 20px;
    font-weight: 500;
  }

  .body-text-2 {
    font-family: Satoshi-Regular;
    font-size: 18px;
    font-weight: 400;
  }

  .body-text-3 {
    font-family: Satoshi-Regular;
    font-size: 16px;
    font-weight: 400;
  }

  .link-text {
    font-family: Satoshi-Bold;
    font-size: 16px;
    font-weight: 700;
  }

  .caption-text {
    font-family: Satoshi-Bold;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .main-navigation,
  .header-cta {
    display: none;
  }

  .site-header .site-branding img {
    left: 0;
  }

  .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100vh;
    padding-top: var(--e-global-header-height-mob);
    background: var(--e-global-color-bg);
    transition: transform 0.1s;
    transform: translateX(100%);
  }

  .mobile-menu.active {
    transition: transform 0.2s;
    transform: translateX(0);
  }

  .mobile-menu .mobile-menu-inner {
    height: 100%;
    padding: 0 16px;
    overflow: auto;
  }

  .mobile-menu .sub-menu {
    position: absolute;
    display: none;
    visibility: hidden;
  }

  .close-mobile-menu {
    position: absolute;
    top: 26px;
    right: 16px;
    display: none;
    width: 24px;
    height: 24px;
    background: url('../images/svg/menu-close.svg') center/contain no-repeat;
    border: none;
  }

  .mobile-menu-active .site-header .site-branding {
    z-index: 11;
  }

  .mobile-menu-active .close-mobile-menu {
    z-index: 11;
    display: block;
  }

  .mobile-menu .menu {
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .mobile-menu .menu li {
    padding: 20px;
  }

  .mobile-menu .menu li a {
    font-family: Satoshi-Medium, sans-serif;
    font-size: 28px;
    font-weight: 500;
    line-height: 36px;
    color: var(--e-global-color-text);
    text-decoration: none;
  }

  .mobile-menu .menu .menu-item-11 > .sub-menu {
    position: fixed;
    top: 76px;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100vh;
    padding: 0;
    padding-top: 1px;
    padding-bottom: 81px;
    margin: 0;
    overflow: scroll;
    list-style: none;
    background: var(--e-global-color-bg);
    transition: 0.3s;
    transform: translateX(100%);
  }

  .mobile-menu .menu .menu-item-11 > .sub-menu.active {
    transition: 0.2s;
    transform: translateX(0);
  }

  .mobile-menu .menu-item-has-children.menu-item-11 {
    position: relative;
  }

  .mobile-menu .menu-item-has-children.menu-item-11::after {
    position: absolute;
    top: 22px;
    right: 0;
    display: inline-block;
    width: 24px;
    height: 24px;
    content: '';
    background: url('../images/svg/tabler-icon-arrow-down-left-2.svg') center/contain no-repeat;
  }

  .mobile-menu .menu .menu-item-11 > .sub-menu .sub-menu {
    padding: 0;
    margin: 0;
    margin-bottom: -3px;
    list-style: none;
  }

  .mobile-menu .menu .menu-item-11 > .sub-menu li,
  .mobile-menu .menu .menu-item-11 > .sub-menu .sub-menu li {
    border: none;
  }

  .mobile-menu .menu .menu-item-11 > .sub-menu > li {
    padding: 0 16px;
  }

  .mobile-menu .menu .menu-item-11 > .sub-menu .back-button {
    position: relative;
    padding: 0 16px;
    border: none;
  }

  .mobile-menu .menu .menu-item-11 > .sub-menu > li:not(.back-button) a[href='#'] {
    display: inline-block;
    padding-left: 12px;
    margin-top: 23px;
    margin-bottom: 8px;
    font-family: Satoshi-Bold;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    color: rgb(240 243 250 / 24%);
    text-transform: uppercase;
    letter-spacing: 0.04rem;
  }

  .mobile-menu .menu .menu-item-11 > .sub-menu .back-button::before {
    position: relative;
    top: 1px;
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 8px;
    content: '';
    background: url('../images/svg/tabler-icon-arrow-down-left-2.svg') center / contain no-repeat;
    transform: rotate(180deg);
  }

  .mobile-menu .menu .menu-item-11 > .sub-menu .sub-menu li {
    position: relative;
    display: flex;
    align-items: center;
    height: 80px;
    padding-left: 12px;
    margin-bottom: 4px;
    background: rgb(7 11 18 / 100%);
    border-radius: 12px;
  }

  .mobile-menu .menu .menu-item-11 > .sub-menu .sub-menu li a {
    z-index: 111;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    font-size: 20px;
    line-height: 28px;
  }

  .mobile-menu .menu-item-11 > .sub-menu > .menu-item-has-children:nth-child(2) ul li::before {
    position: relative;
    top: -1px;
    display: inline-block;
    flex: none;
    content: '';
  }

  .mobile-menu .menu-item-11 > .sub-menu > .menu-item-has-children:nth-child(2) ul li:nth-child(1)::before {
    width: 56px;
    height: 24px;
    margin-right: 16px;
    background: url('../images/png/submenu-solutions-1.png');
    background-repeat: no-repeat;
    background-size: contain;
  }

  .mobile-menu .menu-item-11 > .sub-menu > .menu-item-has-children:nth-child(2) ul li:nth-child(2)::before {
    width: 56px;
    height: 24px;
    margin-right: 16px;
    background: url('../images/png/submenu-solutions-2.png');
    background-repeat: no-repeat;
    background-size: contain;
  }

  .mobile-menu .menu-item-11 > .sub-menu > .menu-item-has-children:nth-child(2) ul li:nth-child(3)::before {
    width: 56px;
    height: 24px;
    margin-right: 16px;
    background: url('../images/png/submenu-solutions-3-mob.png');
    background-repeat: no-repeat;
    background-size: contain;
  }

  .mobile-menu .menu .menu-item-11 > .sub-menu .sub-menu li::after {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 56px;
    height: 56px;
    content: '';
    background-color: rgb(12 15 28 / 100%);
    background-image: url('../images/svg/tabler-icon-arrow-down-left.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 24px 24px;
    border-radius: 100px;
  }

  .mobile-menu .menu-item-11 > .sub-menu > .menu-item-has-children:nth-child(3) li {
    height: 110px;
  }

  .mobile-menu .menu-item-11 > .sub-menu > .menu-item-has-children:nth-child(3) li::after {
    top: 27px;
  }

  .mobile-menu .menu-item-11 > .sub-menu .wp-menu-img-before img {
    position: relative;
    top: -1px;
    left: 4px;
    width: 80px;
    margin-right: 4px;
  }

  .mobile-menu .header-cta-mobile {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: block;
    width: 100%;
    padding: 0 16px;
    padding-top: 10px;
    padding-bottom: 16px;
    background: var(--e-global-color-bg);
  }

  .mobile-menu .header-cta-mobile button {
    width: 100%;
    height: 64px;
    font-size: 16px;
  }

  .mobile-menu .header-cta-mobile button i {
    left: -2px;
    margin-right: 5px;
  }

  .site-header {
    height: var(--e-global-header-height-mob);
  }

  #page {
    padding-top: var(--e-global-header-height-mob);
  }

  .header-burger {
    display: block;
    width: 24px;
    height: 24px;
    background: url('../images/svg/menu-burger.svg') center/contain no-repeat;
    border: none;
  }

  .mobile-menu-active .header-burger {
    display: none;
  }

  .hero-cta {
    position: relative;
    right: unset;
    bottom: unset;
  }

  .hero-cta button {
    width: 100%;
  }

  .home-services-grid {
    padding: 0 16px;
  }

  .home-testimonials {
    margin-bottom: 212px;
  }

  .home-testimonials > .container {
    position: relative;
  }

  .home-testimonials .section-heading {
    position: unset;
  }

  .home-testimonials h2 br {
    display: none;
  }

  .home-testimonials .testimonials-carousel {
    margin-top: -7px;
  }

  .home-testimonials .testimonials-carousel .slick-next,
  .testimonials-carousel .slick-prev {
    top: unset;
    bottom: -114px;
  }

  .home-testimonials .testimonials-carousel .testimonials-item .text {
    min-height: 413px;
  }

  .home-testimonials .btn-wrap {
    position: absolute;
    right: 155px;
    bottom: -82px;
  }

  .home-testimonials .btn-wrap .btn-64.btn-blue-text {
    height: 64px;
    padding: 16px;
  }

  .home-blog > .container {
    position: relative;
  }

  .home-blog .section-heading {
    position: unset;
    margin-bottom: 26px;
  }

  .home-blog .posts-grid {
    display: flex;
    gap: 4px;
    margin-top: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .home-blog .posts-grid .post {
    width: 100%;
  }

  .home-blog .posts-grid .post:nth-child(2),
  .home-blog .posts-grid .post:nth-child(3) {
    display: none;
  }

  .home-blog .posts-grid .post-thumbnail {
    height: 209px;
  }

  .home-blog .posts-grid .post-date {
    color: rgb(240 243 250 / 40%);
  }

  .home-blog .section-heading .btn-wrap {
    position: absolute;
    right: 0;
    bottom: -61px;
    width: 100%;
    padding: 0 16px;
  }

  .home-blog .section-heading .btn-wrap .btn-64 {
    width: 100%;
  }

  .home-blog .posts-grid .post-title {
    min-height: auto;
    padding-right: 5px;
    padding-bottom: 75px;
    font-size: 28px;
    line-height: 36px;
  }

  .home-blog .posts-grid .post-bottom::after {
    right: 20px;
    bottom: 0;
  }

  .contacts-bottom-block {
    position: relative;
    height: auto;
    margin-top: 165px;
  }

  .contacts-bottom-block h2 br {
    display: none;
  }

  .contacts-bottom-block::after {
    display: none;
  }

  .contacts-bottom-block .btn-wrap {
    flex-direction: column;
    margin-top: 24px;
  }

  .contacts-bottom-block .btn-wrap button {
    width: 100%;
    height: 76px;
    padding: 0 22px;
    margin-bottom: 8px;
    border-width: 1px;
  }

  .contacts-bottom-block .btn-wrap .btn-80 {
    position: relative;
    top: 0;
    height: 80px;
    padding: 0 60px;
  }

  .servises-hero .flex {
    flex-direction: column;
    align-items: normal;
  }

  .servises-hero .flex > .col-50 {
    width: 100%;
  }

  .servises-hero h1 {
    font-size: 56px;
    font-weight: 500;
    line-height: 64px;
    text-transform: capitalize;
    letter-spacing: 0;
  }

  .servises-hero .hero-descripton {
    font-size: 28px;
    line-height: 36px;
  }

  .servises-hero .hero-descripton p {
    padding-left: 0;
  }

  .servises-hero {
    padding-top: 53px;
    padding-bottom: 52px;
  }

  .services-overview-content .flex {
    flex-direction: column;
  }

  .services-overview-content .flex .col-50 {
    width: 100%;
  }

  .services-benefits-content .items {
    grid-template-columns: 1fr;
  }

  .testiomonials-full-width .testiomonial-item .flex {
    flex-direction: column;
  }

  .testiomonials-full-width .testiomonial-content.col {
    order: 2;
    width: 100%;
  }

  .testiomonials-full-width .testiomonial-photo.col {
    order: 1;
    width: 100%;
  }

  .testiomonials-full-width .slick-next,
  .testiomonials-full-width .slick-prev {
    top: unset;
    bottom: -106px;
  }

  .blog-hero::after {
    top: 40%;
  }

  .blog-posts,
  .tag-page-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .editors-choice-container {
    display: block;
  }

}

@media screen and (max-width: 998px) {
  .post-template-single-blog .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .post-template-single-blog .related-post:last-child {
    display: none;
  }

  .single-cases .case-card {
    width: 100%;
  }

  .single-cases .case-card-image-wrap {
    width: 100%;
    aspect-ratio: 343 / 424;
  }

  .home-services-grid-container {
    grid-template-columns:  1fr;
  }

  .home-services-grid-container .grid-item:first-child {
    grid-column: span 1;
  }

  .home-hero-video-wrapper .swiper-button-next,
  .home-hero-video-wrapper .swiper-button-prev,
  .home-hero-video-wrapper [class*="swiper-button-"],
  .home-hero-video-wrapper .slider-arrow,
  .home-hero-video-wrapper [class*="arrow-"],
  .home-hero-video-wrapper [class*="-arrow"] {
    display: none !important;
  }

  .post-template-single-blog .content-wrapper .container {
    grid-template-columns: 1fr;
  }

}

@media screen and (max-width: 768px) {
  h1,
  .h1 {
    margin: 0;
    font-family: Satoshi-Medium;
    font-size: 48px;
  }

  h2,
  .h2 {
    margin: 0;
    font-family: Satoshi-Medium;
    font-size: 40px;
  }

  h3,
  .h3 {
    margin: 0;
    font-family: Satoshi-Medium;
    font-size: 34px;
    font-weight: 500;
  }

  h4,
  .h4 {
    margin: 0;
    font-family: Satoshi-Regular;
    font-size: 32px;
    font-weight: 400;
  }

  h5,
  .h5 {
    margin: 0;
    font-family: Satoshi-Medium;
    font-size: 28px;
    font-weight: 500;
  }

  h6,
  .h6 {
    margin: 0;
    font-family: Satoshi-Medium;
    font-size: 24px;
    font-weight: 500;
  }

  #page {
    padding-top: 50px;
  }

  .post-type-archive-cases .section-title {
    font-size: 56px;
  }

  .post-type-archive-cases .section-cases-list {
    grid-template-columns: minmax(270px, 1fr);
    gap: 25px;
    justify-items: center;
  }

  .post-type-archive-cases .section-cases-item {
    width: 100%;
    max-width: 343px;
    height: initial;
    aspect-ratio: 306 / 451;
  }


  .blog-posts,
  .tag-page-content {
    grid-template-columns: 1fr;
  }


  .post-template-single-blog .related-grid {
    grid-template-columns: 1fr;
  }

  .post-template-single-blog .related-post:not(:nth-child(1)) {
    display: none;
  }

  .post-template-single-blog .related-posts .btn-wrap {
    display: flex;
    visibility: visible;
  }

  .post-template-single-blog ol,
  .post-template-single-blog ul.wp-block-list {
    margin: 0 0 24px;
  }
}

@media screen and (max-width: 560px) {
  .home-hero-video-wrapper {
    overflow: hidden;
    border-radius: 12px;
  }

  .home-hero .home-hero-video {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100%;
    max-width: 1440px;
    height: 100%;
    object-fit: cover;
    transform: translateX(-50%);
  }

  .home-hero .subheading-2 {
    text-align: start;
  }

  .single-cases .btn {
    display: flex;
    visibility: visible;
  }

  .single-cases .related-cases .swiper-buttons {
    display: none;
    visibility: hidden;
  }

  .related-cases .swiper-wrapper {
    flex-direction: column;
    gap: 24px;
  }

  .related-cases .slider-item:not(:nth-child(1), :nth-child(2)) {
    display: none;
    visibility: hidden;
  }

  .career-hero-title {
    font-size: 44px;
    line-height: 52px;
  }

  .single-career-hero {
    height: auto;
    min-height: 370px;
  }

  .career-hero-content {
    padding-top: 84px;
    padding-bottom: 19px;
  }

  .career-hero-locations,
  .career-hero-levels,
  .career-hero-locations p,
  .career-hero-levels p {
    font-size: 16px;
    line-height: 24px;
  }
}

@media screen and (max-width: 480px) {
  .container {
    padding-right: 16px;
    padding-left: 16px;
  }

  .home-hero {
    padding-bottom: 70px;
  }

  .home-hero .hero-heading {
    gap: 13px;
    padding-top: 47px;
  }

  .home-hero .heading-1 {
    font-size: 44px;
    line-height: 52px;
  }

  .post-share-block {
    padding: 20px 15px;
  }

  .post-share-title {
    font-size: 18px;
  }

  .post-share-subtitle {
    font-size: 14px;
  }

  .share-button {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .share-notification {
    width: 90%;
    max-width: 280px;
    white-space: normal;
  }

  .footer-bottom-section .container {
    flex-direction: column-reverse;
    gap: 16px;
    align-items: center;
  }

  .footer-top-section {
    margin-bottom: 24px;
  }
}
