.page-submit .hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-submit .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-submit .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-submit .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.2) 0%,
    rgba(30, 41, 59, 0.5) 50%,
    rgba(120, 80, 0, 0.3) 100%
  );
}

.page-submit .hero-content {
  position: relative;
  z-index: 1;
  text-align: center;

  padding: 2rem;
}

.page-submit .hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.page-submit .hero-content h1 span {
  color: #fbbf24;
}

.page-submit .hero-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.hero-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.hero-nav-link {
  color: #fbbf24;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.hero-nav-link:hover {
  background: rgba(251, 191, 36, 0.15);
  color: #fcd34d;
}

.hero-nav-sep {
  color: rgba(255, 255, 255, 0.4);
  font-size: 1.2rem;
  user-select: none;
}

.intro-section {
  padding: 4rem 2rem;
  background: #ffffff;
}

.intro-inner {
  max-width: 56rem;
  margin: 0 auto;
}

.intro-text {
  font-size: 1.1rem;
  line-height: 1.85;
  color: #374151;
  margin-bottom: 1.5rem;
  text-align: center;
}

.intro-highlight {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border-left: 4px solid #d97706;
  padding: 1.5rem 2rem;
  border-radius: 0 12px 12px 0;
  text-align: left;
}

body.rtl .intro-highlight {
  border-left: none;
  border-right: 4px solid #d97706;
  border-radius: 12px 0 0 12px;
  text-align: right;
}

.intro-highlight strong {
  color: #92400e;
}

.section-header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.section-bar {
  width: 5px;
  border-radius: 4px;
  flex-shrink: 0;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1f2937;
  line-height: 1.2;
}

.section-header h2 span {
  color: #d97706;
}

.section-subtitle {
  color: #6b7280;
  font-size: 1.05rem;
  margin-top: 0.25rem;
}

.submit-section-title span {
  color: #d97706;
}

.topics-section {
  padding: 5rem 2rem;
  background: linear-gradient(180deg, #fffbeb 0%, #ffffff 50%, #eff6ff 100%);
}

.topics-inner {
  max-width: 80rem;
  margin: 0 auto;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.topic-card {
  position: relative;
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  text-align: center;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: default;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.topic-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 1.25rem;
  padding: 2px;
  background: linear-gradient(
    135deg,
    rgba(212, 160, 23, 0.4),
    rgba(37, 99, 235, 0.4)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: opacity 0.4s ease;
  opacity: 0;
}

.topic-card:hover::before {
  opacity: 1;
}

.topic-card:nth-child(odd) {
  background: linear-gradient(
    160deg,
    rgba(212, 160, 23, 0.08) 0%,
    rgba(212, 160, 23, 0.03) 100%
  );
}

.topic-card:nth-child(even) {
  background: linear-gradient(
    160deg,
    rgba(37, 99, 235, 0.08) 0%,
    rgba(37, 99, 235, 0.03) 100%
  );
}

.topic-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.12);
}

.topic-card-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.topic-card:nth-child(odd) .topic-card-icon {
  background: linear-gradient(
    135deg,
    rgba(212, 160, 23, 0.2),
    rgba(212, 160, 23, 0.1)
  );
}

.topic-card:nth-child(even) .topic-card-icon {
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.2),
    rgba(37, 99, 235, 0.1)
  );
}

.topic-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: #1f2937;
  line-height: 1.3;
}

.topic-card p {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.65;
}

