/* Al-Ammary mega navbar — CGC-inspired layout, brand colors */

:root {
  --al-font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --al-wavy-lines: url("home-3-line-bg.svg");
  --al-brand-navy: #272870;
  --al-brand-navy-dark: #1a1b5e;
  --al-brand-cream: #f4f4f8;
  --al-brand-border: #e5e7eb;
  --al-nav-surface: #ffffff;
  --al-nav-font: 1.375rem;
  --al-nav-font-mobile: 1.2rem;
  --al-nav-cta-font: 1.25rem;
  --al-mega-heading: 2.125rem;
  --al-mega-desc: 1.25rem;
  --al-mega-link: 1.25rem;
  --al-mega-link-icon: 1.5rem;
  --al-photo-overlay: linear-gradient(
    90deg,
    rgba(26, 27, 94, 0.92) 0%,
    rgba(39, 40, 112, 0.78) 30%,
    rgba(39, 40, 112, 0.5) 52%,
    rgba(39, 40, 112, 0.22) 72%,
    rgba(39, 40, 112, 0.06) 88%,
    transparent 100%
  );
  --al-photo-overlay-right: linear-gradient(
    270deg,
    rgba(255, 255, 255, 0.62) 0%,
    rgba(255, 255, 255, 0.38) 14%,
    rgba(248, 249, 253, 0.2) 30%,
    transparent 52%
  );
}

.al-mega-nav {
  background-color: #ffffff !important;
  border-bottom: 1px solid var(--al-brand-border);
  width: 100%;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  overflow: visible;
}

.al-mega-nav.w-nav {
  position: sticky;
  inset: auto;
}

.navbar.al-mega-nav,
.navbar.al-mega-nav .w-nav-menu,
.navbar.al-mega-nav .nav-menu-wrapper,
.al-mega-nav__menu.nav-menu,
.al-mega-nav__primary,
.al-mega-nav__dropdowns {
  background-color: #ffffff !important;
}

.al-mega-nav__container.nav-container {
  max-width: 100%;
  padding: 1.35rem 2rem;
  min-height: 0;
  box-sizing: border-box;
}

.al-mega-nav__wrapper.nav-menu-wrapper {
  width: 100%;
  align-items: center;
  display: flex !important;
  gap: 1rem;
  overflow: visible;
}

.al-mega-nav__logo.brand,
.al-mega-nav .brand.w-nav-brand {
  flex: 0 0 auto;
  float: none !important;
  display: flex !important;
  align-items: center;
  padding: 0.35rem 0;
  margin-right: 0.5rem;
  position: relative;
  z-index: 5;
  min-width: 15rem;
}

