.mobile-nav {
  display: none;
}


/* ===========================
   General Page Styles
   =========================== */
body {
  margin: 0;                 /* Reset browser default */
  margin-left: 70px;         /* Leave room for collapsed sidebar (70px wide) */
  padding: 20px;
  font-size: 18px;
  font-family: Arial, sans-serif;
  background-color: #ffffffc7;
  color: #333;
}

h1, h2 {
  text-align: center;
}

/* ===========================
   Links
   =========================== */
a {
  color: #00aaff;
  text-decoration: none;
  font-weight: bold;
}
a:hover {
  text-decoration: underline;
}

/* ===========================
   Profile
   =========================== */
.profile-summary {
  text-align: left;
  margin-top: 20px;
  color: #010101;
}

.profile-subtitle {
  font-weight: 600;
  font-size: 1rem;
  color: #010101;
  margin-bottom: 15px;
}
.profile-subtitle a {
  color: #007acc;
  text-decoration: none;
  font-weight: 600;
}
.profile-subtitle a:hover {
  text-decoration: underline;
}

.other-interests a {
  color: #010101;
  text-decoration: none;
  font-weight: 600;
}

/* ===========================
   Background Video
   =========================== */
#bg-video {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  z-index: -1;
  object-fit: cover;
  opacity: 0.2;
}

/* ===========================
   Overlay Content Box
   =========================== */
.content-overlay {
  background-color: rgba(214, 214, 214, 0.5);
  padding: 20px;
  border-radius: 10px;
  /* filter:blur(20px) */
}

/* #vanta-bg {
  opacity: 0.85;
  filter: blur(2px);
} */

/* ===========================
   Sidebar Navigation (Collapsible)
   =========================== */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 70px;                  /* Narrow bar (icons only) */
  background-color: #007acc;    /* Blue background */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0;
  box-shadow: 2px 0 5px rgba(0,0,0,0.1);
  z-index: 1000;
  transition: width 0.3s ease;
  overflow: hidden;
}

/* Expand sidebar on hover */
.main-nav:hover {
  width: 220px;                 /* Expand to show text */
  align-items: flex-start;
  padding-left: 10px;
}

/* Each tab link */
.main-nav a {
  display: flex;
  align-items: center;
  gap: 12px;                    /* Space between icon & text */
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.3s, transform 0.2s;
  white-space: nowrap;          /* Prevent text wrapping */
}

/* Icon always visible */
.main-nav a i {
  font-size: 20px;
  min-width: 30px;
  text-align: center;
}

/* Text label hidden by default */
.main-nav a span {
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.3s, transform 0.3s;
}

/* Show text when sidebar expands */
.main-nav:hover a span {
  opacity: 1;
  transform: translateX(0);
}

/* Hover effect */
.main-nav a:hover {
  background-color: #005fa3;
  transform: translateX(3px);
}

/* ===========================
   Footer
   =========================== */
footer a {
  margin: 0 14px;
  color: #444;
  text-decoration: none;
  font-size: 34px;
}
footer a:hover {
  color: #0077b5; /* LinkedIn blue as example */
}

/* Email link */
.email_link {
  color: #0077b6;
  text-decoration: none;
}
.email_link:hover {
  color: #023e8a;
  text-decoration: underline;
}

/* ===========================
   Responsive (Mobile)
   =========================== */
   @media screen and (max-width: 768px) {
  body {
    font-size: 16px;
    margin-left: 0;
    padding: 10px;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  .main-nav {
    position: relative;
    width: 100%;
    height: auto;
    flex-direction: row;
    justify-content: space-around; /* spread tabs evenly */
    align-items: center;
    box-shadow: none;
    background-color: #003366; /* solid blue background for mobile tabs */
    padding: 5px 0;
  }

  .main-nav a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    width: auto;
    border-radius: 0; /* remove curved corners for mobile */
  }

  .main-nav a span {
    opacity: 1;
    transform: none;
    margin-left: 5px; /* space between icon and label */
  }
}

