/**
* Template Name: iPortfolio
* Template URL: https://bootstrapmade.com/iportfolio-bootstrap-portfolio-websites-template/
* Updated: Jun 29 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/
 
/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway",  sans-serif;
  --nav-font: "Poppins",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #272829; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #050d18; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #149ddd; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #a8a9b4;  /* The default color of the main navmenu links */
  --nav-hover-color: #ffffff; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #040b14; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #040b14; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #a8a9b4; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #ffffff; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f4fafd;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #040b14;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #151f2b;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  background-color: #003366;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  padding: 0 10px;
  width: 300px;
  transition: all ease-in-out 0.3s;
  overflow-y: auto;
  z-index: 997;
  border-right: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.header .profile-img img {
  margin: 15px auto;
  display: block;
  width: 130px;
  border: 8px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.header .logo {
  line-height: 1;
  margin-bottom: 15px;
}

.header .logo img {
  max-height: 32px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 24px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.header .social-links {
  margin: 0 0 20px 0;
}

.header .social-links a {
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--default-color), transparent 90%);
  color: var(--default-color);
  margin: 0 2px;
  border-radius: 50%;
  text-align: center;
  width: 40px;
  height: 40px;
  transition: 0.3s;
}

.header .social-links a:hover {
  color: var(--contrast-color);
  background: var(--accent-color);
}

@media (min-width: 1200px) {

  .header~main,
  .header~#footer {
    margin-left: 300px;
  }
}

@media (max-width: 1199px) {
  .header {
    left: -100%;
  }
}

.header.header-show {
  left: 0;
}

.header .header-toggle {
  color: var(--contrast-color);
  background-color: var(--accent-color);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  position: fixed;
  top: 15px;
  right: 15px;
  z-index: 9999;
  transition: background-color 0.3s;
}

