/* ============================================================
   ATTACHMENT PAGE — attachment.css
   ============================================================ */

/* ── CSS Variables ────────────────────────────────────────── */
:root {
  --navy: #0a1931;
  --navy2: #050912;
  --gold: #ffc947;
  --cyan: #06b6d4;
  --cyan2: #0891b2;
  --white: #ffffff;
  --gray: #94a3b8;
  --card-bg: rgba(30, 41, 59, 0.7);
}

/* ── Reset ────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ── Scrollbar ────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 4px;
}
::-webkit-scrollbar-track {
  background: var(--navy2);
}
::-webkit-scrollbar-thumb {
  background: var(--cyan);
  border-radius: 2px;
}

/* ── Layout ────────────────────────────────────────────────── */
#attachment-apply {
  margin-top: 0;
  padding-top: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  padding-left: 1rem;
  padding-right: 1rem;
}

.wrapper {
  max-inline-size: 1200px;
  margin-inline: auto;
  padding-inline: 1.5rem;
  display: grid;
  gap: 1.2rem;
  margin-block-start: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
  width: 100%;
}

/* ── Hero Section ──────────────────────────────────────────── */
.hero-wrapper {
  max-width: 100%;
  min-height: 50vh;
  padding: 2rem;
  margin-inline: auto;
  margin-bottom: 2rem;
  margin-top: 0.5rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: 20px;
}

.hero-bg-animation {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../images/pic2.png");
  background-repeat: no-repeat;
  background-size: 110% 110%;
  background-position: center;
  animation: moveBackground 10s ease-in-out infinite alternate;
  filter: brightness(0.5) saturate(1.2);
  transform: scale(1);
  transition: transform 0.1s;
}

@keyframes moveBackground {
  0% { background-position: 0% center; transform: scale(1); }
  25% { background-position: 20% center; transform: scale(1.05); }
  50% { background-position: 40% center; transform: scale(1.08); }
  75% { background-position: 70% center; transform: scale(1.05); }
  100% { background-position: 100% center; transform: scale(1); }
}

.hero-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, rgba(5, 9, 18, 0.85) 0%, rgba(5, 9, 18, 0.6) 50%, rgba(5, 9, 18, 0.85) 100%);
  border-radius: 20px;
}

.page-hero-inner {
  max-width: 800px;
  width: 100%;
  border-radius: 2rem;
  padding: 2rem;
  background-color: rgba(5, 9, 18, 0.75);
  border: 1px solid gold;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.page-hero-inner h1 {
  color: rgb(255, 187, 0);
}

.page-hero-inner p {
  color: var(--gray);
  line-height: 1.7;
}

/* ── Section Label ────────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cyan);
  margin-bottom: 1rem;
}

.section-label::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
}

/* ── Highlights Grid ──────────────────────────────────────── */
.attachment-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 1.5rem;
  width: 100%;
  margin-top: 1.5rem;
}

.highlight-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.highlight-card h3 {
  color: rgb(0, 217, 255);
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.highlight-card p {
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  flex: 1;
}

.highlight-card .career-apply {
  background-color: rgb(255, 187, 0);
  color: #000;
  font-weight: bold;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  margin-top: auto;
  width: fit-content;
  transition: opacity 0.2s;
  font-size: 0.9rem;
}

.highlight-card .career-apply:hover {
  opacity: 0.8;
}

/* ── Attachment Content ──────────────────────────────────── */
.attachment-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  width: 100%;
  max-width: 1200px;
  margin: 2.5rem auto 0;
  padding: 0 1rem;
  box-sizing: border-box;
}

.attachment-steps,
.attachment-guide {
  width: 100%;
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 1.6rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
  box-sizing: border-box;
  margin: 0;
}

