/*
Theme Name: Elessi Theme Child
Theme URI: https://elessi.nasatheme.com
Description: This is a child theme for Elessi Theme
Author: NasaTheme team
Author URI: https://nasatheme.com
Template: elessi-theme
Version: 1.0
*/

/*************** ADD YOUR CUSTOM CSS IN THIS AREA ***************/

/* Rolmax mobile navigation v2: title backgrounds only; native toggles untouched. */
@media (max-width: 1024px) {
  #mobile-navigation > li > a.nasa-title-menu {
    position: relative;
    box-sizing: border-box;
    min-height: 54px;
    padding: 16px 46px 16px 54px !important;
    color: #26384c !important;
    background-color: #fff;
    background-repeat: no-repeat !important;
    background-position: 18px center !important;
    background-size: 23px 23px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 22px !important;
  }
  #mobile-navigation > li > a.nasa-title-menu:is([href$="/product-category/rolete/"],[href*="/product-category/rolete/?"]) {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23126fc7' stroke-width='1.8'%3E%3Cpath d='M4 3h16v18H4zM7 6h10M7 9h10M7 12h10M7 15h10M7 18h10'/%3E%3C/svg%3E") !important;
  }
  #mobile-navigation > li > a.nasa-title-menu:is([href$="/product-category/ferestre/"],[href*="/product-category/ferestre/?"]) {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23126fc7' stroke-width='1.8'%3E%3Crect x='3' y='3' width='18' height='18'/%3E%3Cpath d='M12 3v18M3 12h18'/%3E%3C/svg%3E") !important;
  }
  #mobile-navigation > li > a.nasa-title-menu:is([href$="/product-category/porti/"],[href*="/product-category/porti/?"]) {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23126fc7' stroke-width='1.8'%3E%3Cpath d='M3 9l9-6 9 6v12H3zM6 11h12v10H6zM8 14h8M8 17h8'/%3E%3C/svg%3E") !important;
  }
  #mobile-navigation > li > a.nasa-title-menu:is([href$="/product-category/sisteme-de-umbrire/"],[href*="/product-category/sisteme-de-umbrire/?"]) {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23126fc7' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v3M12 19v3M2 12h3M19 12h3M4.9 4.9L7 7M17 17l2.1 2.1M19.1 4.9L17 7M7 17l-2.1 2.1'/%3E%3C/svg%3E") !important;
  }
  #mobile-navigation > li > a.nasa-title-menu:is([href$="/product-category/rolete/plase-antitantari/"],[href*="/product-category/rolete/plase-antitantari/?"]) {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23126fc7' stroke-width='1.6'%3E%3Cpath d='M4 4h16v16H4zM4 8h16M4 12h16M4 16h16M8 4v16M12 4v16M16 4v16'/%3E%3C/svg%3E") !important;
  }
  #mobile-navigation > li > a.nasa-title-menu:is([href$="/product-category/accesorii/"],[href*="/product-category/accesorii/?"]) {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23126fc7' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='2' width='12' height='20' rx='3'/%3E%3Cpath d='m10 8 2-2 2 2m-4 8 2 2 2-2'/%3E%3Crect x='10.5' y='10.5' width='3' height='3' rx='.4'/%3E%3C/svg%3E") !important;
  }
  #mobile-navigation > li.active > a.nasa-title-menu {
    background-color: #eef5ff !important;
    color: #0b3e6e !important;
  }
  #mobile-navigation .sub-menu {
    margin: 0 10px 10px !important;
    padding: 8px !important;
    background: #fff !important;
    border: 1px solid rgba(11,62,110,.10) !important;
    border-radius: 3px;
    box-shadow: 0 5px 14px rgba(8,35,66,.07);
  }
  #mobile-navigation .sub-menu li {
    margin: 0 !important;
    border: 0 !important;
    background: #fff !important;
  }
  #mobile-navigation .sub-menu li > a:not(.nasa-open-child) {
    position: relative;
    box-sizing: border-box;
    display: block;
    min-height: 44px;
    padding: 11px 12px 11px 29px !important;
    color: #25384c !important;
    background: transparent !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 22px !important;
    text-transform: none !important;
    border-radius: 2px;
  }
  #mobile-navigation .sub-menu li > a:not(.nasa-open-child)::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-top: 1.5px solid #62a4df;
    border-right: 1.5px solid #62a4df;
    transform: translateY(-50%) rotate(45deg);
    pointer-events: none;
  }
  #mobile-navigation .sub-menu li > a:not(.nasa-open-child):hover,
  #mobile-navigation .sub-menu li > a:not(.nasa-open-child):focus-visible {
    color: #0f68b8 !important;
    background: #edf6ff !important;
  }
}


