/* FONT
================================================== */
@font-face {
    font-family: 'fontello';
    src: url('../fonts/fontello.eot?37927580');
    src: url('../fonts/fontello.eot?37927580#iefix') format('embedded-opentype'),
         url('../fonts/fontello.woff2?37927580') format('woff2'),
         url('../fonts/fontello.woff?37927580') format('woff'),
         url('../fonts/fontello.ttf?37927580') format('truetype'),
         url('../fonts/fontello.svg?37927580#fontello') format('svg');
    font-weight: normal;
    font-style: normal;
  }
   
   [class^="icon-"]:before, [class*=" icon-"]:before {
    font-family: "fontello";
    font-style: normal;
    font-weight: normal;
    *speak: none;
    display: inline-block;
    text-decoration: inherit;
    width: 1em;
    margin-right: .2em;
    text-align: center;
    font-variant: normal;
    text-transform: none;
    line-height: 1em;
    margin-left: .2em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
   
  .icon-twitter:before { content: '\f099'; } /* '' */
  .icon-facebook:before { content: '\f09a'; } /* '' */
  .icon-gplus:before { content: '\f0d5'; } /* '' */
  .icon-linkedin:before { content: '\f0e1'; } /* '' */
  .icon-linkedin:before { content: '\f0e1'; } /* '' */
  .icon-up:before { content: '\f176'; } /* '' */
  
  /* CUSTOM RESETS
  ================================================== */
  a {
      transition: color 0.25s ease-in-out;
      -moz-transition: color 0.25s ease-in-out;
      -webkit-transition: color 0.25s ease-in-out;
      -o-transition: color 0.25s ease-in-out;
      -ms-transition: color 0.25s ease-in-out;
  }
  
  a:focus,
  a:hover {
      outline: 0 none;
      text-decoration: none;
  }
  
  h4 {
      font-size: 30px;
  }
  
  .graphical-abstract-container {
    width: 100%;
    margin-bottom: 20px;
    display: flex;
    justify-content: center; /* Centers the image horizontally */
    box-sizing: border-box;
}

.graphical-abstract-image {
    width: 100%;  /* Make the image take up 100% of the container's width */
    max-width: none; /* Control the maximum width of the image */
    height: auto; /* Maintain aspect ratio */
    object-fit: contain; /* Ensures the image is fully visible */
    display: block;
}

.publication-content {
    margin-top: 02px; /* Adds space between the image and the content */
}

.title h3 {
    margin-top: 0px; /* Ensure the title is close to the image */
}

  /* Buttons */ 
  .btn {
      min-width: 125px;
      line-height: 50px;
      padding: 0 30px;
      font-size: 16px;
      font-weight: 600;
      text-transform: uppercase;
      border-radius: 0;
      transition: box-shadow 0.25s ease-in-out;
      -moz-transition: box-shadow 0.25s ease-in-out;
      -webkit-transition: box-shadow 0.25s ease-in-out;
      -o-transition: box-shadow 0.25s ease-in-out;
      -ms-transition: box-shadow 0.25s ease-in-out;
  }
  
  .btn-fill {
      color: #fff;
      background-color: #212121;
  }
  
  .btn-border {
      background-color: transparent;
      color: #212121;
      border: 1px solid #212121; 
  }
  
  .btn-fill:hover,
  .btn-fill:focus {
      color: #fff;
  }
  
  .btn:hover,
  .btn:focus {
      box-shadow: 0px 10px 18px 0px rgba(0, 0, 0, 0.15);
  }
  
  #pagination {
      margin-top: 20px;
      text-align: center;
  }
  
  #pagination button {
      margin: 0 5px;
      padding: 8px 16px;
      font-size: 16px;
      border: none;
      background-color: #f1f1f1;
      color: #333;
      cursor: pointer;
      border-radius: 4px;
      transition: background-color 0.3s;
  }
  
  #pagination button.active {
      background-color: #007bff;
      color: white;
      font-weight: bold;
  }
  
  #pagination button:hover {
      background-color: #007bff;
      color: white;
  }
  
  #page-info {
      font-size: 18px;
      margin-top: 10px;
  }
  
  
  
  
  /* Input fields */
  .form-control {
      padding-left: 10px;
      border: 0;
      border-bottom: 1px solid #212121;
      border-radius: 0;
      background-color: transparent; 
      box-shadow: none;
      outline: 0 none transparent;
      -webkit-appearance:none;
   }
  
  textarea {
      margin-top: 40px;
      min-height: 200px;
      resize: none;
  }
  
  .form-control:focus {
      box-shadow: none;
      border-bottom-color: #e1e1e1;
  }
  
  ::-moz-placeholder,
  ::-webkit-input-placeholder {
      font-size: 16px;
  }
  
  /* LAYOUT
  ================================================== */
  html, body {
      width: 100%;
      height: 100%;
      margin: 0;
      padding: 0;
      font-family: 'Open Sans', sans-serif;
      font-size: 16px;
      color: #212121;
  }
  
  .img-res {
      display: block;
      width: 100vw;
      height: 100vh;
      max-width: 100%;
      max-height: 100%;
      object-fit: cover;
  }
  
  
  
  .visible-xxs {
      display: none;
  }
  
  /* Background-color */
   .gray-bg {
      background-color: #e1e1e1;
  }
  
  /* HEADER
  ================================================== */
  .site-header {
      position: fixed;
      top: 0;
      width: 100%;
      background-color: transparent;
      z-index: 4;
  }
  
  .site-logo img {
      padding-bottom: 2px;
  }
  
  
  @media (max-width: 768px) {
      .navbar-nav {
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: center;
          text-align: center;
          width: 100%;
      }
  
      .navbar-nav > li {
          width: 100%;
      }
  
      .navbar-nav > li > a {
          padding-left: 0;
          padding-right: 0;
          text-align: center;
          width: 100%;
          display: flex;
         
      }
  }
  
  .site-header {
    padding: 20px 20px; /* Align the padding to match the experience page */
}

