.no-navbar-wrapper img,
.no-mobile-drawer-menu img,
.no-mobile-product-drawer img {
  display: block;
  max-width: 100%;
}

.no-navbar-wrapper a,
.no-mobile-drawer-menu a,
.no-mobile-product-drawer a {
  text-decoration: none;
}

.no-navbar-wrapper ul,
.no-mobile-drawer-menu ul,
.no-mobile-product-drawer ul {
  list-style: none;
}

/*=========================================
FLOATING NAVBAR
=========================================*/

.no-navbar-wrapper {
  position: fixed;

  top: 0;

  left: 0;

  width: 100%;

  z-index: 9999;

  transition: 0.4s;

  padding-top: 0;
}

.no-navbar-wrapper .no-nav-container {
  display: flex;

  align-items: center;

  justify-content: space-between;

  background: rgba(255, 255, 255);

  backdrop-filter: blur(22px);

  -webkit-backdrop-filter: blur(22px);

  border: 1px solid rgba(255, 255, 255, 0.35);

  /* padding: 18px 28px; */
  padding: 14px 18px;

  /* max-width: 2000px; */

  transition: 0.4s;
}

/*=========================================
SCROLL EFFECT
=========================================*/

.no-navbar-wrapper.no-nav-scrolled {
  top: 10px;
  border-radius: 18px !important;
}
.no-navbar-wrapper.no-nav-scrolled .no-btn-primary {
    padding: 8px 14px;
    font-weight: 600;
    font-size: 14px;
}

.no-navbar-wrapper.no-nav-scrolled .no-nav-container {
  padding: 5px 24px;
  margin: 0 15%;
  background: rgba(255, 255, 255, 0.76);
  border-radius: 18px;

  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}
.no-navbar-wrapper.no-nav-scrolled .no-mega-menu-overlay {
  left: 147%;
}

/*=========================================
LOGO
=========================================*/

.no-brand-logo {
  display: flex;

  align-items: center;

  gap: 12px;
}

.no-brand-logo img {
  height: 35px;

  transition: 0.35s;
}

.no-navbar-wrapper.no-nav-scrolled .no-brand-logo img {
  height: 35px;
}

/*=========================================
DESKTOP MENU
=========================================*/

.no-desktop-navigation ul {
  display: flex;

  align-items: center;

  gap: 36px;
  margin-bottom: 0;
}

.no-desktop-navigation ul li {
  position: relative;
}

.no-desktop-navigation ul li > a {
  display: flex;

  align-items: center;

  gap: 8px;

  font-size: 16px;

  font-weight: 400;

  color: #111827;

  transition: 0.35s ease;

  padding: 8px 0;
}

/*=========================================
UNDERLINE
=========================================*/

.no-desktop-navigation ul li > a::after {
  content: "";

  position: absolute;

  left: 0;

  bottom: -4px;

  width: 0;

  height: 2px;

  background: linear-gradient(90deg, #007565, #c7a877);

  transition: 0.35s;
}

.no-desktop-navigation ul li:hover > a {
  color: #007565;
}

.no-desktop-navigation ul li:hover > a::after {
  width: 100%;
}
.no-desktop-navigation ul li a.active{
  color: #007565;
}

.no-desktop-navigation ul li > a.active::after {
  width: 100%;
}

/*=========================================
DOWN ICON
=========================================*/

.no-desktop-navigation i {
  font-size: 18px;

  transition: 0.3s;
}

.no-desktop-navigation li:hover > a i {
  transform: rotate(180deg);
}

/*=========================================
RIGHT SIDE
=========================================*/

.no-nav-actions {
  display: flex;

  align-items: center;

  gap: 18px;
}

/*=========================================
PRIMARY BUTTON
=========================================*/

.no-btn-primary {
  display: flex;

  align-items: center;

  gap: 10px;

  padding: 14px 24px;

  border-radius: 14px;

  background: #007565;

  color: #fff;

  font-weight: 600;

  overflow: hidden;

  position: relative;

  transition: 0.35s;
}

.no-btn-primary:hover {
  color: white;
  transform: translateY(-3px);
  background: #c7a877;
}

.no-btn-primary i {
  transition: 0.35s;
}

.no-btn-primary:hover i {
  transform: translateX(5px);
}

/*=========================================
HAMBURGER
=========================================*/

.no-hamburger-toggle {
  width: 46px;

  height: 46px;

  display: none;

  justify-content: center;

  align-items: center;

  flex-direction: column;

  gap: 5px;

  cursor: pointer;

  border-radius: 12px;

  transition: 0.3s;

  z-index: 10005;
}

.no-hamburger-toggle span {
  width: 24px;

  height: 2px;

  background: #111;

  border-radius: 20px;

  transition: 0.35s;
}

.no-hamburger-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
}

