

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Open Sans", sans-serif;
  color: #272829;
}

.profile1{
  width: 400px;
  clip-path: circle();
}
a {
  color: #149ddd;
}

a:hover {
  color: #37b3ed;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Raleway", sans-serif;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  right: 15px;
  bottom: 15px;
  background: #149ddd;
  color: #fff;
  transition: display 0.5s ease-in-out;
  z-index: 99999;
}

.back-to-top i {
  font-size: 24px;
  position: absolute;
  top: 7px;
  left: 8px;
}

.back-to-top:hover {
  color: #fff;
  background: #2eafec;
  transition: background 0.2s ease-in-out;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 300px;
  transition: all ease-in-out 0.5s;
  z-index: 9997;
  transition: all 0.5s;
  padding: 0 15px;
  background: #040b14;
  overflow-y: auto;
}

#header .profile img {
  margin: 15px auto;
  display: block;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  /* height: 200px; */
  /* border: 8px solid #2c2f3f; */
}
.social-icon{
   list-style: none;
   text-align: center;
}
.social-icon li{
  display: inline-block;
  text-align: left;
  margin-top: 20px;
}
.social-icon li img{
  width: 40px;
  height: 40px;
  margin-right: 20px;
}
#header .profile h1 {
  font-size: 24px;
  margin: 0;
  padding: 0;
  font-weight: 600;
  -moz-text-align-last: center;
  text-align-last: center;
  font-family: "Poppins", sans-serif;
}

#header .profile h1 a, #header .profile h1 a:hover {
  color: #fff;
  text-decoration: none;
}

#header .profile .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #212431;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#header .profile .social-links a:hover {
  background: #149ddd;
  color: #fff;
  text-decoration: none;
}

#main {
  margin-left: 300px;
}

@media (max-width: 1199px) {
  #header {
    left: -300px;
  }
  #main {
    margin-left: 0;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
.nav-menu {
  padding-top: 30px;
}

.nav-menu * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu > ul > li {
  position: relative;
  white-space: nowrap;
}

.nav-menu a {
  display: flex;
  align-items: center;
  color: #a8a9b4;
  padding: 12px 15px;
  margin-bottom: 8px;
  transition: 0.3s;
  font-size: 15px;
}

.nav-menu a i {
  font-size: 24px;
  padding-right: 8px;
  color: #6f7180;
}

.nav-menu a:hover, .nav-menu .active > a, .nav-menu li:hover > a {
  text-decoration: none;
  color: #fff;
}

.nav-menu a:hover i, .nav-menu .active > a i, .nav-menu li:hover > a i {
  color: #149ddd;
}

/* Mobile Navigation */
.mobile-nav-toggle {
  position: fixed;
  right: 15px;
  top: 15px;
  z-index: 9998;
  border: 0;
  background: none;
  font-size: 24px;
  transition: all 0.4s;
  outline: none !important;
  line-height: 1;
  cursor: pointer;
  text-align: right;
}

.mobile-nav-toggle i {
  color: #149ddd;
}

.mobile-nav-active {
  overflow: hidden;
}

.mobile-nav-active #header {
  left: 0;
}

.mobile-nav-active .mobile-nav-toggle i {
  color: #fff;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 100vh;
  background: url("../img/profile-img.jpg") top center;
  background-size: cover;
}

#hero:before {
  content: "";
  background: rgba(5, 13, 24, 0.3);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

#hero .hero-container {
  position: relative;
  z-index: 2;
  min-width: 300px;
}

#hero h1 {
  margin: 0 0 10px 0;
  font-size: 64px;
  font-weight: 700;
  line-height: 56px;
  color: #fff;
}

#hero p {
  color: #fff;
  margin-bottom: 50px;
  font-size: 18px;
  font-family: "Poppins", sans-serif;
}

#hero p span {
  color: #fff;
  padding-bottom: 4px;
  letter-spacing: 1px;
  border-bottom: 3px solid #149ddd;
}

