/* ============================================
   ZONIX Internship Page — internship-page.css
   ============================================ */

/* ── HERO ── */
.intern-hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(7,24,48,0.95) 0%, rgba(11,94,215,0.82) 100%),
              url('poster.jpg') center/cover no-repeat;
  color: #fff;
  overflow: hidden;
  text-align: center;
}

.intern-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 60%, rgba(11,94,215,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.intern-hero-inner {
  position: relative;
  z-index: 1;
  padding: 4rem 0 3.5rem;
  width: 100%;
}

/* Live badge */
.intern-hero-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(74,222,128,0.12);
  border: 1px solid rgba(74,222,128,0.35);
  border-radius: 999px;
  padding: 0.32rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 800;
  color: #86efac;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.intern-hero-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  flex-shrink: 0;
  animation: hero-pulse 2s ease infinite;
}

@keyframes hero-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(74,222,128,0.5); }
  50%      { box-shadow: 0 0 0 5px rgba(74,222,128,0); }
}

.intern-hero h1 {
  color: #fff;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  margin-bottom: 0.8rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.intern-hero-sub {
  color: rgba(255,255,255,0.82);
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
}

/* ── BIG CENTER COUNTDOWN ── */
.intern-hero-countdown {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 20px;
  padding: 1.8rem 2.5rem 1.6rem;
  backdrop-filter: blur(10px);
  margin: 0 auto 2rem;
  max-width: 520px;
  width: 100%;
}

.intern-hero-cd-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin: 0 0 1rem;
}

.intern-hero-cd-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.intern-hero-cd-box {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  text-align: center;
  min-width: 90px;
  backdrop-filter: blur(6px);
}

.intern-hero-cd-box span {
  display: block;
  font-size: 3rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.intern-hero-cd-box small {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.35rem;
}

.intern-hero-cd-sep {
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.2rem;
  flex-shrink: 0;
}

.intern-hero-cd-note {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin: 0.9rem 0 0;
}

.intern-hero-cd-note strong { color: rgba(255,255,255,0.8); }

/* Scroll CTA */
.intern-hero-scroll-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #0b5ed7;
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.85rem 1.6rem;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 10px 28px rgba(11,94,215,0.4);
}

.intern-hero-scroll-btn svg { width: 16px; height: 16px; }

.intern-hero-scroll-btn:hover {
  background: #0847a5;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(11,94,215,0.5);
}

/* ── STATS STRIP ── */
.intern-stats-strip {
  background: #eaf2ff; /* var(--accent-soft) */
  padding: 1.6rem 0;
  border-bottom: 1px solid #dfe7f2; /* var(--line) */
}

.intern-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.intern-stat {
  text-align: center;
  padding: 0.8rem;
  border-right: 1px solid rgba(11, 94, 215, 0.15);
}

.intern-stat:last-child { border-right: none; }

.intern-stat-num {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  color: #0b5ed7; /* var(--accent) */
  line-height: 1.1;
  margin-bottom: 0.3rem;
}

.intern-stat-label {
  display: block;
  font-size: 0.85rem;
  color: #2b3b4f; /* var(--text) */
  font-weight: 600;
}

/* ── ABOUT SECTION ── */
.intern-about {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.5rem;
  align-items: center;
  padding: 1rem 0;
}

.intern-about-text h2 { margin-bottom: 0.8rem; }
.intern-about-text p  { color: #36506e; line-height: 1.65; }

.intern-benefit-list {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  margin-top: 1rem;
}

.intern-benefit-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #1f3856;
  font-weight: 600;
  font-size: 0.97rem;
}

.intern-benefit-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #eaf2ff;
  border: 1px solid #c8dbf7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.intern-benefit-icon svg {
  width: 12px;
  height: 12px;
  stroke: #0b5ed7;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.intern-about-image img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid #d7e5fb;
  box-shadow: 0 16px 40px rgba(11,44,83,0.12);
  object-fit: cover;
  aspect-ratio: 4/3;
}

/* ── ROLE CARDS ── */
.role-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eaf2ff;
  border: 1px solid #c8dbf7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.3rem;
}

.role-icon-wrap svg {
  width: 20px;
  height: 20px;
  stroke: #0b5ed7;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.role-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.4rem 0;
}

.role-tag {
  background: #eaf2ff;
  border: 1px solid #c8dbf7;
  color: #0b5ed7;
  font-size: 0.72rem;
  font-weight: 800;
  border-radius: 999px;
  padding: 0.22rem 0.6rem;
  letter-spacing: 0.03em;
}

.role-deadline {
  font-size: 0.88rem;
  color: #4a6688;
  margin: 0.2rem 0 0;
}

