/* 🌐 Global Page Setup */ 
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  padding: 0;
  text-align: center;
  background:
    linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)),
    url("./Cancer-Genomics.jpeg") no-repeat center center fixed;
  background-size: cover;
  min-height: 100vh;
  color: #000;
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* 🧭 Navigation Bar */
.navbar {
  width: 100%;
  background-color: #ffffff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: relative;
  z-index: 10;
}

/* ✅ Navbar Container */
.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;          /* reduced side padding */
  height: 80px;
  box-sizing: border-box;
  overflow: hidden;
}

/* ✅ Left side (Logo + Brand Text) */
.navbar-left {
  display: flex;
  align-items: center;
  gap: 1px;                 /* tighter spacing between logo & text */
  cursor: pointer;
  margin-left: 0;
}

.logo {
  height: 150px;             /* well-sized logo */
  width: auto;
  display: block;
  object-fit: contain;
  margin-left: 0;           /* stick to far left edge */
  align-items: left;
}

.brand-text {
  font-size: 32px;
  font-weight: 800;
  color: #e67300;           /* dark orange */
  line-height: 1;
  display: flex;
  align-items: left;
}

/* ✅ Right side (Navigation Links) */
.navbar-right {
  display: flex;
  align-items: center;
  gap: 30px;
}

.navbar-right a {
  text-decoration: none;
  color: #000;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
}

.navbar-right a:hover {
  color: #0078d7;
}

/* 🩵 Heading */
.home-heading {
  color: #0078d7;
  text-shadow: 0 0 8px rgba(0,120,215,0.2);
  font-size: 27px;
  font-weight: 700;
  margin-bottom: 25px;
  text-align: center;
  max-width: 900px;
  line-height: 1.3;
}

/* Overlay */
.overlay { display: none; }

/* Content */
.content {
  flex: 1; /* ensures footer stays at bottom */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 0;
  box-sizing: border-box;
}

h1 {
  font-size: 42px;
  font-weight: 700;
  margin: 0;
  color: #03254c;
}

p {
  font-size: 18px;
  margin: 10px 0 25px 0;
  color: #1a1a1a;
}

/* 🔍 Input */
input {
  margin: 15px 0 25px 0;
  padding: 12px;
  width: 60%;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  text-align: center;
  outline: none;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  background-color: #fff;
}

/* 🟦 Buttons */
.button-group {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

button {
  padding: 12px 20px;
  font-size: 16px;
  border-radius: 6px;
  border: none;
  background-color: #0078d7;
  color: white;
  cursor: pointer;
  min-width: 200px;
  font-weight: bold;
  transition: 0.2s ease-in-out;
}

button:hover {
  background-color: #005a9e;
}

/* 📊 Results */
.result {
  background-color: rgba(255, 255, 255, 0.96);
  color: #333;
  padding: 10px 25px 18px 25px;
  border: 2px solid #f28c50;
  border-radius: 10px;
  width: 70%;
  font-size: 16px;
  text-align: left;
  white-space: pre-wrap;
  margin-bottom: 40px;
  line-height: 1.3;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.result-title {
  font-size: 18px;
  font-weight: 700;
  color: #0078d7;
  margin-bottom: 8px;
}

.result-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hidden { display: none; }

/* 🧮 Bottom Section */
.bottom-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 50px;
  margin-bottom: 30px;
}

.metrics-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 10px;
}

.metric-box {
  background-color: rgba(244, 140, 86, 0.9);
  color: white;
  padding: 15px 25px;
  border-radius: 10px;
  text-align: center;
  font-weight: bold;
  min-width: 140px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.metric-box span {
  display: block;
  font-size: 26px;
  font-weight: 700;
}

.tagline {
  background-color: rgba(255, 190, 120, 0.95);
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 18px;
  color: #03254c;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  text-align: center;
}

/* 🚨 Error & Success */
.error { color: #d9534f; font-weight: bold; }
.success { color: #0078d7; font-weight: 600; }

/* ⚙️ Footer */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #f0f0f0;
  border-top: 1px solid #ccc;
  text-align: center;
  padding: 10px 0;
  z-index: 5;
}

.footer p {
  margin: 0;
  color: #222;
  font-size: 0.9rem;
}

.footer-link {
  color: #0078d7;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* 🧬 About / Ethics Section */
.about-container {
  max-width: 800px;
  margin: 8px auto 50px auto;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 10px;
  padding: 25px 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  text-align: left;
}

.about-title {
  color: #0078d7;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 15px;
}

.about-text {
  font-size: 16px;
  color: #222;
  line-height: 1.7;
  white-space: pre-line;
}

.about-text .dot {
  color: #0078d7;  /* 🔹 Blue dot */
  font-weight: 900;
  margin-right: 6px;
  font-size: 18px;
}

/* 💡 Use Cases Section */
.usecases-container {
  max-width: 900px;
  margin: 40px auto 100px auto; /* space above fixed footer */
  background: rgba(255, 255, 255, 0.96);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  text-align: left;
}

.usecases-title {
  color: #0078d7;
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 25px;
}

.usecases-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px 40px;
}

.usecase-box b {
  display: block;
  font-size: 18px;
  color: #e67300;
  margin-bottom: 4px;
}

.usecase-box p {
  margin: 0;
  color: #333;
  font-size: 15px;
  line-height: 1.5;
}

/* 📱 Responsive Adjustments */
@media (max-width: 768px) {
  .usecases-grid {
    grid-template-columns: 1fr;
  }

  input {
    width: 85%;
  }

  .navbar-container {
    flex-direction: column;
    gap: 10px;
    height: auto;
  }

  .navbar-right {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer {
    position: relative;
  }
}
