/* Custom Header and Footer CSS for Catalog Image Optimization page */
body {
  padding-top: 80px !important;
}

/* ================= HEADER ================= */
.nk-logo-icon a {
  text-decoration: none;
  color: #ffffff;
}

.nk-back a {
  text-decoration: none;
  color: #1e40ff;
}

.nk-header {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 50px;
  border-bottom: 1.5px solid #eee;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: #fff;
  z-index: 999;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.nk-header.shrink {
  height: 60px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
}

.nk-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nk-logo-icon {
  background: transparent;
  width: auto;
  height: auto;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(35px);
}

.nk-logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.nk-logo-text {
  font-size: 17px;
  font-weight: 750;
  line-height: 1.1;
}

.nk-logo-text span {
  display: block;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.5px;
  color: #2f5cff;
}

/* ================= NAV ================= */
.nk-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nk-nav-item {
  position: relative;
}

.nk-nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: 0.25s;
}

.nk-nav-link:hover {
  color: #2f5bff;
}

/* ================= CHEVRON ARROW ================= */
.nk-chevron {
  width: 7px;
  height: 7px;
  border-right: 2px solid #666;
  border-bottom: 2px solid #666;
  transform: rotate(45deg);
  transition: 0.3s;
  margin-top: -2px;
}

.nk-nav-item:hover .nk-chevron {
  border-color: #2f5bff;
  transform: rotate(-135deg);
}

/* ================= DROPDOWN ================= */
.nk-dropdown {
  position: absolute;
  top: 38px;
  left: -10px;
  background: #fff;
  width: 260px;
  padding: 10px 0;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.3s;
  z-index: 99;
}

.nk-nav-item:hover .nk-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nk-dropdown a {
  display: block;
  padding: 15px 20px;
  font-size: 14px;
  color: #333;
  text-decoration: none;
  transition: 0.25s;
}

.nk-dropdown a:hover {
  background: #eaf2ff;
  color: #2f5bff;
}

/* ================= BUTTON ================= */
.nk-btn {
  background: #2f5bff;
  color: #fff;
  padding: 10px 22px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
}

/* ================= HAMBURGER / CLOSE ================= */
.nk-hamburger,
.nk-close {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  transition: 0.25s;
}

.nk-hamburger:hover,
.nk-close:hover {
  background: #eaf2ff;
}

/* ================= DESKTOP DEFAULT ================= */
.nk-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nk-hamburger span {
  width: 26px;
  height: 3px;
  background: #111;
  border-radius: 3px;
}

/* ================= MOBILE MENU ================= */
.nk-mobile-menu {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 9999;
  transform: translateX(100%);
  transition: 0.35s ease;
  display: flex;
  flex-direction: column;
}

.nk-mobile-menu.active {
  transform: translateX(0);
}

.nk-mobile-header {
  height: 80px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eee;
}

.nk-close {
  font-size: 34px;
  cursor: pointer;
}

.nk-mobile-links {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.nk-mobile-links a,
.nk-mobile-toggle {
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  color: #111;
  padding: 14px 6px;
}

/* ================= ACCORDION ================= */
.nk-mobile-item {
  display: flex;
  flex-direction: column;
}

.nk-mobile-toggle {
  background: none;
  border: none;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.nk-arrow {
  width: 8px;
  height: 8px;
  border-right: 2px solid #555;
  border-bottom: 2px solid #555;
  transform: rotate(45deg);
  transition: 0.3s;
}

.nk-mobile-item.active .nk-arrow {
  transform: rotate(-135deg);
}

.nk-mobile-dropdown {
  max-height: 0;
  overflow: hidden;
  transition: 0.3s ease;
  padding-left: 14px;
}

.nk-mobile-dropdown a {
  display: block;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.nk-mobile-btn {
  width: 100%;
  display: block;
  margin-top: 28px;
  background: #1e5eff;
  color: #fff !important;
  padding: 16px;
  text-align: center;
  border-radius: 14px;
  font-weight: 700;
  font-size: 17px;
}

@media (max-width:992px) {
  .nk-nav {
    display: none;
  }

  .nk-hamburger {
    display: flex;
  }
}

/* ================= FOOTER ================= */
.nk-footer {
  background: linear-gradient(135deg, #0b1324, #0f1a33);
  color: #cbd5f5;
  padding: 70px 20px 0;
}

.nkf-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
}

.nkf-logo {
  width: auto;
  height: auto;
  background: transparent;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.nkf-logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.nkf-logo span {
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
}

.nkf-brand-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.nkf-brand h4 {
  margin: 0;
  line-height: 1.2;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.nkf-brand h4 span {
  font-size: 13px;
  font-weight: 600;
  color: #93c5fd;
}

.nkf-brand p {
  font-size: 14.5px;
  line-height: 1.7;
  color: #9aa4c7;
  margin-bottom: 22px;
}

.nkf-socials {
  display: flex;
  gap: 12px;
}

.nkf-social {
  width: 36px;
  height: 36px;
  background: #1e293b;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.nkf-social svg {
  width: 18px;
  height: 18px;
  stroke: #c7d2fe;
  stroke-width: 2;
  fill: none;
}

.nkf-social:hover {
  background: #2563eb;
}

.nkf-links h5 {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}

.nkf-links a {
  display: block;
  font-size: 14.5px;
  color: #9aa4c7;
  text-decoration: none;
  margin-bottom: 10px;
}

.nkf-links a:hover {
  color: #ffffff;
}

.nkf-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 13.5px;
  color: #94a3b8;
}

.nkf-policy {
  display: flex;
  gap: 22px;
}

.nkf-policy a {
  color: #94a3b8;
  text-decoration: none;
}

.nkf-policy a:hover {
  color: #ffffff;
}

@media(max-width:900px) {
  .nkf-container {
    grid-template-columns: 1fr;
  }

  .nkf-bottom {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
}
