@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

html, body{
  width: 100%;
  overflow-x: hidden;
}
  
:root{
  --brand-blue:#192F89;
  --accent:#1174BA;
  --gradient-start: rgba(25,47,137,0.92);
  --gradient-end: rgba(17,116,186,0.85);
  --card-shadow: 0 8px 24px rgba(25,47,137,.08);
  --card-shadow-hover: 0 16px 40px rgba(25,47,137,.18);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.career-page {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* =========================
   HERO SECTION
========================== */
.hero-section {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background:url("/img/career.jpg") center/cover no-repeat;
  background-color: var(--brand-blue);
}

.hero-section::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    135deg,
    rgba(25,47,137,0.85),
    rgba(17,116,186,0.85)
  );
}

.hero-section-bottom {
  position: relative;
  width: 100%;
  height: 50vh;
  min-height: 350px;
  /* margin-top: 80px; */
  overflow: hidden;
  background: url("/img/career1.jpg") center/cover no-repeat;
  background-color: var(--brand-blue);
}

.hero-section-bottom::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(25,47,137,0.75),
    rgba(17,116,186,0.75)
  );
}

@keyframes gradientShift {
  0% { background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%); }
  100% { background: linear-gradient(135deg, var(--gradient-end) 0%, var(--gradient-start) 100%); }
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 2rem 1.5rem;
  max-width: 900px;
  opacity: 0;
  transform: translateY(30px);
  will-change: opacity, transform;
  animation: fadeInUp 1.2s ease forwards 0.3s;
}

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

.hero-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: .03em;
  text-shadow: 0 8px 32px rgba(0,0,0,.4);
  line-height: 1.1;
}

.hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 400;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto;
  text-shadow: 0 4px 16px rgba(0,0,0,.3);
  line-height: 1.6;
}

/* =========================
   MAIN CONTENT - unified card wrapper
========================== */
.career-content-wrap {
  max-width: 1200px;
  margin: -48px auto 0;
  padding: 0 20px 80px;
  position: relative;
  z-index: 2;
}

.career-content {
  padding: 80px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  background-color: #fff;
  background-image:
    linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.97) 40%, rgba(255,255,255,0.85) 65%, rgba(255,255,255,0.65) 85%, rgba(255,255,255,0.4) 100%),
    url('/img/17973908.jpg');
  background-repeat: no-repeat;
  background-position: 0 0, center bottom;
  background-size: 100% 100%, 100% 55%;
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  transition: box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.career-content-wrap:hover .career-content {
  box-shadow: var(--card-shadow-hover);
}

/* =========================
   REVEAL ANIMATIONS (on load / on scroll)
========================== */
.career-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.career-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.career-reveal-delay-1 { transition-delay: 0.1s; }
.career-reveal-delay-2 { transition-delay: 0.2s; }
.career-reveal-delay-3 { transition-delay: 0.3s; }
.career-reveal-delay-4 { transition-delay: 0.4s; }

.career-reveal-item { transition-delay: 0s; }
.career-reveal.visible .career-reveal-item { transition-delay: 0s; }
.job-cards .career-reveal-item.visible { transition-delay: 0.05s; }
.job-cards .career-reveal-item.visible:nth-child(1) { transition-delay: 0.05s; }
.job-cards .career-reveal-item.visible:nth-child(2) { transition-delay: 0.12s; }
.job-cards .career-reveal-item.visible:nth-child(3) { transition-delay: 0.19s; }
.job-cards .career-reveal-item.visible:nth-child(4) { transition-delay: 0.26s; }
.job-cards .career-reveal-item.visible:nth-child(5) { transition-delay: 0.33s; }
.job-cards .career-reveal-item.visible:nth-child(6) { transition-delay: 0.4s; }
.job-cards .career-reveal-item.visible:nth-child(7) { transition-delay: 0.47s; }
.job-cards .career-reveal-item.visible:nth-child(8) { transition-delay: 0.54s; }
.job-cards .career-reveal-item.visible:nth-child(n+9) { transition-delay: 0.6s; }

