/* Add your custom styles here test 2*/
/*
.nav-link {
  color: red !important;
  font-size: 16px !important;
  opacity: 1 !important;
}*/
.col-md-11 {
  width: 95% !important; /* Increase the width of col-md-11 */
}

html, body {
  height: 100%;  /* Ensures the background covers the full height */
  background-color: #b5d6f7; /* Light gray background */
  margin: 0;  /* Removes any default margins */
}

.row {
  margin-top: 25px; /* Adjust this value to move the row down */
}
footer.footer {
    background-color: #346f94; /* dark background */
    color: #f0f0f0;
    padding: 60px 0;
    font-size: 1.2rem;
  }
  
  .footer .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
  }
  
  .footer a {
    color: #f0f0f0;
    text-decoration: underline;
  }
  
  .footer a:hover {
    color: #00aced;
  }
  
  .footer p {
    margin-bottom: 0;
  }
  
  .footer hr {
    border: none;
    border-top: 1px solid #444;
    margin: 20px auto;
    width: 80%;
  }
  
  .footer .social-links {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
  }
  
  .footer .social-links li a {
    font-size: 1.5rem;
  }
  
.navbar .nav-item img {
  width: 130px !important;  /* Adjust the size as needed */
  height: auto !important;  /* Maintain aspect ratio */
}

.navbar .nav-item .nav-link img {
  width: 50px !important;
  height: 50px !important;
  object-fit: cover;
  border-radius: 8px; /* or 50% for circular */
}

.navbar-item {
  width: 150px;  /* Adjust the size as needed */
  height: auto;  /* Maintain aspect ratio */
}

.nav-item-image {
  width: 20px;  /* Adjust the size as needed */
  height: auto;  /* Maintain aspect ratio */
}

.navbar-item-image {
  width: 20px;  /* Adjust the size as needed */
  height: auto;  /* Maintain aspect ratio */
}

.navbar {
  background-color: #a1c7f9 !important; 
  position: relative; /* Ensure navbar stays above */
  z-index: 900; /* Higher than the carousel */
}

.carousel-caption {
  position: absolute;
  z-index: 2; /* Lower than the navbar */ 
  font-size: 2.5rem; /* Adjust size as needed */
  font-weight: bold;
  bottom: 0%; /* Adjust vertical position */
  width: 100%; /* Make the caption span full width */
  left: 0;
  right: 0;
  padding: 20px; /* Adds padding for readability */
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
  text-align: center; /* Centers text */
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8); /* Stronger shadow */
}

.carousel {
  width: 100%; /* Make sure it fills the column */
  max-width: 1600px; /* Increase max-width */
  height: 600px; /* Adjust height */
}

.carousel-inner {
  width: 100%;
  height: 100%;
}

.carousel-item img {
  width: 100%;
  height: 600px; /* Increase image height */
  object-fit: cover; /* Ensures images scale properly */
}

.carousel-control-prev,
.carousel-control-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; /* Adjust arrow button size */
  height: 40px;
  background-color: rgba(0, 0, 0, 0.3); /* Optional: visible background */
  border-radius: 50%;
  z-index: 10;
}

.carousel-control-prev {
  left: 0; /* Keep at the start of .carousel */
}

.carousel-control-next {
  left: 97%; /* Aligns with .carousel-inner */
}

/* Adds a bit of spacing to "Responsive Grid Row" blocks. */
.crx-grid {
    padding-top: 40px;
      padding-bottom: 40px;
  }
  
  .crx-grid .crx-grid {
    padding-top: 0;
    padding-bottom: 0;
  }
  .gallery-container {
    background-color: #fdfca5;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 10px;
    justify-content: center;
}

.gallery-item {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.image-wrapper {
    position: relative;
    display: block;
    width: 100%;
}

/* Ensure image takes full width */
.gallery-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 5px;
}

/* Position title at the bottom of the image */
.image-title {
  position: absolute;
  bottom: 0; /* Align to the bottom */
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark semi-transparent background */
  color: white;
  padding: 8px 0;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  opacity: 1; /* Always visible */
  border-radius: 0 0 5px 5px; /* Rounded bottom corners */
}


  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); /* Increase min size */
    gap: 25px; /* Increase spacing */
    padding: 30px;
    justify-content: center;
  }
  
  .gallery-card {
    background: #fdfca5;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
    text-align: center;
    width: 100%; /* Ensure full width */
    max-width: 400px; /* Increase max size */
  }
  
  .gallery-card:hover {
    transform: scale(1.08); /* Bigger hover effect */
  }
  
  .gallery-card img {
    width: 100%;
    height: auto;
    border-bottom: 3px solid #ddd;
  }
  
  .gallery-card h3 {
    padding: 20px;
    font-size: 1.5rem; /* Increase title size */
    color: #222;
  }
  
  .gallery-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px;
  }
    
  .gallery-card img {
  width: 100%; /* Make image fill the card */
  height: auto;
  display: block;
  border-bottom: 2px solid #ddd;
  }
  
  .gallery-card h3 {
  padding: 15px;
  font-size: 1.2rem;
  color: #333;
  }   
  .gallery-card-image img {
    width: 40%;
    height: auto;
    border-bottom: 3px solid #f0f0f0;
  }
    
  .gallery-card-content {
    padding: 15px;
    text-align: center;
  }
    
  .gallery-card p {
    font-size: 14px;
    color: #666;
  }