/* CONTACT PAGE */
.contact-hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-light) 100%);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden
}

.contact-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, .05) 1px, transparent 0);
  background-size: 36px 36px
}

.contact-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center
}

.contact-hero-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 14px
}

.contact-hero-title span {
  color: var(--gold)
}

.contact-hero-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, .7);
  max-width: 560px;
  margin: 0 auto
}

.contact-body {
  background: var(--off-white);
  padding: 80px 0
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  align-items: start
}

.contact-info {
  position: sticky;
  top: 100px
}

.contact-info-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px
}

.contact-info-sub {
  font-size: .9rem;
  color: var(--gray-600);
  margin-bottom: 32px;
  line-height: 1.7
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--gold-pale);
  border: 1px solid rgba(232, 160, 32, .25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  color: var(--gold-dark)
}

.contact-info-text strong {
  display: block;
  font-size: .875rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px
}

.contact-info-text span {
  font-size: .82rem;
  color: var(--gray-600)
}

.contact-departments {
  margin-top: 36px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm)
}

.contact-dept-title {
  font-size: .82rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 16px
}

.contact-dept-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100)
}

.contact-dept-item:last-child {
  border-bottom: none;
  padding-bottom: 0
}

.contact-dept-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0
}

.contact-dept-dot--arabic {
  background: var(--navy)
}

.contact-dept-dot--british {
  background: var(--gold)
}

.contact-dept-name {
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-800)
}

.contact-dept-email {
  font-size: .75rem;
  color: var(--gray-400);
  margin-top: 1px
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 44px;
  border: 1px solid var(--gray-100)
}

.form-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px
}

.form-subtitle {
  font-size: .875rem;
  color: var(--gray-600);
  margin-bottom: 32px
}

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

.form-group {
  margin-bottom: 20px;
  position: relative
}

.form-label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 7px
}

.form-label span {
  color: #e53e3e;
  margin-left: 2px
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: .9rem;
  color: var(--gray-800);
  background: var(--white);
  transition: all var(--duration) var(--ease);
  outline: none;
  appearance: none;
  -webkit-appearance: none
}

.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(232, 160, 32, .15)
}

.form-control:hover:not(:focus) {
  border-color: var(--gray-400)
}

.form-control.error {
  border-color: #e53e3e;
  box-shadow: 0 0 0 3px rgba(229, 62, 62, .12)
}

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238B93A9' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px
}

[dir="rtl"] select.form-control {
  background-position: left 12px center;
  padding-right: 16px;
  padding-left: 40px
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6
}

.form-error-msg {
  font-size: .75rem;
  color: #e53e3e;
  margin-top: 5px;
  display: none
}

.form-group.has-error .form-error-msg {
  display: block
}

.form-hint {
  font-size: .75rem;
  color: var(--gray-400);
  margin-top: 5px
}

.form-divider {
  border: none;
  border-top: 1px solid var(--gray-100);
  margin: 24px 0
}

.form-section-label {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray-400);
  margin-bottom: 18px
}

.form-submit-wrap {
  margin-top: 8px
}

.form-submit-wrap .btn {
  width: 100%;
  justify-content: center;
  padding: 16px
}

.form-privacy {
  font-size: .75rem;
  color: var(--gray-400);
  text-align: center;
  margin-top: 14px;
  line-height: 1.6
}

.form-privacy a {
  color: var(--gold-dark);
  text-decoration: underline
}

.success-state {
  display: none;
  text-align: center;
  padding: 48px 20px
}

.success-state.show {
  display: block
}

.success-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 20px;
  box-shadow: 0 8px 32px rgba(232, 160, 32, .4);
  animation: scaleIn .5s var(--ease) both
}

@keyframes scaleIn {
  from {
    transform: scale(.5);
    opacity: 0
  }

  to {
    transform: scale(1);
    opacity: 1
  }
}

.success-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px
}

.success-sub {
  font-size: .95rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 24px
}

/* Loading state */
.btn-loading {
  position: relative;
  pointer-events: none
}

.btn-loading::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(11, 31, 74, .3);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: spin .6s linear infinite
}

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

@media(max-width:900px) {
  .contact-grid {
    grid-template-columns: 1fr
  }

  .contact-info {
    position: static
  }
}

@media(max-width:600px) {
  .form-row {
    grid-template-columns: 1fr
  }

  .contact-form-card {
    padding: 24px
  }
}

/* FEE STRUCTURE PAGE */
.fees-hero {
  background-color: var(--navy-deep);
  background-image: 
    linear-gradient(135deg, rgba(7, 20, 48, 0.92) 0%, rgba(11, 31, 74, 0.92) 60%, rgba(26, 50, 120, 0.88) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath d='M0 60 Q 30 30, 60 60 T 120 60' fill='none' stroke='rgba(255,255,255,0.06)' stroke-width='1.5'/%3E%3Cpath d='M0 90 Q 30 60, 60 90 T 120 90' fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: auto, 120px 120px;
  background-position: center;
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden
}

.fees-hero::before {
  display: none
}

.fees-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center
}

.fees-hero-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 14px
}

.fees-hero-title span {
  color: var(--gold)
}

.fees-hero-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, .7);
  max-width: 580px;
  margin: 0 auto
}

