/* ==========================================================================
   Messulogic Subpages Styles: Contact Us, Locations, FAQs
   Theme Palette: Obsidian Black (#050505, #0a0d14, #0e121a),
   Signature Coral-Orange (#ff5520), Gold (#f59e0b), Mint (#10b981), Cyan (#38bdf8)
   Fully responsive with strict SVG sizing and mobile optimizations.
   ========================================================================== */

:root {
  --subpage-bg: #050505;
  --subpage-surface: #0a0d14;
  --subpage-card: #0e121a;
  --subpage-card-hover: #141924;
  --subpage-border: rgba(255, 255, 255, 0.08);
  --subpage-border-highlight: rgba(255, 85, 32, 0.35);
  --subpage-accent-coral: #ff5520;
  --subpage-accent-gold: #f59e0b;
  --subpage-accent-green: #10b981;
  --subpage-accent-cyan: #38bdf8;
  --subpage-accent-purple: #a855f7;
  --subpage-text-primary: #ffffff;
  --subpage-text-muted: #94a3b8;
  --subpage-text-dim: #64748b;
  --subpage-radius-card: 20px;
  --subpage-radius-sm: 10px;
  --subpage-font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --subpage-font-mono: 'JetBrains Mono', monospace;
}

/* --------------------------------------------------------------------------
   CRITICAL GLOBAL SVG CONSTRAINTS
   Ensures no SVG icon can ever expand to fill container or explode in size
   -------------------------------------------------------------------------- */
svg.icon,
.subpage-wrapper svg,
.channel-icon-box svg,
.amenity-icon-box svg,
.flagship-campus-address svg,
.perk-item svg,
.subpage-badge svg,
.btn-submit-contact svg,
.btn-whatsapp-chat svg,
.faq-search-icon svg,
.faq-card-icon svg {
  max-width: 24px;
  max-height: 24px;
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  box-sizing: content-box;
}

/* --------------------------------------------------------------------------
   Subpage Base Wrapper & Layout
   -------------------------------------------------------------------------- */
.subpage-wrapper {
  background-color: var(--subpage-bg);
  color: var(--subpage-text-primary);
  font-family: var(--subpage-font);
  position: relative;
  overflow-x: hidden;
  padding-top: calc(85px + clamp(2rem, 3.5vw, 3.5rem));
  padding-bottom: 5rem;
  min-height: 85vh;
  box-sizing: border-box;
}

body.admin-bar .subpage-wrapper {
  padding-top: calc(117px + clamp(2rem, 3.5vw, 3.5rem));
}

@media screen and (max-width: 782px) {
  body.admin-bar .subpage-wrapper {
    padding-top: calc(131px + clamp(1.5rem, 3vw, 2.5rem));
  }
}

.subpage-container {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: clamp(1rem, 3.5vw, 2.5rem);
  padding-right: clamp(1rem, 3.5vw, 2.5rem);
  box-sizing: border-box;
  width: 100%;
}

/* --------------------------------------------------------------------------
   Breadcrumbs
   -------------------------------------------------------------------------- */
.subpage-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--subpage-text-dim);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.subpage-breadcrumbs a {
  color: var(--subpage-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.subpage-breadcrumbs a:hover {
  color: var(--subpage-accent-coral);
}

.subpage-breadcrumbs .sep {
  color: var(--subpage-border);
}

.subpage-breadcrumbs .current {
  color: var(--subpage-text-primary);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Subpage Header Section
   -------------------------------------------------------------------------- */
.subpage-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto clamp(2.5rem, 4vw, 3.75rem) auto;
}

.subpage-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 85, 32, 0.1);
  border: 1px solid rgba(255, 85, 32, 0.25);
  color: var(--subpage-accent-coral);
  font-size: 0.825rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
}

.subpage-badge svg {
  width: 16px;
  height: 16px;
  max-width: 16px;
  max-height: 16px;
  color: var(--subpage-accent-coral);
}

.subpage-title {
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin: 0 0 1.25rem 0;
}

