/* =========================================================
   SERVICES DROPDOWN - FINAL MOBILE FIX
========================================================= */

@media (max-width: 1199px) {
  /* Services parent */
  .swm-nav .nav-item.dropdown {
    position: relative !important;
  }
  /* =========================================================
   SWM HEADER - MOBILE
========================================================= */

  @media (max-width: 767px) {
    .swm-header {
      position: relative;
      z-index: 9999;
      width: 100%;
      height: 61px;
      min-height: 61px;
      overflow: visible;
      box-sizing: border-box;
    }
  }

  /* =========================================================
   SWM HEADER - MOBILE MENU FIX
   FULLY ISOLATED
========================================================= */

  @media (max-width: 1199px) {
    /* HEADER */
    .swm-header {
      width: 100%;
      height: 61px;
      min-height: 61px;
      position: relative;
      z-index: 999999;
      overflow: visible !important;
    }

    /* NAVBAR */
    .swm-header .navbar {
      width: 100%;
      min-height: 61px;
      position: relative;
      z-index: 999999;
      padding: 0;
      overflow: visible !important;
    }

    /* INNER */
    .swm-header .swm-header-inner {
      width: 100%;
      min-height: 61px;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 15px;
      overflow: visible !important;
    }

    /* LOGO */
    .swm-header .swm-logo {
      position: relative;
      z-index: 1000001;
      display: flex;
      align-items: center;
      max-width: 70%;
    }

    .swm-header .swm-logo-img {
      display: block;
      width: auto;
      max-width: 190px;
      height: auto;
      max-height: 50px;
      object-fit: contain;
    }

    /* =====================================================
       MOBILE TOGGLE
    ===================================================== */

    .swm-header .swm-toggler {
      width: 44px;
      height: 44px;
      min-width: 44px;

      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;

      gap: 5px;
      padding: 0;
      margin: 0;

      position: relative;
      z-index: 1000002;

      border: 0 !important;
      outline: none !important;
      box-shadow: none !important;

      background: transparent !important;
    }

    .swm-header .swm-toggler:focus,
    .swm-header .swm-toggler:active {
      outline: none !important;
      box-shadow: none !important;
    }

    .swm-header .swm-toggler span {
      display: block;
      width: 25px;
      height: 3px;
      border-radius: 10px;
      background: #eeecec;
      transition: all 0.3s ease;
    }

    /* =====================================================
       COLLAPSE MENU
    ===================================================== */

    .swm-header .swm-collapse {
      width: 100%;

      position: absolute !important;
      top: 61px;
      left: 0;

      z-index: 1000000;

      margin: 0 !important;
      padding: 0 !important;

      background: #ffffff;

      border-top: 1px solid rgba(0, 0, 0, 0.08);
      border-bottom: 1px solid rgba(0, 0, 0, 0.08);

      box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);

      overflow: visible !important;
    }

    /* IMPORTANT:
       Bootstrap collapse ko proper height dena */
    .swm-header .swm-collapse.show {
      display: block !important;
    }

    .swm-header .swm-collapse.collapsing {
      display: block !important;
      height: 0;
      overflow: hidden !important;
      transition: height 0.25s ease;
    }

    /* =====================================================
       NAVIGATION
    ===================================================== */

    .swm-header .swm-nav {
      width: 100%;
      display: flex;
      flex-direction: column;

      margin: 0 !important;
      padding: 8px 0 !important;

      list-style: none;
    }

    .swm-header .swm-nav .nav-item {
      width: 100%;
      margin: 0;
      padding: 0;
    }

    .swm-header .swm-nav .nav-link {
      width: 100%;

      display: flex;
      align-items: center;

      min-height: 46px;

      margin: 0;
      padding: 10px 20px !important;

      color: #222222 !important;
      background: #ffffff;

      font-size: 14px;
      font-weight: 600;
      text-decoration: none;

      border: 0;
    }

    .swm-header .swm-nav .nav-link:hover,
    .swm-header .swm-nav .nav-link:focus,
    .swm-header .swm-nav .nav-link.active {
      background: #faf7ef;
      color: #c8a45c !important;
    }

    /* NAV ICON */
    .swm-header .swm-nav .nav-link i {
      width: 25px;
      min-width: 25px;
      margin-right: 9px;

      font-size: 16px;
    }

    /* =====================================================
       SERVICES DROPDOWN
    ===================================================== */

    .swm-header .swm-nav .dropdown {
      position: relative;
    }

    .swm-header .swm-nav .dropdown-menu {
      width: 100% !important;
      min-width: 100% !important;

      position: static !important;
      transform: none !important;

      margin: 0 !important;
      padding: 5px 0 !important;

      background: #fafafa;
      border: 0 !important;
      border-radius: 0 !important;

      box-shadow: none !important;
    }

    .swm-header .swm-nav .dropdown-menu.show {
      display: block !important;
    }

    .swm-header .swm-nav .dropdown-item {
      width: 100%;

      display: flex;
      align-items: center;

      min-height: 42px;

      padding: 9px 25px 9px 48px !important;

      color: #444444 !important;

      font-size: 13px;
      font-weight: 500;

      background: transparent;
      white-space: normal;
    }

    .swm-header .swm-nav .dropdown-item:hover,
    .swm-header .swm-nav .dropdown-item:focus {
      background: #f5f0e5;
      color: #c8a45c !important;
    }

    .swm-header .swm-nav .dropdown-item i {
      width: 22px;
      min-width: 22px;
      margin-right: 7px;
    }

    /* =====================================================
       RIGHT SIDE
    ===================================================== */

    .swm-header .swm-right {
      width: 100%;

      display: flex;
      flex-direction: column;

      gap: 0;

      margin: 0;
      padding: 5px 15px 15px;

      background: #ffffff;
    }

    .swm-header .swm-quote,
    .swm-header .swm-call {
      width: 100%;
      min-height: 45px;

      display: flex;
      align-items: center;
      justify-content: center;

      margin: 4px 0;
      padding: 10px 15px;

      text-decoration: none;
    }

    .swm-header .swm-call {
      justify-content: flex-start;
    }
  }

  /* =========================================================
   SMALL MOBILE
========================================================= */

  @media (max-width: 575px) {
    .swm-header {
      height: 61px;
      min-height: 61px;
    }

    .swm-header .navbar {
      min-height: 61px;
    }

    .swm-header .swm-header-inner {
      min-height: 61px;
      padding: 0 10px;
    }

    .swm-header .swm-logo-img {
      max-width: 165px;
      max-height: 48px;
    }

    .swm-header .swm-toggler {
      width: 42px;
      height: 42px;
      min-width: 42px;
    }

    .swm-header .swm-collapse {
      top: 61px;
    }

    .swm-header .swm-nav .nav-link {
      min-height: 45px;
      padding: 10px 16px !important;
      font-size: 13px;
    }

    .swm-header .swm-nav .dropdown-item {
      padding-left: 42px !important;
      font-size: 12.5px;
    }
  }
  /* =====================================================
   MOBILE HEADER HEIGHT
===================================================== */

  @media (max-width: 767px) {
    .pks-header {
      height: -webkit-fill-available;
      min-height: -webkit-fill-available;
    }
  }
  /* Dropdown closed */
  .swm-nav .nav-item.dropdown > .swm-services-menu {
    display: none !important;

    position: absolute !important;

    top: 100% !important;
    left: 0 !important;

    width: 100% !important;
    min-width: 100% !important;

    margin: 0 !important;
    padding: 5px 0 !important;

    background: #050505 !important;
    background-color: #050505 !important;

    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 0 0 5px 5px !important;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5) !important;

    z-index: 999999 !important;

    transform: none !important;
  }

  /* Dropdown OPEN */
  .swm-nav .nav-item.dropdown > .swm-services-menu.show {
    display: block !important;

    visibility: visible !important;
    opacity: 1 !important;

    top: 100% !important;
    left: 0 !important;

    transform: none !important;
  }

  /* Dropdown list */
  .swm-services-menu li {
    width: 100% !important;

    display: block !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #050505 !important;
  }

  /* Dropdown links */
  .swm-services-menu .dropdown-item {
    width: 100% !important;

    min-height: 44px !important;

    display: flex !important;
    align-items: center !important;

    padding: 10px 18px !important;

    gap: 12px !important;

    background: #050505 !important;

    color: #ffffff !important;

    font-size: 13px !important;
    font-weight: 500 !important;

    line-height: 1.3 !important;

    white-space: normal !important;

    visibility: visible !important;
    opacity: 1 !important;
  }

  /* Dropdown text */
  .swm-services-menu .dropdown-item span {
    color: #ffffff !important;

    display: inline-block !important;

    visibility: visible !important;
    opacity: 1 !important;
  }

  /* Dropdown icons */
  .swm-services-menu .dropdown-item i {
    width: 22px !important;
    min-width: 22px !important;

    color: #ff681d !important;

    font-size: 17px !important;

    margin: 0 !important;
  }

  /* Hover */
  .swm-services-menu .dropdown-item:hover {
    background: #ff5b12 !important;

    color: #ffffff !important;
  }

  .swm-services-menu .dropdown-item:hover span {
    color: #ffffff !important;
  }

  .swm-services-menu .dropdown-item:hover i {
    color: #ffffff !important;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {
  .swm-nav .nav-item.dropdown {
    position: relative !important;
  }

  .swm-nav .nav-item.dropdown > .swm-services-menu {
    width: calc(100% - 10px) !important;
    min-width: 0 !important;

    left: 5px !important;
    right: 5px !important;

    top: 100% !important;

    background: #050505 !important;

    border: 1px solid rgba(255, 255, 255, 0.18) !important;

    border-radius: 0 0 6px 6px !important;
  }

  .swm-nav .nav-item.dropdown > .swm-services-menu.show {
    top: 100% !important;
    left: 5px !important;
  }

  .swm-services-menu .dropdown-item {
    min-height: 43px !important;

    padding: 9px 15px 9px 35px !important;

    font-size: 12px !important;
  }

  .swm-services-menu .dropdown-item i {
    font-size: 16px !important;
  }
}

