/* Preloader styles */
#preloader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: #8b7ceb6c; /* Set your background color */
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    border: 8px solid #f3f3f3; /* Light grey */
    border-top: 8px solid #5745c9; /* Blue */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Back to Top Button Styles */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: none;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    /* font-size: 24px; */
    border-radius: 5px;
    cursor: pointer;
    z-index: 1000;
    transition: opacity 0.3s, visibility 0.3s;
}
.form-btn-inner{
    padding: 0px;
}

.title-job-box {
    max-width: 100vw;
    overflow-x: hidden;
}

.job-card-grid .job-info .job-title a {
    display: inline-block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.job-content img {
    max-width: 100%;
    height: auto;
    display: block;
}

.smooth-transition {
    transition: opacity 0.5s ease;
    opacity: 1;
}

.hidden {
    opacity: 0;
    pointer-events: none;
    height: 0;
    overflow: hidden;
}

.error-body {
    background-color: #f8f9fa;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    /* height: 60vh; */
    padding: 20px 0px 20px 0px;
}
.error-container {
    text-align: center;

}
.error-image {
    width: 100%;
    max-width: 600px;
    height: auto;
}
.error-message {
    font-size: 24px;
    color: #5F4BDB;
}


.contact-info h5 {
    margin-bottom: 10px;
    font-weight: bold;
}
.contact-info p {
    margin: 0;
    color: #6c757d;
}
.contact-section {
    padding: 60px 0;
}
.contact-form {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
}
.contact-header {
    font-size: 2rem;
    font-weight: bold;
}
.contact-details {
    margin-top: 40px;
}
/* Google Map Section */
.map-container {
    padding: 0;
    height: 400px;
    margin-top: 40px;
}
iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
}

.about-content {
    padding: 40px 0;
}

.btn-danger{
    background-color: #dd4b39;
}

.login-body{
    padding: 1.5rem !important;
}

#remember{
    margin-left: 0 !important;
}

/* Sidebar styles */
.sidebar {
    width: 250px;
    top: 0;
    left: 0;
    background-color: #5F4BDB; /* Primary color */
}
.sidebar a {
    padding: 10px;
    text-decoration: none;
    font-size: 16px;
    color: white;
    display: block;
    transition: 0.3s;
}
.sidebar a:hover {
    background-color: #6F5BEB;
}
.sidebar .active {
    background-color: #4E3ADB;
}
.main-content{
    width: 100%;
}

.dashboard-header {
    background-color: #5F4BDB;
    color: white;
    padding-top: 10px;
    padding-bottom: 8px;
    margin-bottom: 20px;
}

.company-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    transition: all 0.3s ease;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.company-card:hover {
    border-color: #5F4BDB; /* Primary color on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.company-card img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-right: 15px;
}

.company-details {
    flex-grow: 1;
}

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

.open-jobs {
    font-size: 14px;
    color: #777;
}

.location-icon {
    color: #5F4BDB;
}

.section-title {
    font-size: 24px;
    color: #5F4BDB;
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
}

.company-view{
    text-decoration: none;
}

.form-control{
    padding: 7px 10px;
    border-radius: 0.25rem;
}

.mb-5px{
    padding-bottom: 5px;
}

a{
    text-decoration: none;
    color: #5F4BDB;
}
a:hover{
    color: #6e5be8;
}

.required{
    color: #dd4b39;
}

.success-alert-bg{
    background-color: green;
}

.deadline-icon{
    padding-right: 20px;
}

/* Blog Header */
.blog-header {
    text-align: center;
    padding: 40px 20px;
    background: #5F4BDB;
    color: #fff;
}

.blog-header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.blog-header p {
    font-size: 1.1em;
}

/* Content Area */
.blog-content {
    display: flex;
    flex-wrap: wrap;
    margin: auto;
    padding: 20px;
}

/* Blog Posts Section */
.blog-posts {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.blog-card {
    background: #fff;
    border: 1px solid #e5eaf4;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 49%;

    transition: box-shadow 0.3s ease;
}
.index-blog{
    flex: 1 1 calc(50% - 20px);
}

#related-blog {
    width: calc(33.333% - 20px);
}


.blog-details{
    flex-direction: column;
}

.blog-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.blog-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.blog-post-content {
    padding: 20px;
}

.blog-post-date, .blog-post-tag {
    font-size: 0.9em;
    color: #5F4BDB;
    margin-right: 10px;
}

h2 {
    font-size: 1.4em;
    margin: 10px 0;
}

.blog-author-info {
    display: flex;
}

.blog-author-image {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
}

/* Sidebar */
.blog-sidebar {
    flex: 1;
    margin-left: 20px;
    max-width: 100%;
}

.blog-search-box {
    display: flex;
    margin-bottom: 10px;
}

