.footer-top {
    margin-top: -1%;
}

            .header
             {
  position:relative;
  text-align:center;
  background: linear-gradient(60deg, rgb(233, 126, 2) 0%, rgb(224, 180, 136) 100%);
  color:white;
}


.inner-header {
  width:100%;
  margin: 0;
  padding: 0;
}



.waves {
  position:relative;
  width: 100%;
  height:10vh;
  margin-bottom:-7px; /*Fix for safari gap*/
  min-height:100px;
  max-height:150px;
}

.content {
  position:relative;
  height:20vh;
  text-align:center;
  background-color: white;
}

  #jd-grid {
    padding: 1rem 0;
  }

  /* Card container */
  .filter-item {
    perspective: 1200px;
  }

  /* Card style */
  .card {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow:
      8px 8px 16px #c8d0e7,
      -8px -8px 16px #ffffff;
    background: #e0e5ec;
    transition: box-shadow 0.35s ease, transform 0.35s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  /* Hover lifts card */
  .card:hover {
    box-shadow:
      12px 12px 24px #b0bbd8,
      -12px -12px 24px #ffffff;
    transform: translateY(-10px);
  }

  /* Image container with zoom */
  .card-img-top {
    height: 180px;
    object-fit: cover;
    transition: transform 0.4s ease;
    border-bottom: 1px solid #a0afc1;
  }

  .card:hover .card-img-top {
    transform: scale(1.07);
  }

  /* Overlay title on image */
  .image-overlay {
    position: relative;
  }

  .image-overlay h5 {
    position: absolute;
    bottom: 10px;
    left: 12px;
    margin: 0;
    padding: 0.2rem 0.6rem;
    background: rgba(208, 180, 21, 0.85);
    color: white;
    font-weight: 700;
    font-size: 1.15rem;
    border-radius: 0.4rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    max-width: 90%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Card body */
  .card-body {
    flex-grow: 1;
    padding: 1rem 1.25rem 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  /* Info rows with icon */
  .info-row {
    display: flex;
    align-items: center;
    margin-bottom: 0.6rem;
    color: #555;
    font-size: 0.95rem;
  }

  .info-row svg {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    fill: #4a90e2;
    flex-shrink: 0;
  }

  /* Modal content */
  .modal-content {
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(74, 144, 226, 0.3);
  }

  /* Modal header image */
  .modal-header {
    position: relative;
    padding: 0;
    border-bottom: none;
    overflow: hidden;
  }

  .modal-header img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.6s ease;
  }

  /* Modal header overlay */
  .modal-header .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.6) 90%);
  }

  /* Modal title in header */
  .modal-title {
    position: absolute;
    bottom: 1.5rem;
    left: 2rem;
    color: white;
    font-weight: 800;
    font-size: 2rem;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.7);
  }

  /* Modal body */
  .modal-body {
    padding: 2rem 2.5rem;
    font-size: 1.15rem;
    line-height: 1.5;
    color: #222;
  }

  .modal-body .info-row {
    margin-bottom: 1.2rem;
    font-weight: 600;
    color: #333;
  }

  .modal-body .info-row svg {
    fill: #2980b9;
  }

  .modal-body hr {
    margin: 1.5rem 0;
    border-color: #d1d7e0;
  }

  /* Modal description text */
  #modalDescription {
    font-weight: 400;
    color: #444;
  }

  /* Close button */
  .btn-close {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    z-index: 10;
    filter: drop-shadow(0 0 2px rgba(0,0,0,0.4));
  }
.modal-backdrop {
  z-index: 1040 !important;
}

.modal {
  z-index: 1050 !important;
}

.header_section,
.header {
  z-index: 1030;
  position: relative; /* or fixed/absolute if needed */
}

  /* Modal footer */
  .modal-footer {
    border: none;
    justify-content: center;
    padding: 1.5rem 2.5rem 2rem;
  }

  .btn-primary {
    background-color: #4a90e2;
    border: none;
    padding: 0.6rem 2.25rem;
    font-weight: 700;
    border-radius: 50px;
    transition: background-color 0.3s ease;
    box-shadow:
      0 6px 12px rgba(74,144,226,0.5);
  }

  .btn-primary:hover {
    background-color: #357ABD;
    box-shadow:
      0 8px 20px rgba(53, 122, 189, 0.7);
  }
/* Animation */

.parallax > use {
  animation: move-forever 25s cubic-bezier(.55,.5,.45,.5)     infinite;
}
.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}
.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}
.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}
.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}
@keyframes move-forever {
  0% {
   transform: translate3d(-90px,0,0);
  }
  100% { 
    transform: translate3d(85px,0,0);
  }
}
/*Shrinking for mobile*/
@media (max-width: 768px) {
  .waves {
    height:40px;
    min-height:40px;
  }
  .content {
    height:30vh;
  }
  
}

