#experience_section,
#experience_section *,
#experience_section *::before,
#experience_section *::after {
  box-sizing: border-box;
}

#experience_section {
  background-color: #0a0a0a;
  padding: 80px 0;
}

#experience_section .section-title {
    color: #fff;
}

#experience_section .timeline {
  position: relative;
  max-width: 1200px;
  margin: 100px auto;
}

#experience_section .timeline-item {
  padding: 10px 50px;
  position: relative;
  width: 50%;
}

#experience_section .text-box {
  background: #141414;
  padding: 30px 40px;
  position: relative;
  border-radius: 16px;
  font-size: 17px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ccc;
}

#experience_section .left-container {
  left: 0;
}

#experience_section .right-container {
  left: 50%;
}

#experience_section .timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 100%;
  background-color: #222;
  top: 0;
  left: 50%;
  margin-left: -2px;
  z-index: 2;
}

#experience_section .text-box h2 {
  font-weight: 600;
  color: #fff;
  font-size: 1.4rem;
  margin: 0 0 10px 0;
}

#experience_section .text-box small {
  display: inline-block;
  margin-bottom: 20px;
  color: #888;
  font-size: 0.95rem;
}

#experience_section .text-box ul {
  padding-left: 20px;
  line-height: 1.6;
}

#experience_section .text-box li {
  margin-bottom: 8px;
}

#experience_section .text-box a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid #555;
}

#experience_section .text-box a:hover {
  border-bottom-color: #fff;
}

#experience_section .timeline-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  background-color: white;
  border-radius: 50%;
  position: absolute;
  top: 25px;
  z-index: 4;
  border: 3px solid #0a0a0a;
  padding: 5px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

#experience_section .left-container img {
  right: -30px;
}

#experience_section .right-container img {
  left: -30px;
}

@media screen and (max-width: 600px) {
  #experience_section .timeline {
    margin: 50px auto;
  }
  #experience_section .timeline::after {
    left: 31px;
  }
  #experience_section .timeline-item {
    width: 100%;
    padding-left: 80px;
    padding-right: 25px;
  }
  #experience_section .text-box {
    font-size: 15px;
    padding: 20px;
  }
  #experience_section .text-box small {
    margin-bottom: 15px;
  }
  #experience_section .right-container {
    left: 0;
  }
  #experience_section .timeline-item img {
    width: 50px;
    height: 50px;
    top: 20px;
  }
  #experience_section .left-container img, 
  #experience_section .right-container img {
    left: 6px;
  }
}


#education_section {
  background-color: #f6f9fc;
    padding: 80px 20px 40px;
}

#education_section::after {
    content: '';
    display: block;
    width: 50%;
    max-width: 400px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.15), transparent);
    margin: 60px auto 0;
}

.education_grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 850px;
    margin: 0 auto;
}

.education_card {
    display: flex;
    gap: 25px;
    background: #141414;
    padding: 25px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    align-items: center;
}

.education_card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: #1a1a1a;
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.education_logo {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: #fff;
    border-radius: 12px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.education_logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.education_content {
    flex-grow: 1;
}

.education_header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}

.education_header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #ffffff;
    font-weight: 600;
}

.education_date {
    font-size: 0.85rem;
    color: #888;
    font-weight: 500;
}

.education_place {
    color: #bbb;
    margin: 0 0 10px 0;
    font-size: 0.95rem;
}

.education_detail {
    color: #999;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

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

.education_tags span {
    background: rgba(255, 255, 255, 0.05);
    color: #999;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media screen and (max-width: 600px) {
    .education_card {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .education_header {
        flex-direction: column;
        gap: 2px;
    }
    
    .education_logo {
        width: 50px;
        height: 50px;
    }
}
