:root {
  --primary-color: #8A2BE2; 
  --secondary-color: #4A00E0;
  --accent-color: #00F2FE; 
  --text-color: #EAEAEA;
  --bg-color-start: #0F0C29;
  --bg-color-mid: #302B63;
  --bg-color-end: #24243E;
  --card-bg-color: rgba(192, 178, 178, 0.15);
  --border-color: rgba(255, 255, 255, 0.1);
}

/*--Global--*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-color);
  background: linear-gradient(135deg, var(--bg-color-start), var(--bg-color-mid), var(--bg-color-end));
  background-attachment: fixed;
  font-size: 1rem;
  line-height: 1.7;   
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/*--Headlines--*/

h1, h2, h3 {
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 2rem;
}

h1 { font-size: 3rem; text-shadow: 0 0 15px rgba(0, 242, 254, 0.3); }
h2 { font-size: 2.5rem; margin-top: 3rem; text-align: center; }
h3 { font-size: 1.5rem; }

section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border-color);
}

section:last-of-type {
  border-bottom: none;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #FFFFFF;
}

.main-header {
  background-color: rgba(15, 12, 41, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: #FFFFFF;
  letter-spacing: 1px;
}

.main-nav ul {
  list-style: none; 
  display: flex; 
  gap: 2.5rem;
}

.main-nav a {
  color: var(--text-color);
  font-size: 1rem;
  font-weight: 400;
  position: relative;
  padding: 5px 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.hamburger-menu {
  display: none;
}

.hero-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 50% 50%, rgba(165, 161, 207, 0.4), transparent 90%);
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-text p {
  font-size: 1.1rem;
  margin: 1.5rem 0;
  max-width: 600px;
}

.hero-text .btn {
  margin-top: 3rem; 
}

.hero-photo {
  margin:0;
  flex-shrink: 0;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-image: url("images/my image.png");
  border: 5px solid var(--card-bg-color);
  box-shadow: 0 0 5px rgba(138, 43, 226, 0.4), 0 0 15px rgba(0, 242, 254, 0.3) inset;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-photo:hover{
  transform: scale(1.05); 
  box-shadow: 0 0 25px -5px var(--accent-color); 
}

.btn {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  color: white; 
  border: none;
  padding: 1rem 2.5rem;
  margin-top: 2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 50px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.btn i {
  margin-left: 0.5rem;
}

/* --- About & Skills Section --- */
.about-section .container {
  display: flex;
  gap: 4rem;
  justify-content: center;
  background: radial-gradient(circle at 50% 50%, rgba(165, 161, 207, 0.4), transparent 50%);
}

.about-me p{
  background: linear-gradient(200deg, var(--bg-color-start), var(--bg-color-mid), var(--bg-color-end));
  padding: 10px 15px; 
  border-radius: 5px; 
  margin-bottom: 1em;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1); 
  padding: 10px 15px;
  border-radius: 5px;
  border: 1px solid rgba(255,255,255,0.05); 
  margin-bottom: 1em;
}

.about-me { flex: 2; }
.skills-container { flex: 1; }

.skills-section h2 {
  font-size: 1.8rem;
  text-align: left;
}

.skill-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.skill-name {
  font-weight: 500;
  flex-basis: 120px;
  flex-shrink: 0;
}

.skill-bar {
  flex-grow: 1;
  height: 12px;
  background-color: var(--card-bg-color);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.skill-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 10px;
}

.soft-skills-list li {
  background-color: var(--card-bg-color);
  padding: 0.5rem 1rem;
  border-radius: 20px; 
  border: 1px solid var(--border-color);
  display: inline-block;
  margin: 5px;
  transition: all 0.3s ease;
}
.soft-skills-list li:hover {
  transform: translateY(-2px);
  background-color: var(--primary-color);
}

.my-projects {
  background-color: transparent;
}

.projects-slider-wrapper {
  position: relative;
  padding:0 4.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-arrow:hover {
  background-color: var(--primary-color);
  color: #FFFFFF;
}

.slider-arrow.prev-arrow {
  left:0px;
}

.slider-arrow.next-arrow {
  right: 0px;
}

.project-cards-container {
  overflow: hidden;
}

.project-cards {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  transition: transform 0.6s ease-in-out;
}

.project-cards::-webkit-scrollbar { display: none; /* Safari and Chrome */ }
.project-cards::-webkit-scrollbar-track { background: var(--bg-color-mid); }
.project-cards::-webkit-scrollbar-thumb { background-color: var(--primary-color); border-radius: 10px; }

.project-card {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  flex: 0 0 calc((100% - 2rem) / 3);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  max-width: 100%;
  overflow-wrap: break-word;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: var(--accent-color);
}

.project-card:hover .project-image {
  transform: scale(1.05); 
  box-shadow: 0 0 25px -5px var(--accent-color); 
}

.project-image {
  height: 220px;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--border-color);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.project-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-info h3 { margin-bottom: 0.5rem; }
.project-info p {
  color: var(--text-color);
  margin-bottom: 1.5rem;
  flex-grow: 1;
  font-size: 0.95rem;
}

.project-info .btn {
  align-self: flex;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
}

.project-tech-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.5rem; 
  flex-wrap: wrap;
}

.project-tech-icons i {
  font-size: 1.8rem; 
  color: var(--text-color);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.project-tech-icons i:hover {
  opacity: 1;
  color: var(--accent-color);
  transform: scale(1.1);
}

/* Special style for text-based icons like C++ */
.tech-icon-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--text-color);
  opacity: 0.7;
  border: 2px solid var(--border-color);
  border-radius: 5px;
  padding: 0 8px;
  line-height: 1.4;
  transition: all 0.3s ease;
  cursor: default;
}

.tech-icon-text:hover {
  opacity: 1;
  color: var(--accent-color);
  border-color: var(--accent-color);
  transform: scale(1.1);
}

.resume-section {
  text-align: center;
  background-color:var(--bg-color-start);
}

.resume-section p {
  max-width: 500px;
  margin: 2rem auto 2rem auto;
}

.contact-content { display: flex; gap: 3rem; }
.contact-form { flex: 2; }
.contact-info { flex: 1;  }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; }
.form-group input, .form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background-color: var(--card-bg-color);
  color: var(--text-color);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}

