/* ============================================================
   INTERNSHIP PAGE STYLES
   Matches Saroila Vision dark theme
============================================================ */

:root {
  --int-accent:  #00e5ff;
  --int-accent2: #7c4dff;
  --int-glow:    rgba(0, 229, 255, 0.35);
  --bg:          #07080f;
  --panel:       rgba(255,255,255,.06);
  --border:      rgba(255,255,255,.12);
  --text:        #ffffff;
  --muted:       #9ca3af;
  --body-font:   'Plus Jakarta Sans', system-ui, sans-serif;
  --heading-font:'Orbitron', sans-serif;
}

/* ── Override global Orbitron body font for this page ──────── */
body.theme-internship {
  font-family: var(--body-font);
  --header-accent: var(--int-accent);
  background: var(--bg);
  color: var(--text);
}

/* ===================== HERO ===================== */
.int-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #07080f; /* fallback if image fails */
}

.int-hero-img-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.int-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.32) saturate(0.65);
}

.int-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(7, 8, 15, 0.92) 45%,
    rgba(0, 229, 255, 0.06) 100%
  );
}

.int-hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 150px 60px 90px;
}

.int-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--int-accent);
  font-family: var(--body-font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.int-kicker::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--int-accent);
  border-radius: 2px;
}

.int-hero-title {
  font-family: var(--heading-font);
  font-size: clamp(28px, 6.5vw, 80px);
  font-weight: 900;
  line-height: 1.06;
  color: #fff;
  margin: 0 0 28px;
  letter-spacing: -1px;
}

.int-accent {
  color: var(--int-accent);
}

.int-hero-sub {
  font-family: var(--body-font);
  color: #b0b8c8;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  max-width: 560px;
  margin: 0 0 44px;
}

.int-cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--int-accent), var(--int-accent2));
  color: #000;
  font-family: var(--body-font);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  text-decoration: none;
  padding: 16px 38px;
  border-radius: 50px;
  box-shadow: 0 0 32px var(--int-glow);
  transition: transform .2s ease, box-shadow .2s ease;
  text-transform: uppercase;
}

.int-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 56px var(--int-glow);
}

/* ===================== FEATURES STRIP ===================== */
.int-features {
  display: flex;
  justify-content: center;
  gap: 0;
  background: rgba(255,255,255,.03);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.int-feature {
  text-align: center;
  flex: 1;
  min-width: 200px;
  padding: 44px 32px;
  border-right: 1px solid var(--border);
}

.int-feature:last-child {
  border-right: none;
}

.int-feature-icon {
  font-size: 34px;
  margin-bottom: 14px;
  display: block;
}

.int-feature h3 {
  font-family: var(--body-font);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
  letter-spacing: 0.3px;
}

.int-feature p {
  font-family: var(--body-font);
  color: var(--muted);
  font-size: 13px;
  margin: 0;
  line-height: 1.5;
}

/* ===================== SHARED SECTION HEADER ===================== */
.int-section-header {
  text-align: center;
  margin-bottom: 52px;
}

.int-section-header h2 {
  font-family: var(--heading-font);
  font-size: clamp(22px, 3.5vw, 36px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.int-section-header p {
  font-family: var(--body-font);
  color: var(--muted);
  font-size: 16px;
  font-weight: 400;
  margin: 0;
}

/* ===================== PROGRAMMES / TRACKS ===================== */
.int-programmes {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.int-tracks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.int-track-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 44px 40px;
  position: relative;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.int-track-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 24px 60px rgba(0, 229, 255, 0.08);
}

.int-track-featured {
  border-color: rgba(0, 229, 255, 0.4);
  background: rgba(0, 229, 255, 0.05);
  box-shadow: 0 0 50px rgba(0, 229, 255, 0.06);
}

.int-track-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--int-accent), var(--int-accent2));
  color: #000;
  font-family: var(--body-font);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 50px;
  white-space: nowrap;
}

.int-track-icon {
  font-size: 40px;
  margin-bottom: 18px;
  display: block;
}

.int-track-card h3 {
  font-family: var(--body-font);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
  letter-spacing: -0.2px;
}

.int-track-card > p {
  font-family: var(--body-font);
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
  margin: 0 0 22px;
}

.int-track-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.int-track-card ul li {
  font-family: var(--body-font);
  color: #c8cfd8;
  font-size: 14px;
  font-weight: 400;
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}

.int-track-card ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--int-accent);
  font-weight: 700;
}

.int-track-cta {
  display: inline-block;
  border: 1px solid rgba(0, 229, 255, 0.5);
  color: var(--int-accent);
  font-family: var(--body-font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  padding: 10px 26px;
  border-radius: 50px;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.int-track-cta:hover {
  background: var(--int-accent);
  color: #000;
  border-color: var(--int-accent);
  box-shadow: 0 0 20px var(--int-glow);
}

/* ===================== DURATION ===================== */
.int-duration {
  padding: 100px 40px;
  background: rgba(255,255,255,.02);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.int-duration-grid {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  max-width: 860px;
  margin: 0 auto;
}

.int-dur-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 40px 36px;
  text-align: center;
  flex: 1;
  min-width: 200px;
  max-width: 240px;
  position: relative;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.int-dur-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 229, 255, 0.35);
  box-shadow: 0 16px 40px rgba(0, 229, 255, 0.07);
}

.int-dur-popular {
  border-color: rgba(0, 229, 255, 0.45);
  background: rgba(0, 229, 255, 0.06);
}

.int-dur-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--int-accent), var(--int-accent2));
  color: #000;
  font-family: var(--body-font);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 4px 14px;
  border-radius: 50px;
  white-space: nowrap;
  text-transform: uppercase;
}

