/* ===================== RESET & BASE ===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: linear-gradient(120deg, #f0f4ff, #e3eafc);
  color: #333;
}

/* ===================== NAVBAR ===================== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background: #1a1a2e;
  color: #fff;
  position: relative;
  z-index: 100;
}

.logo {
  font-size: 24px;
  font-weight: bold;
}

.logo span {
  color: #ff7b00;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  transition: all 0.3s ease;
}

.nav-links li a {
  text-decoration: none;
  color: #fff;
  font-size: 16px;
  transition: color 0.3s;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #ff7b00;
}

.btn {
  background: #ff7b00;
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  background: #e66a00;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: #fff;
  border-radius: 2px;
}

/* ===================== HERO ===================== */
.hero {
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url("https://www.transparenttextures.com/patterns/diagonal-noise.png"),
    linear-gradient(to right, #1a1a2e, #16213e);
  color: #fff;
  padding: 20px;
  animation: fadeIn 1.5s ease-in-out;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero-content h1 span {
  color: #ff7b00;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-buttons .btn {
  font-size: 18px;
  padding: 12px 24px;
}

/* ===================== JOBS ===================== */
.jobs {
  padding: 50px;
  text-align: center;
}

.jobs h2 {
  font-size: 32px;
  margin-bottom: 30px;
}

.job-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.job-card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

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

/* ===================== LOGIN ===================== */
.login-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  background: #f4f4f9;
  padding: 20px;
}

.login-container {
  background: #fff;
  padding: 40px 30px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
  text-align: center;
  animation: fadeIn 0.8s ease-in-out;
}

.login-container h2 {
  margin-bottom: 25px;
  color: #333;
}

.login-form input {
  width: 100%;
  padding: 12px 15px;
  margin: 10px 0;
  border-radius: 5px;
  border: 1px solid #ccc;
  outline: none;
  transition: 0.3s;
}

.login-form input:focus {
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

.login-form .btn {
  width: 100%;
  padding: 12px;
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 15px;
  transition: 0.3s;
}

.login-form .btn:hover {
  background: #0056b3;
}

/* ===================== SOCIAL LOGIN ===================== */
.or {
  margin: 15px 0;
  font-weight: bold;
  color: #555;
}

.social-login {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-login .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  border: 1px solid #ccc;
  cursor: pointer;
  transition: 0.3s;
}

.google-login {
  background: #db4437;
  color: #fff;
}

.github-login {
  background: #333;
  color: #fff;
}

.social-login .btn:hover {
  opacity: 0.85;
}

/* ===================== FOOTER ===================== */
footer {
  background: #1a1a2e;
  color: #fff;
  padding: 15px;
  text-align: center;
}

/* ===================== JOB TRACKER ===================== */
.tracker-section {
  padding: 50px;
  text-align: center;
}

.tracker-section h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.tracker-section .btn {
  margin-bottom: 20px;
}

.tracker-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  display: block;
  overflow-x: auto;
  white-space: nowrap;
}

.tracker-table th,
.tracker-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #ddd;
  text-align: center;
}

.tracker-table th {
  background: #3498db;
  color: #fff;
}

.tracker-table tr:hover {
  background: #f0f4ff;
  transition: 0.3s;
}

/* ===================== MODAL ===================== */
.modal {
  display: none;
  position: fixed;
  z-index: 10;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background: #fff;
  margin: 10% auto;
  padding: 30px;
  border-radius: 12px;
  width: 400px;
  max-width: 95%;
  position: relative;
}

.modal-content h3 {
  margin-bottom: 20px;
  text-align: center;
}

.modal-content .close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
}

.modal-content form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-content input {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

/* ===================== ANIMATIONS ===================== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

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

@keyframes slideIn {
  from {
    transform: translateY(50px);
    opacity: 0;
  }

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

/* ===================== RESPONSIVE ===================== */

/* Tablets */
@media (max-width: 1024px) {
  .navbar {
    padding: 15px 30px;
  }

  .hero-content h1 {
    font-size: 38px;
  }

  .hero-content p {
    font-size: 16px;
    max-width: 500px;
  }

  .login-container,
  .modal-content {
    width: 90%;
    padding: 30px 20px;
  }

  .job-list {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

  .tracker-table th,
  .tracker-table td {
    padding: 10px 12px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 15px;
    padding: 10px 20px;
  }

  .nav-links {
    flex-direction: column;
    gap: 10px;
    align-items: center;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-content p {
    font-size: 14px;
    max-width: 90%;
  }

  .hero-content .btn {
    font-size: 16px;
    padding: 10px 20px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .job-list {
    grid-template-columns: 1fr;
  }

  .tracker-table th,
  .tracker-table td {
    font-size: 14px;
    padding: 8px 10px;
  }

  .login-container,
  .modal-content {
    width: 95%;
    padding: 25px 15px;
  }
}

/* Extra small mobile */
@media (max-width: 480px) {
  .logo {
    font-size: 20px;
  }

  .nav-links li a {
    font-size: 14px;
  }

  .btn {
    padding: 8px 16px;
    font-size: 14px;
  }

  .hero-content h1 {
    font-size: 24px;
  }

  .hero-content p {
    font-size: 13px;
  }

  .login-form input {
    padding: 10px;
  }

  .social-login .btn {
    font-size: 14px;
    padding: 8px;
  }

  .tracker-table th,
  .tracker-table td {
    font-size: 12px;
    padding: 6px 8px;
  }
}