.contact-info-list { list-style: none; }
.contact-info-list li { margin-bottom: 1.5rem; display: flex; align-items: center; }
.contact-info-list i {
  font-size: 1.2rem;
  color: var(--accent-color);
  margin-right: 1rem;
  width: 25px;
  text-align: center;
}

.social-icons { margin-top: 2rem; display: flex; gap: 1rem; }
.social-icon {
  width: 45px;
  height: 45px;
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;  
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.social-icon:hover {
  background-color: var(--accent-color);
  color: var(--bg-color-start);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 242, 254, 0.2);
}

.footer {
  background: var(--bg-color-start);
  text-align: center;
  color: #9CA3AF;
  padding: 3rem 0;
  border-top: 1px solid var(--border-color);
}

.footer h3 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
  letter-spacing: 1px;
  background: -webkit-linear-gradient(45deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Modal --- */
.modal-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex; justify-content: center; align-items: center;
  z-index: 2000; opacity: 1; transition: opacity 0.3s ease;
}

.modal {
  background: var(--bg-color-mid);
  padding: 2.5rem;
  border-radius: 15px;
  text-align: center;
  position: relative;
  width: 90%; max-width: 450px;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.close-button {
  position: absolute; top: 15px; right: 20px;
  background: none; border: none; font-size: 2rem;
  color: var(--text-color); cursor: pointer;
}

.success-icon {
  font-size: 4rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.hidden { opacity: 0; pointer-events: none; }

.form-group {
  position: relative;
  padding-bottom: 1.5rem;
}

.error-message {
  color: #ff6b6b;
  font-size: 0.85rem;
  position: absolute;
  bottom: 0;
  left: 0;
}

.error-icon {
  font-size: 4rem;
  color: #ff6b6b;
  margin-bottom: 1rem;
}

/* --- Horizontal Timeline Section Styles --- */
.timeline-section {
  padding: 6rem 4rem;
  background-color: var(--bg-color-start);
  overflow: hidden; 
  position: relative;
}

.timeline-section h2 {
  text-align: center;
  margin-bottom: 5rem;
  color: #FFFFFF;
}

.timeline-scroll-wrapper {
  max-width: 1200px;
  height: auto; 
  margin: 0 auto;
  position: relative;
  padding: 0 50px;
}

.timeline-scroll-container {
  position: relative;
  width: 100%;
  overflow-x: auto; 
  padding-bottom: 2rem; 
  padding: 0; 
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  margin: 0 auto;
  mask-image: linear-gradient(to right, transparent 0%, black 50px,  black calc(100% - 50px), transparent 100%   );
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 50px, black calc(100% - 50px),  transparent 100%);
  min-height: auto;
}

.timeline-scroll-container::-webkit-scrollbar {
  display: none;
}

.timeline-scroll-container {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.horizontal-timeline {
  position: relative;
  width: max-content; 
  height: auto;
  display: flex;
  justify-content: space-around; 
  align-items: center;
  flex-wrap: nowrap;
  gap: 90px;
  margin: 25px;
}

.timeline-line {
  position: absolute;
  height: 6px;
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: 100%;
  z-index: 1;
  border-radius: 3px;
}

.timeline-h-item {
  position: relative;
  flex-shrink: 0;
  width: 250px;
  min-height: 250px;
  text-align: center;
  padding: 0;
  z-index: 2;
  scroll-snap-align: center;
  min-height: 250px;
  display: block; 
}

.timeline-above-line {
  margin-bottom: 380px; 
  margin-top: 0;
}

.timeline-below-line {
  margin-top: 380px; 
  margin-bottom: 0;
}

.timeline-h-dot {
  position: absolute; 
  width: 70px;
  height: 70px;
  background-color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4),0 0 0 5px rgba(255, 255, 255, 0.3) inset;
  transition: all 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
  z-index: 3; 
  left: 50%;
  transform: translate(-50%, -50%); 
  top: 50%;
}

.timeline-above-line .timeline-h-dot {
  bottom: -105px; 
  top: auto; 
}

.timeline-below-line .timeline-h-dot {
  top: -35px; 
  bottom: auto; 
}

.timeline-h-dot i {
  font-size: 2.8rem;
  color: var(--primary-color);
  transition: color 0.3s ease;
}

.timeline-h-dot:hover {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 0 20px 5px var(--accent-color),0 0 0 7px var(--accent-color) inset;
  border-color: var(--accent-color);
}

.timeline-h-dot:hover i {
  color: var(--secondary-color);
}

.timeline-h-content {
  position: relative;
  width: 100%; 
  background-color: var(--card-bg-color);
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5); 
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  z-index: 2; 
  bottom: calc(50% + 75px);
  top: calc(50% + 75px);
  left: 0;
}

