/* CSS Document */

/* =========================================================
   SFAHBA Membership Application
   File: css/membership-application.css
========================================================= */

:root {
  --sfahba-navy: #14213d;
  --sfahba-navy-dark: #0f172c;
  --sfahba-gold: #c89b3c;
  --sfahba-soft: #f7f4ef;
  --sfahba-border: #e4e0d8;
  --sfahba-muted: #6c757d;
  --sfahba-bg: #f5f7fa;
  --sfahba-success: #198754;
  --sfahba-danger: #b42318;

  --sfahba-radius: 1.25rem;
  --sfahba-shadow: 0 12px 30px rgba(20, 33, 61, 0.08);
  --sfahba-transition: all 0.2s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--sfahba-bg);
  color: #1d232f;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
 
		
		padding-bottom: 75px;
	}

.supporting-docs{
	
	display: none;
}


/* =========================================================
   HERO
========================================================= */

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(20, 33, 61, 0.95), rgba(20, 33, 61, 0.86)),
    url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1600&q=80') center center / cover;
  color: #fff;
  padding: 5rem 0 4rem;
}

.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  background: linear-gradient(to top, rgba(245,247,250,1), rgba(245,247,250,0));
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero .badge {
  background: rgba(200, 155, 60, 0.15);
  border: 1px solid rgba(200, 155, 60, 0.45);
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}

.hero h1 {
  letter-spacing: -0.03em;
}

.hero .lead {
  color: rgba(255,255,255,0.88);
  max-width: 850px;
}

/* =========================================================
   CARDS
========================================================= */

.info-card,
.form-card {
  background: #fff;
  border-radius: var(--sfahba-radius);
  border: 1px solid var(--sfahba-border);
  box-shadow: var(--sfahba-shadow);
}

.info-card {
  position: relative;
  overflow: hidden;
  height: 100%;
  transition: var(--sfahba-transition);
}

.info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(20, 33, 61, 0.12);
}

.info-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: var(--sfahba-gold);
}

.form-card {
  transition: var(--sfahba-transition);
}

.form-card:hover {
  box-shadow: 0 18px 40px rgba(20, 33, 61, 0.09);
}

.price-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--sfahba-soft);
  border: 1px solid var(--sfahba-border);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-weight: 700;
  color: var(--sfahba-navy);
  white-space: nowrap;
}

/* =========================================================
   HEADINGS
========================================================= */

.section-heading {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.section-heading h2 {
  color: var(--sfahba-navy);
}

.icon-wrap {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--sfahba-soft);
  border: 1px solid var(--sfahba-border);
  color: var(--sfahba-navy);
  font-size: 1.1rem;
}

/* =========================================================
   FORM ELEMENTS
========================================================= */

.form-label {
  font-weight: 650;
  color: #1e2430;
  margin-bottom: 0.45rem;
}

.form-text {
  color: var(--sfahba-muted);
}

.required-dot::after {
  content: ' *';
  color: var(--sfahba-danger);
}

.form-control,
.form-select {
  border-radius: 0.9rem;
  border: 1px solid #d4dae3;
  min-height: 52px;
  padding: 0.8rem 1rem;
  transition: var(--sfahba-transition);
  box-shadow: none;
}


textarea.form-control {
  min-height: 140px;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(20, 33, 61, 0.45);
  box-shadow: 0 0 0 0.25rem rgba(20, 33, 61, 0.08);
}

.form-check {
  position: relative;
}

.form-check.border {
  transition: var(--sfahba-transition);
}

.form-check.border:hover {
  border-color: rgba(20, 33, 61, 0.35) !important;
  background: rgba(20, 33, 61, 0.02);
}

.form-check-input {
  margin-top: 0.3rem;
}

.form-check-input:checked {
  background-color: var(--sfahba-navy);
  border-color: var(--sfahba-navy);
}

.invalid-feedback {
  font-size: 0.88rem;
}

/* =========================================================
   BUTTONS
========================================================= */

.btn {
  border-radius: 0.9rem;
  font-weight: 600;
  transition: var(--sfahba-transition);
}

.btn-primary {
  background: var(--sfahba-navy);
  border-color: var(--sfahba-navy);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background: var(--sfahba-navy-dark) !important;
  border-color: var(--sfahba-navy-dark) !important;
}

.btn-outline-primary {
  border-color: var(--sfahba-navy);
  color: var(--sfahba-navy);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background: var(--sfahba-navy);
  border-color: var(--sfahba-navy);
}

.btn-lg {
  min-height: 56px;
}

/* =========================================================
   ACCORDION
========================================================= */

.accordion-item {
  border-radius: 1rem !important;
  overflow: hidden;
  border: 1px solid var(--sfahba-border);
  margin-bottom: 1rem;
}

.accordion-button {
  font-weight: 650;
  padding: 1rem 1.25rem;
}

.accordion-button:not(.collapsed) {
  background: rgba(20, 33, 61, 0.05);
  color: var(--sfahba-navy);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.accordion-body {
  color: #344054;
}

/* =========================================================
   MODAL
========================================================= */

.modal-content {
  border: 0;
  border-radius: 1.4rem;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.2);
}

.modal-header {
  border-bottom: 1px solid var(--sfahba-border);
}

.modal-footer {
  border-top: 1px solid var(--sfahba-border);
}

.code-grid {
  columns: 1;
}

.code-item {
  break-inside: avoid;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed rgba(0,0,0,0.08);
  font-size: 0.95rem;
}

/* =========================================================
   STICKY SUBMIT BAR
========================================================= */

.sticky-submit {
    position: sticky;
    bottom: 0;
    z-index: 50;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--sfahba-border);
    margin-top: 2rem;
    width: calc(100vw);
    position: fixed;
    left: 0px;
    /* overflow: hidden; */
}

/* =========================================================
   TABLET
========================================================= */

@media (min-width: 768px) {

  .code-grid {
    columns: 2;
    column-gap: 2rem;
  }
}

/* =========================================================
   DESKTOP
========================================================= */

@media (min-width: 1200px) {

  .code-grid {
    columns: 3;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

  .hero {
    padding: 4rem 0 3rem;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .form-card,
  .info-card {
    border-radius: 1rem;
  }

  .section-heading {
    align-items: flex-start;
  }

  .section-heading h2 {
    font-size: 1.2rem;
  }

.sticky-submit {
    padding-bottom: env(safe-area-inset-bottom);
    padding: 10px;
}

  .sticky-submit .btn {
    width: 100%;
  }

  .accordion-button {
    padding: 1rem;
    font-size: 0.96rem;
  }

  .modal-dialog {
    margin: 1rem;
  }
}

/* =========================================================
   ACCESSIBILITY + STATES
========================================================= */

:focus-visible {
  outline: 3px solid rgba(200, 155, 60, 0.55);
  outline-offset: 2px;
}

button:disabled,
.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

input[readonly] {
  background: #f8f9fb;
}

.text-secondary {
  color: var(--sfahba-muted) !important;
}