.al-mega-nav .brand img,
.al-mega-nav .brand-tablet img {
  height: 108px !important;
  width: auto !important;
  max-width: min(500px, 48vw) !important;
  min-width: 220px;
  object-fit: contain;
  object-position: left center;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.al-mega-nav__menu.nav-menu {
  position: static;
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  text-align: left;
}

.al-mega-nav__primary {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
}

.al-mega-nav__dropdowns {
  display: flex;
  align-items: center;
}

.al-mega-dropdown.nav-dropdown {
  position: static;
  margin: 0;
}

.al-mega-dropdown__toggle.nav-dropdown-toggle {
  padding: 0 0.85rem;
  height: auto;
  min-height: 3.5rem;
  display: flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.al-mega-dropdown:hover .al-mega-dropdown__toggle,
.al-mega-dropdown__toggle.w--open {
  border-bottom-color: #272870;
}

.al-mega-dropdown__label,
.al-mega-dropdown__label-mobile {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: var(--al-nav-font);
  font-weight: 300;
  color: #1a1a1a;
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
}

.al-mega-dropdown__label:hover,
.al-mega-dropdown:hover .al-mega-dropdown__label,
.al-mega-dropdown__toggle.w--open .al-mega-dropdown__label {
  color: #272870;
}

.al-mega-dropdown__label-mobile {
  display: none;
}

.al-mega-nav .nav-dropdown-icon,
.al-mega-nav .nav-dropdown-icon-desktop {
  display: none !important;
}

.al-mega-nav .navbar-button-wrap .btn-primary-solid,
.al-mega-nav .block-button-tablet .btn-primary-solid {
  font-size: var(--al-nav-cta-font);
  font-weight: 400;
  padding: 12px 28px;
  min-height: 50px;
}

.al-mega-nav__plain-link.nav-link {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: var(--al-nav-font);
  font-weight: 300;
  color: #1a1a1a !important;
  text-decoration: none;
  padding: 0 0.85rem;
  height: auto;
  min-height: 3.5rem;
  display: flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.al-mega-nav__plain-link.nav-link:hover,
.al-mega-nav__plain-link.nav-link.w--current {
  color: #272870 !important;
  border-bottom-color: #272870;
}

.al-mega-nav .nav-menu-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
}

.al-mega-panel.nav-dropdown-list {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  width: 100%;
  min-height: 22rem;
  margin: 0;
  padding: 0 3rem;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background-color: #ffffff !important;
  background-image: none !important;
  overflow: hidden;
  display: none;
  z-index: 1001;
}

.al-mega-nav .nav-dropdown-list,
.al-mega-nav .nav-dropdown-list.w--open,
.al-mega-nav .w-dropdown-list,
.al-mega-nav .w-dropdown-list.w--open {
  background-color: #ffffff !important;
  background-image: none !important;
  border: none !important;
}

.al-mega-panel.w--open {
  display: block;
}

.al-mega-panel__content {
  display: flex;
  flex-flow: row;
  padding: 2.25rem 0;
  gap: 2.75rem;
  box-sizing: border-box;
  background-color: #ffffff;
}

.al-mega-panel__intro {
  width: 34%;
  flex: none;
  border-right: none;
  padding-right: 3.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.al-mega-panel__heading {
  font-family: "Playfair Display", serif;
  font-size: var(--al-mega-heading);
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.2;
}

.al-mega-panel__desc {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: var(--al-mega-desc);
  font-weight: 300;
  line-height: 1.65;
  color: #667085;
  margin: 0;
}

.al-mega-panel__photos {
  display: flex;
  gap: 0.65rem;
  width: 100%;
  margin-top: 0.5rem;
}

.al-mega-panel__photo {
  object-fit: cover;
  width: 50%;
  border-radius: 4px;
  display: block;
}

.al-mega-panel__photo--short {
  height: 108px;
  margin-top: 1.25rem;
}

.al-mega-panel__photo--tall {
  height: 132px;
}

.al-mega-panel__links {
  flex: 1;
  display: grid;
  align-items: start;
  gap: 2.5rem;
  padding-left: 1.5rem;
  width: 100%;
  min-width: 0;
}

.al-mega-panel__links--about {
  grid-template-columns: repeat(3, minmax(14rem, 1fr));
  column-gap: 0;
}

.al-mega-panel__links--about .al-mega-panel__col + .al-mega-panel__col {
  margin-left: 3.25rem;
  padding-left: 3.25rem;
  border-left: 1px solid #e3e6ef;
}

.al-mega-panel__links--services,
.al-mega-panel__links--projects {
  grid-template-columns: repeat(2, minmax(15rem, 1fr));
  column-gap: 0;
}

.al-mega-panel__links--services .al-mega-panel__col + .al-mega-panel__col,
.al-mega-panel__links--projects .al-mega-panel__col + .al-mega-panel__col {
  margin-left: 3.25rem;
  padding-left: 3.25rem;
  border-left: 1px solid #e3e6ef;
}

.al-mega-panel__col {
  display: flex;
  flex-flow: column;
  gap: 0.55rem;
  width: 100%;
  min-width: 0;
}

.al-mega-panel__col--secondary {
  align-self: flex-start;
}

.al-mega-link {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  width: 100%;
  max-width: 22rem;
  padding: 0.55rem 0.5rem;
  border-radius: 6px;
  text-decoration: none;
  color: #1a1a1a;
  transition: opacity 0.2s ease, background-color 0.2s ease;
}

.al-mega-link:hover {
  opacity: 0.85;
  background-color: #f4f5fb;
}

.al-mega-link__icon {
  width: 1.9rem;
  height: 1.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  color: #272870;
  font-size: var(--al-mega-link-icon);
  line-height: 1;
}

.al-mega-link__text {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: var(--al-mega-link);
  font-weight: 300;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.al-mega-link.is-active .al-mega-link__text,
.al-mega-link.w--current .al-mega-link__text {
  font-weight: 600;
}

.al-mega-link--certifications {
  align-items: flex-start;
}

.al-mega-link--certifications .al-mega-link__text {
  line-height: 1.25;
  white-space: normal;
}

.al-mega-nav .navbar-button-wrap {
  margin-left: 1rem;
}

.al-mega-nav__burger.menu-button {
  margin-left: 0.75rem;
}

.al-mega-nav__burger-icon {
  width: 24px;
  display: none;
}

.al-mega-nav__burger-icon .menu-icon_line-top,
.al-mega-nav__burger-icon .menu-icon_line-middle,
.al-mega-nav__burger-icon .menu-icon_line-bottom {
  background-color: #1a1a1a;
  width: 100%;
  height: 2px;
}

.al-mega-nav__burger-icon .menu-icon_line-middle {
  margin: 5px 0;
  position: relative;
}

.al-mega-nav__burger-icon .menu-icon_line-middle-inner {
  display: none;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

/* Mobile bottom sheet — must stay out of document flow on desktop */
.al-mobile-nav-root {
  display: none !important;
}

@media screen and (max-width: 991px) {
  .al-mega-nav__container.nav-container {
    padding: 1.1rem 1rem;
    min-height: 0;
  }

  .al-mega-nav {
    border-bottom: 1px solid var(--al-brand-border);
    box-shadow: 0 1px 0 rgba(39, 40, 112, 0.04);
  }

  body.al-mobile-nav-open .al-mega-nav {
    border-bottom-color: rgba(39, 40, 112, 0.12);
  }

  .al-mega-nav .brand img,
  .al-mega-nav .brand-tablet img {
    height: 80px !important;
    max-width: min(400px, 72vw) !important;
    min-width: 180px;
  }

  .al-mega-nav__burger.menu-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0 !important;
    border: 0;
    border-radius: 50%;
    background: var(--al-brand-cream);
    text-align: center;
    box-sizing: border-box;
    line-height: 0;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
  }

  body.al-mobile-nav-open .al-mega-nav__burger.menu-button {
    background: #fff;
    box-shadow: inset 0 0 0 1px var(--al-brand-border);
  }

  .al-mega-nav__burger-icon .menu-icon_line-top,
  .al-mega-nav__burger-icon .menu-icon_line-middle,
  .al-mega-nav__burger-icon .menu-icon_line-bottom {
    background-color: var(--al-brand-navy);
  }

  /* Hide Webflow side drawer — mobile uses bottom sheet */
  .al-mega-nav .w-nav-menu,
  .w-nav-overlay .al-mega-nav__menu,
  .al-mega-nav.w-nav .w-nav-overlay {
    display: none !important;
  }

  .al-mega-nav .navbar-button-wrap {
    display: none;
  }

  .al-mega-nav__burger-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 20px;
    margin: 0;
  }

  .al-mega-nav .image-burger {
    display: none !important;
  }

  body.al-mobile-nav-open {
    overflow: hidden;
  }

  .al-mobile-nav-root {
    display: block !important;
    position: fixed;
    inset: 0;
    z-index: 1200;
    pointer-events: none;
    visibility: hidden;
  }

  .al-mobile-nav-root.is-open {
    pointer-events: auto;
    visibility: visible;
  }

  .al-mobile-nav-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 18, 48, 0.45);
    opacity: 0;
    transition: opacity 0.28s ease;
  }

  .al-mobile-nav-root.is-open .al-mobile-nav-backdrop {
    opacity: 1;
  }

  .al-mobile-nav-sheet {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 auto;
    width: 100%;
    max-width: 520px;
    max-height: min(88vh, 760px);
    padding: 0.25rem 1.25rem calc(1.35rem + env(safe-area-inset-bottom, 0px));
    border-radius: 20px 20px 0 0;
    border-top: 1px solid rgba(39, 40, 112, 0.08);
    background: #fff;
    box-shadow: 0 -16px 48px rgba(17, 18, 48, 0.16);
    transform: translateY(110%);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .al-mobile-nav-sheet::before {
    display: none;
  }

  .al-mobile-nav-root.is-open .al-mobile-nav-sheet {
    transform: translateY(0);
  }

  .al-mobile-nav-sheet__header {
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 -0.25rem;
    padding: 0.55rem 0.35rem 0.35rem;
    background: #fff;
  }

  .al-mobile-nav-sheet__title {
    color: var(--al-brand-navy);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
  }

  .al-mobile-nav-sheet__handle {
    display: none;
  }

  .al-mobile-nav-sheet__close {
    position: static;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    padding: 0;
    border: 1px solid rgba(39, 40, 112, 0.12);
    border-radius: 50%;
    background: var(--al-brand-cream);
    color: var(--al-brand-navy);
    cursor: pointer;
    box-sizing: border-box;
    line-height: 0;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 0.2s ease, border-color 0.2s ease;
  }

  .al-mobile-nav-sheet__close:hover,
  .al-mobile-nav-sheet__close:focus-visible {
    background: #fff;
    border-color: rgba(39, 40, 112, 0.22);
    outline: none;
  }

  .al-mobile-nav-sheet__close-icon {
    display: block;
    width: 18px;
    height: 18px;
  }

  .al-mobile-nav-sheet__links {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-top: 0;
    padding-top: 0.35rem;
  }

  .al-mobile-nav-sheet__link {
    display: block;
    padding: 0.9rem 0.65rem;
    border-bottom: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--al-brand-navy-dark);
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
  }

  .al-mobile-nav-sheet__link:last-child {
    border-bottom: 0;
  }

  .al-mobile-nav-sheet__link.is-active {
    color: var(--al-brand-navy);
    background: rgba(39, 40, 112, 0.06);
  }

  .al-mobile-nav-sheet__link.is-active:not(.al-mobile-nav-sheet__toggle) .al-mobile-nav-sheet__label {
    font-weight: 600;
  }

  .al-mobile-nav-sheet__link:active {
    background: rgba(39, 40, 112, 0.1);
    color: var(--al-brand-navy);
  }

  .al-mobile-nav-sheet__icon {
    display: none;
  }

  .al-mobile-nav-sheet__group {
    margin-bottom: 0.15rem;
  }

  .al-mobile-nav-sheet__group .al-mobile-nav-sheet__link {
    margin-bottom: 0;
  }

  .al-mobile-nav-sheet__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    border: 0;
    cursor: pointer;
    text-align: left;
    font: inherit;
  }

  .al-mobile-nav-sheet__link.al-mobile-nav-sheet__toggle {
    display: flex;
  }

  .al-mobile-nav-sheet__group.is-open .al-mobile-nav-sheet__toggle {
    border-radius: 12px 12px 0 0;
    background: var(--al-brand-cream);
    color: var(--al-brand-navy);
  }

  .al-mobile-nav-sheet__chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    padding: 0;
    border-radius: 50%;
    background: rgba(39, 40, 112, 0.08);
    color: var(--al-brand-navy);
    box-sizing: border-box;
    line-height: 0;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.2s ease;
  }

  .al-mobile-nav-sheet__chevron svg {
    display: block;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }

  .al-mobile-nav-sheet__group.is-open .al-mobile-nav-sheet__chevron {
    transform: rotate(180deg);
    background: rgba(39, 40, 112, 0.14);
  }

  .al-mobile-nav-sheet__sub {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .al-mobile-nav-sheet__group.is-open .al-mobile-nav-sheet__sub {
    grid-template-rows: 1fr;
  }

  .al-mobile-nav-sheet__group:not(.is-open) .al-mobile-nav-sheet__sub {
    display: none;
  }

  .al-mobile-nav-sheet__sub-inner {
    min-height: 0;
    overflow: hidden;
    background: var(--al-brand-cream);
    border-radius: 0 0 12px 12px;
    padding: 0.35rem 0.55rem 0.6rem;
  }

  .al-mobile-nav-sheet__sublink {
    display: block;
    padding: 0.72rem 0.8rem;
    margin: 0.12rem 0;
    border-radius: 9px;
    color: rgba(26, 27, 94, 0.78);
    text-decoration: none;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 0.98rem;
    font-weight: 400;
    line-height: 1.35;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  }

  .al-mobile-nav-sheet__sublink.is-active {
    color: var(--al-brand-navy);
    font-weight: 600;
    background: #fff;
    box-shadow: 0 1px 4px rgba(39, 40, 112, 0.08);
  }

  .al-mobile-nav-sheet__sublink:active {
    background: rgba(255, 255, 255, 0.72);
    color: var(--al-brand-navy);
  }

  .al-mobile-nav-sheet__label {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.01em;
    text-transform: none;
    color: inherit;
  }

  .al-mobile-nav-sheet__cta {
    position: relative;
    z-index: 1;
    margin-top: 1.35rem;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(39, 40, 112, 0.08);
  }

  .al-mobile-nav-sheet__button {
    width: 100%;
    text-align: center;
    font-size: var(--al-nav-cta-font);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 400;
    padding: 14px 24px;
    min-height: 50px;
    border-radius: 50px;
    background-color: var(--al-brand-navy) !important;
    border-color: var(--al-brand-navy) !important;
    color: #fff !important;
  }

  .al-mobile-nav-sheet__button:hover {
    background-color: var(--al-brand-navy-dark) !important;
    color: #fff !important;
  }
}

