/* =========================================================
   SHAAGIRD REFUND & CANCELLATION POLICY PAGE
   Full-Width Hero Section matching Shaagird Design System
   (Contact, Terms & Conditions, Learning Centers, Our History)
========================================================= */

:root {
  --refund-teal: #299D8E;
  --refund-teal-dark: #217F74;
  --refund-teal-soft: #E7F5F2;
  --refund-teal-light: #F0F7F5;
  --refund-navy: #103347;
  --refund-ink: #173B38;
  --refund-text: #2C4D49;
  --refund-text-muted: #5F716E;
  --refund-yellow: #F6AA24;
  --refund-border: #DCE9E6;
  --refund-card-bg: #FFFFFF;
}

/* Page baseline */
.refund-page-main {
  position: relative;
  width: 100%;
  overflow-x: hidden;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--refund-ink);
  background: #FAFDFC;
}

.refund-page-main *,
.refund-page-main *::before,
.refund-page-main *::after {
  box-sizing: border-box;
}

/* =========================================================
   1. FULL-WIDTH HERO SECTION
========================================================= */

.refund-hero--banner {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) !important;
  gap: 0 !important;
  width: 100% !important;
  max-width: none !important;
  min-height: clamp(280px, 24vw, 400px) !important;
  margin: 0 auto 36px !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #079d8e !important;
  border-bottom: 1px solid rgba(41, 157, 142, 0.15) !important;
}

/* Left Column: Copy */
.refund-hero--banner .refund-hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 38px clamp(24px, 4.5vw, 70px) 38px max(24px, calc((100vw - 1280px) / 2));
  color: #FFFFFF;
  background: linear-gradient(110deg, #009d8d 0%, #079e8f 72%, rgba(7, 158, 143, 0.96) 100%);
  min-width: 0;
}

.refund-hero--banner .refund-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.12);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.refund-hero--banner .refund-kicker-dot {
  width: 7px;
  height: 7px;
  background: #FFFFFF;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.refund-hero--banner .refund-kicker-text {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #FFFFFF;
  text-transform: uppercase;
}

.refund-hero--banner .refund-hero-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 800;
  line-height: 1.12;
  color: #FFFFFF;
  margin: 0 0 12px 0;
  letter-spacing: -0.02em;
}

.refund-hero--banner .refund-hero-title span {
  color: #FFFFFF;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.45);
  text-underline-offset: 4px;
}

.refund-hero--banner .refund-hero-desc {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 20px 0;
  max-width: 530px;
}

/* Hero Action Buttons */
.refund-hero--banner .refund-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  width: 100%;
}

.refund-hero--banner .refund-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 28px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.refund-hero--banner .refund-hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.refund-hero--banner .refund-btn-dark {
  background: #050505;
  color: #FFFFFF !important;
  border: 1px solid #050505;
}

.refund-hero--banner .refund-btn-light {
  background: #FFFFFF;
  color: #103347 !important;
  border: 1px solid #FFFFFF;
}

/* Badges / Trust Row */
.refund-hero--banner .refund-hero-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.refund-hero--banner .refund-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}

.refund-hero--banner .refund-badge-item svg {
  color: #FFFFFF;
  flex-shrink: 0;
}

/* Right Column: Visual Artwork (Edge-to-Edge Half) */
.refund-hero--banner .refund-hero-visual {
  position: relative;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  background: #F8F3EA;
}

.refund-hero--banner .refund-hero-visual::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 158, 143, 0.35) 0%, rgba(7, 158, 143, 0.05) 25%, transparent 100%);
  pointer-events: none;
}

.refund-hero--banner .refund-hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(280px, 24vw, 400px);
  object-fit: cover;
  object-position: center;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

@media (max-width: 900px) {
  .refund-hero--banner {
    grid-template-columns: 1fr !important;
  }
  .refund-hero--banner .refund-hero-copy {
    padding: 34px 20px 30px;
  }
  .refund-hero--banner .refund-hero-visual {
    height: 220px;
  }
  .refund-hero--banner .refund-hero-visual img {
    min-height: 220px;
    height: 220px;
  }
}

/* =========================================================
   2. REFUND POLICY CONTENT CONTAINER & SECTIONS
========================================================= */

.refund-body-section {
  position: relative;
  max-width: 960px;
  margin: 50px auto 90px;
  padding: 0 clamp(18px, 4vw, 36px);
}

/* Featured Policy Banner Section */
.refund-featured-banner {
  margin-bottom: 36px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(23, 59, 56, 0.07);
  border: 1px solid var(--refund-border);
}

.refund-featured-banner img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 360px;
  object-fit: cover;
}

/* Section Cards */
.refund-policy-card {
  background: #FFFFFF;
  border: 1px solid var(--refund-border);
  border-radius: 16px;
  padding: clamp(26px, 3.5vw, 36px);
  margin-bottom: 28px;
  box-shadow: 0 6px 24px rgba(23, 59, 56, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.refund-policy-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(23, 59, 56, 0.08);
  border-color: rgba(41, 157, 142, 0.4);
}

.refund-card-heading-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(41, 157, 142, 0.15);
}

.refund-card-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--refund-teal-soft);
  color: var(--refund-teal-dark);
  font-size: 16px;
  font-weight: 800;
  border: 1px solid rgba(41, 157, 142, 0.22);
}

.refund-card-title {
  margin: 0;
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 700;
  color: var(--refund-navy);
}

.refund-card-text {
  font-size: 15px;
  line-height: 1.74;
  color: var(--refund-text);
  margin: 0 0 18px 0;
}

.refund-card-text:last-child {
  margin-bottom: 0;
}

/* Steps / Requirements Box */
.refund-steps-box {
  background: var(--refund-teal-light);
  border: 1px solid rgba(41, 157, 142, 0.2);
  border-radius: 12px;
  padding: 20px 24px;
  margin-top: 18px;
}

.refund-steps-header {
  font-size: 14px;
  font-weight: 800;
  color: var(--refund-teal-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 12px 0;
}

.refund-steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.refund-steps-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--refund-ink);
}

.refund-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--refund-teal);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.refund-steps-item strong {
  color: var(--refund-navy);
}

/* Direct Action / Outro */
.refund-outro-card {
  background: linear-gradient(135deg, rgba(231, 245, 242, 0.85), rgba(240, 247, 245, 0.55));
  border: 1px solid rgba(41, 157, 142, 0.28);
  border-radius: 16px;
  padding: 28px 34px;
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 10px 28px rgba(41, 157, 142, 0.08);
}

.refund-outro-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.68;
  color: var(--refund-navy);
}

.refund-outro-card p strong {
  color: var(--refund-teal-dark);
}

.refund-outro-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}

.refund-email-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--refund-teal-dark);
  text-decoration: none;
  font-size: 15px;
}

.refund-email-link:hover {
  text-decoration: underline;
}

.refund-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 30px;
  background: var(--refund-teal);
  color: #FFFFFF !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 18px rgba(41, 157, 142, 0.26);
}

.refund-contact-btn:hover {
  background: var(--refund-teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(41, 157, 142, 0.36);
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .refund-hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .refund-hero-copy {
    max-width: 100%;
  }

  .refund-hero-visual {
    min-height: 300px;
    justify-content: center;
  }

  .refund-card-frame {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .refund-hero {
    padding: 45px 0 55px;
  }

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

  .refund-policy-card,
  .refund-outro-card {
    padding: 20px;
  }
}
