/* Styling for navbar-brand text */
.navbar-brand .text-start {
    line-height: 1.2;
    font-size: 0.9rem;
    font-weight: bold !important;
}

/* Allow wrapping for links but not for words in links */
.navbar-nav {
    flex-wrap: wrap; /* Enable wrapping of links */
    gap: 5px; /* Adjust the gap between rows of wrapped links */
    line-height: 1; /* Reduce line height to minimize line gap */
    font-weight: bold;
    font-size: 0.9rem;
}

.navbar-nav .nav-link {
    white-space: nowrap; /* Prevent word wrapping within individual links */
    color: black; /* Default color for navbar links */
    transition: color 0.3s ease; /* Smooth color transition */
    padding: 0.25rem 0.5rem; /* Adjust padding for a compact look */
}

.navbar-nav .nav-link.active {
    color: rgb(250, 164, 4); /* Color for the active link */
}

.navbar-nav .nav-link:hover {
    color: orange; /* Optional hover color */
}


/* Badge for the "NEW" label beside Tender Notice */
.badge-new {
  position: absolute;        /* Position it relative to the parent <li> */
  bottom: 0;                 /* Align it to the bottom edge */
  right: 0;                  /* Align it to the right edge */
  transform: translate(40%, 40%); /* Move it slightly outward for a cleaner look */
  
  background-color: #dc3545; /* Red color (Bootstrap 'danger' shade) */
  color: white;              /* White text for contrast */
  
  font-size: 0.6rem;         /* Small text size to look like a badge */
  padding: 2px 4px;          /* Small padding for spacing inside the badge */
  border-radius: 4px;        /* Slightly rounded corners */
  font-weight: bold;         /* Make the "NEW" text stand out */
}




/* Optional: Reduce default padding to make navbar more compact */
.navbar {
    padding-left: 1.7rem;    
}
.carousel-item{
    height: 70vh;
}
.carousel-item img {
  width: 100%;
  height: 100%;
}
.section-message p{
font-size: 1rem;
}
.section-message h2{
  color: #46bd55;
  }
.text-justify {
  text-align: justify;
}

.card a{
  text-decoration: none;
  color: white;
}
/* .card.text-bg-dark{
  background-color: rgb(238, 166, 31) !important;
  color: black !important;
  
}

.card-body{
  background-color: rgb(196, 127, 0);
  color: black;
  cursor: pointer;

} */

/* 
.row-2 .card.text-bg-dark{
  background-color: #1f2833 !important;
    
}
.row-2 .card-body{
  background-color: #1f2833;
  color: white;
  cursor: pointer;
} */
/* .row-3 .card.text-bg-dark{
  background-color: #2c3531 !important;
  
}
.row-3 .card-body{
  background-color: #2c3531;
  color: white;
  cursor: pointer;
} */

.card.text-bg-dark:hover{
  background-color: rgb(238, 166, 31) !important;
  color: black !important;
  
}

.card-body:hover{
  background-color: rgb(196, 127, 0);
  color: black;
  cursor: pointer;
}

.contact-us{
    white-space: nowrap;
}
.contact-us iframe{    
    margin-right: 30px;
    margin-left: 80px;
    width: 500px !important;
    height: 300px;
}

.custom-col {
    flex: 0 0 calc(100% / 6); /* Divide the row into 6 equal parts */
    max-width: calc(100% / 6); /* Same width for responsiveness */
    padding: 10px; /* Add spacing around columns */
  }

  /* events section starts here */

  /* General Swiper container styles */
.swiper-container {
    position: relative;
    height: 100%;
    width: 100%;
    background-color: #eee;
    padding-top: 30px;
    padding-bottom: 30px;
  }
  
  /* Swiper slide content layout */
  .swiper-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    padding: 20px;
    background: #eee;
  }
  
  /* Heading styles */
  .slide-heading {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
  }
  
  /* Image styles */
  .slide-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
   
  }
  
  /* Text styles */
  .slide-text {
    font-size: 16px;
    color: #555;
    margin-bottom: 10px;
  }
  
  /* Read More button styles */
  .read-more-btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 14px;
    color: #fff;
    background-color: #6b6a6a;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s;
  }
  
  .read-more-btn:hover {
    background-color: #363636;
  }
  

  /* events section ends here */

  
  @media (max-width: 768px) {
    .custom-col {
      flex: 0 0 50%; /* 2 items per row on smaller screens */
      max-width: 50%;
    }
  }
  
  @media (max-width: 576px) {
    .custom-col {
      flex: 0 0 100%; /* 1 item per row on extra small screens */
      max-width: 100%;
    }
  }

  @media (max-width: 992px) { /* 992px is the breakpoint for 'md' in Bootstrap */
    .navbar-expand-md {
        margin-left: 1px !important;

        width: 100% !important; 
        max-width: 100% !important;
        padding-left: 1px !important;
    }
    .navbar .container-fluid{
        padding-left: 1px !important;
    }
}

@media (max-width: 768px) {
  .carousel-item{
    height: 25vh;
}
.custom-col {
  flex: 0 0 calc(100% / 3);
  max-width: calc(100% / 3);
}
.section-message img {
  margin-bottom: 2rem;
}
}