@media screen and (max-width: 767px) {
  .al-mega-nav__container.nav-container {
    padding: 1rem 1rem;
  }

  .al-mega-nav .brand img,
  .al-mega-nav .brand-tablet img {
    height: 72px !important;
    max-width: min(360px, 78vw) !important;
    min-width: 168px;
  }
}

@media screen and (min-width: 992px) {
  .al-mega-nav .image-burger {
    display: block;
  }

  .al-mega-nav .nav-dropdown-list.w-dropdown-list {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  .al-mega-nav.w-nav .w-nav-menu {
    position: static !important;
    background-color: #ffffff !important;
  }

  /* Invisible bridge so the cursor can reach the mega panel without closing it */
  .al-mega-panel.nav-dropdown-list::before {
    content: "";
    position: absolute;
    top: -32px;
    left: 0;
    right: 0;
    height: 32px;
    background: #ffffff;
  }

  .al-mega-dropdown:hover .al-mega-dropdown__toggle,
  .al-mega-dropdown__toggle.w--open {
    border-bottom-color: #272870;
  }

  .al-mega-panel.nav-dropdown-list {
    display: block !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: none;
    box-shadow: none;
    transition:
      opacity 0.22s ease,
      visibility 0s linear 0.22s;
  }

  .al-mega-panel.nav-dropdown-list.w--open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    border-bottom: 1px solid var(--al-brand-border);
    box-shadow: 0 10px 28px rgba(17, 18, 48, 0.05);
    transition:
      opacity 0.22s ease,
      visibility 0s;
  }

  .al-mega-panel__content {
    padding: 2.25rem 0;
    max-width: none;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    opacity: 0;
    transform: translate3d(0, 10px, 0);
    transition:
      opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1) 0.05s,
      transform 0.38s cubic-bezier(0.22, 1, 0.36, 1) 0.05s;
  }

  .al-mega-panel.w--open .al-mega-panel__content {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  .al-mega-panel.nav-dropdown-list::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -20px;
    height: 20px;
  }

  @media (prefers-reduced-motion: reduce) {
    .al-mega-panel.nav-dropdown-list,
    .al-mega-panel__content {
      transition: none !important;
      transform: none !important;
    }
  }

  .al-mega-panel__intro {
    min-width: 260px;
    width: 28%;
  }
}

