/*
Theme Name: Fista MFA Theme
Theme URI: 
Author: IT Sentia
Author URI: 
Description: Official Theme for Fista MFA - Sentia
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 5.7
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cardia-sfa-theme
Tags: 

html {
  scroll-behavior: smooth;
}

/* Custom */

html {
  scroll-behavior: smooth;
}

/* Custom */
.relative {
  position: relative;
}

.z-1 {
  position: relative;
  z-index: 1;
}

.z-2 {
  position: relative;
  z-index: 2;
}

.overflow-hidden {
  overflow: hidden;
}

/* .faqs {
  border-radius: 16px;
  background: #fff;
  box-shadow: 0px 1px 3px 0px rgba(0, 2, 15, 0.08);
  position: relative;
}

.faqs summary {
  display: flex;
}

.faqs summary::-details-marker {
  position: absolute;
  right: 0;
}

.btn-primary a {
  z-index: 2;
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease;
}

.btn-primary a::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    0deg,
    transparent,
    transparent 30%,
    rgba(0, 255, 255, 0.3)
  );
  transform: rotate(-45deg);
  transition: all 0.5s ease;
  opacity: 0;
}

.btn-primary a:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0, 140, 255, 0.582);
}

.btn-primary a:hover::before {
  opacity: 1;
  transform: rotate(-45deg) translateY(100%);
}

.btn-secondary a {
  z-index: 2;
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease;
}

.btn-secondary a::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    0deg,
    transparent,
    transparent 30%,
    rgba(0, 140, 255, 0.582)
  );
  transform: rotate(-45deg);
  transition: all 0.5s ease;
  opacity: 0;
}

.btn-secondary a:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(197, 197, 197, 0.5);
}

.btn-secondary a:hover::before {
  opacity: 1;
  transform: rotate(-45deg) translateY(100%);
}

.btn-tertiary a {
  z-index: 2;
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease;
}

.btn-tertiary a::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    0deg,
    transparent,
    transparent 30%,
    rgba(0, 140, 255, 0.582)
  );
  transform: rotate(-45deg);
  transition: all 0.5s ease;
  opacity: 0;
}

.btn-tertiary a:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(82, 81, 81, 0.5);
}

.btn-tertiary a:hover::before {
  opacity: 1;
  transform: rotate(-45deg) translateY(100%);
} */

#site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 -8px 27px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  transition:
    top 1s ease,
    opacity 1s ease !important;
}

#site-header.hidden {
  top: -100px;
  /* Adjust the value as per your header height */
  opacity: 0;
}

@media (width <= 40rem) {
  header .wp-element-button {
    padding: 8px 16px;
  }

  header .nav-container {
    padding: 8px 0 !important;
  }
}
