a {
    color: #117e68;
    text-decoration: unset;
    transition: all 0.3s ease;
}

a:hover {
    text-decoration: underline;
}

.portfolio-item {
  margin-bottom: 30px;
}

.vertical-center {
  min-height: 33%;  /* Fallback for browsers do NOT support vh unit */
  min-height: 33vh; /* These two lines are counted as one :-)       */

  display: flex;
  align-items: center;
}

#popoverimages:hover {opacity: 0.7;}

* {
    font-family: 'serif';
  }

.vertical-align {
    display: flex;
    align-items: center;
}

.card {
 border-radius: 0;
}

.breadcrumb {
 border-radius: 0;
}

p.card-text {
    padding: 0rem;
    padding-bottom: 0.7rem;
    margin: 0rem;
}

p.card-text:last-child {
    padding-bottom: 0rem;
}

h4.card-title {
    font-size: 1.3rem;
    color: #117e68;
    line-height: 1.6rem;
}

h1 {
    padding-top: 3em;
    padding-bottom: 0.6em;
    font-weight:bold;
}

p {
    text-align: justify;
    padding-bottom: 0.2em;
}
p:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
}

h2 {
    padding-top: 1em;
    padding-bottom: 1.2em;
}

h3 {
    padding-bottom: 0.8em;
}

h5 {
    line-height: 1.6;
}


h6 {
    padding-bottom: 1em;
}

a {
    color: #117e68;
}

.btn-primary {
    background-color: #16A085;
    border-color: #16A085;
}

.btn-primary:hover{
    background-color:#43B8A1;
    border-color:#43B8A1
}

.btn-primary:focus, .btn-success:active{
  background: #117e68 !important;
  border-color: #117e68 !important;
  box-shadow: none !important;
}

.img-symb {
    height: 95%;
    width: 95%;
}

.hidden {
    display: none;
}

.card {
    transition: box-shadow 0.3s ease;  /* Smooth transition for the shadow */
}

.card:hover {
    box-shadow: 0 4px 8px rgba(52, 58, 64, 0.6);
}

.navbar {
  opacity: 0.95;
}

.nav-link {
    padding-left: 2rem !important;
}


@media (max-width: 767px) {
    #navbarNavMain {
        margin-right: 10rem;
    }
    .nav-item {
        margin-left: 1rem;
    }
}

  .contact-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1030;
  }
  
  .contact-btn {
    background-color: rgba(17, 126, 104, 0.9);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .contact-btn:hover {
    background-color: rgba(17, 126, 104, 1);
    box-shadow: 0 4px 8px rgba(52, 58, 64, 0.6);
  }
  
  .contact-info {
    position: absolute;
    bottom: 60px;
    right: 0;
    background-color: white;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    white-space: nowrap;
    text-align: right;
    display: none;
  }
  
  .contact-info a {
    font-weight: 500;
  }

.carousel-item {
  height: 50vh;
  overflow: hidden;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.dropdown-menu.show {
    display: inline-flex;
    left: -5em;
    position: absolute;
}

.logo-container {
    padding: 10px;
    border: 1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
    box-sizing: border-box;
    margin: 10px auto;
}

.logo {
    max-width: 100%;
    max-height: 80%;
    width: auto;
    height: auto;
    display: block;
}

.row.no-gutters {
    margin-right: 0;
    margin-left: 0;
}

.row.no-gutters [class*='col-'] {
    padding-left: 0;
    padding-right: 0;
}

.list-group-item {
    padding: 20px; /* Adjust value for desired spacing */
}

.content-small {
    font-size: 0.9rem;
}

.list-group-item h5 {
    color: #117e68;
}

.card {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.card-body {
    padding: 1rem;
}

.mosaic {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); /* Adjust min width for smaller images */
    gap: 10px; /* Space between images */
}

.mosaic img {
    width: 100%;
    aspect-ratio: 1 / 1; /* Ensures images are square */
    object-fit: cover; /* Cover the entire square without distortion */
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .card {
        max-width: 900px;
    }
}

@media (max-width: 991px) {
    .container {
        max-width:800px;
    }

}

.accordion-button:not(.collapsed) .fa-chevron-right {
  transform: rotate(90deg);
}
.accordion-button .fa-chevron-right {
  transition: transform 0.2s ease-in-out;
  transform-origin: 6px 8px; /* Adjust the rotation axis */
}
    /* Remove the default accordion button icon */
.accordion-button::after {
  content: none; /* This removes the default icon */
  display: none; /* Ensure it doesn't occupy space */
}
.accordion-button {
  font-weight: 500;
  color: #117e68;
  transition: box-shadow 0.3s ease-in-out;
}
.accordion-button:not(.collapsed) {
   color: #117e68;
  box-shadow: 0 2px 4px rgba(52, 58, 64, 0.4);
   background-color: #fff;
}
.accordion {
  --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(17, 126, 104, 0.25);
  --bs-accordion-btn-focus-box-shadow: none;
  p {
        font-family: serif;
        font-size:0.9rem;
        opacity: 0.8;
    }
}

.accordion-button:hover {
  box-shadow: 0 2px 4px rgba(52, 58, 64, 0.4);
}

/* CSS for square images */
.square-image-container {
  position: relative;
  width: 100%;
  padding-top: 100%; /* Creates a square aspect ratio */
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.square-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* This crops the image to fill the container */
  border-radius: 4px;
}

footer {
    height: 110px;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
    line-height: 110px;
}

.card-img-top {
    border-radius: 0;
}

.teal {
    color: #117e68;
}

.modal-body {
  /* Center content within modal */
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0; /* Remove default padding from modal body */
}

.modal-body img {
  width: auto;
  height: auto;
  object-fit:  contain; /* Preserve aspect ratio */
}

@media (max-width: 1500px) {
    .modal-body img {
        max-width: 80vw; /* ensure the image does not exceed the viewport width */
        max-height: 80vh; /* ensure the image does not exceed the viewport height */
    }
}

@media (max-width: 991px) {
    .modal-body img {
        max-width: 95vw; /* Ensure the image does not exceed the viewport width */
    }
}

.pdf-overlay {
    position: absolute;
    top: 10px; /* Adjust to position as needed */
    left: 10px; /* Adjust to position as needed */
    text-decoration: none;
    z-index: 1; /* Ensure it appears above the image */
}

@media (max-width: 991px) {
  .pdf-overlay {                                   
      top: 25px; /* Adjust to position as needed */ 
      left: 25px; /* Adjust to position as needed */
  }
}

.pdf-icon {
    width: 50px; /* Adjust the size as needed */
    height: auto;
}