/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 400px) {
  .swm-nav .nav-item.dropdown > .swm-services-menu {
    width: calc(100% - 6px) !important;

    left: 3px !important;
    right: 3px !important;
  }

  .swm-services-menu .dropdown-item {
    padding-left: 28px !important;

    font-size: 11px !important;
  }
}
@media (max-width: 767px) {
  .pks-service-card {
    min-height: 275px;
    padding: 22px 19px;

    background: linear-gradient(145deg, #fffaf7 0%, #fff3ed 100%);
  }
}
@media (max-width: 767px) {
  .pkit-why-section {
    padding: 40px 0;
  }

  .pkit-why-heading {
    margin-bottom: 30px;
  }
}

@media (max-width: 767px) {
  .pkit-blog-grid {
    gap: 16px;
  }

  .pkit-blog-heading {
    margin-bottom: 27px;
  }

  .pkit-blog-content {
    padding: 18px 18px 20px;
  }

  .pkit-blog-image {
    height: 190px;
  }

  .pkit-blog-bottom {
    margin-top: 22px;
  }
}
@media (max-width: 767px) {
  .pkit-values-section {
    padding: 40px 0;
  }

  .pkit-values-wrapper {
    gap: 22px;
  }

  .pkit-values-image img {
    height: 270px;
  }

  .pkit-values-content h2 {
    margin-bottom: 18px;
  }

  .pkit-values-highlight {
    margin-bottom: 16px;
  }
}

/* =====================================================
   HOW WE WORK - MOBILE ONLY
===================================================== */

@media (max-width: 767px) {
  .how-we-work {
    width: 100%;
    overflow: hidden;
  }

  .how-we-work .container {
    width: 100%;
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Heading */
  .how-we-work .section-heading {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .how-we-work .section-heading h2 {
    font-size: 28px;
    line-height: 1.25;
  }

  .how-we-work .section-heading p {
    width: 100%;
    max-width: 100%;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 30px;
  }

  /* Cards - one by one */
  .how-we-work .work-process {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100%;
    gap: 18px;
    margin: 0;
    padding: 0;
  }

  .how-we-work .process-box {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    box-sizing: border-box;
    padding: 28px 22px 25px;
    overflow: visible;
  }

  /* Number */
  .how-we-work .process-number {
    z-index: 5;
  }

  /* Icon */
  .how-we-work .process-icon {
    margin-bottom: 18px;
  }

  /* Title */
  .how-we-work .process-box h3 {
    width: 100%;
    font-size: 21px;
    line-height: 1.4;
    margin-bottom: 12px;
    white-space: normal !important;
    word-break: normal !important;
    overflow: visible !important;
  }

  /* Description */
  .how-we-work .process-box p {
    width: 100%;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
    white-space: normal !important;
    overflow: visible !important;
    word-break: normal !important;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .how-we-work .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .how-we-work .section-heading h2 {
    font-size: 27px;
  }

  .how-we-work .section-heading p {
    font-size: 14px;
    line-height: 1.65;
  }

  .how-we-work .process-box {
    padding: 27px 20px 24px;
  }

  .how-we-work .process-box h3 {
    font-size: 20px;
  }

  .how-we-work .process-box p {
    font-size: 14px;
  }
}