@media (min-width: 1024px) {
  #hero {
    background-attachment: fixed;
  }
}

@media (max-width: 768px) {
  #hero h1 {
    font-size: 28px;
    line-height: 36px;
  }
  #hero h2 {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 20px 0;
  overflow: hidden;
}

.section-bg {
  background: #f5f8fd;
}

.section-title {
  padding-bottom: 25px;
}

.section-title h2{
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 15px;
  padding-bottom: 20px;
  position: relative;
  color: #173b6c;
}
.section-title1 h4,a{
 
  color: #173b6c;
}
.section h5{
 
  color: #173b6c;
  font-weight: bold;
}
.pdf-button{
  margin-left: 300px;
}
.pdf-button button{
justify-content: center;
justify-items: center;
  
}
.danger{
  background-color: #DC143C;
}
.success{
  background-color: DodgerBlue;
}
.section-title h2::after {
  content: '';
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: #149ddd;
  bottom: 0;
  left: 0;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about .content h2 {
  font-weight: 700;
  font-size: 26px;
  color: #173b6c;
}

.about .content ul {
  list-style: none;
  padding: 0;
}
.about-img{
  height: 300px;
  padding: 10px;
  border: 3px solid rgb(99, 104, 95);

}

.about .content ul li {
  padding-bottom: 10px;
}

.about .content ul i {
  font-size: 20px;
  padding-right: 2px;
  color: #149ddd;
}

.about .content p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Facts
--------------------------------------------------------------*/
.facts {
  padding-bottom: 30px;
}

.facts .count-box {
  padding: 30px;
  width: 100%;
}

.facts .count-box i {
  display: block;
  font-size: 44px;
  color: #149ddd;
  float: left;
}

.facts .count-box span {
  font-size: 48px;
  line-height: 40px;
  display: block;
  font-weight: 700;
  color: #050d18;
  margin-left: 60px;
}

.facts .count-box p {
  padding: 15px 0 0 0;
  margin: 0 0 0 60px;
  font-family: "Raleway", sans-serif;
  font-size: 14px;
  color: #122f57;
}

.facts .count-box a {
  font-weight: 600;
  display: block;
  margin-top: 20px;
  color: #122f57;
  font-size: 15px;
  font-family: "Poppins", sans-serif;
  transition: ease-in-out 0.3s;
}

.facts .count-box a:hover {
  color: #1f5297;
}

/*--------------------------------------------------------------
# Akills
--------------------------------------------------------------*/
.skills .progress {
  height: 50px;
  display: block;
  background: none;
}

.skills .progress .skill {
  padding: 10px 0;
  margin: 0 0 6px 0;
  text-transform: uppercase;
  display: block;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  color: #050d18;
}

.skills .progress .skill .val {
  float: right;
  font-style: normal;
}

.skills .progress-bar-wrap {
  background: #dce8f8;
}

.skills .progress-bar {
  width: 1px;
  height: 10px;
  transition: .9s;
  background-color: #149ddd;
}

/*--------------------------------------------------------------
# publication
--------------------------------------------------------------*/
.publication .publication-title {
  font-size: 26px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 20px;
  color: #050d18;
}

.publication .publication-item {
  padding: 0 0 20px 20px;
  margin-top: -2px;
  border-left: 2px solid #1f5297;
  position: relative;
}

.publication .publication-item h4 {
  line-height: 18px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
  color: #050d18;
  margin-bottom: 10px;
}

.publication .publication-item h5 {
  font-size: 16px;
  background: #e4edf9;
  padding: 5px 15px;
  display: inline-block;
  font-weight: 600;
  margin-bottom: 10px;
}

.publication .publication-item ul {
  padding-left: 20px;
}

.publication .publication-item ul li {
  padding-bottom: 10px;
}

.publication .publication-item:last-child {
  padding-bottom: 0;
}

.publication .publication-item::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50px;
  left: -9px;
  top: 0;
  background: #fff;
  border: 2px solid #1f5297;
}

