/* Navbar  and its Elements Styling*/
.dropdown-toggle::after {
  display: none!important;
}
@media (min-width: 992px) {
  .navbar-expand-lg .navbar-collapse {
    display: block;
    flex-basis: auto;
    flex-grow: 1;
    justify-content: center;
    align-items: center;
  }

  .navbar-expand-lg .navbar-nav {
    flex-direction: row;
    gap: 1.5rem;
  }
}

.navbar-expand-lg .navbar-container{
  margin-left: 7rem;
  flex-direction: row;
  gap: 1.5;
}
.nav-hover {
  position: relative;
  display: inline-block;
  color: white;
  text-decoration: none;
  padding: 10px 15px;
}

.navbar-nav .nav-item {
  display: inline-block;
  padding: 0;
}
.navbar-toggler{
  background-color: white !important;
}
/* .navbar-nav .nav-item > .nav-hover:after {
  content: "";
  position: absolute;
  width: 20%;
  height: 2px;
  background-color: white;
  bottom: -5px;
  left: 0;
  transition: width 0.4s ease;
} */

.navbar-nav .nav-item a:hover {
  color:#ebe266 !important;
}


/* Remove underline effect for dropdown items */
.nav-item.dropdown > .nav-hover:after {
  content: none;
}

/* Dropdown arrow styling */
.nav-hover .dropdown-arrow {
  margin-left: 5px;
  font-size: 12px;
  transition: transform 0.4s ease; 
}

.nav-item.dropdown:hover .dropdown-arrow,
.nav-item.dropdown.show .dropdown-arrow {
  transform: rotate(360deg); 
}
.navbar-nav .nav-item:hover {
  color: brown;
}


@media (max-width: 768px) {
  .navbar-expand-lg  .navbar-container{
    margin-left: 0;
  display: flex;
  justify-content: space-between;
 }
 .fa-house{
  font-size:2.2rem ;
}
}

/* owl carousel styling */

.owl-carousel2 .owl-item {
  display: flex;
  align-items: stretch;
}

.card {
  display: flex;
  flex-direction: column;
  height: 100%; 
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(-5px);
}

.card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100px; 
}

.card-text {
  flex-grow: 1;
  margin-bottom: 0;
}

.news-img {
  height: 200px;
  object-fit: cover;
  width: 100%; 
}

.owl-carousel2 .owl-dots.disabled,
.owl-carousel1 .owl-nav.disabled {
  display: block !important;
  font-size: 2rem;
}

.owl-carousel .owl-dots.disabled {
  display: block !important;
}

.carousel1-img {
  display: block;
  margin: 0 auto;
  width: 100%;
  border-radius: 10px;
  position: relative;
}

.owl-carousel1 .owl-nav {
  position: absolute;
  top: 50%;
  width: 94%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.owl-carousel1 .owl-nav .owl-prev,
.owl-carousel1 .owl-nav .owl-next {
  background-color: rgba(219, 209, 209, 0.5);
  color: rgba(219, 209, 209, 0.5) !important;
  border-radius: 50%;
  padding: 10px;
  font-size: 1.5rem;
}

.owl-carousel1 .owl-nav .owl-prev:hover,
.owl-carousel1 .owl-nav .owl-next:hover {
  background-color: rgba(219, 209, 209, 0.5);
  color: #fff !important;
}

.owl-carousel1 .owl-dots {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  position: absolute;
  bottom: 10px;
  width: 94%;
}

.owl-carousel2 .owl-dots {
  display: flex;
  justify-content: center;
  margin-top: 15px;
}

.owl-carousel2 .owl-nav {
  display: none !important;
}

.owl-carousel1 .owl-nav button.owl-prev,
.owl-carousel1 .owl-nav button.owl-next,
.owl-carousel1 .owl-nav button.owl-prev span,
.owl-carousel1 .owl-nav button.owl-next span {
  font-size: 3rem;
  cursor: pointer;
}

.owl-carousel .owl-nav button.owl-prev:hover,
.owl-carousel .owl-nav button.owl-next:hover {
  background-color: transparent;
}

/* Styles for new cards */
.news_update {
  position: relative;
}

.line-span {
  height: 2px;
  width: 20%;
  background-color: #ab3931;
}
/* Titl Styles */
.news-title, .global_container_title .global_title {
  position: relative;
}

.news-title, .global_title, .video_gallery_title,.press_title {
  background-color: #2a8ab8;
  color: white;
  padding: 10px 20px;
  border-radius: .5rem;
  font-size: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .owl-carousel1 .owl-nav {
    display: none;
  }
  .owl-carousel1 .owl-nav .owl-prev,
  .owl-carousel1 .owl-nav .owl-next {
    font-size: 1.2rem;
    padding: 8px;
  }

  .owl-carousel2 .owl-dots {
    margin-top: 10px;
  }
  .carousel1-img{
    width: 100%;
    height: 200px;
  }
}
.global_anchor{
  text-decoration: none;

}



/* tab styling */

.global-main {
  padding: 20px;
}

.feature-article .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-article .card:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.feature-article .card-body {
  background-color: #f8f9fa;
}

.feature-img {
  height: 250px;
  object-fit: cover;
}

.secondary-articles .card {
  transition: box-shadow 0.3s ease;
}

.secondary-articles .card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}


