/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  /* Header */
  .header {
    background: #131E32;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
  }
  
  .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
  }
  
  .logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  
  .logo-container a,
  .footer-logo a {
    display: inline-block;
    cursor: pointer;
  }
  
  .logo-container a:hover .logo-img,
  .footer-logo a:hover .logo-img {
    opacity: 0.9;
    transform: scale(1.05);
    transition: all 0.3s ease;
  }
  
  .logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    margin-right: 10px; /* Adds space between image and text */
  }
  
  .logo {
    font-size: 1.4rem;
    font-weight: bold;
    color: black;
    margin: 0; /* Remove default h1 margin */
  }
  
  .nav {
    display: flex;
    gap: 2rem;
  }
  
  .nav-link {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s;
  }
  
  .nav-link:hover,
  .nav-link.active {
    color: white;
  }
  
  /* Main Content */
  .main {
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
  }
  
  .hero {
    text-align: center;
    margin-bottom: 3rem;
  }
  
  .hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1e293b;
  }
  
  .hero p {
    font-size: 1.2rem;
    color: #64748b;
  }
  
  /* Filters */
  .filters {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
  }
  
  .filter-group {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
  }
  
  .filter-group input,
  .filter-group select {
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
  }
  
  .filter-group input:focus,
  .filter-group select:focus {
    outline: none;
    border-color: black;
  }
  
  .filter-group input {
    flex: 1;
    min-width: 250px;
  }
  
  /* Buttons */
  .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
  }
  
  .btn-primary {
    background: #ffc741;
    color: white;
  }
  
  .btn-primary:hover {
    background: black;
    transform: translateY(-1px);
  }
  
  .btn-secondary {
    background: black;
    color: white;
  }
  
  .btn-secondary:hover {
    background: #ffc741;
  }
  
  .btn-disabled {
    background: #e2e8f0;
    color: #94a3b8;
    cursor: not-allowed;
  }
  
  .btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
  
  /* Jobs Grid */
  .jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
  }
  
  .job-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border-left: 4px solid #ffc741;
  }
  
  .job-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }
  
  .job-card.closed {
    border-left-color: #dc2626;
    opacity: 0.8;
  }
  
  .job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
  }
  
  .job-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
  }
  
  .job-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .job-title a:hover {
    color: black;
  }
  
  .job-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
  }
  
  .status-open {
    background: #dcfce7;
    color: #166534;
  }
  
  .status-closed {
    background: #fee2e2;
    color: #dc2626;
  }
  
  .job-company {
    font-weight: 600;
    color: black;
    margin-bottom: 0.5rem;
  }
  
  .job-location,
  .job-type {
    color: #64748b;
    margin-bottom: 0.5rem;
  }
  
  .job-salary {
    font-weight: 600;
    color: #059669;
    margin-bottom: 1rem;
  }
  
  .job-description {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.5;
  }
  
  .job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
  }
  
  .job-deadline {
    font-size: 0.875rem;
    color: #64748b;
  }
  
  .job-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
  }
  
  /* Application Form */
  .application-form {
    max-width: 800px;
    margin: 0 auto;
  }
  
  .job-info {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  }
  
  .job-info h2 {
    color: #1e293b;
    margin-bottom: 0.5rem;
  }
  
  .job-info .company {
    color: #2563eb;
    font-weight: 600;
    font-size: 1.1rem;
  }
  
  .job-info .location,
  .job-info .deadline {
    color: #64748b;
    margin-top: 0.5rem;
  }
  
  .form-section {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  }
  
  .form-section h3 {
    color: #1e293b;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
  }
  
  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  
  .form-group {
    margin-bottom: 1.5rem;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
  }
  
  .form-group input,
  .form-group textarea,
  .form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
  }
  
  .form-group input:focus,
  .form-group textarea:focus,
  .form-group select:focus {
    outline: none;
    border-color: #2563eb;
  }
  
  .file-info {
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 0.5rem;
  }
  
  .radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background-color 0.3s;
  }
  
  .radio-label:hover {
    background-color: #f8fafc;
  }
  
  .form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
  }
  
  /* Alerts */
  .alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
  }
  
  .alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
  }
  
  .alert-error {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
  }
  
  .alert ul {
    margin: 0;
    padding-left: 1.5rem;
  }
  
  .alert h3 {
    margin-bottom: 0.5rem;
  }
  
  /* Login Form */
  .login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  }
  
  .login-form {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
  }
  
  .login-form h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #1e293b;
  }
  
  .login-footer {
    text-align: center;
    margin-top: 1.5rem;
  }
  
  .login-footer a {
    color: #2563eb;
    text-decoration: none;
  }
  
  /* Footer */
  .footer {
    background: #ffc741;
    color: #fff;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 3rem;
  }
  
  /* Footer content styling */
  .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .footer-logo .logo-img {
    height: 30px;
    width: auto;
  }
  
  .footer-logo p {
    font-weight: 600;
    font-size: 1.2rem;
    color: white;
  }
  
  .copyright {
    font-size: 0.9rem;
  }
  
  /* No Jobs */
  .no-jobs {
    text-align: center;
    padding: 3rem;
    color: #64748b;
  }
  
  .no-jobs h3 {
    margin-bottom: 1rem;
    color: #374151;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .container {
      padding: 0 15px;
    }
  
    .header-content {
      flex-direction: column;
      gap: 1rem;
    }
  
    .hero h2 {
      font-size: 2rem;
    }
  
    .filter-group {
      flex-direction: column;
      align-items: stretch;
    }
  
    .filter-group input {
      min-width: auto;
    }
  
    .jobs-grid {
      grid-template-columns: 1fr;
    }
  
    .job-header {
      flex-direction: column;
      align-items: flex-start;
    }
  
    .job-footer {
      flex-direction: column;
      gap: 1rem;
      align-items: flex-start;
    }
  
    .job-actions {
      width: 100%;
      justify-content: space-between;
    }
  
    .form-row {
      grid-template-columns: 1fr;
    }
  
    .form-actions {
      flex-direction: column;
    }
  }
  
  @media (max-width: 480px) {
    .hero h2 {
      font-size: 1.5rem;
    }
  
    .job-card,
    .form-section,
    .job-info {
      padding: 1rem;
    }
  
    .btn {
      width: 100%;
    }
  
    .job-actions .btn {
      flex: 1;
    }
  }
  