/* =========================
   SECTION HEADERS (CONSISTENT STYLING)
========================== */
.section-header {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--brand-blue);
  margin-bottom: 30px;
  letter-spacing: .02em;
}

/* =========================
   LEFT SECTION - JOB LISTINGS
========================== */
.jobs-section h2 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--brand-blue);
  margin-bottom: 30px;
  letter-spacing: .02em;
}

.job-note {
  margin-bottom: 20px;
}

.job-note p {
  font-family: 'Inter', sans-serif;
  color: #334155;
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
}

.job-note strong {
  color: #dc2626;
  font-weight: 700;
}

.job-info {
  margin-bottom: 30px;
}

.job-info p {
  font-family: 'Inter', sans-serif;
  color: #334155;
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
}

.available-jobs-label {
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  color: var(--brand-blue);
  margin-bottom: 16px;
  margin-top: 24px;
  gap: 8px;
  font-weight: 700;
  letter-spacing: .05em;
}

/* =========================
   JOB CARD GRID SYSTEM - Optimized
========================== */
.job-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 0;
}

/* Card Box - Compact */
.job-card {
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #f0f0f0;
  contain: layout style paint;
  will-change: transform, box-shadow;
  cursor: pointer;
}

.job-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.job-card-image {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 10px;
  border-radius: 8px;
  background-color: #f8fafc;
}


.job-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--brand-blue);
  line-height: 1.2;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.job-card-meta {
  font-size: 0.88rem;
  color: #333;
  font-weight: 600;
  margin-bottom: 8px;
}

.job-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--brand-blue));
  color: white !important;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: .05em;
  margin-top: auto;
  align-self: center;
  transition: transform 0.3s ease;
  text-decoration: none;
  cursor: pointer;
  will-change: transform;
}

.job-card:hover .job-badge {
  transform: scale(1.05);
}

.career-job-inquiry-wrap {
  margin-top: 24px;
  padding-top: 20px;
  position: relative;
}

.career-job-inquiry-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--brand-blue));
  border-radius: 2px;
}

.career-job-inquiry {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #475569;
  margin: 0;
  line-height: 1.5;
}

.career-job-inquiry-email {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-blue);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.career-job-inquiry-email:hover {
  color: var(--accent);
  text-decoration: underline;
}

.career-job-inquiry-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  flex-shrink: 0;
}

.career-job-inquiry-icon svg {
  display: block;
}

/* =========================
   IMAGE POPUP MODAL
========================== */
.image-popup-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  will-change: opacity, visibility;
  padding: 20px;
}

.image-popup-modal.show {
  opacity: 1;
  visibility: visible;
}

.image-popup-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  transform: scale(0.8);
  transition: transform 0.3s ease;
  will-change: transform;
}

.image-popup-modal.show .image-popup-content {
  transform: scale(1);
}

.image-popup-content img {
  width: 100%;
  height: 100%;
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.image-popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
  border: none;
  padding: 0;
  font-size: 40px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: rgba(200, 200, 200, 0.8);
  font-weight: 200;
  z-index: 10001;
  line-height: 1;
  font-family: Arial, sans-serif;
}

.image-popup-close:hover {
  color: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}

/* =========================
   RIGHT SECTION - APPLICATION FORM
========================== */
.application-section {
  margin-bottom: 60px;
}

.application-section h2 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.65rem, 3.5vw, 2.1rem);
  font-weight: 800;
  color: var(--brand-blue);
  margin-bottom: 20px;
  letter-spacing: .02em;
}

.application-form {
  background: white;
  padding: 28px 24px;
  border-radius: 14px;
  box-shadow: var(--card-shadow);
  border: 1px solid #e8eef5;
  margin-bottom: 0;
  contain: layout style;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  font-family: 'Inter', sans-serif;
  display: block;
  font-weight: 600;
  color: var(--brand-blue);
  margin-bottom: 6px;
  font-size: 0.88rem;
}