/*--------------------------------------------------------------
# project
--------------------------------------------------------------*/
.project .project-item {
  margin-bottom: 30px;
}

.project #project-flters {
  padding: 0;
  margin: 0 auto 35px auto;
  list-style: none;
  text-align: center;
  background: #fff;
  border-radius: 50px;
  padding: 2px 15px;
}

.project #project-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 10px 15px 8px 15px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: #272829;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.project #project-flters li:hover, .project #project-flters li.filter-active {
  color: #149ddd;
}

.project #project-flters li:last-child {
  margin-right: 0;
}

.project .project-wrap {
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.project .project-wrap::before {
  content: "";
  background: rgba(255, 255, 255, 0.5);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  transition: all ease-in-out 0.3s;
  z-index: 2;
  opacity: 0;
}

.project .project-wrap .project-links {
  opacity: 1;
  left: 0;
  right: 0;
  bottom: -60px;
  z-index: 3;
  position: absolute;
  transition: all ease-in-out 0.3s;
  display: flex;
  justify-content: center;
}

.project .project-wrap .project-links a {
  color: #fff;
  font-size: 28px;
  text-align: center;
  background: rgba(20, 157, 221, 0.75);
  transition: 0.3s;
  width: 50%;
}

.project .project-wrap .project-links a:hover {
  background: rgba(20, 157, 221, 0.95);
}

.project .project-wrap .project-links a + a {
  border-left: 1px solid #37b3ed;
}

.project .project-wrap:hover::before {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 1;
}

.project .project-wrap:hover .project-links {
  opacity: 1;
  bottom: 0;
}

/*--------------------------------------------------------------
# experience
--------------------------------------------------------------*/
.experience .icon-box {
  margin-bottom: 20px;
}

.experience .icon {
  float: left;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  background: #149ddd;
  border-radius: 50%;
  transition: 0.5s;
  border: 1px solid #149ddd;
}

.experience .icon i {
  color: #fff;
  font-size: 24px;
}

.experience .icon-box:hover .icon {
  background: #fff;
}

.experience .icon-box:hover .icon i {
  color: #149ddd;
}

.experience .title {
  margin-left: 80px;
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
}

.experience .title a {
  color: #343a40;
}

.experience .title a:hover {
  color: #149ddd;
}

.experience .description {
  margin-left: 80px;
  line-height: 24px;
  font-size: 14px;
}
.job-date{
  
  justify-content: end;
  text-align: center;
}
.job-description{
  text-align: justify;
  text-justify: inter-word;
 font-size: medium;
}



/*--------------------------------------------------------------
# achievement
--------------------------------------------------------------*/
.achievement {
  padding-bottom: 130px;
}

.achievement .info {
  padding: 30px;
  background: #fff;
  width: 100%;
  box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.12);
}

.achievement .info i {
  font-size: 20px;
  color: #149ddd;
  float: left;
  width: 44px;
  height: 44px;
  background: #dff3fc;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
}

.achievement .info h4 {
  padding: 0 0 0 60px;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #050d18;
}

.achievement .info p {
  padding: 0 0 10px 60px;
  margin-bottom: 20px;
  font-size: 14px;
  color: #173b6c;
}

.achievement .info .email p {
  padding-top: 5px;
}

.achievement .info .social-links {
  padding-left: 60px;
}

.achievement .info .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #333;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
  margin-right: 10px;
}

.achievement .info .social-links a:hover {
  background: #149ddd;
  color: #fff;
}

.achievement .info .email:hover i, .achievement .info .address:hover i, .achievement .info .phone:hover i {
  background: #149ddd;
  color: #fff;
}

.achievement .php-email-form {
  width: 100%;
  padding: 30px;
  background: #fff;
  box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.12);
}

.achievement .php-email-form .form-group {
  padding-bottom: 8px;
}

.achievement .php-email-form .validate {
  display: none;
  color: red;
  margin: 0 0 15px 0;
  font-weight: 400;
  font-size: 13px;
}

.achievement .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.achievement .php-email-form .error-message br + br {
  margin-top: 25px;
}

