/* ==============================================================================
   4Achievers Universal Master Responsive Suite (Mobile & Tablet Parity)
   Ensures 100% desktop structural fidelity, flawless card hierarchy,
   zero horizontal overflow, and optimal conversions across all devices.
   ============================================================================== */

/* ------------------------------------------------------------------------------
   1. UNIVERSAL BOX-SIZING & VIEWPORT OVERFLOW SAFEGUARDS
   ------------------------------------------------------------------------------ */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
  -webkit-overflow-scrolling: touch;
  margin: 0;
  padding: 0;
}

img, video, iframe, svg, canvas {
  max-width: 100%;
  height: auto;
}

p, h1, h2, h3, h4, h5, h6, a, span, li, blockquote {
  overflow-wrap: break-word !important;
  word-break: break-word !important;
}

/* Force headings and lead cards to wrap gracefully instead of overflowing */
.lead-card-hd .lead-title,
.lead-title,
.v2-form-title,
.hero-title,
.ach-hero-title {
  white-space: normal !important;
}

/* ------------------------------------------------------------------------------
   2. TABLET ADAPTATIONS (768px - 1080px)
   Maintains Desktop-Level Multi-Column Structure on iPads & Tablets
   ------------------------------------------------------------------------------ */
@media (min-width: 769px) and (max-width: 1080px) {
  /* Container paddings */
  .course-pdf-container,
  .pdf-course-container,
  .career-hero,
  .ach-hero-container {
    padding-left: 20px !important;
    padding-right: 20px !important;
    max-width: 100% !important;
  }

  /* Hero Section: Symmetrical 2-Column Desktop Feel */
  .hero-v2-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 390px) !important;
    gap: 24px !important;
    align-items: start !important;
  }

  .hero-v2-left {
    grid-column: 1 !important;
    grid-row: 1 !important;
    text-align: left !important;
  }

  .hero-v2-form-col {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .hero-v2-center {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    max-width: 540px !important;
    margin: 10px auto 0 !important;
    width: 100% !important;
  }

  .hero-v2-grid > .hero-auth-partners {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    width: 100% !important;
  }

  .hero-v2-stats-strip {
    grid-column: 1 / -1 !important;
    grid-row: 4 !important;
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 12px !important;
    padding: 16px 20px !important;
  }

  /* Courses Hero Exact (courses/index.html) */
  .ach-hero-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 380px) !important;
    gap: 24px !important;
  }

  .ach-col-left {
    text-align: left !important;
    align-items: flex-start !important;
  }

  .ach-badge-pill {
    margin: 0 0 14px 0 !important;
  }

  .ach-hero-title {
    margin: 0 0 16px 0 !important;
    text-align: left !important;
  }

  .ach-hero-sub {
    margin: 0 0 20px 0 !important;
    text-align: left !important;
  }

  .ach-col-center {
    display: none !important;
  }

  /* Curriculum Master: 2 Columns on Tablet */
  .curriculum-v2-cards-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }

  /* Tools Grid: 4 Columns on Tablet */
  .pdf-tools-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 14px !important;
  }
  .pdf-tool-badge-card {
    flex: none !important;
    width: 100% !important;
  }

  /* Why Choose Us: 3 Columns on Tablet */
  .pdf-why-grid-cards {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 14px !important;
  }

  /* Projects & Batches: 2 Columns on Tablet */
  .pdf-projects-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 18px !important;
  }

  .pdf-batches-cards-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 18px !important;
  }

  /* Salary Calculator: 2 Columns on Tablet */
  .pdf-calc-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
  }
  .pdf-calc-inputs-card {
    grid-column: 1 !important;
  }
  .pdf-calc-result-card {
    grid-column: 2 !important;
  }
  .pdf-calc-cta-card {
    grid-column: 1 / -1 !important;
  }

  /* Launchpad Pro Banner: Clean 2-column or structured stack */
  .pdf-launchpad-banner-card {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    padding: 28px !important;
  }
  .pdf-launchpad-photo-col {
    display: none !important;
  }
}

/* ------------------------------------------------------------------------------
   3. MOBILE PHONES OVERHAUL (max-width: 768px)
   Crisp, Structured, High-Density Cards Preserving Desktop Aesthetic
   ------------------------------------------------------------------------------ */