.form-group.error label {
  color: #dc2626;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: 'Inter', sans-serif;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e1e9f4;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  background: #f8fafc;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: #dc2626;
  background: #fef2f2;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(17,116,186,0.1);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'%3E%3Cpath fill='%23192F89' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

.form-group textarea {
  resize: vertical;
  min-height: 88px;
  line-height: 1.5;
}

.error-message {
  display: none;
  color: #dc2626;
  font-size: 0.85rem;
  margin-top: 6px;
  font-weight: 500;
}

.form-group.error .error-message {
  display: block;
}

.file-upload {
  border: 2px dashed #c9d7e8;
  padding: 18px 14px;
  text-align: center;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #f8fafc;
}

.file-upload:hover {
  border-color: var(--accent);
  background: #e8f4fd;
}

.form-group.error .file-upload {
  border-color: #dc2626;
  background: #fef2f2;
}

.file-upload input[type="file"] {
  display: none;
}

.file-upload-label {
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  color: #5a6c8f;
  font-size: 0.88rem;
  font-weight: 500;
}

.file-upload-label small {
  display: block;
  margin-top: 4px;
  color: #8896ab;
  font-size: 0.8rem;
}

.file-upload-label .file-size-display {
  color: #5a6c8f;
  font-weight: 500;
}

.file-upload-label .file-warning-text {
  color: #dc2626 !important;
  font-weight: 600;
  margin-top: 4px;
  display: block;
}

.submit-btn {
  font-family: 'Inter', sans-serif;
  width: 100%;
  padding: 12px 16px;
  margin-top: 6px;
  background: linear-gradient(135deg, var(--accent), var(--brand-blue));
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  box-shadow: 0 4px 12px rgba(25,47,137,0.25);
  will-change: transform, box-shadow;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(25,47,137,0.4);
}

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

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

.submit-btn:disabled:hover {
  transform: none;
  box-shadow: 0 4px 12px rgba(25,47,137,0.3);
}

/* =========================
   SUCCESS POPUP - Optimized with backdrop-filter fallback
========================== */
.success-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(25, 47, 137, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  will-change: opacity, visibility;
}

.success-popup.show {
  opacity: 1;
  visibility: visible;
}

.success-popup-content {
  background: white;
  border-radius: 20px;
  padding: 40px;
  max-width: 520px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.8);
  transition: transform 0.3s ease;
  contain: layout style paint;
  will-change: transform;
}

.success-popup.show .success-popup-content {
  transform: scale(1);
}

.success-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 3rem;
  color: white;
  animation: scaleIn 0.5s ease 0.2s both;
  will-change: transform;
}

@keyframes scaleIn {
  from { transform: scale(0); }
  to { transform: scale(1); }
}

.success-popup h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--brand-blue);
  margin-bottom: 16px;
}

.success-popup p {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #5a6c8f;
  line-height: 1.7;
  margin-bottom: 28px;
}

.success-popup-btn {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, var(--accent), var(--brand-blue));
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  will-change: transform, box-shadow;
}

.success-popup-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(25,47,137,0.4);
}

/* =========================
   PROGRAM MAGANG (INTERNSHIP)
========================== */
@keyframes internship-gradient-flow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes internship-circle-float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -40px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(40px, 10px) scale(1.02); }
}

@keyframes internship-circle-float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-50px, -30px) scale(1.08); }
  66% { transform: translate(25px, 35px) scale(0.92); }
}

@keyframes internship-circle-float-3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-35px, -25px); }
}

@keyframes internship-circle-float-4 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40% { transform: translate(45px, 20px) scale(1.1); }
  80% { transform: translate(-30px, -45px) scale(0.9); }
}

@keyframes internship-circle-float-5 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-20px, 40px); }
}

@keyframes internship-circle-float-6 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  30% { transform: translate(35px, -35px) scale(0.95); }
  70% { transform: translate(-40px, 15px) scale(1.05); }
}

