:root {
  --brand-dark: #001f4d;
  --brand-yellow: #fecf07;
  --brand-blue: #2563eb;
  --brand-blue-dark: #1d4ed8;
  --brand-blue-light: #3b82f6;
}

.admission-process-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.process-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-family: "Merriweather", serif;
  font-size: 2.5rem;
  color: var(--brand-dark);
  margin-bottom: 20px;
  font-weight: 700;
}

.process-subtitle {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 1.2rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.steps-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: relative;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 30px;
  position: relative;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.step-item.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.step-item:nth-child(even) {
  flex-direction: row-reverse;
}

.step-item:nth-child(even) .step-content {
  text-align: right;
  border-right: 4px solid var(--brand-yellow);
  border-left: 0px;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  border-left: 4px solid var(--brand-yellow);
}

.step-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.step-content h3 {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 1.4rem;
  color: var(--brand-dark);
  margin-bottom: 15px;
  font-weight: 600;
}

.step-content p {
  font-family: "Source Sans Pro", sans-serif;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 15px;
}

.portal-link {
  color: var(--brand-blue);
  text-decoration: none;
  font-weight: 600;
  padding: 5px 10px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 5px;
  transition: all 0.3s ease;
}

.portal-link:hover {
  background: var(--brand-blue);
  color: white;
}

kbd {
  background: var(--brand-dark);
  color: white;
  padding: 3px 8px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.9rem;
}

.important-note,
.final-note {
  background: rgba(254, 207, 7, 0.1);
  border: 1px solid var(--brand-yellow);
  padding: 15px;
  border-radius: 8px;
  margin-top: 15px;
}

.important-note strong,
.final-note strong {
  color: var(--brand-dark);
}

.upload-requirements ul {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

.upload-requirements li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
}

.upload-requirements li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand-blue);
  font-weight: bold;
}

.action-buttons-demo {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.btn-save,
.btn-submit {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Source Sans Pro", sans-serif;
}

.btn-save {
  background: #e2e8f0;
  color: var(--brand-dark);
}

.btn-save:hover {
  background: #cbd5e1;
}

.btn-submit {
  background: var(--brand-blue);
  color: white;
}

.btn-submit:hover {
  background: var(--brand-blue-dark);
}

.final-step .step-content {
  border-left-color: var(--brand-yellow);
  background: linear-gradient(135deg, #fff 0%, #fefce8 100%);
}

.help-section {
  margin-top: 60px;
  text-align: center;
}

.help-card {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  margin: 0 auto;
  border-top: 4px solid var(--brand-blue);
}

.help-card h3 {
  font-family: "Source Sans Pro", sans-serif;
  color: var(--brand-dark);
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.contact-info {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
}

.contact-info p {
  margin: 8px 0;
  color: #475569;
}

.step-icon {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 30px;
  height: 30px;
  opacity: 0.3;
}

/* Icon styles using CSS shapes */
.browser-icon::before {
  content: "🌐";
  font-size: 24px;
}
.globe-icon::before {
  content: "🔗";
  font-size: 24px;
}
.account-icon::before {
  content: "👤";
  font-size: 24px;
}
.login-icon::before {
  content: "🔐";
  font-size: 24px;
}
.apply-icon::before {
  content: "📝";
  font-size: 24px;
}
.receipt-icon::before {
  content: "🧾";
  font-size: 24px;
}
.upload-icon::before {
  content: "📤";
  font-size: 24px;
}
.form-icon::before {
  content: "📋";
  font-size: 24px;
}
.save-icon::before {
  content: "💾";
  font-size: 24px;
}
.print-icon::before {
  content: "🖨️";
  font-size: 24px;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.animate-fade-in {
  animation: fadeIn 1s ease-in-out;
}

.slide-up {
  animation: slideInUp 0.8s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
  .step-item {
    flex-direction: column !important;
    text-align: center !important;
  }

  .step-item:nth-child(even) .step-content {
    text-align: center;
  }

  .step-number {
    position: relative;
    z-index: 2;
  }

  .step-content {
    margin-left: 0;
    width: 90%;
  }

  .section-title {
    font-size: 2rem;
  }

  .action-buttons-demo {
    flex-direction: column;
  }

  .help-card {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .admission-process-section {
    padding: 40px 0;
  }

  .container {
    padding: 0 15px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .step-content {
    padding: 20px;
  }

  .steps-container {
    gap: 20px;
  }
}


/* =============================================
   Admission Downloads Section
   ============================================= */

.admission-downloads-section {
  padding: 3.5rem 0 2rem;
  background: #f8f9fb;
  border-bottom: 1px solid #e8ecf0;
}

.downloads-header {
  margin-bottom: 2rem;
}

.downloads-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a2744;
  margin-bottom: 0.4rem;
}

.downloads-subtitle {
  color: #64748b;
  font-size: 0.95rem;
}

/* 3-column grid, wraps responsively */
.admission-files-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

/* The card is an <a> tag — reset link styles */
.admission-file-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem 1.25rem 1rem;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.admission-file-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.09);
  border-color: #cbd5e1;
}

/* Top row: badge + size */
.afc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.9rem;
}

.afc-badge {
  display: inline-block;
  background: #1a2744;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.55rem;
  border-radius: 5px;
  text-transform: uppercase;
}

.afc-size {
  font-size: 0.8rem;
  color: #94a3b8;
}

/* Body: title + description */
.afc-body {
  flex: 1;
  margin-bottom: 1rem;
}

.afc-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.35rem;
  line-height: 1.4;
}

.afc-desc {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.55;
  margin: 0;
}

/* Footer row: download label */
.afc-footer {
  border-top: 1px solid #f1f5f9;
  padding-top: 0.75rem;
}

.afc-download-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #1a2744;
  transition: color 0.2s ease;
}

.admission-file-card:hover .afc-download-label {
  color: #2563eb;
}

/* Responsive */
@media (max-width: 900px) {
  .admission-files-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .admission-files-grid {
    grid-template-columns: 1fr;
  }

  .downloads-title {
    font-size: 1.4rem;
  }
}