.timeline-above-line .timeline-h-content {
  bottom: calc(50% + 75px); 
}

.timeline-below-line .timeline-h-content {
  top: calc(50% + 75px); 
}

.timeline-h-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.6);
  border-color: var(--primary-color);
}

.timeline-h-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
  color: #FFFFFF;
}

.timeline-h-content h4 {
  font-size: 0.9rem;
  color: var(--accent-color);
  margin-bottom: 0.8rem;
}

.timeline-h-content p, .timeline-h-content ul {
  font-size: 0.9rem;
  color: var(--text-color);
  margin-bottom: 0;
  line-height: 1.5;
}

.timeline-h-content ul {
  list-style: none;
  padding-left: 0;
  text-align: left;
}
.timeline-h-content ul li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.2rem;
}
.timeline-h-content ul li::before {
  content: '•';
  color: var(--accent-color);
  position: absolute;
  left: 0;
  top: 0;
}

.timeline-arrow {
  position: absolute; 
  top: 58%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex; 
  align-items: center;
  justify-content: center;
  z-index: 100;
  transition: all 0.3s ease;
}
.timeline-arrow:hover {
  background-color: var(--primary-color);
  color: #FFFFFF;
}
.timeline-arrow.left { 
  left: 0px; 
}
.timeline-arrow.right { 
  right: 0px; 
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
  .about-section .container, .hero-container, .contact-content {
    flex-direction: column;
  }

  .hero-text { text-align: center; order: 2; }
  .hero-photo { order: 1; margin-bottom: 2rem; }
  .about-me h2, .skills-section h2 { text-align: center; }
  .soft-skills-list { justify-content: center; }

  .contact-info, .contact-form {
    text-align: center;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }

  .contact-info-list li {
    justify-content: center;
    text-align: center;
    width: 100%; 
  }

  .social-icons { justify-content: center; }

  .project-card {
    flex: 0 0 45%; 
    scroll-snap-align: start; 
  }

  .project-card {
    flex: 0 0 calc(100% / 2);
  }
}

@media (max-width: 1024px) {
  .projects-slider-wrapper {
    padding: 0 3.5rem; 
  }

  .project-card {
    flex: 0 0 calc((100% - 2rem) / 2);
  }

  .hero-text {
    width: 100%;
    align-items: center; 
    text-align: center; 
  }

  .skills-container{
    width: 100%;
    align-items: center; 
    text-align: center; 
  }

  .contact-info{
    width: 100%;
    align-items: center; 
    text-align: center; 
  }
}