main.container {
    padding-top: 10px; /* Add extra top padding if needed */
}




.section-header-red-line {
    position: relative;
    font-size: 1.3rem; /* Adjust font size as needed */
    font-weight: bold;
    color: rgb(141, 41, 41);;
    text-align: center;
    margin-bottom: 0.4rem; /* Adjust spacing as needed */
    padding-bottom: 0.35rem; /* Space between text and line */
}

.section-header-red-line::after {
    content: "";
    display: block;
    width: 100%; /* Adjust width of the line */
    height: 2.5px; /* Thickness of the line */
    background-color: rgba(141, 41, 41, 0.699); /* Line color */
    margin: 0.5rem auto 0; /* Center the line and add spacing */
}

  
  /* Navigation */
  .navbar-nav > li > a {
      padding: 5px 0;
      font-weight: 600;
      color: #212121;
      text-transform: uppercase;
      border-bottom: 2px solid transparent;
      transition: border-color 0.25s ease-in-out;
      -moz-transition: border-color 0.25s ease-in-out;
      -webkit-transition: border-color 0.25s ease-in-out;
      -o-transition: border-color 0.25s ease-in-out;
      -ms-transition: border-color 0.25s ease-in-out;
  }
  
  
  .navbar-nav.navbar-right {
      margin-right: 0;
  }
  
  .navbar-nav > li + li > a {
      margin-left: 40px;
  }
  
  .navbar-nav > li > a:hover,
  .navbar-nav > li.active > a,
  .nav > li > a:hover,
  .nav > li.active > a {
      background-color: transparent;
      border-bottom: 2px solid #212121;
  }
  
  .nav > li > a:focus {
      background-color: transparent;
  }
  
  /* HERO
  ================================================== */
  .hero { 
      height: 100%;
      width: 100%;
      min-height: 100vh;
      /* margin-bottom: 130px; */
      background-color: rgb(255, 255, 255);
  }

  .publication-experience ul {
    list-style: disc; /* Sets the bullet style */
    padding-left: 20px; /* Adds space to the left of the bullets */
}

.publication ul {
    list-style: disc; /* Sets the bullet style */
    padding-left: 20px; /* Adds space to the left of the bullets */
}
  
  @media (max-height: 650px){
      .hero {
          margin-bottom: 130px;
      }
  }
  
  .hero .row h1 {
      font-size: 35px;
      font-weight: 600;
      margin: 0 0 15px;
      text-transform: uppercase;
  }
  
  .hero .page-scroll p{
      font-size: 17px;
  }
  
  .hero img {
      height: 500px;
      border-radius: 50%;
      border: 2px solid;
      border-color: #7e7e7e;
  }

  .affiliation-section {
    margin-top: 5px; /* Adjust this value to move the section down */
}


  .hero-iimg {
    border-radius: 0; /* Makes the image round */
     /* border: 1px solid #0f0f0f;  */ */
    width: 100%; /* Ensures the image scales correctly within its container */
    height: auto; /* Maintains the aspect ratio of the image */
}