@media (max-width: 768px) {
  /* Prevent iOS Safari from Auto-Zooming on Form Inputs */
  input, select, textarea,
  .v2-input, .v2-select,
  .exact-form-input, .exact-form-select,
  .lead-input, .lead-select,
  .modal-input-field, .form-input {
    font-size: 16px !important;
    min-height: 44px !important;
  }

  /* Containers */
  .course-pdf-container,
  .pdf-course-container,
  .ach-hero-container,
  .contact-main-wrap,
  .loc-container {
    padding-left: 16px !important;
    padding-right: 16px !important;
    max-width: 100% !important;
  }

  /* Hero Section Stacking with Strict Desktop Proportions */
  .course-hero-v2-section,
  .all-courses-hero-exact,
  .career-hero {
    padding: 20px 0 28px 0 !important;
  }

  .hero-v2-grid,
  .ach-hero-grid,
  .career-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    width: 100% !important;
  }

  /* Hero Headings & Subtitles */
  .hero-v2-title,
  .ach-hero-title,
  .hero-title {
    font-size: clamp(24px, 6.2vw, 32px) !important;
    line-height: 1.22 !important;
    letter-spacing: -0.02em !important;
    margin: 0 0 12px 0 !important;
    text-align: left !important;
  }

  .hero-v2-sub,
  .ach-hero-sub,
  .hero-desc {
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin: 0 0 16px 0 !important;
    color: #475569 !important;
    text-align: left !important;
  }

  /* Hero Metrics & Badges */
  .hero-v2-badge-pill,
  .ach-badge-pill,
  .hero-kicker {
    margin: 0 0 12px 0 !important;
    font-size: 11.5px !important;
    padding: 5px 12px !important;
    width: fit-content !important;
    max-width: 100% !important;
    line-height: 1.3 !important;
  }

  .hero-v2-metrics-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-bottom: 18px !important;
  }

  .hero-v2-metric-pill {
    font-size: 11px !important;
    padding: 5px 10px !important;
  }

  /* Hero Action Buttons */
  .hero-v2-actions,
  .hero-actions-row {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
    margin-bottom: 20px !important;
  }

  .hero-v2-btn-primary,
  .btn-v2-counselling,
  .hero-v2-btn-secondary,
  .btn-v2-brochure,
  .hero-btn,
  .hero-cta-stack .btn-primary,
  .hero-v2-actions .btn-primary,
  .course-hero-v2-section .btn-primary {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 13px 20px !important;
    font-size: 14.5px !important;
  }

  /* Center Visual & Graphic - Flawless Mobile Alignment & Zero Clipping */
  .hero-v2-center,
  .ach-col-center,
  .hero-visual {
    width: 100% !important;
    max-width: 360px !important;
    margin: 0 auto !important;
    position: relative !important;
    overflow: visible !important;
    padding-bottom: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .hero-center-aura {
    width: 260px !important;
    height: 260px !important;
    top: 15px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    opacity: 0.6 !important;
    pointer-events: none !important;
  }

  .hero-girl-wrap {
    width: 100% !important;
    max-width: 310px !important;
    margin: 0 auto !important;
    position: relative !important;
    z-index: 2 !important;
    display: flex !important;
    justify-content: center !important;
  }

  .hero-girl-img {
    width: 100% !important;
    max-width: 310px !important;
    height: auto !important;
    display: block !important;
    border-radius: 16px !important;
    object-fit: cover !important;
    object-position: top center !important;
  }

  /* Handwritten Doodle Callouts on Mobile */
  .handwritten-callout.left {
    position: absolute !important;
    left: -4px !important;
    top: 6px !important;
    right: auto !important;
    bottom: auto !important;
    width: auto !important;
    height: auto !important;
    transform: scale(0.72) rotate(-6deg) !important;
    transform-origin: top left !important;
    z-index: 4 !important;
    pointer-events: none !important;
  }

  .handwritten-callout.right {
    display: none !important; /* Hide right doodle on narrow mobile to prevent badge clash */
  }

  /* Floating Placement Card - Compact Badge (Never Stretches or Covers Girl) */
  .floating-placement-badge {
    position: absolute !important;
    top: 12px !important;
    right: -4px !important;
    bottom: auto !important;
    left: auto !important;
    width: auto !important;
    height: auto !important;
    max-width: fit-content !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 6px 10px !important;
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
    transform: scale(0.82) !important;
    transform-origin: top right !important;
    z-index: 5 !important;
  }

  .placement-badge-icon {
    width: 26px !important;
    height: 26px !important;
  }

  .placement-val {
    font-size: 0.85rem !important;
  }

  .placement-lbl {
    font-size: 0.62rem !important;
  }

  /* 8-Tool Floating Tech Stack Card - Clean 4x2 Grid Sits Over Laptop */
  .hero-tech-stack-card {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    margin: -24px auto 0 !important;
    max-width: 320px !important;
    width: 95% !important;
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 6px !important;
    padding: 8px 6px !important;
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1) !important;
    z-index: 6 !important;
    box-sizing: border-box !important;
  }

  .tech-tool-item,
  .tech-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 4px 2px !important;
    background: #F8FAFC !important;
    border: 1px solid #F1F5F9 !important;
    border-radius: 6px !important;
    text-align: center !important;
  }

  .tech-icon-box {
    width: 22px !important;
    height: 22px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 2px !important;
  }

  .tech-icon-img {
    width: 16px !important;
    height: 16px !important;
    object-fit: contain !important;
  }

  .tech-tool-name,
  .tech-name {
    font-size: 9px !important;
    font-weight: 700 !important;
    color: #1E293B !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
  }

  .hero-v2-micro-strip {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px !important;
    width: 100% !important;
    margin-top: 10px !important;
  }

  .micro-item {
    font-size: 11px !important;
    padding: 6px 8px !important;
    background: #F8FAFC !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 8px !important;
    justify-content: center !important;
    text-align: center !important;
  }

  /* ----------------------------------------------------------------------------
     HERO CONSULTATION LEAD FORM CARD - PRESERVE EXACT DESKTOP CARD AESTHETIC
     ---------------------------------------------------------------------------- */
  .hero-v2-form-col,
  .ach-col-right {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }

  .hero-v2-form-card,
  .exact-form-card,
  .lead-card-hd {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 16px !important;
    padding: 20px 16px !important;
    box-shadow: 0 8px 26px rgba(15, 23, 42, 0.08) !important;
  }

  .v2-form-header {
    margin-bottom: 14px !important;
  }

  .v2-form-title,
  .exact-form-title {
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #0F172A !important;
    line-height: 1.3 !important;
    margin-bottom: 4px !important;
  }

  .v2-form-subtitle,
  .exact-form-subtitle {
    font-size: 12px !important;
    color: #64748B !important;
  }

  .v2-input-group,
  .form-group-custom,
  .premium-input-group {
    margin-bottom: 10px !important;
  }

  .v2-input,
  .v2-select,
  .exact-form-input,
  .exact-form-select,
  .modal-input-field {
    width: 100% !important;
    border-radius: 10px !important;
    border: 1.5px solid #CBD5E1 !important;
    padding: 10px 14px !important;
    background: #FFFFFF !important;
  }

  .v2-mode-group {
    margin: 10px 0 !important;
  }

  .v2-mode-label {
    font-size: 11.5px !important;
    font-weight: 700 !important;
    margin-bottom: 6px !important;
  }

  .v2-mode-options {
    display: flex !important;
    gap: 6px !important;
  }

  .v2-radio-label {
    flex: 1 !important;
    font-size: 12px !important;
    padding: 7px 4px !important;
    text-align: center !important;
    border: 1px solid #CBD5E1 !important;
    border-radius: 8px !important;
    background: #F8FAFC !important;
    justify-content: center !important;
  }

  .v2-submit-btn,
  .exact-form-submit-btn,
  .btn-hero-lead-submit {
    width: 100% !important;
    height: 48px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    border-radius: 10px !important;
    margin-top: 10px !important;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4) !important;
  }

  .v2-trust-footer,
  .exact-form-trust {
    margin-top: 10px !important;
    display: flex !important;
    justify-content: space-around !important;
    font-size: 11px !important;
    color: #64748B !important;
  }

  /* ----------------------------------------------------------------------------
     AUTHORIZED PARTNERS & STATS RIBBONS
     ---------------------------------------------------------------------------- */
  .hero-auth-partners {
    width: 100% !important;
    padding: 12px 14px !important;
    border-radius: 12px !important;
    margin-top: 8px !important;
  }

  .auth-partners-header {
    font-size: 11px !important;
    margin-bottom: 8px !important;
    justify-content: center !important;
  }

  .auth-partners-logos {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px 14px !important;
  }

  .auth-partner-item img {
    max-height: 18px !important;
    width: auto !important;
  }

  .hero-v2-stats-strip {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    padding: 14px 12px !important;
    border-radius: 14px !important;
    width: 100% !important;
  }

  .hero-stat-divider {
    display: none !important;
  }

  .hero-stat-cell {
    text-align: center !important;
    padding: 4px !important;
  }

  .hero-stat-num {
    font-size: 22px !important;
    font-weight: 900 !important;
  }

  .hero-stat-label {
    font-size: 11px !important;
    color: #64748B !important;
  }

  /* ----------------------------------------------------------------------------
     CURRICULUM SECTION (4 MASTER CARDS ON PHONE)
     ---------------------------------------------------------------------------- */
  .curriculum-v2-section {
    padding: 30px 0 40px !important;
  }

  .curriculum-v2-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    margin-bottom: 20px !important;
  }

  .curriculum-v2-title {
    font-size: 22px !important;
    line-height: 1.25 !important;
  }

  .curriculum-v2-subtitle {
    font-size: 13px !important;
  }

  .curriculum-v2-view-link {
    align-self: flex-start !important;
    font-size: 13px !important;
  }

  .curriculum-v2-cards-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: 100% !important;
  }

  .curriculum-v2-card {
    padding: 18px 16px !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04) !important;
  }

  .card-v2-top {
    gap: 10px !important;
    margin-bottom: 12px !important;
  }

  .card-v2-badge {
    width: 28px !important;
    height: 28px !important;
    font-size: 12px !important;
  }

  .card-v2-title {
    font-size: 15px !important;
    font-weight: 800 !important;
  }

  .card-v2-hours {
    font-size: 11px !important;
  }

  .card-v2-checklist {
    gap: 7px !important;
    margin-bottom: 14px !important;
  }

  .card-v2-checklist li {
    font-size: 12.5px !important;
    line-height: 1.35 !important;
  }

  /* ----------------------------------------------------------------------------
     TOOLS & TECHNOLOGIES: FLAWLESS 3-COLUMN COMPACT GRID
     ---------------------------------------------------------------------------- */
  .pdf-course-tools-section {
    padding: 30px 0 40px !important;
  }

  .pdf-tools-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .pdf-tool-badge-card,
  .pdf-tool-card {
    flex: none !important;
    width: 100% !important;
    padding: 12px 6px !important;
    border-radius: 10px !important;
    min-height: 84px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
  }

  .pdf-tool-badge-card img,
  .pdf-tool-card img {
    max-height: 28px !important;
    width: auto !important;
    object-fit: contain !important;
  }

  .pdf-tool-name,
  .tool-badge-name {
    font-size: 10.5px !important;
    font-weight: 700 !important;
    text-align: center !important;
    line-height: 1.2 !important;
    white-space: normal !important;
  }

  /* ----------------------------------------------------------------------------
     WHY CHOOSE 4ACHIEVERS: CLEAN 2-COLUMN BALANCED GRID
     ---------------------------------------------------------------------------- */
  .pdf-why-grid-cards {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .pdf-why-box-item {
    padding: 14px 10px !important;
    border-radius: 12px !important;
    text-align: center !important;
  }

  .pdf-why-icon-circ {
    width: 38px !important;
    height: 38px !important;
    margin: 0 auto 8px auto !important;
  }

  .pdf-why-box-title {
    font-size: 12.5px !important;
    font-weight: 800 !important;
    margin-bottom: 4px !important;
  }

  .pdf-why-box-desc {
    font-size: 11px !important;
    line-height: 1.35 !important;
    color: #64748B !important;
  }

  /* ----------------------------------------------------------------------------
     LAUNCHPAD PRO SECTION
     ---------------------------------------------------------------------------- */
  .pdf-course-launchpad-section {
    padding: 24px 0 36px !important;
  }

  .pdf-launchpad-banner-card {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
    padding: 20px 16px !important;
    border-radius: 16px !important;
  }

  .pdf-launchpad-h2 {
    font-size: 20px !important;
    line-height: 1.25 !important;
  }

  .pdf-launchpad-tagline {
    font-size: 12px !important;
    margin-bottom: 14px !important;
  }

  .pdf-launchpad-feature-boxes {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  .pdf-lp-box {
    padding: 10px 8px !important;
    border-radius: 8px !important;
  }

  .pdf-lp-box-title {
    font-size: 11px !important;
  }

  .pdf-launchpad-actions {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
  }

  .pdf-btn-launchpad-green,
  .pdf-btn-launchpad-outline {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 12px !important;
    font-size: 13.5px !important;
  }

  .pdf-launchpad-photo-col {
    display: none !important;
  }

  .pdf-launchpad-white-card {
    padding: 18px 16px !important;
    border-radius: 14px !important;
  }

  .pdf-launchpad-card-h3 {
    font-size: 16px !important;
    line-height: 1.3 !important;
  }

  .pdf-launchpad-check-list {
    gap: 8px !important;
  }

  .pdf-launchpad-check-row {
    font-size: 12px !important;
  }

  /* ----------------------------------------------------------------------------
     SALARY CALCULATOR SECTION
     ---------------------------------------------------------------------------- */
  .pdf-calc-outer-box {
    padding: 18px 14px !important;
    border-radius: 16px !important;
  }

  .pdf-calc-top-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin-bottom: 18px !important;
  }

  .pdf-calc-header-title {
    font-size: 20px !important;
  }

  .pdf-calc-header-sub {
    font-size: 12px !important;
  }

  .pdf-calc-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }

  .pdf-calc-result-card,
  .pdf-calc-cta-card {
    padding: 18px 16px !important;
    border-radius: 14px !important;
  }

  /* ----------------------------------------------------------------------------
     INTERVIEW PREP & REVIEWS
     ---------------------------------------------------------------------------- */
  .pdf-interview-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
  }

  .pdf-interview-title {
    font-size: 22px !important;
    line-height: 1.25 !important;
  }

  .pdf-hiring-logos-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }

  .pdf-company-pill {
    padding: 6px 8px !important;
    min-height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .pdf-company-pill img {
    max-height: 22px !important;
    width: auto !important;
  }

  /* ----------------------------------------------------------------------------
     PROJECTS & BATCHES GRIDS
     ---------------------------------------------------------------------------- */
  .pdf-projects-grid,
  .pdf-batches-cards-grid,
  .exact-courses-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: 100% !important;
  }

  /* ----------------------------------------------------------------------------
     MODALS RESPONSIVE PERFECTION
     ---------------------------------------------------------------------------- */
  .modal-overlay,
  .advisor-modal-overlay,
  .report-modal-overlay {
    padding: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .modal-container,
  .modal-dialog,
  .modal-content,
  .career-finder-modal-content {
    width: 100% !important;
    max-width: 440px !important;
    max-height: 92vh !important;
    overflow-y: auto !important;
    padding: 22px 16px !important;
    border-radius: 16px !important;
    margin: auto !important;
    box-sizing: border-box !important;
  }

  .modal-header-hero {
    margin-bottom: 16px !important;
  }

  .modal-title-custom,
  .modal-title {
    font-size: 18px !important;
    line-height: 1.3 !important;
  }

  .modal-sub-custom {
    font-size: 12.5px !important;
  }

  .modal-form-grid,
  .premium-grid-2 {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }

  .modal-close-btn,
  .close-modal-btn {
    top: 10px !important;
    right: 12px !important;
    width: 34px !important;
    height: 34px !important;
    font-size: 24px !important;
    z-index: 20 !important;
  }

  /* ----------------------------------------------------------------------------
     HOMEPAGE CAREER HERO & STATS BAR
     ---------------------------------------------------------------------------- */
  .career-stats-bar {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    padding: 16px 14px !important;
    border-radius: 14px !important;
  }

  .career-stat {
    border: none !important;
    text-align: center !important;
  }

  /* Sticky Bottom Mobile Bar Safeguard */
  body {
    padding-bottom: 74px !important;
  }
  .mobile-sticky-cta-bar {
    padding-bottom: max(10px, env(safe-area-inset-bottom)) !important;
  }

  /* 6-Feature Ribbon Cards on Mobile */
  .hero-v2-ribbon-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px 8px !important;
  }
  .ribbon-v2-card {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 6px 4px !important;
  }
  .ribbon-v2-icon {
    width: 32px !important;
    height: 32px !important;
  }
  .ribbon-v2-title {
    font-size: 11.5px !important;
    line-height: 1.25 !important;
  }
}

