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

body {
    line-height: 1.6;
    margin: 0;
    padding: 0;
    font-family: "Montserrat", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: 600
}

h1 {
    font-weight: bold;
    font-size: 2.2rem
}

h2 {
    font-size: 2rem;
    font-weight: bold;
}

h3 {
    font-size: 1.6rem;
    line-height: 1;
    font-weight: bold;
}

h4 {
    font-size: 1.4rem;
    font-weight: bold;
}

h5 {
    font-size: 1.2rem;
    font-weight: bold;
}

h6 {
    font-size: 1.2rem;
    font-weight: bold;
}

p {
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.8;
    color: #000
}

a {
    text-decoration: none;
    transition: color .3s ease
}

ul,
ol {
    list-style: none
}

.btn {
    background: #C8102E;
    color: #fff;
    border-radius: 6px;
    font-size: 14px;
}

.btn:hover {
    background: #b20d29;
    color: #fff;
    text-decoration: none;
}


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

.sub-header {
    background: #C09300;
    padding: 7px;
    color: #fff;
    font-size: 14px;
    display: flex;
    justify-content: left;
    align-items: baseline
}

.sub-header a {
    font-size: 14px;
    font-weight: bold;
    margin-right: 8px;
    color: #C8102E;
}

.sub-header i {
    font-size: 13px
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px
}

.row {
    display: flex;
    flex-wrap: wrap
}

.col {
    flex: 1;
    padding: 15px
}

.toggle-bar {
    margin-left: 20px;
    font-size: 19px;
    padding: 3px 12px 5px 15px;
    background: #C8102E;
    color: white;
    border: none;
}

.navbar {
    background-color: #ffff;
    /* border-bottom: 1px solid #C8102E; */
    ;
    padding: 14px 0 !important;
    margin: 0 !important
}

.navbar-nav.center-nav {
    margin-left: auto
}

.navbar-brand img {
    max-width: 100%;
    border-radius: 3px
}

.nav-item i {
    margin-right: 5px
}

.nav-link {
    /* font-weight: 600; */
    margin-left: 10px;
    color: black;
    font-size: 14px;
    font-weight: 500;
}

.nav-link:hover {
    color: #C8102E;

}

.header {
    background-color: #fff;
    ;
    color: white;
    padding: 50px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.header-text {
    max-width: 50%;
    font-size: 2.5rem;
    font-weight: bold;
    z-index: 2
}

.header-text span {
    display: block;
    font-size: 1.2rem;
    font-weight: normal;
    margin-top: 15px
}

.header-image {
    max-width: 45%;
    position: relative
}

.header-image img {
    max-width: 100%;
    border-radius: 25px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3)
}

.apply_section .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1)
}

.media-text {
    text-align: center;
    padding: 10px;
    /* border: 2px solid #ccc; */
    border-bottom: 0;
    transition: transform .3s ease, background-color .3s ease, color .3s ease;
    color: #fff;
    width: 100%;
    background-color: #00000087;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.media-thumb {
    display: block;
    position: relative;
    overflow: hidden;
    text-decoration: none
}

.media-thumb img {
    width: 100%;
    height: 100%;
    transition: transform .3s ease;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    border: 2px solid #ccc;
    border-top: 0
}

.media-thumb:hover img {
    transform: scale(1.05)
}

.media-thumb:hover .media-text {
    transform: translateY(-10px)
}

.media-text h3 {
    font-size: 1.5rem;
    margin: 0
}

.media-text .location {
    font-size: 1rem;
    color: #fff
}

.destination-item {
    margin-bottom: 30px
}

.custom-shape {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    background-color: #c8102e47;
    /* clip-path: polygon(100% 0, 0 100%, 100% 100%); */
    z-index: 1;
}

@media(max-width:768px) {
    .header {
        flex-direction: column;
        padding: 20px
    }

    .header-text,
    .header-image {
        max-width: 100%
    }
}

.footer {
    background-color: #C8102E;
    color: #fff;
    padding: 40px 0 8px
}

.footer p {
    color: #fff;
    font-size: 14px
}