.blog-search-box input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px 0 0 5px;
    outline: none;
}

.blog-search-box button {
    background: #5F4BDB;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

.blog-widget {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e5eaf4;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.blog-widget h3 {
    font-size: 1.2em;
    margin-bottom: 15px;
}

.blog-widget ul {
    list-style: none;
    padding: 0;
}

.blog-widget ul li {
    margin-bottom: 10px;
}

.blog-widget ul li a {
    color: #5F4BDB;
    text-decoration: none;
}

.blog-tags-container a {
    display: inline-block;
    margin: 5px 5px 0 0;
    padding: 5px 10px;
    background: #5F4BDB;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9em;
}

.post-date-icon{
    margin-left: 8px;
}

.blog-card a{
    color: #5F4BDB;
    text-decoration: none;
    font-weight: bold;
}

.blog-card a:hover {
    color: #6c59e6;
    text-decoration: none;
    font-weight: bold;
}

/* Meta description styling for line clamp */
.blog-meta-description, .blog-title{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    line-height: 1.5;
}

.text-two-line{
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    overflow: hidden;
}

.sidebar-date{
    margin-top: 2px;
}

/* Responsive design for mobile screens */
@media (max-width: 767px) {
    .blog-content {
        flex-direction: column;
        padding: 0px;
    }

    .blog-sidebar {
        margin-left: 0;
    }

    .blog-card {
        flex: 1 1 100%;
        margin-bottom: 20px;
        max-width: 100%;
    }
    #related-blog {
        width: calc(50% - 20px);
    }
    .post-image {
        width: 100%;
    }
}

@media (min-width: 768px) {
    .post-image {
        min-height: 350px;
    }
}

.blog-post {
    margin-bottom: 20px;
}

.post-image {
    height: auto;
    max-height: 400px;
    padding-bottom: 10px;
}

.post-content {
    line-height: 1.6;
    margin-top: 15px;
    text-align: justify;
}

.blog-post-date a{
    text-decoration: none;
    color: #5F4BDB;
}


.comments-section {
    margin-top: 20px;
}

.comment-form {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.comment-form textarea {
    height: 100px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 10px;
}

.comment-form button {
    background-color: #5F4BDB;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
}

.comment-form button:hover {
    background-color: #4833d1;
}

.comments {
    border-top: 1px solid #ddd;
    padding-top: 10px;
}

.comment {
    margin: 10px 0;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 4px;
}

.commentor-data{
    gap: 10px;
}
.commentor-data input{
    border-radius: 5px;
}

.rc-post-item {
    align-items: center;
    display: flex;
    margin-bottom: 15px;
}

.rc-post-item a{
    text-decoration: none;
    color: #363848;
}

.rc-post-item .thumb {
    flex: 0 0 auto;
    margin-inline-end: 15px;
    width: 75px;
}
.rc-post-item .thumb img {
    border-radius: 8px;
}
.rc-post-item img {
    width: 75px;
    height: 65px;
    -o-object-fit: cover;
    object-fit: cover;
}

.rc-post-item .content .title {
    color: #334770;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 0;
}

.rc-post-item h2{
    margin: 0px 0;
}

.author-details {
    background-color: #fff;
    border: 1px solid #e5eaf4;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    transition: box-shadow 0.3s ease;
}

.author-details:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.author-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
}

.author-bio h3 {
    font-size: 1.2em;
    color: #333;
    margin: 0;
}

.author-bio p {
    font-size: 0.95em;
    color: #666;
    margin-top: 5px;
}

.commentor-card {
    position: relative;
    display: flex;
    padding:20px;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid #d2d2dc;
    border-radius: 11px;
    -webkit-box-shadow: 0px 0px 5px 0px rgb(249, 249, 250);
    -moz-box-shadow: 0px 0px 5px 0px rgba(212, 182, 212, 1);
    box-shadow: 0px 0px 5px 0px rgb(161, 163, 164)
}

.commentor img{

   width: 60px;
   height: 60px;
}


.reply a {

   text-decoration: none;
}

/* General styling */
.job-search-form {
    align-items: center;
    gap: 10px;
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
}

.form-group {
    flex: 1;
}

.user-image img{
    height: 150px;
    width: auto;
}

.text-danger, .bg-danger{
    background-color: #dc3545;
}

.text-success, .bg-success{
    background-color: #198754;
}

/* .sidebar-ad1{
    min-height: 250px;
} */

/* Responsive Styling */
@media (max-width: 768px) {
    .form-group {
        flex: 0 0 48%;
    }
}

@media (max-width: 576px) {
    .form-group {
        flex: 0 0 100%;
        padding-bottom: 5px;
    }

    .filter-search-btn {
        width: 100%;
    }
}



