/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #111;
  color: #f5f5f5;
  line-height: 1.6;
}
.applybutton {
  margin-top: 15px;
  margin-bottom: 15px;
  min-height: 5px;
}
/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1a1a1a;
  padding: 1rem 2rem;
}

/* Navbar layout polish */
.nav-left { display: flex; align-items: center; gap: 12px; }
.nav-right { display: flex; align-items: center; gap: 24px; }

/* Make the theme button look like a link/icon */
.nav-right #theme-toggle {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  line-height: 1;
  font-size: 1rem;         /* adjust as desired */
  color: #ddd;             /* same as your nav links */
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}
.nav-right #theme-toggle:hover { color: #ffa500; }


.logo {
  height: 48px;
  width: auto;
  border-radius: 6px; /* optional, makes it softer */
}
.brand {
  margin-left: 1rem;
  font-weight: bold;
  font-size: 1.2rem;
  color: #ffa500;
  text-decoration: none;
}
.nav-right a {
  margin-left: 1.5rem;
  color: #ddd;
  text-decoration: none;
}
.nav-right a:hover {
  color: #ffa500;
}

/* Hero */
.hero {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #222, #000);
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.hero p {
  margin-bottom: 2rem;
}
.btn {
  background: #ffa500;
  padding: 0.75rem 1.5rem;
  color: #000;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
}

/* Grid Layout */
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2rem;
}
.card {
  background: #1e1e1e;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.card h2 {
  margin-bottom: 1rem;
  color: #ffa500;
}

/* Footer */
.footer {
  text-align: center;
  padding: 2rem;
  background: #111;
  color: #888;
  font-size: 0.9rem;
}

/* Footer Logo */
.footer-logo {
  height: 32px;
  margin-bottom: 0.5rem;
  opacity: 0.8;
}
.footer-logo:hover {
  opacity: 1;
}

/* Light Theme */
body.light-theme {
  background: #f5f5f5;
  color: #222;
}
body.light-theme .navbar,
body.light-theme .footer,
body.light-theme .card {
  background: #fff;
  color: #222;
}