.list-group-item {
  border: none;
  transition: background-color 0.3s ease;
}

.list-group-item:hover {
  background-color: #f0f0f0;
}

.koshi-heading {
  font-size: 1rem;
  color: #333;
}

.koshi-heading:hover {
  color: #007bff;
}

h5.koshi-heading {
  font-size: 1.25rem; 
}

h6.koshi-heading {
  font-size: 1rem;
}

/* Button Styling */

.load-more-btn {
  border-radius: 1.5rem !important;
  background-color: #ab3931 !important;
  margin-bottom: -6rem;
  margin-right: 5rem;
  padding: 9px 20px !important;
  color: white !important;
  cursor: pointer !important;
}
.load-more-btn:hover {
  background-color: #2a8ab8  !important;
  transform: translateY(-3px);
}
@media(max-width:768px){
  .load-more-btn{
    margin-right: 0;
    margin-top: -2rem;
  }
}

.global_button{
  padding: 9px 20px;
  background-color: #2a8ab8 !important;

  color: white !important;
  border-radius: 1rem;
  border-radius: 1.5rem !important;
}

 .global_button_more,.video_more_button{
  padding: 9px 20px !important;
  background-color: #ab3931 !important;

  color: white !important;
  border-radius: 1rem;
  border-radius: 1.5rem !important;
}

 .global_button_more:hover,.video_more_button:hover{
   background-color: #2a8ab8 !important;
   transform: translateY(-3px);
 }
 .global_button:hover{
  background-color: #ab3931 !important;

  transform: translateY(-3px);
}
@media (max-width: 768px) {
  .feature-article, .secondary-articles {
    margin-bottom: 20px;
  }

  .feature-img {
    height: 200px; 
  }
}

/* Video Gallery Container Styling */
.gallery-container {
  background-color: #f8f9fa;
  padding: 30px;
  border-radius: 8px;
}

.press-heading {
  font-size: 1.75rem;
  color: #1b6987;
  margin-bottom: 20px;
}

.gallery-video {
  display: flex;
  align-items: stretch;
}

.video-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between; 
  height: 100%; 
}

.video-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
  position: relative;
  padding-bottom: 56.25%; 
  height: 0;
  overflow: hidden;
}

.video-thumbnail iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-details {
  padding: 15px;
  text-align: center;
  flex-grow: 1; 
}

.video-title {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  margin: 10px 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; 
}

.video-title:hover {
  color: #1b6987;
  text-decoration: underline;
}



/* Footer sstyling  */

.footer-main {
  background-color:#145374; 
}

.footer-heading {
  font-size: 1.25rem;
  font-weight: 600;
}

.footer-logo {
  width: 100px;
}

.email_link a,.footer-links a {
  transition: color 0.3s ease;
  text-decoration: none;
}

.footer-links a:hover,.email_link a:hover {
  color:#ab3931 !important; /* Golden color on hover */
}

.contact-section p {
  transition: color 0.3s ease;
}

.contact-section p:hover {
  color: #ab3931 !important;
}

.social-icon {
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icon:hover {
  color: #ab3931 !important;
  transform: scale(1.2);
}

.suggestion-section {
  margin-left: 2rem;
}

.btn-outline-light:hover {
  background-color: #ffffff;
  color:#1b6987;
}

@media (max-width: 576px) {
  .footer-main .col-md-6, .footer-main .col-md-3, .footer-main .col-md-12 {
    margin-bottom: 1.5rem;
    text-align: center;
  }

  .footer-links {
    text-align: center;
  }

  .footer-heading {
    text-align: center;
  }

  .suggestion-section {
    margin-left: 0;
  }
}



/*footer  Modal styling  */



.modal-dialog-centered {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
}

.modal-header {
  background-color:#2a8ab8;
  border-bottom: 1px solid #dee2e6;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: bold;
}

.modal-footer {
  background-color: #f8f9fa;
  border-top: 1px solid #dee2e6;
}



 .form-label {
  font-weight: bold;
  color: #343a40; 
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.form-control {
  padding: 0.75rem;
  font-size: 1rem;
}


#backToTopBtn {
  display: none; /* Hidden by default */
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  background-color: #1b6987;
  color: white;
  border: none;
  padding: 10px 15px;
  font-size: 18px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#backToTopBtn:hover {
  background-color: #0f4a65;
}

.category-contain {
  box-shadow: 0px 1px 6px 0px rgba(0, 0, 0, 0.75);
  height: 20rem;
  width: 18rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

@media (min-width: 766px) and (max-width: 1020px) {
  .category-main {
      justify-content: center;
  }
}

.category-contain img {
  margin-top: 10px;
  height: 220px;
  width: 15rem;
}

img, svg {
  vertical-align: middle;
}

.category-inner1 {
  background-color: #8ed1fc;
  font-size: 15px;
  width: 16rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mt-5 {
  margin-top: 3rem !important;
}

@media (min-width: 576px) {
  .container, .container-sm {
      max-width: 540px;
  }
}