/* ------------------------------------------------------------------------------
   4. ULTRA-COMPACT SCREENS (iPhone SE, Galaxy Fold <380px)
   ------------------------------------------------------------------------------ */
@media (max-width: 380px) {
  .hero-v2-title,
  .ach-hero-title,
  .hero-title {
    font-size: 22px !important;
  }

  .pdf-tools-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
  }

  .pdf-tool-badge-card {
    padding: 8px 4px !important;
  }

  .pdf-tool-name {
    font-size: 9.5px !important;
  }

  .pdf-hiring-logos-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .hero-v2-stats-strip,
  .career-stats-bar {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    padding: 10px !important;
  }
}

/* ==============================================================================
   4ACHIEVERS MASTER MOBILE & TABLET HEADER PARITY
   Ensures 100% visible, touch-friendly hamburger menu, perfectly proportioned logo,
   and zero header crowding on all screens <= 900px
   ============================================================================== */
@media (max-width: 900px) {
  .site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
    width: 100% !important;
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
  }

  .site-header .nav-container,
  .nav-container,
  .target-header-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px 16px !important;
    box-sizing: border-box !important;
  }

  .site-header .nav-logo,
  .nav-logo,
  .target-logo-wrap {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
  }

  .site-header .nav-logo img,
  .nav-logo img,
  .target-logo-img {
    height: 34px !important;
    width: auto !important;
    max-height: 34px !important;
    display: block !important;
  }

  .site-header .nav-menu,
  .nav-menu,
  .target-nav-menu {
    display: none !important;
  }

  .site-header .nav-actions,
  .nav-actions,
  .target-header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
  }

  /* Prevent oversized buttons from crowding out the hamburger */
  .site-header .nav-actions .btn-primary,
  .site-header .nav-actions .btn.btn-primary.btn-sm,
  .site-header .nav-actions .btn-sm,
  .site-header .nav-actions .sign-in-link,
  .target-action-counsel {
    display: none !important;
  }

  .site-header .search-trigger-btn,
  .search-trigger-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    border-radius: 50% !important;
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    color: #475569 !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
  }

  /* Crisp, high-contrast Hamburger Button */
  .site-header .mobile-toggle-btn,
  .mobile-toggle-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    border-radius: 10px !important;
    background: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #0f172a !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    z-index: 1000 !important;
    order: 99 !important;
    padding: 0 !important;
    margin: 0 0 0 4px !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08) !important;
  }

  .site-header .mobile-toggle-btn svg,
  .mobile-toggle-btn svg {
    width: 22px !important;
    height: 22px !important;
    stroke: #0f172a !important;
    stroke-width: 2.2 !important;
    display: block !important;
  }
}