/* Wavy line banner — same decorative SVG as Leadership (home 3 line bg) */
.section.banner-our-team,
.section.banner-our-process,
.section.about-us-banner,
.home-4-top-banner-section,
.contact-us-top-banner-section {
  background-image: var(--al-wavy-lines) !important;
  background-position: 50% 0 !important;
  background-repeat: no-repeat !important;
  background-size: auto !important;
  background-color: #fff;
}

.home-4-top-banner-section.testimonials-page {
  background-image: var(--al-wavy-lines) !important;
  min-height: 450px;
}

.contact-us-section-with-parallax {
  background-image:
    linear-gradient(rgba(26, 27, 94, 0.1), rgba(26, 27, 94, 0.1)),
    url("./contact-us-hero.jpg") !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-attachment: scroll !important;
}

.service-list-banner {
  background-color: #fff !important;
  background-image: var(--al-wavy-lines) !important;
  background-position: 50% 0 !important;
  background-repeat: no-repeat !important;
  background-size: auto !important;
}

.service-list-banner .service-list-title,
.service-list-banner .services-list-description,
.service-list-banner .home-5-category-title {
  color: #272870;
}

.service-list-banner .home-5-category-title {
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.service-list-banner .service-category-small-title {
  color: #5c5c5c;
}

.section.banner-services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 340px;
  background-image: var(--al-wavy-lines);
  background-position: 50% 0;
  background-repeat: no-repeat;
  background-size: auto;
  pointer-events: none;
  z-index: 1;
}