.achievement .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.achievement .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.achievement .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

.achievement .php-email-form input, .achievement .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
}

.achievement .php-email-form input {
  height: 44px;
}

.achievement .php-email-form textarea {
  padding: 10px 12px;
}

.achievement .php-email-form button[type="submit"] {
  background: #149ddd;
  border: 0;
  padding: 10px 24px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}

.achievement .php-email-form button[type="submit"]:hover {
  background: #37b3ed;
}

@-webkit-keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 20px 0;
  background: #f9f9f9;
}

.breadcrumbs h2 {
  font-size: 26px;
  font-weight: 300;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 15px;
}

.breadcrumbs ol li + li {
  padding-left: 10px;
}

.breadcrumbs ol li + li::before {
  display: inline-block;
  padding-right: 10px;
  color: #0e2442;
  content: "/";
}

@media (max-width: 768px) {
  .breadcrumbs .d-flex {
    display: block !important;
  }
  .breadcrumbs ol {
    display: block;
  }
  .breadcrumbs ol li {
    display: inline-block;
  }
}





@media (max-width: 768px) {
  .project-details .project-description h2 {
    width: 100%;
  }
  .project-details .project-info {
    position: static;
    margin-top: 30px;
  }
}

@media (max-width: 768px){
  .container .publication-details  p h2 {
    width: 100%;
    
    justify-content: center;
    justify-items: center;
    text-align: justify;

  }
  .pdf-button{
    margin-left: 0;
    justify-content: center;
    justify-items: center;
  }
}
@media  (max-width: 660px){
  .container .publication-details  p h2 {
    width: 100%;
    text-justify: center;
    justify-content: center;
    justify-items: center;

  }
  .pdf-button{
    margin-left: 120px;
    justify-content: center;
    justify-items: center;
  }
  
}


/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  padding: 15px;
  color: #f4f6fd;
  font-size: 14px;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 300px;
  z-index: 9999;
  background: #040b14;
}

#footer .copyright {
  text-align: center;
}

#footer .credits {
  padding-top: 5px;
  text-align: center;
  font-size: 13px;
  color: #eaebf0;
}

@media (max-width: 1199px) {
  #footer {
    position: static;
    width: auto;
    padding-right: 20px 15px;
  }
}


.card.project-card .project-card-img {
      width: 100%;
      height: 200px; /* You can change this height */
      object-fit: cover; /* This ensures the image fills the space without stretching */
      border-top-left-radius: 8px;
      border-top-right-radius: 8px;
    }



/*  css addition */
.pdf-btn{
  border-radius: 15px;
  
}
.link-btn{
  border-radius: 15px;
  border-color: navy;
  color: navy;
  
}
.link-btn:hover{
  border-radius: 15px;
  background-color: navy;
  border-color: navy;
  color: white;
  
}
.voluntary-li{
  text-align: justify;
}

/* Teaching Section Specifics */
    .card.teaching-card {
      border-left: 5px solid var(--primary-color); /* Adds a colored accent line */
      margin-bottom: 24px;
      transition: transform 0.3s ease;
    }
    
    .card.teaching-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

    .teaching-card .card-body {
        padding: 20px;
    }

    .teaching-role {
        font-size: 1.1rem;
        font-weight: 700;
        color: #333;
    }

    .teaching-place {
        font-size: 0.95rem;
        color: #666;
        font-style: italic;
        margin-bottom: 10px;
    }

    .teaching-date {
        font-weight: 600;
        color: var(--primary-color);
        display: block;
        margin-bottom: 5px;
    }

    .course-list {
        list-style: none;
        padding-left: 0;
        margin-top: 10px;
    }

    .course-list li {
        padding: 4px 0;
        border-bottom: 1px dashed #eee;
    }
    
    .course-list li:last-child {
        border-bottom: none;
    }

    .course-code {
        font-weight: 700;
        background-color: #e3f2fd;
        color: var(--primary-color);
        padding: 2px 6px;
        border-radius: 4px;
        font-size: 0.85rem;
        margin-right: 8px;
    }

