body,
h1,
h2,
h3,
p,
ul,
li,
a {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    font-family: Arial, sans-serif;
}

:root {
    --first: #1c4676;
    --second: #ececee;
    --third: #6f00bf;
    --forth: rgba(1, 182, 227,.35);
}

body {
    background: var(--second);
    overflow-x: hidden;
}

.bg-first {
    background: var(--first);
}

.bg-second {
    background: var(--second);
}

.text-first {
    color: var(--first);
}

.btn {
    padding: 10px 40px;
    transition: all ease-in 0.5s;
}

.btn-first {
    background-color: var(--first);
    color: #fff;
    border: 2px solid var(--first);
}

.btn-first:hover {
    background-color: #f9f9f9;
    color: var(--first);
    border: 2px solid var(--first);
}

.btn-second {
    background-color: var(--second);
    color: #fff;
    border: 2px solid var(--second);
}

.btn-second:hover {
    background-color: #f9f9f9;
    color: var(--second);
    border: 2px solid var(--second);
}

.btn-third {
    background-color: var(--third);
    color: #fff;
    border: 1px solid var(--third);
}

.btn-third:hover {
    background-color: #f9f9f9;
    color: var(--third);
    border: 1px solid var(--third);
}

.btn-forth {
    background-color: #f9f9f9;
    color: var(--third);
    border: 1px solid var(--third);
}

.btn-forth:hover {
    background-color: var(--third);
    color: #fff;
    border: 1px solid var(--third);
}
/* Base style for .btn-outline-first */
.btn-outline-first {
    background-color: transparent; /* Transparent background */
    color: var(--first); /* Text color using the --first variable */
    border: 2px solid var(--first); /* Border color using the --first variable */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
}

/* Hover state for .btn-outline-first */
.btn-outline-first:hover {
    background-color: var(--first); /* Background color on hover */
    color: #fff; /* Text color on hover */
    border: 2px solid var(--first); /* Border color remains the same */
}

/* Active state for .btn-outline-first (when the radio button is checked) */
.btn-check:checked + .btn-outline-first {
    background-color: var(--first); /* Background color when selected */
    color: #fff; /* Text color when selected */
    border: 2px solid var(--first); /* Border color remains the same */
}

/* Button group styling */
.btn-group {
    display: flex; /* Make the buttons flex items */
    gap: 0; /* Remove gap between buttons */
}

.btn-group .btn-outline-first {
    flex: 1; /* Make buttons equal width */
    text-align: center; /* Center text */
    border-radius: 0; /* Remove rounded corners for a seamless look */
}

/* Add rounded corners to the first and last buttons */
.btn-group .btn-outline-first:first-of-type {
    border-top-left-radius: 0.25rem; /* Rounded corner for the first button */
    border-bottom-left-radius: 0.25rem;
}

.btn-group .btn-outline-first:last-of-type {
    border-top-right-radius: 0.25rem; /* Rounded corner for the last button */
    border-bottom-right-radius: 0.25rem;
}

/* Error message styling */
.invalid-feedback {
    color: #dc3545; /* Red color for error messages */
    font-size: 0.875em; /* Smaller font size for error messages */
    margin-top: 0.25rem; /* Add some space above the error message */
}

.main-menu .nav-item {
    padding: 0 4px;
}

.main-menu .nav-link {
    font-size: 18px;
    width: 100%;
    padding: 20px 24px !important;
    margin-bottom: -4px;
    margin-top: -1px;
}

.main-menu .nav-link.active,
.main-menu .nav-link:hover {
    color: var(--third) !important;
    border-bottom: 4px solid var(--third);
}

.main-menu .cus-link {
    background: var(--third);
    border: 1px solid var(--third);
    color: #fff;
}

.main-menu .cus-link:hover {
    background: var(--first);
    border: 1px solid var(--first);
    color: #fff !important;
    border-bottom: none;
}

.carousel i {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 100px;
    border: 1px solid #fff;
}

.form-control:focus {
    border-color: var(--first);
    box-shadow: 0 0 0 .25rem rgba(28, 70, 118, .25);
}

.user-icon img {
    height: 40px;
    border-radius: 50%;
}

.banner-img {
    max-height: 320px;
    object-fit: cover;
}

.categories .card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.categories .card:hover {
    /* background:rgba(0, 0, 0, 0.1); */
    background: var(--first);
    color: #fff;
    transform: translateY(-5px);
}

.popular-city {
    position: relative;
    display: inline-block;
    width: 100px;
    height: 100px;
}

.city-icon {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease-in-out;
}

.city-icon.default {
    opacity: 1;
}

.city-icon.hover {
    opacity: 0;
}

.popular-city:hover .city-icon.default {
    opacity: 0;
}

