/* =====================================================
   FLICKLABS INTERNSHIP CSS - HANDCRAFTED UI/UX
===================================================== */

/* =====================================================
   GLOBAL SPACING & TYPOGRAPHY
===================================================== */
.intern-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.intern-section.section-tight {
  padding: 1.5rem 2rem; /* Tightened vertical rhythm */
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
  letter-spacing: -0.5px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

p {
  line-height: 1.6;
  max-width: 65ch; /* Optimal reading length */
}

/* =====================================================
   GLASS CARDS & MICRO-INTERACTIONS
===================================================== */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  padding: 2.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

/* =====================================================
   HERO SECTION
===================================================== */
.intern-hero {
  max-width: 900px;
  margin: 20px auto 0; /* Reduced gap below nav */
  text-align: center;
  padding: 3rem 2rem;
}

.hero-dates {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(108, 71, 255, 0.2);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin: 0 auto 2.5rem;
  font-weight: 500;
  max-width: 600px;
}

.hero-subtitle strong {
  display: inline-block;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  color: var(--accent);
  padding: 0.35rem 0.8rem;
  border-radius: 8px;
  border: 1px solid rgba(108, 71, 255, 0.2);
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 12px rgba(108, 71, 255, 0.08);
  font-weight: 700;
}

.primary-btn {
  display: inline-block;
  background: linear-gradient(135deg, #6c47ff, #da7bff);
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(108, 71, 255, 0.35);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
}

.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(108, 71, 255, 0.5);
}

/* =====================================================
   ELIGIBILITY CHECKLIST
===================================================== */
.eligibility-banner {
  padding: 2.5rem 3rem;
  background: linear-gradient(135deg, rgba(255,255,255,0.7), rgba(255,255,255,0.4));
  border-left: 4px solid var(--accent);
}

.eligibility-banner h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.check-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-primary);
}

.check-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 50%;
  font-weight: bold;
  font-size: 0.9rem;
}

/* =====================================================
   INTERNSHIP JOURNEY (TIMELINE)
===================================================== */
.journey-timeline {
  position: relative;
  max-width: 750px;
  margin: 0 auto;
  padding: 1rem 0;
}

.journey-timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--accent) 0%, rgba(108, 71, 255, 0.1) 100%);
  border-radius: 3px;
}

.journey-step {
  position: relative;
  padding-left: 5rem;
  margin-bottom: 2.5rem;
  cursor: default;
}

.journey-step:last-child {
  margin-bottom: 0;
}

.step-marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  height: 50px;
  background: var(--glass-bg);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--accent);
  backdrop-filter: blur(8px);
  z-index: 1;
  box-shadow: 0 4px 12px rgba(108, 71, 255, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.journey-step:hover .step-marker {
  background: var(--accent);
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(108, 71, 255, 0.4);
}

.step-content {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.journey-step:hover .step-content {
  border-color: rgba(108, 71, 255, 0.3);
  box-shadow: var(--shadow-hover);
}

.step-content h4 {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.step-content p {
  color: var(--text-secondary);
  margin: 0;
  font-size: 1rem;
}

/* =====================================================
   LEARNING & PRODUCT DEV USP
===================================================== */
.two-column-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.usp-block {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}

.usp-block h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.usp-block p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.product-block {
  background: linear-gradient(135deg, rgba(255,255,255,0.7), rgba(255,255,255,0.4));
  border-color: rgba(108, 71, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.product-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--accent);
}

.topic-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: auto;
}

.topic-pill {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--glass-border);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.topic-pill:hover {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: rgba(108, 71, 255, 0.3);
}

/* =====================================================
   FAQ SECTION
===================================================== */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-item.active {
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-soft);
  border-color: rgba(108, 71, 255, 0.2);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  color: var(--text-secondary);
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.5rem;
}

/* =====================================================
   CTA FOOTER
===================================================== */
.cta-footer {
  text-align: center;
  padding: 3.5rem 2rem;
}

.cta-footer h2 {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
  color: var(--text-primary);
}

.cta-footer p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin: 0 auto 2.5rem;
  max-width: 55ch;
}