/* --- Timeline Experience Section (No Descriptions) --- */
    .experience .timeline {
      padding-left: 20px;
      border-left: 2px solid var(--primary-color);
      position: relative;
      margin-top: 10px;
    }

    .experience .timeline-item {
      position: relative;
      margin-bottom: 30px; /* Spacing between items */
    }
    
    .experience .timeline-item:last-child {
      margin-bottom: 0;
    }

    /* The dot on the timeline line */
    .experience .timeline-dot {
      position: absolute;
      width: 16px;
      height: 16px;
      border-radius: 50%;
      background: #fff;
      border: 2px solid var(--primary-color);
      left: -29px;
      top: 5px;
    }

    .experience .job-title {
      font-weight: 700;
      font-size: 1.2rem;
      color: #333;
      margin-bottom: 2px;
    }

    .experience .job-meta {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      font-size: 0.95rem;
    }

    .experience .job-date {
      color: var(--primary-color);
      font-weight: 600;
      margin-right: 15px;
    }

    .experience .job-location {
      font-style: italic;
      color: #666;
    }
/* --- Service / Voluntary Section --- */
    .service-card {
      background: #fff;
      padding: 30px;
      border-radius: 8px;
      box-shadow: 0 5px 25px 0 rgba(0, 0, 0, 0.05);
      height: 100%;
    }

    .service-card h5 {
      font-weight: 700;
      margin-bottom: 20px;
      color: var(--primary-color);
      font-size: 1.25rem;
      border-bottom: 2px solid #f0f0f0;
      padding-bottom: 10px;
    }

    .service-list {
      list-style: none;
      padding: 0;
    }

    .service-list li {
      position: relative;
      padding-left: 30px;
      margin-bottom: 12px;
      line-height: 1.5;
    }

    /* Shared Icon Styling */
    .service-list li::before {
      font-family: 'boxicons';
      position: absolute;
      left: 0;
      top: 2px;
      color: var(--primary-color);
      font-size: 1.2rem;
    }

    /* Icon for Editors: 'bx-edit' (Pen) */
    .service-list.editors li::before {
      content: "\eb8b"; 
    }

    /* Icon for Program Committee: 'bx-briefcase' (Professional) */
    .service-list.committee li::before {
      content: "\eb9c"; 
    }

    /* Icon for Reviewers: 'bx-check-shield' (Verified/Review) */
    .service-list.reviewers li::before {
      content: "\eb0b"; /* Simple Checkmark */
    }

    .service-publisher {
      display: block;
      font-size: 0.85rem;
      color: #666;
      font-style: italic;
    }

/* --- Awards Styling --- */
    .award-item {
      padding: 20px;
      margin-bottom: 20px;
      border-left: 4px solid var(--primary-color);
      background: #fff;
      box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
      transition: 0.3s;
      border-radius: 0 8px 8px 0;
    }

    .award-item:hover {
      transform: translateX(10px);
      box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    }

    .award-year {
      display: inline-block;
      padding: 2px 12px;
      background: var(--primary-color);
      color: #fff;
      font-weight: 600;
      font-size: 0.85rem;
      border-radius: 4px;
      margin-bottom: 10px;
    }

    .award-title {
      font-size: 1.2rem;
      font-weight: 700;
      color: #333;
      margin-bottom: 5px;
    }

    .award-org {
      font-style: italic;
      color: #666;
      font-size: 0.95rem;
    }

    .award-icon {
      font-size: 1.5rem;
      color: var(--primary-color);
      margin-right: 10px;
      vertical-align: middle;
    }
