/* ============================================
   SWITCHCORNER PAGES & FAQ STYLES
   ============================================ */

/* --- Hero Section --- */
.page-hero {
   position: relative;
  padding: 42px 0 84px;
  background: #fff;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  height: 100px;
  background: #f8f9fa;
  transform: skewY(-2deg);
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero-content {
  text-align: center;
  color: #303539;
  animation: fadeInUp 0.6s ease-out;
}

.page-hero-title {
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: #303539;
}

.page-hero-subtitle {
  font-size: 1.125rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

.page-breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.page-breadcrumb a {
  color: #303539;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-breadcrumb a:hover {
  color: #AB801C;
}

.page-breadcrumb span {
  color: #303539;
}

.page-breadcrumb .current {
  color: #303539;
}

/* --- Page Content Section --- */
.page-content-section {
  padding: 60px 0;
  background: #f8f9fa;
  min-height: 60vh;
}

.page-content-box {
  background: #fff;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9ecef;
}

.page-content-box h1,
.page-content-box h2,
.page-content-box h3 {
  color: #0e1534;
  margin-bottom: 1rem;
}

.page-content-box h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
}

.page-content-box h3 {
  font-size: 1.25rem;
  margin-top: 1.5rem;
}

.page-content-box p {
  color: #4a5568;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.page-content-box ul,
.page-content-box ol {
  color: #4a5568;
  line-height: 1.8;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.page-content-box li {
  margin-bottom: 0.5rem;
}

.page-content-box a {
  color: #AB801C;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-content-box a:hover {
  color: #8fb02a;
  text-decoration: underline;
}

.page-content-box img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1.5rem 0;
}

/* ============================================
   FAQ / ARTICLES STYLES
   ============================================ */

.faq-section {
  padding: 60px 0;
  background: #f8f9fa;
}

.faq-wrapper {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 3rem;
  align-items: start;
}

/* FAQ Accordion */
.faq-accordion {
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.faq-accordion-item {
  border: none;
  margin-bottom: 1rem;
  border-radius: 12px !important;
  overflow: hidden;
  background: #f8f9fa;
  transition: all 0.3s ease;
}

.faq-accordion-item:hover {
  background: #f0f4f8;
}

.faq-accordion-item:last-child {
  margin-bottom: 0;
}

.faq-accordion .accordion-button {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  color: #0e1534;
  background: transparent;
  border: none;
  box-shadow: none !important;
  transition: all 0.3s ease;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, #0e1534 0%, #1a2850 100%);
  color: #fff;
}

/* .faq-accordion .accordion-button::after {
  width: 24px;
  height: 24px;
  background-size: 16px;
  border-radius: 50%;
  background-color: rgba(171, 128, 28, 0.2);
  transition: all 0.3s ease;
}
*/
.faq-accordion .accordion-button:not(.collapsed)::after {
  transform: rotate(-180deg);
  color: #fff;
} 

.faq-accordion .accordion-body {
  padding: 1.25rem 1.5rem;
  color: #4a5568;
  line-height: 1.8;
  background: #fff;
  border-top: 1px solid #e9ecef;
}

.faq-accordion .accordion-body p {
  margin-bottom: 0.75rem;
}

.faq-accordion .accordion-body p:last-child {
  margin-bottom: 0;
}

/* FAQ Sidebar */
.faq-sidebar {
  position: sticky;
  top: 100px;
}

.faq-help-card {
  background: linear-gradient(135deg, #0e1534 0%, #1a2850 100%);
  border-radius: 20px;
  padding: 2rem;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.faq-help-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(171, 128, 28, 0.15) 0%, transparent 50%);
}

.faq-help-card-content {
  position: relative;
  z-index: 2;
}

.faq-help-icon {
  width: 80px;
  height: 80px;
  background: rgba(171, 128, 28, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.faq-help-icon svg {
  width: 40px;
  height: 40px;
  fill: #AB801C;
}

.faq-help-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #fff;
}

.faq-help-card p {
  opacity: 0.9;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.faq-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #AB801C;
  color: #fff;
  padding: 0.875rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.faq-contact-btn:hover {
  background: #8a6616;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(171, 128, 28, 0.4);
}

.faq-contact-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Quick Contact Info */
.faq-quick-contact {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  margin-top: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.faq-quick-contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e9ecef;
}

.faq-quick-contact-item:last-child {
  border-bottom: none;
}

.faq-quick-contact-item .icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #fdf8f0 0%, #f9f0e0 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faq-quick-contact-item .icon svg {
  width: 18px;
  height: 18px;
  fill: #AB801C;
}

.faq-quick-contact-item .text {
  flex: 1;
}

.faq-quick-contact-item .label {
  font-size: 0.75rem;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.faq-quick-contact-item .value {
  font-weight: 600;
  color: #0e1534;
}

.faq-quick-contact-item .value a {
  color: #0e1534;
  text-decoration: none;
  transition: color 0.3s ease;
}

.faq-quick-contact-item .value a:hover {
  color: #AB801C;
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animation Classes */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-fade-up.animated {
  opacity: 1;
  transform: translateY(0);
}

.animate-fade-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-fade-left.animated {
  opacity: 1;
  transform: translateX(0);
}

.animate-fade-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-fade-right.animated {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }

/* FAQ Item animation */
.faq-accordion-item.animate-fade-up {
  transition-delay: calc(var(--index) * 0.1s);
}

/* --- Responsive --- */
@media (max-width: 991.98px) {
  .page-hero {
    padding: 60px 0 50px;
  }

  .page-hero-title {
    font-size: 2rem;
  }

  .faq-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .faq-sidebar {
    position: static;
    order: -1;
  }

  .faq-help-card {
    display: none;
  }

  .page-content-box {
    padding: 2rem;
  }
}

@media (max-width: 767.98px) {
  .page-hero-title {
    font-size: 1.75rem;
  }

  .page-hero-subtitle {
    font-size: 1rem;
  }

  .page-content-box {
    padding: 1.5rem;
    border-radius: 16px;
  }

  .faq-accordion {
    padding: 1rem;
  }

  .faq-accordion .accordion-button {
    padding: 1rem;
    font-size: 0.95rem;
  }

  .faq-accordion .accordion-body {
    padding: 1rem;
  }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .animate-fade-up,
  .animate-fade-left,
  .animate-fade-right,
  .faq-accordion-item,
  .faq-contact-btn {
    transition: none !important;
    animation: none !important;
  }
  
  .animate-fade-up,
  .animate-fade-left,
  .animate-fade-right {
    opacity: 1;
    transform: none;
  }
}
