/* Components CSS */
.card {
  background:    var(--brand-white);
  border:        1px solid var(--brand-border);
  border-radius: 12px;
  padding:       28px 24px;
  box-shadow:    0 2px 12px rgba(11,44,95,0.06);
  transition:    transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform:  translateY(-4px);
  box-shadow: 0 8px 32px rgba(11,44,95,0.12);
}
.card-img-top {
  width: calc(100% + 48px);
  margin: -28px -24px 20px -24px;
  border-radius: 11px 11px 0 0;
  object-fit: cover;
  aspect-ratio: 16/9;
  display: block;
  max-width: none;
}

.btn-primary {
  background:    var(--brand-secondary);
  color:         var(--brand-white);
  font-family:   'Sora', sans-serif;
  font-weight:   600;
  font-size:     16px;
  padding:       14px 32px;
  border-radius: 8px;
  border:        none;
  cursor:        pointer;
  transition:    background 0.2s, transform 0.1s;
  display:       inline-block;
  text-align:    center;
}
.btn-primary:hover {
  background: var(--brand-accent);
  transform:  translateY(-1px);
}

.btn-secondary {
  background:    transparent;
  color:         var(--brand-white);
  font-family:   'Sora', sans-serif;
  font-weight:   600;
  font-size:     16px;
  padding:       12px 30px;
  border-radius: 8px;
  border:        2px solid var(--brand-white);
  cursor:        pointer;
  transition:    background 0.2s, color 0.2s, transform 0.1s;
  display:       inline-block;
  text-align:    center;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  transform:  translateY(-1px);
}

.btn-ghost {
  background:    transparent;
  color:         var(--brand-primary);
  font-family:   'Sora', sans-serif;
  font-weight:   600;
  font-size:     16px;
  padding:       12px 30px;
  border-radius: 8px;
  border:        2px solid var(--brand-primary);
  cursor:        pointer;
  transition:    background 0.2s, color 0.2s, transform 0.1s;
  display:       inline-block;
  text-align:    center;
}
.btn-ghost:hover {
  background: var(--brand-primary);
  color: var(--brand-white);
}

input, select, textarea {
  width:         100%;
  padding:       12px 16px;
  border:        1.5px solid var(--brand-border);
  border-radius: 8px;
  font-family:   'DM Sans', sans-serif;
  font-size:     15px;
  color:         var(--brand-text);
  transition:    border-color 0.2s, box-shadow 0.2s;
  margin-bottom: 12px;
  background:    var(--brand-white);
}
input:focus, select:focus, textarea:focus {
  border-color: var(--brand-secondary);
  outline:      none;
  box-shadow:   0 0 0 3px rgba(14, 158, 142, 0.1);
}

/* Modal */
.modal-overlay {
  position:        fixed;
  inset:           0;
  background:      rgba(7, 26, 58, 0.55);
  z-index:         1000;
  display:         flex;
  align-items:     center;
  justify-content: center;
}
.modal-box {
  background:    var(--brand-white);
  border-radius: 16px;
  padding:       36px 32px;
  max-width:     440px;
  width:         90%;
  position:      relative;
}
.modal-close {
  position:   absolute;
  top:        14px;
  right:      16px;
  background: none;
  border:     none;
  font-size:  18px;
  color:      var(--brand-muted);
  cursor:     pointer;
}

/* Page Header */
.page-header {
  position: relative;
  background-color: var(--brand-dark); /* Fallback */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--brand-white);
  text-align: center;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  overflow: hidden;
}
.page-header > .container {
  width: 100%;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(18, 102, 172, 0.92), rgba(32, 116, 187, 0.85)); /* Denim to Mariner */
  z-index: 1;
}
.page-header .container {
  position: relative;
  z-index: 2;
}
.page-header h1 {
  color: var(--brand-white);
  margin-bottom: 16px;
}
.page-header p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto;
}
