a {
  text-decoration: none;
  color: #3d005f;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

.logo {
  height: 60px;
}

.tools button,
.tools select {
  margin-left: 10px;
  padding: 5px;
  cursor: pointer;
}

/* Navbar fix */
.navbar {
  position: sticky;
  z-index: 100;
  background-color: #652b7c;
  padding: 0px px;
}

.pointers {
  padding-left: 20px;
  list-style-type: disc;
  margin-top: 20px;
  margin-bottom: 20px;
  margin-left: 1rem;
}

/* Slider fix */
.slider-container {
  position: relative;
  z-index: 1;
}

.navigation {
  background-color: #652b7c;
  padding: 10px;
  text-align: center;
}

.slider {
  position: relative;
  width: 100%;
  height: 750px;
  overflow: hidden;
}


.slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info-section {
  display: flex;
  justify-content: space-between;
  padding: 30px;
  background-color: #eee;
}

.info-section div {
  width: 45%;
}

.about-photo{
  float: right; 
  width: 20em; 
  height: 12em;
  position: relative;
  bottom: 2.5em;
}

.about,
.research,
.highlights,
.welcome-message {
  padding: 30px;
  background: white;
  margin: 20px;
  border-radius: 10px;
  color: #000000;
}

.about a,
.research a {
  display: inline-block;
  color: #652b7c;
  text-decoration: underline;
}


.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 750px;
}

.slide {
  min-width: 100%;
  height: 750px;
  position: relative;
  display: none;
}

.slide.active {
  display: block;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.caption {
  position: absolute;
  bottom: 30px;
  left: 50px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 20px;
  border-radius: 8px;
}

.caption-or {
  position: absolute;
  bottom: 300px;
  left: 39%;
  text-align: center;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 20px;
  border-radius: 22px;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 2;
}

.prev {
  left: 20px;
}

.next {
  right: 20px;
}

.login-links a {
  display: inline-block;
  margin-top: 8px;
}

.news-announcements {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: 40px auto;
  max-width: 1300px;
  gap: 30px;
}

.card {
  background-color: #fff;
  padding: 25px 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  width: 48%;
  transition: transform 0.2s ease-in-out;
}

.card:hover {
  transform: translateY(-5px);
}

.card h2 {
  color: #652b7c;
  margin-bottom: 20px;
  font-size: 1.4rem;
  border-bottom: 2px solid #652b7c;
  padding-bottom: 10px;
}

.card ul {
  list-style-type: none;
  padding-left: 0;
  color: #333;
  font-size: 0.96rem;
}

.card ul li {
  margin-bottom: 10px;
  padding-left: 10px;
  line-height: 1.5;
  position: relative;
}

.card ul li::before {
  content: "•";
  color: #652b7c;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

.view-all-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 8px 15px;
  background-color: #652b7c;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
}

.view-all-btn:hover {
  background-color: #652b7c;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
}

.top-full-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  /* optional */
}

.nav-menu {
  list-style: none;
  display: flex;
  padding-left: 10px;
  margin: 1;
}

.nav-item {
  position: relative;
}

