/* ============================================================
   FAERI College Partnership — Reusable Components
   ============================================================ */

/* -- Cards -- */
.card {
  background: var(--cyan-dim);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 24px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  border-color: rgba(0, 230, 118,0.4);
  box-shadow: 0 0 20px rgba(0, 230, 118,0.08);
}

.card-orange {
  background: var(--orange-dim);
  border-color: var(--orange-border);
}

.card-orange:hover {
  border-color: rgba(240, 147, 43, 0.45);
  box-shadow: 0 0 20px rgba(240, 147, 43, 0.1);
}

.card-gold {
  background: var(--gold-dim);
  border-color: var(--gold-border);
}

.card-gold:hover {
  border-color: rgba(255, 215, 0, 0.45);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
}

/* -- Stat Boxes -- */
.stat-box {
  text-align: center;
  background: var(--cyan-dim);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 24px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--cyan);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--silver);
  margin-top: 8px;
}

/* -- Domain Cards -- */
.domain-card {
  text-align: center;
  background: var(--cyan-dim);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 20px;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.domain-card:hover {
  border-color: var(--cyan);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 230, 118,0.12);
}

.domain-icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
  display: block;
}

.domain-name {
  font-size: 0.9rem;
  color: var(--silver);
  font-weight: 600;
}

/* -- Tag Pills -- */
.tag-pill {
  display: inline-flex;
  align-items: center;
  background: var(--cyan-dim);
  border: 1px solid var(--card-border);
  border-radius: 26px;
  padding: 8px 20px;
  gap: 8px;
}

.tag-pill-icon {
  font-size: 1.2rem;
}

.tag-pill-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cyan);
}

/* -- Buttons -- */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--cyan), #7c4dff, var(--gold));
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite;
  color: var(--navy);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 44px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
  transform: scale(1.06);
  box-shadow: 0 0 28px rgba(0, 230, 118,0.4);
  text-decoration: none;
  color: var(--navy);
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 44px;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn-secondary:hover {
  background: var(--cyan);
  color: var(--navy);
  text-decoration: none;
}

/* -- Benefit Cards -- */
.benefit-card {
  display: flex;
  gap: 16px;
  background: var(--cyan-dim);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 20px;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  border-color: rgba(0, 230, 118,0.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 230, 118,0.08);
}

.benefit-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.benefit-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.benefit-text {
  font-size: 0.88rem;
  color: var(--silver);
  line-height: 1.55;
}

/* -- Facility Cards -- */
.facility-card {
  background: var(--cyan-dim);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 24px;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.facility-card:hover {
  border-color: rgba(0, 230, 118,0.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 230, 118,0.08);
}

.facility-card .facility-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}

.facility-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.facility-card ul {
  margin: 0;
  padding: 0;
}

.facility-card ul li {
  font-size: 0.88rem;
  color: var(--silver);
  margin-bottom: 4px;
}

/* -- Contact Cards -- */
.contact-card {
  text-align: center;
  background: var(--cyan-dim);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 32px 24px;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  border-color: rgba(0, 230, 118,0.4);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 230, 118,0.1);
}

.contact-card .contact-icon {
  font-size: 2.5rem;
  margin-bottom: 14px;
  display: block;
}

.contact-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.contact-card p, .contact-card a {
  font-size: 0.92rem;
  color: var(--silver);
}

/* -- Form Styles -- */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--silver);
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

.form-group label .required {
  color: var(--orange);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(0, 230, 118,0.04);
  border: 1px solid rgba(0, 230, 118,0.18);
  border-radius: 10px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--cyan);
  background: rgba(0, 230, 118,0.06);
  box-shadow: 0 0 12px rgba(0, 230, 118,0.15), 0 0 4px rgba(0, 230, 118,0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted);
}

.form-group select option {
  background: var(--navy);
  color: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* -- Checkbox group -- */
.checkbox-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--silver);
  font-weight: 500;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.checkbox-group label:hover {
  background: rgba(0, 230, 118,0.04);
  border-color: rgba(0, 230, 118,0.15);
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--cyan);
  cursor: pointer;
}

/* -- Toast -- */
.toast {
  position: fixed;
  top: 100px;
  right: 28px;
  z-index: 1000;
  min-width: 300px;
  max-width: 450px;
  padding: 16px 24px;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
  pointer-events: none;
}

.toast.visible {
  transform: translateX(0);
  pointer-events: auto;
}

.toast-success {
  background: rgba(0, 230, 118, 0.15);
  border: 1px solid rgba(0, 230, 118, 0.35);
  color: #00e676;
}

.toast-error {
  background: rgba(255, 82, 82, 0.15);
  border: 1px solid rgba(255, 82, 82, 0.35);
  color: #ff5252;
}
