@charset "utf-8";
/* CSS Document */

:root {
    --primary-color: #008080;
    --secondary-color: #00A9A9;
    --text-color: #333333;
    --light-bg: #F5F7F9;
    --border-color: #E0E0E0;
    --button-hover: #006666;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--light-bg);
}

/*_________________________________________________________________*/

/* Navbar Styles */
.navbar {
    background-color: #075F72;
    padding: 1rem 0;
}

.navbar-brand {
    color: white;
    font-weight: 500;
}

.navbar-brand span {
    font-weight: 600;
}

.custom-navbar .nav-link {
    color: white !important;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.custom-navbar .nav-link.active {
    color: #FFD700 !important;
    font-weight: 600;
}

/* Hover effect for non-active links in the nav bar */
.custom-navbar .nav-link:not(.active):hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Navbar toggler customization */
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/*_________________________________________________________________*/

/* Hero Section Styles */
.hero-section {
    background-color: #F5F7F9;
    padding: 3rem 0;
}

.hero-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.highlight {
    color: #0A9EB1;
}

/* Search Form Styles */
.search-form {
    max-width: 800px;
    margin: 0 auto 110px;
}

.search-select,
.search-input,
.btn-search {
    height: 48px;
    border-radius: 8px;
}

.search-select,
.search-input {
    width: 100%;
    padding-left: 2.5rem !important;
    border: 1px solid #e0e0e0;
    background-color: #fff;
    color: #374151;
    font-size: 0.95rem;
}

.search-select {
    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%23131313%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;
}

.search-select:focus,
.search-input:focus {
    outline: none;
    border-color: #0A9EB1;
    box-shadow: 0 0 0 3px rgba(10, 158, 177, 0.1);
}

.btn-search {
    background-color: #0A9EB1;
    border: none;
    color: white;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-search:hover,
.btn-search:focus {
    background-color: #087f8f;
}

.search-icon {
    width: 20px;
    height: 20px;
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.search-button-icon {
    width: 20px;
    height: 20px;
}

.position-relative {
    position: relative;
}

@media (max-width: 767px) {
    .btn-search {
        margin-top: 1rem;
    }
}

/*_________________________________________________________________*/


/* filters section */
.filters-section {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.filters-section h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.filters-section h3 {
    font-size: 1.1rem;
    margin-top: 20px;
    margin-bottom: 10px;
}

.clear-all {
    color: #007bff;
    text-decoration: none;
    font-size: 0.9rem;
}

.clear-all:hover {
    text-decoration: underline;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-buttons-container {
    margin-top: 10px;
}

.filter-buttons-container .btn {
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
	transition: all 0.3s ease;
	color: #075F72; 
    border-color: #075F72;
}

.filter-buttons-container .btn:hover {
    background-color: #6DE4EA; 
    color: #fff;
}

.filter-buttons-container .btn:active,
.filter-buttons-container .btn:focus {
    background-color: #075F72;
    color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(7, 95, 114, 0.5); 
}

.filter-buttons-container .btn .badge {
    font-size: 0.75rem;
    padding: 0.25em 0.6em;
}

.filters-section .form-control {
    font-size: 0.875rem; /* Smaller text */
    padding: 0.375rem 0.5rem; /* Reduced padding for a smaller box */
    height: auto; /* Override Bootstrap's fixed height */
    line-height: 1.2; /* Adjust line height for better vertical centering */
}

.input-group-sm > .form-control,
.input-group-sm > .input-group-text {
    font-size: 0.875rem;
}

@media (max-width: 576px) {
    .filters-section {
        padding: 15px;
    }

    .filter-buttons-container .btn {
        font-size: 0.8rem;
    }
}

/* Salary Input Styles */
.salary-range-input .input-group {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    height: 36px; /* Control the overall height */
}

.salary-range-input .form-control {
    border: none;
    background: transparent;
    padding: 0.25rem 0.75rem; /* Reduced vertical padding */
    font-size: 0.875rem;
    color: #374151;
    height: 34px; /* Control input height */
}

.salary-range-input .form-control:focus {
    outline: none;
    box-shadow: none;
}

.salary-range-input .input-group-text {
    background: transparent;
    border: none;
    color: #6b7280;
    font-size: 0.875rem;
    padding: 0.25rem 0.5rem; /* Reduced vertical padding */
    height: 34px; /* Control separator height */
    display: flex;
    align-items: center;
}

.salary-range-input .form-control::placeholder {
    color: #9ca3af;
}

.salary-range-input .input-group:focus-within {
    border-color: #0A9EB1;
    box-shadow: 0 0 0 1px #0A9EB1;
}


@media (max-width: 576px) {
    .salary-range-input .input-group {
        flex-direction: column;
    }

    .salary-range-input .input-group-text {
        border-top: 1px solid #ced4da;
        border-bottom: 1px solid #ced4da;
    }
}

/*_________________________________________________________________*/

/* Job Cards Container */
.job-cards-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* Gap between cards */
}

/* Job Card Styles */
.job-card {
    background: #fff;
    border: 2px solid #e1f0ff;
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.job-card:hover {
    border-color: #0A9EB1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.company-logo {
    border-radius: 2px;
    object-fit: contain;
}

.company-name {
    font-weight: 600;
    font-size: 1.125rem;
    color: #111827;
    margin-bottom: 2px;
}

.job-location {
    color: #4B5563;
    font-size: 0.875rem;
}

.skills-tags {
    display: flex;
    gap: 8px;
}

.skill-tag {
    background: #075F72;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.875rem;
    white-space: nowrap;
}

.job-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.job-meta {
    color: #4B5563;
    font-size: 0.875rem;
}

.job-meta img {
    opacity: 0.7;
}

.job-description {
    color: #6B7280;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.salary {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
}

.btn-apply {
    background: #0A9EB1;
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    border: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-apply:hover {
    background: #098a9b;
    color: white;
    transform: translateY(-1px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .job-card {
        padding: 20px;
    }

    .skills-tags {
        flex-wrap: wrap;
    }

    .job-title {
        font-size: 1.5rem;
    }

    .salary {
        font-size: 1.125rem;
    }
}

@media (max-width: 576px) {
    .job-card > div:first-child {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .skills-tags {
        width: 100%;
    }
}

/*_________________________________________________________________*/

/* Pagination Styles */
.pagination {
    gap: 0.5rem;
	margin-bottom: 5rem;
}

.pagination .page-item {
    margin: 0;
}

.pagination .page-link {
    border: none;
    background-color: #f0f0f0;
    color: #666;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.pagination .page-item.active .page-link {
    background-color: #e8e5ff;
    color: #6c5ce7;
}

.pagination .page-link:hover {
    background-color: #e8e5ff;
    color: #6c5ce7;
}

.pagination .page-link:focus {
    box-shadow: none;
    background-color: #e8e5ff;
    color: #6c5ce7;
}

/* Arrow buttons */
.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
    background-color: #fff;
}

.pagination .page-item:first-child .page-link:hover,
.pagination .page-item:last-child .page-link:hover {
    background-color: #f0f0f0;
    color: #666;
}

/*_________________________________________________________________*/

/* Footer Styles */
footer {
    background-color: #075F72;
    color: rgba(255, 255, 255, 0.9);
    padding: 4rem 0;
}

footer p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

footer h5 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

footer .list-unstyled li {
    margin-bottom: 1rem;
}

footer .list-unstyled a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

footer .list-unstyled a:hover {
    color: #fff;
}

/* Newsletter Form */
footer .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
}

footer .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

footer .form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: none;
    border: none;
}

footer .btn-light {
    background-color: #6DE4EA;
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
}

footer .btn-light:hover {
    background-color: #6DE4EA;
}

/* Social Media Icons */
footer .gap-3 {
    margin-top: 1rem;
}

footer .gap-3 a {
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

footer .gap-3 a:hover {
    opacity: 1;
}

/* Newsletter h5 styles */
.col-lg-4 h5 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

/* Input and button styles */
.input-group .form-control,
.input-group .btn-light {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
}

/* Adjusting the layout for larger screens */
@media (min-width: 992px) {
    .col-lg-4 {
        max-width: 400px;
    }
}
/* Divider Line */
footer hr {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 2rem 0;
}

/* Copyright Text */
footer .text-center {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

/* Logo Section */
footer .h5 {
    color: #fff;
    font-weight: 600;
}


/* Responsive Adjustments */
@media (max-width: 768px) {
    .countries-section h2 {
        font-size: 2rem;
    }
    
    .country-card {
        margin-bottom: 1.5rem;
    }
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    footer {
        padding: 3rem 0;
    }
    
    footer .col-lg-4,
    footer .col-lg-2 {
        margin-bottom: 2rem;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}
