/* General */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.hero-section {
  position: relative;
  min-height: 90vh;
  background: url('../img/hero.jpg') center center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); /* Black overlay with 50% opacity */
  z-index: 1;
}

/* Text on top of Overlay */
.hero-section .container {
  position: relative;
  z-index: 2;
}

/* Hero Section */
.hero-section h1,
.hero-section p,
.hero-section a {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards;
}
.hero-section h1 {
  animation-delay: 0.3s;
}
.hero-section p {
  animation-delay: 0.6s;
}
.hero-section a {
  animation-delay: 0.9s;
}

/* Hero Fade In Animation */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* Timeline */
.timeline {
  list-style: none;
  padding-left: 0;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15px;
  width: 4px;
  height: 100%;
  background: #0d6efd;
}
.timeline li {
  margin-bottom: 40px;
  padding-left: 40px;
  position: relative;
}
.timeline li::before {
  content: '';
  position: absolute;
  width: 15px;
  height: 15px;
  background: #0d6efd;
  border: 3px solid #fff;
  border-radius: 50%;
  top: 0;
  left: 8px;
}

/* Footer */
footer p {
  margin: 0;
}

.card:hover {
    background-color: #f8f9fa;
    transition: background-color 0.3s ease;
}

.btn-light:hover {
    background-color: #f8f9fa;
    color: #0d6efd;
    transition: 0.3s;
}

/* Hover effect for Skills table */
.table tbody tr:hover {
  background-color: #f1f1f1 !important; /* Light gray background on hover */
  cursor: pointer;
  transition: background-color 0.3s ease;
}
