/* =========================
   FAQ SECTION STYLING
   Used for the accordion functionality
========================= */

.faq-section {
  background-image: url("images/5.jpg");
  background-position: center;
  padding: 80px 0;
}

/* GLASS CARD */
.faq-glass {
  max-width: 900px;
  margin: auto;
  padding: 50px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

/* TITLE */
.faq-title {
  font-size: 3.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
}

/* SUBTITLE */
.faq-subtitle {
  text-align: center;
  margin-bottom: 40px;
  color: #555;
}

/* ITEM */
.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  margin-bottom: 10px;
}

/* QUESTION */
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 0;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
}

/* PLUS ICON */
.faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  font-size: 1.5rem;
  transition: 0.3s;
}

/* ACTIVE */
.faq-item.active .faq-question::after {
  content: "−";
}

/* ANSWER */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  color: #444;
}

/* OPEN */
.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 15px;
}

/* MOBILE ACCORDION STYLES */
@media (max-width: 575px) {
  .faq-title {
    font-size: 2rem;
  }

  .faq-glass {
    padding: 30px 20px;
  }
}

/* =========================
   MISC UI ELEMENTS
========================= */

.premium-link {
  display: inline-block;
  margin-top: 18px;
  font-size: 15px;
  font-weight: 500;
  color: #ffc412 !important;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: all 0.3s ease;
}

.premium-link:hover {
  transform: translateX(6px);
}

/* --- STICKY HEADER SYSTEM --- */
.u-header {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: auto !important;
    min-height: 60px !important;
}

/* Ensure the rest of the page doesn't hide under the header */
body {
    padding-top: 80px !important; 
}

/* Force Logo and Menu into the same row */
.u-header .ia-sheet {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 5px 15px !important;
    min-height: 60px !important;
}

/* Reduce Logo Size */
.u-header .u-logo-image-1 {
    height: 75px !important; /* Smaller desktop height */
    width: auto !important;
}

.u-header .u-image-1 {
    margin: 0 !important; /* Remove  default margins */
    flex-shrink: 0;
}

/* Align Nav Menu to the right */
.u-nav-container, 
.u-menu {
    margin: 0 !important;
}

/* --- MOBILE SPECIFIC ADJUSTMENTS --- */
@media (max-width: 767px) {
    body {
        padding-top: 65px !important;
    }

    .u-header .ia-sheet {
        min-height: 55px !important;
    }

    .u-header .u-logo-image-1 {
        height: 55px !important; /* Even smaller for phones */
    }

    /* Prevent the hamburger menu from taking full width */
    .u-menu-hamburger {
        margin-right: 0 !important;
    }
    
    /* Ensure the mobile menu overlay appears below the sticky header */
    .u-menu-overlay {
        top: 55px !important;
    }
}