.nav-menu>.nav-item>a {
  display: block;
  padding: 10px 15px;
  margin: 5px 2px;
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.nav-menu>.nav-item:hover>a {
  background-color: #d15eff00;
  color: #d15eff;
  border-right: 5px double #d15eff;
  border-bottom: 2px double #d15eff;
  border-radius: 20px;
  /* border-radius: 25px;
  /* border-bottom-right-radius: 25px;
  border-bottom: double #d15eff;
  border-right: double #d15eff; */
}

/* Responsive */
@media (max-width: 768px) {
  .nav-menu {
    flex-direction: column;
  }
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  transition: color 0.3s;
}

.header {
  background-color: #000000;
  position: relative;
  z-index: 1000;
  color: #fff;
  display: flex;
  justify-content: space-between;
  padding: 0px 12px;
  align-items: center;
  flex-wrap: wrap;
  height: 30px;
}

.main-header {
  position: sticky;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 30px 5px 20px;
  background-color: #f9f9f9;
  border-bottom: 1px solid #ccc;
  flex-wrap: wrap;
  position: sticky;
}


.left-header .link {
  margin-right: 15px;
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  background-color: #000000;
}

.left-header .link:hover {
  text-decoration: underline;
}


.right-header button {
  margin-left: 10px;
  padding: 2px 7px;
  font-size: 0.8rem;
  cursor: pointer;
  background-color: #ffffff;
  color: #652b7c;
  border: none;
  border-radius: 2px;
}

.theme-preview {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  /* margin-top: 10px; */
  cursor: pointer;
  justify-content: center;
  place-items: center;
  margin-left: 10px;
}

.color-swatch {
  width: 13.788px;
  height: 16.600px;
  transition: transform 0.2s ease;
  padding: 2px 7px;

}

.theme-preview:hover {
  transform: translateY(-2px);
}


/* Dark Theme */
body.dark-mode {
  background-color: #111;
  color: #ddd;
}

.left-logo,
.center-logo,
.right-search {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 130%;
  height: 130%;
}

.left-logo {
  justify-content: flex-start;
}

.right-search {
  justify-content: flex-end;
}

/* Logo styling */
.logo {
  max-height: 80px;
  width: auto;
}

/* Search bar styling */
.search-form {
  display: flex;
  width: 350px;
  height: 45px;
  border: 2px solid #652b7c;
  border-radius: 40px;
  overflow: hidden;
  background: #fff;
}

.search-form input[type="text"] {
  padding: 8px 12px;
  background-color: #ffffff;
  color: #652b7c;
  border: none;
  outline: none;
  width: 320px;
  font-size: 0.95rem;
}

.search-form input>::placeholder {
  color: #652b7c;
  font-size: 0.95rem;
}

.search-form button {
  color: white;
  border: none;
  padding: 4px 12px;
  cursor: pointer;
  font-size: 0.9rem;
  background-color: #ffffff;
}

.left-header {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  height: 20px;
  padding: 0px 20px;
  background-color: #000000;
}

.right-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-wrap: nowrap;
  height: 15.600px;
  padding: 0px 20px;
  background-color: #000000;
}

.header-link {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
}

.header-link:hover {
  text-decoration: underline;
}

.header-link .icon {
  margin-left: 5px;
  vertical-align: middle;
}

.logo {
  height: auto;
  max-width: 100%;
}

.large-logo {
  transform: scale(1.3);
  /* Increase size by 30% */
  transform-origin: center;
}

.stats-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  background-color: #2c2f36;
  padding: 25px 20px;
  max-width: 900px;
  margin: 40px auto;
  border-radius: 10px;
}

.stat-card {
  text-align: center;
  color: #ffffff;
  min-width: 120px;
}

.stat-card i {
  font-size: 32px;
  color: #d15eff;
  /* Accent color */
  margin-bottom: 8px;
}

.stat-card h2 {
  font-size: 28px;
  margin: 5px 0;
  font-weight: bold;
}

.stat-card p {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #cccccc;
  margin: 0;
}

/* Button */
.dropbtn {
  background-color: #652b7c;
  color: white;
  padding: 8px 14px;
  font-size: 14px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}


.footer {
  background-color: #242424;
  color: #f1f1f1;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  padding: 20px 0 10px;
  border-top: 5px solid #652b7c;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.footer-box {
  margin-bottom: 20px;
  padding: 0 15px;
  gap: 30px;
}

.footer-box h4 {
  font-size: 18px;
  color: #d15eff;
  margin-bottom: 15px;
  border-bottom: 2px solid #d15eff;
  padding-bottom: 5px;
  text-transform: uppercase;
  margin-left: 5px;
}

.footer-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-box ul li {
  margin-bottom: 10px;
  text-align: left;
}

.footer-box ul li a {
  color: #e0e0e0;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-box ul li a:hover {
  color: #ffcc00;
  text-decoration: underline;
}

.footer-box p {
  margin: 8px 0;
  font-size: 14px;
  line-height: 1.6;

}

.footer-box a {
  color: #d15eff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-box a:hover {
  color: #ffffff;
}

.login-links a {
  display: inline-block;
  margin-top: 5px;
  font-weight: 500;
}

.footer iframe {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

/* Bottom Footer Section */
.footer-bottom {
  text-align: center;
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 14px;
  color: #cccccc;
  border-top: 1px solid #444;
}

.footer-bottom p {
  margin: 5px 0;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
  }

  .footer-box {
    padding: 0;
    margin-bottom: 30px;
    width: 100%;
    text-align: center;
  }
}

