/* ***** Experience Section ***** */
.experience {
  position: relative;
  padding: 100px 0;
  background-color: #000000;
  overflow: hidden;
}

.experience-neural-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
}

.experience .section-title {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(90deg, #b42c1d, #ff7e5f, #feb47b); /* Gradient for dynamic look */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
  text-shadow: 0 0 20px rgba(180, 44, 29, 0.5); /* Glowing effect */
  animation: glow 3s ease-in-out infinite alternate; /* Animation for glow */
}

@keyframes glow {
  0% { text-shadow: 0 0 20px rgba(180, 44, 29, 0.5); }
  100% { text-shadow: 0 0 30px rgba(255, 126, 95, 0.7); }
}

@media (max-width: 992px) {
  .experience .section-title {
    font-size: 2.4rem;
  }
}

@media (max-width: 768px) {
  .experience .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .experience .section-title {
    font-size: 1.8rem;
  }
}

.experience .section-subtitle {
  font-size: 1.2rem;
  color: #b0b0b0;
  margin-bottom: 50px;
  font-weight: 300;
  letter-spacing: 1px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  z-index: 1;
  position: relative;
}

.experience-card-item {
  perspective: 1000px;
}

.experience-card-inner {
  background: rgba(20, 20, 20, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 30px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(180, 44, 29, 0.2);
  transform-style: preserve-3d;
  height: 100%;
}

.experience-card-item:hover .experience-card-inner {
  transform: rotateY(5deg) translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(180, 44, 29, 0.4);
}

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

.experience-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
}

.experience-date {
  font-size: 0.9rem;
  color: #b42c1d;
  font-weight: 600;
}

.experience-company {
  font-size: 1.1rem;
  font-weight: 500;
  color: #b0b0b0;
  margin-bottom: 15px;
}

.experience-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #b0b0b0;
}

.experience-tags {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.experience-tag {
  padding: 5px 12px;
  background: rgba(180, 44, 29, 0.1);
  border: 1px solid rgba(180, 44, 29, 0.3);
  border-radius: 20px;
  font-size: 0.85rem;
  color: #ffffff;
  transition: all 0.3s ease;
}

.experience-tag:hover {
  background: rgba(180, 44, 29, 0.3);
  transform: translateY(-3px);
}

.section-title-mobile {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
  position: relative;
  display: inline-block;
}

.section-title-mobile::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: #b42c1d;
}