/* ============================================
   EDUHUB — pages.css
   Privacy, Terms & Contact pages
   ============================================ */

/* ---- Page Wrapper ---- */
.page-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 64px 24px 100px;
}

/* ---- Page Hero ---- */
.page-hero {
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-mid) 55%, var(--navy-light) 100%);
  position: relative;
  overflow: hidden;
  padding: 64px 32px 72px;
}

.page-hero-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.15;
}

.page-blob-1 {
  width: 360px;
  height: 360px;
  background: var(--accent);
  top: -120px;
  right: -60px;
}

.page-blob-2 {
  width: 240px;
  height: 240px;
  background: var(--teal);
  bottom: -80px;
  left: -40px;
}

.page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(232, 160, 32, 0.12);
  border: 1px solid rgba(232, 160, 32, 0.28);
  padding: 5px 14px;
  border-radius: 30px;
  margin-bottom: 18px;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.18;
  color: #fff;
  letter-spacing: -0.3px;
  margin-bottom: 12px;
}

.page-subtitle {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  max-width: 480px;
}

/* ---- Breadcrumb ---- */
.breadcrumb-wrap {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.breadcrumb {
  max-width: 800px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-light);
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-muted);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb span {
  color: var(--text);
  font-weight: 600;
}

/* ---- Section ---- */
.page-section {
  margin-bottom: 44px;
  animation: fadeUp 0.35s ease both;
}

.page-section:nth-child(1) { animation-delay: 0.05s; }
.page-section:nth-child(2) { animation-delay: 0.10s; }
.page-section:nth-child(3) { animation-delay: 0.15s; }
.page-section:nth-child(4) { animation-delay: 0.20s; }
.page-section:nth-child(5) { animation-delay: 0.25s; }
.page-section:nth-child(6) { animation-delay: 0.30s; }

.page-section h2 {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--text);
  margin-bottom: 14px;
  padding-left: 14px;
  border-left: 3px solid var(--accent);
  line-height: 1.4;
}

.page-section p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 12px;
}

.page-section ul {
  padding-left: 0;
  margin-bottom: 12px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-section ul li {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  padding-left: 20px;
  position: relative;
}

.page-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.page-section a {
  color: var(--accent);
  font-weight: 600;
  transition: color 0.2s;
}

.page-section a:hover {
  color: var(--accent-hover);
}

/* ---- Divider ---- */
.page-divider {
  height: 1px;
  background: var(--border);
  margin: 48px 0;
}

/* ---- Highlight Box ---- */
.page-highlight {
  background: var(--accent-soft);
  border: 1px solid rgba(232, 160, 32, 0.22);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  margin-bottom: 44px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.page-highlight-icon {
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--navy);
}

.page-highlight p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}

.page-highlight strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

/* ---- Contact Card ---- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 44px;
}

.contact-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  box-shadow: var(--shadow-sm);
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(232, 160, 32, 0.28);
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card-icon.icon-email  { background: var(--blue-light);      color: var(--blue);      }
.contact-card-icon.icon-yt     { background: var(--coral-light);     color: var(--coral);     }
.contact-card-icon.icon-fb     { background: var(--blue-light);      color: var(--blue);      }
.contact-card-icon.icon-phone  { background: var(--teal-icon-light); color: var(--teal-icon); }

.contact-card h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.contact-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

.contact-card a {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  transition: color 0.2s;
  word-break: break-all;
}

.contact-card a:hover {
  color: var(--accent-hover);
}

/* ---- Contact Form ---- */
.contact-form {
  background: var(--bg-card);
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(232, 160, 32, 0.13);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.65;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--navy);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  padding: 13px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

.form-submit:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

/* ---- Last Updated ---- */
.page-meta {
  font-size: 12.5px;
  color: var(--text-light);
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-meta svg {
  color: var(--text-light);
  flex-shrink: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .page-hero { padding: 48px 24px 56px; }
  .page-wrap { padding: 48px 20px 80px; }
  .contact-form { padding: 24px; }
}

@media (max-width: 480px) {
  .page-hero { padding: 36px 16px 44px; }
  .page-wrap { padding: 36px 16px 60px; }
  .page-title { font-size: 24px; }
  .page-subtitle { font-size: 14px; }
  .breadcrumb { padding: 10px 16px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 20px 16px; }
  .contact-grid { grid-template-columns: 1fr; }
  .page-highlight { padding: 16px; gap: 12px; }
  .page-highlight-icon { width: 36px; height: 36px; }
  .page-section h2 { font-size: 16px; }
  .page-section p,
  .page-section ul li { font-size: 14px; }
}