.myresearchpage {
  background-color: #f7f7ce;
  padding-left: 9px;
  padding-top: 6px;
  padding-right: 9px;
  padding-bottom: 6px;
}

#titleName {
  color: rgba(90, 70, 6, 0.8);
  font-size: 3em;
  /*text-shadow: 2px 2px 3px #000000;*/
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 10px;
  padding-top: 10px;
  animation: fadeInDown 1s ease-out;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes titlePulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

/* Hero Banner Section */
#heroBanner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: -1;
}

#backgroundImage {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: fadeIn 1.2s ease-in;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.3) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.hero-overlay #titleName {
  color: #ffd700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.5);
  margin: 0;
  z-index: 1;
  font-weight: 600;
  letter-spacing: 1px;
  text-align: center;
  padding: 0 20px;
  max-width: 1200px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

#headermenus {
  list-style-type: none;
  float: left;
}

/*a:link {
  background-color: #f44336;
  color: #ffffff;
  text-decoration: none;
  padding: 15px 25px;
  transition: background-color 0.5s;
}
a:hover {
  background-color: #7c0606;
  color: #f1eaea;
}
a:active {
  background-color: #19d432;
  color: rgb(36, 36, 212);
}*/

#navbar {
  background-color: rgba(44, 62, 80, 0.95);
  height: 60px;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  animation: slideDown 0.5s ease-out;
  backdrop-filter: blur(5px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

#navbar .navbar-brand {
  width: 30%;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.5em;
  float: left;
  padding-top: 15px;
  padding-left: 20px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  letter-spacing: 0.5px;
}

#navbar .nav {
  width: 70%;
  /*background-color: red;*/
  float: right;
  text-align: right;
}

#navbar .nav ul {
  list-style-type: none;
  padding: 0px;
  margin: 0px;
  margin-top: 16px;
  margin-right: 20px;
}

#navbar .nav ul li {
  float: right;
}

#navbar .nav ul li a:link,
#navbar .nav ul li a:visited {
  color: #ecf0f1;
  text-decoration: none;
  padding: 10px 16px;
  font-size: 0.95em;
  font-weight: 500;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  border-radius: 4px;
  transition: all 0.3s ease;
  display: inline-block;
  margin-left: 5px;
}

#navbar .nav ul li a:hover {
  color: #ffffff;
  background-color: rgba(52, 152, 219, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#navbar .nav ul li a:active,
#navbar .nav ul li a.active {
  background-color: rgba(52, 152, 219, 1);
  color: #ffffff;
}

body {
  background-color: transparent;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE & TABLET
   ======================================== */

/* Tablets and smaller (max-width: 768px) */
@media screen and (max-width: 768px) {
  /* Navbar adjustments */
  #navbar {
    height: auto;
    min-height: 60px;
    padding: 10px 0;
  }

  #navbar .navbar-brand {
    width: 100%;
    text-align: center;
    padding: 10px;
    font-size: 1.3em;
    float: none;
  }

  #navbar .nav {
    width: 100%;
    float: none;
    text-align: center;
  }

  #navbar .nav ul {
    margin: 10px 0;
    text-align: center;
  }

  #navbar .nav ul li {
    float: none;
    display: inline-block;
    margin: 5px 2px;
  }

  #navbar .nav ul li a:link,
  #navbar .nav ul li a:visited {
    padding: 8px 12px;
    font-size: 0.85em;
    margin: 0 2px;
  }

  /* Title adjustments */
  #titleName {
    font-size: 2em !important;
    padding: 10px !important;
  }

  .hero-overlay #titleName {
    font-size: 2em !important;
  }
}

/* Mobile phones (max-width: 480px) */
@media screen and (max-width: 480px) {
  /* Navbar for mobile */
  #navbar .navbar-brand {
    font-size: 1.1em;
    padding: 8px;
  }

  #navbar .nav ul li {
    display: block;
    margin: 3px 0;
  }

  #navbar .nav ul li a:link,
  #navbar .nav ul li a:visited {
    display: block;
    padding: 10px;
    font-size: 0.9em;
    margin: 0;
  }

  /* Title for mobile */
  #titleName {
    font-size: 1.5em !important;
    padding: 5px !important;
  }

  .hero-overlay #titleName {
    font-size: 1.5em !important;
    padding: 15px !important;
  }

  /* Make hero text readable on mobile */
  .hero-overlay p {
    font-size: 1em !important;
    padding: 0 15px !important;
  }
}

/* Landscape mobile phones */
@media screen and (max-width: 768px) and (orientation: landscape) {
  #navbar {
    height: auto;
  }

  #navbar .nav ul li {
    display: inline-block;
  }
}
