/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Description: Child theme for Astra
Author: Your Name
Author URI: https://yourwebsite.com/
Template: astra
Version: 1.0
*/

/* Import parent theme styles */
@import url("../astra/style.css");

/* Sticky header styles */
header#masthead {
  width: 100%;
  position: fixed !important;
  z-index: 99999;
  transition: all 0.3s ease;
}

header#masthead.sticky-header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background-color: #F9F5F1;
}

header #ast-mobile-header.sticky-header {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background-color: #F9F5F1;
}

/* Change logo color to #356164 when header is sticky */
header#masthead.sticky-header .custom-logo {
  filter: brightness(0) saturate(100%) invert(22%) sepia(25%) saturate(1234%) hue-rotate(147deg) brightness(95%) contrast(89%);
  transition: filter 0.3s ease;
}

/* Change menu link colors to #356164 when header is sticky */
header#masthead.sticky-header .menu-link {
  color: #356164 !important;
  transition: color 0.3s ease;
}

.admin-bar header#masthead.sticky-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar header#masthead.sticky-header {
    top: 46px;
  }
}

body.has-sticky-header {
  padding-top: 80px;
}

#ast-mobile-header.sticky-header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 99999;
}

.admin-bar #ast-mobile-header.sticky-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar #ast-mobile-header.sticky-header {
    top: 46px;
  }
}

.ast-primary-header-bar,
.ast-above-header-bar,
.ast-below-header-bar {
  transition: all 0.3s ease;
}

.ast-header-sticked .site-header {
  animation: headerSlideDown 0.4s ease;
}

@keyframes headerSlideDown {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(0);
  }
}

.contact-form .wpforms-field-label,
.contact-form .wpforms-required-label,
.contact-form.wpforms-container .wpforms-required-label {
  color: #F9F5F1;
  font-family: Manrope;
  font-size: 16px;
  font-style: normal;
  font-weight: 300 !important;
  line-height: 150%;
}

.contact-form .wpforms-submit {
  background-color: #E37962;
  border-radius: 8px;
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
  display: flex;
  padding: 14px 30px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-family: Manrope;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
  letter-spacing: -0.8px;
}

.contact-form .require-text textarea {
  display: none;
}

.contact-form.wpforms-container label.wpforms-error {
  color: #E37962;
}

.contact-form.wpforms-container .wpforms-field input.wpforms-error {
  border: 1px solid #E37962;
}

#astra-footer-menu a {
  text-decoration: underline;

  font-family: Manrope;
  font-size: 20px;
  font-style: normal;
  font-weight: 300;
}

/* LinkedIn Button Styling */
.linkedin-button-container {
  display: inline-flex;
  margin-left: 20px;
  vertical-align: middle;
}

.linkedin-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: #1A272D;
  border: 1px solid #E8DAC9;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.linkedin-button:hover {
  background-color: #E37962;
  transform: translateY(-2px);
}

.linkedin-button svg {
  width: 20px;
  height: 20px;
}

/* For mobile responsiveness */
@media (max-width: 544px) {
  .linkedin-button-container {
    margin-top: 15px;
    margin-left: 0;
    display: block;
    text-align: center;
  }

  .linkedin-button {
    margin: 0 auto;
  }
}

.wpforms-confirmation-container p {
  color: #E8DAC9;
}

.ast-footer-row-inline .footer-widget-area.widget-area.site-footer-focus-item {
  width: auto;
}

#astra-footer-menu {
  gap: 20px;
}

#astra-footer-menu .menu-item>a {
  color: #E8DAC9;
  font-family: Manrope;
  font-size: 20px;
  font-style: normal;
  font-weight: 300;
  line-height: 30px;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
}

.ast-builder-menu-1 {
  text-transform: none;
}

.ast-site-identity {
  padding: 19px 0;
}



@media (min-width: 921px) {
  .main-header-menu {
    gap: 48px;
  }
}

.main-header-menu .menu-link,
.main-header-menu>a {
  padding: 0;
}

.e-n-accordion-item-title {
  padding: 24px 0 24px 0 !important;
}

#last-accordion:not([open]) .e-n-accordion-item-title {
  border-style: solid !important;
  border-width: 2px 0px 2px 0px !important;
  border-color: var(--e-global-color-astglobalcolor5) !important;
}

.footer-hr {
  background-color: #F9F5F1;
  margin: 0 80px 0 80px;
}