.internship-section {
  background: linear-gradient(145deg, #0f1d5c 0%, #152a6e 25%, var(--brand-blue) 50%, #0d1642 100%);
  background-size: 200% 200%;
  animation: internship-gradient-flow 18s ease infinite;
  padding: 72px 0 80px;
  margin-top: 8px;
  overflow-x: hidden;
  position: relative;
}

.internship-bg-circles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.internship-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.internship-circle-1 { width: 280px; height: 280px; top: 10%; left: 5%; animation: internship-circle-float-1 12s ease-in-out infinite; }
.internship-circle-2 { width: 180px; height: 180px; top: 25%; right: 8%; animation: internship-circle-float-2 14s ease-in-out infinite; }
.internship-circle-3 { width: 120px; height: 120px; bottom: 30%; left: 15%; animation: internship-circle-float-3 10s ease-in-out infinite; }
.internship-circle-4 { width: 220px; height: 220px; bottom: 15%; right: 12%; animation: internship-circle-float-4 16s ease-in-out infinite; }
.internship-circle-5 { width: 90px; height: 90px; top: 50%; left: 25%; animation: internship-circle-float-5 11s ease-in-out infinite; }
.internship-circle-6 { width: 150px; height: 150px; top: 60%; right: 20%; animation: internship-circle-float-6 13s ease-in-out infinite; }

.internship-section .internship-wrap,
.internship-section .internship-gallery-bleed {
  position: relative;
  z-index: 1;
}

.internship-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.internship-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  text-align: center;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.internship-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
  margin: 0 0 12px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.internship-teaser {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
  margin: 0 auto 28px;
  max-width: 640px;
}

.internship-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 0 0 36px;
  width: 100%;
}

.internship-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.35) 20%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0.35) 80%, transparent 100%);
}

.internship-divider-circle {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

/* Full-bleed gallery: no side space, edge-to-edge */
.internship-gallery-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 48px;
  padding: 0;
  overflow: hidden;
  position: relative;
}

/* Carousel scroll buttons */
.internship-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--brand-blue);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(25, 47, 137, 0.25);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.internship-carousel-btn:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 24px rgba(25, 47, 137, 0.35);
}

.internship-carousel-btn:active {
  transform: translateY(-50%) scale(0.98);
}

.internship-carousel-btn-prev {
  left: 16px;
}

.internship-carousel-btn-next {
  right: 16px;
}

/* Carousel: scroll horizontal + auto-scroll */
.internship-carousel-wrap {
  width: 100%;
  overflow: hidden;
  cursor: grab;
  user-select: none;
  -webkit-overflow-scrolling: touch;
}

.internship-carousel-wrap:active {
  cursor: grabbing;
}

.internship-carousel-track {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 0 8px;
  min-height: 280px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--brand-blue) rgba(0, 0, 0, 0.1);
}

.internship-carousel-track::-webkit-scrollbar {
  height: 8px;
}

.internship-carousel-track::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.06);
  border-radius: 4px;
}

.internship-carousel-track::-webkit-scrollbar-thumb {
  background: var(--brand-blue);
  border-radius: 4px;
}

.internship-gallery-item {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  width: 320px;
  min-height: 240px;
  aspect-ratio: 4/3;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  cursor: pointer;
}

.internship-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
}

.internship-gallery-item:hover img {
  transform: scale(1.08);
}

.internship-programs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.internship-program-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  align-self: stretch;
}

.internship-program-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: -36px;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.internship-program-item:hover .internship-program-icon {
  transform: scale(1.08);
}

