/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--header-h);
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  padding: 0;
  transition: background .3s, box-shadow .3s;
}

/* header-footer.css mein add karo */
.navbar>.container-fluid {
  max-width: var(--page-inner);
  /* 1400px */
  margin-left: auto;
  margin-right: auto;
  width: 90%;
}

.navbar.scrolled {
  background: rgba(249, 247, 244, .45);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--elev-2);
}

.navbar-brand {
  flex-shrink: 0;
  min-width: 0;
  max-width: clamp(140px, 20vw, 300px);
}

.navbar-brand img {
  height: clamp(30px, 4vw, 60px);
  width: auto;
  display: block;
  max-width: 100%;
}

.navbar-brand span {
  font-weight: 700;
  font-size: clamp(.8rem, .9vw, 1rem);
  color: #0d0d0d;
  white-space: nowrap;
}

.navbar-nav .nav-link {
  font-size: clamp(.75rem, 0.85vw, .95rem);
  font-weight: 500;
  letter-spacing: .02em;
  color: #000 !important;
  padding: 6px 14px !important;
  border-radius: 4px;
  white-space: nowrap;
  font-family: 'Montserrat', sans-serif;
  display: flex;
  align-items: center;
  gap: 3px;
  transition: opacity .2s;
}

.navbar-nav .nav-link:hover {
  opacity: .45;
}

.chevron {
  font-size: clamp(.7rem, 0.8vw, .9rem);
  opacity: .6;
  transition: transform .3s;
}

@media(min-width:1200px)and(max-width:1400px) {
  .navbar-nav .nav-link {
    font-size: .72rem;
    padding: 6px 8px !important;
  }
}

/* MEGA PANEL */
.mega-panel {
  position: fixed;
  top: var(--header-h);
  left: 0;
  width: 100vw;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, .06);
  border-bottom: 1px solid rgba(0, 0, 0, .09);
  box-shadow: 0 16px 48px rgba(0, 0, 0, .08);
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .22s ease, transform .22s ease;
}

.mega-panel.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mega-panel-inner {
  max-width: var(--page-inner);
  margin: 0 auto;
  padding: 2.5rem clamp(2rem, 5vw, 4rem) 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 4rem;
  width: 60%;
}

.mega-item {
  display: block;
  padding: .6rem 0;
  font-size: clamp(1rem, 1.6vw, 1.55rem);
  font-weight: 500;
  color: #0d0d0d;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: -.025em;
  line-height: 1.2;
  border-bottom: 1px solid rgba(0, 0, 0, .07);
  transition: color .15s;
}

.mega-item:last-child {
  border-bottom: none;
}

.mega-item:hover {
  color: rgba(0, 0, 0, .4);
}

.mega-blur {
  position: fixed;
  inset: 0;
  top: var(--header-h);
  background: rgba(0, 0, 0, .25);
  backdrop-filter: blur(4px);
  z-index: 1150;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s;
}

.mega-blur.open {
  opacity: 1;
  pointer-events: auto;
}

/* MOBILE MENU */
/* AFTER */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 1999;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(-100%);
  transition: transform 380ms cubic-bezier(.4, 0, .2, 1);
  pointer-events: none;
  will-change: transform;
  -webkit-transform: translateY(-100%);
}

.mobile-menu-overlay.open {
  transform: translateY(0);
  -webkit-transform: translateY(0);
  pointer-events: auto;
}

.mmenu-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1rem, 5vw, 2rem);
  height: 60px;
  border-bottom: 1px solid rgba(26, 39, 68, .08);
  flex-shrink: 0;
  background: #fff;
}

.mmenu-logo {
  height: 34px;
  width: auto;
}

.mmenu-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  color: #1a2744;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mmenu-slider {
  flex: 1;
  display: flex;
  overflow: hidden;
  position: relative;
}

.mmenu-panel {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  transition: transform 320ms cubic-bezier(.4, 0, .2, 1), opacity 320ms ease;
  background: #fff;
}