/* --- Grants & Funding Styling --- */
    .funding-card {
      background: #fff;
      border: 1px solid #eee;
      border-radius: 8px;
      padding: 20px;
      margin-bottom: 20px;
      transition: all 0.3s ease;
      height: 100%;
    }

    .funding-card:hover {
      border-color: var(--primary-color);
      box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    }

    .funding-type {
      text-transform: uppercase;
      font-size: 0.75rem;
      letter-spacing: 1px;
      font-weight: 700;
      color: #777;
      margin-bottom: 10px;
      display: block;
    }

    .funding-amount {
      float: right;
      background: #e3f2fd;
      color: #0d47a1;
      padding: 4px 12px;
      border-radius: 20px;
      font-weight: 700;
      font-size: 0.9rem;
    }

    .status-badge {
      background: #fff3e0;
      color: #e65100;
      padding: 2px 10px;
      border-radius: 4px;
      font-size: 0.75rem;
      font-weight: 700;
      text-transform: uppercase;
      margin-left: 10px;
    }

    .grant-title {
      font-weight: 700;
      font-size: 1.1rem;
      line-height: 1.4;
      margin-bottom: 15px;
      color: #333;
    }

    .grant-details p {
      margin-bottom: 5px;
      font-size: 0.9rem;
      color: #555;
    }

    .grant-details strong {
      color: #333;
    }

/* --- Teaching & Experience Upgrades --- */
    .teaching-card {
      border: none;
      border-left: 5px solid var(--primary-color);
      background: #fff;
      margin-bottom: 20px;
      box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
      transition: 0.3s;
    }

    .teaching-card:hover {
      transform: translateY(-3px);
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }

    .teaching-role {
      font-size: 1.25rem;
      font-weight: 700;
      color: var(--primary-color);
      margin-bottom: 5px;
    }

    .teaching-place {
      font-weight: 600;
      color: #444;
      margin-bottom: 15px;
      display: block;
    }

    .teaching-date {
      float: right;
      font-weight: 700;
      color: #777;
      font-size: 0.9rem;
    }

    .course-list {
      list-style: none;
      padding-left: 0;
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .course-list li {
      background: #f0f4f8;
      padding: 5px 12px;
      border-radius: 4px;
      font-size: 0.85rem;
      color: #333;
      border: 1px solid #d1d9e6;
    }

    .course-code {
      font-weight: 800;
      color: var(--primary-color);
      margin-right: 5px;
    }

    /* --- Modern Timeline --- */
    .experience-timeline {
      position: relative;
      padding-left: 30px;
    }

    .experience-timeline::before {
      content: '';
      position: absolute;
      left: 0;
      top: 0;
      height: 100%;
      width: 2px;
      background: #e9ecef;
    }

    .timeline-item {
      position: relative;
      margin-bottom: 30px;
    }

    .timeline-item::before {
      content: '';
      position: absolute;
      left: -35px;
      top: 5px;
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: var(--primary-color);
      border: 3px solid #fff;
      box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.1);
    }

    .job-title {
      font-size: 1.1rem;
      font-weight: 700;
      margin-bottom: 0;
    }

    .job-meta {
      font-size: 0.9rem;
      color: #666;
    }

/* --- Academic Service Section Styles --- */
    .service-card {
      background: #fff;
      padding: 30px;
      border-radius: 12px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
      border: 1px solid #edf2f7;
      height: 100%;
    }

    .service-card h5 {
      color: var(--primary-color);
      font-weight: 700;
      font-size: 1.15rem;
      border-bottom: 2px solid #f1f5f9;
      padding-bottom: 10px;
      margin-bottom: 20px;
      display: flex;
      align-items: center;
    }

    .service-card h5 i {
      margin-right: 10px;
      font-size: 1.4rem;
    }

    /* Editorship & Committee Items */
    .service-item {
      margin-bottom: 20px;
      padding-left: 15px;
      border-left: 3px solid #e2e8f0;
    }

    .service-item strong {
      display: block;
      color: #2d3748;
      font-size: 1rem;
    }

    .service-publisher {
      font-size: 0.85rem;
      color: #718096;
      display: block;
      margin-top: 2px;
    }

    /* Reviewer Badge Grid */
    .badge-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .reviewer-badge {
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      color: #4a5568;
      padding: 6px 14px;
      border-radius: 6px;
      font-size: 0.85rem;
      font-weight: 600;
      transition: 0.2s;
    }

    .reviewer-badge:hover {
      background: var(--primary-color);
      color: #fff;
      border-color: var(--primary-color);
      transform: translateY(-2px);
    }

