html,
body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    background-color: #e0f7ff;
}

/* main {
    flex: 1;
} */

header,
footer {
    background-color: #87ceeb;
    color: white;
    /* padding: 1rem; */
}

nav a {
    margin: 0 0.25rem;
}

.logo {
    width: 30%;
}

  .read-more-btn {
    color: #87CEEB;
    background-color: transparent;
    border: 2px solid #87CEEB;
    border-radius: 20px;
    padding: 6px 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
  }
  .read-more-btn:hover, .read-more-btn:focus {
    color: white;
    background-color: #87CEEB;
    text-decoration: none;
  }

.hover-effect:hover {
    transform: scale(1.02);
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(135, 206, 235, 0.4);
  }
  

  .grid-banner {
    position: relative;
    overflow: hidden;
  }

  .card-img-top {
    width: 100%;
    display: block;
  }

  .card-title-overlay {
    position: absolute;
    bottom: 0;
    background: rgba(90, 155, 212, 0.8); /* semi-transparent background */
    color: white;
    width: 100%;
    text-align: center;
    padding: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .grid-banner:hover .card-title-overlay {
    opacity: 1;
  }


    .custom-modal-title {
    color: #87CEEB;
    font-weight: 600;
    font-size: 1.25rem;
    margin-top: 0.75rem;
  }

  /* Optional: Add subtle border and shadow for the modal content */
  .custom-modal-content {
    background-color: #1a1a2e; /* dark navy, fits the theme */
    border-radius: 0.5rem;
    box-shadow: 0 0 15px rgba(135, 206, 235, 0.5);
  }

  /* Modal body padding */
  .custom-modal-body {
    padding: 1rem;
  }