/*
Custom CSS for TemplateMo 561 Purple Buzz

https://templatemo.com/tm-561-purple-buzz

*/


.navbar-light .navbar-nav .nav-link {
    color: #fff;
}

.bg-primary {
    background-color: #5D0207 !important;
}

.objective-outer {
    min-height: 100vh;
    margin: 5%;
}



/* === BASE HEADING === */ 

h1 {
  position: relative;
  padding: 0;
  margin: 0;
  font-family: "Raleway", sans-serif;
  font-weight: 300;
  font-size: 40px;
  color: #080808;
  -webkit-transition: all 0.4s ease 0s;
  -o-transition: all 0.4s ease 0s;
  transition: all 0.4s ease 0s;
}

h1 span {
  display: block;
  font-size: 0.5em;
  line-height: 1.3;
}
h1 em {
  font-style: normal;
  font-weight: 600;
}

/* === HEADING STYLE #1 === */
.one h1 {
  /* text-align: center; */
  /* text-transform: uppercase; */
  padding-bottom: 5px;
  color: #d08b1d;
}
.one h1:before {
  width: 28px;
  height: 5px;
  display: block;
  content: "";
  position: absolute;
  bottom: 3px;
  left: 10%;
  margin-left: -14px;
  background-color: #b80000;
}
.one h1:after {
  width: 100px;
  height: 1px;
  display: block;
  content: "";
  position: relative;
  margin-top: 25px;
  left: 10%;
  margin-left: -50px;
  background-color: #b80000;
}
/* === Responsive Design === */
@media (max-width: 768px) {
  h1 {
    font-size: 28px;
    /* text-align: center; */
  }

  .one h1:before {
    width: 20px;
    height: 4px;
    margin-left: -10px;
  }

  .one h1:after {
    width: 70px;
    margin-left: -35px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 22px;
    /* text-align: center; */
  }

  .one h1:before {
   width: 29px;
        height: 4px;
        margin-left: -6px;
  }

  .one h1:after {
  width: 65px;
        margin-left: -25px;
  }
}


  h4 {
      font-weight: 700;
      color: #7c0000;
      margin-bottom: 10px;
    }

    h4::after {
      content: "";
      display: inline-block;
      width: 50px;
      height: 2px;
      background-color: #7c0000;
      margin-left: 10px;
      vertical-align: middle;
    }

    .faculty-img {
      width: 100%;
      max-width: 120px;
      height: auto;
      border-radius: 5px;
    }

    .faculty-card {
      margin-bottom: 25px;
    }

   .donor-wrapper {
      position: relative;
      display: inline-block;
    }

    .donor-img {
      max-width: 200px;
      height: auto;
      border-radius: 8px;
      position: relative;
      z-index: 2;
    }

    .donor-wrapper {
      position: relative;
      display: inline-block;
    }

    .bg-block-maroon {
      position: absolute;
      width: 120px;
      height: 120px;
      background-color: #800000;
      bottom: -20px;
      left: -20px;
      z-index: 1;
        border-bottom-left-radius: 10px;
    }

    .bg-block-yellow {
      position: absolute;
      width: 120px;
      height: 120px;
      background-color: #FFD700;
      top: -20px;
      right: -20px;
      z-index: 1;
       border-top-right-radius: 10px;
    }

    .donor-text p {
      font-size: 1.1rem;
      line-height: 1.6;
    }

    @media (max-width: 576px) {
      .donor-text, .donor-img {
        text-align: center;
      }
    }
.bg-light strong {
    font-weight: bolder;
    font-size: 1.25em;
}

.bg-secondary {
  background-color: #d08b1d !important;

}
.light-300{
  font-family:emoji !important;
  font-style: italic;
}
    /* ------------------------------------- */
     .card-box {
      background: white;
      border-radius: 20px;
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
      overflow: hidden;
      margin-bottom: 30px;
      position: relative;
    }
    .top-curve {
      height: 120px;
      background: linear-gradient(to right, #000000, #ffa726);
      border-bottom-left-radius: 50% 40%;
      border-bottom-right-radius: 50% 40%;
      position: relative;
    }
    .top-curve h6 {
      position: absolute;
      right: 20px;
      top: 20px;
      color: #c8ef24;
      font-weight: bold;
      font-size: 16px;
    }
    .top-curve h6 span {
      color: #fff;
    }
    .profile-img {
      width: 150px;
      height: 150px;
      border-radius: 10px;
      object-fit: cover;
      border: 5px solid white;
      position: absolute;
      top: 60px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 2;
    }
    .info-section {
      margin-top: 60px;
      padding: 20px 20px 30px;
      text-align: center;
    }
    .info-section h5 {
      margin-top: 10px;
      font-weight: 700;
      font-size: 1em !important;
    }
    .info-section p {
      margin: 0;
      color: #6c757d;
    }
    .info-section hr {
      margin: 20px auto;
      width: 80%;
      color: #ccc;
    }
    .info-section .label {
      font-weight: bold;
      color: #ffa726;
    }

 .caption-box {
      background-color: rgba(0, 0, 0, 0.85);
      color: white;
      padding: 0.50rem;
      font-style: italic;
    }
    .img-border{
      border: 2px solid green;
      padding: 3px;
    }
   .project-label{
    font-weight: 700;
   } 
   .flex-fill{
    font-style: italic;
   }
   .patent-card{
    font-style: italic;
    text-align: justify;
   }


   
    @media (max-width: 576px) {
      .caption-box {
       width: 100% !important;
      }
.list-group{
   width:100%!important;
}
   .research-topics{
    margin-left: 0% !important;
   }
   .modelling-simulation{
    margin-top: 0% !important;
   }
    }
.image-carousel{
  margin-top: 5%;
  margin-bottom: 3%;
}

     .carousel-item img {
      height: 500px;
      object-fit: cover;
      width: 100%;
      border: 3px solid #6266ea;
    }

  
    .main-text h1{
      font-size: 3.5em !important;
      text-align: center;
      color: #6266ea ;
      font-family: Playfair;
    }

    .card-text{
         font-family: initial;
    font-style: italic;
    /* font-weight: 600; */
    font-size: 1.2em;
    }
.text-card{
     font-family: initial;
    font-style: italic;
    /* font-weight: 600; */
    font-size: 1.2em;
}
    .card-box{
       border: 2px solid rgba(136, 84, 84, 0.125) !important;
        margin-bottom: 0px;
}

.two{
  margin-top: 5%;
}
.space-between{
  margin-top: 5%;
}
 .text-justify {
        text-align: justify;
    }