@media (min-width: 769px) and (max-width: 1200px) {
  .timeline-scroll-wrapper {
    padding: 0 10px;
  }

  .horizontal-timeline {
    gap: 50px; 
  }

  .timeline-h-item {
    width: 220px; 
  }

  .timeline-above-line {
    margin-bottom: 250px; 
  }

  .timeline-below-line {
    margin-top: 320px; 
  }

  .timeline-h-content h3 {
    font-size: 1rem; 
  }

  .timeline-h-content p,
  .timeline-h-content ul {
    font-size: 0.75rem;
  }

  .timeline-above-line {
    margin-bottom: 350px; 
    margin-top: 0;
  }

  .timeline-below-line {
    margin-top: 350px; 
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }

  .main-nav {
    display: none; position: absolute; top: 100%; left: 0;
    width: 100%;
    background-color: var(--bg-color-mid);
    border-top: 1px solid var(--border-color);
  }

  .hamburger-menu { display: block; font-size: 1.8rem; color: var(--text-color); background: none; border: none; cursor: pointer; z-index: 1001; }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: center; gap: 0; }
  .main-nav li { width: 100%; text-align: center; }
  .main-nav a { display: block; padding: 1rem; border-bottom: 1px solid var(--border-color); }
  .main-nav li:last-child a { border-bottom: none; }

  .project-card { 
    flex-basis: 100%; 
    scroll-snap-align: center;
  }

  .slider-arrow { 
    display: flex;
    width: 40px;
    height: 40px;
    font-size: 1.1rem; 
  }

  .slider-arrow.prev-arrow { left: 5px; }
  .slider-arrow.next-arrow { right: 5px; }
  
  .slider-arrow:focus {
    background-color: rgba(255, 255, 255, 0.1); 
    outline: none; 
  }

  .slider-arrow:active {
    background-color: var(--primary-color); 
  }

  .project-cards {  
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-left: 1rem;
  }

  .project-card:last-child {margin-right: 0; }
  .projects-slider-wrapper {  padding: 0 0.5rem; }

  .hero-section {
    justify-content: center;  
  }

  .hero-container {
    gap: 0rem;
  }

  .hero-text {
    width: 100%;
    align-items: center; 
    text-align: center; 
    font-size: 0.5rem;
  }

  .hero-photo{
    width: 300px;
    height: 300px;
  }

  .body, html{
    overflow-x: hidden;
    width:100%;
  }

  .timeline-section{
    padding:5px;
    padding-bottom: 10px;
  }
  .timeline-scroll-wrapper {
    padding: 0 ; 
    margin: auto;
    width:100%; 
  }

  .timeline-scroll-container {
    padding: 0; 
    overflow-x: hidden;
    scroll-snap-type: none;
    width: 100%;
    min-width: auto;
    mask-image: none;
    -webkit-mask-image: none;
    min-height: auto;
  }

  .horizontal-timeline {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 20px;
    overflow-x: hidden; 
    gap: 1.5rem;
    scroll-snap-type: none;
    width: 100%; 
    min-width: auto; 
    margin:0;
  }

  .timeline-line {
    left: 30px;
    right: auto;
    width: 6px;
    height: calc(100% - 1rem);
    top:0; 
    transform: none;
  }

  .timeline-h-item {
    width: 100%;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    margin-left: 0;
    margin-right: 10px;
    padding-left: 50px; 
    padding-right: 20px; 
    text-align: left;
    scroll-snap-align: none;  
    min-height: auto; 
    height: auto;
    display: block; 
  }

  .timeline-h-dot {
    left: 35px; 
    top: 15px;
    transform: translateX(-50%);
    position: absolute; 
  }

  .timeline-above-line .timeline-h-dot,
  .timeline-below-line .timeline-h-dot {
    top: 70px;
    bottom: auto;
  }

  .timeline-h-content {
    position: relative;
    margin-top: 0px;
    margin-left: 0;
    padding: 1rem;
    flex-grow: 0;
    left: auto; 
    bottom: auto;
    top: auto;
    width: auto; 
  }

  .timeline-above-line .timeline-h-content,
  .timeline-below-line .timeline-h-content {
    width:100%;
    bottom: auto; 
    top: auto;
    margin-top: 10px;
    margin-bottom: 0;
    margin-left: 15px; 
  }

  .timeline-h-content ul li {
    padding-left: 1rem;
  }

  .timeline-arrow {
    display: none; 
  }
}

.project-image.medhub-img{ background-image: url("images/medhub-img.png"); }
.project-image.energenius-img{ background-image: url("images/energenius-img.png"); }
.project-image.movie-img{ background-image: url("images/movie-img.png"); }
.project-image.vehicle-agency-img { background-image: url("images/vehicle-agency-img.png"); }
.project-image.menu-img { background-image: url("images/menu-img.png"); }
.project-image.dilithium-img { background-image: url("images/dilithium-img.png"); }
.project-image.chess-img { background-image: url("images/chess-img.png"); }
.project-image.chat-img { background-image: url("images/chat-img.png"); }