/* ==============================================================================
   HOMEPAGE HERO DESKTOP PARITY ON MOBILE
   Maintains the clean, compact proportions of desktop hero on mobile devices
   ============================================================================== */
@media (max-width: 768px) {
  /* Benefits Row: Sleek horizontal swipe ribbon (46px tall instead of 400px stacked box) */
  .benefits-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 8px !important;
    padding: 2px 2px 8px 2px !important;
    margin: 0 0 16px 0 !important;
    scrollbar-width: none !important;
    scroll-snap-type: x mandatory !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .benefits-row::-webkit-scrollbar {
    display: none !important;
  }

  .benefit-card {
    flex: 0 0 auto !important;
    min-width: 135px !important;
    max-width: 165px !important;
    min-height: 46px !important;
    height: 46px !important;
    padding: 6px 10px !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    scroll-snap-align: start !important;
  }

  .benefit-icon-box {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    border-radius: 7px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
  }

  .benefit-icon-box svg {
    width: 15px !important;
    height: 15px !important;
  }

  .benefit-label {
    font-size: 11px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    white-space: normal !important;
  }

  /* Hero Actions Container & Verified Outcomes Card */
  .hero-actions-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    margin-bottom: 18px !important;
  }

  .hero-cta-stack {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .hero-btn {
    width: 100% !important;
    min-height: 44px !important;
    padding: 10px 16px !important;
    font-size: 14px !important;
    font-weight: 750 !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .hero-advantage-card {
    width: 100% !important;
    padding: 14px !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%) !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
    box-shadow: 0 4px 18px rgba(2, 132, 199, 0.08) !important;
  }

  .adv-metrics-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    margin: 8px 0 !important;
  }

  .adv-metric-box {
    padding: 10px 8px !important;
    border-radius: 10px !important;
    text-align: center !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
  }

  .adv-metric-val {
    font-size: 18px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
  }

  .adv-metric-lbl {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #64748b !important;
    margin-top: 2px !important;
  }

  /* Recent Alumni Placements: Horizontal Swipe Carousel */
  .hero-placement-spotlight {
    width: 100% !important;
    padding: 16px 14px !important;
    border-radius: 16px !important;
    margin: 0 0 20px 0 !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05) !important;
  }

  .spotlight-cards-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 12px !important;
    padding: 4px 2px 10px 2px !important;
    scrollbar-width: none !important;
    scroll-snap-type: x mandatory !important;
  }

  .spotlight-cards-grid::-webkit-scrollbar {
    display: none !important;
  }

  .spotlight-alumni-card {
    flex: 0 0 260px !important;
    min-width: 260px !important;
    max-width: 275px !important;
    scroll-snap-align: start !important;
    padding: 13px 14px !important;
    border-radius: 12px !important;
  }

  .alumni-name-line {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
    width: 100% !important;
  }

  .alumni-name {
    font-size: 13.5px !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
  }

  .alumni-verified-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    font-size: 10px !important;
    padding: 2px 6px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  .alumni-company-tag,
  .alumni-pkg-wrap,
  .alumni-ctc,
  .alumni-hike-badge,
  .alumni-transition-pill,
  .role-prev,
  .role-next {
    white-space: nowrap !important;
  }

  /* Career Stats Bar -> Compact 2-Column Grid on Mobile */
  .career-stats-bar {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1px !important;
    background: #ebeff3 !important;
    border-radius: 14px !important;
    overflow: hidden !important;
  }

  .career-stat {
    background: #ffffff !important;
    padding: 12px 10px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    border: none !important;
  }

  .career-stat-icon {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
  }

  .career-stat-content strong {
    font-size: 15px !important;
  }

  .career-stat-content small {
    font-size: 11px !important;
  }
}

