/* ==========================================================================
   BEHINTO & ZARAMOUZ DESIGN SYSTEM - PRODUCTION STYLESHEET
   Strictly Enforces 60-30-10 Color System, Modam RTL Typography & Supergraphics
   ========================================================================== */

/* --- 1. LOCAL MODAM FONT FACES & FALLBACKS --- */
@font-face {
  font-family: 'Modam';
  src: url('/static/fonts/Modam-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Modam';
  src: url('/static/fonts/Modam-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Modam';
  src: url('/static/fonts/Modam-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Modam';
  src: url('/static/fonts/Modam-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* --- 2. CSS VARIABLES (60-30-10 PALETTE) --- */
:root {
  /* 60% Neutral Colors */
  --bg-main: #FFFFFF;
  --bg-surface: #F5F5F5;
  --border-light: #E5E5E5;
  --border-card: #E5E5E5;
  --text-primary: #1A1A1A;
  --text-secondary: #4D4D4D;
  --text-muted: #808080;
  --text-placeholder: #B3B3B3;

  /* 30% Primary Colors (60% Purple / 40% Green) */
  --behinto-purple: #652D90;
  --behinto-purple-rgb: 102, 45, 145;
  --behinto-green: #8BC53F;
  --behinto-green-rgb: 139, 197, 63;

  /* 10% Supporting Colors */
  --light-green: #CBE69A;
  --deep-green: #557C20;
  --light-purple: #B894D1;
  --deep-purple: #3E175C;

  /* Approved Gradients */
  --gradient-brand: linear-gradient(135deg, #652D90, #8BC53F);
  --gradient-deep-purple: linear-gradient(135deg, #652D90, #3E175C);
  --gradient-soft-purple: linear-gradient(135deg, #652D90, #B894D1);
  --gradient-green-depth: linear-gradient(135deg, #8BC53F, #557C20);
  --gradient-soft-green: linear-gradient(135deg, #8BC53F, #CBE69A);

  /* Elevation Shadows (Ambient, Non-Aggressive) */
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 16px 36px rgba(101, 45, 144, 0.09);
  --shadow-floating: 0 20px 40px rgba(0, 0, 0, 0.08);

  /* Radius */
  --radius-card: 24px;
  --radius-pill: 9999px;
  --radius-btn: 14px;
}

/* --- 3. RESET & BASE RULES --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  direction: rtl;
}

body {
  font-family: 'Modam', 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-main);
  direction: rtl;
  text-align: right;
  letter-spacing: 0 !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

/* STRICT PROHIBITIONS */
* {
  text-shadow: none !important;
  letter-spacing: 0 !important;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

/* --- 4. TYPOGRAPHY HIERARCHY (MAX 3 WEIGHTS PER VIEW) --- */
h1, .h1 {
  font-family: 'Modam', sans-serif;
  font-weight: 700; /* Modam Bold */
  font-size: 2.25rem;
  line-height: 1.35;
  color: var(--text-primary);
}

h2, .h2 {
  font-family: 'Modam', sans-serif;
  font-weight: 600; /* Modam SemiBold */
  font-size: 1.75rem;
  line-height: 1.4;
  color: var(--text-primary);
}

h3, .h3, .kpi-number, .date-badge, .subtitle {
  font-family: 'Modam', sans-serif;
  font-weight: 500; /* Modam Medium */
  font-size: 1.25rem;
  line-height: 1.5;
}

p, span, label, input, button, select, textarea {
  font-family: 'Modam', sans-serif;
  font-weight: 400; /* Modam Regular */
}

/* --- 5. SUPERGRAPHICS SVG BACKGROUNDS --- */
.supergraphics-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: 0.85;
}

.supergraphics-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-wrapper {
  position: relative;
  z-index: 1;
  flex: 1;
}

/* --- 6. HEADER & CLEAN LOGOS --- */
.site-header {
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background-color: rgba(255, 255, 255, 0.96);
  min-height: 96px;
  display: flex;
  align-items: center;
}

.header-container {
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logos-group {
  display: flex;
  align-items: center;
  gap: 1.25rem; /* gap-5 */
}

.logo-link {
  display: inline-flex;
  align-items: center;
}

/* Clean logo display: NO filters, NO drop-shadows, NO distortions */
.logo-behinto {
  height: 68px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: none !important;
  -webkit-filter: none !important;
  box-shadow: none !important;
}

.logo-divider {
  width: 1px;
  height: 48px;
  background-color: #E5E5E5;
  border-right: 1px solid #E5E5E5;
}

.logo-zaramouz {
  height: 68px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: none !important;
  -webkit-filter: none !important;
  box-shadow: none !important;
}

@media (min-width: 768px) {
  .logo-behinto, .logo-zaramouz {
    height: 76px;
  }
  .logo-divider {
    height: 54px;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 80px;
  }
  .logo-behinto, .logo-zaramouz {
    height: 52px;
  }
  .logo-divider {
    height: 38px;
  }
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--behinto-purple);
  background-color: rgba(var(--behinto-purple-rgb), 0.05);
}

.nav-admin-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--behinto-purple);
  background: rgba(var(--behinto-purple-rgb), 0.08);
  border: 1px solid rgba(var(--behinto-purple-rgb), 0.15);
  transition: all 0.2s ease;
}

.nav-admin-btn:hover {
  background: var(--behinto-purple);
  color: #FFFFFF;
}

/* --- 7. CONTAINER & LAYOUT --- */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- 8. HERO & GLOBAL SEARCH SECTION --- */
.hero-section {
  padding: 4rem 0 3rem;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background-color: rgba(var(--behinto-purple-rgb), 0.08);
  color: var(--behinto-purple);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(var(--behinto-purple-rgb), 0.15);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--behinto-green);
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.hero-title .gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

/* --- GLOBAL CERTIFICATE SEARCH BOX --- */
.search-card-wrapper {
  max-width: 720px;
  margin: 0 auto;
}

.search-box-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  box-shadow: var(--shadow-floating);
  backdrop-filter: blur(16px);
  position: relative;
  transition: border-color 0.3s ease;
}

.search-box-card:focus-within {
  border-color: var(--behinto-purple);
}

.search-form-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.search-input-group {
  position: relative;
  flex: 1;
}

.search-input-group svg {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  width: 20px;
  height: 20px;
  pointer-events: none;
}

.search-input {
  width: 100%;
  height: 56px;
  padding: 0 3.25rem 0 1.25rem;
  font-size: 1.05rem;
  color: var(--text-primary);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  outline: none;
  transition: all 0.2s ease;
}

.search-input:focus {
  background-color: #FFFFFF;
  border-color: var(--behinto-purple);
  box-shadow: 0 0 0 3px rgba(var(--behinto-purple-rgb), 0.12);
}

.search-submit-btn {
  height: 56px;
  padding: 0 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: #FFFFFF;
  background: var(--gradient-brand);
  border: none;
  border-radius: 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.search-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(101, 45, 144, 0.25);
}

.search-submit-btn:active {
  transform: translateY(0);
}

.search-hint {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: right;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* --- 9. RESULTS CARD (CELEBRATORY / VERIFIED) --- */
.results-container {
  margin-top: 1.5rem;
  display: none;
}

.certificate-result-card {
  background: #FFFFFF;
  border: 2px solid var(--behinto-green);
  border-radius: var(--radius-card);
  padding: 2rem;
  box-shadow: var(--shadow-floating);
  text-align: right;
  position: relative;
  overflow: hidden;
  animation: fadeInSlideUp 0.4s ease forwards;
}

.certificate-result-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--gradient-brand);
}

.result-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background-color: rgba(var(--behinto-green-rgb), 0.12);
  color: var(--deep-green);
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid var(--behinto-green);
}

.verified-badge svg {
  width: 18px;
  height: 18px;
  color: var(--behinto-green);
}

.participant-salutation {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.seminar-event-title {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--behinto-purple);
  margin-bottom: 1.25rem;
}

.cert-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  background-color: var(--bg-surface);
  border-radius: 16px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.cert-meta-item .meta-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.cert-meta-item .meta-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.download-cert-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.9rem 2rem;
  background: var(--gradient-brand);
  color: #FFFFFF;
  border-radius: 16px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
  width: 100%;
}

.download-cert-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(101, 45, 144, 0.28);
}

/* NOT FOUND ALERT BOX */
.not-found-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  text-align: center;
  animation: fadeInSlideUp 0.3s ease forwards;
}

.not-found-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: rgba(239, 68, 68, 0.08);
  color: #DC2626;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.not-found-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.not-found-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 1.5rem;
}

/* --- 10. INLINE SUPPORT TICKET FORM --- */
.inline-ticket-form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 1.75rem;
  margin-top: 1.5rem;
  text-align: right;
}

