/*!
Theme Name: Seargin
Theme URI: https://wp.xpressbuddy.com/seargin/
Author: XpressBuddy
Author URI: https://xpressbuddy.com/
Description: Seargin is a WordPress theme for Business Consulting company
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: seargin
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ===== Custom FAQ Style for Ultimate FAQ ===== */

/* FAQ container */
.ewd-ufaq-faq-div {
  border: 1px solid #e4e4e4;
  border-radius: 8px;
  margin-bottom: 10px !important;
  background-color: #fff;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.ewd-ufaq-faq-div:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* FAQ title row */
.ewd-ufaq-faq-title {
  background: #f9f9f9;
  padding: 15px 20px;
  position: relative;
  cursor: pointer;
  transition: background 0.3s ease;
}

.ewd-ufaq-faq-title:hover {
  background: #f1f1f1;
}

/* Question text */
.ewd-ufaq-faq-title-text h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

/* Plus/Minus symbol styling */
.ewd-ufaq-post-margin-symbol span {
  display: inline-block;
  font-size: 20px;
  font-weight: bold;
  color: #e5b23a;
  transition: transform 0.3s ease;
}

/* Rotate the icon when open */
.ewd-ufaq-faq-div.ewd-ufaq-open .ewd-ufaq-post-margin-symbol span {
  transform: rotate(45deg);
}

/* Answer box */
.ewd-ufaq-faq-body {
  padding: 0 20px 15px;
  color: #555;
  background: #fff;
  line-height: 1.6;
  animation: slideDown 0.3s ease;
  border-top: 1px solid #eee;
}

/* Smooth slide animation */
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Adjust spacing inside answer text */
.ewd-ufaq-faq-body p {
  margin-top: 10px;
  margin-bottom: 0;
}
