ul.custom-list {
  display: flex;
  justify-content: space-evenly;
}

.whatwedo-font {
  /* font-family: "Six Caps", sans-serif !important; */
  color: #e8dcb5 !important;
  letter-spacing: normal !important;
  font-weight: 600;
}

.nav-link a {
  border-color: white;
  border: 20px;
}

.section-padding {
  padding-top: 80px;
  padding-bottom: 80px !important;
}

.heading-nav {
  display: flex !important;
  justify-content: space-evenly !important;
  margin-top: 30px !important;
  /* padding: 14px 5px !important; */
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  border: 0.5px solid #e8dcb5 !important;
  border-radius: 30px !important;
  margin-left: 15px !important;
  list-style-type: none !important;
  color: #e8dcb5 !important;
  letter-spacing: normal !important;
}

.accordion-button .icon {
  margin-left: auto;
}

.accordion-button svg {
  transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed) svg {
  transform: rotate(180deg);
}

.video-border {
  border-radius: 15px !important;
}

.image-container {
  position: relative;
  overflow: hidden;
}

.static-heading {
  position: absolute;
  bottom: 10px;
  left: 10px;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  z-index: 2;
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 10px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  border-bottom-left-radius: 15px !important;
  border-bottom-right-radius: 15px !important;
}

.image-container:hover .image-overlay {
  transform: translateY(0);
}

.image-overlay h4 {
  margin: 0;
}

.image-overlay p {
  margin: 0 0 0;
  font-size: 0.9em;
}

.image-container:hover .static-heading {
  display: none;
}

/* Media query for tablets */

@media (min-width: 768px) and (max-width: 991px) {
  .custom-list {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .image-overlay {
    transform: translateY(0);
    /* Make overlay always visible */
    opacity: 1;
    /* Ensure visibility */
    bottom: 6px !important;
  }

  .image-container:hover .image-overlay {
    transform: translateY(0);
    /* No hover effect on tablets */
  }

  .static-heading {
    display: none;
    /* Hide static heading, as overlay is always visible */
  }

  .image-overlay h4 {
    font-size: 1.4rem;
    /* Adjust heading size for tablets */
  }

  .image-overlay p {
    font-size: 1rem;
    /* Adjust paragraph size for tablets */
  }

  .last-section {
    padding-bottom: 0px !important;
  }

  .heading-nav {
    display: grid !important;
    justify-content: space-evenly !important;
    margin-top: 30px !important;
    padding: 14px 5px !important;
    padding-top: 14px !important;
    padding-bottom: 16px !important;
    border: 0.5px solid #e8dcb5 !important;
    border-radius: 30px !important;
    margin-left: 0px !important;
    list-style-type: none !important;
    gap: 10px !important;
    padding-right: 36px !important;
  }

  .whatwedo-section {
    padding-bottom: 45px !important;
  }

  .mob-spacing {
    padding: 0 !important;
    margin-top: 7px !important;
  }

  .marketing-vid {
    margin-top: -10px !important;
    /* Slightly adjust margin for tablets */
  }

  .mob-contact {
    font-size: 50px !important;
    /* Adjust font size slightly for tablets */
  }
}

@media (max-width: 767px) {
  .image-overlay {
    transform: translateY(0);
    /* Make overlay always visible */
    opacity: 1;
    /* Ensure visibility */
    bottom: 6px !important;
  }

  .image-container:hover .image-overlay {
    transform: translateY(0);
    /* No hover effect on mobile */
  }

  .static-heading {
    display: none;
    /* Hide static heading, as overlay is always visible */
  }

  .image-overlay h4 {
    font-size: 1.2rem;
    /* Adjust heading size for mobile */
  }

  .image-overlay p {
    font-size: 0.8rem;
    /* Adjust paragraph size for mobile */
  }

  .last-section {
    padding-bottom: 0px !important;
  }
  .heading-nav {
    display: grid !important;
    justify-content: space-evenly !important;
    margin-top: 30px !important;
    padding: 14px 5px !important;
    padding-top: 14px !important;
    padding-bottom: 16px !important;
    border: 0.5px solid #e8dcb5 !important;
    border-radius: 30px !important;
    margin-left: 0px !important;
    list-style-type: none !important;
    gap: 10px !important;
    padding-right: 36px !important;
  }

  .whatwedo-section {
    padding-bottom: 45px !important;
  }

  .mob-spacing {
    padding: 0 !important;
    margin-top: 7px !important;
  }

  .marketing-vid {
    margin-top: -15px !important;
  }
  .mob-contact {
    font-size: 61px !important;
  }
}

/* Media query for mobile */
@media (max-width: 576px) {
  .custom-list {
    flex: 0 0 100%;
    max-width: 100%;
    box-sizing: border-box;
    /* Ensure padding and borders are included in the element's width */
    display: grid !important;
    padding-left: 10px;
    margin-left: 2px !important;
  }

  .custom-list {
    padding: 0;
    margin: 0;
  }

  .custom-list li {
    margin: 8px 0;
    /* Adjust spacing between items for small screens */
  }

  .custom-list li a {
    font-size: 20px;
    /* Reduce font size for mobile */
  }
}

/* Hover effect */
.custom-list li a:hover {
  color: gold;
  /* Change the text color on hover */
  text-decoration: solid;
  /* Add underline on hover */
}

.row {
  display: flex;
  flex-wrap: wrap;
}

.whatwedo-heading {
  padding-bottom: 0px !important;
}

/* #advertisement{
    padding: 10px !important;
} */