/* --- Professional Development & Presentations Styles --- */
    .others-section {
      padding: 60px 0;
    }

    .info-card {
      background: #fff;
      padding: 30px;
      border-radius: 12px;
      box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
      height: 100%;
      border-top: 4px solid var(--primary-color);
    }

    .info-card h5 {
      font-size: 1.3rem;
      font-weight: 700;
      color: var(--primary-color);
      margin-bottom: 25px;
      display: flex;
      align-items: center;
    }

    .info-card h5 i {
      margin-right: 12px;
      font-size: 1.5rem;
    }

    /* Training Items */
    .training-item {
      display: flex;
      margin-bottom: 15px;
    }

    .training-item i {
      color: var(--primary-color);
      margin-right: 15px;
      margin-top: 5px;
    }

    .training-content strong {
      display: block;
      color: #333;
      font-size: 0.95rem;
    }

    .training-content span {
      font-size: 0.85rem;
      color: #777;
    }

    /* Presentation Items */
    .presentation-item {
      position: relative;
      padding-left: 20px;
      border-left: 2px solid #e9ecef;
      margin-bottom: 20px;
    }

    .presentation-item::before {
      content: '';
      position: absolute;
      left: -7px;
      top: 0;
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: var(--primary-color);
    }

    .presentation-title {
      font-weight: 700;
      font-size: 0.95rem;
      color: #333;
      line-height: 1.4;
      display: block;
    }

    .presentation-meta {
      font-size: 0.85rem;
      color: #666;
      display: block;
      margin-top: 4px;
    }

    .presentation-location {
      color: var(--primary-color);
      font-weight: 600;
    }

/* --- About Section Refinements --- */
    .about .content h2 {
      font-weight: 700;
      font-size: 1.6rem;
      color: var(--primary-color);
      margin-bottom: 15px;
    }

    .about-img {
      border-radius: 15px;
      box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
      border: 5px solid #fff;
    }

    /* Bio Text */
    .bio-text {
      line-height: 1.8;
      font-size: 1.05rem;
      color: #444;
      text-align: justify;
    }

    /* Skill Badges */
    .skill-category-title {
      font-size: 0.9rem;
      font-weight: 700;
      text-transform: uppercase;
      color: #777;
      margin-top: 20px;
      margin-bottom: 10px;
      display: block;
    }

    .skill-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .skill-tag {
      background: #f0f4f8;
      color: #0d47a1;
      padding: 5px 15px;
      border-radius: 50px;
      font-size: 0.85rem;
      font-weight: 600;
      border: 1px solid #d1d9e6;
      transition: 0.3s;
    }

    .skill-tag:hover {
      background: var(--primary-color);
      color: #fff;
    }

    /* Education Card */
    .education-item {
      padding: 15px;
      border-left: 3px solid var(--primary-color);
      background: #fff;
      margin-bottom: 15px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.05);
      border-radius: 0 8px 8px 0;
    }

    .edu-year {
      font-weight: 700;
      color: var(--primary-color);
      font-size: 0.9rem;
    }

    .edu-degree {
      font-weight: 700;
      display: block;
      color: #333;
    }

    .edu-school {
      font-size: 0.9rem;
      color: #666;
      font-style: italic;
    }

    /* Quick Info Icons */
    .info-list {
      list-style: none;
      padding: 0;
    }

    .info-list li {
      margin-bottom: 10px;
      display: flex;
      align-items: center;
    }

    .info-list i {
      color: var(--primary-color);
      margin-right: 10px;
      font-size: 1.2rem;
    }