/* ==============================================================================
   SITE HEADER & HAMBURGER: 100% VISIBLE, PROMINENT & ZERO CROWDING ON MOBILE
   ============================================================================== */
@media (max-width: 900px) {
  .site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
    width: 100% !important;
    max-width: 100vw !important;
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  .site-header .nav-container,
  .site-header .course-pdf-container.nav-container,
  .nav-container,
  .target-header-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 60px !important;
    min-height: 60px !important;
    padding: 0 14px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }
  .site-header .nav-logo,
  .nav-logo,
  .target-logo-wrap {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
  }
  .site-header .nav-logo img,
  .nav-logo img,
  .target-logo-img {
    height: 32px !important;
    width: auto !important;
    max-height: 32px !important;
    display: block !important;
  }
  .site-header .nav-menu,
  .nav-menu,
  .target-nav-menu {
    display: none !important;
  }
  .site-header .nav-actions,
  .nav-actions,
  .target-header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
  }
  /* Hide text buttons that crowd the header on small screens */
  .site-header .nav-actions .btn-primary,
  .site-header .nav-actions .btn.btn-primary.btn-sm,
  .site-header .nav-actions .btn-sm,
  .site-header .nav-actions .sign-in-link,
  .target-action-counsel {
    display: none !important;
  }

  .site-header .search-trigger-btn,
  .search-trigger-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    border-radius: 50% !important;
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    color: #475569 !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
  }
  .site-header .mobile-toggle-btn,
  .mobile-toggle-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    border-radius: 10px !important;
    background: #0f172a !important;
    border: none !important;
    color: #ffffff !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    z-index: 1000 !important;
    order: 99 !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.15) !important;
  }
  .site-header .mobile-toggle-btn svg,
  .mobile-toggle-btn svg {
    width: 22px !important;
    height: 22px !important;
    stroke: #ffffff !important;
    stroke-width: 2.4 !important;
    display: block !important;
  }

  /* Flawless Mobile Drawer & Overlay Architecture */
  .drawer-overlay {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(15, 23, 42, 0.65) !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
    z-index: 99998 !important; /* STRICTLY LOWER than drawer */
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
  }
  .drawer-overlay.open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .mobile-drawer {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    width: 88% !important;
    max-width: 400px !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: #ffffff !important;
    box-shadow: -12px 0 40px rgba(15, 23, 42, 0.35) !important;
    z-index: 99999 !important; /* STRICTLY HIGHER than overlay */
    padding: 0 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.32s ease !important;
    transform: translateX(100%) !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  .mobile-drawer.open {
    transform: translateX(0) !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  /* Drawer Internal Hierarchy */
  .drawer-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 16px 20px !important;
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
    flex-shrink: 0 !important;
  }
  .drawer-header a {
    display: flex !important;
    align-items: center !important;
  }
  .drawer-close-btn {
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    color: #334155 !important;
    font-size: 26px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
  }
  .drawer-close-btn:hover, .drawer-close-btn:active {
    background: #fee2e2 !important;
    color: #ef4444 !important;
    border-color: #fca5a5 !important;
  }
  .drawer-scroll-body {
    flex: 1 1 auto !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 16px 18px 40px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }

  /* Fast Search Bar inside Drawer */
  .drawer-search-bar {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 14px !important;
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 12px !important;
    margin-bottom: 6px !important;
    transition: all 0.2s ease !important;
  }
  .drawer-search-bar:focus-within {
    border-color: #059669 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.12) !important;
  }
  .drawer-search-bar input {
    border: none !important;
    background: transparent !important;
    outline: none !important;
    font-size: 13.5px !important;
    color: #0f172a !important;
    font-weight: 500 !important;
    width: 100% !important;
  }
  .drawer-search-bar input::placeholder {
    color: #94a3b8 !important;
  }

  /* Master Accordion Card (All Programs & Courses) */
  .drawer-accordion-item {
    flex-shrink: 0 !important;
    width: 100% !important;
    height: auto !important;
    min-height: min-content !important;
    max-height: none !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    background: #f8fafc !important;
    overflow: hidden !important;
    transition: all 0.25s ease !important;
  }
  .drawer-accordion-item.active {
    height: auto !important;
    max-height: none !important;
    border-color: #059669 !important;
    background: #ffffff !important;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.08) !important;
  }
  .drawer-accordion-btn {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 14px !important;
    min-height: 48px !important;
    background: #ffffff !important;
    border: none !important;
    cursor: pointer !important;
    font-size: 13.5px !important;
    line-height: 1.3 !important;
    font-weight: 750 !important;
    color: #0f172a !important;
    text-align: left !important;
  }
  .drawer-item-left {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex: 1 !important;
    min-width: 0 !important;
  }
  .drawer-item-right {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }
  .drawer-chip-badge {
    font-size: 10.5px !important;
    font-weight: 800 !important;
    padding: 2px 7px !important;
    border-radius: 6px !important;
  }
  .drawer-chip-badge.blue {
    background: #f0f9ff !important;
    color: #0284c7 !important;
    border: 1px solid #bae6fd !important;
  }
  .drawer-chip-badge.green {
    background: #ecfdf5 !important;
    color: #059669 !important;
    border: 1px solid #a7f3d0 !important;
  }
  .drawer-chevron {
    transition: transform 0.25s ease !important;
    color: #64748b !important;
  }
  .drawer-accordion-item.active .drawer-chevron {
    transform: rotate(180deg) !important;
    color: #059669 !important;
  }

  /* Accordion Content Container */
  .drawer-accordion-content {
    display: none !important;
    padding: 10px 12px 14px !important;
    background: #f8fafc !important;
    border-top: 1px solid #e2e8f0 !important;
  }
  .drawer-accordion-item.active .drawer-accordion-content {
    display: block !important;
  }

  /* Sub-Domain Accordions */
  .drawer-domains-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
  }
  .drawer-sub-accordion {
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    overflow: hidden !important;
  }
  .drawer-sub-accordion.active {
    border-color: #cbd5e1 !important;
  }
  .drawer-sub-btn {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 12px !important;
    background: #ffffff !important;
    border: none !important;
    cursor: pointer !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    text-align: left !important;
  }
  .drawer-sub-count {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    font-size: 11px !important;
    color: #64748b !important;
    font-weight: 600 !important;
  }
  .drawer-sub-chevron {
    transition: transform 0.2s ease !important;
  }
  .drawer-sub-accordion.active .drawer-sub-chevron {
    transform: rotate(180deg) !important;
  }
  .drawer-sub-content {
    display: none !important;
    padding: 4px 6px 8px !important;
    border-top: 1px solid #f1f5f9 !important;
    background: #fbfcfd !important;
  }
  .drawer-sub-accordion.active .drawer-sub-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
  }
  .drawer-course-link {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 8px 10px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    color: #334155 !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    transition: all 0.15s ease !important;
  }
  .drawer-course-link:hover, .drawer-course-link:active {
    background: #ecfdf5 !important;
    color: #047857 !important;
    transform: translateX(3px) !important;
  }
  .course-badge {
    font-size: 9.5px !important;
    font-weight: 800 !important;
    padding: 1px 6px !important;
    border-radius: 4px !important;
    text-transform: uppercase !important;
  }
  .course-badge.flagship {
    background: #fef3c7 !important;
    color: #b45309 !important;
  }
  .course-badge.top {
    background: #ecfdf5 !important;
    color: #047857 !important;
  }
  .course-badge.new {
    background: #f3e8ff !important;
    color: #7e22ce !important;
  }
  .drawer-explore-all-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 10px !important;
    margin-top: 10px !important;
    background: #059669 !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 750 !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25) !important;
  }

  /* Locations Sub-list */
  .drawer-locations-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
    padding-top: 4px !important;
  }
  .drawer-loc-pill {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 8px 10px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #334155 !important;
  }
  .drawer-loc-pill:hover {
    background: #ecfdf5 !important;
    color: #047857 !important;
    border-color: #a7f3d0 !important;
  }

  /* Regular Drawer Navigation Links */
  .drawer-link {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 14px !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    color: #0f172a !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    background: #ffffff !important;
    border: 1px solid #f1f5f9 !important;
    transition: all 0.2s ease !important;
  }
  .drawer-link:hover {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
  }
  .drawer-pap-link {
    color: #047857 !important;
    background: rgba(16, 185, 129, 0.08) !important;
    border: 1px solid rgba(16, 185, 129, 0.25) !important;
  }
  .drawer-launchpad-link {
    color: #7c3aed !important;
    background: rgba(124, 58, 237, 0.06) !important;
    border: 1px solid rgba(124, 58, 237, 0.2) !important;
  }

  /* Action Call to Action Section at Drawer Bottom */
  .drawer-cta-section {
    margin-top: 14px !important;
    padding-top: 14px !important;
    border-top: 1px solid #e2e8f0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }
}

