/* --- My Career Page Specific Styles --- */

/* Back Button */
.back-button {
  position: fixed;
  top: 30px;
  left: 30px;
  z-index: 1001;
}

.back-button a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  text-decoration: none;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 153, 51, 0.3);
  border-radius: 25px;
  padding: 12px 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 14px;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.back-button a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 153, 51, 0.1),
    transparent
  );
  transition: left 0.5s;
}

.back-button a:hover::before {
  left: 100%;
}

.back-button a:hover {
  transform: translateX(-5px);
  background: rgba(255, 153, 51, 0.1);
  border-color: rgba(255, 153, 51, 0.5);
  box-shadow: 0 6px 25px rgba(255, 153, 51, 0.2);
}

.back-button i {
  color: #ff9933;
  text-shadow: 0 0 10px rgba(255, 153, 51, 0.5);
}

/* Career Header */
.career-header {
  text-align: center;
  margin: 100px 0 80px 0;
  padding: 0 20px;
  position: relative;
}

.header-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(255, 153, 51, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: headerPulse 4s ease-in-out infinite;
}

@keyframes headerPulse {
  0%,
  100% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

.career-title {
  font-size: 64px;
  font-weight: 700;
  margin: 0;
  position: relative;
  z-index: 2;
}

.title-line {
  display: block;
  background: linear-gradient(135deg, #ffffff 0%, #ff9933 50%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(255, 153, 51, 0.5);
  animation: titleGlow 3s ease-in-out infinite;
}

.title-line:nth-child(2) {
  animation-delay: 0.5s;
}

@keyframes titleGlow {
  0%,
  100% {
    text-shadow: 0 0 30px rgba(255, 153, 51, 0.5);
  }
  50% {
    text-shadow: 0 0 50px rgba(255, 153, 51, 0.8);
  }
}

.mission-log {
  margin-top: 30px;
  position: relative;
  z-index: 2;
}

.log-text {
  font-family: "Courier New", Courier, monospace;
  font-size: 18px;
  color: #ff9933;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 500;
  text-shadow: 0 0 15px rgba(255, 153, 51, 0.4);
}

.log-line {
  width: 200px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ff9933, transparent);
  margin: 15px auto 0;
  box-shadow: 0 0 10px rgba(255, 153, 51, 0.5);
}

/* Summary Section */
.summary-section {
  margin-bottom: 150px;
  padding: 0 20px;
}

.summary-card {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  background: rgba(20, 20, 20, 0.4);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 153, 51, 0.3);
  border-radius: 25px;
  padding: 50px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 153, 51, 0.05) 0%,
    rgba(255, 153, 51, 0.02) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.summary-card:hover .card-glow {
  opacity: 1;
}

.summary-content {
  display: flex;
  align-items: center;
  gap: 30px;
  position: relative;
  z-index: 2;
}

.summary-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle at 30% 30%, #ff9933, #ffaa44, #ff5f1f);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(255, 153, 51, 0.4);
  animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.summary-icon i {
  font-size: 32px;
  color: #000000;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.summary-content p {
  font-size: 20px;
  line-height: 1.8;
  color: #a0a0a0;
  margin: 0;
  flex: 1;
}

/* Timeline Section */
.timeline-section {
  margin: 150px 0;
  padding: 0 20px;
  position: relative;
}

.timeline-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  transform: translateX(-50%);
  z-index: 0;
}

.line-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255, 153, 51, 0.3) 20%,
    rgba(255, 153, 51, 0.8) 50%,
    rgba(255, 153, 51, 0.3) 80%,
    transparent 100%
  );
  opacity: 0;
  animation: timelineGlow 2s ease-in-out 0.5s forwards;
  z-index: 0;
}

.line-pulse {
  position: absolute;
  top: 0;
  left: 50%;
  width: 8px;
  height: 8px;
  background: #ff9933;
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 20px rgba(255, 153, 51, 0.8);
  animation: pulseMove 3s ease-in-out infinite;
  z-index: 0;
}

