/* ==========================================
   MOBILE FIRST - Base Styles
   ========================================== */

.bg-hero-banner {
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg-hero-banner-small{
        height: 612px !important;
}

.bg-hero-banner-custom{
  background-position:40% center;
}

.bg-hero-banner-top{
  background-position: top center;
}

.bg-hero-banner-center{
  background-position: center center;

}
.bg-hero-banner-bottom{
  background-position: bottom center;
}


.hero-header-60{
   font: var(--lds-g-typography-ringside-display-2)!important;
}




.bg-hero-banner h1 {
  font: var(--lds-g-typography-ringside-display-1);
  letter-spacing: var(--lds-g-typography-ringside-heading-1-letter-spacing);
  color: var(--color-lilly-white);
}

.bg-hero-banner h6 {
  font-family: var(--font-family-ringside);
  font-size: var(--font-size-medium);
  color: var(--color-lilly-white);
  margin-top: 2.4rem;
}

/* Mobile Navigation Base */
.nav-container {
  position: fixed;
  width: 100vw;
  left: 0;
  top: 1.6rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  pointer-events: none;
  transition: top 0.3s ease-in-out;
}

.nav-container.nav-hidden {
  top: -10rem;
}

.lilly-logo,
.login {
  background-color: var(--color-lilly-transparent-black);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  border-radius: 3.2rem;
  min-height: 5.6rem;
  display: inline-flex;
  align-items: center;
  position: relative;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  pointer-events: auto;
}

.lilly-logo {
  width: 100%;
  padding: 0 2.4rem;
  position: relative;
}

.lilly-logo ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.lilly-logo li {
  display: flex;
  align-items: center;
  width: 100%;
}

.lilly-logo li:first-child {
  width: 100%;
  position: relative;
  z-index: 1;
  min-height: 5.6rem;
  padding: 0;
}

.lilly-logo li:first-child a {
  line-height: 0;
}

.lilly-logo li:not(:first-child) {
  justify-content: flex-start;
  padding: 1.6rem 2.4rem;
  background-color: transparent;
  display: none;
}

.lilly-logo a {
  text-decoration: none;
  color: white;
  display: inline-block;
  font: var(--lds-g-typography-garamond-heading-2);
}

.lilly-logo img {
  height: 4rem;
}

/* Desktop Hamburger Icon inside logo */
.desktop-hamburger {
  display: none;
}

/* Mobile Hamburger Button */
.lilly-logo > .navigation {
  cursor: pointer;
  z-index: 10000;
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 4.8rem;
  height: 4.8rem;
  padding: 1.2rem;
  touch-action: manipulation;
  background: transparent;
  border: none;
  pointer-events: auto;
}

.lilly-logo > .navigation svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 2.4rem;
  height: 2.4rem;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.lilly-logo > .navigation svg path {
  fill: white !important;
}

.hamburger-icon {
  display: block;
  opacity: 1;
  visibility: visible;
}

.close-icon {
  display: none;
  opacity: 0;
  visibility: hidden;
}

/* Service Material - hidden on mobile, shown on desktop */
.service-material-nav {
  display: none;
}

.login {
  order: 2;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  min-height: auto;
  z-index: 1;
}

.login a {
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  height: 4rem;
  padding: 0.8rem 1.2rem;
  flex-shrink: 0;
  border-radius: 3.2rem;
  color: var(--color-lilly-white);
  font-size: 1.4rem;
  cursor: pointer;
  transition: background-color .38s cubic-bezier(0, 0.4, 0.56, 1);
  background-color: transparent;
  appearance: none;
  border: 0;
}

.header-nav-button svg {
  width: 2.4rem;
  height: 2.4rem;
  flex-shrink: 0;
  transition: all .3s ease;
}

.header-nav-button:hover {
  background-color: rgba(255, 255, 255, .2);
}

/* Mobile Menu Open State */
.nav-container.menu-open {
  width: 100vw !important;
  left: 0 !important;
  top: 0 !important;
  padding: 0 !important;
  transform: none !important;
}

.nav-container.menu-open.nav-hidden {
  top: -10rem;
}

.nav-container.menu-open .lilly-logo {
  background-color: transparent;
  border-radius: 0;
  width: 100%;
  padding: 0;
}

.nav-container.menu-open .lilly-logo li:first-child {
  background-color: #111111;
  border-radius: 0;
  padding: 1.2rem 2.4rem;
}

.nav-container.menu-open .lilly-logo ul {
  background-color: rgba(0, 0, 0, 0.8);
}

.lilly-logo.menu-expanded .navigation .hamburger-icon {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.lilly-logo.menu-expanded .navigation .close-icon {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.lilly-logo.menu-expanded {
  background-color: transparent;
  border-radius: 0;
  width: 100%;
  padding: 0;
}

.lilly-logo.menu-expanded li:first-child {
  background-color: #111111;
  border-radius: 0;
  padding: 1.2rem 2.4rem;
}

.lilly-logo.menu-expanded ul {
  background-color: rgba(0, 0, 0, 0.8);
}

.lilly-logo.menu-expanded li:not(:first-child) {
  display: flex;
}

.lilly-logo.menu-expanded .service-material-nav {
  display: flex;
}

.lilly-logo.menu-expanded+.login {
  display: none;
}

/* ==========================================
   DESKTOP (1024px+)
   ========================================== */

@media (min-width: 1024px) {
  /* Hero banner centered on desktop */
  .bg-hero-banner {
    background-position: center center;
  }

  /* Hide mobile hamburger on desktop */
  .lilly-logo > .navigation {
    display: none !important;
  }

  .nav-container {
    position: fixed;
    top: 6.4rem;
    z-index: 999;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: space-between;
    pointer-events: none;
    transition: top 0.3s ease-in-out;
  }

  .lilly-logo {
    width: auto;
    padding: 1.6rem 2.4rem;
    gap: 16px;
  }

  .lilly-logo:hover,
  .lilly-logo:focus-within {
    padding: 4.8rem;
  }

  .lilly-logo ul {
    flex-direction: row;
    gap: 16px;
    width: fit-content;
    height: fit-content;
    align-items: center;
    justify-content: center;
  }

  .lilly-logo:hover ul,
  .lilly-logo:focus-within ul {
    align-items: center;
  }

  .lilly-logo li {
    width: fit-content;
    height: fit-content;
    gap: 16px;
    padding: 12px;
    border-radius: 3.2rem;
    cursor: pointer;
  }

  .lilly-logo li:not(:first-child):hover {
    background: rgba(255, 255, 255, .2);
  }

  .lilly-logo li:first-child {
    padding: 0;
    cursor: default;
    width: auto;
    min-height: auto;
  }

  .lilly-logo a {
    font: var(--lds-g-typography-ringside-body-medium);
  }

  .desktop-hamburger {
    display: block;
    height: 24px;
    width: 24px;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .desktop-hamburger path {
    fill: white;
  }

  .login {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    padding: 1.6rem 2.4rem;
    background: var(--color-lilly-transparent-black);
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    order: initial;
  }

  .header-nav-button {
    font-size: 1.6rem;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .lilly-logo:hover,
  .lilly-logo:focus-within {
    width: 100%;
    align-items: normal;
  }

  .lilly-logo ul li:not(:first-child) {
    display: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.8);
    transition: opacity 0.3s cubic-bezier(0.4, 0.0, 0.2, 1),
      transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1),
      visibility 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    pointer-events: none;
  }

  .lilly-logo:hover ul li:not(:first-child),
  .lilly-logo:focus-within ul li:not(:first-child) {
    display: flex;
    animation: fadeInUp 0.3s cubic-bezier(0.4, 0.0, 0.2, 1) forwards;
    pointer-events: auto;
  }

  @keyframes fadeInUp {
    0% {
      opacity: 0;
      visibility: hidden;
      transform: translateY(-10px) scale(0.8);
    }

    100% {
      opacity: 1;
      visibility: visible;
      transform: translateY(0) scale(1);
    }
  }

  .lilly-logo:hover ul li:nth-child(2),
  .lilly-logo:focus-within ul li:nth-child(2) {
    animation-delay: 0.1s;
  }

  .lilly-logo:hover ul li:nth-child(3),
  .lilly-logo:focus-within ul li:nth-child(3) {
    animation-delay: 0.2s;
  }

  .lilly-logo:hover ul li:nth-child(4),
  .lilly-logo:focus-within ul li:nth-child(4) {
    animation-delay: 0.3s;
  }

  .lilly-logo:hover ul li:nth-child(5),
  .lilly-logo:focus-within ul li:nth-child(5) {
    animation-delay: 0.4s;
  }

  .lilly-logo:hover ul li:nth-child(6),
  .lilly-logo:focus-within ul li:nth-child(6) {
    animation-delay: 0.5s;
  }

  .lilly-logo:hover .desktop-hamburger,
  .lilly-logo:focus-within .desktop-hamburger {
    opacity: 0;
    transform: rotate(180deg) scale(0);
  }

  .lilly-logo:hover+.login,
  .lilly-logo:focus-within+.login {
    display: none;
  }

  /* JavaScript-based menu for accessibility */
  /* Reset mobile menu-expanded on desktop */
  .lilly-logo.menu-expanded {
    padding: 1.6rem 2.4rem;
    width: auto;
    align-items: center;
    background-color: var(--color-lilly-transparent-black);
    border-radius: 3.2rem;
  }

  .lilly-logo.menu-expanded li:first-child {
    background-color: transparent;
    border-radius: 0;
    padding: 0;
  }

  .lilly-logo.menu-expanded ul {
    align-items: center;
    background-color: transparent;
  }

  .lilly-logo.menu-expanded ul li:not(:first-child) {
    display: none;
    opacity: 0;
    animation: none;
    pointer-events: none;
  }

  .nav-container.menu-open {
    /* Reset mobile menu-open styles on desktop */
  }

  .service-material-nav {
    display: flex;
    opacity: 1;
    pointer-events: auto;
    animation: none !important;
  }

  .login a {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }
}

@media (min-width: 1200px) {
  .bg-hero-banner {
    height: 900px;
  }

 .bg-hero-banner-small{
  height:712px; 
}
}