.ticket-form-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--behinto-purple);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ticket-form-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

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

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
}

.form-control {
  width: 100%;
  height: 48px;
  padding: 0 1rem;
  font-size: 0.95rem;
  color: var(--text-primary);
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-control:focus {
  border-color: var(--behinto-purple);
}

textarea.form-control {
  height: 100px;
  padding: 0.75rem 1rem;
  resize: vertical;
}

.btn-secondary-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background-color: var(--behinto-purple);
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-secondary-submit:hover {
  background-color: var(--deep-purple);
}

/* --- 11. SEMINARS GRID SECTION --- */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1rem;
}

.section-title-wrap {
  text-align: right;
}

.section-badge {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--behinto-purple);
  margin-bottom: 0.25rem;
}

.section-title {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

.seminars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

/* FLOATING CARD ARCHITECTURE (24px BORDER-RADIUS) */
.seminar-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.seminar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--light-purple);
}

.seminar-poster-container {
  width: 100%;
  height: 220px;
  position: relative;
  background: var(--bg-surface);
  overflow: hidden;
}

.seminar-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.seminar-card:hover .seminar-poster {
  transform: scale(1.03);
}

.seminar-organizer-pill {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.775rem;
  font-weight: 600;
  color: var(--behinto-purple);
  border: 1px solid var(--border-light);
}

