html {
  scroll-behavior: smooth;
}


#title {
    position: relative;
    left: 20px;
}
#navbarNav {
    position: relative;
    right: 20px;
}

/* Full-width section background */
#features {
  background: linear-gradient(90deg, #1e3a5f, #2c4f7c);
  border-top: 20px solid rgba(255, 255, 255, 0);
  border-bottom: 20px solid rgba(255, 255, 255, 0);
}



.feature-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

/* Icon */
.feature-icon {
  opacity: 0.9;
  width: 26px;
  height: 26px;
}

/* Title */
.feature-title {
  margin: 0;
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
}

#cards{
    padding-top: 50px;
}
.project-card {
  width: 100%;
  max-width: 20rem;
  border: none;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.card-title {
  font-weight: 600;
}

.card-text {
  font-size: 0.95rem;
  color: #555;
}

.card-img-top {
  width: 100%;
  height: 350px;          /* pick a consistent height */
  object-fit: cover;     /* fills the card without distortion */
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
}

#hotspot-size{
  height: 700px;
}

#hotspot-image {
  background-color: #0b0f14;
  padding: 1rem;
  max-height: 140px;
  width: 100%;
  object-fit: contain;
}

#projectCarousel .carousel-inner {
  min-height: 620px;        /* prevents page jump */
  display: flex;
  align-items: center;
}

#projectCarousel .project-card {
  width: 100%;
  max-width: 420px;
  max-height: fit-content;
}

#projectCarousel .carousel-control-prev,
#projectCarousel .carousel-control-next {
  width: 10%;
  filter: invert(1);
}

#projectCarousel .carousel-indicators button {
  background-color: #333;   /* dark grey */
}




/* Optional: smoother appearance */
.dropdown-menu {
  opacity: 0;
  transition: opacity 0.2s ease;
}

.nav-item.dropdown:hover .dropdown-menu {
  opacity: 1;
}

.section-heading {
  font-weight: 600;
  margin-bottom: 1rem;
  padding-left: 0.75rem;
  
}

.section-heading:hover {
  border-left: 4px solid #0d6efd; /* Bootstrap primary */
}

.section-date {
  font-size: 0.75rem;
  color: #6c757d;
  margin-left: 0.75rem;

  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.25s ease;
}

.section-heading:hover .section-date {
  opacity: 1;
  transform: translateX(0);
}


.section-link {
  color: inherit;
  text-decoration: none;
}

#code {
    margin-left: 20px;
}

#smalldet {
    max-height: 500px;
}

#textlink {
  color: #0d6efd;       /* Bootstrap blue */
  text-decoration: none;
  font-weight: 500;

}
#textlink:hover {
  text-decoration: underline;
}

#contact-text {
  color: rgb(57, 57, 245);
  font-size: 3rem;          /* Bigger */
  font-weight: 700;
  letter-spacing: -0.02em; /* Modern feel */
  margin-bottom: 1rem;
}

.contact-intro {
  color: #2c2c2c;
  font-weight: 500;
  max-width: 520px;
  line-height: 1.5;
}

#pad {
  padding-bottom: 12px;
}

.accent{
  color: rgba(5, 107, 14, 1);
  font-weight: 700;
}

.about-title {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  position: relative;
  display: inline-block;
}

.about-title::after {
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  background: rgb(57, 57, 245);
  border-radius: 2px;
  margin-top: 6px;
}
.about-title:hover{
  transform: translateY(-2px);
}



/* Mobile tweaks */
@media (max-width: 576px) {
  .feature-bar {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 8px;
  }
    .feature-icon {
        margin-left: 0;
    }
}

/* Desktop hover support */
@media (min-width: 992px) {
  .nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}