.subpage-title .accent-coral {
  color: var(--subpage-accent-coral);
  background: linear-gradient(135deg, #ff5520 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subpage-title .accent-cyan {
  color: var(--subpage-accent-cyan);
  background: linear-gradient(135deg, #38bdf8 0%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subpage-description {
  font-size: clamp(0.975rem, 1.2vw, 1.12rem);
  line-height: 1.7;
  color: var(--subpage-text-muted);
  margin: 0;
}

/* ==========================================================================
   CONTACT US PAGE SPECIFIC STYLES
   ========================================================================== */

/* 4 Channels Grid */
.contact-channels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

@media screen and (max-width: 1024px) {
  .contact-channels-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media screen and (max-width: 600px) {
  .contact-channels-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .channel-card {
    padding: 1.25rem 1rem;
    border-radius: var(--subpage-radius-sm);
  }
  .channel-icon-box {
    width: 38px;
    height: 38px;
    margin-bottom: 0.85rem;
    border-radius: 8px;
  }
  .channel-value {
    font-size: 0.92rem;
    margin-bottom: 0.25rem;
  }
  .channel-sub {
    font-size: 0.75rem;
    margin-bottom: 0.85rem;
  }
}

@media screen and (max-width: 440px) {
  .contact-channels-grid {
    grid-template-columns: 1fr;
  }
}

.channel-card {
  background: var(--subpage-card);
  border: 1px solid var(--subpage-border);
  border-radius: var(--subpage-radius-card);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.channel-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 85, 32, 0.35);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 24px rgba(255, 85, 32, 0.12);
}

.channel-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 85, 32, 0.1);
  color: var(--subpage-accent-coral);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255, 85, 32, 0.2);
  flex-shrink: 0;
}

.channel-icon-box svg {
  width: 22px;
  height: 22px;
  max-width: 22px;
  max-height: 22px;
}

.channel-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--subpage-text-dim);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.channel-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.4rem;
  line-height: 1.4;
}

.channel-sub {
  font-size: 0.85rem;
  color: var(--subpage-text-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
  line-height: 1.5;
}

.channel-action {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--subpage-accent-coral);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}

.channel-action:hover {
  gap: 0.65rem;
  color: #ffffff;
}

/* Contact Main Section (Form + Sidebar Box) */
.contact-main-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.25rem;
  align-items: start;
  margin-bottom: 4rem;
}

@media screen and (max-width: 960px) {
  .contact-main-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.contact-form-card {
  background: var(--subpage-card);
  border: 1px solid var(--subpage-border);
  border-radius: var(--subpage-radius-card);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
}

.form-header {
  margin-bottom: 1.75rem;
}

.form-header h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.5rem 0;
  line-height: 1.25;
}

.form-header p {
  color: var(--subpage-text-muted);
  font-size: 0.925rem;
  margin: 0;
  line-height: 1.55;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media screen and (max-width: 600px) {
  .form-row-2col {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-field label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #e2e8f0;
}

.form-field input,
.form-field select,
.form-field textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--subpage-radius-sm);
  color: #ffffff;
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.2s ease;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--subpage-accent-coral);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(255, 85, 32, 0.15);
}

.form-field select option {
  background: #0e121a;
  color: #ffffff;
}

.form-field textarea {
  resize: vertical;
  min-height: 110px;
}

/* Submit button with clean, strictly sized arrow */
.btn-submit-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, #ff5520 0%, #e04412 100%);
  color: #ffffff;
  border: none;
  border-radius: var(--subpage-radius-sm);
  padding: 0.85rem 1.85rem;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 6px 20px rgba(255, 85, 32, 0.35);
  margin-top: 0.35rem;
  align-self: flex-start;
}

.btn-submit-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 85, 32, 0.45);
}

.btn-submit-contact svg {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
}

@media screen and (max-width: 600px) {
  .btn-submit-contact {
    width: 100%;
  }
}

.form-success-banner {
  display: none;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #10b981;
  padding: 1rem 1.25rem;
  border-radius: var(--subpage-radius-sm);
  margin-top: 0.75rem;
  font-size: 0.925rem;
  line-height: 1.5;
}