.internship-program-card {
  background: #fff;
  border-radius: 20px;
  padding: 52px 28px 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
  width: 100%;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.internship-program-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  border-radius: 4px 0 0 4px;
  background: linear-gradient(180deg, var(--accent), var(--brand-blue));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.internship-program-item:hover .internship-program-card {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(25, 47, 137, 0.15), 0 8px 16px rgba(0, 0, 0, 0.06);
  border-color: rgba(25, 47, 137, 0.15);
}

.internship-program-item:hover .internship-program-card::before {
  opacity: 1;
}

.internship-program-icon svg {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}

.internship-program-icon-sysadmin {
  background: linear-gradient(145deg, #e0e7ff 0%, #a5b4fc 100%);
  color: #4f46e5;
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.25);
}

.internship-program-icon-it {
  background: linear-gradient(145deg, #dbeafe 0%, #93c5fd 100%);
  color: var(--accent);
  box-shadow: 0 8px 20px rgba(17, 116, 186, 0.2);
}

.internship-program-icon-design {
  background: linear-gradient(145deg, #fce7f3 0%, #f9a8d4 100%);
  color: #be185d;
  box-shadow: 0 8px 20px rgba(190, 24, 93, 0.2);
}

.internship-program-icon-other {
  background: linear-gradient(145deg, #d1fae5 0%, #6ee7b7 100%);
  color: #047857;
  box-shadow: 0 8px 20px rgba(4, 120, 87, 0.2);
}

.internship-program-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-blue);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  line-height: 1.25;
  flex-shrink: 0;
}

.internship-program-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.98rem;
  color: #475569;
  line-height: 1.65;
  margin: 0;
  flex: 1;
  min-height: 0;
}

.internship-program-list {
  list-style: disc;
  margin: 0.1rem 0 0 1.25rem;
  padding: 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.98rem;
  color: #475569;
  line-height: 1.5;
}

.internship-program-list li {
  margin-bottom: 0.1rem;
}

.internship-program-list li:last-child {
  margin-bottom: 0;
}

/* Apply Internship section (below testimonials) */
.internship-apply-section {
  text-align: center;
  margin-top: 36px;
  padding: 0 16px;
}

.internship-apply-heading {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 20px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.internship-apply-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-blue, #1e40af) 0%, #3b82f6 50%, #2563eb 100%);
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(30, 64, 175, 0.35), 0 1px 0 rgba(255, 255, 255, 0.15) inset;
  transition: transform 0.2s ease, box-shadow 0.25s ease, gap 0.2s ease;
  position: relative;
  overflow: hidden;
}

.internship-apply-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, transparent 50%);
  border-radius: inherit;
  pointer-events: none;
}

.internship-apply-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 28px rgba(30, 64, 175, 0.45), 0 1px 0 rgba(255, 255, 255, 0.2) inset;
  gap: 12px;
}

.internship-apply-btn:active {
  transform: translateY(-1px) scale(1);
  box-shadow: 0 4px 16px rgba(30, 64, 175, 0.4);
}

.internship-apply-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.95;
}

.internship-apply-btn-icon svg {
  flex-shrink: 0;
}

.internship-apply-btn-text {
  letter-spacing: 0.02em;
}

.internship-apply-btn-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.internship-apply-btn:hover .internship-apply-btn-arrow {
  transform: translateX(3px);
}

/* Internship Apply Modal */
.internship-apply-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.internship-apply-modal.show {
  opacity: 1;
  visibility: visible;
}

.internship-apply-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.internship-apply-modal-content {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.internship-apply-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  color: #64748b;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.internship-apply-modal-close:hover {
  color: #1e293b;
  background: #f1f5f9;
}

.internship-apply-modal-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand-blue, #1e40af);
  margin: 0 0 20px;
  padding-right: 36px;
}

.internship-form-error-msg {
  font-size: 0.9rem;
  color: #dc2626;
  margin: 0 0 16px;
  padding: 10px 12px;
  background: #fef2f2;
  border-radius: 8px;
}

.internship-form-group {
  margin-bottom: 16px;
}

.internship-form-group label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

.internship-form-group input,
.internship-form-group select,
.internship-form-group textarea {
  width: 100%;
  padding: 10px 12px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #1e293b;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  transition: border-color 0.2s;
}