.cta-badges {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.cta-badge {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.future-registration-placeholder {
  /* Reserved space for countdown timer / dates */
  margin-bottom: 2rem;
}

/* =====================================================
   INTERNSHIP APPLICATION MODAL & FORM
===================================================== */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: all 0.3s ease;
  padding: 1rem;
}

.modal-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.modal-container {
  background: var(--bg-main, #ffffff);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 650px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: translateY(0) scale(1);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  position: relative;
}

.modal-overlay.hidden .modal-container {
  transform: translateY(30px) scale(0.95);
}

.modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  z-index: 2;
}

.modal-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.close-modal {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--text-secondary);
  cursor: pointer;
  line-height: 1;
  padding: 0;
  transition: color 0.2s ease;
}

.close-modal:hover {
  color: var(--accent);
}

.modal-progress-track {
  position: absolute;
  bottom: 0; left: 0; width: 100%;
  height: 3px;
  background: transparent;
}

.modal-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width 0.1s linear;
}

.modal-body {
  padding: 2rem;
  overflow-y: auto;
  flex-grow: 1;
  background: #fafafa;
}

.modal-body::-webkit-scrollbar {
  width: 8px;
}
.modal-body::-webkit-scrollbar-track {
  background: transparent;
}
.modal-body::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.1);
  border-radius: 4px;
}

.form-section {
  margin-bottom: 3rem;
}

.section-title {
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(108, 71, 255, 0.1);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-group {
  margin-bottom: 1.2rem;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="url"],
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  background: #fff;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(108, 71, 255, 0.15);
}

.form-group textarea {
  resize: vertical;
}

/* Custom Radio Cards */
.radio-card-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.8rem;
}

.radio-card {
  position: relative;
  cursor: pointer;
}

.radio-card input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.radio-card span {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1rem;
  background: #fff;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.2s ease;
  text-align: center;
  height: 100%;
}

.radio-card input:checked ~ span {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--accent);
  font-weight: 600;
}

.radio-card:hover span {
  border-color: var(--accent);
}

/* Custom Chips */
.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chip-label {
  position: relative;
  cursor: pointer;
}

.chip-label input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.chip-label span {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background: #fff;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: all 0.2s ease;
  user-select: none;
}

.chip-label input:checked ~ span {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 4px 10px rgba(108, 71, 255, 0.2);
}

.chip-label:hover span {
  border-color: var(--accent);
}

/* Custom Checkbox List */
.checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.custom-checkbox {
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 32px;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--text-secondary);
  user-select: none;
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 20px;
  width: 20px;
  background-color: #fff;
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  transition: all 0.2s ease;
}

.custom-checkbox:hover input ~ .checkmark {
  border-color: var(--accent);
}

.custom-checkbox input:checked ~ .checkmark {
  background-color: var(--accent);
  border-color: var(--accent);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.custom-checkbox input:checked ~ .checkmark:after {
  display: block;
}

.custom-checkbox input:checked ~ strong {
  color: var(--text-primary);
}

.declaration-section {
  background: var(--accent-soft);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid rgba(108, 71, 255, 0.2);
  margin-bottom: 0;
}

.declaration-box {
  color: var(--accent);
}

/* AI Helper Text */
.ai-helper-text {
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 0.4rem;
  font-style: italic;
}

/* AI Disclaimer Box */
.ai-disclaimer-box {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.05);
}

.ai-disclaimer-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.ai-icon {
  font-size: 1.4rem;
}

.ai-disclaimer-header h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #b45309;
  margin: 0;
}

.ai-disclaimer-content p {
  font-size: 0.95rem;
  color: #78350f;
  margin-bottom: 0.6rem;
  line-height: 1.5;
}

.ai-disclaimer-content p:last-child {
  margin-bottom: 0;
}

/* Form Footer */
.modal-footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--glass-border);
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  background: #fff;
}