/* ==============================================================================
   HOMEPAGE HERO: CLEAN DESKTOP PROPORTIONS & STRUCTURE ON PHONES (<= 768px)
   ============================================================================== */
@media (max-width: 768px) {
  .career-hero {
    padding: 12px 14px 20px 14px !important;
    width: 100% !important;
    max-width: 100vw !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  .career-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    width: 100% !important;
  }
  .hero-copy {
    order: 1 !important;
    width: 100% !important;
    padding: 4px 0 !important;
  }
  .career-grid > .hero-visual {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    order: 2 !important;
    width: 100% !important;
    max-width: 440px !important;
    margin: 8px auto !important;
  }
  .hero-visual .visual-card {
    width: 100% !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    background: #e7f7ff !important;
    box-shadow: 0 8px 24px rgba(24, 73, 115, 0.12) !important;
  }
  .hero-visual .visual-card img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .hero-visual .visual-sub-trust-bar {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 6px 12px !important;
    width: 100% !important;
    margin-top: 8px !important;
    font-size: 11px !important;
    color: #334155 !important;
  }
  .lead-card-hd {
    order: 3 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 4px 0 !important;
  }
  .hero-placement-spotlight {
    order: 4 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 6px 0 !important;
    overflow: hidden !important;
  }
  .career-stats-bar {
    order: 5 !important;
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1px !important;
  }

  /* Benefits row: Compact horizontal swipe ribbon */
  .benefits-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 8px !important;
    padding: 4px 2px 8px 2px !important;
    margin: 0 0 14px 0 !important;
    scrollbar-width: none !important;
    scroll-snap-type: x mandatory !important;
    width: 100% !important;
  }
  .benefits-row::-webkit-scrollbar {
    display: none !important;
  }
  .benefit-card {
    flex: 0 0 auto !important;
    width: 138px !important;
    min-width: 138px !important;
    height: 48px !important;
    padding: 6px 8px !important;
    border-radius: 9px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    box-sizing: border-box !important;
    scroll-snap-align: start !important;
  }
  .benefit-icon-box {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    min-height: 26px !important;
    border-radius: 6px !important;
    flex-shrink: 0 !important;
  }
  .benefit-icon-box svg {
    width: 14px !important;
    height: 14px !important;
  }
  .benefit-label {
    font-size: 10.5px !important;
    font-weight: 750 !important;
    line-height: 1.2 !important;
    color: #0f172a !important;
    white-space: normal !important;
  }

  /* Verified Outcomes Card & CTAs */
  .hero-actions-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    margin: 10px 0 !important;
  }
  .hero-cta-stack {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }
  .hero-btn {
    width: 100% !important;
    height: 42px !important;
    font-size: 13.5px !important;
  }
  .hero-metrics-box {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 12px !important;
    padding: 12px !important;
  }
  .verified-pills-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
  .verified-pill-item {
    padding: 8px 10px !important;
  }
  .pill-metric {
    font-size: 15px !important;
  }
  .pill-tag {
    font-size: 10.5px !important;
  }

  /* Spotlight Header & Alumni Cards */
  .spotlight-header-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }
  .spotlight-header-left {
    width: 100% !important;
    align-items: flex-start !important;
  }
  .spotlight-title-group {
    width: 100% !important;
  }
  .spotlight-title {
    font-size: 14.5px !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }
  .spotlight-subtitle {
    white-space: normal !important;
    word-break: normal !important;
  }
  .spotlight-cards-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 10px !important;
    padding: 2px 2px 8px 2px !important;
    scrollbar-width: none !important;
    scroll-snap-type: x mandatory !important;
    width: 100% !important;
  }
  .spotlight-cards-grid::-webkit-scrollbar {
    display: none !important;
  }
  .spotlight-alumni-card {
    flex: 0 0 260px !important;
    min-width: 260px !important;
    max-width: 260px !important;
    scroll-snap-align: start !important;
    box-sizing: border-box !important;
  }
  .spotlight-footer-ticker {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  .ticker-content-left {
    display: flex !important;
    align-items: flex-start !important;
    gap: 6px !important;
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow: hidden !important;
  }
  .ticker-label {
    white-space: normal !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
    max-width: 100% !important;
  }
}