/* Contact Sidebar Card */
.contact-sidebar-card {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.campus-visual-card {
  background: var(--subpage-card);
  border: 1px solid var(--subpage-border);
  border-radius: var(--subpage-radius-card);
  padding: clamp(1.5rem, 3vw, 2rem);
  position: relative;
  overflow: hidden;
}

.campus-badge-operational {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--subpage-accent-green);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--subpage-accent-green);
  box-shadow: 0 0 8px var(--subpage-accent-green);
  flex-shrink: 0;
}

.campus-name-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.5rem 0;
}

.campus-location-address {
  font-size: 0.92rem;
  color: var(--subpage-text-muted);
  line-height: 1.6;
  margin: 0 0 1.25rem 0;
}

.campus-perks-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

/* Strictly constrained checkmark icon */
.perk-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: #cbd5e1;
  line-height: 1.45;
}

.perk-item svg {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  color: var(--subpage-accent-coral) !important;
  margin-top: 2px;
  flex-shrink: 0 !important;
}

.btn-whatsapp-chat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: #25d366;
  color: #ffffff;
  font-size: 0.925rem;
  font-weight: 700;
  padding: 0.85rem 1.35rem;
  border-radius: var(--subpage-radius-sm);
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
  width: 100%;
  box-sizing: border-box;
}

.btn-whatsapp-chat:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-whatsapp-chat svg {
  width: 20px !important;
  height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  fill: currentColor;
}

/* ==========================================================================
   LOCATIONS PAGE SPECIFIC STYLES
   ========================================================================== */

.locations-flagship-wrap {
  margin-bottom: 4rem;
}

.flagship-banner-box {
  background: linear-gradient(180deg, #0e121a 0%, #080a0f 100%);
  border: 1px solid rgba(255, 85, 32, 0.25);
  border-radius: var(--subpage-radius-card);
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.flagship-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2.25rem;
}

.flagship-header-left {
  max-width: 720px;
}

.flagship-campus-title {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0.4rem 0 0.75rem 0;
  line-height: 1.25;
}

/* Strictly constrained map pin icon in address */
.flagship-campus-address {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  color: var(--subpage-text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  line-height: 1.55;
}

.flagship-campus-address svg {
  width: 20px !important;
  height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  color: var(--subpage-accent-coral) !important;
  flex-shrink: 0 !important;
  margin-top: 3px;
}

.flagship-header-actions {
  flex-shrink: 0;
}

@media screen and (max-width: 600px) {
  .flagship-header-actions {
    width: 100%;
  }
  .flagship-header-actions .btn-enroll {
    width: 100%;
    justify-content: center;
  }
}

/* 4 Facility Spec Cards */
.facility-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}

@media screen and (max-width: 1024px) {
  .facility-specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 580px) {
  .facility-specs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .spec-card {
    padding: 1rem 0.75rem;
  }
  .spec-number {
    font-size: 1.4rem;
  }
  .spec-title {
    font-size: 0.88rem;
  }
}

@media screen and (max-width: 380px) {
  .facility-specs-grid {
    grid-template-columns: 1fr;
  }
}

.spec-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--subpage-radius-sm);
  padding: 1.5rem;
  transition: all 0.25s ease;
}

.spec-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 85, 32, 0.3);
  transform: translateY(-3px);
}

.spec-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--subpage-accent-coral);
  font-family: var(--subpage-font-mono);
  margin-bottom: 0.35rem;
  line-height: 1;
}

.spec-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.45rem;
}