@media (max-width: 1024px) {
  .topic-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 640px) {
  .topic-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .topic-card {
    padding: 1.5rem 1rem;
    min-height: 250px;
  }

  .topic-card-icon {
    width: 3rem;
    height: 3rem;
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .topic-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .topic-card p {
    font-size: 0.8rem;
    line-height: 1.5;
  }
}

.topic-card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.topic-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.topic-card-list {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0;
}

.topic-card-list li {
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
  opacity: 0.92;
}

body.rtl .topic-card-list {
  padding-left: 0;
  padding-right: 1.25rem;
}

.types-section {
  padding: 5rem 2rem;
  background: #ffffff;
}

.types-inner {
  max-width: 80rem;
  margin: 0 auto;
}

.types-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.type-card {
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  color: #fff;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.type-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.type-card-interactive {
  background: linear-gradient(160deg, #5b9bd5 0%, #3a7cc0 100%);
}

.type-card-technical {
  background: linear-gradient(160deg, #d4a017 0%, #b8860b 100%);
}

.type-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
  letter-spacing: 0.03em;
}

.type-card-desc {
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0.92;
  margin-bottom: 1.25rem;
}

.type-card-label {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.type-card-list {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 1.5rem;
}

body.rtl .type-card-list {
  padding-left: 0;
  padding-right: 1.25rem;
}

.type-card-list li {
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 0.35rem;
  opacity: 0.92;
}

.type-card-date {
  font-weight: 700;
  font-size: 1rem;
  color: #fcd34d;
  margin-bottom: 1.5rem;
}

.type-card-interactive .type-card-date {
  color: #fcd34d;
}

.btn-guidelines {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  align-self: flex-start;
  margin-top: auto;
}

.btn-guidelines:hover {
  background: rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

.btn-guidelines i {
  transition: transform 0.3s ease;
}

.btn-guidelines:hover i {
  transform: translateY(3px);
}

.guidelines-section {
  padding: 5rem 2rem;
  background: linear-gradient(180deg, #fffbeb 0%, #ffffff 100%);
}

.guidelines-inner {
  max-width: 80rem;
  margin: 0 auto;
}

.guidelines-accordions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.guideline-accordion {
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  transition:
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.guideline-accordion:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.guideline-accordion.active {
  border-color: #d97706;
  box-shadow: 0 8px 30px rgba(217, 119, 6, 0.1);
}

.guideline-accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.75rem;
  background: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.guideline-accordion-header:hover {
  background: #fefce8;
}

.guideline-accordion-label {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.guideline-type-badge {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-interactive {
  background: linear-gradient(135deg, #5b9bd5, #3a7cc0);
  color: #fff;
}

.badge-technical {
  background: linear-gradient(135deg, #d4a017, #b8860b);
  color: #fff;
}

.guideline-accordion-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1f2937;
}

.guideline-chevron {
  color: #d97706;
  font-size: 1rem;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.guideline-accordion.active .guideline-chevron {
  transform: rotate(180deg);
}

.guideline-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.guideline-accordion.active .guideline-accordion-body {
  max-height: 800px;
}

.guideline-content {
  padding: 0 1.75rem 2rem 1.75rem;
}

.guideline-list,
.guideline-eval-list,
.guideline-sub-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1rem;
}

body.rtl .guideline-list,
body.rtl .guideline-eval-list,
body.rtl .guideline-sub-list {
  padding-right: 0;
}

.guideline-list li,
.guideline-eval-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 1rem;
  line-height: 1.75;
  color: #374151;
  margin-bottom: 0.5rem;
}

body.rtl .guideline-list li,
body.rtl .guideline-eval-list li {
  padding-left: 0;
  padding-right: 1.5rem;
}

.guideline-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #d97706;
  font-weight: 700;
}

body.rtl .guideline-list li::before {
  left: auto;
  right: 0;
  content: "←";
}

.guideline-eval-list li::before {
  content: "•";
  position: absolute;
  left: 0.25rem;
  color: #2563eb;
  font-weight: 700;
  font-size: 1.2rem;
}

body.rtl .guideline-eval-list li::before {
  left: auto;
  right: 0.25rem;
}

.guideline-sub-list {
  padding-left: 2rem;
}

body.rtl .guideline-sub-list {
  padding-left: 0;
  padding-right: 2rem;
}

.guideline-sub-list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #4b5563;
  margin-bottom: 0.35rem;
}

body.rtl .guideline-sub-list li {
  padding-left: 0;
  padding-right: 1.25rem;
}

.guideline-sub-list li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: #9ca3af;
}

body.rtl .guideline-sub-list li::before {
  left: auto;
  right: 0;
}

.guideline-eval-label {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.guideline-ideal {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  padding: 1rem 1.25rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #1e40af;
}

.guideline-ideal strong {
  color: #1e3a8a;
}

.guideline-note {
  background: #fef3c7;
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  font-size: 0.9rem;
  color: #92400e;
  font-weight: 500;
  margin-bottom: 1.25rem;
  border-left: 3px solid #d97706;
}

body.rtl .guideline-note {
  border-left: none;
  border-right: 3px solid #d97706;
}

.guideline-submit-btn {
  display: inline-block;
  padding: 0.85rem 2.5rem;
  font-size: 0.95rem;
  text-decoration: none;
}

.conditions-section {
  padding: 5rem 2rem;
  background: #ffffff;
}

.conditions-inner {
  max-width: 80rem;
  margin: 0 auto;
}

.conditions-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.condition-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.condition-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border-color: #d97706;
}

.condition-card-icon {
  width: 2.5rem;
  height: 2.5rem;
  min-width: 2.5rem;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(217, 119, 6, 0.15),
    rgba(217, 119, 6, 0.05)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d97706;
  font-size: 1rem;
  font-weight: 700;
}

.condition-card-text {
  color: #374151;
  font-size: 1rem;
  line-height: 1.7;
}

.submit-cta-section {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #1a1a2e 100%);
  position: relative;
  overflow: hidden;
}

.submit-cta-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.12), transparent 70%);
}

.submit-cta-section::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1), transparent 70%);
}

