/* ==========================================================================
   Refund Policy Page Styles (refund-policy.css)
   Compact, Ultra-Attractive & 100% Mobile Responsive Design
   ========================================================================== */

/* Main Container Override */
.refund-page-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   1. Refund Hero Section (Compact & Sleek)
   ========================================================================== */
.refund-hero {
  background-image: linear-gradient(180deg, rgba(240, 246, 255, 0.75) 0%, rgba(255, 255, 255, 1) 100%), url('/images/homepageimage/hero-bg.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  padding: 95px 0 35px 0;
  position: relative;
  overflow: hidden;
}

.refund-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 30px;
}

/* Badge */
.refund-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #eff6ff;
  color: #1b63fb;
  border: 1px solid #bfdbfe;
  border-radius: 9999px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
  box-shadow: 0 2px 6px rgba(27, 99, 251, 0.06);
}

.refund-badge i {
  font-size: 13px;
  color: #1b63fb;
}

/* Title & Description */
.refund-hero-title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.15;
  color: #06193e;
  margin: 0 0 12px 0;
  letter-spacing: -0.4px;
}

.refund-hero-title .text-blue {
  color: #1b63fb;
  display: block;
}

.refund-hero-desc {
  font-size: 15px;
  color: #475569;
  line-height: 1.55;
  margin: 0;
  max-width: 440px;
}