.spec-desc {
  font-size: 0.85rem;
  color: var(--subpage-text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Facility Amenities Grid */
.amenities-section-title {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 1.35rem 0;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

@media screen and (max-width: 900px) {
  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 600px) {
  .amenities-grid {
    grid-template-columns: 1fr;
  }
}

.amenity-card {
  background: var(--subpage-card);
  border: 1px solid var(--subpage-border);
  border-radius: var(--subpage-radius-sm);
  padding: 1.35rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.amenity-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 85, 32, 0.1);
  color: var(--subpage-accent-coral);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.amenity-icon-box svg {
  width: 20px !important;
  height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
}

.amenity-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.35rem 0;
}

.amenity-content p {
  font-size: 0.85rem;
  color: var(--subpage-text-muted);
  margin: 0;
  line-height: 1.5;
}

/* Future Hubs Expansion Grid */
.future-hubs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

@media screen and (max-width: 900px) {
  .future-hubs-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.hub-card {
  background: var(--subpage-card);
  border: 1px solid var(--subpage-border);
  border-radius: var(--subpage-radius-card);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}

.hub-status-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 1.15rem;
}

.hub-status-active {
  background: rgba(16, 185, 129, 0.15);
  color: var(--subpage-accent-green);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.hub-status-upcoming {
  background: rgba(245, 158, 11, 0.15);
  color: var(--subpage-accent-gold);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.hub-status-virtual {
  background: rgba(56, 189, 248, 0.15);
  color: var(--subpage-accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.hub-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.5rem 0;
}

.hub-desc {
  font-size: 0.88rem;
  color: var(--subpage-text-muted);
  line-height: 1.55;
  margin: 0 0 1.25rem 0;
  flex-grow: 1;
}

.hub-action {
  color: var(--subpage-accent-coral);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Tour Booking Card */
.tour-booking-card {
  background: linear-gradient(135deg, rgba(255, 85, 32, 0.1) 0%, rgba(14, 18, 26, 0.95) 100%);
  border: 1px solid rgba(255, 85, 32, 0.3);
  border-radius: var(--subpage-radius-card);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.tour-booking-content {
  max-width: 620px;
}

.tour-booking-content h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
}

.tour-booking-content p {
  font-size: 0.95rem;
  color: #cbd5e1;
  margin: 0;
  line-height: 1.6;
}

@media screen and (max-width: 768px) {
  .tour-booking-actions {
    width: 100%;
  }
  .tour-booking-actions .btn-whatsapp-chat {
    width: 100%;
  }
}

/* ==========================================================================
   FAQS PAGE SPECIFIC STYLES
   ========================================================================== */

/* Search Filter Input */
.faq-search-wrap {
  max-width: 680px;
  margin: 0 auto 2.25rem auto;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.faq-search-input {
  width: 100%;
  background: #0e121a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  padding: 1rem 1.5rem 1rem 3.25rem;
  font-size: 1rem;
  color: #ffffff;
  outline: none;
  transition: all 0.25s ease;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  box-sizing: border-box;
}

.faq-search-input:focus {
  border-color: var(--subpage-accent-coral);
  box-shadow: 0 0 0 3px rgba(255, 85, 32, 0.18), 0 8px 30px rgba(0, 0, 0, 0.5);
}

.faq-search-icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--subpage-text-dim);
  pointer-events: none;
  display: flex;
  align-items: center;
}

.faq-search-icon svg {
  width: 18px !important;
  height: 18px !important;
}

/* Category Filter Pills Bar */
.faq-filter-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 3rem;
}

@media screen and (max-width: 600px) {
  .faq-filter-pills {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .faq-filter-pills::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }
  .faq-pill-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }
}

.faq-pill-btn {
  background: #0e121a;
  border: 1px solid var(--subpage-border);
  color: var(--subpage-text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.55rem 1.15rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.faq-pill-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  background: #141924;
}

.faq-pill-btn.is-active {
  background: var(--subpage-accent-coral);
  color: #ffffff;
  border-color: var(--subpage-accent-coral);
  box-shadow: 0 4px 16px rgba(255, 85, 32, 0.35);
}

/* Accordion Wrapper & Items */
.faq-accordion-list {
  max-width: 900px;
  margin: 0 auto 3.5rem auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
}

.faq-card-item {
  background: var(--subpage-card);
  border: 1px solid var(--subpage-border);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.25s ease;
}

.faq-card-item:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.faq-card-item.is-open {
  border-color: rgba(255, 85, 32, 0.35);
  background: #101520;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.faq-card-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  background: transparent;
  border: none;
  padding: 1.25rem 1.5rem;
  text-align: left;
  cursor: pointer;
  color: #ffffff;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  transition: color 0.2s ease;
  line-height: 1.4;
}

@media screen and (max-width: 600px) {
  .faq-card-trigger {
    padding: 1.1rem 1.2rem;
    font-size: 0.95rem;
  }
}

.faq-card-trigger:hover {
  color: var(--subpage-accent-coral);
}

.faq-card-question-text {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.faq-card-category-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--subpage-accent-gold);
  background: rgba(245, 158, 11, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-weight: 700;
  display: inline-block;
  flex-shrink: 0;
}

.faq-card-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--subpage-text-muted);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.faq-card-icon svg {
  width: 16px !important;
  height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
}

.faq-card-item.is-open .faq-card-icon {
  transform: rotate(180deg);
  background: var(--subpage-accent-coral);
  color: #ffffff;
}

.faq-card-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-card-content {
  padding: 0 1.5rem 1.35rem 1.5rem;
  color: var(--subpage-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-card-content p {
  margin: 0 0 0.75rem 0;
}

.faq-card-content p:last-child {
  margin-bottom: 0;
}

/* FAQ Still Have Questions Banner */
.faq-help-banner {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(135deg, #0e121a 0%, #151b27 100%);
  border: 1px solid var(--subpage-border);
  border-radius: var(--subpage-radius-card);
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  text-align: center;
}

.faq-help-banner h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.65rem 0;
}

.faq-help-banner p {
  color: var(--subpage-text-muted);
  max-width: 580px;
  margin: 0 auto 1.5rem auto;
  line-height: 1.6;
  font-size: 0.95rem;
}

.faq-help-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

@media screen and (max-width: 580px) {
  .faq-help-actions {
    flex-direction: column;
    width: 100%;
  }
  .faq-help-actions .btn-enroll,
  .faq-help-actions .btn-whatsapp-chat {
    width: 100%;
  }
}

/* ==========================================================================
   Charity & SIWES Subpages Styling
   ========================================================================== */

/* Hero Actions & Buttons */
.charity-hero-actions,
.siwes-hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.btn-outline-charity {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.45rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--subpage-radius-sm);
  color: #f3f4f6;
  font-weight: 600;
  font-size: 0.925rem;
  transition: all 0.25s ease;
}

.btn-outline-charity:hover {
  background: rgba(255, 85, 32, 0.1);
  border-color: rgba(255, 85, 32, 0.4);
  color: var(--subpage-accent-coral);
  transform: translateY(-2px);
}

/* Stats Grids */
.charity-stats-grid,
.siwes-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}

.charity-stat-card,
.siwes-stat-card {
  background: var(--subpage-surface);
  border: 1px solid var(--subpage-border);
  border-radius: var(--subpage-radius-card);
  padding: 2rem 1.75rem;
  text-align: left;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.charity-stat-card:hover,
.siwes-stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--subpage-border-highlight);
}

.stat-number {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.stat-unit,
.stat-label {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.stat-desc,
.stat-subtext {
  font-size: 0.85rem;
  color: var(--subpage-text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Charity Mission Grid */
.charity-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 4rem 0;
}

.charity-pillar-box {
  background: var(--subpage-surface);
  border: 1px solid var(--subpage-border);
  border-radius: var(--subpage-radius-card);
  padding: clamp(2rem, 3.5vw, 3rem);
  position: relative;
  overflow: hidden;
}

.pillar-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 85, 32, 0.12);
  border: 1px solid rgba(255, 85, 32, 0.3);
  color: var(--subpage-accent-coral);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.pillar-icon-box.icon-gold {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.3);
  color: var(--subpage-accent-gold);
}

.pillar-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 1rem;
}

.pillar-text {
  font-size: 0.95rem;
  color: var(--subpage-text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.pillar-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pillar-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: #e2e8f0;
}

.pillar-list li span {
  color: var(--subpage-accent-coral);
  font-weight: bold;
}

/* Story Card Section */
.charity-story-section {
  margin: 4rem 0;
}

.story-container-card {
  background: linear-gradient(135deg, #0e121a 0%, #080a0f 100%);
  border: 1px solid rgba(255, 85, 32, 0.25);
  border-radius: var(--subpage-radius-card);
  padding: clamp(2rem, 4vw, 3.5rem);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.story-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--subpage-accent-coral);
  margin-bottom: 1rem;
}

.story-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--subpage-accent-coral);
  box-shadow: 0 0 8px var(--subpage-accent-coral);
}

.story-heading {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 1.5rem;
}

.story-quote {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #cbd5e1;
  font-style: italic;
  margin: 0 0 2rem;
  padding-left: 1.25rem;
  border-left: 3px solid var(--subpage-accent-coral);
}

.story-author-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-badge-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.author-details {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-size: 0.95rem;
  color: #ffffff;
}

.author-role {
  font-size: 0.8rem;
  color: var(--subpage-text-dim);
}

.story-card-glass-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.glass-card-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  backdrop-filter: blur(10px);
}