/* Rolmax premium product navigation — desktop only */
@media (min-width: 1025px) {
  #site-navigation > li.menu-parent-item > .nav-dropdown {
    min-width: 290px;
    padding: 0;
    background: #fff;
    border: 1px solid rgba(11, 62, 110, .10);
    border-radius: 3px;
    box-shadow: 0 16px 36px rgba(8, 35, 66, .16), 0 3px 8px rgba(8, 35, 66, .07);
    overflow: hidden;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }

  #site-navigation > li.menu-parent-item:hover > .nav-dropdown {
    transform: none !important;
  }

  #site-navigation > li.menu-parent-item > .nav-dropdown > .sub-menu {
    position: relative;
    padding: 64px 10px 10px;
    margin: 0;
    background: #fff;
  }

  #site-navigation > li.menu-parent-item > .nav-dropdown > .sub-menu::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 54px;
    background: linear-gradient(180deg, #f4f9ff 0%, #eaf4ff 100%);
    border-bottom: 1px solid rgba(29, 124, 226, .12);
  }

  #site-navigation > li.menu-parent-item > .nav-dropdown::before {
    content: "";
    position: absolute;
    z-index: 3;
    top: 15px;
    left: 17px;
    width: 25px;
    height: 25px;
    background: #126fc7;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
  }

  #site-navigation > li.menu-parent-item > .nav-dropdown::after {
    position: absolute;
    z-index: 3;
    top: 17px;
    left: 54px;
    color: #0b3e6e;
    font-size: 15px;
    line-height: 22px;
    font-weight: 700;
    letter-spacing: .01em;
    white-space: nowrap;
  }

  #site-navigation > li.menu-parent-item > .nav-dropdown .sub-menu > li {
    margin: 0;
    border: 0;
  }

  #site-navigation > li.menu-parent-item > .nav-dropdown .sub-menu > li > a {
    position: relative;
    display: block;
    min-height: 38px;
    padding: 9px 13px 9px 30px;
    color: #25384c;
    font-size: 14px;
    line-height: 20px;
    border-radius: 2px;
    transition: background-color .12s ease, color .12s ease;
  }

  #site-navigation > li.menu-parent-item > .nav-dropdown .sub-menu > li > a::before {
    content: "";
    position: absolute;
    left: 13px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-top: 1.5px solid #62a4df;
    border-right: 1.5px solid #62a4df;
    transform: translateY(-50%) rotate(45deg);
    transition: border-color .12s ease;
  }

  #site-navigation > li.menu-parent-item > .nav-dropdown .sub-menu > li > a:hover {
    color: #0f68b8;
    background: #edf6ff;
    padding-left: 30px;
  }

  #site-navigation > li.menu-parent-item > .nav-dropdown .sub-menu > li > a:hover::before {
    border-color: #0f68b8;
  }

  #site-navigation > li.root-item > a.nasa-title-menu {
    transition: color .18s ease;
  }

  #site-navigation > li.root-item:hover > a.nasa-title-menu {
    color: #54a9ff;
  }

  /* Category titles */
  #site-navigation > li.rm-menu-rolete > .nav-dropdown::after { content: "Rolete"; }
  #site-navigation > li.rm-menu-ferestre-usi > .nav-dropdown::after { content: "Ferestre și uși"; }
  #site-navigation > li.rm-menu-garaj > .nav-dropdown::after { content: "Uși de garaj"; }
  #site-navigation > li.rm-menu-umbrire > .nav-dropdown::after { content: "Soluții de umbrire"; }
  #site-navigation > li.rm-menu-plase > .nav-dropdown::after { content: "Plase anti-insecte"; }
  #site-navigation > li.rm-menu-accesorii > .nav-dropdown::after { content: "Accesorii"; }

  /* Inline SVG masks: lightweight, no icon plugin required */
  #site-navigation > li.rm-menu-rolete > .nav-dropdown::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M4 3h16v18H4zM7 6h10M7 9h10M7 12h10M7 15h10M7 18h10'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M4 3h16v18H4zM7 6h10M7 9h10M7 12h10M7 15h10M7 18h10'/%3E%3C/svg%3E");
  }
  #site-navigation > li.rm-menu-ferestre-usi > .nav-dropdown::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Crect x='3' y='3' width='18' height='18'/%3E%3Cpath d='M12 3v18M3 12h18'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Crect x='3' y='3' width='18' height='18'/%3E%3Cpath d='M12 3v18M3 12h18'/%3E%3C/svg%3E");
  }
  #site-navigation > li.rm-menu-garaj > .nav-dropdown::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M3 9l9-6 9 6v12H3zM6 11h12v10H6zM8 14h8M8 17h8'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M3 9l9-6 9 6v12H3zM6 11h12v10H6zM8 14h8M8 17h8'/%3E%3C/svg%3E");
  }
  #site-navigation > li.rm-menu-umbrire > .nav-dropdown::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v3M12 19v3M2 12h3M19 12h3M4.9 4.9L7 7M17 17l2.1 2.1M19.1 4.9L17 7M7 17l-2.1 2.1'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v3M12 19v3M2 12h3M19 12h3M4.9 4.9L7 7M17 17l2.1 2.1M19.1 4.9L17 7M7 17l-2.1 2.1'/%3E%3C/svg%3E");
  }
  #site-navigation > li.rm-menu-plase > .nav-dropdown::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M4 4h16v16H4zM4 8h16M4 12h16M4 16h16M8 4v16M12 4v16M16 4v16'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M4 4h16v16H4zM4 8h16M4 12h16M4 16h16M8 4v16M12 4v16M16 4v16'/%3E%3C/svg%3E");
  }
  #site-navigation > li.rm-menu-accesorii > .nav-dropdown::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.7 1.7 0 000-6l1.2-2.1-2.5-2.5L16 5.6a1.7 1.7 0 00-6 0L7.9 4.4 5.4 6.9 6.6 9a1.7 1.7 0 000 6l-1.2 2.1 2.5 2.5 2.1-1.2a1.7 1.7 0 006 0l2.1 1.2 2.5-2.5z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.7 1.7 0 000-6l1.2-2.1-2.5-2.5L16 5.6a1.7 1.7 0 00-6 0L7.9 4.4 5.4 6.9 6.6 9a1.7 1.7 0 000 6l-1.2 2.1 2.5 2.5 2.1-1.2a1.7 1.7 0 006 0l2.1 1.2 2.5-2.5z'/%3E%3C/svg%3E");
  }
}

