/* 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;
  }
  :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. */
  }

.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;
  }
/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
  .header {
    color: var(--default-color);
    background-color: var(--background-color);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    padding: 0 15px;
    width: 200px;
    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: 120px;
    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%);
  }

  .mobile-nav-toggle {
    display: none;
  }
  
  .navmenu {
    padding: 0;
    z-index: 9997;
  }
  
  /* Global styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
}

/* Header styles */
.header {
  background-color: 3D3D3D;
  color: #fff;
  padding: 20px;
  text-align: center;
  width: 250px;
  height: 100vh;
  position: fixed;
}

.profile-img img {
  width: 80px;
  height: 150px;
  border-radius: 50%;
  margin-bottom: 15px;
}

h2 {
  font-size: 20px;
  margin-bottom: 20px;
}

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

.navmenu a {
  text-decoration: none;
  color: #fff;
  display: block;
  margin: 10px 0;
  font-size: 16px;
  padding: 10px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.navmenu a:hover {
  background-color: #e5e5e5;
}

.navicon {
  margin-right: 10px;
  font-size: 18px;
}

/* Optional: For icon size adjustments */
.bi {
  font-size: 20px;
}


  /* General Navigation Styles */
.navigation {
  display: flex;                /* Use Flexbox for alignment */
  justify-content: center; 
  margin-left: 100px;
  height: 50px; 
  width: 80%;
  align-items: center;
  gap: 50px;                    /* Add spacing between links */
  padding: 10px 20px;  
  border-bottom: 2px solid #ddd;        
}

/* Navigation Links */
.navigation a {
  display: flex;                /* Flexbox for icon and text alignment */
  align-items: center;          /* Vertically align icon and text */
  text-decoration: none;        /* Remove underline */
  color: #333;                  /* Text color */
  font-size: 16px;              /* Font size for text */
  font-weight: 500;             /* Medium font weight */
  padding: 5px 10px;            /* Padding for clickable area */
  transition: all 0.3s ease;    /* Smooth hover effect */
}

/* Icon Styles */
.navigation a i {
  margin-right: 8px;            /* Add space between icon and text */
  font-size: 18px;              /* Icon size */
}

/* Active Link */
.navigation a.active {
  font-weight: bold;            /* Bold for active link */
}

/* Hover Effect */
.navigation a:hover {
  transform: translateY(-2px);  /* Slightly lift on hover */
  font-weight: bold;     /* Add underline on hover */
}


/* Responsive Design */
@media (max-width: 768px) {
  .navigation {
    flex-direction: column;     /* Stack links vertically on smaller screens */
    gap: 10px;                  /* Adjust spacing for smaller screens */
  }
}

section {
  margin-left: 270px; /* Offset to avoid overlap with the sidebar */
  padding: 20px;
  min-height: 100vh; /* Ensure sections cover the full viewport height */
}

.container {
  width: 80%;                  /* Adjust the container width */
  max-width: 1200px; 
  margin-left: 250px;
  justify-content: center;           /* Maximum width for large screens */
  margin: 0 auto;              /* Center the container horizontally */
  padding: 20px;               /* Inner spacing inside the container */
  display: flex;               /* Enable flexbox for content alignment */
  flex-direction: column;      /* Stack items vertically */
  align-items:left;         /* Center items horizontally */
  font-family: 'Arial', sans-serif; /* Font for the text */
}

.container h1 {
  font-size: 24px;            /* Heading font size */
  font-weight: bold;          /* Make the heading bold */
  margin-bottom: 15px;        /* Space below the heading */
}

.container p {
  font-size: 16px;            /* Standard paragraph font size */
  line-height: 1.6;           /* Better readability */
  color: #333;                /* Text color */
  margin-bottom: 20px;        /* Space below the paragraph */
}

/* Footer styles */
footer {
  background-color: #cccccc;
  color: #080101;
  text-align: center;
  margin-left: 130px;
  padding: 15px;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  font-size: 14px;
  z-index: 10;
}

footer a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #ff9900; /* You can change this to another hover color */
}

.abstract-content {
  display: none;
  margin-top: 10px;
  font-size: 16px;
}

.abstract-btn {
  background-color: #383b3b;
  color: white;
  padding: 10px 15px;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.abstract-btn:hover {
  background-color:#415841;
}

form {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  margin-left: 160px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 500px;
}

form input, form textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  background-color: #fafafa;
}

form button {
  background-color: #212321;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  width: 100%;
}

form button:hover {
  background-color: #415841;
}

/* Success message styling */
.success-message {
  color: #4CAF50;
  font-size: 18px;
  text-align: center;
  margin-top: 20px;
}

/* Responsive design */
@media (max-width: 600px) {
  form {
      width: 90%;
  }
}