.footer a {
    color: #fff;
    text-decoration: none;
    font-size: 14px
}

.footer a:hover {
    text-decoration: underline
}

.footer h5 {
    margin-bottom: 20px
}

@media(max-width:768px) {
    .footer h5 {
        font-size: 1.25em
    }
}

@media(max-width:768px) {
    h1 {
        font-size: 2rem
    }

    h2 {
        font-size: 1.75rem
    }

    h3 {
        font-size: 1.5rem
    }

    .col {
        width: 100%;
        padding: 10px
    }
}

/* form {
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid #ccc;
    padding: 10px 20px
} */

.form_label,
.form_input {
    font-size: 0.9em;
    color: #888;
    /* border-top-right-radius: 5px !important;
    border-bottom-right-radius: 5px !important; */
}

.input_label {
    font-size: 0.8em;
}

.heading-applicant-1 {
    background: #C8102E;
    padding: 10px 10px 0;
    margin: -11px -20px 8px;
    color: #fff
}

.remove-applicant-btn-1 {
    display: none;
    padding: 0 10px;
    background: transparent;
    border: 0;
    outline: 0;
    color: #fff"><i class=" fa-solid fa-remove
}

.heading-applicant-2 {
    background: #C8102E;
    padding: 10px 10px 0;
    margin: -11px -20px 0;
    color: #fff
}

.remove-applicant-btn-2 {
    display: none;
    padding: 0 10px;
    background: transparent;
    border: 0;
    outline: 0;
    color: #fff
}

.processing-time-option-div {
    margin: 15px 0;
    background: beige;
    padding: 15px 30px
}

.input-group-text {
    background: transparent;
    color: #000;
}

input:focus,
select:focus,
textarea:focus {
    outline: 0 !important;
    border: 1px solid #ccc !important;
    outline: none !important;
    box-shadow: none !important;
}

/* input,
select {
    background-color: transparent;
    border: 1px solid #C09300;
} */

#addApplicantButton {
    background-color: #198754
}

/* .input-group:hover input {
    border: 1px solid #C8102E;
}

.input-group:hover select {
    border: 1px solid #C8102E;
}

.input-group:hover .input-group-text {
    border: 1px solid #C8102E;
    ;
    color: #fff;
    background-color: #C8102E;
}

input:focus,
select:focus {
    border: 1px solid #C8102E;
    ;
    box-shadow: 0 0 5px rgba(255, 77, 41, 0.5)
}

select option:hover {
    background-color: #C8102E !important;
} */

.err_msg {
    color: #e04d4d;
    font-size: 0.8em;
    margin-top: 5px;
}

.active {
    /* border-bottom: 3px solid #C8102E; */
    color: #C8102E !important;
}

/* .form-control:focus,
.form-select:focus {
    outline: 0;
    border: 1px solid #C09300;
    box-shadow: none
} */

/* .form-control,
.form-select {
    transition: border-color .3s ease
}

.form-control:focus,
.form-select:focus {
    border-color: #C8102E;
} */

.details-section h3 {
    color: #2c3e50;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    margin-bottom: 20px
}

.details-section h4 {
    color: #2980b9;
    font-family: 'Roboto', sans-serif;
    font-weight: 600
}

.details-section p {
    color: #34495e;
    font-size: 16px;
    font-family: 'Open Sans', sans-serif
}

.details-section .mb-4 {
    background-color: #fff;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    transition: .5s;
    border: 1px solid #ccc
}

.details-section .mb-4:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1)
}

.details-section a {
    color: #e74c3c;
    text-decoration: none;
    font-size: 18px
}

.details-section a:hover {
    text-decoration: underline
}

.spinner {
    position: fixed;
    height: 100vh;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.259);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center
}

.spinner i {
    font-size: 55px;
    color: #198754;
    animation: spin 1s linear infinite
}

.preview_edit_input {
    border: none;
    position: absolute;
    right: 3px;
    top: 5px;
    font-size: 16px;
    background-color: transparent;
    display: none;
}

@keyframes spin {
    0% {
        transform: rotate(0)
    }

    100% {
        transform: rotate(360deg)
    }
}