/* Mobile menu customization removed: use native Elessi navigation. */

/* Rolmax shop sidebar — mirrors the primary product navigation */
@media (min-width: 1025px) {
  .rolmax-shop-main-menu-widget {
    background: #fff;
    border: 1px solid #dfe6ee;
    border-radius: 3px;
    box-shadow: 0 8px 24px rgba(8, 35, 66, .08);
    padding: 18px 16px 16px;
    overflow: hidden;
  }

  .rolmax-shop-main-menu-title {
    position: relative;
    margin: 0 0 18px !important;
    padding: 0 0 12px !important;
    color: #26384f;
    font-size: 22px !important;
    line-height: 1.1 !important;
    font-weight: 600 !important;
  }

  .rolmax-shop-main-menu-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 38px;
    height: 3px;
    border-radius: 2px;
    background: #2e7ff7;
  }

  .rolmax-shop-main-menu,
  .rolmax-shop-main-menu ul {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  .rolmax-shop-main-menu > li { margin: 0 !important; padding: 0 !important; }

  .rolmax-shop-main-menu > li > a {
    display: block;
    padding: 10px 11px;
    border-radius: 3px;
    color: #2d3d55 !important;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 600;
    text-transform: uppercase;
    transition: background-color .15s ease, color .15s ease;
  }

  .rolmax-shop-main-menu > li > a:hover,
  .rolmax-shop-main-menu > li.current-menu-item > a,
  .rolmax-shop-main-menu > li.current-menu-parent > a,
  .rolmax-shop-main-menu > li.current-menu-ancestor > a {
    background: #2e3d56;
    color: #fff !important;
    transform: none !important;
  }

  .rolmax-shop-main-menu > li > .sub-menu {
    display: none;
    margin: 4px 0 7px 10px !important;
    padding: 3px 0 3px 13px !important;
    border-left: 2px solid #d9e7f8;
  }

  .rolmax-shop-main-menu > li.current-menu-item > .sub-menu,
  .rolmax-shop-main-menu > li.current-menu-parent > .sub-menu,
  .rolmax-shop-main-menu > li.current-menu-ancestor > .sub-menu { display: block; }

  .rolmax-shop-main-menu .sub-menu li { margin: 0 !important; padding: 0 !important; }

  .rolmax-shop-main-menu .sub-menu a {
    display: block;
    padding: 7px 3px;
    color: #667487 !important;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 400;
    text-transform: none;
  }

  .rolmax-shop-main-menu .sub-menu a:hover,
  .rolmax-shop-main-menu .sub-menu .current-menu-item > a {
    color: #2e7ff7 !important;
    transform: none !important;
  }
}