/* --- Hero Section Enhancements --- */
    #hero {
      width: 100%;
      height: 100vh;
      background: linear-gradient(rgba(5, 99, 175, 0.8), rgba(0, 0, 0, 0.9)), url("assets/img/hero-bg.jpg") top center;
      background-size: cover;
    }

    #hero h1 {
      margin: 0 0 10px 0;
      font-size: 4rem;
      font-weight: 700;
      line-height: 56px;
      color: #fff;
    }

    #hero p {
      color: #fff;
      margin-bottom: 50px;
      font-size: 1.6rem;
      font-family: "Poppins", sans-serif;
    }

    #hero p span {
      color: #fff;
      padding-bottom: 4px;
      letter-spacing: 1px;
      border-bottom: 3px solid var(--primary-color);
    }

    /* Hero Buttons */
    .hero-buttons {
      display: flex;
      gap: 15px;
      justify-content: center;
    }

    .btn-hero {
      font-family: "Raleway", sans-serif;
      font-weight: 600;
      font-size: 1rem;
      letter-spacing: 1px;
      display: inline-block;
      padding: 12px 32px;
      border-radius: 5px;
      transition: 0.5s;
      color: #fff;
      border: 2px solid #fff;
      text-decoration: none;
    }

    .btn-hero.active {
      background: var(--primary-color);
      border-color: var(--primary-color);
    }

    .btn-hero:hover {
      background: #fff;
      color: var(--primary-color);
    }

    @media (max-width: 768px) {
      #hero h1 {
        font-size: 2.5rem;
        line-height: 36px;
      }
      #hero p {
        font-size: 1.2rem;
        line-height: 24px;
        margin-bottom: 30px;
      }
    }

/* ======== RESPONSIVE OVERRIDES ======== */

/* 1. Universal Responsive Typography */
html {
  font-size: 16px; /* Base size */
}

@media (max-width: 1200px) {
  #hero h1 { font-size: 3.5rem; }
}

@media (max-width: 992px) {
  #hero h1 { font-size: 3rem; }
  .about-img { margin-bottom: 30px; }
}

@media (max-width: 768px) {
  #hero h1 { 
    font-size: 2.2rem; 
    line-height: 1.2;
  }
  #hero p { font-size: 1.1rem; }
  
  .section-title h2 { font-size: 1.8rem; }
  
  /* Stack the hero buttons on very small screens */
  .hero-buttons {
    flex-direction: column;
    width: 80%;
  }
  .btn-hero {
    width: 100%;
    text-align: center;
  }
  
  /* Adjust Education & Teaching cards for mobile padding */
  .teaching-card, .education-item, .award-item {
    padding: 15px;
  }
  
  .teaching-date {
    float: none;
    display: block;
    margin-bottom: 10px;
  }
}

/* 2. Image Responsiveness */
.img-fluid {
  max-width: 100%;
  height: auto;
}

/* 3. Ensure the Hero handles different heights (Mobile browsers) */
#hero {
  min-height: 100vh; /* Better than fixed height for mobile toolbars */
  padding: 60px 0;
}

/* 4. Fix for Publication Tabs on Mobile */
@media (max-width: 575px) {
  .nav-tabs .nav-link {
    font-size: 0.8rem;
    padding: 8px 10px;
  }
}
/* --- Centering & Responsiveness Fix --- */
#hero {
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(rgba(5, 99, 175, 0.8), rgba(0, 0, 0, 0.9)), url("assets/img/hero-bg.jpg") top center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Vertical Center */
  align-items: center;     /* Horizontal Center */
  text-align: center;      /* Center all text */
  padding: 0 15px;
}

.hero-container {
  width: 100%;
}

#hero h1 {
  font-size: 4rem; /* Will shrink on mobile via media query below */
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

#hero p {
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 30px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  #hero h1 { font-size: 2.5rem; }
  #hero p { font-size: 1.2rem; }
  .hero-buttons {
    width: 100%;
    display: flex;
    flex-direction: column; /* Stack buttons on mobile */
    align-items: center;
  }
  .btn-hero {
    width: 80%; /* Wider buttons for easier tapping */
    margin: 10px 0 !important;
  }
}