/* =========================================================
   MDFA Admission Documents Page Styles
   Scoped under .admission-documents-page
   ========================================================= */
.admission-documents-page {

  /* ---------------- Hero Section Fixes ---------------- */
  .hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
  }

  .hero-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }

  /* Fix for Safari/iOS 100vh bug */
  @supports (-webkit-touch-callout: none) {
    .hero {
      height: -webkit-fill-available;
    }
  }

  /* ---------------- Skip Link ---------------- */
  .skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--electric-blue);
    color: var(--pure-white);
    padding: 8px 16px;
    z-index: 1000;
    transition: top 0.3s ease;
    text-decoration: none;
    font-weight: 600;
    border-radius: 0 0 4px 4px;
  }

  .skip-link:focus {
    top: 0; /* Only visible when focused */
  }

  /* ---------------- Mobile Menu Toggle ---------------- */
  .mobile-menu-toggle {
    display: none; /* hidden on desktop */
  }

  @media (max-width: 992px) {
    .mobile-menu-toggle {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      width: 40px;
      height: 40px;
      cursor: pointer;
      border: none;
      background: transparent;
      z-index: 1001;
    }

    .mobile-menu-toggle .menu-line {
      display: block;
      width: 28px;
      height: 3px;
      margin: 5px 0;
      background-color: var(--cinematic-black);
      border-radius: 2px;
      transition: all 0.3s ease;
    }
  }

  /* ---------------- Document Content Section ---------------- */
  .document-content-section {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
  }

  .pdf-container {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--pure-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--silver-grey);
  }

  .pdf-container .header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 3px solid var(--sunset-orange);
  }

  .pdf-container .logo {
    font-family: var(--font-secondary);
    font-weight: 800;
    font-size: 32px;
    color: var(--cinematic-black);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .pdf-container .subtitle {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 20px;
    color: var(--electric-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  /* Action Buttons */
  .action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
  }

  .action-buttons .btn {
    background: var(--electric-blue);
    color: var(--pure-white);
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
  }

  .action-buttons .btn:hover {
    background: var(--cinematic-black);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  }

  /* Sections */
  .pdf-container .section {
    margin-bottom: 45px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 5px solid var(--electric-blue);
  }

  .pdf-container .section h1,
  .pdf-container .section h2 {
    font-family: var(--font-secondary);
    font-weight: 800;
    color: var(--cinematic-black);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .pdf-container .section h1 i,
  .pdf-container .section h2 i {
    color: var(--sunset-orange);
  }

  .intro-text {
    font-family: var(--font-primary);
    font-size: 1.125rem;
    color: var(--cinematic-black);
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: 600;
  }

  /* Document Categories */
  .document-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
  }

  .category {
    background: var(--pure-white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--sunset-orange);
    transition: transform 0.3s ease;
  }

  .category:hover {
    transform: translateY(-5px);
  }

  .category h3 {
    color: var(--sunset-orange);
    border-bottom: 2px solid var(--silver-grey);
    padding-bottom: 12px;
    margin-bottom: 18px;
  }

  .category li {
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--cinematic-black);
    margin-bottom: 12px;
    line-height: 1.5;
    position: relative;
  }

  .category li:before {
    content: "•";
    color: var(--electric-blue);
    font-weight: bold;
    margin-left: -1em;
    font-size: 18px;
    position: absolute;
  }

  /* Document Checklist */
  .document-checklist {
    columns: 2;
    column-gap: 40px;
    padding-left: 20px;
    margin: 25px 0;
  }

  .document-checklist li {
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--cinematic-black);
    margin-bottom: 14px;
    break-inside: avoid;
    line-height: 1.5;
    position: relative;
  }

  .document-checklist li:before {
    content: "✓";
    color: #28a745;
    font-weight: bold;
    margin-right: 10px;
    font-size: 16px;
  }

  /* Note Box */
  .note {
    background: #e8f4fd;
    border-left: 4px solid var(--electric-blue);
    padding: 20px 25px;
    margin: 30px 0;
    border-radius: 8px;
  }

  .note h3 {
    color: var(--electric-blue);
    margin-top: 0;
  }

  /* Process Steps */
  .process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 30px;
  }

  .process-step {
    text-align: center;
    padding: 25px 20px;
    background: var(--pure-white);
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
  }

  .process-step:hover {
    transform: translateY(-5px);
  }

  .step-number {
    width: 45px;
    height: 45px;
    background: var(--electric-blue);
    color: var(--pure-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    margin: 0 auto 18px auto;
    font-family: var(--font-secondary);
  }

  .step-title {
    color: var(--sunset-orange);
    margin: 15px 0 12px 0;
    font-size: 18px;
    font-family: var(--font-secondary);
    font-weight: 700;
  }

  /* Responsive tweaks */
  @media (max-width: 768px) {
    .document-checklist { columns: 1; }
    .process-steps { grid-template-columns: 1fr; }
  }
}
