.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color:  #153b5e;
    text-shadow: 1px 3px 5px rgba(0, 0, 0, 0.3); /* Soft shadow */
}

.header-bg {
    background-image: url('../images/ChatGPT\ Image\ Apr\ 23\,\ 2025\,\ 05_45_58\ PM.jpg');
    background-size: cover;
    background-position: center 25%;
    background-color: rgba(25, 59, 92, 0.7); /* Deep blue, matches footer gradient */
    background-blend-mode: overlay;
    width: 100%;
    font-weight: bolder;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Carousel Styles */
/* Set the carousel to match the original image size */
.custom-carousel-img {
    min-height: 600px;
    max-height: 600px; /* Adjust height as needed */
    width: 80%;
    margin: 0 auto;
    object-fit: cover; /* Ensures the image fits well */
}

/* Style the caption for better visibility */
.custom-caption {
    background: rgba(0, 0, 0, 0.8); /* Dark semi-transparent background */
    padding: 15px;
    border-radius: 10px;
    bottom: 20px; /* Moves caption up a bit */
    width: 80%; /* Adjust width for readability */
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
}

/* Improve caption text visibility */
.custom-caption h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
}

.custom-caption p {
    font-size: 1rem;
    color: #ddd;
    margin-bottom: 0;
}


.about-logo {
  width: 100%;
  max-width: 240px;  /* Mobile & small default */
  height: auto;
  transition: transform 0.3s ease;
}

.about-logo:hover {
  transform: scale(1.05);
}

/* Make logo larger on md (≥768px) and up */
@media (min-width: 768px) {
  .about-logo {
    max-width: 300px;
  }
}

@media (min-width: 992px) {
  .about-logo {
    max-width: 360px;
  }
}