/* ==========================================================================
   StayMitra Technologies - Internship Portal Stylesheet
   Color Theme: StayMitra Brand Palette (Deep Navy, Royal Blue, Emerald, Cyan)
   ========================================================================== */

/* Sub-Navbar */
.internship-subnav {
  background: #091338;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 0;
  position: sticky;
  top: 86px;
  z-index: 990;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: top 0.3s ease;
}

.header.scrolled ~ .internship-subnav,
body.has-scrolled .internship-subnav {
  top: 74px;
}

.subnav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.subnav-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14.5px;
  color: #60a5fa;
  letter-spacing: 0.2px;
}

.subnav-brand svg {
  color: #38bdf8;
}

.subnav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.subnav-link {
  color: #cbd5e1;
  font-size: 13.5px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.subnav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.subnav-link.active {
  color: #ffffff;
  background: rgba(37, 99, 235, 0.3);
  border: 1px solid rgba(59, 130, 246, 0.4);
}

.subnav-link.highlight {
  color: #ffffff;
  background: linear-gradient(135deg, #0066f5 0%, #1732ad 100%);
  border: 1px solid rgba(96, 165, 250, 0.5);
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0, 102, 245, 0.35);
}

.subnav-link.highlight:hover {
  background: linear-gradient(135deg, #1732ad 0%, #0066f5 100%);
  transform: translateY(-1px);
}

/* Hero Section */
.internship-hero {
  position: relative;
  background: var(--hero-gradient);
  color: #ffffff;
  padding: 130px 0 80px;
  overflow: hidden;
}

.internship-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.internship-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 102, 245, 0.18);
  border: 1px solid rgba(96, 165, 250, 0.35);
  color: #93c5fd;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.internship-hero-title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

.internship-hero-title .gradient-text {
  background: linear-gradient(135deg, #60a5fa 0%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.internship-hero-desc {
  font-size: 16.5px;
  color: #e2e8f0;
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 580px;
}

.internship-hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-hero-apply {
  padding: 14px 30px;
  font-size: 15.5px;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: var(--radius-full);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-hero-apply:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  box-shadow: 0 14px 32px rgba(16, 185, 129, 0.55);
  transform: translateY(-2px);
}

.btn-hero-roles {
  padding: 14px 28px;
  font-size: 15.5px;
  font-weight: 600;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-hero-roles:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.btn-hero-track {
  padding: 14px 24px;
  font-size: 14.5px;
  font-weight: 600;
  color: #93c5fd;
  background: transparent;
  border: 1px solid rgba(147, 197, 253, 0.3);
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-hero-track:hover {
  background: rgba(147, 197, 253, 0.15);
  color: #ffffff;
}

/* Hero Visual Box */
.internship-hero-visual {
  position: relative;
}

.hero-visual-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 10, 40, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.hero-visual-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.hero-visual-card:hover .hero-visual-img {
  transform: scale(1.03);
}

.floating-cert-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: #ffffff;
  color: var(--text-title);
  padding: 16px 22px;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 20, 80, 0.2);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 2;
  animation: floatCard 4s ease-in-out infinite alternate;
}

@keyframes floatCard {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.floating-cert-badge .badge-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.floating-cert-badge .badge-title {
  font-size: 16px;
  font-weight: 800;
  color: #0f2177;
  line-height: 1.2;
}

.floating-cert-badge .badge-subtitle {
  font-size: 12.5px;
  color: #64748b;
  margin-top: 3px;
  font-weight: 500;
}

/* Stats / Highlights Ribbon */
.internship-metrics-ribbon {
  background: #ffffff;
  border-bottom: 1px solid rgba(20, 50, 150, 0.08);
  padding: 30px 0;
  box-shadow: 0 8px 30px rgba(10, 25, 90, 0.03);
}

.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.metric-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  transition: all 0.25s ease;
}

.metric-item:hover {
  background: #f8faff;
  transform: translateY(-2px);
}

.metric-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: #1d4ed8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.metric-item:nth-child(2) .metric-icon-wrap {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  color: #059669;
}
.metric-item:nth-child(3) .metric-icon-wrap {
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
  color: #7c3aed;
}
.metric-item:nth-child(4) .metric-icon-wrap {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  color: #d97706;
}

.metric-num {
  font-size: 26px;
  font-weight: 800;
  color: #0a1128;
  line-height: 1.1;
}

.metric-label {
  font-size: 13px;
  font-weight: 500;
  color: #64748b;
  margin-top: 2px;
}

/* Section Header Shared */
.intern-sec-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.intern-sec-badge {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: #0066f5;
  background: #eef6ff;
  border: 1px solid #bfdbfe;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.intern-sec-title {
  font-size: 34px;
  font-weight: 800;
  color: #0a1128;
  line-height: 1.25;
  margin-bottom: 12px;
}

.intern-sec-subtitle {
  font-size: 15.5px;
  color: #505e79;
  line-height: 1.6;
}

/* Domains Section */
.domains-section {
  padding: 80px 0;
  background: #f8faff;
}

.domains-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.domain-card {
  background: #ffffff;
  padding: 32px 28px;
  border-radius: 18px;
  border: 1px solid rgba(20, 50, 150, 0.08);
  box-shadow: 0 8px 24px rgba(10, 25, 90, 0.04);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.domain-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #1732ad, #0066f5);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.domain-card:hover {
  transform: translateY(-6px);
  border-color: rgba(23, 50, 173, 0.2);
  box-shadow: 0 18px 40px rgba(10, 30, 120, 0.1);
}

.domain-card:hover::before {
  opacity: 1;
}

.domain-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.domain-card:hover .domain-icon-box {
  transform: scale(1.08) rotate(3deg);
}

.domain-icon-blue { background: rgba(0, 102, 245, 0.1); color: #0066f5; }
.domain-icon-emerald { background: rgba(16, 185, 129, 0.1); color: #059669; }
.domain-icon-purple { background: rgba(139, 92, 246, 0.1); color: #7c3aed; }
.domain-icon-cyan { background: rgba(6, 182, 212, 0.1); color: #0891b2; }
.domain-icon-amber { background: rgba(245, 158, 11, 0.1); color: #d97706; }
.domain-icon-indigo { background: rgba(79, 70, 229, 0.1); color: #4f46e5; }

.domain-title {
  font-size: 18.5px;
  font-weight: 700;
  color: #0f2177;
  margin-bottom: 10px;
  line-height: 1.3;
}

.domain-desc {
  font-size: 14px;
  color: #505e79;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.domain-tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 22px;
}

.tech-pill {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: #f1f5f9;
  color: #334155;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.domain-apply-link {
  font-size: 13.5px;
  font-weight: 600;
  color: #0066f5;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  margin-top: auto;
}

.domain-apply-link:hover {
  color: #1732ad;
  gap: 9px;
}

/* Openings Section */
.openings-section {
  padding: 80px 0;
  background: #ffffff;
}

.openings-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.openings-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.opening-card {
  border: 1px solid rgba(20, 50, 150, 0.1);
  border-radius: 14px;
  padding: 24px 28px;
  background: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  box-shadow: 0 4px 16px rgba(10, 25, 90, 0.03);
  transition: all 0.25s ease;
}

.opening-card:hover {
  border-color: rgba(0, 102, 245, 0.35);
  box-shadow: 0 12px 30px rgba(0, 102, 245, 0.08);
  transform: translateY(-2px);
}

.opening-info {
  flex: 1;
  min-width: 280px;
}

.opening-badges {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.badge-tag {
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.badge-tag.remote { background: #dbeafe; color: #1d4ed8; }
.badge-tag.hybrid { background: #f3e8ff; color: #7e22ce; }
.badge-tag.onsite { background: #fef3c7; color: #b45309; }
.badge-tag.featured { background: #dcfce7; color: #15803d; }

.opening-title {
  font-size: 19px;
  font-weight: 700;
  color: #0f2177;
  margin-bottom: 6px;
}

.opening-meta {
  font-size: 13.5px;
  color: #64748b;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.opening-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.btn-opening-apply {
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  color: #1732ad;
  background: #eff6ff;
  border: 1.5px solid #bfdbfe;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-opening-apply:hover {
  background: #1732ad;
  color: #ffffff;
  border-color: #1732ad;
  box-shadow: 0 6px 18px rgba(23, 50, 173, 0.25);
  transform: translateY(-2px);
}

/* Online Application Form Section */
.apply-section {
  padding: 90px 0;
  background: linear-gradient(180deg, #f8faff 0%, #eef4ff 100%);
  position: relative;
}

.apply-container-box {
  max-width: 860px;
  margin: 0 auto;
}

.apply-card {
  background: #ffffff;
  padding: 44px;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(10, 25, 100, 0.08);
  border: 1px solid rgba(23, 50, 173, 0.1);
  position: relative;
}

.apply-form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.apply-form-group {
  margin-bottom: 20px;
}

.apply-label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #0f2177;
  margin-bottom: 8px;
}

.apply-label span.req {
  color: #ef4444;
}

.apply-input,
.apply-select,
.apply-textarea {
  width: 100%;
  padding: 13px 18px;
  font-size: 14.5px;
  border: 1.5px solid #dbe2ef;
  border-radius: 10px;
  background: #ffffff;
  color: #1a2238;
  font-family: inherit;
  transition: all 0.25s ease;
}

.apply-input:focus,
.apply-select:focus,
.apply-textarea:focus {
  outline: none;
  border-color: #0066f5;
  box-shadow: 0 0 0 4px rgba(0, 102, 245, 0.12);
}

.apply-textarea {
  min-height: 110px;
  resize: vertical;
}

.btn-submit-apply {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #1732ad 0%, #0066f5 100%);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 102, 245, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.25s ease;
  margin-top: 10px;
}

.btn-submit-apply:hover {
  background: linear-gradient(135deg, #0f2177 0%, #0052cc 100%);
  box-shadow: 0 14px 32px rgba(0, 102, 245, 0.5);
  transform: translateY(-2px);
}

/* Success Card After Submit */
.apply-success-box {
  display: none;
  text-align: center;
  padding: 20px 10px;
}

.success-check-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  margin: 0 auto 20px;
  box-shadow: 0 10px 25px rgba(22, 163, 74, 0.2);
}

.success-title {
  font-size: 28px;
  font-weight: 800;
  color: #0f2177;
  margin-bottom: 8px;
}

.success-subtitle {
  font-size: 15px;
  color: #64748b;
  margin-bottom: 28px;
}

.success-details-card {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 16px;
  padding: 24px;
  max-width: 520px;
  margin: 0 auto 30px;
  text-align: left;
}

.ref-label {
  font-size: 13px;
  font-weight: 700;
  color: #15803d;
  margin-bottom: 4px;
}

.ref-value {
  font-size: 22px;
  font-family: monospace;
  font-weight: 800;
  color: #0f2177;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.ai-eval-box {
  border-top: 1px dashed #86efac;
  padding-top: 14px;
}

.ai-score-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.ai-score-label {
  font-size: 14px;
  font-weight: 700;
  color: #0f2177;
}

.ai-score-num {
  font-size: 18px;
  font-weight: 800;
  color: #16a34a;
}

.ai-score-progress {
  width: 100%;
  height: 8px;
  background: #dcfce7;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}

.ai-score-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981, #059669);
  border-radius: 4px;
  transition: width 1s ease;
}

.ai-feedback-txt {
  font-size: 13px;
  color: #374151;
  font-style: italic;
  line-height: 1.5;
}

.success-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Track Status Section */
.track-section {
  padding: 80px 0;
  background: #ffffff;
}

.track-box-card {
  background: #ffffff;
  border: 1px solid rgba(20, 50, 150, 0.12);
  border-radius: 20px;
  padding: 36px;
  max-width: 760px;
  margin: 0 auto 30px;
  box-shadow: 0 10px 30px rgba(10, 25, 90, 0.05);
}

.track-form {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.track-input {
  flex: 1;
  min-width: 260px;
  padding: 13px 20px;
  font-size: 14.5px;
  border: 1.5px solid #dbe2ef;
  border-radius: var(--radius-full);
}

.track-input:focus {
  outline: none;
  border-color: #0066f5;
  box-shadow: 0 0 0 4px rgba(0, 102, 245, 0.12);
}

.btn-track-submit {
  padding: 13px 28px;
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  background: #1732ad;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.btn-track-submit:hover {
  background: #0f2177;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(23, 50, 173, 0.3);
}

.track-result-card {
  display: none;
  max-width: 760px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid rgba(20, 50, 150, 0.12);
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 12px 35px rgba(10, 25, 90, 0.06);
}

.track-result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.track-ref-tag {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
}

.track-candidate-name {
  font-size: 22px;
  font-weight: 800;
  color: #0f2177;
}

.status-badge {
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 13.5px;
}

.status-badge.applied { background: #fef3c7; color: #b45309; }
.status-badge.reviewing { background: #e0f2fe; color: #0369a1; }
.status-badge.shortlisted { background: #dbeafe; color: #1d4ed8; }
.status-badge.selected { background: #dcfce7; color: #15803d; }

.track-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  font-size: 14.5px;
  margin-bottom: 24px;
}

.track-details-grid div strong {
  color: #0f2177;
}

/* Perks & Certificate Section */
.perks-section {
  padding: 85px 0;
  background: #f8faff;
}

.perks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.perks-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.perk-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.perk-bullet-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #eef4ff;
  color: #0066f5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.perk-content h4 {
  font-size: 16.5px;
  font-weight: 700;
  color: #0f2177;
  margin-bottom: 4px;
}

.perk-content p {
  font-size: 14px;
  color: #505e79;
  line-height: 1.55;
}

.cert-preview-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 20px 50px rgba(10, 25, 90, 0.08);
  border: 1px solid rgba(20, 50, 150, 0.1);
  position: relative;
  text-align: center;
}

.cert-sample-frame {
  border: 2px dashed #bfdbfe;
  border-radius: 12px;
  padding: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #f9fbff 100%);
}

.cert-sample-logo {
  height: 44px;
  margin-bottom: 14px;
}

.cert-sample-title {
  font-size: 18px;
  font-weight: 800;
  color: #0f2177;
  letter-spacing: 0.5px;
}

.cert-sample-sub {
  font-size: 12.5px;
  color: #64748b;
  margin: 6px 0 16px;
}

.cert-qr-holder {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: #f1f5f9;
  padding: 10px 16px;
  border-radius: 8px;
  margin-top: 16px;
}

.cert-qr-holder span {
  font-size: 12px;
  font-weight: 600;
  color: #334155;
}

/* FAQs Section */
.faq-section {
  padding: 80px 0;
  background: #ffffff;
}

.faq-container {
  max-width: 820px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-card.active {
  border-color: #0066f5;
  box-shadow: 0 4px 18px rgba(0, 102, 245, 0.08);
}

.faq-trigger {
  width: 100%;
  text-align: left;
  background: #ffffff;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 700;
  color: #0f2177;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-card.active .faq-trigger {
  color: #0066f5;
}

.faq-icon-chevron {
  transition: transform 0.25s ease;
}

.faq-card.active .faq-icon-chevron {
  transform: rotate(180deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #f8faff;
  padding: 0 24px;
}

.faq-card.active .faq-body {
  padding: 0 24px 20px;
}

.faq-body p {
  font-size: 14.5px;
  color: #505e79;
  line-height: 1.6;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .internship-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .internship-hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .internship-hero-ctas {
    justify-content: center;
  }
  .domains-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .metrics-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .perks-grid {
    grid-template-columns: 1fr;
  }
  .floating-cert-badge {
    position: static;
    margin-top: 16px;
    width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 860px) {
  .internship-subnav {
    top: 74px;
    padding: 6px 0;
  }
  .subnav-container {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
  .subnav-links {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 6px;
  }
  .subnav-links::-webkit-scrollbar {
    display: none;
  }
  .subnav-link {
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 12.5px;
    padding: 6px 12px;
  }
}

@media (max-width: 768px) {
  .internship-hero {
    padding-top: 145px;
    padding-bottom: 50px;
  }
  .internship-hero-title {
    font-size: clamp(24px, 6.2vw, 34px);
    line-height: 1.25;
  }
  .internship-hero-ctas {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    align-items: stretch;
  }
  .btn-hero-apply,
  .btn-hero-roles,
  .btn-hero-track {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 13px 20px;
    font-size: 14.5px;
    box-sizing: border-box;
  }
  .domains-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .metrics-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .apply-form-grid-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .apply-card {
    padding: 22px 16px;
    border-radius: 18px;
  }
  .apply-input,
  .apply-select,
  .apply-textarea {
    font-size: 16px !important;
    width: 100%;
    box-sizing: border-box;
  }
  .btn-apply-submit {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }
  .track-details-grid {
    grid-template-columns: 1fr;
  }
  .floating-cert-badge {
    position: static;
    margin-top: 16px;
  }
  .hero-visual-card {
    border-radius: 14px;
  }
  .hero-visual-img {
    height: 220px;
  }
  .openings-top-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .filter-group {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .filter-group::-webkit-scrollbar {
    display: none;
  }
  .filter-pill {
    white-space: nowrap;
    flex-shrink: 0;
  }
  .opening-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .btn-opening-apply {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .internship-subnav {
    top: 66px;
  }
  .internship-hero {
    padding-top: 135px;
    padding-bottom: 40px;
  }
  .internship-hero-title {
    font-size: clamp(22px, 6.5vw, 28px);
  }
  .apply-card {
    padding: 18px 12px;
  }
  .track-box-card {
    padding: 18px 12px;
  }
}

/* ==========================================================================
   4-Step Internship Journey Roadmap
   ========================================================================== */
.roadmap-section {
  padding: 85px 0;
  background: #ffffff;
  position: relative;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.roadmap-grid::after {
  content: '';
  position: absolute;
  top: 42px;
  left: 5%;
  width: 90%;
  height: 2px;
  background: linear-gradient(90deg, #1732ad, #0066f5, #10b981);
  z-index: 1;
}

.roadmap-card {
  background: #ffffff;
  border: 1px solid rgba(20, 50, 150, 0.1);
  border-radius: 18px;
  padding: 30px 22px;
  text-align: center;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(10, 25, 90, 0.04);
  transition: all 0.3s ease;
}

.roadmap-card:hover {
  transform: translateY(-6px);
  border-color: #0066f5;
  box-shadow: 0 16px 36px rgba(0, 102, 245, 0.12);
}

.roadmap-step-badge {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1732ad 0%, #0066f5 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 4px solid #ffffff;
  box-shadow: 0 6px 18px rgba(0, 102, 245, 0.3);
}

.roadmap-card:nth-child(4) .roadmap-step-badge {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.3);
}

.roadmap-title {
  font-size: 17px;
  font-weight: 700;
  color: #0f2177;
  margin-bottom: 10px;
}

.roadmap-desc {
  font-size: 13.5px;
  color: #505e79;
  line-height: 1.6;
}

/* ==========================================================================
   Month-by-Month Technical Curriculum Section
   ========================================================================== */
.curriculum-section {
  padding: 85px 0;
  background: #f8faff;
}

.curriculum-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.curriculum-tab-btn {
  padding: 12px 24px;
  font-size: 14.5px;
  font-weight: 700;
  color: #505e79;
  background: #ffffff;
  border: 1.5px solid #dbe2ef;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.curriculum-tab-btn:hover {
  color: #0066f5;
  border-color: #93c5fd;
}

.curriculum-tab-btn.active {
  background: #1732ad;
  color: #ffffff;
  border-color: #1732ad;
  box-shadow: 0 6px 20px rgba(23, 50, 173, 0.25);
}

.curriculum-panel {
  display: none;
  background: #ffffff;
  border-radius: 20px;
  padding: 38px;
  border: 1px solid rgba(20, 50, 150, 0.1);
  box-shadow: 0 10px 30px rgba(10, 25, 90, 0.05);
}

.curriculum-panel.active {
  display: block;
  animation: fadeInCurriculum 0.3s ease;
}

@keyframes fadeInCurriculum {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.curriculum-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.module-box {
  background: #f8faff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 22px;
}

.module-tag {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: #0066f5;
  margin-bottom: 6px;
  display: block;
}

.module-heading {
  font-size: 17px;
  font-weight: 700;
  color: #0f2177;
  margin-bottom: 12px;
}

.module-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.module-list li {
  font-size: 13.5px;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 8px;
}

.module-list li svg {
  color: #10b981;
  flex-shrink: 0;
}

/* ==========================================================================
   Student Success Stories & Placed Alumni Reviews
   ========================================================================== */
.testimonials-section {
  padding: 85px 0;
  background: #ffffff;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid rgba(20, 50, 150, 0.1);
  border-radius: 18px;
  padding: 30px 24px;
  box-shadow: 0 6px 20px rgba(10, 25, 90, 0.04);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 102, 245, 0.3);
  box-shadow: 0 16px 36px rgba(0, 102, 245, 0.08);
}

.alumni-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.alumni-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #0066f5;
}

.alumni-name {
  font-size: 16px;
  font-weight: 700;
  color: #0f2177;
}

.alumni-college {
  font-size: 12.5px;
  color: #64748b;
}

.alumni-rating {
  color: #f59e0b;
  margin-bottom: 12px;
  font-size: 13px;
  letter-spacing: 2px;
}

.alumni-quote {
  font-size: 13.5px;
  color: #505e79;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 18px;
  flex-grow: 1;
}

.alumni-placement-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  margin-top: auto;
}

/* ==========================================================================
   Live Certificate Verification Modal & Interactive Certificate Canvas
   ========================================================================== */
.verify-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 20, 60, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.verify-modal-backdrop.open {
  display: flex;
}

.verify-modal-card {
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 900px;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
  padding: 32px;
}

.modal-close-verify {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #475569;
  transition: all 0.2s ease;
}

.modal-close-verify:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* Printable Certificate Frame */
.official-certificate-canvas {
  background: #ffffff;
  border: 12px solid #0f2177;
  outline: 3px solid #dfb15b;
  outline-offset: -8px;
  padding: 40px 36px;
  position: relative;
  text-align: center;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.cert-corner-decor {
  position: absolute;
  width: 30px;
  height: 30px;
  border: 3px solid #dfb15b;
}

.corner-tl { top: 6px; left: 6px; border-right: none; border-bottom: none; }
.corner-tr { top: 6px; right: 6px; border-left: none; border-bottom: none; }
.corner-bl { bottom: 6px; left: 6px; border-right: none; border-top: none; }
.corner-br { bottom: 6px; right: 6px; border-left: none; border-top: none; }

.cert-header-logo {
  height: 48px;
  margin-bottom: 12px;
}

.cert-corporate-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 8px;
}

.cert-main-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 32px;
  font-weight: 800;
  color: #0f2177;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.cert-sub-headline {
  font-size: 13px;
  font-weight: 600;
  color: #dfb15b;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.cert-presented-txt {
  font-size: 14px;
  color: #475569;
  font-style: italic;
  margin-bottom: 8px;
}

.cert-candidate-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 28px;
  font-weight: 800;
  color: #1732ad;
  border-bottom: 2px solid #dfb15b;
  display: inline-block;
  padding: 0 30px 4px;
  margin-bottom: 16px;
}

.cert-body-p {
  font-size: 14.5px;
  color: #334155;
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 28px;
}

.cert-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid #e2e8f0;
  padding-top: 22px;
  margin-top: 20px;
  text-align: center;
}

.cert-signature-box {
  width: 170px;
}

.signature-line {
  border-top: 1.5px solid #1e293b;
  margin-top: 6px;
  padding-top: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #0f2177;
}

.signature-title {
  font-size: 11px;
  color: #64748b;
}

.cert-qr-seal-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.cert-qr-img {
  width: 72px;
  height: 72px;
  border: 1px solid #cbd5e1;
  padding: 4px;
  background: #ffffff;
}

.cert-serial-tag {
  font-family: monospace;
  font-size: 11.5px;
  font-weight: 700;
  color: #15803d;
  background: #f0fdf4;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid #bbf7d0;
}

/* Offer Letter Preview Styling */
.offer-letter-frame {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 40px;
  border-radius: 8px;
  font-family: inherit;
  line-height: 1.6;
  color: #1e293b;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.letterhead-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #0f2177;
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.letterhead-title {
  font-size: 20px;
  font-weight: 800;
  color: #0f2177;
}

.letterhead-sub {
  font-size: 12px;
  color: #64748b;
}

.offer-letter-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 13.5px;
}

.offer-letter-table td {
  padding: 8px 12px;
  border: 1px solid #e2e8f0;
}

.offer-letter-table td.strong-label {
  background: #f8faff;
  font-weight: 700;
  color: #0f2177;
  width: 35%;
}

@media (max-width: 900px) {
  .roadmap-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .roadmap-grid::after {
    display: none;
  }
  .curriculum-grid-2 {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .cert-footer-row {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  .official-certificate-canvas {
    padding: 24px 16px;
  }
  .cert-main-headline {
    font-size: 24px;
  }
  .cert-candidate-name {
    font-size: 20px;
    padding: 0 10px 4px;
  }
}

@media (max-width: 600px) {
  .offer-letter-table {
    display: block;
    width: 100%;
    font-size: 13px;
  }
  .offer-letter-table tbody {
    display: block;
    width: 100%;
  }
  .offer-letter-table tr {
    display: flex;
    flex-direction: column;
    margin-bottom: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
  }
  .offer-letter-table td {
    border: none;
    padding: 6px 12px;
  }
  .offer-letter-table td.strong-label {
    width: 100%;
    background: #f1f5f9;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #e2e8f0;
  }
  .verify-modal-card {
    padding: 20px 14px;
    border-radius: 16px;
  }
  .official-certificate-canvas {
    padding: 20px 10px;
    border-width: 6px;
    outline-width: 2px;
  }
  .cert-main-headline {
    font-size: 20px;
  }
  .cert-candidate-name {
    font-size: 18px;
  }
  .cert-body-paragraph {
    font-size: 12.5px;
    line-height: 1.5;
  }
  .cert-meta-item strong {
    font-size: 13px;
  }
  .status-search-box {
    flex-direction: column;
    gap: 10px;
  }
  .status-search-box input,
  .status-search-box button {
    width: 100%;
    border-radius: 8px;
  }
}