/* Right Column 3D Illustration Graphic */
.refund-illustration-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.refund-hero-card-3d {
  position: relative;
  width: 100%;
  max-width: 330px;
  height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Back Shield Graphic */
.shield-bg-graphic {
  position: absolute;
  width: 170px;
  height: 190px;
  background: linear-gradient(135deg, #1b63fb 0%, #0284c7 100%);
  clip-path: polygon(50% 0%, 100% 20%, 100% 70%, 50% 100%, 0% 70%, 0% 20%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 15px 30px rgba(27, 99, 251, 0.25);
  transform: rotate(-4deg) translateX(-30px);
}

.shield-bg-graphic i {
  font-size: 75px;
  color: #ffffff;
  opacity: 0.92;
}

/* Front Document Card */
.doc-card-graphic {
  position: absolute;
  width: 190px;
  background: #ffffff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 15px 35px rgba(6, 25, 62, 0.12);
  border: 1px solid #e2e8f0;
  transform: rotate(2deg) translateX(25px) translateY(8px);
}

.doc-header-tag {
  background: #eff6ff;
  color: #1b63fb;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 5px;
  display: inline-block;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.doc-line {
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.doc-line.w-80 { width: 80%; }
.doc-line.w-90 { width: 90%; }

.doc-check-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.doc-check-line {
  height: 5px;
  background: #cbd5e1;
  border-radius: 3px;
  width: 75%;
}

.doc-check-icon {
  color: #16a34a;
  font-size: 12px;
  font-weight: 700;
}

/* Floating Refresh Badge */
.refresh-badge-graphic {
  position: absolute;
  bottom: 10px;
  right: 15px;
  width: 44px;
  height: 44px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #22c55e;
  animation: spinSlow 12s linear infinite;
}

.refresh-badge-graphic i {
  font-size: 18px;
  color: #16a34a;
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}


/* ==========================================================================
   2. Shared Section Header Component (Compact)
   ========================================================================== */
.refund-section-padding {
  padding: 36px 0;
}

.section-title-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 24px;
  text-align: center;
}

.title-dash {
  width: 28px;
  height: 2px;
  background: #1b63fb;
  border-radius: 2px;
}

.section-main-title {
  font-size: 22px;
  font-weight: 800;
  color: #06193e;
  margin: 0;
  letter-spacing: -0.3px;
}


/* ==========================================================================
   3. Stage by Stage Section (Compact Timeline)
   ========================================================================== */
.stages-timeline {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Vertical Line connecting badges */
.stages-timeline::before {
  content: '';
  position: absolute;
  left: 144px;
  top: 35px;
  bottom: 35px;
  width: 2px;
  background: #cbd5e1;
  z-index: 1;
}

.stage-card-item {
  position: relative;
  z-index: 2;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 3px 14px rgba(6, 25, 62, 0.02);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.stage-card-item:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 8px 24px rgba(6, 25, 62, 0.06);
}

/* Icon Box (Left Side) */
.stage-icon-box {
  width: 65px;
  height: 65px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.stage-icon-box i {
  font-size: 24px;
}

/* Icon Badges */
.stage-mini-badge {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: #ffffff;
  border: 2px solid #ffffff;
}

/* Color Schemes per Stage */
/* Stage 1: Blue */
.stage-bg-blue { background: #eff6ff; }
.stage-bg-blue i { color: #1b63fb; }
.badge-blue { background: #1b63fb; }
.num-blue { background: #1b63fb; color: #ffffff; }

/* Stage 2: Green */
.stage-bg-green { background: #f0fdf4; }
.stage-bg-green i { color: #16a34a; }
.badge-green { background: #16a34a; }
.num-green { background: #16a34a; color: #ffffff; }

/* Stage 3: Purple */
.stage-bg-purple { background: #f5f3ff; }
.stage-bg-purple i { color: #8b5cf6; }
.badge-purple { background: #8b5cf6; }
.num-purple { background: #8b5cf6; color: #ffffff; }

/* Stage 4: Orange */
.stage-bg-orange { background: #fff7ed; }
.stage-bg-orange i { color: #f97316; }
.badge-orange { background: #f97316; }
.num-orange { background: #f97316; color: #ffffff; }

/* Stage Number Badge */
.stage-number-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  border: 2px solid #ffffff;
}

/* Stage Content */
.stage-content {
  flex-grow: 1;
}

.stage-content h3 {
  font-size: 16.5px;
  font-weight: 700;
  color: #06193e;
  margin: 0 0 3px 0;
}

.stage-content p {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.45;
  margin: 0;
}


/* ==========================================================================
   4. Frequently Asked Questions Section (Compact Accordion)
   ========================================================================== */
.faq-accordion-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-card-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px 18px;
  box-shadow: 0 2px 10px rgba(6, 25, 62, 0.02);
  transition: all 0.22s ease;
}

.faq-card-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 16px rgba(6, 25, 62, 0.04);
}

.faq-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  user-select: none;
}

.faq-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.faq-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #eff6ff;
  color: #1b63fb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.faq-question-title {
  font-size: 15px;
  font-weight: 700;
  color: #06193e;
  margin: 0;
}

.faq-toggle-arrow {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 13px;
  transition: transform 0.25s ease, color 0.25s ease;
  flex-shrink: 0;
}

.faq-card-item.active .faq-toggle-arrow {
  transform: rotate(180deg);
  color: #1b63fb;
}

.faq-body-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
  padding-left: 50px;
}

.faq-card-item.active .faq-body-answer {
  max-height: 180px;
  padding-top: 8px;
  padding-bottom: 4px;
}

.faq-body-answer p {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}


/* ==========================================================================
   5. Need Help? Banner Component (Compact)
   ========================================================================== */
.help-banner-wrapper {
  padding: 24px 0 45px 0;
}

.need-help-card {
  max-width: 860px;
  margin: 0 auto;
  background: linear-gradient(135deg, #f0f7ff 0%, #e0f2fe 100%);
  border: 1px solid #bae6fd;
  border-radius: 18px;
  padding: 18px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 6px 20px rgba(27, 99, 251, 0.05);
  position: relative;
}

.help-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.help-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  color: #1b63fb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(27, 99, 251, 0.1);
  flex-shrink: 0;
}

.help-title {
  font-size: 20px;
  font-weight: 800;
  color: #06193e;
  margin: 0;
  letter-spacing: -0.2px;
}

.help-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.help-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.help-contact-item:hover {
  transform: translateY(-2px);
}

.contact-icon-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #ffffff;
  flex-shrink: 0;
}

.bg-whatsapp {
  background: #16a34a;
  box-shadow: 0 3px 10px rgba(22, 163, 74, 0.2);
}

.bg-email {
  background: #1b63fb;
  box-shadow: 0 3px 10px rgba(27, 99, 251, 0.2);
}

.contact-text-group {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
}

.contact-value {
  font-size: 14px;
  font-weight: 800;
  color: #06193e;
}

.contact-divider {
  width: 1px;
  height: 32px;
  background: #cbd5e1;
}


/* ==========================================================================
   6. 100% Full Responsive Layout for All Devices
   ========================================================================== */
@media (max-width: 850px) {
  .refund-hero {
    padding-top: 90px;
    padding-bottom: 25px;
  }

  .refund-hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .refund-hero-title {
    font-size: 32px;
  }

  .refund-hero-desc {
    margin: 0 auto;
    font-size: 14px;
  }

  .refund-illustration-wrapper {
    margin-top: 5px;
  }

  .stages-timeline::before {
    display: none;
  }

  .stage-card-item {
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
  }

  .stage-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
  }

  .stage-icon-box i {
    font-size: 20px;
  }

  .stage-number-badge {
    width: 28px;
    height: 28px;
    font-size: 11.5px;
  }

  .need-help-card {
    flex-direction: column;
    text-align: center;
    padding: 20px;
    gap: 16px;
  }

  .help-left {
    flex-direction: row;
    justify-content: center;
    gap: 12px;
  }

  .help-right {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .help-contact-item {
    justify-content: center;
  }

  .contact-divider {
    display: none;
  }
}

@media (max-width: 480px) {
  .refund-hero-title {
    font-size: 28px;
  }

  .section-main-title {
    font-size: 19px;
  }

  .stage-card-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
  }

  .stage-icon-box {
    width: 44px;
    height: 44px;
  }

  .stage-icon-box i {
    font-size: 18px;
  }

  .stage-content h3 {
    font-size: 15px;
  }

  .stage-content p {
    font-size: 12.5px;
  }

  .faq-card-item {
    padding: 10px 14px;
  }

  .faq-header-left {
    gap: 10px;
  }

  .faq-icon-circle {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }

  .faq-question-title {
    font-size: 14px;
  }

  .faq-body-answer {
    padding-left: 0;
    margin-top: 6px;
  }

  .need-help-card {
    padding: 16px;
  }
}