/*=========================================
HERO DEMO
=========================================*/

.no-hero-section {
  min-height: 100vh;

  display: flex;

  align-items: center;

  justify-content: center;

  text-align: center;

  padding-top: 140px;

  background:
    radial-gradient(circle at top right, #d8fff5, transparent 40%),
    radial-gradient(circle at bottom left, #edf4ff, transparent 35%), #f8fafc;
}

.no-hero-section h1 {
  font-size: 68px;

  font-weight: 800;

  line-height: 1.1;

  margin-bottom: 18px;
}

.no-hero-section p {
  max-width: 650px;

  margin: auto;

  color: #6b7280;

  font-size: 20px;

  line-height: 1.8;
}

/*=========================================
RESPONSIVE
=========================================*/

@media (max-width: 1100px) {
  .no-desktop-navigation {
    display: none;
  }
  
  .no-navbar-wrapper.no-nav-scrolled .no-nav-container{
    margin: 0 10%;
  }

  .no-btn-primary {
    display: none;
  }

  .no-hamburger-toggle {
    display: flex;
  }

  .no-hero-section h1 {
    font-size: 52px;
  }
}

@media (max-width: 768px) {
  .no-navbar-wrapper {
    top: 0px;
  }

  .no-navbar-wrapper .no-nav-container {
    padding: 14px 18px;
  }

  .no-brand-logo img {
    height: 34px;
  }

  .no-hero-section h1 {
    font-size: 40px;
  }

  .no-hero-section p {
    font-size: 16px;
  }
  .no-navbar-wrapper.no-nav-scrolled .no-nav-container{
    margin: 0 10%;
  }
}

/*==================================================
PART 2 - MEGA MENU (FIXED RESPONSIVENESS)
===================================================*/

.no-mega-trigger-item {
  position: static;
  /* Removed relative positioning to ground the menu to the parent viewport width */
}

.no-mega-menu-overlay {
  position: absolute;

  top: 100%;

  left: 167%;

  transform: translateX(-50%) translateY(20px);

  width: 98vw;

  height: 700px;

  overflow: hidden;

  opacity: 0;

  visibility: hidden;

  pointer-events: none;
  padding-top: 10px;

  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

/* Seamless invisible bridge covering the gap region */
.no-mega-menu-overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 35px;
  background: transparent;
  z-index: 10;
}

.no-mega-trigger-item:hover .no-mega-menu-overlay {
  opacity: 1;

  visibility: visible;

  pointer-events: auto;

  transform: translateX(-50%) translateY(0);
}

/* Changed grid from columns to a rows ecosystem */
.no-mega-menu-content-grid {
  background: rgb(255, 255, 255);
  backdrop-filter: blur(30px);
  width: 100%;
  /* max-height: calc(100vh - 140px); */
  height: 100%;
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 26px;
  /* box-shadow: 0 40px 120px rgba(0, 0, 0, .15); */

  display: grid;
  grid-template-rows: auto 1fr;
  /* Top section fits tab content, bottom fills out */
}

/*==============================
        TOP PANEL (FORMERLY LEFT PANEL)
        ==============================*/
.no-mega-top-panel {
  border-radius: 20px 20px 0 0;
  background: #fafbfd;
  background: linear-gradient(
    180deg,
    rgba(0, 117, 101, 0.32) 0%,
    rgba(199, 168, 119, 0.33) 100%
  );
  /* background: linear-gradient(180deg, rgba(0, 117, 101, 0.08) 0%, rgba(199, 168, 119, 0.08) 100%); */
  border-right: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 15px 30px;
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 5px;
}

.no-mega-top-panel h5 {
  font-size: 11px;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 3px;
}

/* Products horizontal wrapper container */
.no-product-tabs-scroll {
  display: flex;
  gap: 15px;
  height: 67px;
  width: 100%;
  overflow-x: auto;
}

/*==============================
        PRODUCT ITEM AS TOP TAB
        ==============================*/
.no-tab-item {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 64px;
  padding: 10px 16px;
  border-radius: 14px;
  cursor: pointer;
  position: relative;
  transition: 0.35s;
  flex: 1;
  max-width: 250px;
  border: 1px solid rgba(0, 0, 0, 0.03);
  background: rgba(255, 255, 255, 0.6);
}

.no-tab-item:hover,
.no-tab-item.no-tab-active {
  background: white;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  transform: translateY(2px);
  background: linear-gradient(135deg, #007565 0%, #c7a877 100%);
  border-color: transparent;
}

.no-tab-item img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
}

.no-tab-item h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
  transition: color 0.3s;
}

.no-tab-item p {
  margin-bottom: 0;
  font-size: 11px;
  color: #6b7280;
  line-height: 1.3;
  transition: color 0.3s;
}

/* Hide the right arrow icon in horizontal layout */
.no-tab-item i {
  display: none;
}

.no-tab-item:hover h4,
.no-tab-item.no-tab-active h4 {
  color: white;
}

.no-tab-item:hover p,
.no-tab-item.no-tab-active p {
  color: #e8fbf6;
}

/* Add a down arrow icon to the active product item */
.no-tab-item.no-tab-active::after {
  content: "\ea4c";
  /* Unicode for Remix Icon's 'ri-arrow-down-s-line' */
  font-family: "remixicon" !important;
  font-size: 20px;
  color: #ffffff;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  animation: noFadeInArrow 0.3s ease forwards;
}

/* Make sure the text doesn't overlap the new arrow */
.no-tab-item.no-tab-active div {
  padding-right: 24px;
}

/* Smooth fade-in animation for the arrow */
@keyframes noFadeInArrow {
  from {
    opacity: 0;
    transform: translateY(-50%) translateX(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

/*==================================================
        BOTTOM SECTION GRID (FORMERLY RIGHT SIDE)
        ===================================================*/
.no-mega-bottom-panel {
  padding: 20px 30px;
  display: grid !important;
  grid-template-columns: 1fr 320px;
  /* Features occupy left, preview on right */
  gap: 10px;
  align-items: start;
  overflow-y: auto;
  height: 100%;
  /* max-height: calc(100vh - 260px); */
}

/* LEFT HIGHLIGHT HERO CARD (Preview box layout) */
.no-preview-card {
  position: sticky;
  top: 0;
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.no-preview-media-box {
  background: #f4f6f8;
  border-radius: 18px;
  padding: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 12px;
}

.no-preview-card img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.no-preview-text-body h2 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #111827;
}

.no-preview-text-body p {
  color: #4b5563;
  font-size: 12px;
  line-height: 1.5;
}

/* FEATURES HORIZONTAL CONTAINER FLOW */
.no-features-grid-flow {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  padding-right: 6px;
  border-right: 1px dashed rgba(0, 0, 0, 0.1);
  gap: 15px;
  align-content: flex-start;
}

.no-feature-group-column {
  transition: 0.4s;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px;
  width: calc(33% - 8px);
  /* Display features neatly side-by-side in grid */
  border-radius: 12px;
  box-shadow:
    rgba(0, 0, 0, 0.03) 0px 0px 5px 0px,
    rgba(0, 0, 0, 0.03) 0px 0px 1px 0px;
  padding: 14px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.no-feature-group-column:hover {
  transform: translateY(-2px);
  /* background: linear-gradient(90deg, rgba(0, 117, 101, 0.03) 50%, rgba(199, 168, 119, 0.03) 100%); */
  background: linear-gradient(
    90deg,
    rgba(0, 117, 101, 0.09) 50%,
    rgba(199, 168, 119, 0.09) 100%
  );
  cursor: pointer;
}

.no-feature-group-column:hover .no-feature-category-heading {
  color: #007565;
}

.no-feature-cards-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px;
}

.no-feature-card-item {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px;
}

.no-feature-category-heading {
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
  padding-bottom: 4px;
  margin-bottom: 4px;
}

.no-feature-card-item i {
  width: 28px;
  height: 28px;
  min-width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 15px;
}

.no-feature-card-item h5 {
  font-size: 13px;
  font-weight: 600;
  color: #33373d;
  margin-bottom: 1px;
}

.no-feature-card-item p {
  margin-bottom: 0;
  font-size: 11px;
  color: #6b7280;
  line-height: 1.4;
}

/*==============================
        RESPONSIVE
        ==============================*/
@media (max-width: 1300px) {
  .no-mega-bottom-panel {
    grid-template-columns: 1fr;
  }

  .no-preview-card {
    position: static;
  }
}

@media (max-width: 1100px) {
  .no-mega-menu-overlay {
    display: none;
  }
}

/*==================================================
        PART 3 - MOBILE MENU + FINISHING
        ==================================================*/

.no-hamburger-toggle.no-hamburger-active span:nth-child(1) {
  transform: rotate(45deg) translateY(10px);
}

.no-hamburger-toggle.no-hamburger-active span:nth-child(2) {
  opacity: 0;
}

.no-hamburger-toggle.no-hamburger-active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-10px);
}

.no-mobile-drawer-menu {
  position: fixed;

  top: 75px;

  right: -100%;

  width: 420px;

  max-width: 100%;

  height: 100vh;

  background: #ffffff;

  z-index: 10000;

  padding: 40px 35px;

  transition: 0.45s cubic-bezier(0.22, 1, 0.36, 1);

  overflow-y: auto;

  /* box-shadow:
                -20px 0 80px rgba(0, 0, 0, .12); */
}

.no-mobile-drawer-menu.no-mobile-drawer-open {
  right: 0;
}

.no-mobile-product-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 420px;
  max-width: 100%;
  height: 100vh;
  background: #ffffff;
  z-index: 10002;
  padding: 30px 24px;
  transition: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
  /* box-shadow: -20px 0 80px rgba(0, 0, 0, .15); */
}

.no-mobile-product-drawer.no-mobile-drawer-open {
  right: 0;
}

.no-drawer-back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: #007565;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 24px;
  padding: 4px 0;
}