.news-2-top-banner-section.projects-top-banner {
  background-image:
    var(--al-wavy-lines),
    var(--al-photo-overlay-right),
    var(--al-photo-overlay),
    url("https://cdn.prod.website-files.com/65908b0099eab59295abf526/6593e453968b703a2d5853c3_pexels-%E5%A4%A7%E4%BC%9F-16612657.webp") !important;
  background-position: 50% -15%, 0 0, 0 0, 50% !important;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat !important;
  background-size: auto, cover, cover, cover !important;
  background-attachment: scroll, scroll, scroll, fixed !important;
}

.clients-top-banner-section {
  background-image:
    var(--al-wavy-lines),
    var(--al-photo-overlay-right),
    var(--al-photo-overlay),
    url("https://cdn.prod.website-files.com/65908b0099eab59295abf526/6595252ff7632898134c7d5e_construction-silhouette.webp") !important;
  background-position: 50% -15%, 0 0, 0 0, 50% !important;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat !important;
  background-size: auto, cover, cover, cover !important;
}

/* Homepage hero — real photos via <img>, light tint only (no heavy navy wash) */
.home-hero-carousel .home-hero-slide-panel,
.home-hero-carousel .news-2-top-banner-section.home-hero-slide-panel {
  background: #272870 !important;
}

