/* ==========================================================
   Chery Eid Joy — Register page
   ========================================================== */

:root {
  --chery-red: #c50d27;
  --chery-red-dark: #9c0a1f;
  --chery-ink: #1a1a1a;
  --chery-muted: #6c757d;
  --chery-soft: #f7f7f9;
}

/* Banner */
.banner-full {
  width: 100%;
  line-height: 0;
}
.banner-full img {
  width: 100%;
  height: auto;
  display: block;
}

/* Event intro */
.event-intro {
  padding: 4rem 0 2rem;
}
.event-intro .eyebrow {
  display: inline-block;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--chery-red);
  background: rgba(197, 13, 39, 0.08);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}
.event-intro h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  color: var(--chery-ink);
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}
.event-intro h1 .accent {
  color: var(--chery-red);
}
.event-intro .tagline {
  font-size: 1.15rem;
  color: var(--chery-muted);
  max-width: 720px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}
.event-intro .divider {
  width: 60px;
  height: 3px;
  background: var(--chery-red);
  border: 0;
  margin: 1.25rem auto 0;
  opacity: 1;
}

/* Info cards grid */
.event-info {
  padding: 1rem 0 3rem;
}
.info-card {
  background: #fff;
  border: 1px solid #ececef;
  border-radius: 14px;
  padding: 2rem 1.5rem;
  height: 100%;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}
.info-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--chery-red), var(--chery-red-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}
.info-card:hover::before {
  transform: scaleX(1);
}
.info-card .icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(197, 13, 39, 0.08);
  color: var(--chery-red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.75rem;
  transition: background 0.25s ease, color 0.25s ease;
}
.info-card:hover .icon-wrap {
  background: var(--chery-red);
  color: #fff;
}
.info-card h5 {
  font-weight: 700;
  color: var(--chery-ink);
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.info-card p {
  color: var(--chery-muted);
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
}
.info-card p strong {
  color: var(--chery-ink);
  font-weight: 600;
}

/* Activities highlight panel */
.activities-panel {
  background: linear-gradient(135deg, #fff 0%, #faf5f6 100%);
  border-radius: 18px;
  padding: 2.5rem 2rem;
  border: 1px solid #f0e3e5;
}
.activities-panel h3 {
  font-weight: 800;
  color: var(--chery-ink);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}
.activities-panel h3 .accent {
  color: var(--chery-red);
}
.activity-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.activity-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.75rem 0;
  font-size: 1.05rem;
  color: #2b2b2b;
  border-bottom: 1px dashed #ecd9dc;
}
.activity-list li:last-child {
  border-bottom: 0;
}
.activity-list li i {
  color: var(--chery-red);
  font-size: 1.25rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Register form section */
.register-form-section {
  background: var(--chery-soft);
  padding: 3.5rem 0 4rem;
  margin-top: 2rem;
}
.register-form-section .form-header {
  text-align: center;
  margin-bottom: 2rem;
}
.register-form-section .form-header h2 {
  font-weight: 800;
  color: var(--chery-ink);
  margin-bottom: 0.5rem;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}
.register-form-section .form-header p {
  color: var(--chery-muted);
  margin: 0;
}
.register-form-section .form-header .divider {
  width: 60px;
  height: 3px;
  background: var(--chery-red);
  border: 0;
  margin: 0.75rem auto 1.25rem;
  opacity: 1;
}
.form-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  padding: 1.5rem;
  overflow: hidden;
}
.form-card iframe {
  display: block;
  border-radius: 8px;
}

@media (max-width: 575.98px) {
  .event-intro { padding: 2.5rem 0 1rem; }
  .activities-panel { padding: 2rem 1.25rem; }
  .info-card { padding: 1.5rem 1rem; }
}

/* Model showcase — two columns (Tiggo 9 / Tiggo 7) */
.model-showcase {
  padding: 1rem 0 3rem;
}
.model-card {
  background: #fff;
  border: 1px solid #ececef;
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.model-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.10);
}
.model-card .model-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f3f3f5;
}
.model-card .model-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.model-card:hover .model-image img {
  transform: scale(1.05);
}
.model-card .model-body {
  padding: 1.75rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.model-card .model-name {
  font-weight: 800;
  color: var(--chery-ink);
  font-size: 1.5rem;
  margin: 0 0 0.25rem;
}
.model-card .model-tag {
  color: var(--chery-red);
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.spec-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.spec-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px dashed #eee;
  font-size: 0.98rem;
  color: #2b2b2b;
}
.spec-list li:last-child { border-bottom: 0; }
.spec-list li i {
  color: var(--chery-red);
  font-size: 1.15rem;
  flex-shrink: 0;
}
.spec-list .spec-label {
  color: var(--chery-muted);
  margin-right: auto;
}
.spec-list .spec-value {
  font-weight: 700;
  color: var(--chery-ink);
}
.model-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  background: var(--chery-red);
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}
.model-cta:hover {
  background: var(--chery-red-dark);
  color: #fff;
  transform: translateX(2px);
}
.model-cta i { transition: transform 0.2s ease; }
.model-cta:hover i { transform: translateX(3px); }

