/* Basic Reset and Layout */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Times New Roman', Times, serif;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body {
  flex: 1;
}

/* Header styling */
header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  padding: 10px 10px;
  background: rgb(121, 195, 255);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.Logo {
  font-size: 30px;
  color: rgb(255, 255, 255);
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
}

.Logo img {
  margin-right: 10px;
}

.Navbar {
  display: flex;
  padding-right: 40px;
}

.Navbar a {
  position: relative;
  font-size: 18px;
  color: rgb(255, 255, 255);
  font-weight: 300;
  text-decoration: none;
  margin-left: 40px;
}

.Navbar a::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 0;
  height: 2px;
  background: rgb(255, 255, 255);
  transition: 0.3s;
}

.Navbar a:hover::before {
  width: 100%;
}

/* Main content fills available space */
main {
  flex: 1;
  max-width: 700px;
  margin: 60px auto 40px;
  padding: 0 20px;
  text-align: center;
}

/* Container styling */
.Container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* Card styling */
.Card {
  background: #f9f9f9;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 400px;
}

/* Input file styling */
input[type="file"] {
  display: block;
  margin: 0 auto 20px;
  width: 100%;
}

/* Button styling */
button#classifyButton {
  background-color: rgb(121, 195, 255);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
  width: 100%;
}

button#classifyButton:hover {
  background-color: rgb(96, 165, 228);
}

/* Output container */
.Output {
  margin-top: 20px;
  font-size: 18px;
  color: #333;
  min-height: 30px;
}

/* Footer styling */
footer {
  background-color: #000;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
  border-top: 4px solid #333;
  margin-top: auto; /* Push footer to bottom */
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.footer-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

.footer-logo h3 {
  font-size: 28px;
  font-weight: bold;
  color: rgb(255, 255, 255);
  margin: 0;
}

.footer-content p {
  margin: 10px 0;
  font-size: 16px;
  color: #ccc;
}

.footer-links {
  margin: 20px 0;
}

.footer-links a {
  margin: 0 15px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: rgb(121, 195, 255);
}

.footer-copy {
  font-size: 14px;
  color: #777;
  margin-top: 20px;
}