@keyframes timelineGlow {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes pulseMove {
  0%,
  100% {
    top: 0;
    opacity: 1;
  }
  50% {
    top: 100%;
    opacity: 0;
  }
}

/* Timeline Waypoints */
.timeline-waypoint {
  position: relative;
  margin: 200px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(50px);
  animation: waypointFadeIn 1s ease-out forwards;
}

.timeline-waypoint .waypoint-content {
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-waypoint.animate .waypoint-content {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.timeline-waypoint:nth-child(2) {
  animation-delay: 1s;
}

.timeline-waypoint:nth-child(3) {
  animation-delay: 1.5s;
}

.timeline-waypoint:nth-child(4) {
  animation-delay: 2s;
}

.timeline-waypoint:nth-child(1) .waypoint-content {
  animation-delay: 0.5s;
}

.timeline-waypoint:nth-child(2) .waypoint-content {
  animation-delay: 1.2s;
}

.timeline-waypoint:nth-child(3) .waypoint-content {
  animation-delay: 1.8s;
}

@keyframes waypointFadeIn {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes subtleBounce {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-3px);
  }
}

/* Cards alternating left and right, circles on center timeline */
.timeline-waypoint:nth-child(odd) .waypoint-content {
  position: absolute;
  right: 50%;
  margin-right: 100px;
  text-align: right;
  transform-origin: right center;
}

.timeline-waypoint:nth-child(odd) .waypoint-content::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -60px;
  width: 60px;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(255, 153, 51, 0.8) 0%,
    rgba(255, 153, 51, 0.3) 100%
  );
  transform: translateY(-50%);
  box-shadow: 0 0 10px rgba(255, 153, 51, 0.5);
}

.timeline-waypoint:nth-child(even) .waypoint-content {
  position: absolute;
  left: 50%;
  margin-left: 100px;
  text-align: left;
  transform-origin: left center;
}

.timeline-waypoint:nth-child(even) .waypoint-content::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -60px;
  width: 60px;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(255, 153, 51, 0.3) 0%,
    rgba(255, 153, 51, 0.8) 100%
  );
  transform: translateY(-50%);
  box-shadow: 0 0 10px rgba(255, 153, 51, 0.5);
}

.waypoint-circle {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background: radial-gradient(circle at 30% 30%, #ff9933, #ffaa44, #ff5f1f);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 4px solid rgba(255, 153, 51, 0.6);
  z-index: 10;
  overflow: hidden;
}

.circle-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at center,
    rgba(255, 153, 51, 0.3) 0%,
    transparent 70%
  );
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.waypoint-circle:hover .circle-glow {
  opacity: 1;
}

.waypoint-circle:hover {
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 0 60px rgba(255, 153, 51, 0.8);
  border-color: rgba(255, 153, 51, 1);
}

.waypoint-circle i {
  font-size: 28px;
  color: #000000;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
  position: relative;
  z-index: 2;
}

.waypoint-content {
  background: transparent;
  backdrop-filter: none;
  border: none;
  border-radius: 0;
  padding: 40px;
  box-shadow: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  max-width: 450px;
  transform: translateY(0);
  z-index: 5;
  animation: subtleBounce 4s ease-in-out infinite;
}

.waypoint-content .content-overlay {
  display: none;
}

.waypoint-content::after {
  display: none;
}

.waypoint-content:hover .content-overlay {
  display: none;
}

.waypoint-content:hover::after {
  display: none;
}

.waypoint-content:hover {
  transform: translateY(0);
}

.waypoint-content h3 {
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  text-shadow: 0 0 20px rgba(255, 153, 51, 0.4);
  position: relative;
  z-index: 2;
  letter-spacing: 0.5px;
}