@media (max-width: 768px) {
    .hero-iimg-container {
        margin-top: 100px; /* Adjust the value as needed */
        padding-top: 10px; /* Optional: Add padding if needed */
    }
}
  
  .hero .col-md-6:first-child{
      margin-top: 30px;
  }
  
  .see-more-btn {
      display: inline-block;
      position: relative;
      background-color:white;
      color: black;
      padding: 8px 6px;
      border: 1px solid #000000;
      border-radius: 5px;
      font-size: 12px;
      align-items: end;
      font-weight: 600;
      text-decoration: none;
      margin-right: 10px;  
      transition: background-color 0.1s ease, transform 0.2s ease;
  }
  
  .see-more-btn:hover {
      background-color: #ff3503;
      transform: translateX(3px);
      color: white;
  }
  .hero .container {
      position: relative;
      height: 100%;
  }
  
  .hero .col-md-6:first-child {
      /* margin-top: 150px; */
      position: absolute;
      top: 43%;
      left: 0;
      transform: translateY(-50%);
      -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
      -moz-transform: translateY(-50%);
      -o-transform: translateY(-50%);
      z-index: 2;
  }
  
  .hero .col-md-6:last-child {
      position: absolute;
      right: 0;
      top: 15%;
  }
  

  @media (min-width: 769px) {
    .publication {
        display: flex;
        flex-direction: column; /* Ensures image is at the top */
    }

    .graphical-abstract-container {
        order: -1; /* Forces image to appear before the text content */
        width: 100%; /* Make sure the image container takes full width */
    }

    .text-content {
        margin-top: 5px; /* Adds space between the image and content */
        max-width: 100%;
    }

    .graphical-abstract-image {
        width: 100%; /* Ensures image takes full width */
        height: auto; /* Maintain aspect ratio */
        max-height: 500px; /* Control the maximum height */
        object-fit: cover; /* Ensures image covers the container */
    }
}



  @media (max-width : 820px) {
      .hero{
          flex-direction: column;
          align-items: center;
          height: 40%;
      }
      .hero .row .page-scroll p{
          font-size: 11px;
      }
      
      .hero .col-md-6:last-child {
          top: 40%;
          left: 0;
      }
  
      .hero .col-md-6:first-child {
          margin-top: 30%;
          position: relative;
          top: 20%;
      }
  
      .hero .row .p{
          font-size: 10px;
          margin-top: 0px;
      }
  
      .hero .row img {
          height: 150px;
          /* left: 50%; */
      }
      .hero .row h2 {
          font-size: 18px;
          font-weight: 600;
          margin: 0 0 0px;
          text-transform: uppercase;
      }
      .hero .row h3 {
          font-size: 16px;
          font-weight: 600;
          margin: 0 0 0px;
          /* text-transform: uppercase; */
      }
  }
  
  @media (max-width: 908px) {
      .see-more-btn {
          font-size: 10px;
          padding: 6px 4px;
          border: transparent;
          text-decoration: underline;
      }
  }
  
  @media (max-width: 350px)  {
      .hero .col-md-6:last-child {
          top: 30%;
          left: 0;
      }
  }
  
  /* SITEMAIN
  ================================================== */
  .site-main {
      position: relative;
      margin-bottom: 100px;
      background-color: #fff;
      z-index: 1;
  }
  
  .site-section {
     padding-top: 0px;
  } 
  
  .site-section h2 {
      font-size: 30px;
      margin: 0;
      text-transform: uppercase;
  }
  
  .header-with-filter {
      display: flex;
      align-items: center;
      justify-content: space-between;
  }
  
  .filter-navbar {
      background-color: #f8f4f4; /* Lighter background for a softer look */
      padding: 10px 20px; /* Adjusted padding for better spacing */
      border-bottom: 1px solid #ddd; /* Light border for separation */
      position: sticky;
      top: 0; /* Stick to the top */
      width: 100%;
      z-index: 800;
      display: flex;
      justify-content: space-around;
      align-items: center; /* Center items vertically */
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Soft shadow for a modern look */
      font-family: 'Arial', sans-serif; /* Modern font */
      background: #ffffff; /* Background color */
      border-radius: 8px; /* Rounded corners for a softer look */
      flex-wrap: wrap; /* Allows items to wrap to the next line if needed */
  }
  
  .filter-link {
      color: #000000;
      background-color: #ffffff;
      text-decoration: none;
      font-weight: bold;
      padding: 10px 15px;
      border-radius: 4px;
      transition: background-color 0.3s, color 0.3s, transform 0.2s;
      display: inline-block;
      margin: 0 10px;
  }
  
  .filter-link:hover {
      background-color: #ff0000;
      color: #ffffff;
      text-decoration: none;
      transform: scale(1.05);
  }
  
  .filter-link.active {
      background-color: #ffffff;
      color: #ff0000;
      /* border: 1px solid #919191; */
  }
  
  .filter-link {
      font-size: 16px;
      padding: 2px 4px;
  }
  
  @media (max-width: 768px) {
      .filter-navbar {
          padding: 1px 3px
      }
      .filter-link {
          font-size: 9px;
          padding: 4px 8px;
          margin: 0 0px;
      }
  }
  
  .profile-img {
      width: 200px;
      height: 100px;
      border-radius: 50%;
      margin-bottom: 20px;
  }
  
  .hero h2 {
      font-size: 28px;
      font-weight: bold;
      margin-bottom: 20px;
  }
  
  .hero .section p {
      font-size: 15px;
      line-height: 1.6;
      color: #000000;;
  }
  
  @media (max-width: 1200px) {
      .hero .section p {
          font-size: 12px;
          line-height: 1.6;
          color: #000000;;
      }
  }
  
  
  @media (max-width: 768px) {
      .hero {
          text-align: center;
      }
  
      .profile-img {
          margin: 0 auto 20px;
      }
  
      .hero h3, .hero p {
          text-align: justify;
      }
  }
  
  .img-lines {
      margin: 20px 0 40px;
  }
  
  .modal-dialog {
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: calc(100% - 1rem);
  }
  
  .site-section p {
      margin-bottom: 35px;
  }
  
  /* Section: Skills */
  .section-skills {
      padding-bottom: 120px;
  }
  
  .skill + .skill {
      margin-top: 50px;
  }
  
  .skill h4 {
      font-size: 24px;
      text-transform: uppercase;
      margin: 0 0 15px;
  }
  
  .progress {
      height: 15px;
      margin-bottom: 0;
      border-radius: 0;
      background-color: #dfdfdf;
      box-shadow: none;
  }
  
  .progress-bar {
      background-color: #212121;  
  }
  
  /* Section: Services */
  .section-services {
      position: relative;
      padding-top: 220px;
  }
  
  .section-services:before {
      content: '';
      background: url(../img/services-bg.jpg) no-repeat fixed center / cover;
      width: 100%;
      height: 400px; 
      position: absolute;
      left: 0;
      top: 0;
  }
  
  .overlay:after {
      content: '';
      width: 100%;
      height: 400px; 
      position: absolute;
      background-color: rgba(255,255,255,0.5);
      top: 0;
      left: 0;
      z-index: 0;
  }
  
  .section-services .container {
      padding: 120px 100px;
      position: relative;
      background-color: #fff;
      box-shadow: 0px 0px 40px 8px rgba(0, 0, 0, 0.2);
      z-index: 1;
  }
  
  .service h4 {
      margin: 25px 0;
      font-size: 24px;
      font-weight: 700;
  }
  
  .service p {
      color: #000;
      margin-bottom: 0;
  }
  
  /* Section: Portfolio */
  .section-portfolio {
      padding-bottom: 120px;
  }
  
  .portfolio-item {
      height: 280px;
      margin-bottom: 20px;
      position: relative;
  }
  
  .section-portfolio .col-md-4:nth-last-child(-n+3) .portfolio-item {
      margin-bottom: 0;
  }
  
  .portfolio-item:before {
      content: '';
      height: 100%;
      width: 100%;
      position: absolute;
      top: 0;
      left: 0;
      z-index: 1;
      transition: background-color 0.25s ease-in-out;
      -moz-transition: background-color 0.25s ease-in-out;
      -webkit-transition: background-color 0.25s ease-in-out;
      -o-transition: background-color 0.25s ease-in-out;
      -ms-transition: background-color 0.25s ease-in-out;
  }
  
  .portfolio-item:hover:before{
      background-color: rgba(33,33,33,0.6);
  }
  
  .portfolio-item-info {
      position: absolute;
      top: 150px;
      left: 0px;
      z-index: 999;
      opacity: 0;
      transition: opacity 0.25s ease-in-out, left 0.25s ease-in-out;
      -moz-transition: opacity 0.25s ease-in-out, left 0.25s ease-in-out;
      -webkit-transition: opacity 0.25s ease-in-out, left 0.25s ease-in-out;
      -o-transition: opacity 0.25s ease-in-out, left 0.25s ease-in-out;
      -ms-transition: opacity 0.25s ease-in-out, left 0.25s ease-in-out;
  }
  
  .portfolio-item:hover .portfolio-item-info {
      left: 50px;
      opacity: 1;
  }
  
  .portfolio-item-info h4 {
      margin: 0 0 20px;
      font-weight: 700;
      color: #fff;
  }
  
  .portfolio-item-info a {
      padding: 6px 7px 4px;
      font-size: 12px;
      border: 1px solid #fff;
      border-radius: 50px;
      color: #fff;
      transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out;
      -moz-transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out;
      -webkit-transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out;
      -o-transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out;
      -ms-transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out;
  }
  
  .portfolio-item-info a:hover {
      color: #212121;
      background-color: #fff;
  }
  
  .section-portfolio .btn {
      margin-top: 10px;
  }
  
  /* Modal */
  .modal {
      z-index: 9999;
  }
  
  .modal-content {
      border-radius: 0;
      box-shadow: 0px 0px 40px 8px rgba(0, 0, 0, 0.2);
  }
  
  .modal-header {
      position: relative;
      padding: 0;
      height: 500px;
  }
  
  .modal-header .close {
      position: absolute;
      right: 0;
      padding: 10px 11px;
      margin-top: 0;
      background-color: #fff;
      font-size: 16px;
      color: #212121;
      border-left: 1px solid #212121;
      border-bottom: 1px solid #212121;
      opacity: 1;
      transition: box-shadow 0.25s ease-in-out;
      -moz-transition: box-shadow 0.25s ease-in-out;
      -webkit-transition: box-shadow 0.25s ease-in-out;
      -o-transition: box-shadow 0.25s ease-in-out;
      -ms-transition: box-shadow 0.25s ease-in-out;
  }
  
  .modal-header .close:hover {
      box-shadow: 0px 10px 18px 0px rgba(0, 0, 0, 0.2);
  }
  
  .modal-body h4 {
      font-weight: 700;
  }
  
  .modal-footer {
      text-align: center;
  }
  
  /* Section: Counters */
  .section-counters {
      background: url(../img/counters-bg.jpg) no-repeat fixed center / cover;
      width: 100%;
      padding: 100px 0;
      position: relative;
  }
  
  .section-counters:before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0,0,0,0.7);
  }
  
  .section-counters h4 {
      color: #fff;
      margin: 25px 0 0;
  }
  
  .site-section p.counter {
      font-size: 100px;
      font-weight: 300;
      color: #fff;
      margin: 0;
      line-height: 0.8;
  }
  
  /* Section: Form*/
  .section-form {
      padding-bottom: 120px;
  }
  
  .section-form .btn {
      margin-top: 40px;
  }
  
  /* FOOTER
  ================================================== */
  .site-footer {
      position: relative;
      bottom: 0;
      padding: 30px 0;
      width: 100%;
      background-color: #212121;
      z-index: -1;
  }
  
  .icon {
      line-height: 40px;
      padding: 9px 11px;
      color: #fff;
      border: 1px solid #fff;
      border-radius: 50%;
  }
  
  .icon + .icon {
      margin-left: 5px;
  }
  
  .icon i:before {
      margin:0;
  }
  
  .icon:hover {
      background-color: #fff;
  }
  
  .site-footer a {
      transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out;
      -moz-transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out;
      -webkit-transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out;
      -o-transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out;
      -ms-transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out;
  }
  
  a.twitter-bg:hover {color: #55acee;}
  a.facebook-bg:hover{color: #3b5998;}
  a.gplus-bg:hover{color: #007bb5;} 
  a.linkedin-bg:hover {color: #dd4b39;}
  a.icon-up-bg:hover {color: #212121;}
  
  .copyright {
      margin-bottom: 0;
      line-height: 40px;
      color: #fff;
      text-align: center;
  }
  
  /* Temporary background colors for testing */
  
  
  @media (max-width: 768px) {
      .hero {
          margin-bottom: 160px !important; /* Adjust margin for smaller screens */
      }
  
      .section-portfolio {
          padding-top: 20px !important;
      }
  }