@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

*{
    font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  /* border: 1px solid rgb(215, 19, 19); */

  
}
body h1{
    color: rgb(23, 12, 64) !important
}
.heading h1 a{
    color: rgb(23, 12, 64) !important 
}

.readmore {
    color: white;
background-color: rgb(23, 12, 64) !important;

}
.readmore:hover {
    color: rgb(244, 15, 15);
/* background-color: rgb(23, 12, 64) !important; */

}

element.style{
    padding: 20px !important;
}
.navbar{
background-color: rgb(23, 12, 64) !important;
 
}
.card-title a{
    color:  rgb(23, 12, 64) !important;
}

.navbar-wrapper {
    max-width: 880px;
    margin: 0 auto;
  }
.navbar {
    /* background-color: #343a40; */
    width: 880px;
    margin: auto;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
   
    /* flex: 1 1 100%; */
  }
.dropdown-menu{
    background-color: rgb(23, 12, 64) !important;
    color: white;
    width: 18rem;
}
.dropdown-item{
    color: white;
}
.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0; /* Optional: fix for smoother pop-in */
  }
   /* Optional: make it stay on hover */
   .dropdown-menu {
    transition: all 0.3s ease;
  }

.nav-link{
    color: white !important;

  
}
img {
  aspect-ratio: 16 / 9;
  width: 100%;
  object-fit: cover;
}
.navbar-toggler-icon{
background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")
}
.nav-link:hover{
    color: rgb(168, 165, 165) !important;
    border-bottom: 1px solid rgb(243, 239, 239);
    /* background-color: white; */
 
}


    /* background-color: white; */
    /* padding: auto;
    border-bottom:1px solid white;
    color: rgb(185, 184, 184) !important;  */

.nav-link.actived {
    color: red !important;
    font-weight: bold;
    border-bottom: 2px solid rgb(220, 20, 60);
}

.image_container{
    /* width: 15rem; */
    width: 150px;
    height: 200px;
    aspect-ratio: 1;
    background-image: url('../assets/nur.png');
    background-position: center;
    background-size: 104%;
    background-repeat: no-repeat;
   margin-top: 40px;
    
    
}
.post-description{
    overflow-y: scroll;
    scrollbar-width: none;
   
}
.post-code-bg{
    width: fit-content;
    min-height: 100%;
    background-color: rgb(6, 6, 6);
    width: 100% !important;
    overflow-x: scroll !important;
    position: relative;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    ;
}

/* slider  */
/* .card{
    background-color: black !important;
    /* border: 1px solid black !important; */
 
@media screen and (max-width: 575.98px) { 
    .card{
        width: 100% !important;
        margin: 10px 10px;
    }
    .card img{
        width:100% !important;
        height: 18rem !important;

    }
    .card p{
        word-wrap: break-word;
        font-size:20px;
        padding: 0 !important;
        margin: 0 !important;
        border: 0 !important;
    }
    .card h5{
        margin-top: 0 !important;
        padding: 0 !important;
        font-size: 30px !important;
        word-wrap: break-word !important;
    }
    
}

.footer{
    background-color: rgb(23, 12, 64);
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    color: white;
}
.wrap{
    width: 880px !important;
    margin: auto !important;
    background-color:#EBEDEA;
}
/* Makes image fill area without stretching */
    /* .card-img-top {
      height: 200px;
      object-fit: cover; 
    } */
    /* Makes all cards equal height inside flex grid */
    /* .card {
      height: 100%;
       
    } */
 

@media screen and (max-width:575px) {
    .teaching_card{
       
        padding-right: 20px;
    }
}
 /* for publication page */
 
 @media screen and (max-width:575px) {
    .ol_text{
        padding-left: 35px;

    }

   

    
 }
 @media screen and (max-width:1200px) {
    .footer{
        width: 100% !important;
    }
    
}
   /* Fullscreen spinner overlay */
    #spinner {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: white;
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 9999;
    }

    /* Spinner animation */
    .loader {
      border: 8px solid #f3f3f3;
      border-top: 8px solid #3498db;
      border-radius: 50%;
      width: 60px;
      height: 60px;
      animation: spin 1s linear infinite;
    }

    @keyframes spin {
      0%   { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }

    /* Hide main content until loaded */
    #content {
      display: none;
    }