.home-hero-carousel .home-hero-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.home-hero-carousel .home-hero-slide-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(26, 27, 94, 0.18) 0%, transparent 42%, rgba(26, 27, 94, 0.42) 100%),
    linear-gradient(270deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.08) 18%, transparent 50%),
    linear-gradient(
      90deg,
      rgba(26, 27, 94, 0.9) 0%,
      rgba(39, 40, 112, 0.78) 24%,
      rgba(39, 40, 112, 0.58) 42%,
      rgba(39, 40, 112, 0.32) 58%,
      rgba(39, 40, 112, 0.12) 74%,
      transparent 92%
    );
}

.section.banner-services .background {
  background: var(--al-photo-overlay) !important;
}

/* Homepage core services — 7th card hover */
.services-content-item.seventh-item:hover {
  background-image: linear-gradient(90deg, rgba(26, 27, 94, 0.88) 0%, rgba(39, 40, 112, 0.72) 45%, rgba(39, 40, 112, 0.45) 100%),
    url("./IndustrialConstruction.jpg") !important;
  background-size: cover !important;
  background-position: center !important;
  border-color: #272870;
}

/* Service CTA — always full-bleed even if markup nesting slips */
.service-cta-section {
  width: 100%;
  align-self: stretch;
  box-sizing: border-box;
}
.section.with-black-bg .home-3-process-wrapper .al-vmv-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.section.with-black-bg .home-3-process-wrapper .al-vmv-icon {
  flex-shrink: 0;
  width: auto;
  height: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  line-height: 1;
  color: #fff;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.section.with-black-bg .home-3-process-wrapper .al-vmv-heading .our-services-number-2,
.section.with-black-bg .home-3-process-wrapper .al-vmv-heading .home-3-our-services-number {
  margin-bottom: 0 !important;
}

@media screen and (max-width: 767px) {
  .section.with-black-bg .home-3-process-wrapper .al-vmv-icon {
    font-size: 30px;
  }

  .section.with-black-bg .home-3-process-wrapper .al-vmv-heading {
    gap: 14px;
    margin-bottom: 14px;
  }
}

/* Homepage — Featured Projects (separate blue band) */
.al-featured-projects-section {
  background-color: #272870;
}

.al-featured-projects-section > .base-container.w-container {
  max-width: 1360px;
}

.al-featured-projects-section .small-title {
  color: rgba(255, 255, 255, 0.72);
}

.al-featured-projects-section .portfolio-title,
.al-featured-projects-section .home-3-portfolio-title {
  color: #fff;
}

.al-featured-projects-section .home-featured-projects-cta .btn-primary-light,
.al-featured-projects-section .home-featured-projects-cta a.btn-primary-light.w-button {
  background-color: #fff !important;
  color: #272870 !important;
}

/* Homepage — About section (blue band) */
.al-home-about-section {
  background-color: #272870;
}

.al-home-about-section.section.without-bottom-spacing {
  padding-bottom: 5rem;
}

.al-home-about-section .button-holder {
  margin-top: 1.75rem;
}

.al-home-about-section .small-title {
  color: rgba(255, 255, 255, 0.72);
}

.al-home-about-section h2,
.al-home-about-section .about-studio-wrapper > h2 {
  color: #fff;
}

.al-home-about-section .paragraph-large {
  color: rgba(255, 255, 255, 0.88);
}

.al-home-about-section .design-content-description {
  color: rgba(255, 255, 255, 0.78);
}

.al-home-about-section .btn-primary-solid.w-button {
  background-color: #fff !important;
  color: #272870 !important;
  border-color: #fff !important;
}

.al-home-about-section .btn-primary-solid.w-button:hover {
  background-color: rgba(255, 255, 255, 0.92) !important;
  color: #272870 !important;
}

.al-featured-projects-section .home-featured-projects-cta .btn-primary-light:hover,
.al-featured-projects-section .home-featured-projects-cta a.btn-primary-light.w-button:hover {
  background-color: #e8e9f4 !important;
  color: #272870 !important;
}

.al-featured-projects-section .project-reference-card-inner,
.home-featured-projects-grid .project-reference-card-inner {
  border: none;
}

.al-featured-projects-section .project-reference-info,
.home-featured-projects-grid .project-reference-info {
  border-top: none;
}

/* Homepage — service card headings */
.our-services-title {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
#view-our-story.section.with-divider {
  background-color: #272870;
}

#view-our-story .small-title {
  color: rgba(255, 255, 255, 0.72);
}