/* Global Footer Logo Constraints (Protects Desktop & Mobile) */
.pf-logo-link {
  display: inline-block !important;
  max-width: 220px !important;
}
.pf-main-logo {
  max-height: 48px !important;
  width: auto !important;
  max-width: 220px !important;
  object-fit: contain !important;
  display: block !important;
}

/* ==============================================================================
   PREMIUM FOOTER MOBILE OVERHAUL: NO AWKWARD BREAKING, CLEAN 2-COLUMN STRUCTURE
   ============================================================================== */
@media (max-width: 768px) {
  .pf-main-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 28px 16px !important;
    margin: 24px 0 20px 0 !important;
  }

  .pf-col-brand {
    grid-column: 1 / -1 !important;
  }

  .pf-brand-desc {
    font-size: 13px !important;
    line-height: 1.55 !important;
    margin-bottom: 16px !important;
  }

  .pf-stat-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    margin-bottom: 16px !important;
  }

  .pf-stat-card {
    padding: 7px 8px !important;
  }

  .pf-stat-info strong {
    font-size: 12.5px !important;
  }

  .pf-socials-row {
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-bottom: 16px !important;
  }

  .pf-wa-pill {
    max-width: 100% !important;
    padding: 8px 14px !important;
  }

  /* Footer Navigation Columns: Clean 2-Column pairing on mobile */
  .pf-nav-col {
    grid-column: span 1 !important;
  }

  .pf-nav-col h4 {
    font-size: 14px !important;
    margin-bottom: 12px !important;
    white-space: nowrap !important;
  }

  .pf-nav-col ul {
    gap: 4px !important;
  }

  .pf-nav-col ul li a {
    font-size: 12px !important;
    padding: 4px 0 !important;
  }

  .pf-link-chevron {
    font-size: 14px !important;
  }

  /* Contact Column: Full width at the bottom */
  .pf-col-contact {
    grid-column: 1 / -1 !important;
    margin-top: 10px !important;
  }

  .pf-contact-card {
    padding: 10px 12px !important;
    margin-bottom: 10px !important;
  }

  .pf-newsletter-box {
    padding: 16px !important;
    border-radius: 14px !important;
  }

  .pf-news-tags {
    flex-wrap: wrap !important;
    gap: 6px !important;
  }

  /* Tech Ecosystem Partners Strip */
  .pf-ecosystem-strip {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 16px 12px !important;
    gap: 12px !important;
  }

  .pf-eco-partners-row {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
  }

  .pf-partner-pill {
    padding: 6px 12px !important;
  }

  /* Footer Bottom Strip */
  .pf-bottom {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 12px !important;
    padding: 20px 12px !important;
  }

  .pf-bottom-links {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px 14px !important;
  }
}

