/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/* Custom button styling for page content only (excludes Avada UI button components) */
.post-content button,
.post-content input[type="button"],
.post-content input[type="submit"],
.post-content input[type="reset"] {
  border-radius: 20px !important;
  background-color: #71319b !important;
  color: #fff !important;
}

.post-content button:hover,
.post-content input[type="button"]:hover,
.post-content input[type="submit"]:hover,
.post-content input[type="reset"]:hover {
  background-color: #3b1a51 !important;
  color: #fff !important;
}

/* Subtle page fade-in on load (triggered after window load) */
#main {
  opacity: 1;
  filter: none;
}

.sce-fade-enabled #main {
  opacity: 0;
  filter: blur(10px);
}

.sce-fade-enabled.sce-fade-start #main {
  animation: sceMainFocusIn 1.1s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

@keyframes sceMainFocusIn {
  from {
    opacity: 0;
    filter: blur(10px);
  }
  to {
    opacity: 1;
    filter: blur(0);
  }
}

/* Front page feature section (Avada row 6): keep heading/body text white and remove hover effects */
.home .fusion-builder-row-6 .fusion-title-6 {
  --awb-text-color: #fff !important;
}

.home .fusion-builder-row-6 .fusion-content-boxes {
  --awb-body-color: #fff !important;
  --awb-title-color: #fff !important;
  --awb-hover-accent-color: #fff !important;
  --awb-circle-hover-accent-color: transparent !important;
}

.home .fusion-builder-row-6 .fusion-content-boxes .heading .content-box-heading,
.home .fusion-builder-row-6 .fusion-content-boxes .content-container,
.home .fusion-builder-row-6 .fusion-content-boxes .content-container p {
  color: #fff !important;
}

.home .fusion-builder-row-6 .fusion-content-boxes .heading .content-box-heading,
.home .fusion-builder-row-6 .fusion-content-boxes .heading .fontawesome-icon,
.home .fusion-builder-row-6 .fusion-content-boxes .heading a,
.home .fusion-builder-row-6 .fusion-content-boxes .fusion-read-more,
.home .fusion-builder-row-6 .fusion-content-boxes .fusion-read-more::before,
.home .fusion-builder-row-6 .fusion-content-boxes .fusion-read-more::after,
.home .fusion-builder-row-6 .fusion-content-boxes .icon i.circle-yes,
.home .fusion-builder-row-6 .fusion-content-boxes .icon span {
  transition: none !important;
}

.home .fusion-builder-row-6 .fusion-content-boxes .fusion-content-box-hover .heading .content-box-heading,
.home .fusion-builder-row-6 .fusion-content-boxes .fusion-content-box-hover .heading .heading-link .content-box-heading,
.home .fusion-builder-row-6 .fusion-content-boxes .heading .heading-link:hover .content-box-heading {
  color: #fff !important;
}

.home .fusion-builder-row-6 .fusion-content-boxes .fusion-content-box-hover .link-area-box-hover .heading .icon > span,
.home .fusion-builder-row-6 .fusion-content-boxes .fusion-content-box-hover .heading-link:hover .icon i.circle-yes,
.home .fusion-builder-row-6 .fusion-content-boxes .fusion-content-box-hover .icon.hover i.circle-yes,
.home .fusion-builder-row-6 .fusion-content-boxes .fusion-content-box-hover .link-area-box-hover .heading .icon i.circle-yes,
.home .fusion-builder-row-6 .fusion-content-boxes .fusion-content-box-hover .link-area-box:hover .heading-link .icon i.circle-yes,
.home .fusion-builder-row-6 .fusion-content-boxes .fusion-content-box-hover .link-area-link-icon-hover .heading .icon i.circle-yes {
  background-color: rgba(255, 255, 255, 0) !important;
  border-color: #fff !important;
  color: #fff !important;
  box-shadow: none !important;
}

.fusion-accordian .fusion-panel.fusion-toggle-no-divider.fusion-toggle-boxed-mode {
  border-radius: 20px !important;
}