#view-our-story .studio-content-wrap h2 {
  color: #fff;
}

#view-our-story .home-1-studio-content-description {
  color: rgba(255, 255, 255, 0.88);
}

#view-our-story .studio-content-description-wrap {
  border-top-color: rgba(255, 255, 255, 0.28);
}

#view-our-story .btn-primary-light,
#view-our-story a.btn-primary-light.w-button {
  background-color: #fff !important;
  color: #272870 !important;
}

#view-our-story .btn-primary-light:hover,
#view-our-story a.btn-primary-light.w-button:hover {
  background-color: #e8e9f4 !important;
  color: #272870 !important;
}

/* Homepage commitment parallax — real <img> (mobile-safe) */
.section-with-parallax {
  position: relative;
  min-height: 320px;
  padding: 0 !important;
  overflow: hidden;
  background: #272870 !important;
  background-image: none !important;
}

.section-with-parallax__bg {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: center;
}

/* Hero slider — dots below CTA on mobile (overlaid on hero, not a separate bar) */
@media (max-width: 767px) {
  .home-hero-carousel {
    position: relative;
  }

  .home-hero-carousel__track {
    min-height: 58vh;
  }

  .home-hero-carousel .home-hero-slide-panel,
  .home-hero-carousel .news-2-top-banner-section.home-hero-slide-panel {
    min-height: 58vh !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-end !important;
    padding-top: 96px !important;
    padding-bottom: 58px !important;
  }

  .home-hero-carousel .news-2-text-holder {
    width: 100%;
    flex: 0 0 auto;
    justify-content: flex-end !important;
  }

  .home-hero-carousel .clients-paragraph-holder {
    width: 100%;
  }

  .home-hero-carousel .news-2-description {
    width: 100% !important;
    margin-top: 14px !important;
    margin-bottom: 18px !important;
  }

  .home-hero-carousel .home-button-wrap,
  .home-hero-carousel .home-button-holder {
    margin-bottom: 0 !important;
    padding-right: 0 !important;
  }

  .home-hero-carousel > .home-hero-dots {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 14px !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 6;
    background: none !important;
  }

  .home-hero-carousel > .home-hero-arrow {
    display: none !important;
  }
}