/* ── APPLY NOW BUTTON FIX ── */
.internship-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.internship-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.2rem;
  border-radius: 9px;
  font-weight: 800;
  font-size: 0.88rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.internship-actions .btn-primary {
  background: #0b5ed7;
  color: #ffffff;
  border: none;
  box-shadow: 0 6px 18px rgba(11,94,215,0.28);
}

.internship-actions .btn-primary:hover {
  background: #0847a5;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(11,94,215,0.38);
}

/* ── PROCESS STEPS ── */
.intern-process { padding: 1rem 0; }

.intern-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.intern-step {
  text-align: center;
  padding: 1.5rem 1rem;
}

.intern-step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.9rem;
}

.intern-step h3 { font-size: 1.05rem; margin-bottom: 0.5rem; color: #0b2c53; }
.intern-step p  { font-size: 0.92rem; color: #36506e; margin: 0; line-height: 1.55; }

/* ── ELIGIBILITY + DEADLINE BOX ── */
.intern-eligibility { padding: 1rem 0 2rem; }

.intern-elig-card {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  align-items: start;
  padding: 2rem;
  border-color: #c8dbf7;
  background: linear-gradient(135deg, #f7faff 0%, #fff 100%);
}

.intern-elig-text h2 { margin-bottom: 0.8rem; }

.intern-elig-list {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  margin-top: 0.5rem;
}

.intern-elig-list li {
  padding-left: 1.2rem;
  position: relative;
  color: #2b3b4f;
  font-size: 0.96rem;
  line-height: 1.5;
}

.intern-elig-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #0b5ed7;
  font-weight: 900;
}

/* Professional Deadline Box */
.intern-deadline-box {
  background: linear-gradient(160deg, #071828 0%, #0b2c53 50%, #0d3d72 100%);
  border-radius: 18px;
  padding: 1.6rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  align-items: center;
  text-align: center;
  box-shadow: 0 20px 50px rgba(7,24,48,0.3);
  position: relative;
  overflow: hidden;
}

.intern-deadline-box::before {
  content: '';
  position: absolute;
  top: -40px;
  left: -40px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(11,94,215,0.25) 0%, transparent 70%);
  pointer-events: none;
}

/* Live badge inside deadline box */
.intern-dl-live {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(74,222,128,0.12);
  border: 1px solid rgba(74,222,128,0.3);
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 800;
  color: #86efac;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.intern-dl-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  animation: hero-pulse 2s ease infinite;
  flex-shrink: 0;
}

.intern-dl-title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

.intern-dl-date {
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: 0.02em;
}

/* Mini countdown inside deadline box */
.intern-dl-countdown {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  width: 100%;
  justify-content: center;
}

.intern-dl-cd {
  text-align: center;
  min-width: 48px;
}

.intern-dl-cd span {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.intern-dl-cd small {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.18rem;
}

.intern-dl-colon {
  font-size: 1.3rem;
  font-weight: 900;
  color: rgba(255,255,255,0.3);
  margin-bottom: 0.7rem;
  flex-shrink: 0;
}

.intern-dl-sub {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.55;
  margin: 0;
}

/* CTA button inside deadline box */
.intern-dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #fff;
  color: #0b2c53;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.8rem 1.3rem;
  border-radius: 10px;
  text-decoration: none;
  width: 100%;
  justify-content: center;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 22px rgba(0,0,0,0.2);
}

.intern-dl-btn svg { width: 14px; height: 14px; stroke: #0b2c53; }

.intern-dl-btn:hover {
  background: #dbeafe;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.28);
}

.intern-dl-note {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  margin: 0;
  line-height: 1.6;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .intern-about       { grid-template-columns: 1fr; }
  .intern-about-image { max-width: 480px; }
  .intern-elig-card   { grid-template-columns: 1fr; }
  .intern-deadline-box { max-width: 420px; margin: 0 auto; }
  .intern-hero-countdown { padding: 1.6rem 2rem; }
}

@media (max-width: 860px) {
  .intern-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intern-stat { border-right: none; border-bottom: 1px solid rgba(11, 94, 215, 0.15); }
  .intern-stat:nth-child(odd) { border-right: 1px solid rgba(11, 94, 215, 0.15); }
  .intern-process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intern-hero { min-height: 520px; }
  .intern-hero-countdown { padding: 1.4rem 1.6rem; width: calc(100% - 2rem); }
  .intern-hero-cd-label { font-size: 0.75rem; }
  .intern-hero-cd-box { min-width: 72px; padding: 0.8rem 0.9rem; }
  .intern-hero-cd-box span { font-size: 2.2rem; }
  .intern-hero-cd-sep { font-size: 2rem; }
}

@media (max-width: 620px) {
  .intern-stats-grid   { grid-template-columns: 1fr 1fr; }
  .intern-process-grid { grid-template-columns: 1fr; }
  .intern-hero { min-height: 480px; padding: 1rem 0; }
  .intern-hero-inner { padding: 2rem 1.2rem 2.5rem; }
  .intern-hero h1 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 0.6rem; }
  .intern-hero-sub { font-size: 0.95rem; margin-bottom: 1.5rem; }
  .intern-hero-countdown { padding: 1.2rem 1rem; width: calc(100% - 2.4rem); margin: 0 auto 1.5rem; max-width: none; }
  .intern-hero-cd-label { font-size: 0.72rem; margin-bottom: 0.8rem; }
  .intern-hero-cd-row { gap: 0.4rem; }
  .intern-hero-cd-box { min-width: 58px; padding: 0.65rem 0.5rem; }
  .intern-hero-cd-box span { font-size: 1.6rem; }
  .intern-hero-cd-box small { font-size: 0.65rem; margin-top: 0.25rem; }
  .intern-hero-cd-sep { font-size: 1.4rem; margin-bottom: 0.8rem; }
  .intern-hero-cd-note { font-size: 0.7rem; }
}

@media (max-width: 480px) {
  .intern-stats-grid { grid-template-columns: 1fr; }
  .intern-hero { min-height: 440px; }
  .intern-hero-inner { padding: 1.5rem 1rem 2rem; }
  .intern-hero h1 { font-size: clamp(1.4rem, 3vw, 2rem); }
  .intern-hero-sub { font-size: 0.9rem; line-height: 1.5; max-width: 100%; }
  .intern-hero-countdown { padding: 1rem 0.8rem; width: calc(100% - 1.6rem); }
  .intern-hero-cd-box { min-width: 50px; padding: 0.6rem 0.4rem; }
  .intern-hero-cd-box span { font-size: 1.4rem; }
  .intern-hero-cd-sep { font-size: 1.2rem; }
}

/* =======================
   2026 Layout Overrides
   ======================= */

/* Move timer visually higher in hero */
.intern-hero-inner {
  padding-top: 2.9rem;
}

.intern-hero .reveal {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.intern-hero-countdown {
  margin-bottom: 1rem;
}

.intern-hero-sub {
  margin-bottom: 1.2rem;
}

.intern-about {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem;
  border: 1px solid #d7e5fb;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

@media (max-width: 1024px) {
  .intern-about {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }
}

.intern-about-text p {
  max-width: 86ch;
}

.intern-about-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.about-highlight-item {
  border: 1px solid #c8dbf7;
  border-radius: 12px;
  background: #edf4ff;
  padding: 0.85rem 0.9rem;
}

.about-highlight-item strong {
  display: block;
  margin-bottom: 0.3rem;
  color: #0b2c53;
}

.about-highlight-item span {
  color: #36506e;
  font-size: 0.9rem;
  line-height: 1.45;
}

/* Convert internship fields to horizontal posting layout */
.internship-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.95rem;
}

.internship-role {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  column-gap: 1rem;
  row-gap: 0.35rem;
  align-items: start;
  border: 1px solid #c8dbf7;
  border-radius: 12px;
  padding: 1rem 1.1rem;
}

.internship-role .role-icon-wrap {
  grid-column: 1;
  grid-row: 1 / span 5;
  margin: 0;
}

.internship-role .role-small {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
}

.internship-role h3 {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  font-size: 1.1rem;
}

.internship-role .role-description {
  grid-column: 2;
  grid-row: 3;
  margin: 0;
}

.internship-role .role-meta {
  grid-column: 2;
  grid-row: 4;
  margin: 0.2rem 0 0;
}

.internship-role .role-deadline {
  grid-column: 2;
  grid-row: 5;
  margin: 0.2rem 0 0;
}

.internship-role .internship-actions {
  grid-column: 3;
  grid-row: 1 / span 5;
  align-self: center;
  justify-content: flex-end;
  margin: 0;
}

/* Responsive behavior for horizontal cards */
@media (max-width: 1024px) {
  .intern-about-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .internship-role {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .internship-role .internship-actions {
    grid-column: 2;
    grid-row: auto;
    justify-content: flex-start;
    margin-top: 0.35rem;
  }
}

@media (max-width: 620px) {
  .intern-about {
    padding: 1rem;
  }

  .intern-about-highlights {
    grid-template-columns: 1fr;
  }

  .internship-role {
    grid-template-columns: 1fr;
    row-gap: 0.45rem;
  }

  .internship-role .role-icon-wrap,
  .internship-role .role-small,
  .internship-role h3,
  .internship-role .role-description,
  .internship-role .role-meta,
  .internship-role .role-deadline,
  .internship-role .internship-actions {
    grid-column: 1;
    grid-row: auto;
  }

  .internship-role .internship-actions .btn {
    width: 100%;
  }
}