.glass-card-item.highlight-card {
  border-color: rgba(255, 85, 32, 0.35);
  background: rgba(255, 85, 32, 0.05);
}

.glass-card-item .card-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.glass-card-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.35rem;
}

.glass-card-item p {
  font-size: 0.85rem;
  color: var(--subpage-text-muted);
  line-height: 1.45;
  margin: 0;
}

/* Donation Section */
.charity-donation-section {
  margin: 4rem 0 2rem;
}

.donation-card-wrapper {
  background: var(--subpage-surface);
  border: 1px solid var(--subpage-border);
  border-radius: var(--subpage-radius-card);
  padding: clamp(2rem, 4vw, 3.5rem);
}

.donation-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.donation-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 4px 12px;
  background: rgba(255, 85, 32, 0.12);
  border: 1px solid rgba(255, 85, 32, 0.3);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--subpage-accent-coral);
  margin-bottom: 1rem;
}

.donation-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.75rem;
}

.donation-subtitle {
  font-size: 0.95rem;
  color: var(--subpage-text-muted);
  line-height: 1.6;
  margin: 0;
}

.donation-channels-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.channel-card {
  background: var(--subpage-card);
  border: 1px solid var(--subpage-border);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.channel-card.highlight-border {
  border-color: rgba(255, 85, 32, 0.3);
}

.channel-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--subpage-accent-coral);
  margin-bottom: 1.25rem;
}