.seminar-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.seminar-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.45;
}

.seminar-desc-short {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}

.seminar-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.seminar-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  height: 48px;
  background: var(--bg-surface);
  color: var(--behinto-purple);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.seminar-card:hover .seminar-action-btn {
  background: var(--behinto-purple);
  color: #FFFFFF;
  border-color: var(--behinto-purple);
}

/* --- 12. DEDICATED SEMINAR VIEW --- */
.seminar-page-hero {
  padding: 2.5rem 0;
}

.seminar-page-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.5rem;
  align-items: start;
}

.seminar-details-box {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}

.seminar-detail-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.seminar-meta-tags {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.seminar-detail-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

/* RESOURCES SECTION */
.resources-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.resource-item-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  transition: all 0.2s ease;
}

.resource-item-card:hover {
  background: #FFFFFF;
  border-color: var(--behinto-purple);
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
}

.res-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.res-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(var(--behinto-purple-rgb), 0.1);
  color: var(--behinto-purple);
  display: flex;
  align-items: center;
  justify-content: center;
}

.res-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.res-btn {
  padding: 0.45rem 1rem;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--behinto-purple);
  transition: all 0.2s ease;
}

.res-btn:hover {
  background: var(--behinto-purple);
  color: #FFFFFF;
}

/* SIDEBAR LOOKUP BOX */
.seminar-sidebar-box {
  position: sticky;
  top: 90px;
}

.sidebar-lookup-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}

.lookup-card-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.lookup-card-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* --- 13. TRUST BADGES / FOOTER --- */
.features-section {
  padding: 3rem 0;
  border-top: 1px solid var(--border-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.feature-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 1.5rem;
  text-align: right;
}

.feature-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--behinto-purple);
  margin-bottom: 1rem;
}

.feature-box h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.feature-box p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.site-footer {
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
  padding: 2.5rem 0 2rem;
  margin-top: auto;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--behinto-purple);
}

/* --- 14. ANIMATIONS & RESPONSIVE --- */
@keyframes fadeInSlideUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 992px) {
  .seminar-page-grid {
    grid-template-columns: 1fr;
  }
  .seminar-sidebar-box {
    position: static;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  .search-form-row {
    flex-direction: column;
  }
  .search-submit-btn {
    width: 100%;
  }
  .header-container {
    flex-direction: column;
    gap: 1rem;
  }
  .seminars-grid {
    grid-template-columns: 1fr;
  }
}
