/* Base styles */
:root {
    --primary-color: #008080;
    --secondary-color: #f8f9fa;
	--text-color: #333;
    --border-color: #e0e0e0;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

/* 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");
}

/*_________________________________________________________________*/

/* Breadcrumb */
.breadcrumb-item.active {
    color: #0A9EB1 !important;
}

/*_________________________________________________________________*/

/* Job Details */
.job-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.job-intro {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

/* Section Styling */
section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

section ul li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

section ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/*_________________________________________________________________*/

/* Application Form Styles */
.application-form h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.application-form h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.template-tags {
    display: flex;
    flex-wrap: wrap;
}

.template-tags .btn {
    font-size: 0.875rem;
    padding: 0.25rem 0.5rem;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.template-tags .btn:focus {
    background-color: #0A9EB1;
    color: white;
    border-color: #0A9EB1;
}

.template-tags .btn:hover {
    box-shadow: 0 0 0 0.2rem rgba(10, 158, 177, 0.25);
    outline: none;
}

.template-tags .btn:active {
    background-color: #0891A2;
    border-color: #0891A2;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .template-tags .btn {
        font-size: 0.75rem;
    }
}

.char-count {
    font-size: 0.875rem;
    color: #6c757d;
    text-align: right;
    margin-top: 0.25rem;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .template-tags .btn {
        font-size: 0.75rem;
    }
}

/*_________________________________________________________________*/

/* Job Overview Card Styles */
.job-overview-card {
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.job-overview-card h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.posted-time {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.overview-item {
    margin-bottom: 1.25rem;
}

.overview-item h4 {
    font-size: 1rem;
    font-weight: 500;
    color: #6c757d;
    margin-bottom: 0.25rem;
}

.overview-item p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 0;
}

/* Custom badge colors */
.badge.bg-info {
    background-color: #0A9EB1 !important;
    font-weight: normal;
    font-size: 0.9rem;
    padding: 0.35em 0.65em;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .job-overview-card {
        margin-top: 2rem;
    }
}

/*_________________________________________________________________*/

/* Skills Overview Card Styles */
.skills-overview-card {
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.skills-overview-card h3,
.skills-overview-card h4 {
    font-size: 1.25rem;
    color: #333;
}

.skills-list li {
    color: #333;
    font-size: 1rem;
}

/* Profile Match Styles */
.profile-match {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.progress-circle {
    width: 120px;
    height: 120px;
    margin: 1rem auto;
    position: relative;
}

.progress-ring {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(
        #0A9EB1 75%,
        #e9ecef 75%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.progress-ring::before {
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    background: white;
    border-radius: 50%;
}

.progress-value {
    position: relative;
    font-size: 1.5rem;
    font-weight: 600;
    color: #0A9EB1;
}

/* Match Labels */
.match-labels {
    font-size: 0.9rem;
    justify-content: center;
}

.match-labels > div {
    flex: 1;
    justify-content: center;
}

.match-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

.match-dot.blue {
    background-color: #0A9EB1;
}

.match-dot.gray {
    background-color: #E5E7EB;
}

/* Match Status */
.match-status {
    color: #0A9EB1;
    font-size: 0.9rem;
    justify-content: center;
    width: 100%;
}

.text-info {
    color: #0A9EB1 !important;
}
/* Responsive adjustments */
@media (max-width: 991.98px) {
    .semicircle-progress-container,
    .semicircle-progress {
        width: 160px;
        height: 80px;
    }
}

/*_________________________________________________________________*/

/* Similar Vacancies */
.job-listings-section {
	background-color: var(--bs-light);
}

.job-card {
	transition: transform 0.3s ease;
	border-radius: var(--bs-border-radius-lg);
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.075);
}

.job-card:hover {
	transform: translateY(-0.25rem);
}

/* Responsive Design */
@media (max-width: 768px) {
    .job-title {
        font-size: 2rem;
    }

    .similar-vacancies .row {
        gap: 1rem;
    }

    .vacancy-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }

    .job-overview-card, .skills-overview-card {
        margin-top: 2rem;
    }
}

/* Form Elements */
.template-tags {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0;
}

.badge {
    background-color: var(--secondary-color);
    color: var(--text-color);
    padding: 0.5rem 1rem;
    font-weight: 500;
}

.char-count {
    text-align: right;
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}


.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.5rem 2rem;
}

.btn-primary:hover {
    background-color: darken(var(--primary-color), 10%);
    border-color: darken(var(--primary-color), 10%);
}

/* Similar Vacancies Cards */

.similar-vacancies {
    background-color: #0A9EB1;
    padding: 2rem 0;
}

.similar-vacancies .card {
    background-color: white;
    border-radius: 8px;
    border: none;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.similar-vacancies .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

.similar-vacancies .btn-outline-primary {
    color: #0A9EB1;
    border-color: #0A9EB1;
}

.similar-vacancies .btn-outline-primary:hover {
    color: #fff;
    background-color: #0A9EB1;
    border-color: #0A9EB1;
}

.similar-vacancies .row {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.similar-vacancies .vacancy-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.similar-vacancies .card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.similar-vacancies .btn-outline-primary {
    margin-top: auto;
    align-self: flex-start;
}

.similar-vacancies h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.similar-vacancies p {
    font-size: 0.9rem;
    color: #666;
}

.similar-vacancies .job-meta {
    font-size: 0.8rem;
    color: #888;
}

.similar-vacancies .salary {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0.5rem 0;
}

/* See Job Button Styles */
.similar-vacancies .btn-outline-primary.btn-sm {
    color: #F2B301;
    border-color: #F2B301;
    transition: all 0.3s ease;
}

.similar-vacancies .btn-outline-primary.btn-sm:hover {
    color: #fff;
    background-color: #F2B301;
    border-color: #F2B301;
}

/* Bookmark Button Styles */
.bookmark-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.bookmark-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.bookmark-btn:active {
    transform: translateY(0);
}

.bookmark-btn img {
    transition: all 0.3s ease;
    width: 24px;
    height: 24px;
}

.bookmark-btn.active {
    background-color: white;
}

.bookmark-btn.active img {
    filter: invert(70%) sepia(85%) saturate(1000%) hue-rotate(359deg) brightness(105%) contrast(105%);
}



@media (max-width: 767px) {
    .similar-vacancies .col-md-4 {
        margin-bottom: 1.5rem;
    }
}

/* 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;
    }
}