/* General Navigation Links */

.navigation a,
.navigation .dropdown button {
  color: white;
  margin: 0 10px;
  text-decoration: none;
  font-weight: 500;
  font-family: 'Segoe UI', sans-serif;
  transition: color 0.3s ease;
}

.navigation a:hover,
.navigation .dropdown button:hover {
  color: #d15eff;
}

/* Dropdown Container */
.dropdown,
.login-dropdown {
  display: inline-block;
  position: relative;
  z-index: 9999;
}

/* Dropdown Content & Menu */
.dropdown-content,
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: linear-gradient(to bottom right, #fffdfd, #eab6ff);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  padding: 8px 0;
  overflow: hidden;
  z-index: 10000;
  animation: dropdownFade 0.3s ease-in-out;
}


/*  */
.dropbtn-login {
  background-color: #652b7c;
  color: white;
  padding: 8px 14px;
  font-size: 14px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}


/* Dropdown Content & Menu */
.dropdown-content-login,
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 50px;
  min-width: 260px;
  background: linear-gradient(to bottom right, #fffdfd, #eab6ff);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  padding: 5px 0;
  overflow: hidden;
  z-index: 10000;
  animation: dropdownFade 0.3s ease-in-out;
}

/* Dropdown Items */
.dropdown-content-login a,
.dropdown-menu li a {
  display: block;
  padding: 12px 18px;
  color: #333;
  text-decoration: none;
  font-size: 0.95rem;
  font-family: 'Segoe UI', sans-serif;
  transition: background 0.3s ease, color 0.3s ease;
}

.dropdown-content-login a:hover,
.dropdown-menu li a:hover {
  background-color: #eab6ff;
  color: #652b7c;
  transform: translate3d(-2px, -2px, 0);
}

/* Hover Activation */
.dropdown:hover .dropdown-content,
.login-dropdown:hover .dropdown-content,
.dropdown:hover>.dropdown-menu {
  display: block;
}

/* Dropdown Items */
.dropdown-content a,
.dropdown-menu li a {
  display: block;
  padding: 12px 18px;
  color: #333;
  text-decoration: none;
  font-size: 0.95rem;
  font-family: 'Segoe UI', sans-serif;
  transition: background 0.3s ease, color 0.3s ease;
}

.dropdown-content a:hover,
.dropdown-menu li a:hover {
  background: linear-gradient(to bottom right, #fffdfd, #db80ff);
  color: #652b7c;
  transform: translate3d(-2px, -2px, 0);
}

/* Hover Activation */
.dropdown:hover .dropdown-content,
.login-dropdown:hover .dropdown-content,
.dropdown:hover>.dropdown-menu {
  display: block;
}

/* Dropdown Menu List Items */
.dropdown-menu li {
  position: relative;
  list-style: none;
}

/* Submenu Trigger */
.dropdown-submenu {
  position: relative;
}

/* Submenu Box */
.dropdown-submenu>.dropdown-menu {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  margin-left: 0;
  min-width: 250px;
  background: linear-gradient(to bottom right, #fffdfd, #fbeaea);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  z-index: 10001;
}

/* Show Submenu on Hover */
.dropdown-submenu:hover>.dropdown-menu {
  display: block;
}

/* Sub-submenu support */
.dropdown-menu li>.dropdown-menu {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 260px;
  background: linear-gradient(to bottom right, #fffdfd, #fbeaea);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  padding: 5px 0;
  z-index: 10002;
}

/* Show nested submenu on hover */
.dropdown-menu li:hover>.dropdown-menu {
  display: block;
}

/* Nested items inside submenu */
.dropdown-menu li ul li a {
  padding: 10px 16px;
  font-size: 0.92rem;
}

/* Animation */
@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.button {
  height: 20px;
}

/* Button */

.styled-button {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(to right, #652b7c, #d15eff);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease-in-out;
  letter-spacing: 0.5px;
  font-family: 'Segoe UI', sans-serif;
}

.styled-button:hover {
  background: linear-gradient(to right, #652b7c, #d15eff);
  color: #d15eff;
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.styled-button a {
  color: white;
}

.card announcements li a {
  text-decoration: none;
}