Hide mobile nav by default
.mobile-nav {
  display: none;
}
@media screen and (max-width: 768px) {
  .main-nav {
    display: none; /* hide the big sidebar on mobile */
  }

  .mobile-nav {
    display: block;
    position: fixed;   /* stick it in place */
    top: 0;
    left: 0;
    width: 100%;       /* spans the top like a header bar */
    background: #003366;
    color: white;
    padding: 10px;
    z-index: 1000;     /* make sure it stays above content */
  }

  .menu-toggle {
    background: none;
    border: none;
    font-size: 20px;
    font-weight: bold;
    color: white;
    cursor: pointer;
  }

  .menu-items {
    display: none;
    position: fixed;   /* attach to the left side of screen */
    top: 50px;         /* right under the header */
    left: 0;
    background: #003366;
    width: 220px;
    height: 100%;
    flex-direction: column;
    box-shadow: 2px 0 8px rgba(0,0,0,0.3);
    z-index: 1000;
  }

  .menu-items a {
    padding: 15px;
    display: block;
    color: white;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
  }

  .menu-items a:hover {
    background: rgba(255,255,255,0.1);
  }

  /* Show menu when active */
  .mobile-nav.active .menu-items {
    display: flex;
  }
}
.language-menu {
  position: relative; /* ensures z-index applies */
  z-index: 2000;      /* higher than .mobile-nav (1000) */
}

  .theme-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 16px 20px;
    border: none;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.466);
    cursor: pointer;
    z-index: 1100;
  }

  /* Dark mode styles */
  body.dark-mode {
    background: #1a1a1a;
    color: #f1f1f1;
  }

  body.dark-mode a { 
    color: #66ccff; 
  }

  body.dark-mode nav { 
    background: #2a2a2a; 
  }

  /* Make sure VANTA background doesn’t cover dark mode text */
  .content-overlay {
    position: relative;
    z-index: 10;
  }

  /* Wrapper positions the toggle + box */
#thoughts-wrapper {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1200;
}

/* The icon button */
#thoughts-toggle {
  background: #0077cc;
  color: white;
  border: none;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  cursor: pointer;
  font-size: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: background 0.3s;
}
#thoughts-toggle:hover {
  background: #005fa3;
}

/* The hidden thought box */
#thoughts-box {
  display: none;
  position: absolute;
  top: 60px;
  right: 0;
  width: 260px;
  background: rgba(255,255,255,0.95);
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  font-size: 0.9em;
}

@media (max-width: 768px) {
  /* Move toggle to bottom-left */
  #thoughts-wrapper {
    top: auto;
    bottom: 20px;
    left: 20px;
    right: auto;
    transform: none;
  }

  /* Position box above the toggle */
  #thoughts-box {
    top: auto;            /* remove the old top positioning */
    bottom: 60px;         /* sit above the button */
    left: 0;              /* align with wrapper left edge */
    right: auto;
    transform: none;
    width: 260px;         /* or whatever width you want */
  }
}


  .contact-form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: auto;
    gap: 12px;
  }
  .contact-form input, .contact-form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1em;
  }
  .contact-form button {
    background: #0077cc;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1em;
    transition: background 0.3s ease;
  }
  .contact-form button:hover {
    background: #005fa3;
  }

  
.mobile-menu-items {
  text-align: left;
}
.mobile-nav {
  /* Your existing mobile-nav styles go here */
  text-align: left;
}
  #swap-thought-btn {
  margin-top: 10px;
  padding: 5px 10px;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
}

.divider-thick {
  border: none;
  height: 5px;
  background-color: #555; /* A darker color for emphasis */
  width: 70%;
  margin: 30px auto;
}

.divider-thin {
  border: none;
  height: 1px;
  background-color: #ccc;
  width: 60%;
  margin: 20px auto;
}

.profile-container img {
  max-width: 180px;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0,0,0,0.2);
  margin-bottom: 10px;
}

.mobile-nav .menu-items {
  width: auto; /* or some fixed width */
  overflow: hidden;
  transition: width 0.3s ease;
}
.mobile-nav.active .menu-items { width: 200px; }


html {
  scroll-behavior: smooth;
}
