/* Experience Section */
#experience {
  padding: 40px 30px;
  margin: 40px auto;
  max-width: 1200px;
  width: 100%;
  text-align: initial;
  background-color: var(--bg-dark);
  border: 5px solid var(--primary-color);
  border-radius: 10px;
  box-shadow: 0 4px 8px var(--shadow-subtle);
}

#experience h2 {
  font-size: 38px;
  margin-bottom: 20px;
  color: var(--primary-color);
  text-align: center;
}

#experience h3 {
  font-size: 24px;
  margin-top: 20px;
  color: var(--primary-color);
}

#experience .experience-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
}

.experience-card {
  display: flex;
  gap: 32px;
  background: var(--bg-dark-glass-alt);
  border: 1px solid var(--primary-overlay-medium);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 6px 24px var(--shadow-light);
}

.experience-logo {
  flex: 0 0 240px;
  min-width: 220px;
  max-width: 240px;
  background: var(--text-white);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  
  box-shadow: 0 8px 20px var(--shadow-minimal);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience-logo img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.experience-logo.dual {
  flex-direction: row;
  gap: 6px;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
}

.experience-logo:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--shadow-light);
}

.experience-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.experience-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.experience-company {
  margin: 0;
  font-size: 1.4em;
  font-weight: 700;
  color: var(--primary-light);
}

.experience-project-line {
  margin: 4px 0 6px 0;
  font-size: 0.95em;
  color: var(--primary-lighter) ;
  letter-spacing: 0.4px;
}

.experience-actions {
  margin-top: 12px;
}

.experience-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 600;
}

.experience-pill {
  display: inline-flex;
  padding: 6px 16px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--primary-overlay-pill);
  color: var(--primary-lighter);
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-size: 0.8em;
}

.experience-duration {
  color: var(--primary-light);
  font-weight: 700;
  white-space: nowrap;
  background: var(--primary-overlay-badge);
  padding: 6px 14px;
  border-radius: 999px;
  align-self: flex-start;
}

.experience-highlights {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.experience-highlights li {
  position: relative;
  padding-left: 26px;
}

.experience-highlights li::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: var(--primary-color);
  font-size: 1.3em;
}

.experience-tags {
  font-weight: 600;
  color: var(--text-white);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--tech-badge-bg);
  border: 1px solid var(--tech-badge-border);
  border-radius: 6px;
  font-size: 0.9em;
  font-weight: 600;
  color: var(--text-white);
  transition: all 0.3s ease;
}

.tech-badge i {
  font-size: 1.1em;
  color: var(--text-white);
}

.tech-badge:hover {
  background: var(--tech-badge-hover-bg);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--tech-badge-hover-shadow);
}

.suprajit-logo,
.Suprajit-company-logo {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  animation: rotateLogo 6s linear infinite;
}

.suprajit-name-logo {
  max-height: 45px;
  height: auto;
  width: auto;
  min-width: 70px;
  flex-shrink: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.logo-bg-container {
  background: var(--text-white);
  border-radius: 15px;
  box-shadow: 0 2px 8px var(--shadow-faint);
  padding: 10px 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-width: 120px;
  min-height: 60px;
  margin: 0 auto;
  cursor: pointer;
}

#experience .experience-container {
  width: 100%;
}

#experience li {
  font-size: 18px;
  line-height: 1.2;
  color: var(--text-gray);
  
}

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

.experience-title .duration {
  font-size: 18px;
  color: var(--primary-color);
  font-weight: bold;
}