.internship-form-group input:focus,
.internship-form-group select:focus,
.internship-form-group textarea:focus {
  outline: none;
  border-color: var(--brand-blue, #1e40af);
}

.internship-form-group.error input,
.internship-form-group.error select,
.internship-form-group.error textarea {
  border-color: #dc2626;
}

.internship-form-group.error .file-upload {
  border-color: #dc2626;
  background: #fef2f2;
}

.internship-apply-submit {
  width: 100%;
  margin-top: 8px;
  padding: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(145deg, var(--brand-blue, #1e40af) 0%, #2563eb 100%);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.internship-apply-submit:hover:not(:disabled) {
  opacity: 0.95;
}

.internship-apply-submit:disabled {
  cursor: not-allowed;
  opacity: 0.8;
}

/* Testimonials - Apa Kata Mereka */
.testimonials-glass-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 24px;
  padding: 40px 28px 36px;
  margin-top: 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.testimonials-block {
  padding-top: 0;
  border-top: none;
}

.testimonials-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  color: #fff;
  text-align: center;
  margin: 0 0 8px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.testimonials-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  margin: 0 0 36px;
}

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

.testimonial-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  align-self: stretch;
}

.testimonial-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: -36px;
  position: relative;
  z-index: 2;
  border: 4px solid rgba(25, 47, 137, 0.16);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.25);
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-card {
  background: #fff;
  border-radius: 16px;
  padding: 52px 24px 28px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: box-shadow 0.2s ease;
  width: 100%;
  flex: 1;
  min-height: 0;
}

.testimonial-item:hover .testimonial-card {
  box-shadow: 0 12px 32px rgba(25, 47, 137, 0.1);
}

.testimonial-quote {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.65;
  margin: 0 0 20px;
  font-style: italic;
  flex: 1;
  min-height: 0;
}

.testimonial-footer {
  margin-top: auto;
}

.testimonial-name {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--brand-blue);
  display: block;
  margin-bottom: 4px;
}

.testimonial-role {
  font-size: 0.82rem;
  color: #64748b;
}

.testimonial-university {
  display: block;
  margin-top: 2px;
  font-size: 0.8rem;
  color: #94a3b8;
}