/* WooCommerce sidebar: mirror the primary navigation structure. */
.nasa-sidebar .rolmax-shop-main-menu-widget,
.rolmax-shop-main-menu-widget {
  display: block !important;
  margin: 0 0 28px !important;
  padding: 20px 18px 18px !important;
  background: #fff !important;
  border: 1px solid #dfe5ec !important;
  border-radius: 3px !important;
  box-shadow: 0 8px 24px rgba(23, 44, 72, .08) !important;
}

.rolmax-shop-main-menu-title {
  position: relative;
  margin: 0 0 18px;
  padding: 0 0 13px;
  color: #26364d;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 600;
}

.rolmax-shop-main-menu-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 38px;
  height: 3px;
  background: #2e7ff7;
  border-radius: 2px;
}

.rolmax-shop-main-menu,
.rolmax-shop-main-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rolmax-shop-main-menu > li {
  margin: 0 0 3px;
}

.rolmax-shop-main-menu > li > a {
  position: relative;
  display: block;
  padding: 10px 32px 10px 10px;
  color: #2c3749;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 3px;
  transition: color .15s ease, background-color .15s ease;
}

.rolmax-shop-main-menu > li.menu-item-has-children > a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 12px;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-65%) rotate(45deg);
}

.rolmax-shop-main-menu > li > a:hover {
  color: #2e7ff7;
  background: #f3f7fc;
}

.rolmax-shop-main-menu > li.current-menu-item > a,
.rolmax-shop-main-menu > li.current-menu-parent > a,
.rolmax-shop-main-menu > li.current-menu-ancestor > a {
  color: #fff;
  background: #2c3749;
}

.rolmax-shop-main-menu > li.current-menu-item.menu-item-has-children > a::after,
.rolmax-shop-main-menu > li.current-menu-parent.menu-item-has-children > a::after,
.rolmax-shop-main-menu > li.current-menu-ancestor.menu-item-has-children > a::after {
  transform: translateY(-35%) rotate(225deg);
}

.rolmax-shop-main-menu > li > .sub-menu {
  display: none !important;
  margin: 5px 0 8px 12px !important;
  padding: 4px 0 4px 13px !important;
  border-left: 2px solid #d9e8fb !important;
}

.rolmax-shop-main-menu > li.current-menu-item > .sub-menu,
.rolmax-shop-main-menu > li.current-menu-parent > .sub-menu,
.rolmax-shop-main-menu > li.current-menu-ancestor > .sub-menu {
  display: block !important;
}

.rolmax-shop-main-menu .sub-menu li {
  margin: 0;
}

.rolmax-shop-main-menu .sub-menu a {
  display: block;
  padding: 7px 6px;
  color: #667386;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 400;
  border-radius: 2px;
}

.rolmax-shop-main-menu .sub-menu a:hover,
.rolmax-shop-main-menu .sub-menu .current-menu-item > a {
  color: #2e7ff7;
  background: #f5f9ff;
}

@media (max-width: 1024px) {
  .rolmax-shop-main-menu-widget {
    padding: 16px;
  }

/* Mobile menu customization removed: use native Elessi navigation. */
}