.waypoint-content p {
  font-size: 16px;
  color: #b0b0b0;
  margin: 0;
  font-style: italic;
  position: relative;
  z-index: 2;
  line-height: 1.5;
  font-weight: 400;
}

/* Skills Section */
.skills-section {
  margin: 180px 0;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.title-text {
  font-size: 48px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 0 20px rgba(255, 153, 51, 0.3);
  position: relative;
  z-index: 2;
}

.title-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(255, 153, 51, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: titleGlowPulse 4s ease-in-out infinite;
}

@keyframes titleGlowPulse {
  0%,
  100% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1.2);
  }
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.skill-category {
  background: rgba(20, 20, 20, 0.4);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 153, 51, 0.3);
  border-radius: 20px;
  padding: 30px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.category-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 153, 51, 0.08) 0%,
    rgba(255, 153, 51, 0.03) 100%
  );
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.skill-category:hover .category-glow {
  opacity: 1;
}

.skill-category:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 153, 51, 0.6);
  box-shadow: 0 15px 50px rgba(255, 153, 51, 0.25);
}

.category-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  position: relative;
  z-index: 2;
}

.category-icon {
  width: 50px;
  height: 50px;
  background: radial-gradient(circle at 30% 30%, #ff9933, #ffaa44);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(255, 153, 51, 0.4);
}

.category-icon i {
  font-size: 20px;
  color: #000000;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.category-header h3 {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.skills-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.skill-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skill-name {
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
}

.skill-bar {
  height: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  overflow: hidden;
  position: relative;
}

.skill-progress {
  height: 100%;
  background: linear-gradient(90deg, #ff9933, #ffaa44);
  border-radius: 5px;
  width: 0%;
  transition: width 2s ease-in-out;
  position: relative;
  overflow: hidden;
}

.skill-shine {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  animation: skillShine 2s ease-in-out infinite;
}

@keyframes skillShine {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Data Panels - Proper Popup Style */
.data-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 500px;
  max-width: 90vw;
  max-height: 80vh;
  background: rgba(15, 15, 35, 0.98);
  border: 1px solid rgba(255, 153, 51, 0.4);
  border-radius: 20px;
  padding: 0;
  color: white;
  z-index: 10000;
  backdrop-filter: blur(10px);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.9);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.panel-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 153, 51, 0.1) 0%,
    rgba(255, 153, 51, 0.05) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.data-panel.show {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

/* Popup Overlay - Shows background website */
.data-panel::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.data-panel.show::before {
  opacity: 1;
}

.data-panel.show .panel-glow {
  opacity: 1;
}

.close-panel-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 153, 51, 0.2);
  border: 1px solid rgba(255, 153, 51, 0.3);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  color: #ff9933;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.close-panel-btn:hover {
  background: rgba(255, 153, 51, 0.3);
  border-color: rgba(255, 153, 51, 0.5);
  transform: scale(1.1);
}

.panel-header {
  padding: 30px 30px 20px;
  border-bottom: 1px solid rgba(255, 153, 51, 0.2);
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
  z-index: 2;
}

.panel-icon {
  width: 50px;
  height: 50px;
  background: radial-gradient(circle at 30% 30%, #ff9933, #ffaa44);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(255, 153, 51, 0.4);
}

.panel-icon i {
  font-size: 20px;
  color: #000000;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.panel-header h3 {
  color: #ffffff;
  font-size: 24px;
  margin: 0;
  font-weight: 600;
}

.panel-content {
  padding: 30px;
  position: relative;
  z-index: 2;
}

.content-section {
  margin-bottom: 25px;
}

.content-section:last-child {
  margin-bottom: 0;
}

.content-section h4 {
  font-size: 18px;
  margin: 0 0 15px 0;
  color: #ff9933;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 153, 51, 0.3);
  padding-bottom: 8px;
}

.cert-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cert-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  color: #c0c0c0;
  font-size: 16px;
}

.cert-icon {
  font-size: 20px;
}

