/* MSc Software Engineering Website Enhancements */

/* Professional Overview Section */
.professional-overview {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: 60px 0;
  border-top: 4px solid #2e3e50;
}

.professional-overview h1 {
  color: #2e3e50;
  font-weight: 700;
  margin-bottom: 20px;
}

.professional-overview .lead {
  color: #555;
  font-size: 16px;
  line-height: 1.8;
}

/* Education Section Styling */
#education .timeline-event {
  margin-bottom: 40px;
  padding: 20px 0;
}

#education .timeline-event h2 {
  color: #2e3e50;
  font-weight: 700;
  font-size: 28px;
}

#education .timeline-event h5 {
  color: #3498db;
  font-weight: 600;
  font-size: 18px;
  margin-top: 10px;
}

#education .timeline-event strong {
  color: #2e3e50;
  font-weight: 700;
}

/* Enhanced Skills Section */
.skill-bars {
  background: #fafafa;
  padding: 60px 0;
}

.skill-bars h1 {
  color: #2e3e50;
  font-weight: 700;
  margin-bottom: 30px;
}

.skill-bars .lead {
  color: #666;
  line-height: 1.8;
  font-size: 16px;
}

/* Skills bars with gradient */
.skill-capacity {
  background: linear-gradient(90deg, #3498db 0%, #2980b9 100%);
  height: 100%;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* .skill-capacity-important {
  background: linear-gradient(90deg, #e74c3c 0%, #c0392b 100%);
} */

.skills h3 {
  color: #2e3e50;
  font-weight: 700;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #3498db;
}

.skills-left h3 {
  border-bottom-color: #3498db;
}

.skills-right h3 {
  border-bottom-color: #e74c3c;
}

.skill-color-important {
  color: #e74c3c !important;
}

/* Project Gallery Enhancement */
.projects-gallery {
  background: white;
  padding: 60px 0;
}

.projects-gallery h1 {
  color: #2e3e50;
  font-weight: 700;
  margin-bottom: 20px;
}

.projects-gallery .lead {
  color: #666;
  line-height: 1.8;
  font-size: 16px;
  margin-bottom: 40px;
}

.projects-gallery ol {
  background: #f8f9fa;
  padding: 30px 40px;
  border-radius: 8px;
  border-left: 20px solid #3498db;
}

.projects-gallery li {
  margin: 12px 0;
  color: #2c3e50;
  line-height: 1.6;
}

.projects-gallery a {
  color: #3498db;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.projects-gallery a:hover {
  color: #2980b9;
  text-decoration: underline;
}

.projects-gallery hr {
  margin: 25px 0;
  border-color: #ddd;
}

.projects-gallery h3 {
  color: #2e3e50;
  font-size: 16px;
  margin: 20px 0;
  font-style: italic;
}

/* Timeline Enhancement */
.timeline-1 {
  background: #f9f9f9;
  padding: 60px 0;
}

.timeline-1 h1 {
  color: #2e3e50;
  font-weight: 700;
  margin-bottom: 20px;
}

.timeline-1 > .container > .row:first-child .lead {
  color: #666;
  line-height: 1.8;
}

.timeline-event {
  margin-bottom: 50px;
  padding: 30px 0;
  border-bottom: 1px solid #eee;
}

.timeline-event:last-child {
  border-bottom: none;
}

.timeline-event p {
  color: #555;
  line-height: 1.8;
  font-size: 15px;
}

.timeline-event strong {
  color: #2e3e50;
  font-weight: 600;
}

.timeline-event h2 {
  color: #3498db;
  font-weight: 700;
  font-size: 26px;
  margin-bottom: 10px;
}

.timeline-event h5 {
  color: #2e3e50;
  font-weight: 600;
  font-size: 18px;
}

.timeline-event iframe {
  border: 3px solid #ecf0f1;
  border-radius: 6px;
}

/* .middle {
  /* background: white;
  border: 3px solid #3498db; 
} */

.middle i {
  color: #3498db;
  font-size: 32px;
}

.middle .vertical-line {
  background-color: #3498db;
}

/* Footer Enhancement */
.footer-container footer {
  background-color: #2e3e50;
}

.footer-container footer h3 {
  color: white;
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 22px;
}

.footer-container footer p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
}

.btn-white {
  background: white;
  color: #2e3e50;
  border: none;
  font-weight: 600;
  transition: all 0.3s ease;
  margin: 5px;
}

.btn-white:hover {
  background: #f0f0f0;
  color: #3498db;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .timeline-event {
    padding: 20px 0;
  }

  .timeline-event h2 {
    font-size: 20px;
  }

  .timeline-event h5 {
    font-size: 16px;
  }

  .skill-bars .row {
    margin: 20px 0;
  }

  .projects-gallery ol {
    padding: 20px;
  }
}

/* Accessibility Improvements */
a:focus {
  outline: 2px solid #3498db;
  outline-offset: 2px;
}

button:focus {
  outline: 2px solid #3498db;
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .nav-container,
  .footer-container {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  a {
    color: #333;
    text-decoration: underline;
  }
}