.no-drawer-header-info {
  margin-bottom: 30px;
}

.no-drawer-header-info h2 {
  font-size: 26px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 8px;
}

.no-drawer-header-info p {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.6;
}

.no-mobile-product-drawer .no-feature-group-column {
  width: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
}

.no-mobile-drawer-menu ul {
  display: flex;

  flex-direction: column;

  gap: 8px;
}

.no-mobile-drawer-menu li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.no-mobile-drawer-menu a,
.no-mobile-accordion-toggle {
  width: 100%;

  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 20px 0;

  font-size: 18px;

  font-weight: 600;

  background: none;

  border: none;

  cursor: pointer;

  color: #111827;
}

.no-mobile-accordion-toggle i {
  transition: 0.3s;
}

.no-mobile-accordion-toggle.no-mobile-accordion-open i {
  transform: rotate(45deg);
}

.no-mobile-submenu-wrapper {
  display: none;

  padding-bottom: 20px;
}

.no-mobile-submenu-wrapper.no-mobile-accordion-open {
  display: block;
}

.no-mobile-submenu-wrapper a {
  display: block;

  padding: 12px 0 12px 18px;

  font-size: 15px;

  color: #6b7280;

  transition: 0.3s;
}

.no-mobile-submenu-wrapper a:hover {
  color: #007565;

  transform: translateX(8px);
}