.header .header-toggle:hover {
  color: var(--contrast-color);
  background-color: color-mix(in srgb, var(--accent-color) 90%, white 15%);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.mobile-nav-toggle {
  display: none;
}

.navmenu {
  padding: 0;
  z-index: 9997;
}

.navmenu ul {
  list-style: none;
  padding: 0 0 10px 0;
  margin: 0;
}

.navmenu a,
.navmenu a:focus {
  color: var(--nav-color);
  padding: 6px 10px;
  font-family: var(--nav-font);
  font-size: 16px;
  font-weight: 400;
  display: flex;
  align-items: center;
  white-space: nowrap;
  transition: 0.3s;
  width: 100%;
}

.navmenu a .navicon,
.navmenu a:focus .navicon {
  font-size: 20px;
  margin-right: 10px;
}

.navmenu a .toggle-dropdown,
.navmenu a:focus .toggle-dropdown {
  font-size: 12px;
  line-height: 0;
  margin-left: auto;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: 0.3s;
  flex-shrink: 0;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
}

.navmenu a .toggle-dropdown:hover,
.navmenu a:focus .toggle-dropdown:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.navmenu a:hover,
.navmenu .active,
.navmenu .active:focus {
  color: var(--nav-hover-color);
}

.navmenu a:hover .navicon,
.navmenu .active .navicon,
.navmenu .active:focus .navicon {
  color: var(--accent-color);
}

.navmenu .active .toggle-dropdown,
.navmenu .active:focus .toggle-dropdown {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: rotate(180deg);
}

.navmenu .dropdown {
  display: block;
}

.navmenu .dropdown a,
.navmenu .dropdown a:focus {
  color: --nav-dropdown-color;
}

.navmenu .dropdown a:hover,
.navmenu .dropdown .active,
.navmenu .dropdown .active:focus {
  color: var(--nav-dropdown-hover-color);
}

.navmenu .dropdown ul {
  position: static;
  display: none;
  z-index: 99;
  padding: 5px 10px;
  margin: 5px 10px;
  background-color: var(--nav-dropdown-background-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  box-shadow: none;
  transition: all 0.5s ease-in-out;
}

.navmenu .dropdown ul ul {
  background-color: rgba(33, 37, 41, 0.1);
}

.navmenu .dropdown>.dropdown-active {
  display: block;
  background-color: rgba(33, 37, 41, 0.03);
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  padding: 40px 0;
  position: relative;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 4px;
  font-size: 13px;
  text-align: center;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 25px 0;
  position: relative;
}

.page-title h1 {
  font-size: 24px;
  font-weight: 700;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
}

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

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  overflow: clip;
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  bottom: 0;
}

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

/*-----------------------------------------------------------------------------------------------------
# Sections 
------------------------------------------------------------------------------------------------------*/
/*--------------------------------------------------------------
# Home Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  height: 70vh;
  position: relative;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero .main-name{
  font-size: xx-large;
}

.hero:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 90%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero h2 {
  margin: 0;
  font-size: 35px;
  font-weight: 700;
}

.hero p {
  margin: 5px 0 0 0;
  font-size: 26px;
}

.hero p span {
  letter-spacing: 1px;
  border-bottom: 2px solid var(--accent-color);
}

.hero .social-links {
  margin-top: 25px;
}

.hero .social-links a {
  font-size: 24px;
  display: inline-block;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  line-height: 1;
  margin-right: 20px;
  transition: 0.3s;
}

.hero .social-links a:hover {
  color: var(--accent-color);
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 32px;
  }

  .hero p {
    font-size: 20px;
  }
}
/*--------------------------------------------------------------
# Quatification
--------------------------------------------------------------*/

.education {
  width: 75vw; 
  margin: 75px 10px; 
  margin-top: 10px;
  padding: 5px;
  background: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.education h2 {
  color: #000; /* Changed to black */
  font-size: 28px; /* Increased font size for better visibility */
  font-weight: bold; /* Makes the text stand out */
  text-align: center; /* Centers the heading */
  text-transform: uppercase; /* Converts text to uppercase for a strong heading */
  letter-spacing: 1.5px; /* Adds spacing for better readability */
  margin-bottom: 25px; /* Slightly increased spacing below */
  border-bottom: 3px solid #0056b3; /* Adds a bottom border for emphasis */
  display: inline-block; /* Makes border fit the text width */
  padding-bottom: 5px; /* Adds a little space below the text */
}

/* Degree Styling */
.degree {
  border-left: 5px solid #0056b3;
  padding-left: 15px;
  margin-bottom: 20px;
  background: #eef2f7;
  padding: 15px;
  border-radius: 5px;
}

.degree h3 {
  color: #333;
  margin-bottom: 5px;
}

.degree p {
  margin: 5px 0;
  font-size: 16px;
  line-height: 1.5;
}

.degree strong {
  color: #0056b3;
}

/*--------------------------------------------------------------
# History
--------------------------------------------------------------*/

/* Employment Section */
.employment {
  width: 75vw; 
  margin: 75px 10px; 
  padding: 5px;
  background: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

/* Heading Styling */
.employment h2 {
  color: #000; /* Changed to black */
  font-size: 28px; /* Increased font size for better visibility */
  font-weight: bold; /* Makes the text stand out */
  text-align: center; /* Centers the heading */
  text-transform: uppercase; /* Converts text to uppercase for a strong heading */
  letter-spacing: 1.5px; /* Adds spacing for better readability */
  margin-bottom: 25px; /* Slightly increased spacing below */
  border-bottom: 3px solid #0056b3; /* Adds a bottom border for emphasis */
  display: inline-block; /* Makes border fit the text width */
  padding-bottom: 5px; /* Adds a little space below the text */
}

/* Table Styling */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

/* Table Headers */
thead {
  background: #0056b3;
  color: white;
  text-align: left;
}

th, td {
  padding: 12px;
  border-bottom: 1px solid #ddd;
}

/* Table Row Styling */
tbody tr:hover {
  background-color: #f1f1f1;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  table {
      display: block;
      overflow-x: auto;
      white-space: nowrap;
  }
}

/*--------------------------------------------------------------
# Projects
--------------------------------------------------------------*/
/* Research Section */
.research {
  width: 75vw; 
  margin: 75px 10px; 
  padding: 5px;
  background: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

/* Heading Styling */
.research h2 {
  color: #000; /* Changed to black */
  font-size: 28px; /* Increased font size for better visibility */
  font-weight: bold; /* Makes the text stand out */
  text-align: center; /* Centers the heading */
  text-transform: uppercase; /* Converts text to uppercase for a strong heading */
  letter-spacing: 1.5px; /* Adds spacing for better readability */
  margin-bottom: 25px; /* Slightly increased spacing below */
  border-bottom: 3px solid #0056b3; /* Adds a bottom border for emphasis */
  display: inline-block; /* Makes border fit the text width */
  padding-bottom: 5px; /* Adds a little space below the text */
}

/* Table Styling */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

/* Table Headers */
thead {
  background: #0056b3;
  color: white;
  text-align: left;
}

th, td {
  padding: 12px;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

/* Make Funding Amounts Bold */
td:nth-child(3) {
  font-weight: bold;
  color: #007b00;
}

/* Alternate Row Styling */
tbody tr:nth-child(even) {
  background-color: #f2f2f2;
}

/* Table Row Hover Effect */
tbody tr:hover {
  background-color: #e9ecef;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  table {
      display: block;
      overflow-x: auto;
      white-space: nowrap;
  }
}

.research-projects {
  width: 75vw; 
  margin: 10px 10px; 
  margin-top: 30px;
  padding: 5px;
  background: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.research-projects h2 {
  color: inherit;
  text-align: inherit;
  font-size: inherit;
  margin-bottom: 10px;
  border-bottom: none;
}

.project {
  background-color: #fff;
  padding: 15px;
  margin-bottom: 20px;
  border-left: 5px solid #007BFF;
  border-radius: 8px;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
}

.project h3 {
  color: #007BFF;
  font-size: 20px;
  margin-bottom: 10px;
}

.project p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

/*--------------------------------------------------------------
# Award / Grant
--------------------------------------------------------------*/
.award {
  width: 75vw; 
  margin: 75px 10px; 
  padding: 5px;
  background: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}
h2 {
  color: #000; /* Changed to black */
  font-size: 28px; /* Increased font size for better visibility */
  font-weight: bold; /* Makes the text stand out */
  text-align: center; /* Centers the heading */
  text-transform: uppercase; /* Converts text to uppercase for a strong heading */
  letter-spacing: 1.5px; /* Adds spacing for better readability */
  margin-bottom: 25px; /* Slightly increased spacing below */
  border-bottom: 3px solid #0056b3; /* Adds a bottom border for emphasis */
  display: inline-block; /* Makes border fit the text width */
  padding-bottom: 5px; /* Adds a little space below the text */
}
p {
  font-size: 16px;
  color: #333;
}

/*--------------------------------------------------------------
# Journal, Conference Publications, Books/Book Chapters,  Tech-Academic Contributions, Professional Development, Administrative and Organizational Roles
--------------------------------------------------------------*/
/* --------Editor/Guest Editor------ */
.journal-container {
  width: 75vw; 
  margin: 75px 10px; 
  padding: 5px;
  background: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}
.journal-title {
  color: #000; /* Changed to black */
  font-size: 28px; /* Increased font size for better visibility */
  font-weight: bold; /* Makes the text stand out */
  text-align: center; /* Centers the heading */
  text-transform: uppercase; /* Converts text to uppercase for a strong heading */
  letter-spacing: 1.5px; /* Adds spacing for better readability */
  margin-bottom: 25px; /* Slightly increased spacing below */
  border-bottom: 3px solid #0056b3; /* Adds a bottom border for emphasis */
  display: inline-block; /* Makes border fit the text width */
  padding-bottom: 5px; /* Adds a little space below the text */
}
.journal-list {
  list-style-type: none;
  padding: 0;
}
.journal-item {
  background: #ffffff;
  margin: 10px 0;
  padding: 10px;
  border-left: 5px solid #0073e6;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.journal-highlight {
  color: #0073e6;
}

.admin-responsibilities {
  font-family: Arial, sans-serif;
  margin: 20px;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.admin-responsibilities h2 {
  text-align: center;
  color: #333;
  margin-bottom: 15px;
}

.admin-responsibilities table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
}

.admin-responsibilities th, .admin-responsibilities td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: left;
}

.admin-responsibilities th {
  background-color: #007bff;
  color: white;
}

.admin-responsibilities tr:nth-child(even) {
  background-color: #f2f2f2;
}

.admin-responsibilities tr:hover {
  background-color: #ddd;
}

/*--------------------------------------------------------------
# Personal details
--------------------------------------------------------------*/
.personal-details {
  font-family: Arial, sans-serif;
  margin: 20px;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 600px;
}

.personal-details h2 {
  text-align: center;
  color: #333;
  margin-bottom: 15px;
}

.details-container p {
  font-size: 16px;
  color: #555;
  margin: 8px 0;
  line-height: 1.5;
}

.details-container strong {
  color: #222;
}

.details-container a {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}

.details-container a:hover {
  text-decoration: underline;
}