.info-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.info-label {
  font-size: 0.78rem;
  color: var(--subpage-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.info-value {
  font-size: 1.05rem;
  color: #ffffff;
  font-weight: 600;
}

.channel-desc {
  font-size: 0.9rem;
  color: var(--subpage-text-muted);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.donation-dropoff strong {
  font-size: 0.85rem;
  color: #ffffff;
  display: block;
  margin-bottom: 0.25rem;
}

.donation-dropoff p {
  font-size: 0.85rem;
  color: var(--subpage-text-muted);
  margin: 0 0 1.5rem;
}

.btn-whatsapp-channel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: #25D366;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--subpage-radius-sm);
  transition: all 0.2s ease;
}

.btn-whatsapp-channel:hover {
  background: #20bd5a;
  transform: translateY(-2px);
}

.charity-contact-box {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--subpage-border);
  font-size: 0.9rem;
  color: var(--subpage-text-muted);
}

/* ==========================================================================
   SIWES Page Components
   ========================================================================== */
.siwes-overview-section {
  margin: 3.5rem 0;
}

.siwes-overview-card {
  background: var(--subpage-surface);
  border: 1px solid var(--subpage-border);
  border-radius: var(--subpage-radius-card);
  padding: clamp(2rem, 4vw, 3rem);
}

.overview-header-row {
  margin-bottom: 1.5rem;
}

.eyebrow-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--subpage-accent-coral);
  margin-bottom: 0.75rem;
}

.chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--subpage-accent-coral);
}

.overview-heading {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.overview-body-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: #cbd5e1;
  margin-bottom: 1rem;
}

.overview-body-text p:last-child {
  margin-bottom: 0;
}

/* Specs & Gains Grid */
.siwes-specs-section {
  margin: 4rem 0;
}

.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.specs-box {
  background: var(--subpage-surface);
  border: 1px solid var(--subpage-border);
  border-radius: var(--subpage-radius-card);
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
}

.specs-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--subpage-border);
}

.specs-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.spec-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--subpage-accent-coral);
  margin-bottom: 0.25rem;
}

.spec-value {
  font-size: 0.925rem;
  color: #e2e8f0;
  line-height: 1.5;
}

.gains-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gain-item {
  display: flex;
  gap: 1.25rem;
  background: var(--subpage-card);
  border: 1px solid var(--subpage-border);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.gain-item:hover {
  transform: translateX(4px);
  border-color: rgba(255, 85, 32, 0.35);
}

.gain-item.highlight-gain {
  border-color: rgba(255, 85, 32, 0.4);
  background: rgba(255, 85, 32, 0.04);
}

.gain-number {
  font-family: var(--subpage-font-mono);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--subpage-accent-coral);
  flex-shrink: 0;
}

.gain-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.35rem;
}

.gain-text p {
  font-size: 0.85rem;
  color: var(--subpage-text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Specialized Tracks Grid */
.siwes-tracks-section {
  margin: 4.5rem 0;
}

.subpage-section-heading {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.75rem;
}

.subpage-section-subheading {
  font-size: 1rem;
  color: var(--subpage-text-muted);
  max-width: 600px;
  margin: 0 auto 3rem;
}

.tracks-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.track-card {
  background: var(--subpage-surface);
  border: 1px solid var(--subpage-border);
  border-radius: var(--subpage-radius-card);
  padding: 2rem;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.track-card:hover {
  border-color: var(--subpage-border-highlight);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 18px rgba(255, 85, 32, 0.15);
}

.track-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  background: rgba(255, 85, 32, 0.12);
  border: 1px solid rgba(255, 85, 32, 0.3);
  color: var(--subpage-accent-coral);
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.track-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.75rem;
}

.track-desc {
  font-size: 0.88rem;
  color: var(--subpage-text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.track-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.track-tags span {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  color: #cbd5e1;
}

/* SIWES Apply Box */
.siwes-apply-section {
  margin: 4.5rem 0 2rem;
}

.apply-box-wrapper {
  background: linear-gradient(135deg, #0e121a 0%, #07090e 100%);
  border: 1px solid rgba(255, 85, 32, 0.3);
  border-radius: var(--subpage-radius-card);
  padding: clamp(2rem, 4vw, 3.5rem);
}

.apply-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.75rem;
}

.apply-subtitle {
  font-size: 0.95rem;
  color: var(--subpage-text-muted);
  margin: 0 0 3rem;
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.step-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--subpage-border);
  border-radius: 16px;
  padding: 1.75rem;
  text-align: center;
}

.step-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF6B35 0%, #FF5520 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 14px rgba(255, 85, 32, 0.4);
}

.step-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.5rem;
}

.step-card p {
  font-size: 0.85rem;
  color: var(--subpage-text-muted);
  line-height: 1.5;
  margin: 0;
}

.apply-buttons-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.apply-buttons-wrap .btn-lg {
  padding: 0.85rem 2rem;
  font-size: 1rem;
}

.apply-help-text {
  font-size: 0.9rem;
  color: var(--subpage-text-muted);
  margin: 0;
}

/* Responsive Breakpoints for Charity & SIWES */
@media screen and (max-width: 992px) {
  .charity-stats-grid,
  .siwes-stats-grid,
  .steps-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .charity-mission-grid,
  .story-container-card,
  .donation-channels-grid,
  .specs-grid,
  .tracks-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