/*==================================================
UPDATED MOBILE SUBMENU WORKFLOW STYLE
===================================================*/
.no-mobile-submenu-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.04);
}

.no-mobile-submenu-row:last-child {
  border-bottom: none;
}

.no-mobile-submenu-wrapper .no-mobile-product-link {
  display: block;
  padding: 12px 0 12px 18px;
  font-size: 15px;
  color: #6b7280;
  transition: 0.3s;
  width: 100%;
}

.no-mobile-submenu-wrapper .no-mobile-product-link:hover {
  color: #007565;
  transform: translateX(8px);
}

.no-drawer-trigger-btn {
  background: none;
  border: none;
  padding: 12px 16px;
  cursor: pointer;
  color: #6b7280;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    color 0.3s,
    transform 0.3s;
}

.no-drawer-trigger-btn:hover {
  color: #007565;
  transform: scale(1.15);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;

  border-radius: 20px;
}

::selection {
  background: #007565;

  color: #fff;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(0, 117, 101, 0.35);

  outline-offset: 4px;

  border-radius: 8px;
}

.no-desktop-navigation a,
.no-feature-card-item,
.no-tab-item,
.no-btn-primary {
  will-change: transform;
}

@media (max-width: 768px) {
  .no-mobile-drawer-menu,
  .no-mobile-product-drawer {
    width: 100%;

    padding: 0px 24px 40px;
  }

  .no-mobile-product-drawer {
    padding-top: 40px;
  }

  .no-hero-section {
    padding-inline: 20px;
  }

  .no-hero-section h1 {
    padding-top: 20px;
    font-size: 36px;
  }
}
