.timeline-card {
  position: relative;
  margin-left: 16px;
}

.timeline-card:before {
  content: '';
  display: inline-block;
  position: absolute;
  background-color: #fff;
  border-radius: 100%;
  width: 24px;
  height: 24px;
  top: 16px;
  left: -12px;
  border: 5px solid;
  z-index: 2;
}

.timeline-body {
  border-left: 2px solid #E6E9ED;
}

.timeline-card-primary:before {
  border-color: var(--bs-primary);
}

.timeline-card-info:before {
  border-color: var(--bs-info);
}

.timeline-card-secondary:before {
  border-color: var(--bs-secondary);
}

.timeline-card-success:before {
  border-color: var(--bs-teal);
}

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
}

.container {
  max-width: 1140px;
}

.site-title {
  font-size: 1.25rem;
  line-height: 2.5rem;
}

.nav-link {
  padding: 0;
  font-size: 1rem;
  line-height: 2.5rem;
  color: inherit;
  opacity: 0.8;
}

.header-social .nav-link {
  font-size: 1.25rem;
}

.nav-link:hover,
.nav-link:focus {
  color: inherit;
  opacity: 1;
}

.nav-item+.nav-item {
  margin-left: 1rem;
}

.cover {
  height: 500px;
}

.cover>img {
  -o-object-fit: cover;
  object-fit: cover;
  width: auto;
}

.progress-bar {
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 1px;
}

.text-small {
  font-size: 0.85rem;
}

.text-teal {
  color: var(--bs-teal);
}

footer a:not(.nav-link) {
  color: inherit;
  border-bottom: 1px dashed;
  text-decoration: none;
  cursor: pointer;
}

@media (min-width: 48em) {
  .site-title {
    float: left;
  }

  .site-nav {
    float: right;
  }
}

@media (max-width: 767px) {
  [data-aos] {
    opacity: 1 !important;
    transform: translate(0) scale(1) !important;
  }

  .p-5 {
    padding: 2.5rem 2rem !important;
  }

  .portfolio-section .m-5 {
    margin: 2rem 0 1rem !important;
  }

  .portfolio-reverse {
    flex-direction: column-reverse;
  }

  .portfolio-reverse .text-end {
    text-align: start !important;
  }
}

@media print {
  [data-aos] {
    opacity: 1 !important;
    transform: translate(0) scale(1) !important;
  }

  body.bg-light {
    background-color: #fff !important;
  }

  .container {
    width: auto;
    max-width: 100%;
    padding: 0;
  }

  .cover {
    height: 360px;
    margin-bottom: 1.5rem;
  }

  .cover>img {
    display: none;
  }

  .shadow-1-strong {
    box-shadow: none !important;
  }

  .resume-container>.my-5 {
    margin: 0 !important;
  }

  .my-5.p-5 {
    padding: 1.5rem 0 !important;
  }

  .about-section {
    padding: 0 !important;
  }

  .skills-section,
  .work-experience-section,
  .education-section,
  .portfolio-section,
  .reference-section,
  .contact-section {
    padding: 0 !important;
  }

  .page-break {
    padding-top: 5rem;
    page-break-before: always;
  }
}

.testimonial-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 12px;
  padding: 1.5rem;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  position: relative;
}

.testimonial-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.10);
  transform: translateY(-3px);
}

.testimonial-card .avatar img {
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bs-info);
  box-shadow: 0 2px 8px rgba(84, 180, 211, 0.25);
}

.testimonial-card .quote-icon {
  font-size: 1.4rem;
  color: var(--bs-info);
  opacity: 0.25;
  flex-shrink: 0;
  margin-top: 2px;
}

.testimonial-card .testimonial-text {
  font-size: 0.97rem;
  line-height: 1.65;
  color: #444;
  margin: 0;
}

.testimonial-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(84, 180, 211, 0.45);
  background: rgba(84, 180, 211, 0.08);
  color: var(--bs-info);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  font-size: 0.85rem;
}

.testimonial-nav-btn:hover {
  background: var(--bs-info);
  border-color: var(--bs-info);
  color: #fff;
  transform: scale(1.1);
}

.testimonial-dots .dot {
  display: inline-block;
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: rgba(108, 117, 125, 0.25);
  margin: 0 3px;
  transition: background 0.3s ease, width 0.3s ease;
  cursor: pointer;
}

.testimonial-dots .dot.active {
  background: var(--bs-info);
  width: 32px;
}

a.text-teal {
  color: var(--bs-teal) !important;
  text-decoration: none;
}

a.text-teal:hover {
  text-decoration: underline;
}

.education-section hr {
  opacity: 0.15;
}

.bg-image {
  position: relative;
  overflow: hidden;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.bg-image>img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.mask {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.mask>div {
  position: relative;
  z-index: 1;
}

.shadow-1-strong {
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.16) !important;
}

.shadow-2-strong {
  box-shadow: 0 8px 17px rgba(0, 0, 0, 0.2) !important;
}