/* Benefits slider arrows on dark navy — same circular controls as about-us / why-choose-us */
.service-with-black-bg .benefits-left-arrow,
.service-with-black-bg .benefits-right-arrow {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  inset: auto 15px auto auto;
  top: 12px;
  background-position: center;
  background-size: 18px auto;
  border-radius: 50%;
  cursor: pointer;
  filter: brightness(0) invert(1) !important;
  opacity: 0.92;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: background-color 0.2s ease, transform 0.15s ease, opacity 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.service-with-black-bg .benefits-left-arrow {
  right: 64px;
}

.service-with-black-bg .benefits-left-arrow:hover,
.service-with-black-bg .benefits-right-arrow:hover {
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
}

.service-with-black-bg .benefits-left-arrow:active,
.service-with-black-bg .benefits-right-arrow:active {
  transform: scale(0.9);
  background-color: rgba(255, 255, 255, 0.26);
}

/* Scroll reveal — Webflow fallback + custom homepage sections */
.al-scroll-reveal,
.al-scroll-reveal-stagger > * {
  opacity: 0 !important;
  transform: translate3d(0, 36px, 0) !important;
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

[data-w-id][style*="opacity: 0"],
[data-w-id][style*="opacity:0"] {
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.al-scroll-reveal.al-is-revealed,
.al-scroll-reveal-stagger > *.al-is-revealed,
[data-w-id].al-is-revealed {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) !important;
}

@media (prefers-reduced-motion: reduce) {
  .al-scroll-reveal,
  .al-scroll-reveal-stagger > *,
  [data-w-id][style*="opacity: 0"],
  [data-w-id][style*="opacity:0"] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Body copy scale — navbar typography unchanged */
:root {
  --al-text-base: 21px;
  --al-text-lg: 24px;
  --al-text-md: 20px;
  --al-text-sm: 17px;
  --al-text-line: 1.65;
  --al-heading-1: 3.75rem;
  --al-heading-2: 2.5rem;
  --al-heading-3: 2.125rem;
  --al-heading-4: 1.375rem;
}

body {
  font-size: var(--al-text-base);
  line-height: var(--al-text-line);
}

body h1 {
  font-size: var(--al-heading-1);
}

body h2 {
  font-size: var(--al-heading-2);
}

body h3 {
  font-size: var(--al-heading-3);
}

body h4 {
  font-size: var(--al-heading-4);
}

p,
li,
label,
.paragraph-no-margin,
.paragraph-large,
.paragraph-gray,
.paragraph-holder,
.banner-description,
.about-banner-description,
.design-content-description,
.what-we-do-description,
.home-1-description,
.home-1-studio-content-description,
.home-hero-slide-desc,
.news-2-description,
.benefits-description,
.home-3-blog-description,
.contact-us-banner-description,
.contacts-2-description,
.service-cta-description,
.service-category-small-title,
.project-reference-category,
.description-holder p,
.grid-description,
.process-paragraph,
.footer-brand-description,
.footer-link,
.footer-contact-link,
.footer-copyright,
.home-client-name,
.contacts-input,
.contacts-textarea,
.w-richtext p,
.w-richtext li,
.rich-text-style p,
.rich-text-style li,
.service-details-content p,
.service-details-content li,
.home-clients-category-label,
.why-choose-banner-description,
.our-team-short-description,
.cert-item-summary,
.cert-item-text,
.cert-item-meta,
.al-team-summary li,
.al-org-intro-text,
.team-member-position,
.team-page-members-name,
.process-holder-title,
.process-steps-title,
.home-5-category-title,
.clients-paragraph-holder,
.hire-paragraph,
.landing-paragraph-style {
  font-size: var(--al-text-base);
  line-height: var(--al-text-line);
}

.paragraph-large,
.banner-description,
.design-content-description,
.news-2-description,
.home-hero-carousel .news-2-description,
.why-choose-banner-description,
.our-team-short-description,
.contact-us-banner-description {
  font-size: var(--al-text-lg);
  line-height: 1.55;
}

p.small-title,
.small-title,
.small-title.service-cta-label,
.service-cta-label {
  font-size: var(--al-text-sm);
}

.service-list-section .home-3-blog-description {
  font-size: var(--al-text-md);
}

.service-list-section .link-with-icon {
  font-size: var(--al-text-base);
}

.service-cta-description {
  font-size: var(--al-text-lg);
}

@media screen and (max-width: 767px) {
  :root {
    --al-heading-1: 2.75rem;
    --al-heading-2: 2rem;
    --al-heading-3: 1.75rem;
    --al-heading-4: 1.25rem;
  }

  .service-cta-description {
    font-size: var(--al-text-base);
  }
}
