/* ==========================================================================
   MOBILE OPTIMIZATION STYLES (Aevy Motion Design Program)
   This CSS file is strictly scoped to screens with max-width: 768px.
   Desktop screens (> 768px) remain 100% untouched and unaffected.
   ========================================================================== */

@media (max-width: 768px) {

  /* ── 1. GLOBAL NAVBAR (index.html) ── */
  #global-navbar {
    padding-top: 14px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  #nav-inner {
    width: 100% !important;
    max-width: 100vw !important;
    justify-content: space-between !important;
    gap: 4px !important;
    transform: none !important;
  }

  .nav-item {
    font-size: 11px !important;
    margin-right: 0 !important;
    white-space: nowrap !important;
    letter-spacing: -0.2px !important;
  }

  .nav-logo {
    width: 24px !important;
    height: 32px !important;
    margin-right: 0 !important;
    flex-shrink: 0 !important;
  }

  /* ── 2. SCALABLE CANVAS & SECTIONS (Frame1.html) ── */
  #scalable-canvas {
    width: 768px !important;
    height: 1100px !important;
  }

  #scalable-canvas > .flex {
    width: 768px !important;
    height: 1100px !important;
  }

  #scalable-canvas .w-\[1920px\] {
    width: 768px !important;
  }

  #scalable-canvas .h-\[1366px\] {
    height: 1100px !important;
  }

  #scalable-canvas .w-\[1759px\] {
    width: 740px !important;
    margin-left: 14px !important;
    margin-right: 14px !important;
  }

  /* Hero Center Section */
  #hero-center-section {
    width: 100% !important;
  }

  #hero-center-section > .absolute.top-\[705px\] {
    top: 540px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 90% !important;
    max-width: 680px !important;
  }

  #hero-center-section h2 {
    font-size: 24px !important;
    line-height: 1.35 !important;
    margin-bottom: 20px !important;
  }

  #hero-center-section button {
    padding: 12px 22px !important;
    font-size: 16px !important;
  }

  /* MAKE GREAT STUFF typography on mobile */
  .font-zig.text-\[132px\] {
    font-size: 72px !important;
    top: 130px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  .font-great.text-\[168px\] {
    font-size: 88px !important;
    top: 195px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  /* STUFF graphic image */
  #hero-center-section img[alt="STUFF"] {
    width: 320px !important;
    height: auto !important;
    top: 320px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  /* Cursor hand graphic */
  #hero-center-section img[alt="Cursor hand"] {
    width: 70px !important;
    height: auto !important;
    top: 170px !important;
    left: 72% !important;
  }

  /* Astronaut & Desktop graphics background framing */
  #astronaut-group {
    opacity: 0.45 !important;
    transform: scale(0.65) translate(-100px, 50px) !important;
    pointer-events: none !important;
  }

  #desktop-group {
    opacity: 0.45 !important;
    transform: scale(0.65) translate(100px, 50px) !important;
    pointer-events: none !important;
  }

  /* Slide Sections (1.svg, 2.svg, 3.svg) */
  #section-1-svg, #section-2-svg, #section-3-svg {
    width: 700px !important;
    max-width: 92vw !important;
  }

  #section-1-svg img, #section-2-svg img, #section-3-svg img {
    width: 100% !important;
    height: auto !important;
  }

  /* Student Say Section */
  #student-say-section {
    width: 740px !important;
    max-width: 95vw !important;
  }

  #student-say-section h2 {
    font-size: 32px !important;
    margin-bottom: 20px !important;
  }

  #student-say-section .flex.gap-8 {
    gap: 16px !important;
    justify-content: center !important;
  }

  #student-say-section .w-\[410px\] {
    width: 225px !important;
    height: 380px !important;
    border-radius: 20px !important;
  }

  #student-say-section .w-\[410px\] h3 {
    font-size: 20px !important;
  }

  #student-say-section .w-\[410px\] p {
    font-size: 14px !important;
  }

  /* Recruiters Section */
  #recruiters-say-section {
    width: 740px !important;
    max-width: 95vw !important;
  }

  #recruiters-say-section h2 {
    font-size: 36px !important;
    margin-bottom: 16px !important;
  }

  #recruiters-say-section img {
    width: 700px !important;
    max-width: 95% !important;
  }

  /* Cohort Section */
  #cohort-say-section {
    width: 740px !important;
    max-width: 95vw !important;
  }

  #cohort-say-section h2 {
    font-size: 36px !important;
    margin-bottom: 16px !important;
  }

  #cohort-say-section img {
    width: 700px !important;
    max-width: 95% !important;
  }

  /* Unique Section */
  #unique-say-section {
    width: 740px !important;
    max-width: 95vw !important;
  }

  #unique-say-section h2 {
    font-size: 32px !important;
    margin-bottom: 16px !important;
  }

  #unique-say-section img {
    width: 660px !important;
    max-width: 95% !important;
  }

  /* ── 3. FOOTER (footer.html) ── */
  #footer-content {
    min-height: 100vh !important;
    height: auto !important;
  }

  #footer-content .absolute.bottom-\[35px\] {
    bottom: 20px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  #footer-content h2 {
    font-size: 24px !important;
    margin-bottom: 12px !important;
  }

  #footer-content a.bg-\[\#6e17b8\] {
    padding: 10px 24px !important;
    font-size: 15px !important;
  }

  #footer-content p {
    font-size: 11px !important;
    margin-bottom: 20px !important;
  }

  #footer-content .flex-wrap {
    gap: 8px !important;
    margin-bottom: 12px !important;
  }

  #footer-content .flex-wrap a {
    padding: 8px 14px !important;
    font-size: 12px !important;
  }

  #footer-content .flex-wrap a svg {
    width: 14px !important;
    height: 14px !important;
  }
}