/* Terms & Conditions */
.terms-section {
  background: var(--chery-soft);
  padding: 3rem 0;
}
.terms-card {
  background: #fff;
  border-radius: 14px;
  padding: 2rem 2rem;
  border: 1px solid #ececef;
}
.terms-card h3 {
  font-weight: 800;
  color: var(--chery-ink);
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}
.terms-card .terms-divider {
  width: 50px;
  height: 3px;
  background: var(--chery-red);
  border: 0;
  margin: 0.5rem 0 1.5rem;
  opacity: 1;
}
.terms-grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 0.75rem 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.98rem;
}
.terms-grid dt {
  font-weight: 700;
  color: var(--chery-red);
}
.terms-grid dd {
  margin: 0;
  color: #2b2b2b;
}
.terms-card h5 {
  font-weight: 700;
  color: var(--chery-ink);
  margin: 1.5rem 0 0.75rem;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.terms-list {
  padding-left: 1.25rem;
  margin: 0 0 1rem;
  color: #2b2b2b;
}
.terms-list li {
  padding: 0.3rem 0;
  line-height: 1.55;
}
.terms-footer {
  font-size: 0.9rem;
  color: var(--chery-muted);
  border-top: 1px solid #ececef;
  padding-top: 1.25rem;
  margin-top: 1rem;
  line-height: 1.6;
}
@media (max-width: 575.98px) {
  .terms-grid { grid-template-columns: 1fr; gap: 0.25rem; }
  .terms-grid dt { margin-top: 0.5rem; }
  .terms-card { padding: 1.5rem 1.25rem; }
  .model-card .model-body { padding: 1.5rem 1.25rem; }
}

/* Arabic / RTL — Cairo Google Font */
html[dir="rtl"] .event-intro,
html[dir="rtl"] .event-info,
html[dir="rtl"] .register-form-section {
  font-family: "Cairo", "Segoe UI", system-ui, -apple-system, sans-serif;
}
html[dir="rtl"] .event-intro h1,
html[dir="rtl"] .event-intro .eyebrow,
html[dir="rtl"] .event-intro .tagline,
html[dir="rtl"] .info-card h5,
html[dir="rtl"] .info-card p,
html[dir="rtl"] .activities-panel h3,
html[dir="rtl"] .activity-list li,
html[dir="rtl"] .register-form-section .form-header h2,
html[dir="rtl"] .register-form-section .form-header p {
  font-family: "Cairo", "Segoe UI", system-ui, -apple-system, sans-serif;
}
html[dir="rtl"] .event-intro h1 { font-weight: 800; }
html[dir="rtl"] .activity-list li { font-size: 1.1rem; }