.submit-cta-inner {
  max-width: 80rem;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.submit-cta-main {
  flex: 1;
  text-align: center;
}

.submit-cta-main h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
}

.submit-cta-main h2 span {
  color: #fbbf24;
}

.submit-cta-desc {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.submit-cta-dates {
  margin-bottom: 2rem;
}

.submit-cta-date {
  color: #fbbf24;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.submit-cta-date strong {
  color: #fff;
}

.submit-cta-btn {
  display: inline-block;
  padding: 1rem 3rem;
  font-size: 1.1rem;
  text-decoration: none;
}

.submit-cta-brochure {
  flex-shrink: 0;
}

.brochure-card {
  background: rgba(92, 64, 0, 0.6);
  border: 2px solid rgba(217, 119, 6, 0.3);
  border-radius: 1.25rem;
  padding: 2.5rem 2rem;
  text-align: center;
  min-width: 200px;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}

.brochure-card:hover {
  transform: translateY(-4px);
  border-color: #d97706;
}

.brochure-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  line-height: 1.4;
}

.brochure-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  font-size: 1.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.brochure-download:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fbbf24;
  color: #fbbf24;
}

.btn {
  display: inline-block;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.btn-gold {
  background: linear-gradient(135deg, #d4a017, #b8860b);
  color: #fff;
  padding: 0.85rem 2rem;
  box-shadow: 0 4px 15px rgba(212, 160, 23, 0.3);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #b8860b, #a67c00);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 160, 23, 0.4);
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .topics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .types-grid {
    grid-template-columns: 1fr;
  }

  .submit-cta-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-submit .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-nav {
    gap: 0.25rem;
  }

  .hero-nav-link {
    font-size: 0.9rem;
    padding: 0.4rem 0.6rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .topics-section,
  .types-section,
  .guidelines-section,
  .conditions-section {
    padding: 4rem 1.5rem;
  }

  .submit-cta-section {
    padding: 4rem 1.5rem;
  }

  .submit-cta-main h2 {
    font-size: 2rem;
  }

  .guideline-accordion-label {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .guideline-accordion-title {
    font-size: 1rem;
  }
}

@media (max-width: 640px) {
  .page-submit .hero {
    min-height: 60vh;
  }

  .page-submit .hero-content h1 {
    font-size: 2rem;
  }

  .hero-nav-sep {
    display: none;
  }

  .hero-nav {
    gap: 0.5rem;
  }

  .hero-nav-link {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 0.4rem 0.85rem;
    font-size: 0.82rem;
  }

  .topics-grid {
    grid-template-columns: 1fr;
  }

  .topic-card {
    padding: 1.5rem 1.25rem;
  }

  .type-card {
    padding: 2rem 1.5rem;
  }

  .type-card-title {
    font-size: 1.15rem;
  }

  .guideline-accordion-header {
    padding: 1rem 1.25rem;
  }

  .guideline-content {
    padding: 0 1.25rem 1.5rem 1.25rem;
  }

  .conditions-cards {
    grid-template-columns: 1fr;
  }

  .intro-section {
    padding: 3rem 1rem;
  }

  .intro-highlight {
    padding: 1.25rem 1.5rem;
  }

  .submit-cta-section {
    padding: 3rem 1rem;
  }

  .brochure-card {
    min-width: auto;
    padding: 2rem 1.5rem;
  }
}

body.rtl .section-header h2,
body.rtl .section-subtitle {
  text-align: right;
}

body.rtl .guideline-accordion-label {
  flex-direction: row-reverse;
}

body.rtl .btn-guidelines {
  align-self: flex-end;
}

body.rtl .submit-cta-date {
  flex-direction: row-reverse;
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}