.int-dur-num {
  display: block;
  font-family: var(--heading-font);
  font-size: clamp(36px, 8vw, 60px);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}

.int-dur-label {
  display: block;
  font-family: var(--body-font);
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 16px;
}

.int-dur-card p {
  font-family: var(--body-font);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
}

/* ===================== APPLICATION FORM ===================== */
.int-apply {
  padding: 100px 40px;
  max-width: 860px;
  margin: 0 auto;
}

/* Widen the section header inside apply so it doesn't feel cramped */
.int-apply .int-section-header {
  max-width: 100%;
}

.int-form-wrap {
  background: rgba(255,255,255,.035);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 56px;
}

.int-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.int-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.int-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.int-form-group label {
  font-family: var(--body-font);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #c0c8d4;
}

.int-form-group label span {
  color: var(--int-accent);
}

.int-form-group input,
.int-form-group select,
.int-form-group textarea {
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: #fff;
  font-family: var(--body-font);
  font-size: 15px;
  font-weight: 400;
  padding: 13px 16px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
  width: 100%;
  box-sizing: border-box;
}

.int-form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2300e5ff' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}

.int-form-group select option {
  background: #0e1018;
  color: #fff;
}

.int-form-group input:focus,
.int-form-group select:focus,
.int-form-group textarea:focus {
  border-color: var(--int-accent);
  background: rgba(0, 229, 255, 0.04);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.1);
}

.int-form-group input::placeholder,
.int-form-group textarea::placeholder {
  color: rgba(255,255,255,.28);
  font-weight: 400;
}

.int-form-group textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

/* Checkbox */
.int-checkbox-group {
  flex-direction: row;
  align-items: flex-start;
  gap: 0;
}

.int-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-family: var(--body-font);
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.55;
}

.int-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  padding: 0;
  accent-color: var(--int-accent);
  margin-top: 2px;
  cursor: pointer;
}

/* Submit button */
.int-submit-btn {
  background: linear-gradient(135deg, var(--int-accent), var(--int-accent2));
  border: none;
  border-radius: 50px;
  color: #000;
  cursor: pointer;
  font-family: var(--body-font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 17px 44px;
  align-self: flex-start;
  box-shadow: 0 0 30px var(--int-glow);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.int-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 56px var(--int-glow);
}

/* Spinner */
.int-spinner {
  width: 18px;
  height: 18px;
  border: 3px solid rgba(0,0,0,.25);
  border-top-color: #000;
  border-radius: 50%;
  animation: int-spin .7s linear infinite;
}

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

/* Status */
.int-form-status {
  font-family: var(--body-font);
  font-size: 14px;
  font-weight: 500;
  padding: 14px 18px;
  border-radius: 10px;
  display: none;
  line-height: 1.5;
}

.int-form-status.success {
  display: block;
  background: rgba(34,197,94,.1);
  border: 1px solid rgba(34,197,94,.3);
  color: #4ade80;
}

.int-form-status.error {
  display: block;
  background: rgba(239,68,68,.08);
  border: 1px solid rgba(239,68,68,.28);
  color: #f87171;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
  .int-hero-content {
    padding: 120px 28px 64px;
  }

  .int-features {
    flex-direction: column;
    gap: 0;
  }

  .int-feature {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 32px 28px;
  }

  .int-feature:last-child {
    border-bottom: none;
  }

  .int-form-wrap {
    padding: 36px 24px;
  }

  .int-form-row {
    grid-template-columns: 1fr;
  }

  .int-tracks-grid {
    grid-template-columns: 1fr;
  }

  .int-submit-btn {
    width: 100%;
    justify-content: center;
  }

  .int-programmes,
  .int-apply {
    padding: 64px 20px;
  }

  .int-duration {
    padding: 64px 20px;
  }
}

@media (max-width: 480px) {
  /* Hero */
  .int-hero-content { padding: 90px 18px 40px; }
  .int-hero-sub { font-size: 15px; }
  .int-cta-btn { font-size: 13px; padding: 13px 28px; }
  .int-hero-title { letter-spacing: -0.5px; }

  /* Features */
  .int-feature { padding: 24px 18px; }

  /* Tracks */
  .int-programmes,
  .int-apply { padding: 48px 16px; }
  .int-track-card { padding: 28px 20px; }
  .int-track-card h3 { font-size: 17px; }

  /* Duration */
  .int-duration { padding: 48px 16px; }
  .int-dur-card {
    min-width: 140px;
    max-width: 100%;
    padding: 28px 20px;
  }
  .int-duration-grid { gap: 16px; }

  /* Form */
  .int-form-wrap { padding: 24px 16px; }
  .int-form-group input,
  .int-form-group select,
  .int-form-group textarea { padding: 11px 12px; font-size: 14px; }
  .int-submit-btn { font-size: 12px; letter-spacing: 0.5px; padding: 14px 24px; }
}