.content {
    height: 1000px;
    font-family: 'Questrial';
    line-height: 1.5;
    letter-spacing: 3px;
    font-size: 20px;
    text-decoration: underline;
    text-align: center;
    margin-top: 30px
}

.go-top {
    position: fixed;
    bottom: 2%;
    left: 1%;
    padding: 20px;
    display: none;
    cursor: pointer;
    -webkit-font-smoothing: antialiased
}

.go-top:after {
    font-family: FontAwesome;
    content: "\f106";
    background-color: #007bff;
    padding: 5px 10px;
    color: #fff;
    position: absolute;
    bottom: 10px;
    font-size: 24px
}

.go-top-text {
    position: absolute;
    width: 60px;
    text-align: center;
    font-family: 'Questrial';
    line-height: 1.5;
    letter-spacing: 3px;
    font-size: 12px;
    margin: 20px 0 0 -4px
}

.go-top:hover {
    transition: all .4s linear;
    transform: scale(1.1)
}

.live-chat-wrapper {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    z-index: 9999;
    font-family: Arial, sans-serif;
}

.chat-label {
    background-color: #4285f4;
    color: white;
    padding: 8px 14px;
    border-radius: 20px;
    margin-right: 8px;
    font-weight: bold;
    position: relative;
    display: block;
}

.chat-label::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 8px solid #4285f4;
}

.chat-icon {
    background-color: #4285f4;
    color: white;
    border-radius: 50%;
    padding: 10px 14px;
    font-size: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Chat Popup */
.chat-popup {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 320px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: none;
    flex-direction: column;
    z-index: 9999;
    font-family: Arial, sans-serif;
}

.chat-header {
    display: flex;
    padding: 15px;
    background-color: #f8f9fa;
}

.chat-logo {
    font-size: 24px;
    color: #4285f4;
    margin-right: 10px;
}

.chat-greeting h3 {
    margin: 0;
    font-size: 18px;
}

.chat-greeting p {
    margin: 2px 0 0;
    font-size: 13px;
    color: #555;
}

.chat-footer {
    padding: 10px 15px;
    background-color: #f1f1f1;
    text-align: center;
    font-size: 14px;
}

.chat-section {
    width: 320px;
    border: 1px solid #ccc;
    border-radius: 12px;
    overflow: hidden;
    font-family: Arial, sans-serif;
    background: #fff;
}

/* .chat-header {
        display: flex;
        align-items: center;
        padding: 10px;
        background: #007bff;
        color: #fff;
    } */

.chat-logo i {
    font-size: 1.8em;
    margin-right: 10px;
}

.chat-body {
    height: 325px;
    padding: 10px;
    overflow-y: auto;
    background: #ffffff;
}

.message {
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    max-width: 80%;
}

.message.bot {
    align-items: flex-start;
}

.message.user {
    align-items: flex-end;
    margin-left: auto;
}

.bubble {
    padding: 8px 12px;
    border-radius: 15px;
    line-height: 1.4;
}

.bot .bubble {
    background: #e6e6e6;
    color: #333;
    border-top-left-radius: 0;
    font-size: 0.8em;
    /* margin-left: 14px; */
}

.user .bubble {
    background: #007bff;
    color: #fff;
    border-top-right-radius: 0;
    font-size: 0.8em;
}

.time {
    font-size: 0.7em;
    color: #999;
    margin-top: 3px;
    /* margin-left: 14px; */
}

#chatInput {
    resize: none;
    font-size: 1em;
}

.chat-footer {
    display: flex;
    position: relative;
    border-top: 1px solid #ddd;
}

.chat-footer input {
    flex: 1;
    border: none;
    padding: 10px 45px 10px 10px;
    outline: none;
}

.chat-footer button {
    background: transparent;
    border: none;
    position: absolute;
    right: 24px;
    top: 14px;
    font-size: 1.4em;
    color: #007bff;
    cursor: pointer;
}

@media screen and (max-width:768px) {
    .middle-margin {
        margin: 20px 0
    }

    .chat-label {
        display: none;
    }
}