.attachment-steps h2,
.attachment-guide h2,
.attachment-steps h3,
.attachment-guide h3 {
  color: rgb(0, 217, 255);
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

.attachment-steps strong,
.attachment-guide strong {
  color: rgb(255, 187, 0);
}

.attachment-steps ol,
.attachment-steps ul {
  padding-left: 1.5rem;
  margin-top: 0.5rem;
}

.attachment-steps li,
.attachment-guide li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.attachment-guide p,
.attachment-steps p {
  margin-top: 1rem;
  line-height: 1.8;
}

/* ── Tips Read More ────────────────────────────────────────── */
#tipsReadMoreBtn {
  background-color: transparent;
  color: #e2ba06;
  border: none;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  font-family: inherit;
  font-size: 0.85rem;
  margin-left: 5px;
  vertical-align: middle;
}

#tipsMoreContent {
  display: none;
  margin-left: 5px;
}

/* ── Program Details ──────────────────────────────────────── */
.program-details {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.program-details li {
  background: rgba(255, 255, 0, 0.05);
  border: 1px solid rgba(255, 255, 0, 0.3);
  padding: 12px 20px;
  border-radius: 12px;
  flex: 1 1 300px;
}

.program-details li strong {
  color: rgb(255, 187, 0);
}

/* ── Application Journey ──────────────────────────────────── */
.application-journey {
  width: 100%;
  max-width: 1200px;
  padding: 4rem 1rem;
  background: rgba(10, 15, 30, 0.4);
  border-radius: 20px;
  margin-block: 2rem;
}

.application-journey h2 {
  color: rgb(0, 217, 255);
  text-align: center;
  margin-bottom: 3rem;
}

.journey-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  padding: 0 1rem;
}

.journey-step {
  background: rgba(255, 255, 0, 0.05);
  border: 1px solid rgba(255, 255, 0, 0.3);
  padding: 25px;
  border-radius: 15px;
  text-align: center;
}

.journey-step .step-icon {
  width: 40px;
  height: 40px;
  background: var(--cyan);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin: 0 auto 1rem;
  font-size: 1.2rem;
}

.journey-step h4 {
  color: var(--cyan);
  margin-bottom: 0.8rem;
}

.journey-step p {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* ── Form ─────────────────────────────────────────────────── */
.attachment-form {
  max-width: 760px;
  width: 100%;
  box-sizing: border-box;
  padding: 1.6rem 2rem;
  margin: 1.5rem auto 0;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.attachment-form h3 {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.attachment-form .form-intro {
  color: var(--gray);
  margin-bottom: 1.25rem;
  line-height: 1.7;
  font-size: 0.95rem;
}

.attachment-form form {
  display: grid;
  gap: 1.2rem;
  width: 100%;
}

.attachment-form .name-row,
.attachment-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.attachment-form .form-group {
  width: 100%;
}

.attachment-form .form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.attachment-form .form-group input,
.attachment-form .form-group select,
.attachment-form .form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.8rem 0.95rem;
  color: var(--white);
  font-family: "Manrope", sans-serif;
  font-size: 0.88rem;
  outline: none;
  box-sizing: border-box;
}

.attachment-form .form-group select option {
  background: var(--navy2);
}

.attachment-form .form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.attachment-form .form-group small {
  color: var(--gray);
  display: block;
  margin-top: 0.35rem;
  font-size: 0.82rem;
}

.attachment-form .form-group input[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.required {
  color: red;
}

/* ── Upload Files ────────────────────────────────────────── */
.uploadfiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
}

.attachment-form .form-section {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.25rem 1.3rem;
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 1rem;
  width: 100%;
  overflow: visible !important;
}

.attachment-form .form-section legend {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--cyan);
  padding: 0 0.5rem;
  margin-left: 0.5rem;
}

.attachment-form .form-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 1rem !important;
  margin-top: 0.5rem !important;
}

.attachment-form .form-group {
  width: 100% !important;
  overflow: visible !important;
}