.fees-body {
  background: var(--off-white);
  padding: 80px 0
}

.fees-notice {
  background: var(--gold-pale);
  border: 1px solid rgba(232, 160, 32, .3);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 40px
}

.fees-notice-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px
}

.fees-notice-text strong {
  display: block;
  font-size: .9rem;
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: 4px
}

.fees-notice-text p {
  font-size: .85rem;
  color: var(--gray-700);
  line-height: 1.65
}

.fees-section-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px
}

.fees-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-200)
}

.fees-table-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-bottom: 36px;
  border: 1px solid var(--gray-100)
}

.fees-table-header {
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--gray-100)
}

.fees-table-header-left {
  display: flex;
  align-items: center;
  gap: 12px
}

.fees-table-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0
}

.fees-table-icon--arabic {
  background: rgba(11, 31, 74, .1);
  color: var(--navy)
}

.fees-table-icon--british {
  background: var(--gold-pale);
  color: var(--gold-dark)
}

.fees-table-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy)
}

.fees-table-sub {
  font-size: .78rem;
  color: var(--gray-400)
}

table.fees-table {
  width: 100%;
  border-collapse: collapse
}

table.fees-table th {
  background: var(--gray-50);
  padding: 13px 20px;
  text-align: left;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-100)
}

[dir="rtl"] table.fees-table th {
  text-align: right
}

table.fees-table td {
  padding: 14px 20px;
  font-size: .875rem;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100)
}

table.fees-table tr:last-child td {
  border-bottom: none
}

table.fees-table tr:hover td {
  background: var(--gray-50)
}

.fees-amount {
  font-weight: 700;
  color: var(--navy);
  font-size: .9rem
}

.fees-note {
  font-size: .75rem;
  color: var(--gray-400);
  margin-top: 3px
}

.fees-stage-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: .72rem;
  font-weight: 600
}

.fees-stage-badge--kg {
  background: rgba(232, 160, 32, .1);
  color: var(--gold-dark)
}

.fees-stage-badge--primary {
  background: rgba(11, 31, 74, .08);
  color: var(--navy)
}

.fees-stage-badge--middle {
  background: rgba(26, 50, 120, .1);
  color: var(--navy-light)
}

.fees-stage-badge--secondary {
  background: rgba(7, 20, 48, .1);
  color: var(--navy-deep)
}

.fees-downloads {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100)
}

.fees-downloads-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px
}

.fees-downloads-sub {
  font-size: .875rem;
  color: var(--gray-600);
  margin-bottom: 28px
}

.download-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 24px
}

.download-card {
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 2px solid var(--gray-100);
  transition: all var(--duration) var(--ease);
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
  background: var(--white)
}

.download-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md)
}

.download-card--arabic {
  border-color: rgba(11, 31, 74, .2)
}

.download-card--arabic:hover {
  border-color: var(--navy);
  background: rgba(11, 31, 74, .02)
}

.download-card--british {
  border-color: rgba(232, 160, 32, .3)
}

.download-card--british:hover {
  border-color: var(--gold);
  background: var(--gold-pale)
}

.download-card-top {
  display: flex;
  align-items: center;
  gap: 14px
}

.download-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0
}

.download-card--arabic .download-card-icon {
  background: rgba(11, 31, 74, .1);
  color: var(--navy)
}

.download-card--british .download-card-icon {
  background: var(--gold-pale);
  color: var(--gold-dark)
}

.download-card-name {
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy)
}

.download-card-meta {
  font-size: .75rem;
  color: var(--gray-400)
}

.download-card-desc {
  font-size: .82rem;
  color: var(--gray-600);
  line-height: 1.6
}

.download-card-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  align-self: flex-start
}

.download-card--arabic .download-card-btn {
  background: var(--navy);
  color: var(--white)
}

.download-card--arabic .download-card-btn:hover {
  background: var(--navy-mid)
}

.download-card--british .download-card-btn {
  background: var(--gold);
  color: var(--navy)
}

.download-card--british .download-card-btn:hover {
  background: var(--gold-dark);
  color: var(--white)
}

.download-general {
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  transition: all var(--duration) var(--ease);
  background: var(--white);
  cursor: pointer
}

.download-general:hover {
  border-color: var(--gold);
  background: var(--gold-pale)
}

.download-general-left {
  display: flex;
  align-items: center;
  gap: 16px
}

.download-general-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border: 1px solid var(--gray-100)
}

.download-general-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px
}

.download-general-meta {
  font-size: .78rem;
  color: var(--gray-400)
}

.fees-policy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px
}

.policy-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm)
}

.policy-card-icon {
  font-size: 1.8rem;
  margin-bottom: 14px
}

.policy-card-title {
  font-size: .9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px
}

.policy-card-desc {
  font-size: .82rem;
  color: var(--gray-600);
  line-height: 1.65
}

@media(max-width:900px) {
  .download-cards {
    grid-template-columns: 1fr
  }

  .fees-policy-grid {
    grid-template-columns: 1fr 1fr
  }
}

@media(max-width:600px) {
  .fees-downloads {
    padding: 24px
  }

  .fees-policy-grid {
    grid-template-columns: 1fr
  }

  .download-general {
    flex-direction: column;
    align-items: flex-start
  }
}