/* Find Jobs Page Specific Styles */


.page-header-section {
    height: 70vh;
    position: relative;
    overflow: hidden;
    color: #fff;
}



.page-header-section .bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(40%);
    z-index: 1;
    animation: zoomIn 15s ease-in-out infinite alternate;
}

@keyframes zoomIn {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.2); 
    }
}

/* Text content overlay */
.page-header-section .content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}


.page-title {
  font-size: 2.5rem;
  color: var(--text-white);
  font-weight: 700;
}

.page-subtitle {
    color: var(--text-white); 
    font-size: 1.1rem;
    max-width: 800px;       
    margin: 0 auto;       
    text-align: center;  
}


.filters-card {
  background: var(--bg-white);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  height: fit-content;
  position: sticky;
  top: 100px;
}

.filter-title {
  font-size: 1.25rem;
  color: var(--text-dark);
  font-weight: 600;
}

.filter-group {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.filter-group:last-child {
  border-bottom: none;
}

.filter-subtitle {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.form-check {
  margin-bottom: 0.5rem;
}

.form-check-input {
  border-color: var(--border-color);
  cursor: pointer;
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.form-check-label {
  cursor: pointer;
  color: var(--text-dark);
  margin-left: 0.5rem;
}

.form-range {
  height: 6px;
}

.form-range::-webkit-slider-thumb {
  background-color: var(--primary-color);
}

.form-range::-moz-range-thumb {
  background-color: var(--primary-color);
}

.jobs-count {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.job-list-item {
  background: var(--bg-white);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.job-list-item:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.job-list-title {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.job-list-company {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.job-list-location {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.job-list-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.job-tag {
  background-color: #e3f2fd;
  color: var(--primary-color);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.job-list-salary {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.pagination .page-link {
  color: var(--primary-color);
  border-color: var(--border-color);
}

.pagination .page-link:hover {
  background-color: #f0f7ff;
  border-color: var(--primary-color);
}

.pagination .page-item.active .page-link {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

@media (max-width: 768px) {
  .page-title {
    font-size: 1.75rem;
  }

  .filters-card {
    position: static;
    margin-bottom: 2rem;
  }

  .job-list-item .row {
    flex-direction: column;
  }

  .col-md-3.text-md-end {
    text-align: left !important;
    margin-top: 1rem;
  }
}

/* Apply Section */
.apply-section {
    background: #f8f9fa;
    padding: 60px 0;
}

.apply-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-color, #0272B9);
}

.apply-subtitle {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.5rem;
}

.btn-apply {
    display: inline-block;
    padding: 0.75rem 2rem;
    background-color: var(--primary-color, #0272B9);
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-apply:hover {
    background-color: #025a8c;
    transform: translateY(-2px);
}

/* CV Form */
.cv-form {
    background: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.cv-form .form-group {
    margin-bottom: 1.5rem;
}

.cv-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.cv-form input,
.cv-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.cv-form input:focus,
.cv-form textarea:focus {
    border-color: var(--primary-color, #0272B9);
    outline: none;
    box-shadow: 0 0 0 3px rgba(2,114,185,0.1);
}

.cv-form .attachments-info {
    display: block;
    font-size: 0.85rem;
    color: #777;
    margin-top: 0.25rem;
}

.cv-form .btn-submit {
    background-color: var(--primary-color, #0272B9);
    color: #fff;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cv-form .btn-submit:hover {
    background-color: #025a8c;
    transform: translateY(-2px);
}

.cv-form .recaptcha {
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .apply-title {
        font-size: 2rem;
    }

    .btn-apply,
    .cv-form .btn-submit {
        width: 100%;
        text-align: center;
    }
}
