.profile {
  display: flex; /* Ensures flexbox layout for alignment */
  align-items: stretch; /* Ensures children can stretch to fill */
  padding-bottom: 0%; /* Remove any default padding */
  padding-top: 8%; /* Remove any default padding */
} 

.columns.is-vcentered {
  align-items: center; /* Ensure vertical centering */
  height: 100%; /* Make sure it fits within the parent */
}

.no-shadow {
  box-shadow: none; /* Removes shadow only for this specific card header */
}

.project-caption{
  padding-top: 0%
}

.navbar{
  padding-left: 10%;
  padding-right: 10%
}

.card-header-icon{
  padding-left: 0%;
  padding-left: 0%;
}

.projects {
  display: flex; /* Use Flexbox for alignment */
  align-items: stretch; /* Ensures all cards stretch to the same height */
}

.card {
  display: flex;
  flex-direction: column; /* Keeps card content organized */
  min-height: 100%; /* Ensures the card fills available height */
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

.navbar-item{
  padding-top: 5%;
  padding-bottom: 5%;
}

.has-image-bg {
  position: relative;
  background: url('assets/main.avif') center center / cover no-repeat;
}

.has-image-bg::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Black overlay with 50% opacity */
  z-index: 0;
}

.has-image-bg .hero-body {
  position: relative;
  z-index: 1; /* keep text above overlay */
}

.modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow: hidden;
}

.modal-body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal-body img {
  max-height: 80vh;
  max-width: 100%;
  height: auto;
  width: auto;
  object-fit: contain;
}

body.modal-open {
  overflow: hidden;
  height: 100vh;
}

    @media(max-width: 500px) {
      .columns {
        flex-direction: column;
        display: flex;
      }
    }

    @media(max-width: 500px) {
      .reverse-columns {
        flex-direction: column-reverse;
        display: flex;
      }
    }

    .titled {
  font-family: 'Merriweather', serif !important;
  font-size: 58px !important;
  font-weight: 400 !important;
  line-height: 64px !important;
}

@media (max-width: 1024px) {
  /* Tablet and smaller devices */
  .titled {
    font-size: 48px !important;
    line-height: 54px !important;
  }
}

@media (max-width: 768px) {
  /* Mobile devices */
  .titled {
    font-size: 36px !important;
    line-height: 42px !important;
  }
}

@media (max-width: 480px) {
  /* Small mobile devices */
  .titled {
    font-size: 28px !important;
    line-height: 34px !important;
  }
}


.subtitled {
  font-family: 'Merriweather', serif !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  line-height: 36px !important;
  padding-bottom: 36px !important;
}

@media (max-width: 1024px) {
  /* Tablet and smaller devices */
  .subtitled {
    font-size: 18px !important;
    line-height: 32px !important;
    padding-bottom: 32px !important;
  }
}

@media (max-width: 768px) {
  /* Mobile devices */
  .subtitled {
    font-size: 16px !important;
    line-height: 28px !important;
    padding-bottom: 28px !important;
  }
}

@media (max-width: 480px) {
  /* Small mobile devices */
  .subtitled {
    font-size: 14px !important;
    line-height: 24px !important;
    padding-bottom: 24px !important;
  }
}


.header-text {
  font-size: 18px !important;
  font-weight: 600 !important;
  line-height: 0px !important;
}