/**
Theme Name: Astra-Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/


/* ==========================================================================
   SyncedPixels Nav Menu — styles
   ========================================================================== */
:root {
  --spx-text: #1c2c4b;
  --spx-hover-text: #ffffff;
  --spx-hover-bg: #4cb9c1;
  --spx-active-text: #ffffff;
  --spx-active-bg: #ca0000;
}
  
.spx-nav {


  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end; /* menu sits at the right, e.g. next to a logo */
  font-family: inherit;
  width: 100%;
}

.spx-nav__menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.spx-nav__link {
  display: inline-block;
  padding: 10px 18px;
  color: var(--spx-text);
  background: none;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  border-radius: 4px;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.spx-nav__link:hover,
.spx-nav__link:focus-visible {
  color: var(--spx-hover-text);
  background-color: var(--spx-hover-bg);
}

.spx-nav__link:focus-visible {
  outline: 2px solid var(--spx-active-bg);
  outline-offset: 2px;
}

/* Current page indicator, set automatically by spx-nav-script.js */
.spx-nav__link.is-active {
  color: var(--spx-active-text);
  background-color: var(--spx-active-bg);
}

/* WhatsApp button — styled like a standard WhatsApp CTA (green pill + icon) */
.spx-nav__whatsapp {
  --spx-whatsapp-bg: #25d366;
  --spx-whatsapp-bg-hover: #1ebe5d;

  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px 8px 10px;
  color: #ffffff;
  background-color: var(--spx-whatsapp-bg);
  border-radius: 999px;
  font-weight: 600;
}

.spx-nav__whatsapp:hover,
.spx-nav__whatsapp:focus-visible {
  color: #ffffff;
  background-color: var(--spx-whatsapp-bg-hover);
}

.spx-nav__whatsapp-icon {
  width: 22px;
  height: 22px;
  color: var(--spx-whatsapp-bg);
  flex-shrink: 0;
}

.spx-nav__whatsapp-label {
  white-space: nowrap;
}

/* Hamburger button — hidden on desktop */
.spx-nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  z-index: 10;
}

.spx-nav__bar {
  display: block;
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background-color: var(--spx-text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.spx-nav__toggle[aria-expanded="true"] .spx-nav__bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.spx-nav__toggle[aria-expanded="true"] .spx-nav__bar:nth-child(2) {
  opacity: 0;
}
.spx-nav__toggle[aria-expanded="true"] .spx-nav__bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile breakpoint */
@media (max-width: 768px) {
  .spx-nav__toggle {
    display: flex;
  }

  .spx-nav__menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background-color: #ffffff;
    box-shadow: 0 8px 24px rgba(28, 44, 75, 0.15);
    border-radius: 8px;
    padding: 0 10px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.25s ease, padding 0.3s ease;
  }

  .spx-nav__menu.is-open {
    max-height: 400px;
    opacity: 1;
    padding: 10px;
  }

  .spx-nav__link {
    width: 100%;
    padding: 12px 16px;
  }

  .spx-nav__whatsapp {
    width: fit-content;
    margin-top: 4px;
  }
}

/* ==========================================================================
   SyncedPixels Nav Menu — styles Closes Here
   ========================================================================== */