.mmenu-panel-main {
  transform: translateX(0);
  opacity: 1;
}

.mmenu-panel-main.slide-out {
  transform: translateX(-60px);
  opacity: 0;
  pointer-events: none;
}

.mmenu-panel-sub {
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
}

.mmenu-panel-sub.slide-in {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.mmenu-sub-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 clamp(1rem, 5vw, 2rem);
  height: 56px;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}

.mmenu-back-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: #0d0d0d;
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: 'Montserrat', sans-serif;
  font-size: .88rem;
  font-weight: 500;
}

.mmenu-back-btn:hover {
  opacity: .5;
}

.mmenu-sub-title {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(13, 13, 13, .4);
}

.mmenu-nav-list,
.mmenu-sublist {
  list-style: none;
  padding: .25rem 0 2rem;
}

.mmenu-nav-btn,
.mmenu-nav-link {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px clamp(1rem, 5vw, 2rem);
  font-size: clamp(1.3rem, 4.5vw, 1.9rem);
  font-weight: 400;
  color: #0d0d0d;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: -.02em;
  text-align: left;
  text-decoration: none;
  transition: opacity 150ms;
  -webkit-tap-highlight-color: transparent;
}

.mmenu-nav-btn:hover,
.mmenu-nav-link:hover {
  opacity: .4;
}

.mmenu-arrow {
  font-size: 20px;
  color: rgba(13, 13, 13, .3);
  flex-shrink: 0;
}

.mmenu-sublist li a {
  display: flex;
  align-items: center;
  padding: 10px clamp(1rem, 5vw, 2rem);
  font-size: clamp(1.3rem, 4.5vw, 1.9rem);
  font-weight: 400;
  color: #0d0d0d;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: -.02em;
  text-decoration: none;
  transition: opacity 150ms;
}

.mmenu-sublist li a:hover {
  opacity: .4;
}

.mmenu-sublist li a.studio-home-link {
  font-weight: 500;
  padding-top: 1.5rem;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(13, 13, 13, .08);
  margin-bottom: .25rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mmenu-sublist li a.studio-home-link::after {
  content: '↗';
  font-size: 1rem;
  opacity: .6;
}

/* FOOTER */
footer {
  background-image: linear-gradient(to bottom, #100223 0%, #100223 100%);
  color: var(--on-surface);
  padding: clamp(2rem, 6vw, 1rem) 0;
  position: relative;
  z-index: 1;
}

.footer-logo-img {
  height: clamp(30px, 4vw, 60px);
  width: auto;
  display: block;
  max-width: 100%;
}

.footer-col h4 {
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-text-inverse);
  margin-bottom: 1.25rem;
  font-size: .8rem;
}

.footer-col a {
  display: block;
  color: var(--color-text-inverse);
  text-decoration: none;
  margin-bottom: .7rem;
  font-size: .82rem;
  transition: color .2s;
}

.footer-col a:hover {
  color: var(--color-text-inverse);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  border-top: 1px solid var(--outline-var);
  padding: 1.25rem 0;
  font-size: .72rem;
  color: var(--color-text-inverse);
}

@media(max-width:767px) {
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .navbar-brand img,
  .footer-logo-img {
    height: 40px;
    width: auto;
  }
}

@media(min-width:768px)and(max-width:1023px) {

  .mega-panel,
  .mega-blur {
    display: none !important;
  }

  .navbar-brand img,
  .footer-logo-img {
    height: 50px;
    width: auto;
  }
}

@media(min-width:1400px) {
  .mobile-menu-overlay {
    display: none !important;
  }
}

@media (min-width: 1200px) and (max-width: 1350px) {
  .navbar-nav .nav-link {
    font-size: 0.70rem;
    padding: 6px 6px !important;
    letter-spacing: 0;
  }
  .navbar-brand {
    max-width: 160px;
  }
}