@media (max-width: 900px) {
  .internship-gallery-bleed {
    margin-bottom: 36px;
  }
  .internship-carousel-btn {
    width: 42px;
    height: 42px;
  }
  .internship-carousel-btn-prev { left: 10px; }
  .internship-carousel-btn-next { right: 10px; }
  .internship-carousel-track {
    min-height: 220px;
  }
  .internship-gallery-item {
    width: 280px;
    min-height: 200px;
  }
  .internship-wrap {
    padding-left: 16px;
    padding-right: 16px;
  }
  .internship-programs {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-glass-card {
    padding: 32px 20px 28px;
    margin-top: 28px;
    border-radius: 20px;
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .internship-section {
    padding: 56px 0 64px;
  }
  .internship-wrap {
    padding-left: 14px;
    padding-right: 14px;
  }
  .internship-gallery-bleed {
    margin-bottom: 28px;
  }
  .internship-carousel-btn {
    width: 38px;
    height: 38px;
  }
  .internship-carousel-btn svg {
    width: 20px;
    height: 20px;
  }
  .internship-carousel-btn-prev { left: 8px; }
  .internship-carousel-btn-next { right: 8px; }
  .internship-carousel-track {
    min-height: 200px;
    gap: 8px;
  }
  .internship-gallery-item {
    width: 260px;
    min-height: 195px;
    aspect-ratio: 4/3;
  }
  .internship-programs {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 40px;
  }
  .internship-program-icon {
    width: 72px;
    height: 72px;
    margin-bottom: -32px;
  }
  .internship-program-icon svg {
    width: 36px;
    height: 36px;
  }
  .internship-program-card {
    padding: 46px 22px 26px;
  }
  .internship-program-title {
    font-size: 1.2rem;
  }
  .internship-program-desc {
    font-size: 0.92rem;
  }
  .internship-program-list {
    font-size: 0.92rem;
    margin-top: 0.1rem;
    margin-left: 1.1rem;
  }
  .testimonials-glass-card {
    padding: 28px 16px 24px;
    margin-top: 24px;
    border-radius: 18px;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .testimonial-card {
    padding: 46px 18px 22px;
  }
}

@media (max-width: 480px) {
  .internship-programs {
    gap: 14px;
    margin-bottom: 32px;
  }
  .internship-program-card {
    padding: 40px 16px 20px;
    border-radius: 16px;
  }
  .internship-program-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    margin-bottom: -28px;
  }
  .internship-program-icon svg {
    width: 32px;
    height: 32px;
  }
  .internship-program-title {
    font-size: 1.08rem;
    margin: 0 0 8px;
  }
  .internship-program-desc {
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
  }
  .internship-program-list {
    font-size: 0.85rem;
    margin-top: 0.1rem;
    margin-left: 1rem;
  }
}

/* =========================
   RESPONSIVE
========================== */
@media (max-width: 968px) {
  .career-content-wrap {
    margin-top: -36px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .career-content {
    grid-template-columns: 1fr;
    gap: 50px;
    padding: 64px 24px;
    border-radius: 16px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    height: 52vh;
    min-height: 360px;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .career-content-wrap {
    margin-top: -28px;
  }
  .career-content {
    padding: 56px 20px;
    gap: 45px;
    border-radius: 14px;
  }
  
  .jobs-section h2,
  .application-section h2 {
    font-size: 1.75rem;
    margin-bottom: 18px;
  }
  
  .job-note,
  .job-info {
    margin-bottom: 18px;
  }
  
  .application-form {
    padding: 24px 20px;
  }
  
  .form-group {
    margin-bottom: 12px;
  }
  
  .image-popup-close {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    font-size: 20px;
  }
}

@media (max-width: 576px) {
  .hero-section {
    height: 48vh;
    min-height: 320px;
  }
  
  .hero-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-content {
    padding: 1.5rem 1.2rem;
  }
  
  .career-content-wrap {
    margin-top: -20px;
    padding-left: 12px;
    padding-right: 12px;
    padding-bottom: 56px;
  }
  .career-content {
    padding: 48px 16px;
    gap: 40px;
    border-radius: 12px;
  }
  
  .jobs-section h2,
  .application-section h2 {
    font-size: 1.6rem;
    margin-bottom: 16px;
  }
  
  .job-note,
  .job-info {
    margin-bottom: 16px;
    font-size: 0.9rem;
  }
  
  .available-jobs-label {
    margin-top: 20px;
    margin-bottom: 12px;
    font-size: 0.9rem;
  }
  
  .job-cards {
    gap: 10px;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
  
  .job-card {
    padding: 10px;
  }
  
  .job-card h3 {
    font-size: 0.78rem;
  }
  
  .job-card-meta {
    font-size: 0.82rem;
  }
  
  .application-form {
    padding: 20px 16px;
  }
  
  .form-group {
    margin-bottom: 12px;
  }
  
  .form-group label {
    font-size: 0.85rem;
    margin-bottom: 5px;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 9px 11px;
    font-size: 0.9rem;
  }
  
  .file-upload {
    padding: 14px 12px;
  }
  
  .submit-btn {
    padding: 11px 14px;
    margin-top: 4px;
    font-size: 0.9rem;
    letter-spacing: 1px;
  }
  
  .success-popup-content {
    padding: 32px 24px;
  }

  .success-icon {
    width: 70px;
    height: 70px;
    font-size: 2.5rem;
  }

  .success-popup h3 {
    font-size: 1.5rem;
  }
  
  .success-popup p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .image-popup-content img {
    max-width: 95vw;
    max-height: 85vh;
  }
  
  .image-popup-close {
    font-size: 32px;
    top: 10px;
    right: 10px;
  }
}

/* === ERROR STATE STYLING === */
/* Styling untuk Error Icon (Merah) */
.error-icon {
  background: linear-gradient(135deg, #ef4444, #dc2626) !important; /* Warna Merah */
  font-size: 2.5rem;
}

/* Styling untuk Tombol Error (Merah) */
.error-btn {
  background: linear-gradient(135deg, #ef4444, #dc2626) !important;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.error-btn:hover {
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.4);
}