/* =====================================================
   HEADER
===================================================== */

.tpc-header {
  position: sticky;

  top: 18px;

  z-index: 999;
}

.tpc-header .tpc-container {
  background: rgba(255, 255, 255, 0.78);

  backdrop-filter: blur(24px);

  -webkit-backdrop-filter: blur(24px);

  border: 1px solid rgba(255, 255, 255, 0.45);

  border-radius: 22px;

  height: 78px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  padding: 0 28px;

  box-shadow: 0 10px 35px rgba(15, 23, 42, 0.08);

  transition: 0.35s ease;
}
/* Logo */

.tpc-logo {
  display: flex;

  align-items: center;

  gap: 14px;

  text-decoration: none;
}

.tpc-logo-icon {
  width: 44px;

  height: 44px;

  border-radius: 14px;

  background: #166534;

  color: #fff;

  display: flex;

  align-items: center;

  justify-content: center;

  font-weight: 800;

  font-size: 18px;

  transition: 0.3s;
}

.tpc-logo:hover .tpc-logo-icon {
  background: #14532d;

  transform: scale(1.05);
}

.tpc-logo-text {
  font-size: 20px;

  font-weight: 800;

  color: #1e293b;
}

/* Navigation */

.tpc-menu {
  display: flex;

  align-items: center;

  gap: 36px;

  list-style: none;
}

.tpc-menu li {
  list-style: none;
}

.tpc-menu a {
  position: relative;

  text-decoration: none;

  color: #475569;

  font-weight: 600;

  transition: 0.3s;
}

.tpc-menu a:hover {
  color: #166534;
}

.tpc-menu a::after {
  content: "";

  position: absolute;

  left: 0;

  bottom: -6px;

  width: 0;

  height: 2px;

  background: #166534;

  border-radius: 2px;

  transition: 0.3s;
}

.tpc-menu a:hover::after {
  width: 100%;
}

/* CTA */

.tpc-header-btn {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  height: 48px;

  padding: 0 24px;

  border-radius: 14px;

  background: #166534;

  color: #fff;

  text-decoration: none;

  font-weight: 700;

  transition: 0.3s;
}

.tpc-header-btn:hover {
  background: #14532d;

  transform: translateY(-2px);

  box-shadow: 0 10px 24px rgba(22, 101, 52, 0.25);
}

/* =====================================================
   LAPTOP
===================================================== */

@media (max-width: 1400px) {
  .tpc-header-btn {
    display: none;
  }
}

/* =====================================================
   MOBILE MENU DEFAULT
===================================================== */

.tpc-menu-toggle {
  display: none;

  width: 48px;

  height: 48px;

  border: none;

  background: #166534;
  transition: 0.3s;

  color: #fff;

  border-radius: 14px;

  cursor: pointer;

  font-size: 22px;

  font-weight: 700;
}

.tpc-mobile-btn {
  display: none;
}

.tpc-menu-toggle:hover {
  background: #14532d;
}

/* =====================================================
   TABLET & MOBILE
===================================================== */

@media (max-width: 992px) {
  .tpc-header {
    top: 10px;
  }

  .tpc-header .tpc-container {
    height: 70px;

    padding: 0 20px;

    position: relative;
  }

  .tpc-logo-text {
    font-size: 18px;
  }

  .tpc-header-btn {
    display: none;
  }

  .tpc-menu-toggle {
    display: flex;

    align-items: center;

    justify-content: center;
  }

  .tpc-nav {
    position: absolute;

    top: 82px;

    left: 0;

    width: 100%;

    background: rgba(255, 255, 255, 0.95);

    backdrop-filter: blur(20px);

    -webkit-backdrop-filter: blur(20px);

    border: 1px solid rgba(255, 255, 255, 0.45);

    border-radius: 20px;

    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.08);

    padding: 25px;

    display: none;

    flex-direction: column;
  }

  .tpc-nav.active {
    display: flex !important;
  }

  .tpc-menu {
    flex-direction: column;

    gap: 18px;

    width: 100%;
  }

  .tpc-menu li {
    width: 100%;
  }

  .tpc-menu a {
    display: block;

    width: 100%;

    padding: 12px 0;

    text-align: center;
  }

  .tpc-mobile-btn {
    display: flex;

    justify-content: center;

    align-items: center;

    margin-top: 25px;

    height: 52px;

    border-radius: 14px;

    background: #166534;

    color: #fff;

    text-decoration: none;

    font-weight: 700;
  }
}

/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 480px) {
  .tpc-logo-text {
    font-size: 16px;
  }

  .tpc-logo-icon {
    width: 40px;

    height: 40px;
  }
}