.popular-city:hover .city-icon.hover {
    opacity: 1;
}

.title {
    font-size: 24px;
    text-align: center;
    font-family: "Times New Roman", Times, serif;
    margin-bottom: 24px;
}

.title span {
    font-size: 32px;
}

.category {
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, #00bfff, #007bff);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;

    & h4 {
        font-size: 18px;
        font-weight: 600;
        color: #fff;
        text-transform: uppercase;
    }
}

.stat h3 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 16px;
}

.popular-cities .nav-link {
    background: var(--second);
    color: #000;
    margin-bottom: 14px;
}

.popular-cities .nav-link:hover {
    background: var(--third);
    color: #fff;
}

.popular-cities .nav-link::before {
    content: "››";
    margin-right: 5px;
}

.service-title::before {
    content: "01";
    font-weight: 900;
    font-size: 44px;
    color: #dfdfdf;
    margin-right: 5px;
}

footer {
    background: url(../images/footer-bg.png);
    background-size: cover;
    background-repeat: no-repeat;
    color: #fff;
}

.bottom {
    background: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 25px;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #007bff;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 24px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 1000;
    cursor: pointer;
    transition: background-color 0.3s ease, opacity 0.3s ease;
}

.back-to-top:hover {
    background-color: #0056b3;
}

.back-to-top.show {
    display: block;
    opacity: 0.8;
}

.back-to-top i {
    pointer-events: none;
}

.company {
    margin-top: 100px;
}

.company-banner {
    height:200px; 
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.company-logo {
    width: 150px; 
    height: 150px;
    padding: 5px;
    background: #fff;
    position: absolute; 
    top: 0%; 
    left: 32px; 
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    overflow: hidden;
    & img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

.applicant {
    position: relative;
    background-color: #ececee;
    padding: 20px;
    .btn-edit {
        color: #333;
    }
}

.experience-card {
    position: relative;
    padding: 20px;
    /* background: #ececee; */
    .btn-edit {
        color: #333;
    }
}

.link-logo {
    width: 30px;
    height: 30px;
    object-fit: cover;
    border-radius: 50%;
}

.btn-edit {
    position: absolute;
    top: 20px;
    right: 32px;
    /* background-color: #fff; */
    color: #fff;
    border: none;
    padding: 10px;
    font-size: 24px;
}

.btn-edit:hover {
    color: #007bff;
    /* color: #fff;
    border: 2px solid #fff; */
    background-color: transparent;
}

.custom-modal-content {
    border-radius: 15px;
    /* padding: 20px; */
    background: linear-gradient(145deg, #f3f4f6, #ffffff);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.custom-modal-body {
    text-align: center;
    font-size: 1.1rem;
}
.custom-modal-footer {
    border-top: none;
    text-align: center;
}
.custom-btn-primary {
    background-color: #007bff;
    border: none;
}
.custom-btn-primary:hover {
    background-color: #0056b3;
}
.fa-construction {
    font-size: 3rem;
    color: #ff9900;
    margin-bottom: 10px;
}
.fa-envelope {
    font-size: 1.5rem;
    color: #28a745;
}
.custom-modal-body p {
    color: #333;
    font-weight: 500;
}
.custom-modal-body a {
    color: #007bff;
    text-decoration: underline;
}

.gallery {
    position: relative;
    overflow: hidden;
}

.gallery-content {
    position: absolute;
    bottom: -100%;
    width: 100%;
    background: #1B1B1B;
    color: #fff;
    padding: 30px 20px;
    transition: all ease 1s;
}

.gallery:hover .gallery-content {
    bottom: 0%;
}

/* Loading Screen Styles */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f3f3f3; /* Gray background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ensure it stays above all other content */
}

/* Logo Style */
.loading-logo {
    width: 240px;
    height: auto;
}

/* Prevent scrolling during loading */
body.loading {
    overflow: hidden;
}

.inner-banner {
    background: linear-gradient(rgba(28, 70, 118,.75), rgba(28, 70, 118,.75)), url('../images/banner.avif');
    background-position: center;
    background-size: cover;
    color: #f3f3f3;
    padding: 80px 20px;
    text-align: center;
}

.cus-size-image img {
    width: 150px;
    height: 150px;
    object-fit: contain;
}

.cus-card .card-body {
    padding: 0%;
}

.cus-card, .cus-card .cus-size-image {
    border: 1px solid #999;
    border-radius: 15px;
    box-shadow: 0 0 5px #999;
}

.cus-card .cus-size-image {
    background-color: #fff;
    transform: translateX(25px) scale(1.2);
}

.bg-transparent-5 {
    background-color: rgba(255, 255, 255, 0.75);
}

.field-icon {
    color: #999;
    font-size: 1.2em;
}

.field-icon:hover {
    color: #333;
}