.verification-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 153, 51, 0.1);
  border: 1px solid rgba(255, 153, 51, 0.3);
  border-radius: 10px;
  padding: 15px;
  color: #ff9933;
  font-weight: 500;
}

.verification-badge i {
  font-size: 20px;
}

.experience-item {
  margin-bottom: 20px;
}

.exp-header {
  margin-bottom: 15px;
}

.exp-header h4 {
  font-size: 20px;
  color: #ffffff;
  margin: 0 0 8px 0;
  font-weight: 600;
}

.exp-dates {
  color: #ff9933;
  font-size: 14px;
  font-weight: 500;
  font-style: italic;
}

.exp-description {
  color: #c0c0c0;
  line-height: 1.6;
  margin-bottom: 15px;
}

.exp-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tag {
  background: rgba(255, 153, 51, 0.1);
  border: 1px solid rgba(255, 153, 51, 0.3);
  border-radius: 15px;
  padding: 5px 12px;
  font-size: 12px;
  color: #ff9933;
  font-weight: 500;
}

.project-item {
  margin-bottom: 20px;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.project-header h4 {
  font-size: 20px;
  color: #ffffff;
  margin: 0;
  font-weight: 600;
}

.project-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #00ff00;
  font-size: 14px;
  font-weight: 500;
}

.status-indicator {
  width: 8px;
  height: 8px;
  background: #00ff00;
  border-radius: 50%;
  animation: statusBlink 2s ease-in-out infinite;
}

@keyframes statusBlink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

.project-description {
  color: #c0c0c0;
  line-height: 1.6;
  margin-bottom: 20px;
}

.project-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: #ff9933;
  text-shadow: 0 0 10px rgba(255, 153, 51, 0.5);
}

