/*
 Theme Name:   Hello Elementor Child
 Theme URI:    https://elementor.com/
 Description:  Child theme for Hello Elementor theme
 Author:       Your Name
 Author URI:   https://yourwebsite.com/
 Template:     hello-elementor
 Version:      1.0.0
 Text Domain:  hello-elementor-child
*/


:root {
    --primary-color: #3a86ff;
    --primary-dark: #2667cc;
    --secondary-color: #8338ec;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --dark-gray: #6c757d;
    --text-color: #212529;
    --white: #ffffff;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Outfit;
}

body {
    background-color: #f5f7fb;
    color: var(--text-color);
    line-height: 1.6;
}

.directory-listing-container {
    display: flex;
    max-width: 1400px;
    margin: 10px auto;
    background: var(--white);
    border-radius: var(--radius);
    /* box-shadow: var(--shadow); */
    overflow: hidden;
}

/* Filter Section - 20% */
.directory-filter-section {
    flex: 0 0 30%;
    background: var(--light-gray);
    padding: 25px;
    border-right: 1px solid var(--medium-gray);
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

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

.clear-filters {
    font-size: 0.85rem;
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
}

.clear-filters:hover {
    text-decoration: underline;
}

.filter-group{
	margin: 15px 0px 10px 0px;
}

.filter-group.location {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}

.filter-label {
  grid-column: 1 / -1; /* Make the label span both columns */
  margin-bottom: 8px;
  font-weight: bold;
}

.search-input-wrapper {
    position: relative;
}

.directory-search-input {
    width: 100%;
    padding: 12px 15px 12px 40px;
    border: 1px solid var(--medium-gray);
    border-radius: var(--radius);
    font-size: 0.95rem;
    transition: var(--transition);
}

.directory-search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(58, 134, 255, 0.1);
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--dark-gray);
}

.category-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--medium-gray);
    border-radius: var(--radius);
    font-size: 0.95rem;
    background-color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.category-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(58, 134, 255, 0.1);
}

.checkbox-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 4px;
}

.location-checkbox {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
}

.checkmark {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  border: 1px solid #ccc;
  border-radius: 2px;
  position: relative;
}

.location-checkbox:checked + .checkbox-label .checkmark {
  background-color: #007bff;
  border-color: #007bff;
}

.location-checkbox:checked + .checkbox-label .checkmark::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 12px;
}

.location-checkbox:checked + .checkbox-label .checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.location-checkbox:checked + .checkbox-label .checkmark:after {
    opacity: 1;
}

.filter-submit-btn {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter-submit-btn:hover {
    background-color: var(--primary-dark);
}

.btn-icon {
    margin-right: 8px;
}

/* Grid Section - 80% */
.directory-grid-section {
    flex: 0 0 70%;
    padding: 10px 25px;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.results-count {
    font-size: 1.1rem;
    font-weight: 600;
}

.sort-options {
    display: flex;
    align-items: center;
}

.sort-label {
    margin-right: 10px;
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.sort-select {
    padding: 8px 12px;
    border: 1px solid var(--medium-gray);
    border-radius: var(--radius);
    font-size: 0.9rem;
    background-color: var(--white);
    cursor: pointer;
}

.directory-grid {
    display: block;
	width: 100%;
}
.directory-card {
    display: flex;
    width: 100%;
}
.directory-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    border: 1px solid var(--medium-gray);
	margin-bottom : 20px;
}

.directory-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.featured-directory {
    border-left: 4px solid var(--secondary-color);
}

.directory-thumb {
    height: 180px;
}

.directory-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.directory-card:hover .directory-thumb img {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.directory-content {
    padding: 20px;
}

/* .directory-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}*/

.directory-title {
    font-size: 1.1rem;
    font-weight: 600;
    /* margin-right: 10px;
    line-height: 1.3; */
}

.directory-actions {
    flex-shrink: 0;
}

.bookmark-btn {
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--dark-gray);
    transition: var(--transition);
}

.bookmark-btn:hover {
    color: #ffd700;
}

.directory-meta {
    display: flex;
    margin-bottom: 15px;
}

.meta-item.location-meta {
    margin-left: 5px;
}
.meta-item {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: var(--dark-gray);
}
.meta-item.category-meta {
    margin-right: 20px;
}
.location-meta .meta-icon img {
    width: 100%;
    max-width: 20px;
    margin-top: 10px;
}

.meta-icon {
    margin-right: 4px;
    font-size: 0.9rem;
}

.directory-excerpt {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.5;
}

.directory-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--medium-gray);
}

