/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    color: #333;
    margin: 0;
    padding: 0;
    background-color: #f7f7f7;
    line-height: 1.6;
}

a {
    color: #007acc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header Styles */
header {
    /* background-color: #007acc; */
    background-color: #0d212f;
    color: white;
    padding: 20px 0;
    text-align: center;
}

header h1 {
    margin: 10px 0 0;
    font-size: 2.5rem;
}

header nav {
    margin-top: 10px;
}

nav a {
    margin: 0 15px;
    font-weight: bold;
    text-transform: uppercase;
}

/* Profile Picture Styles */
.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto;
    display: block;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

/* Main Content Styles */
main {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

section {
    margin-bottom: 40px;
}

h2 {
    font-size: 2rem;
    color: #007acc;
    margin-bottom: 20px;
    border-bottom: 2px solid #007acc;
    padding-bottom: 10px;
}

p {
    font-size: 1.1rem;
    line-height: 1.8;
}

ul {
    list-style-type: disc;
    margin-left: 20px;
}

/* Footer Styles */
footer {
    /* background-color: #007acc; */
    background-color: #0d212f;
    color: white;
    text-align: center;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
    font-size: 0.9rem;
}

/* Timeline Styles */
.timeline {
    position: relative;
    margin: 20px 0;
    padding: 20px 0;
    list-style: none;
    padding-left: 40px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 20px;
    width: 2px;
    height: 100%;
    background: #007acc;
}

.timeline-icon {
    position: absolute;
    left: 10px;
    top: 0;
    background: #fff;
    border: 2px solid #007acc;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 28px;
    color: #007acc;
    font-size: 1.2rem;
}

.timeline-content {
    padding-left: 50px;
    position: relative;
    top: -5px;
}

.timeline-content h4 {
    margin: 0;
    font-size: 1.3rem;
    color: #333;
}

.timeline-content h5 {
    margin: 5px 0;
    font-size: 1.1rem;
    color: #666;
}

.timeline-content span {
    font-size: 0.9rem;
    color: #999;
    display: block;
    margin-bottom: 10px;
}

.timeline-content p {
    margin: 5px 0;
    font-size: 1rem;
    color: #333;
}

.timeline-content ul {
    margin: 0;
    padding-left: 20px;
    list-style-type: disc;
}

.timeline-content ul li {
    font-size: 1rem;
    color: #666;
    margin-bottom: 5px;
}
/* Courses Table Styles */
.courses-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.courses-table td {
    padding: 5px 10px;
    border: 1px solid #ddd;
    vertical-align: top;
    color: #666;
    font-size: 1rem;
}

.courses-table tr td:first-child {
    width: 50%;
}
.tiny-images img {
    width: 40px; /* Adjust size as needed */
    height: auto;
    margin-left: 5px;
    vertical-align: middle;
}

.social-icons {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 20px;
}
.social-icons a {
    color: #007acc;
    margin: 0 10px;
    text-decoration: none;
}
.social-icons a:hover {
    color: #3498db;
}

.mailclass {
    position: absolute;
    top: 25px;
    right: 100px;
    font-size: 15px;
}
.mailclass a {
    color: #007acc;
    margin: 0 10px;
    text-decoration: none;
}
.mailclass a:hover {
    color: #3498db;
}

/* Projects Section Styles */
#projects {
    padding: 20px;
}

#projects h2 {
    font-size: 2rem;
    color: #007acc;
    /* text-align: center; */
    margin-bottom: 20px;
    border-bottom: 2px solid #007acc;
    padding-bottom: 10px;
}

#projects .project-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}

#projects .project-item {
    width: 45%;
    background-color: #ffffff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#projects .project-item h3 {
    color: #3639cc;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

#projects .project-item ul {
    list-style-type: disc;
    margin-left: 20px;
    color: #666;
    line-height: 1.6;
}

#projects .project-item ul li {
    font-size: 1rem;
    margin-bottom: 5px;
    color: #333;
}

@media (max-width: 768px) {
    #projects .project-item {
        width: 100%;
    }
}

 #workexperience {
    margin-top: 50px;
    position: relative;
  }

  #workexperience h2 {
    font-size: 22px;
    margin-bottom: 30px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 6px;
  }

  /* Timeline container */
  .timeline {
    position: relative;
    margin-left: 30px;
    padding-left: 20px;
  }

  /* Vertical line */
  .timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #cbd5e1; /* vertical line color */
  }

  /* Timeline item */
  .timeline-item {
    position: relative;
    margin-bottom: 30px;
  }

  /* Marker circle */
  .timeline-marker {
    position: absolute;
    left: -1px; /* aligns with line */
    top: 5px;
    width: 15px;
    height: 15px;
    background: #2b6cb0;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px #cbd5e1; /* optional ring effect */
  }

  .timeline-content {
    padding-left: 25px;
  }

  .timeline-content h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
  }

  .timeline-content p {
    margin: 4px 0;
    /* font-size: 14px; */
    color: #475569;
  }

  .timeline-content a {
    color: #2b6cb0;
    text-decoration: none;
  }

  .timeline-content .date {
    font-size: 13px;
    color: #64748b;
    margin-top: 4px;
  }

  .timeline-content ul {
    margin-top: 6px;
    margin-bottom: 0;
    padding-left: 20px;
    /* font-size: 14px; */
    color: #334155;
  }

  .timeline-content ul li {
    margin-bottom: 4px;
  }

  /* Responsive adjustments */
  @media (max-width: 600px) {
    .timeline {
      margin-left: 20px;
      padding-left: 15px;
    }
    .timeline-marker {
      width: 12px;
      height: 12px;
    }
  }