html {
  height: 100%;
  width: 100%;
}

body {
  background-color: white;
  color: black;
  margin: 0;
  padding: 0;
}


.container {
  color: black;
}

main h1,
main h2,
main h3,
main p {
  color: black;
}

nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

nav ul li strong {
  font-size: 2rem;
  color: #003f7f;
}

.university-branding {
  display: flex;
  width: 100%;
  margin-bottom: 0.5rem;
/*   background: #003f7f; */
}

.university-box {
  flex: 1;
  padding: 1.5rem 1rem;
/*   text-align: center; */
  background: transparent;
  display: flex;
/*   align-items: center; */
/*   justify-content: center; */
  gap: 1rem;
}

.university-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.university-rochester {
  color: #ffd100;
}

.university-box small {
  display: block;
  font-size: 1.1rem;
  font-weight: 500;
  font-family: "Times New Roman", Times, serif;
}



.research-cores-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 3rem;
}

.research-focus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .research-focus-grid {
    grid-template-columns: 1fr;
  }
}

.research-focus-card {
  position: relative;
  height: 350px;
  margin: 2% 2% 1% 0;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.research-focus-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.research-focus-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.research-focus-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.research-focus-card:hover .research-focus-image img {
  transform: scale(1.05);
}

.research-focus-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  transition: background 0.3s ease;
}

.research-focus-card:hover .research-focus-content {
  background: rgba(0, 0, 0, 0);
}

.research-focus-content h4 {
  color: white;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  text-transform: capitalize;
}

.research-core-card {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  margin: 2% 2% 1% 0;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.research-core-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.research-core-card header {
  background: linear-gradient(135deg, #003f7f, #005aa0);
  color: white;
  padding: 1.5rem;
  border-radius: 8px 8px 0 0;
  margin: 0;
}

.research-core-card header h3 {
  color: #f8f9fa;
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.research-core-card main {
  padding: 1.5rem;
}

.research-core-card main p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.research-core-card main p:last-child {
  margin-bottom: 0;
}

.research-core-card a {
  color: #003f7f;
  text-decoration: none;
}

.research-core-card a:hover {
  text-decoration: underline;
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.member-card {
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  margin: 0;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  max-width: 350px;
  margin: 0 auto;
}

.member-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.member-image {
  width: 100%;
  height: 350px;
  overflow: hidden;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.member-info {
  padding: 1.25rem;
}

.member-info h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.3rem;
  font-weight: 600;
  color: #212529;
}

.member-title {
  margin: 0 0 0.5rem 0;
  color: #6c757d;
  font-size: 0.95rem;
  line-height: 1.4;
}

.member-email {
  margin: 0 0 0.75rem 0;
}

.member-email a {
  color: #003f7f;
  text-decoration: none;
  font-size: 0.9rem;
}

.member-email a:hover {
  text-decoration: underline;
}

.member-link {
  margin: 0;
}

.member-link a {
  color: #28a745;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.member-link a:hover {
  text-decoration: underline;
}

/* Hero Section */
.hero-section {
  height: 100vh;
  background-image: linear-gradient(rgba(0, 63, 127, 0.7), rgba(0, 63, 127, 0.7)), url('attached_assets/Animals.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}

.hero-content {
  max-width: 800px;
  padding: 2rem;
  z-index: 2;
}

.hero-content h1 {
  color: white;
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  line-height: 1.2;
}

.hero-content h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #ffd100;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  font-weight: 400;
}

.hero-content p {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 3rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  line-height: 1.4;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: white;
  animation: bounce 2s infinite;
}

.scroll-indicator span {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.scroll-arrow {
  font-size: 1.5rem;
  font-weight: bold;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-10px);
  }

  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content h2 {
    font-size: 1.4rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}

.intro-section {
  padding: 3rem 0 2rem 0;
}

/* Form input styling */
input[type="text"],
input[type="email"],
select,
textarea {
  background-color: #f5f5f5 !important;
  color: #333 !important;
  border: 1px solid #ccc !important;
}