.attachment-form .form-group select,
.attachment-form .form-group input {
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

.attachment-form .form-group small {
  display: block !important;
  margin-top: 0.3rem !important;
  color: #94a3b8 !important;
  font-size: 0.75rem !important;
  line-height: 1.4 !important;
}

.attachment-form .training-plan-tools {
  display: block !important;
  margin-top: 0.5rem !important;
}

.attachment-form .add-training-area-btn {
  display: inline-block !important;
  width: auto !important;
  padding: 0.6rem 1rem !important;
  font-size: 0.85rem !important;
}

.form-submit {
  width: fit-content;
  margin-inline: auto;
  background: var(--cyan);
  color: var(--navy);
  border: none;
  border-radius: 10px;
  padding: 1rem 2rem;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

.form-submit:hover {
  background: var(--cyan2);
}

.training-plan-tools {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: -0.25rem;
}

.add-training-area-btn,
.remove-training-area-btn {
  border: 1px solid rgba(6, 182, 212, 0.35);
  background: rgba(6, 182, 212, 0.12);
  color: var(--white);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.add-training-area-btn:hover,
.remove-training-area-btn:hover {
  background: rgba(6, 182, 212, 0.18);
  border-color: rgba(6, 182, 212, 0.55);
  transform: translateY(-1px);
}

.additional-training-areas {
  display: grid;
  gap: 0.85rem;
}

.additional-training-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.85rem;
  align-items: end;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

/* ── Intake Countdown ────────────────────────────────────── */
.intake-countdown {
  margin-block: 3rem;
  margin-inline: auto;
  padding-inline: 3rem;
  padding-block: 1.2rem;
  width: fit-content;
  max-width: 100%;
  background: rgba(255, 255, 0, 0.05);
  border: 2px solid yellow;
  border-radius: 20px;
  text-align: center;
}

.intake-countdown h3 {
  color: white;
  margin-block-start: 1rem;
  font-size: 1.4rem;
}

.intake-status {
  font-size: 3rem;
  color: aqua;
}

/* ── Testimonials ─────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.5rem;
  margin-block: 3rem;
}

.testi-card {
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  border-radius: 16px;
  padding: 1.8rem;
  transition: all 0.3s;
  width: 100%;
}

.testi-card:hover {
  border-color: rgba(6, 182, 212, 0.2);
  transform: translateY(-3px);
}

.quote-icon {
  color: var(--cyan);
  font-size: 1.4rem;
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.testi-text {
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.testi-avatar-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testi-name {
  font-weight: 600;
  font-size: 0.88rem;
}

.testi-role {
  font-size: 0.78rem;
  color: var(--gray);
}

.stars {
  color: var(--gold);
  font-size: 0.78rem;
  margin-bottom: 0.8rem;
}

/* ── Read More ────────────────────────────────────────────── */
.readMore {
  width: fit-content;
  margin-inline: auto;
  margin-block: 2rem 1rem;
  grid-column: 1 / -1;
  justify-self: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  background: var(--cyan);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.25s ease;
  box-shadow: 0 16px 35px rgba(6, 182, 212, 0.18);
}

.btn-primary:hover {
  background: #0891b2;
  transform: translateY(-2px);
}

/* ── Portfolio ────────────────────────────────────────────── */
.portfolio-preview {
  margin-block: 3rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.section-header .section-label {
  color: #06b6d4;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.section-header h2 {
  font-size: 2rem;
  margin-top: 0.75rem;
  color: #fff;
}

.section-header p {
  max-width: 720px;
  margin: 0.75rem auto 0;
  color: #cbd5e1;
  line-height: 1.7;
}

.portfolio-item {
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  width: 100%;
}

.portfolio-item:hover {
  transform: translateY(-3px);
  border-color: rgba(6, 182, 212, 0.22);
}

.portfolio-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.portfolio-img-placeholder {
  min-height: 180px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.65);
}

.pi-body {
  padding: 1.5rem;
}

.pi-body h4 {
  margin-bottom: 0.85rem;
  color: #fff;
  font-size: 1.05rem;
}

.pi-body p {
  color: #cbd5e1;
  line-height: 1.75;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.pi-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pi-tag {
  display: inline-flex;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(6, 182, 212, 0.12);
  color: var(--cyan);
  font-size: 0.8rem;
}

/* ── No Items Messages ────────────────────────────────────── */
.no-highlights,
.no-testimonials,
.no-portfolio {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--gray);
  padding: 2rem;
}

/* ── Social Links ─────────────────────────────────────────── */
.social-links {
  display: flex;
  gap: 0.8rem;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  color: var(--white);
  transition: background 0.2s ease;
}

.social-btn:hover {
  background: rgba(6, 182, 212, 0.15);
}

.social-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ── Utility ──────────────────────────────────────────────── */
.reveal {
  opacity: 1;
  transform: none;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ═══════════════════════════════════════════════════════════════ */

/* ── Tablet (≤ 992px) ────────────────────────────────────── */
@media (max-width: 992px) {
  .wrapper {
    padding-inline: 1rem;
  }
  
  .attachment-content {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    padding: 0 0.8rem !important;
    margin-top: 1.5rem !important;
  }
  
  .attachment-highlights {
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  }
}

/* ── Mobile (≤ 768px) ────────────────────────────────────── */
@media (max-width: 768px) {
  #attachment-apply {
    padding-top: 70px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  
  .wrapper {
    padding-inline: 0.8rem;
    gap: 1rem;
  }
  
  .hero-wrapper {
    min-height: 40vh;
    padding: 1rem;
    margin-top: 0;
    margin-bottom: 1rem;
    border-radius: 12px;
  }
  
  .page-hero-inner {
    padding: 1.5rem;
    border-radius: 1.2rem;
  }
  
  .page-hero-inner h1 {
    font-size: 1.5rem;
  }
  
  .attachment-highlights {
    gap: 1rem;
  }
  
  .highlight-card {
    padding: 1.2rem;
    border-radius: 16px;
  }
  
  .highlight-card .career-apply {
    padding: 0.7rem 1.2rem;
    font-size: 0.85rem;
  }
  
  .attachment-steps,
  .attachment-guide {
    padding: 1.2rem !important;
    border-radius: 16px !important;
  }
  
  .attachment-steps li,
  .attachment-guide li {
    font-size: 0.9rem;
  }
  
  .attachment-steps h2,
  .attachment-guide h2 {
    font-size: 1.2rem;
  }
  
  .attachment-form {
    padding: 1.2rem 1.2rem;
    border-radius: 18px;
    margin-top: 1.2rem;
  }
  
  .attachment-form h3 {
    font-size: 1.5rem;
  }
  
  .attachment-form .form-intro {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
  
  .attachment-form form {
    gap: 1rem;
  }
  
  .attachment-form .name-row,
  .attachment-form .form-row {
    gap: 0.8rem;
  }
  
  .attachment-form .form-row {
    grid-template-columns: 1fr !important;
    gap: 0.8rem !important;
  }
  
  .attachment-form .form-group select,
  .attachment-form .form-group input {
    padding: 0.7rem 0.8rem !important;
    font-size: 0.85rem !important;
  }
  
  .attachment-form .form-group label {
    font-size: 0.75rem !important;
  }
  
  .attachment-form .form-group small {
    font-size: 0.7rem !important;
  }
  
  .attachment-form .add-training-area-btn {
    width: 100% !important;
    text-align: center !important;
  }
  
  .attachment-form .form-section {
    padding: 1rem;
    border-radius: 14px;
  }
  
  .attachment-form .form-section legend {
    font-size: 0.85rem;
  }
  
  .form-submit {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .add-training-area-btn,
  .remove-training-area-btn {
    padding: 0.65rem 0.9rem;
    font-size: 0.85rem;
  }
  
  .additional-training-row {
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
    padding: 0.8rem;
  }
  
  .application-journey {
    padding: 1.5rem 0.8rem;
    margin-block: 1.5rem;
    border-radius: 16px;
  }
  
  .journey-container {
    gap: 1rem;
    padding: 0 0.5rem;
  }
  
  .journey-step {
    padding: 1.2rem;
    border-radius: 12px;
  }
  
  .journey-step .step-icon {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
  }
  
  .program-details li {
    flex: 1 1 100%;
  }
  
  .intake-countdown {
    padding-inline: 1.5rem;
    padding-block: 1rem;
    border-radius: 16px;
  }
  
  .intake-countdown h3 {
    font-size: 1rem;
  }
  
  .intake-status {
    font-size: 2rem;
  }
  
  .testimonials-grid {
    padding-inline: 0.8rem;
    gap: 1.2rem;
    margin-top: 1.5rem;
  }
  
  .testi-card {
    padding: 1.2rem;
    border-radius: 14px;
  }
  
  .testi-text {
    font-size: 0.85rem;
    margin-bottom: 1.2rem;
  }
  
  .readMore {
    margin-block: 1.5rem 0.8rem;
  }
  
  .btn-primary {
    padding: 0.65rem 1.1rem;
    font-size: 0.85rem;
  }
  
  .portfolio-grid {
    padding-inline: 0.8rem;
    gap: 1.2rem;
    margin-top: 1.5rem;
  }
  
  .portfolio-item {
    border-radius: 14px;
  }
  
  .pi-body {
    padding: 1.2rem;
  }
  
  .testimonials-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
    padding-inline: 0.5rem;
  }
  
  .uploadfiles {
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
  }
  
  .attachment-guide ul[style*="list-style: none"] {
    gap: 12px !important;
  }
  
  .attachment-guide ul[style*="list-style: none"] li {
    flex: 1 1 100% !important;
    padding: 10px 16px !important;
    font-size: 0.9rem !important;
  }
}

/* ── Small Mobile (≤ 600px) ─────────────────────────────── */
@media (max-width: 600px) {
  .page-hero-inner {
    padding: 1.2rem;
    border-radius: 1.2rem;
  }
  
  .page-hero-inner h1 {
    font-size: 1.3rem;
  }
  
  .journey-container {
    grid-template-columns: 1fr 1fr;
    padding: 0;
    gap: 0.8rem;
  }
  
  .attachment-form {
    padding: 1rem;
    border-radius: 16px;
    margin-top: 1rem;
  }
  
  .attachment-form .name-row,
  .attachment-form .form-row {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }
  
  .intake-countdown {
    padding-inline: 1rem;
    padding-block: 0.8rem;
    width: 100%;
    border-radius: 14px;
  }
  
  .intake-countdown h3 {
    font-size: 1rem !important;
  }
  
  .intake-countdown div {
    font-size: 2rem !important;
  }
  
  .testimonials-grid {
    padding-inline: 0.5rem;
    gap: 1rem;
    margin-top: 1rem;
  }
  
  .portfolio-grid {
    padding-inline: 0.5rem;
    gap: 1rem;
    margin-top: 1rem;
  }
}

/* ── Extra Small Mobile (≤ 480px) ────────────────────────── */
@media (max-width: 480px) {
  #attachment-apply {
    padding-top: 60px;
    padding-left: 0.3rem;
    padding-right: 0.3rem;
  }
  
  .wrapper {
    padding-inline: 0.3rem;
    gap: 0.7rem;
    margin-block-start: 0.8rem;
  }
  
  .hero-wrapper {
    min-height: 30vh;
    padding: 0.5rem;
    border-radius: 10px;
    margin-bottom: 0.8rem;
  }
  
  .page-hero-inner {
    padding: 0.8rem;
    border-radius: 1rem;
  }
  
  .page-hero-inner h1 {
    font-size: 1.1rem;
  }
  
  .page-hero-inner p {
    font-size: 0.85rem;
    line-height: 1.5;
  }
  
  .section-label {
    font-size: 0.65rem;
    gap: 0.3rem;
  }
  
  .section-label::before {
    width: 16px;
  }
  
  .attachment-highlights {
    gap: 0.8rem;
    margin-top: 0.8rem;
  }
  
  .highlight-card {
    padding: 0.8rem;
    border-radius: 12px;
  }
  
  .highlight-card h3 {
    font-size: 1rem;
  }
  
  .highlight-card p {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1rem;
  }
  
  .highlight-card .career-apply {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
    width: 100%;
    text-align: center;
  }
  
  .attachment-content {
    gap: 1rem !important;
    margin-top: 1rem !important;
    padding: 0 0.3rem !important;
  }
  
  .attachment-steps,
  .attachment-guide {
    padding: 0.8rem !important;
    border-radius: 12px !important;
  }
  
  .attachment-steps h2,
  .attachment-guide h2 {
    font-size: 1rem !important;
  }
  
  .attachment-steps ol,
  .attachment-steps ul {
    padding-left: 1rem !important;
  }
  
  .attachment-steps li,
  .attachment-guide li {
    font-size: 0.85rem !important;
    margin-bottom: 0.4rem;
    line-height: 1.5;
  }
  
  .attachment-guide p,
  .attachment-steps p {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
    margin-top: 0.5rem !important;
  }
  
  .attachment-form {
    padding: 0.6rem;
    border-radius: 12px;
    margin-top: 0.8rem;
  }
  
  .attachment-form h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }
  
  .attachment-form .form-intro {
    font-size: 0.8rem;
    margin-bottom: 0.7rem;
    line-height: 1.5;
  }
  
  .attachment-form form {
    gap: 0.7rem;
  }
  
  .attachment-form .form-row {
    gap: 0.6rem !important;
  }
  
  .attachment-form .form-group select,
  .attachment-form .form-group input {
    padding: 0.5rem 0.6rem !important;
    font-size: 0.8rem !important;
    border-radius: 6px !important;
  }
  
  .attachment-form .form-group label {
    font-size: 0.7rem;
    margin-bottom: 0.25rem;
  }
  
  .attachment-form .form-group textarea {
    min-height: 70px;
  }
  
  .attachment-form .form-group small {
    font-size: 0.7rem;
    margin-top: 0.2rem;
  }
  
  .attachment-form .add-training-area-btn {
    padding: 0.5rem 0.7rem !important;
    font-size: 0.75rem !important;
  }
  
  .attachment-form .form-section {
    padding: 0.6rem;
    border-radius: 10px;
    margin-bottom: 0.7rem;
  }
  
  .attachment-form .form-section legend {
    font-size: 0.75rem;
    padding: 0 0.3rem;
    margin-left: 0.3rem;
  }
  
  .form-submit {
    width: 100%;
    max-width: 100%;
    padding: 0.7rem;
    font-size: 0.85rem;
    text-align: center;
    justify-content: center;
    border-radius: 8px;
  }
  
  .add-training-area-btn,
  .remove-training-area-btn {
    padding: 0.5rem 0.7rem !important;
    font-size: 0.8rem !important;
    border-radius: 8px !important;
  }
  
  .training-plan-tools {
    gap: 0.3rem;
  }
  
  .additional-training-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 0.6rem;
    border-radius: 10px;
  }
  
  .application-journey {
    padding: 1rem 0.3rem;
    margin-block: 1rem;
    border-radius: 12px;
  }
  
  .application-journey h2 {
    font-size: 1.1rem !important;
    margin-bottom: 1.2rem !important;
  }
  
  .journey-container {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  
  .journey-step {
    padding: 0.8rem;
    border-radius: 10px;
  }
  
  .journey-step .step-icon {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }
  
  .journey-step h4 {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
  }
  
  .journey-step p {
    font-size: 0.75rem;
    line-height: 1.4;
  }
  
  .intake-countdown {
    padding: 0.6rem;
    border-radius: 10px;
  }
  
  .intake-countdown h3 {
    font-size: 0.85rem !important;
    margin-block-start: 0.5rem !important;
  }
  
  .intake-countdown div {
    font-size: 1.5rem !important;
  }
  
  .testimonials-grid {
    padding-inline: 0.2rem;
    gap: 0.8rem;
    margin-top: 0.8rem;
  }
  
  .testi-card {
    padding: 0.8rem;
    border-radius: 10px;
  }
  
  .testi-text {
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
    line-height: 1.5;
  }
  
  .testi-author {
    gap: 0.5rem;
  }
  
  .testi-avatar {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }
  
  .testi-avatar-img {
    width: 32px;
    height: 32px;
  }
  
  .testi-name {
    font-size: 0.78rem;
  }
  
  .testi-role {
    font-size: 0.65rem;
  }
  
  .stars {
    font-size: 0.65rem;
    margin-bottom: 0.5rem;
  }
  
  .quote-icon {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  
  .readMore {
    margin-block: 1rem 0.5rem;
  }
  
  .btn-primary {
    padding: 0.5rem 0.8rem;
    font-size: 0.8rem;
    border-radius: 50px;
  }
  
  .portfolio-grid {
    padding-inline: 0.2rem;
    gap: 0.8rem;
    margin-top: 0.8rem;
  }
  
  .portfolio-item {
    border-radius: 10px;
  }
  
  .portfolio-img-placeholder {
    min-height: 120px;
  }
  
  .pi-body {
    padding: 0.8rem;
  }
  
  .pi-body h4 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }
  
  .pi-body p {
    font-size: 0.8rem;
    line-height: 1.5;
    margin-bottom: 0.6rem;
  }
  
  .pi-tags {
    gap: 0.3rem;
  }
  
  .pi-tag {
    padding: 0.25rem 0.5rem;
    font-size: 0.65rem;
  }
  
  .section-header h2 {
    font-size: 1.5rem;
  }
  
  .uploadfiles {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
  
  .attachment-guide ul[style*="list-style: none"] {
    gap: 8px !important;
  }
  
  .attachment-guide ul[style*="list-style: none"] li {
    padding: 8px 12px !important;
    font-size: 0.8rem !important;
    border-radius: 8px !important;
  }
}

/* ── Very Small Mobile (≤ 360px) ──────────────────────────── */
@media (max-width: 360px) {
  #attachment-apply {
    padding-left: 0.15rem;
    padding-right: 0.15rem;
  }
  
  .wrapper {
    padding-inline: 0.15rem;
    gap: 0.5rem;
  }
  
  .page-hero-inner {
    padding: 0.5rem;
  }
  
  .page-hero-inner h1 {
    font-size: 0.95rem;
  }
  
  .page-hero-inner p {
    font-size: 0.75rem;
  }
  
  .highlight-card {
    padding: 0.6rem;
  }
  
  .highlight-card h3 {
    font-size: 0.85rem;
  }
  
  .highlight-card p {
    font-size: 0.75rem;
  }
  
  .attachment-form {
    padding: 0.4rem;
  }
  
  .attachment-form h3 {
    font-size: 1rem;
  }
  
  .attachment-form .form-group input,
  .attachment-form .form-group select,
  .attachment-form .form-group textarea {
    padding: 0.4rem 0.5rem;
    font-size: 0.7rem;
  }
  
  .form-submit {
    padding: 0.5rem;
    font-size: 0.7rem;
  }
  
  .journey-step {
    padding: 0.5rem;
  }
  
  .journey-step h4 {
    font-size: 0.7rem;
  }
  
  .journey-step p {
    font-size: 0.65rem;
  }
  
  .testi-card {
    padding: 0.5rem;
  }
  
  .testi-text {
    font-size: 0.7rem;
  }
}

/* ── Print Styles ────────────────────────────────────────── */
@media print {
  #attachment-apply {
    padding: 0;
  }
  
  .hero-wrapper {
    min-height: auto;
    padding: 0;
    border-radius: 0;
  }
  
  .hero-bg-animation {
    display: none;
  }
  
  .hero-wrapper::after {
    display: none;
  }
  
  .page-hero-inner {
    background: white;
    border: 1px solid #ccc;
    backdrop-filter: none;
  }
  
  .page-hero-inner h1 {
    color: #003366;
  }
  
  .attachment-form {
    box-shadow: none;
    border: 1px solid #ccc;
    background: white;
  }
  
  .form-submit,
  .add-training-area-btn,
  .remove-training-area-btn,
  #tipsReadMoreBtn,
  .career-apply,
  .btn-primary,
  .readMore {
    display: none !important;
  }
  
  .highlight-card,
  .attachment-steps,
  .attachment-guide,
  .testi-card,
  .portfolio-item {
    background: white !important;
    border: 1px solid #ddd !important;
    box-shadow: none !important;
    color: #333 !important;
  }
  
  .highlight-card h3,
  .attachment-steps h2,
  .attachment-guide h2,
  .testi-name {
    color: #003366 !important;
  }
  
  .testi-text,
  .highlight-card p,
  .attachment-steps p,
  .attachment-guide p {
    color: #333 !important;
  }
  
  .intake-countdown {
    border: 1px solid #ccc;
    background: #f5f5f5 !important;
  }
  
  .intake-status {
    color: #003366 !important;
  }
  
  .stars {
    color: #ffc947 !important;
  }
}