.stat-label {
  font-size: 12px;
  color: #a0a0a0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tag {
  background: rgba(255, 153, 51, 0.1);
  border: 1px solid rgba(255, 153, 51, 0.3);
  border-radius: 15px;
  padding: 5px 12px;
  font-size: 12px;
  color: #ff9933;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .career-header {
    margin: 80px 0 60px 0;
  }

  .career-title {
    font-size: 48px;
  }

  .summary-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .summary-icon {
    width: 60px;
    height: 60px;
  }

  .summary-icon i {
    font-size: 24px;
  }

  .summary-content p {
    font-size: 18px;
  }

  .timeline-line {
    left: 30px;
    width: 3px;
  }

  .timeline-waypoint {
    margin: 120px 0;
    padding-left: 80px;
  }

  .timeline-waypoint:nth-child(odd) .waypoint-content,
  .timeline-waypoint:nth-child(even) .waypoint-content {
    position: static;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
    max-width: 100%;
    transform-origin: center;
  }

  .waypoint-circle {
    left: 30px;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
  }

  .waypoint-circle i {
    font-size: 24px;
  }

  .waypoint-content {
    max-width: 100%;
    padding: 30px 25px;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .skills-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .data-panel {
    width: 90vw;
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .back-button {
    top: 20px;
    left: 20px;
  }

  .back-button a {
    padding: 10px 16px;
    font-size: 13px;
  }

  .career-title {
    font-size: 36px;
  }

  .log-text {
    font-size: 16px;
    letter-spacing: 2px;
  }

  .summary-card {
    padding: 30px 20px;
  }

  .summary-content p {
    font-size: 16px;
  }

  .waypoint-content {
    padding: 20px 15px;
  }

  .waypoint-content h3 {
    font-size: 20px;
  }

  .title-text {
    font-size: 36px;
  }

  .skill-category {
    padding: 25px 20px;
  }

  .data-panel {
    width: 95vw;
  }

  .panel-header {
    padding: 20px 20px 15px;
  }

  .panel-content {
    padding: 20px;
  }

  .project-stats {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .career-title {
    font-size: 28px;
  }

  .summary-card {
    padding: 25px 15px;
  }

  .waypoint-content {
    padding: 18px 12px;
  }

  .skill-category {
    padding: 20px 15px;
  }

  .panel-header {
    padding: 15px 15px 10px;
  }

  .panel-content {
    padding: 15px;
  }
}

/* --- Certificate and Verification Links --- */
.cert-list li {
  display: flex;
  align-items: center;
  padding: 6px 0;
  gap: 8px;
}

.cert-list li .cert-icon {
  margin-right: 8px;
  flex-shrink: 0;
}

.cert-list li span:not(.cert-icon) {
  flex: 1;
  margin-right: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cert-link,
.verification-link {
  color: #ff9933;
  text-decoration: none;
  font-size: 12px;
  padding: 4px;
  border-radius: 4px;
  background: transparent;
  border: none;
  transition: all 0.3s ease;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-link i,
.verification-link i {
  font-size: 12px;
  color: #ff9933;
}

.cert-link:hover,
.verification-link:hover {
  background: rgba(255, 153, 51, 0.1);
  transform: translateY(-1px);
}

.cert-link:hover i,
.verification-link:hover i {
  color: #ffaa44;
  transform: scale(1.1);
}

.verification-badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

.verification-badge .verification-link {
  margin-left: 8px;
}

/* --- MOBILE VIEW ADJUSTMENTS --- */
@media (max-width: 1024px) {
  /* Let the career page use the exact same mobile navigation styles from style.css */

  /* Ensure back button is properly positioned */
  .back-button {
    position: fixed !important;
    top: 20px !important;
    left: 20px !important;
    z-index: 8500 !important;
  }

  /* Fix data panel positioning and scrolling for mobile */
  .data-panel {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) scale(0.9) !important;
    max-height: calc(100vh - 140px) !important;
    overflow-y: auto !important;
    z-index: 9999 !important;
    width: calc(100vw - 40px) !important;
    max-width: 500px !important;
  }

  .data-panel.show {
    transform: translate(-50%, -50%) scale(1) !important;
  }

  /* Add proper body padding for mobile navigation */
  body {
    padding-top: 70px !important;
    padding-bottom: 80px !important;
  }

  /* Prevent body scroll when panel is open */
  body.panel-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
  }

  /* Fix container margins */
  .container {
    padding: 0 15px;
    margin-top: 0;
  }

  /* Add overlay for panel backgrounds */
  .data-panel::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .data-panel.show::before {
    opacity: 1;
  }

  /* Mobile navigation - inherit from main CSS */
}

@media (max-width: 768px) {
  .data-panel {
    width: calc(100vw - 20px);
    max-width: none;
    margin: 0 10px;
  }

  /* Fix panel content for smaller screens */
  .panel-content {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
  }

  /* Mobile navigation - inherit from main CSS */
}

@media (max-width: 480px) {
  .data-panel {
    width: calc(100vw - 10px);
    margin: 0 5px;
  }

  /* Adjust panel content for very small screens */
  .panel-header {
    padding: 15px !important;
  }

  .panel-content {
    padding: 15px !important;
    max-height: calc(100vh - 160px);
  }

  /* Mobile navigation - inherit from main CSS */
}

/* --- DISABLE ALL NAVIGATION ANIMATIONS --- */
.mobile-top-nav,
.mobile-bottom-nav {
  animation: none !important;
  transition: none !important;
}

.mobile-top-nav *,
.mobile-bottom-nav * {
  animation: none !important;
  transition: none !important;
}

.mobile-top-btn,
.mobile-bottom-btn {
  animation: none !important;
  transition: none !important;
}

.mobile-top-btn:hover,
.mobile-bottom-btn:hover {
  animation: none !important;
  transition: none !important;
  transform: none !important;
}

.mobile-top-nav.hidden,
.mobile-top-nav.visible,
.mobile-bottom-nav.hidden,
.mobile-bottom-nav.visible {
  animation: none !important;
  transition: none !important;
}
