/*--------------------------------------------------------------
  ApplicationForm.css  —  v5
--------------------------------------------------------------*/

/* ─── 1. SECTION ─────────────────────────────────────────── */
.admissions.section {
  padding: 20px 0;
  background: #eef2f7;
}

/* ─── 2. ROW ─────────────────────────────────────────────── */
.admissions .row.gy-4 {
  align-items: stretch;
}


/* ════════════════════════════════════════════════════════════
   SOL KART  —  tuition-card
   ════════════════════════════════════════════════════════════ */

.admissions .tuition-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 8px 40px rgba(4, 65, 95, 0.10);
  border: 1px solid rgba(4, 65, 95, 0.07);
  padding: 2.2rem;
}

/* Başlık */
.admissions .tuition-card .section-subtitle {
  font-size: 1.45rem;
  font-weight: 700;
  color: #04415f;
  margin-bottom: 0.5rem;
  padding-bottom: 0.75rem;
  position: relative;
}

.admissions .tuition-card .section-subtitle::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 44px;
  height: 3px;
  border-radius: 2px;
  background: #04415f;
}

/* Açıklama */
.admissions .tuition-card > p {
  color: #5a6a7a;
  font-size: 0.9rem;
  line-height: 1.75;
  margin-top: 1rem;
  margin-bottom: 0;
}

/* Adımlar wrapper */
.admissions .tuition-card .reference-steps {
  margin-top: 1.6rem;
  position: relative;
}

.admissions .tuition-card .reference-steps::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 16px;
  bottom: 16px;
  width: 2px;
  background: rgba(4, 65, 95, 0.15);
}

.admissions .tuition-card .reference-steps > .d-flex {
  position: relative;
  align-items: flex-start;
  margin-bottom: 1.1rem !important;
}

.admissions .tuition-card .reference-steps > .d-flex:last-child {
  margin-bottom: 0 !important;
}

/* Numara baloncuğu */
.admissions .tuition-card .reference-steps > .d-flex > div:first-child {
  flex-shrink: 0;
  width: 32px;
  min-width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #04415f;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 14px;
  position: relative;
  z-index: 1;
}

.admissions .tuition-card .reference-steps > .d-flex > div:first-child strong {
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

/* Adım metni */
.admissions .tuition-card .reference-steps > .d-flex > div:last-child > strong {
  display: block;
  color: #04415f;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 3px;
}

.admissions .tuition-card .reference-steps > .d-flex > div:last-child > p {
  color: #6c7a89;
  font-size: 0.84rem;
  line-height: 1.5;
  margin: 0;
}

/* Görsel — kart içinde iç kart */
.admissions .tuition-card .af-process-image-wrap {
  margin-top: 1.8rem;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(4, 65, 95, 0.14);
  border: 1px solid rgba(4, 65, 95, 0.08);
  aspect-ratio: 16 / 9;
  position: relative;
  flex-shrink: 0;
}

.admissions .tuition-card .af-process-image-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.admissions .tuition-card .af-process-image-wrap:hover img {
  transform: scale(1.04);
}


/* ════════════════════════════════════════════════════════════
   SAĞ KART  —  contact-form-card  (DEĞİŞTİRME)
   ════════════════════════════════════════════════════════════ */

.admissions .contact-form-card {
  height: 100%;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 8px 40px rgba(4, 65, 95, 0.10);
  padding: 2.4rem 2.2rem;
  border: 1px solid rgba(4, 65, 95, 0.07);
}

.admissions .contact-form-card .section-subtitle {
  font-size: 1.45rem;
  font-weight: 700;
  color: #0d1b2a;
  margin-bottom: 0.5rem;
  padding-bottom: 0.75rem;
  position: relative;
}

.admissions .contact-form-card .section-subtitle::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 44px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent-color, #04415f);
}

