/* Hybrid Style */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;700&family=Outfit:wght@300;400;500;600;700&display=swap');

/* Base Styles */
body {
  background: #f8f9fa;
  color: #2a2a2a;
  font-family: 'Outfit', sans-serif;
  margin-top: 0px;
  margin-right: 0px;
  margin-left: 0px;
  margin-bottom: 0px;
}

h1, h2, h3, h4, h5, h6,
nav, nav *, .admin-nav, .admin-nav * {
  font-family: 'Oswald', sans-serif !important;
}

/* Navigation  */
nav {
  background: #003366;
  padding-right: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.logo img {
  height: 45px;
  width: auto;
}

nav ul {
  display: flex;
  gap: 30px;
  list-style-type: none;
  margin: 0;
  padding: 0;
} 

nav ul li {
  position: relative;
}

/* Profile Dropdown Styles */
.profile-dropdown {
  position: relative;
  margin-left: 15px;
}

.profile-btn {
  background: none;
  border: none;
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 10px 15px;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.profile-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  min-width: 200px;
  display: none;
  z-index: 1000;
}

.dropdown-menu a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
  transition: background 0.3s ease;
}

.dropdown-menu a:hover {
  background: #f5f5f5;
}

.dropdown-menu i {
  margin-right: 10px;
  font-size: 1.1em;
}

.dropdown-divider {
  border-top: 1px solid #eee;
  margin: 5px 0;
}

.profile-dropdown:hover .dropdown-menu {
  display: block;
}

/* Hide auth links when logged in */
.auth-link {
  display: inline-block;
}

.profile-dropdown {
  display: none;
}

.profile-btn {
  padding: 12px 20px;
  font-size: 1.1em;
}

.profile-btn i {
  font-size: 1.3em;
}

.dropdown-menu {
  min-width: 220px;
}

/* Modify existing navigation styles */
nav ul li a {
  color: #fff;
  text-transform: uppercase;
  font-weight: 500;
  display: flex;
  border-radius: 10px;
  padding: 8px 15px;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
}



nav ul li a:hover {
  background: #FF9900;
  color: #000000;
}

nav ul li.active a{
  background-color: #FF9900;
  color:#000000;
}

nav ul li.active a::after {
  display: none; /* Hide underline on active state */
}

.auth-link {
  transition: opacity 0.3s ease;
}

/* Hide logout by default */
#logoutLink {
  display: none;
}






/* Find Jobs Page Styles */
:root {
  --primary: #2563eb;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --border-color: #e2e8f0;
}

.jobs-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.jobs-search-section {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.search-bar select {
  padding: 0.8rem 1.2rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  background-color: white;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7rem top 50%;
  background-size: 0.65rem auto;
}

.place-dropdown:disabled {
  opacity: 0.7;
  background-color: #f8f9fa;
}

.search-bar {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-bottom: 1.5rem;
}

.search-bar input {
  padding: 0.8rem 1.2rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
}

.search-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 15px;
  font-weight: 600;
}

.search-btn:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

.search-filters {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: none;
  border: 2px solid var(--border-color);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* Job Listings */
.job-listings {
  display: grid;
  gap: 1.5rem;
}

.job-info{
  width:100%;
}

.job-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
  position: relative; /* Required for absolute positioning */
  padding: 20px;
}


.job-card:hover {
  transform: translateY(-3px);
}

.job-header {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 1rem;
}

.company-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 8px;
}

.job-title {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.company-name {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.job-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.job-location {
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.job-tags {
  display: flex;
  gap: 0.5rem;
}

.job-type,
.job-category {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.job-type {
  background: #dbeafe;
  color: var(--primary);
}

.job-category {
  background: #f1f5f9;
  color: var(--text-secondary);
}


.job-timestamp {
  position: absolute;
  top: 15px;
  right: 15px;
  color: #888;
  font-size: 0.9rem;
  font-weight: 300;
  background: rgba(0,0,0,0.03);
  padding: 4px 8px;
  border-radius: 4px;
}



.job-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 2px solid var(--border-color);
}

.more-btn {
  background: var(--primary);
  color: white;
  border: none;
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.more-btn:hover {
  background: #1d4ed8;
}

.save-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: #666;
  transition: all 0.3s ease;
}

.save-btn:hover {
  color: #2b6cb0;
}

.save-btn.saved {
  color: #2b6cb0;
}

.bxs-bookmark {
  animation: bounce 0.3s;
}

@keyframes bounce {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* Search Results Header with Pagination Controls */
.search-results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: white;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.results-count {
  font-size: 1rem;
  color: var(--text-secondary);
}

.results-count span {
  font-weight: 600;
  color: var(--primary);
}

.pagination-controls {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.control-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.control-group label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.control-group select {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 0.9rem;
  background-color: white;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.control-group select:hover {
  border-color: var(--primary);
}

.control-group select:focus {
  outline: none;
  border-color: var(--primary);
}

/* Pagination Navigation */
.pagination {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  align-items: center;
}

.page-btn {
  background: white;
  border: 2px solid var(--border-color);
  color: var(--primary);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.page-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  border-color: var(--border-color);
}

.page-numbers {
  display: flex;
  gap: 0.5rem;
}

.page-number {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: white;
  border: 2px solid var(--border-color);
  color: var(--text-secondary);
  font-weight: 500;
}

.page-number:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.page-number.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.page-dots {
  padding: 0 8px;
  color: var(--text-secondary);
}

/* Pagination Info */
.pagination-info {
  text-align: center;
  margin-top: 1rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.pagination-info span {
  font-weight: 600;
  color: var(--primary);
}

/* Responsive Design */

/* Responsive Design */
@media (max-width: 768px) {
  .search-bar {
    grid-template-columns: 1fr;
  }

  .job-details {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .company-logo {
    width: 50px;
    height: 50px;
  }

  .search-results-header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .pagination-controls {
    width: 100%;
    flex-direction: column;
    gap: 1rem;
  }

  .control-group {
    width: 100%;
  }

  .control-group select {
    width: 100%;
  }

  .pagination {
    flex-direction: column;
  }

  .page-numbers {
    flex-wrap: wrap;
  }

  .page-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .jobs-search-section {
    padding: 1.5rem;
  }
  
  .job-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Footer Section */
.footer {
  background-color:#036 ; /* Dark background */
  padding: 40px 10%;
}

.footer p{
  color:white;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px; /* Space between columns */
}

.footer-column {
  flex: 1 1 calc(25% - 20px); /* Adjust for four columns */
  min-width: 200px;
}

.footer-column h4 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #F57C00; /* Accent color */
}

.footer-column p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #F57C00; /* Accent color on hover */
}

.footer-social a {
  font-size: 20px;
  color: white;
  margin-right: 15px;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #F57C00; /* Accent color on hover */
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  border-top: 1px solid #ffffff;
  padding-top: 10px;
  font-size: 14px;
  color: rgb(255, 255, 255);
  
}

/* Auth Modal Styles*/
.auth-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.auth-btn {
  padding: 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.google-btn {
  background: #4285f4;
  color: white;
}

.separator {
  text-align: center;
  margin: 1rem 0;
}

.auth-switch {
  text-align: center;
  margin-top: 1rem;
}

