/* Experience Section Styles */
.experience-section-container {
  width: 100%;
  padding: 150px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.experience-section {
  width: 60%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.experience-timeline {
  width: 100%;
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.experience-card {
  background-image: linear-gradient(to bottom right, var(--tech-stack-box-first-color), var(--tech-stack-box-second-color));
  border: 1px solid var(--tech-stack-box-border-color);
  border-radius: 20px;
  padding: 30px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.experience-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-light-blue), var(--color-light-purple));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.experience-card:hover::before {
  opacity: 1;
}

.experience-card:hover {
  transform: translateX(10px);
  box-shadow: -10px 10px 30px rgba(128, 0, 255, 0.2);
}

.experience-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 15px;
}

.experience-title-section {
  flex: 1;
  min-width: 250px;
}

.experience-role {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 8px;
  background: linear-gradient(90deg, var(--color-light-blue), var(--color-light-purple));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.experience-company {
  font-size: 1.6rem;
  color: var(--color-ddd-color);
  font-weight: 400;
}

.experience-duration {
  font-size: 1.5rem;
  color: var(--color-light-purple);
  font-weight: 600;
  padding: 8px 16px;
  background: rgba(128, 0, 255, 0.1);
  border-radius: 20px;
  white-space: nowrap;
}

.experience-details {
  list-style: none;
  padding-left: 0;
}

.experience-details li {
  font-size: 1.7rem;
  color: var(--color-ddd-color);
  line-height: 28px;
  margin-bottom: 12px;
  padding-left: 25px;
  position: relative;
}

.experience-details li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--color-light-blue);
  font-size: 2rem;
  font-weight: bold;
}

/* Projects Section Updates */
.project-subtitle {
  font-size: 1.8rem;
  color: var(--color-light-purple);
  font-weight: 600;
  margin-bottom: 15px;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.tech-tag {
  padding: 8px 16px;
  background: linear-gradient(135deg, rgba(128, 0, 255, 0.2), rgba(107, 197, 248, 0.2));
  border: 1px solid var(--tech-stack-box-border-color);
  border-radius: 20px;
  font-size: 1.4rem;
  color: var(--color-white);
  font-weight: 500;
  transition: all 0.3s ease;
}

.tech-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(128, 0, 255, 0.3);
  background: linear-gradient(135deg, rgba(128, 0, 255, 0.4), rgba(107, 197, 248, 0.4));
}

.project-image-div {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.project-icon {
  font-size: 15rem;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.project-box:hover .project-icon {
  transform: scale(1.1) rotate(5deg);
  opacity: 1;
}

/* Education Section Styles */
.education-section-container {
  width: 100%;
  padding: 150px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.education-section {
  width: 60%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.education-timeline {
  width: 100%;
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.education-card {
  background-image: linear-gradient(to bottom right, var(--tech-stack-box-first-color), var(--tech-stack-box-second-color));
  border: 1px solid var(--tech-stack-box-border-color);
  border-radius: 20px;
  padding: 30px;
  transition: all 0.3s ease;
}

.education-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(128, 0, 255, 0.2);
}

.education-header {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.education-icon {
  font-size: 5rem;
  min-width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.education-content {
  flex: 1;
}

.education-degree {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 10px;
  background: linear-gradient(90deg, var(--color-light-blue), var(--color-light-purple));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.education-institution {
  font-size: 1.7rem;
  color: var(--color-ddd-color);
  margin-bottom: 8px;
}

.education-duration {
  font-size: 1.5rem;
  color: var(--color-light-purple);
  margin-bottom: 5px;
}

.education-gpa {
  font-size: 1.6rem;
  color: var(--color-light-blue);
  font-weight: 600;
}

/* Certifications Section Styles */
.certifications-section-container {
  width: 100%;
  padding: 150px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.certifications-section {
  width: 60%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.certifications-grid {
  width: 100%;
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.certification-card {
  background-image: linear-gradient(to bottom right, var(--tech-stack-box-first-color), var(--tech-stack-box-second-color));
  border: 1px solid var(--tech-stack-box-border-color);
  border-radius: 15px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.certification-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(128, 0, 255, 0.1), rgba(107, 197, 248, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.certification-card:hover::before {
  opacity: 1;
}

.certification-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(128, 0, 255, 0.3);
  border-color: var(--color-light-purple);
}

.cert-icon {
  font-size: 5rem;
  margin-bottom: 15px;
  filter: grayscale(0.3);
  transition: all 0.3s ease;
}

.certification-card:hover .cert-icon {
  filter: grayscale(0);
  transform: scale(1.2) rotate(10deg);
}

.cert-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--color-white);
  line-height: 24px;
  z-index: 1;
}

/* Tech Icon Text Styles */
.tech-icon-text {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
  .experience-section,
  .education-section,
  .certifications-section {
    width: 80%;
  }
}

@media screen and (max-width: 998px) {
  .experience-header {
    flex-direction: column;
    gap: 10px;
  }

  .experience-duration {
    align-self: flex-start;
  }

  .certifications-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media screen and (max-width: 768px) {
  .experience-section,
  .education-section,
  .certifications-section {
    width: 85%;
  }

  .experience-role {
    font-size: 2rem;
  }

  .experience-company {
    font-size: 1.4rem;
  }

  .experience-details li {
    font-size: 1.5rem;
  }

  .education-degree {
    font-size: 1.9rem;
  }

  .education-icon {
    font-size: 4rem;
    min-width: 50px;
  }

  .certifications-grid {
    grid-template-columns: 1fr;
  }

  .project-icon {
    font-size: 10rem;
  }
}

@media screen and (max-width: 500px) {
  .experience-section,
  .education-section,
  .certifications-section {
    width: 90%;
  }

  .experience-card,
  .education-card,
  .certification-card {
    padding: 20px;
  }

  .experience-role {
    font-size: 1.8rem;
  }

  .education-degree {
    font-size: 1.7rem;
  }

  .cert-title {
    font-size: 1.4rem;
  }

  .project-icon {
    font-size: 8rem;
  }
}