.directory-link {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.directory-link:hover {
    color: var(--primary-dark);
}

.arrow-icon {
    margin-left: 5px;
    transition: var(--transition);
}

.directory-link:hover .arrow-icon {
    transform: translateX(3px);
}

.directory-date {
    font-size: 0.8rem;
    color: var(--dark-gray);
}

.directory-pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.page-numbers {
    display: flex;
    list-style: none;
    gap: 8px;
}

.page-numbers li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    background-color: var(--white);
    color: var(--text-color);
    text-decoration: none;
    border: 1px solid var(--medium-gray);
    transition: var(--transition);
    font-size: 0.9rem;
}

.page-numbers li a:hover {
    background-color: var(--light-gray);
}

.page-numbers li .current {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.no-results h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.no-results p {
    color: var(--dark-gray);
    max-width: 400px;
    margin: 0 auto;
}

.btn {
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-login {
    background: transparent;
    border: 1px solid #2563eb;
    color: #2563eb;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Breadcrumb */
.breadcrumb {
    padding: 20px 0;
    background-color: #f8f9fa;
}

.breadcrumb-links {
    display: flex;
    list-style: none;
}

.breadcrumb-links li {
    margin-right: 10px;
    font-size: 14px;
    color: #6b7280;
}

.breadcrumb-links li:not(:last-child)::after {
    content: ">";
    margin-left: 10px;
}

.breadcrumb-links a {
    color: #6b7280;
    text-decoration: none;
}

.breadcrumb-links a:hover {
    color: #2563eb;
}

/* Job Details Section */
.job-details {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

.job-main .directory-slider img {
    width: 100%;
    max-width: 500px;
    display: block;
}

.job-main {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 30px;
	width:100%;
	max-width: 800px;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.job-title {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 10px;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.job-meta-item {
    display: flex;
    align-items: center;
    color: #6b7280;
    font-size: 14px;
}

.job-meta-item i {
    margin-right: 5px;
    color: #2563eb;
}

.job-actions {
    display: flex;
    gap: 10px;
}

.btn-apply {
    background: #10b981;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
}

.btn-bookmark {
    background: white;
    border: 1px solid #d1d5db;
    color: #6b7280;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
}

.btn-bookmark:hover {
    background: #f9fafb;
}

.job-description {
    margin-bottom: 30px;
}

.description ul{
    margin-left: 35px;
}

span.detail-label {
    margin-right: 20px;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1f2937;
}

.job-description p {
    margin-bottom: 15px;
    color: #4b5563;
}

.job-requirements, .job-responsibilities {
    margin-bottom: 30px;
}

.requirements-list, .responsibilities-list {
    list-style-type: none;
}

.requirements-list li, .responsibilities-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: #4b5563;
}

.requirements-list li::before, .responsibilities-list li::before {
    content: "•";
    color: #2563eb;
    font-weight: bold;
    position: absolute;
    left: 10px;
}

/* Job Sidebar */
.job-sidebar {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 25px;
    height: fit-content;
}

.company-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.company-logo {
    width: 80px;
    height: 80px;
    background: #f0f7ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: #2563eb;
    font-size: 30px;
}

.company-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.company-link {
    color: #2563eb;
    text-decoration: none;
    font-size: 14px;
}

.job-details-list {
    list-style: none;
    margin-bottom: 25px;
}

.job-details-list li {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
}

.detail-label {
    color: #6b7280;
}

.detail-value {
    font-weight: 500;
    color: #1f2937;
}

.social-share {
    margin-top: 25px;
}

.share-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
}

.facebook {
    background: #3b5998;
}

.twitter {
    background: #1da1f2;
}

.linkedin {
    background: #0077b5;
}

/* Related Jobs */
.related-jobs {
    margin: 50px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.section-heading {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
}

.view-all {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.job-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    transition: transform 0.3s;
}

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

.job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.job-card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.job-card-company {
    font-size: 14px;
    color: #6b7280;
}

.job-type {
    background: #f0f7ff;
    color: #2563eb;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.job-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.job-card-meta-item {
    display: flex;
    align-items: center;
    color: #6b7280;
    font-size: 13px;
}

.job-card-meta-item i {
    margin-right: 5px;
    color: #2563eb;
}

.job-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f3f4f6;
}

.job-salary {
    font-weight: 600;
    color: #10b981;
}

.job-posted {
    font-size: 12px;
    color: #9ca3af;
}

.directory-slider .slick-slide img {
    margin: 0 auto;
}
.slick-dots li button:before {
	display: none;
}
.slick-dots li button {
    padding: 0 !important;
    width: 12px !important;
    height: 12px !important;
    border-radius: 20px !important;
    background: #000 !important;
    opacity: 0.25 !important;
}
.slick-dots li {
    width: auto !important;
}
.slick-dots li.slick-active button {
    width: 22px !important;
    opacity: 1 !important;
}
.slick-dots {bottom: -40px !important;}
.slick-prev:before, .slick-next:before {
    color: #000 !important;
    font-size: 30px !important;
}
.slick-next {
    right: 0 !important;
}
.slick-prev {
    left: 0 !important;
}
.slick-next, .slick-prev {
    width: 30px !important;
    height: 30px !important;
	z-index: 1 !important;
}

/* Pagination Wrapper */
.directory-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 40px 0;
    flex-wrap: wrap;
    font-family: inherit;
}

/* Common Pagination Item */
.directory-pagination .page-numbers {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* border-radius: 8px; */
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    background: #fff;
    border: 1px solid #e0e0e0;
    transition: all 0.25s ease;
}

/* Hover State */
.directory-pagination .page-numbers:hover {
    background: #f7fd41; /* primary blue */
    border-color: #a19d0a;
    color: #000000;
}

/* Active Page */
.directory-pagination .page-numbers.current {
    background: #FFF902;
    color: #000000;
    border-color: #a19d0a;
    pointer-events: none;
    font-weight: 600;
}

/* Previous & Next Buttons */
.directory-pagination .prev,
.directory-pagination .next {
    padding: 0 16px;
    font-weight: 600;
}

/* Disabled Look (optional future-proof) */
.directory-pagination .page-numbers.disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* Dots */
.directory-pagination .dots {
    border: none;
    background: transparent;
    color: #999;
    font-size: 18px;
    pointer-events: none;
}

/* Mobile Optimization */
@media (max-width: 576px) {
    .directory-pagination .page-numbers:not(.prev):not(.next):not(.current) {
        display: none;
    }
}



/* Responsive */
@media (max-width: 992px) {
    .job-details {
        grid-template-columns: 1fr;
    }
    
    .jobs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .jobs-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .job-header {
        flex-direction: column;
    }
    
    .job-actions {
        margin-top: 15px;
        width: 100%;
    }
    
    .btn-apply, .btn-bookmark {
        flex: 1;
        text-align: center;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .directory-listing-container {
        flex-direction: column;
    }
    
    .directory-filter-section {
        flex: 0 0 auto;
        border-right: none;
        border-bottom: 1px solid var(--medium-gray);
    }
    
    .directory-grid-section {
        flex: 0 0 auto;
    }
}

@media (max-width: 768px) {
    .directory-grid {
        grid-template-columns: 1fr;
    }
    
    .results-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .sort-options {
        margin-top: 15px;
    }
}