/* Custom CSS overrides for avatar image */
.home img {
  object-fit: cover !important;
  object-position: center 30% !important;
  width: 148px;
  height: 148px;
  background-color: transparent !important;
  border: 2px solid rgba(255, 255, 255, 0.4) !important;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.15) !important;
}

/* Change text colors on home section to white with dark text shadow for better readability */
.home .greeting {
  color: #ffffff !important;
  font-weight: 300 !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), -1px -1px 2px rgba(0, 0, 0, 0.8), 0 0 8px rgba(0, 0, 0, 0.5) !important;
}

.home .typing-carousel {
  color: #ffffff !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), -1px -1px 2px rgba(0, 0, 0, 0.8), 0 0 8px rgba(0, 0, 0, 0.5) !important;
}

.home .arrow {
  color: #ffffff !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 8px rgba(0, 0, 0, 0.5) !important;
}

/* Change navbar section names to white with dark text shadow for better readability */
.initial-navbar li a {
  color: #ffffff !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), -1px -1px 2px rgba(0, 0, 0, 0.8), 0 0 8px rgba(0, 0, 0, 0.5) !important;
}

.initial-navbar .navbar-brand {
  color: #ffffff !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), -1px -1px 2px rgba(0, 0, 0, 0.8), 0 0 8px rgba(0, 0, 0, 0.5) !important;
}

.initial-navbar .navbar-nav .active,
.initial-navbar li a:hover {
  color: #ffffff !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9), -1px -1px 2px rgba(0, 0, 0, 0.9), 0 0 10px rgba(0, 0, 0, 0.6) !important;
}

/* Adjust background image to show more of the lower section */
.home .background {
  background-position: center 70% !important;
}

/* Fix soft skills circular progress - prevent text cutoff */
.circular-progress .circular-progress-value {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  line-height: 1.2 !important;
  font-size: 0.7rem !important;
  padding: 5px !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  white-space: normal !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

/* Change experience timeline line color to dark terracotta to match sunset background */
.circle {
  background-color: #8c3c2b !important;
}

.timeline .vertical-line::after {
  border-left-color: #8c3c2b !important;
}

.timeline .horizontal-line hr {
  border-top-color: #8c3c2b !important;
}

.timeline .horizontal-line .corner {
  border-color: #8c3c2b !important;
}

/* Change experience titles to match timeline color */
.experiences-section .experience-entry-heading h5,
.experiences-section .experience-entry-heading h5 a,
.experiences-section .experience-entry-heading h6,
.experiences-section .experience-entry-heading h6 a,
.experiences-section .positions .designation {
  color: #8c3c2b !important;
}