.secondary-btn {
  padding: 0.8rem 1.5rem;
  background: transparent;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.secondary-btn:hover {
  background: rgba(0,0,0,0.05);
  color: var(--text-primary);
}

.submit-btn {
  border-radius: 8px;
  padding: 0.8rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  box-shadow: none;
}

.submit-btn.loading .btn-text {
  display: none;
}

.submit-btn.loading .btn-loader {
  display: inline-block;
}

.btn-loader {
  display: none;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.form-error-msg {
  color: #d93025;
  background: rgba(217, 48, 37, 0.1);
  padding: 0.8rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 1rem;
  text-align: center;
}

/* =====================================================
   PREMIUM POPUP MODALS (Success & Duplicate)
===================================================== */
.popup-overlay {
  padding: max(2.5rem, env(safe-area-inset-top)) max(1.5rem, env(safe-area-inset-right)) max(2.5rem, env(safe-area-inset-bottom)) max(1.5rem, env(safe-area-inset-left));
  box-sizing: border-box;
}

.popup-container {
  background: #ffffff;
  border: 1px solid var(--glass-border, rgba(0,0,0,0.08));
  border-radius: 20px;
  width: 100%;
  max-width: 540px;
  max-height: 100%;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 2.5rem;
  box-sizing: border-box;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0,0,0,0.05);
  transform: scale(0.95);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Hide scrollbar for cleaner look while keeping functionality */
.popup-container::-webkit-scrollbar {
  width: 6px;
}
.popup-container::-webkit-scrollbar-thumb {
  background-color: rgba(0,0,0,0.1);
  border-radius: 10px;
}

.modal-overlay:not(.hidden) .popup-container {
  transform: scale(1);
  opacity: 1;
  animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes popIn {
  0% { transform: scale(0.95) translateY(10px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.popup-icon-wrapper {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  animation: bounceGlow 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.success-theme {
  background: rgba(34, 197, 94, 0.15);
  color: #16a34a;
  box-shadow: 0 0 30px rgba(34, 197, 94, 0.2);
}

.warning-theme {
  background: rgba(245, 158, 11, 0.15);
  color: #d97706;
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.2);
}

@keyframes bounceGlow {
  0% { transform: scale(0.8); opacity: 0; box-shadow: 0 0 0 rgba(34, 197, 94, 0); }
  50% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 20px rgba(34, 197, 94, 0.3); }
  100% { transform: scale(1); box-shadow: 0 0 40px rgba(34, 197, 94, 0.15); }
}

.popup-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
  letter-spacing: -0.02em;
}

.popup-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1rem;
}

/* Premium ID Card */
.id-card {
  width: 100%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem 1.2rem;
  margin: 1.5rem 0 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
  animation: slideUp 0.5s ease forwards 0.2s;
  opacity: 0;
  transform: translateY(10px);
}

@keyframes slideUp {
  to { opacity: 1; transform: translateY(0); }
}

.id-card-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.id-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.id-value {
  font-family: 'Space Grotesk', ui-monospace, monospace;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.5px;
  word-break: break-all;
  overflow-wrap: break-word;
}

.copy-id-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0.5rem 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  color: #475569;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.copy-id-btn:hover {
  background: #f1f5f9;
  color: var(--text-primary);
  border-color: #94a3b8;
  transform: translateY(-1px);
}

.copy-id-btn:active {
  transform: translateY(0);
}

.copy-id-btn.copied {
  background: #ecfdf5;
  border-color: #34d399;
  color: #10b981;
}

.id-card-desc {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 1.5rem;
}

.popup-info-box {
  background: var(--accent-soft, rgba(108, 71, 255, 0.05));
  border-radius: 10px;
  padding: 1rem 1.2rem;
  width: 100%;
  text-align: left;
  margin-bottom: 1.5rem;
}

.popup-info-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.popup-info-box li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.popup-info-box li:last-child {
  margin-bottom: 0;
}

.popup-info-box li::before {
  content: "•";
  color: var(--accent, #6c47ff);
  position: absolute;
  left: 0.5rem;
  font-size: 1.2rem;
  line-height: 1;
}

.popup-actions {
  display: flex;
  width: 100%;
  gap: 1rem;
  margin-top: 0.5rem;
}

.popup-actions-single {
  justify-content: center;
}

.popup-btn {
  flex: 1;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  border-radius: 12px;
}

/* Accessibility Focus */
*:focus-visible {
  outline: 2px solid var(--accent, #6c47ff);
  outline-offset: 2px;
}

/* Desktop Optimization (Centering & Alignment) */
@media (min-width: 1025px) {
  .journey-timeline {
    max-width: 620px;
    transform: translateX(-1.5rem); /* Counteracts right-bias from padding */
  }
}

/* Tablet Optimization */
@media (max-width: 1024px) {
  .intern-section {
    padding: 3rem 1.5rem;
  }
  .intern-section.section-tight {
    padding: 1.5rem 1.5rem;
  }
  .two-column-layout {
    grid-template-columns: 1fr; /* Stack Learning and USP */
  }
  .eligibility-banner {
    padding: 2rem;
  }
}

/* Mobile Optimization */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .intern-hero {
    padding: 2rem 1rem;
    margin-top: 10px;
  }
  .hero-dates {
    font-size: 0.85rem;
  }
  .intern-section {
    padding: 2.5rem 1rem;
  }
  .intern-section.section-tight {
    padding: 1.2rem 1rem;
  }
  .eligibility-banner {
    padding: 1.5rem;
  }
  .check-list {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  .check-list li {
    font-size: 0.95rem;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .journey-timeline::before {
    left: 20px;
  }
  .step-marker {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
    left: 0;
  }
  .journey-step {
    padding-left: 3.8rem;
    margin-bottom: 2rem;
  }
  .step-content {
    padding: 1.2rem;
  }
  .step-content h4 {
    font-size: 1.1rem;
  }
  
  .usp-block {
    padding: 1.5rem;
  }
  .usp-block h3 {
    font-size: 1.4rem;
  }
  .topic-pills {
    gap: 0.5rem;
  }
  .topic-pill {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
  }

  .faq-question {
    font-size: 1rem;
    padding: 1.2rem;
  }
  .faq-item.active .faq-answer {
    padding: 0 1.2rem 1.2rem;
  }
  
  .cta-footer {
    padding: 2.5rem 1rem;
  }
  .cta-footer h2 {
    font-size: 1.8rem;
  }
  .primary-btn {
    width: 100%; /* Full width on mobile */
    text-align: center;
  }

  /* Modal Mobile Optimization */
  .modal-container {
    max-width: 95%;
    max-height: 95vh;
  }
  .modal-header {
    padding: 1.2rem;
  }
  .modal-title {
    font-size: 1.2rem;
  }
  .modal-body {
    padding: 1.2rem;
  }
  .modal-footer {
    padding: 1.2rem;
    flex-direction: column-reverse; /* Cancel below Apply */
    gap: 0.8rem;
  }
  .secondary-btn, .submit-btn {
    width: 100%;
  }
  .form-grid {
    grid-template-columns: 1fr; /* Force 1 column */
  }
  .radio-card-group {
    grid-template-columns: 1fr; /* Force 1 column */
  }
  .form-section {
    margin-bottom: 2rem;
  }
  .section-title {
    font-size: 1.05rem;
    margin-bottom: 1rem;
  }
  .popup-overlay {
    padding: max(1.5rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1.5rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  }
  .popup-container {
    max-width: 96%;
    padding: 2rem 1.25rem;
    border-radius: 16px;
  }
  .popup-title {
    font-size: 1.35rem;
    margin-bottom: 0.6rem;
  }
  .popup-text {
    font-size: 0.95rem;
  }
  .popup-icon-wrapper {
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
  }
  .id-card {
    padding: 1.2rem;
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  .id-card-content {
    align-items: center;
    text-align: center;
  }
  .id-value {
    font-size: 1.15rem;
  }
  .popup-actions {
    flex-direction: column-reverse; /* Stack buttons with Cancel/Close below */
    width: 100%;
  }
  .popup-btn, .secondary-btn {
    width: 100%;
  }
}
