﻿:root {
  --sd-purple: #833999;
  --sd-purple-dark: #6a2d7c;
}

/* everything else below */

/* Purple text */
.text-purple {
  color: var(--sd-purple) !important;
}

/* Purple button */
.btn-purple {
  background: var(--sd-purple);
  color: #fff;
  font-weight: bold;
  border-radius: 4px;
}
.btn-purple:hover {
  background: var(--sd-purple-dark);
  color: #fff;
}

/* Purple footer */
.footer-purple {
  background: var(--sd-purple);
  color: #fff;
}

/* Colour‑cycling border (if used anywhere) */
#colorCycle {
  border: 4px solid var(--sd-purple);
  animation: borderPulse 6s infinite alternate;
}
@keyframes borderPulse {
  0% { border-color: #006; }
  25% { border-color: #060; }
  50% { border-color: #CC3200; }
  75% { border-color: #603; }
}

/* Scroll‑to‑top button */
.scrollup {
  width: 40px;
  height: 40px;
  position: fixed;
  bottom: 50px;
  right: 40px;
  display: none;
  opacity: 0.7;
  background: url('icon_top.png') no-repeat center center;
  background-size: contain;
  cursor: pointer;
}

/* Gallery hover effect */
.gallery-thumb {
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.gallery-thumb:hover {
  transform: scale(1.03);
  box-shadow: 0 0 12px rgba(131, 57, 153, 0.5);
}

/* Carousel fade effect */
.carousel-item img {
  transition: opacity 1s ease-in-out;
}
.carousel-fade .carousel-item {
  opacity: 0;
}
.carousel-fade .carousel-item.active {
  opacity: 1;
}

/* Checkmark pop animation */
@keyframes checkPop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(1); }
}
.animate-check {
  animation: checkPop 0.6s ease-out forwards;
}

/* Pure CSS fade-up animation (replaces WOW.js) */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  margin-bottom: 8px; /* small bottom spacing */
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}


.process-tabs .nav-link:hover {
  background: #6a2d7c;              /* darker purple */
  color: #fff;
}

.process-tabs .nav-link.active {
  background: #6a2d7c;              /* active tab colour */
  color: #fff;
}


/* --------------------------------------------------
   FIXED: Purple Tabs (Bootstrap 5)
-------------------------------------------------- */

.process-tabs .nav-link {
  background: var(--sd-purple) !important;
  color: #fff !important;
  font-weight: bold;
  border-radius: 4px;
  margin: 0 4px;
  padding: 12px 0;
  text-align: center;
  border: none !important;
}

.process-tabs .nav-link:hover {
  background: var(--sd-purple-dark) !important;
  color: #fff !important;
}

.process-tabs .nav-link.active {
  background: var(--sd-purple-dark) !important;
  color: #fff !important;
}



/* --------------------------------------------------
   Light Accordion — FINAL FIXED VERSION
-------------------------------------------------- */

.faq-accordion .accordion-item {
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  margin-bottom: 10px;
  background: #fff !important;
  overflow: hidden;
}

.faq-accordion .accordion-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.faq-accordion .accordion-button {
  background: #fff !important;
  color: var(--sd-purple) !important;
  font-weight: bold;
  padding: 14px 18px;
  border: none !important;
  box-shadow: none !important;
  border-bottom: 1px solid #eee !important;
}

.faq-accordion .accordion-button:hover {
  background: #f7f2f9 !important;
  color: var(--sd-purple-dark) !important;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: #f7f2f9 !important;
  color: var(--sd-purple-dark) !important;
  border-bottom: 1px solid var(--sd-purple) !important;
}

.faq-accordion .accordion-button::after {
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23833999' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}

.faq-accordion .accordion-button:not(.collapsed)::after {
  transform: rotate(180deg);
}

.faq-accordion .accordion-body {
  background: #fff !important;
  padding: 18px;
  border-left: 4px solid var(--sd-purple) !important;
}
