/*
 Theme Name:   Astra Child
 Description:  A child theme of Astra for  Customization.
 Author:       M.Sheraz
 Template:     astra
 Version:      1.0.0
 Text Domain:  astra-child
*/
/* RESET */


/* Custom Header Styling */
.custom_header {
    background-color: transparent;
    position: absolute;
    top: 0;
    z-index: 99;
    width: 100%;
    padding: 20px 10px;
}
.custom_header_inner {
    background-color: #0000006e;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    border-radius: 50px;
}
.custom_logo {
    width: 120px;
    margin-left: 20px;
}
.custom_nav {
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.custom_nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0 15px;
}

.custom_nav ul li {
  position: relative;
}

.custom_nav ul li a {
  position: relative;
  color: white;
  text-decoration: none;
  font-size: 14px;
  text-transform: uppercase;
  padding: 10px 0;
}
.custom_nav ul li a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 100%;
  height: 2px;
  background-color: white;
  transition: transform 0.3s ease-in-out;
}
.custom_nav ul li a:hover::after {
  transform: translateX(-50%) scaleX(1);
}
.custom_nav ul .current-menu-item > a::after,
.custom_nav ul .current_page_item > a::after {
  transform: translateX(-50%) scaleX(1);
}
.mobile_toggle{
  display: none;
  background: transparent !important;
  margin-bottom: 10px;
}
.mobile_toggle .dashicons {
  font-size: 30px;
  color: white;
  transition: transform 0.3s ease;
}
.custom_nav.open + .mobile_toggle .dashicons {
  transform: rotate(90deg);
}

/* footer css */
.footer_main_sec{
    position: absolute;
    z-index: 99;
    bottom: 50px;
    width: 100%;

}
.footer_inner_sec{
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #0000006e;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.link_section a {
  position: relative;
  color: white;
  text-decoration: none;
  font-size: 14px;
  text-transform: uppercase;
  padding: 5px 0;
  display: inline-block;
}
.link_section a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 100%;
  height: 2px;
  background-color: white;
  transition: transform 0.3s ease-in-out;
}
.link_section a:hover::after {
  transform: translateX(-50%) scaleX(1);
}


@media (max-width: 768px) {
  .custom_nav {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    width: 100%;
    border: 1px solid #121820;
    box-shadow: 0 22px 20px #121820;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: #1f2a38;
    transition: max-height 0.6s ease, opacity 0.4s ease;
    z-index: 999;
  }
  .custom_nav.open {
    max-height: 550px;
    opacity: 1;
    visibility: visible;
    padding-bottom: 20px;
  }
  .custom_nav ul {
    flex-direction: column;
    gap: 15px;
  }
  .mobile_toggle {
    display: block;
  }
  .custom_header_inner{
    padding: 0;
  }
  .custom_header {
    padding: 20px 0;
  }
  .footer_main_sec {
    bottom: 0;
  }
  .footer_inner_sec{
    justify-content: space-between;
}
}