/* ─── Form girdileri ──────────────────────────────────────── */
.af-application-form .form-control,
.af-application-form .form-select {
  height: 48px;
  padding: 0 15px;
  font-size: 0.9rem;
  color: #2d3748;
  background-color: #f7fafc;
  border: 1.5px solid #e2e9f0;
  border-radius: 10px;
  box-shadow: none;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.af-application-form .form-control:focus,
.af-application-form .form-select:focus {
  background-color: #fff;
  border-color: #04415f;
  box-shadow: 0 0 0 3px rgba(4, 65, 95, 0.09);
  outline: none;
}

.af-application-form .form-control::placeholder {
  color: #a8b5c1;
  font-size: 0.88rem;
}

.af-application-form .form-select {
  cursor: pointer;
}

.af-application-form textarea.form-control {
  height: auto;
  min-height: 120px;
  padding: 13px 15px;
  resize: vertical;
  line-height: 1.65;
}

/* ─── CV yükleme kutusu ───────────────────────────────────── */
.af-upload-box {
  border: 2px dashed #c4d4e0;
  border-radius: 14px;
  background: #f7fafc;
  padding: 24px 18px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.22s, background 0.22s, box-shadow 0.22s;
}

.af-upload-box:hover {
  border-color: #04415f;
  background: rgba(4, 65, 95, 0.03);
  box-shadow: 0 6px 20px rgba(4, 65, 95, 0.07);
}

.af-upload-box.dragover {
  border-color: #04415f;
  background: rgba(4, 65, 95, 0.06);
}

.af-upload-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.af-upload-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #04415f 0%, #0669a0 100%);
  box-shadow: 0 6px 18px rgba(4, 65, 95, 0.22);
  margin-bottom: 12px;
  flex-shrink: 0;
}

.af-upload-icon i {
  font-size: 1.55rem;
  color: #fff;
  line-height: 1;
}

.af-upload-content h5 {
  font-size: 0.97rem;
  font-weight: 700;
  color: #0d1b2a;
  margin-bottom: 5px;
}

.af-upload-content p.mb-2 {
  font-size: 0.85rem;
  color: #7a8a9a;
  max-width: 300px;
  line-height: 1.5;
  margin-bottom: 12px !important;
}

.af-upload-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  padding: 9px 20px;
  border-radius: 9px;
  font-size: 0.88rem;
  font-weight: 600;
  background: #04415f;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.22s, transform 0.18s, box-shadow 0.22s;
}

.af-upload-trigger:hover {
  background: #032f47;
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(4, 65, 95, 0.22);
}

.af-file-name {
  display: block;
  width: 100%;
  max-width: 320px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #dde5ed;
  color: #4a5568;
  font-size: 0.85rem;
  font-weight: 500;
  word-break: break-word;
}

/* ─── Mesajlar ────────────────────────────────────────────── */
.af-application-form .loading,
.af-application-form .error-message,
.af-application-form .sent-message,
.admissions .contact-form-card .loading,
.admissions .contact-form-card .error-message,
.admissions .contact-form-card .sent-message {
  display: none;
  padding: 11px 15px;
  border-radius: 9px;
  font-size: 0.88rem;
  margin-bottom: 10px;
}

.af-application-form .loading       { background: #eaf4fb; color: #04415f; }
.af-application-form .error-message { background: #fff1f1; color: #c0392b; }
.af-application-form .sent-message  { background: #eefaf4; color: #1a7a40; }

/* ─── Gönder butonu ───────────────────────────────────────── */
.af-application-form .btn-request {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  border-radius: 11px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  background: linear-gradient(90deg, #04415f 0%, #0669a0 100%);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: opacity 0.22s, transform 0.18s, box-shadow 0.22s;
}

.af-application-form .btn-request:hover {
  opacity: 0.92;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(4, 65, 95, 0.22);
}

.af-application-form .btn-request:active {
  transform: translateY(0);
  box-shadow: none;
}


/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 991px) {
  .admissions .tuition-card {
    height: auto;
  }

  .admissions .tuition-card .af-process-image-wrap {
    flex: none;
    height: 260px;
  }
}

@media (max-width: 767px) {
  .admissions.section {
    padding: 40px 0 20px;
  }

  .admissions .tuition-card {
    padding: 1.8rem 1.5rem 0;
  }

  .admissions .tuition-card .af-process-image-wrap {
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    width: calc(100% + 3rem);
    height: 220px;
  }

  .admissions .contact-form-card {
    padding: 1.8rem 1.5rem;
  }

  .af-upload-trigger,
  .af-application-form .btn-request {
    width: 100%;
  }
}