/* Rolmax shop sidebar: readable hover/current states */
.rolmax-shop-main-menu > li > a {
  color: #2f3d52 !important;
  transition: background-color .18s ease, color .18s ease !important;
}

.rolmax-shop-main-menu > li > a:hover {
  background: #f3f7fd !important;
  color: #2f3d52 !important;
}

.rolmax-shop-main-menu > li.current-menu-item > a,
.rolmax-shop-main-menu > li.current-menu-parent > a,
.rolmax-shop-main-menu > li.current-menu-ancestor > a {
  background: #2f3d52 !important;
  color: #ffffff !important;
}

.rolmax-shop-main-menu .sub-menu a {
  color: #6d7785 !important;
  transition: background-color .18s ease, color .18s ease !important;
}

.rolmax-shop-main-menu .sub-menu a:hover {
  background: #eef4ff !important;
  color: #2d6cdf !important;
}

.rolmax-shop-main-menu .sub-menu li.current-menu-item > a,
.rolmax-shop-main-menu .sub-menu li.current-menu-ancestor > a {
  background: #eef4ff !important;
  color: #2d6cdf !important;
  font-weight: 600 !important;
}

/* Mobile menu customization removed: use native Elessi navigation. */

/* Rolmax homepage motion — refined editorial reveal */
@keyframes rolmax-soft-reveal {
  0% {
    opacity: 0;
    transform: translate3d(0, 28px, 0) scale(0.992);
    filter: blur(3px);
  }
  55% {
    opacity: 1;
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

@keyframes rolmax-child-reveal {
  0% {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

body.home .wpb_animate_when_almost_visible {
  will-change: opacity, transform, filter;
  backface-visibility: hidden;
}

body.home .wpb_animate_when_almost_visible.wpb_appear:not(.wpb_start_animation) {
  opacity: 0 !important;
  transform: translate3d(0, 28px, 0) scale(0.992);
  filter: blur(3px);
}

body.home .wpb_start_animation.wpb_appear {
  opacity: 1 !important;
  animation-name: rolmax-soft-reveal !important;
  animation-duration: 0.86s !important;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1) !important;
  animation-fill-mode: both !important;
  animation-iteration-count: 1 !important;
}

/* A light stagger inside animated sections makes the page feel less abrupt. */
body.home .wpb_start_animation.wpb_appear .nasa-title,
body.home .wpb_start_animation.wpb_appear .wpb_text_column,
body.home .wpb_start_animation.wpb_appear .vc_btn3-container,
body.home .wpb_start_animation.wpb_appear .nasa-icon-box {
  animation: rolmax-child-reveal 0.72s cubic-bezier(0.16, 1, 0.3, 1) both;
}

body.home .wpb_start_animation.wpb_appear .nasa-title {
  animation-delay: 0.06s;
}

body.home .wpb_start_animation.wpb_appear .wpb_text_column,
body.home .wpb_start_animation.wpb_appear .nasa-icon-box {
  animation-delay: 0.12s;
}

body.home .wpb_start_animation.wpb_appear .vc_btn3-container {
  animation-delay: 0.18s;
}

@media (max-width: 767px) {
  body.home .wpb_animate_when_almost_visible.wpb_appear:not(.wpb_start_animation) {
    transform: translate3d(0, 16px, 0) scale(0.996);
    filter: blur(1.5px);
  }

  body.home .wpb_start_animation.wpb_appear {
    animation-duration: 0.68s !important;
  }

  body.home .wpb_start_animation.wpb_appear .nasa-title,
  body.home .wpb_start_animation.wpb_appear .wpb_text_column,
  body.home .wpb_start_animation.wpb_appear .vc_btn3-container,
  body.home .wpb_start_animation.wpb_appear .nasa-icon-box {
    animation-duration: 0.56s;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home .wpb_animate_when_almost_visible,
  body.home .wpb_start_animation.wpb_appear,
  body.home .wpb_start_animation.wpb_appear .nasa-title,
  body.home .wpb_start_animation.wpb_appear .wpb_text_column,
  body.home .wpb_start_animation.wpb_appear .vc_btn3-container,
  body.home .wpb_start_animation.wpb_appear .nasa-icon-box {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
    transition: none !important;
  }
}

/* Mobile menu customization removed: use native Elessi navigation. */
