.navbar-nav .nav-link {
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #3db5e6 !important;
    opacity: 0.7;
}

.navbar.scrolled .navbar-nav .nav-link {
    color: #3db5e6 !important;
}

.navbar.scrolled .navbar-nav .nav-link:hover {
    color: #3db5e6 !important;
    opacity: 0.7;
}

.navbar-other .btn,
.custom-btn {
    background: transparent !important;
    border-color: #3db5e6 !important;
    position: relative !important;
    overflow: hidden !important;
    z-index: 1 !important;
    transition: color 0.4s ease, border-color 0.4s ease !important;
    display: inline-block !important;
}

.navbar-other .btn::before,
.custom-btn::before {
    content: '' !important;
    position: absolute !important;
    top: -2px !important;
    left: -2px !important;
    right: -2px !important;
    bottom: -2px !important;
    background: #919191 !important;
    transform: scaleX(0) !important;
    transform-origin: right !important;
    transition: transform 0.4s ease !important;
    z-index: -1 !important;
}

.navbar-other .btn:hover,
.custom-btn:hover {
    background: transparent !important;
    color: #fff !important;
    border-color: #919191 !important;
    transform: none !important;
    opacity: 1 !important;
    box-shadow: none !important;
    transition: none !important;
}

.navbar-other .btn:hover::before,
.custom-btn:hover::before {
    transform: scaleX(1) !important;
    transform-origin: left !important;
}

.btn:not(.contact-modal-trigger):not(.btn-outline-primary):hover,
.btn:hover,
button:hover,
a.btn:hover,
.btn-outline-primary:hover {
    background-color: transparent !important;
    color: #3db5e6 !important;
    border-color: #3db5e6 !important;
    transform: none !important;
    box-shadow: none !important;
    opacity: 1 !important;
    transition: none !important;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slideInLeft {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slideInRight {
    opacity: 0;
    transform: translateX(100px);
    transition: all 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slideInLeft.animate {
    opacity: 1;
    transform: translateX(0);
}

.slideInRight.animate {
    opacity: 1;
    transform: translateX(0);
}

.zoomIn {
    opacity: 0;
    transform: scale(0.3);
    transition: all 2.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.zoomIn.animate {
    opacity: 1;
    transform: scale(1);
}

.pop-up-btn {
    opacity: 0;
    transform: scale(0.8);
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.8s ease !important;
}

.pop-up-btn.animate {
    opacity: 1 !important;
    transform: scale(1) !important;
}

.footer-menu-link {
    position: relative;
    text-decoration: none !important;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-menu-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #3db5e6;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.footer-menu-link:hover {
    color: #3db5e6 !important;
}

.footer-menu-link:hover::after {
    transform: scaleX(1);
}

.rotator-wrapper {
    display: inline-block;
    position: relative;
    vertical-align: top;
    height: 1.2em;
    width: 100%;
}

.rotate-word {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    white-space: nowrap;
    transition: opacity 0.8s ease, transform 0.8s ease;
    transform: translateY(10px);
    width: 100%;
}

.rotate-word.active {
    opacity: 1;
    transform: translateY(0);
}

.rotate-word.exit {
    opacity: 0;
    transform: translateY(-10px);
}

.contact-home-section button[type="submit"]:hover {
    background-color: #919191 !important;
    color: white !important;
}

.contact-home-section input::placeholder,
.contact-home-section textarea::placeholder {
    color: #b0b0b0 !important;
    opacity: 1;
}

.contact-home-section input::-webkit-input-placeholder,
.contact-home-section textarea::-webkit-input-placeholder {
    color: #b0b0b0 !important;
    opacity: 1;
}

.contact-home-section input::-moz-placeholder,
.contact-home-section textarea::-moz-placeholder {
    color: #b0b0b0 !important;
    opacity: 1;
}

.contact-home-section input:-ms-input-placeholder,
.contact-home-section textarea:-ms-input-placeholder {
    color: #b0b0b0 !important;
    opacity: 1;
}

.recruitment-grid a {
    flex: 0 0 calc(50% - 20px);
    max-width: calc(50% - 20px);
}

.recruitment-grid img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
}

@media (max-width: 991.98px) {
    .navbar {
        padding: 0 20px !important;
        height: auto !important;
    }

    .navbar-brand img {
        width: 120px !important;
        height: auto !important;
    }

    .top-bar {
        display: none !important;
    }

    .hero {
        height: auto !important;
    }

    .hero>div {
        height: 600px !important;
    }

    .welcome-text {
        top: 15% !important;
        font-size: 24px !important;
        white-space: normal !important;
        width: 90% !important;
    }

    .hero-icon {
        top: 25% !important;
    }

    .hero-icon img {
        width: 100px !important;
        height: auto !important;
    }

    .skilled-workers-section {
        padding: 40px 20px !important;
    }

    .skilled-workers-section h6 {
        width: 100% !important;
        height: auto !important;
    }

    .contact-home-section {
        height: auto !important;
        min-height: auto !important;
    }

    .contact-home-section>img {
        position: absolute !important;
        height: 100% !important;
    }

    .contact-home-overlay {
        background-color: rgba(255, 255, 255, 0.86) !important;
    }

    .contact-home-content {
        flex-direction: column !important;
        height: auto !important;
        min-height: auto !important;
    }

    .contact-home-section .left-section,
    .contact-home-section .right-section {
        width: 100% !important;
        padding: 40px 20px !important;
        height: auto !important;
    }

    .contact-home-section .left-section {
        padding-top: 80px !important; 
    }

    .contact-home-section .left-section h3.contact-title {
        font-size: 36px !important;
        min-height: auto !important;
    }

    .contact-home-section .left-section .rotator-wrapper {
        height: 80px !important;
    }

    .contact-home-section .rotate-word {
        white-space: normal !important;
    }

    .contact-home-section .left-section p {
        width: 100% !important;
        height: auto !important;
        margin-top: 20px !important;
    }

    .contact-home-section .right-section div {
        width: 100% !important;
        max-width: 100% !important;
    }

    .contact-home-section form input,
    .contact-home-section form textarea,
    .contact-home-section form button {
        width: 100% !important;
    }
}

.custom-modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(245, 245, 245, 0.85);
    align-items: center;
    justify-content: center;
    display: none;
    z-index: 10000;
}

.custom-modal.active {
    display: flex;
}

.modal-content-container {
    background-color: white;
    width: 1100px;
    height: 461px;
    display: flex;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.modal-left {
    flex: 0 0 550px;
    padding: 90px 100px 50px 100px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.modal-left h2 {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: #333;
    margin-bottom: 25px;
}

.modal-left p {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 40px;
}

.contact-info {
    margin-bottom: 25px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #333;
    transition: color 0.3s ease;
    cursor: pointer;
}

.info-item:hover {
    color: #3db5e6;
}

.info-item i {
    margin-right: 15px;
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.social-icons {
    display: flex;
    gap: 25px;
    margin-top: 10px;
}

.social-icons a {
    color: #333;
    font-size: 22px;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-icons a:hover {
    color: #3db5e6;
    transform: translateY(-5px);
}

.modal-right {
    flex: 0 0 550px;
    background-size: cover;
    background-position: center;
    padding: 100px;
    padding-bottom: 55px;
    height: 100%;
    right: 0;
    position: relative;
    display: flex;
    align-items: center;
}

.modal-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.close-modal {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 32px;
    height: 32px;
    background-color: white;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.close-modal:hover {
    color: #3db5e6;
}

.modal-form {
    width: 100%;
    position: relative;
    z-index: 2;
}

.modal-form input,
.modal-form textarea {
    width: 100%;
    padding: 10px 25px;
    margin-bottom: 10px;
    border: none;
    background-color: white;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    color: #333;
}

.modal-form textarea {
    resize: none;
}

.modal-form input::placeholder,
.modal-form textarea::placeholder {
    color: #999;
}

.modal-form button {
    width: 100%;
    padding: 12px;
    background-color: #3db5e6;
    color: #333;
    border: none;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 0px;
}

.modal-form button:hover {
    background-color: #919191 !important;
    color: white !important;
}

.tab-section {
    margin-bottom: 0px;
}

.tab-nav-wrapper {
    border-bottom: 1px solid #e0e0e0;
    width: 100% !important;
    margin: 0 !important;
}

.tab-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 15px;
    padding: 15px 0;
    transition: color 0.3s ease;
    gap: 8px;
    position: relative;
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #3db5e6;
    z-index: 1;
}

.tab-item.active,
.tab-item.active i {
    color: #3db5e6 !important;
}

.tab-item i {
    font-size: 28px;
    color: #3db5e6;
    transition: color 0.3s ease;
}

.tab-item:hover {
    color: #3db5e6;
}

.tab-item:hover i {
    color: #3db5e6;
}

.tab-nav-wrapper-clone {
    position: fixed !important;
    z-index: 1007;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.97) !important;
    box-shadow: 0 0.5rem 1rem rgba(30, 34, 40, 0.05);
    transform: translateY(-100%);
    transition: all 300ms ease-in-out;
    border-bottom: 1px solid #e0e0e0;
}

.tab-nav-wrapper-stick {
    transform: translateY(82px);
}

.tab-nav-wrapper-clone .tab-section {
    border-bottom: none;
    margin-bottom: 0;
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}

.tab-nav-wrapper-clone .tab-item {
    padding: 12px 0;
}

.tab-nav-wrapper-clone .tab-item i {
    font-size: 26px;
}

@media (max-width: 991.98px) {
    .tab-nav-wrapper-stick {
        transform: translateY(0);
        top: 0 !important;
    }

    .tab-nav-wrapper-clone .tab-item span {
        display: none;
    }
}

.tab-nav-wrapper,
.tab-nav-wrapper-clone {
    display: none !important;
}

@media (min-width: 1200px) {

    .tab-nav-wrapper,
    .tab-nav-wrapper-clone {
        display: block !important;
    }
}

.tab-nav-wrapper-clone.fixed {
    display: none !important;
}

@media (min-width: 1200px) {
    .tab-nav-wrapper-clone.fixed {
        display: block !important;
    }
}

.recruitment-section,
.work-permits-section,
.reporting-section,
.consulting-section {
    padding-left: 20px !important;
    padding-right: 20px !important;
}

@media (max-width: 991.98px) {

    .recruitment-section,
    .work-permits-section,
    .reporting-section,
    .consulting-section {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }

    .recruitment-section .container,
    .work-permits-section .container,
    .reporting-section .container,
    .consulting-section .container {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }
}

@media (min-width: 1200px) {

    .recruitment-section,
    .work-permits-section,
    .reporting-section,
    .consulting-section {
        padding-left: 148px !important;
        padding-right: 148px !important;
    }
}

@media (max-width: 991.98px) {
    .recruitment-section .row,
    .reporting-section .row,
    .work-permits-section .row,
    .consulting-section .row {
        flex-direction: column-reverse !important;
    }

    .recruitment-section .fadeInUp,
    .reporting-section .fadeInUp,
    .work-permits-section .fadeInUp,
    .consulting-section .fadeInUp {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .recruitment-section img,
    .work-permits-section img,
    .reporting-section img,
    .consulting-section img {
        max-width: 100%;
        height: auto;
        border-radius: 10px;
    }

    .recruitment-section h2,
    .work-permits-section h2,
    .reporting-section h2,
    .consulting-section h2 {
        font-family: 'Josefin Sans', sans-serif;
        font-weight: 600;
        font-size: 38px;
        line-height: 1.2;
        color: #3db5e6 !important;
    }

    .recruitment-section p,
    .work-permits-section p,
    .reporting-section p,
    .consulting-section p {
        width: 100% !important;
        max-width: 100% !important;
    }

    .work-permits-section .col-lg-6>div,
    .consulting-section .col-lg-6>div {
        max-width: 100% !important;
        margin-left: 0 !important;
    }

    .recruitment-section figure,
    .reporting-section figure,
    .work-permits-section figure,
    .consulting-section figure {
        margin: 30px auto 0 !important;
    }

    .hero h1 {
        font-size: 40px !important;
        line-height: 52px !important;
    }
}

.tab-nav-wrapper .container,
.recruitment-section .container,
.work-permits-section .container,
.reporting-section .container,
.consulting-section .container {
    max-width: 1320px !important;
}

.recruitment-section img,
.work-permits-section img,
.reporting-section img,
.consulting-section img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.recruitment-section h2,
.work-permits-section h2,
.reporting-section h2,
.consulting-section h2 {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 600;
    font-size: 38px;
    line-height: 1.2;
    color: #3db5e6 !important;
}

.recruitment-section p,
.work-permits-section p,
.reporting-section p,
.consulting-section p {
    line-height: 1.6;
    font-weight: 400;
    font-size: 17px;
    font-family: 'Roboto', sans-serif;
    color: #838383;
}

.recruitment-section .icon-list,
.work-permits-section .icon-list,
.reporting-section .icon-list,
.consulting-section .icon-list {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    color: #838383;
    padding-left: 0;
    list-style: none;
}

.recruitment-section .icon-list li,
.work-permits-section .icon-list li,
.reporting-section .icon-list li,
.consulting-section .icon-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    padding-left: 0;
    position: relative;
}

.recruitment-section .icon-list i,
.work-permits-section .icon-list i,
.reporting-section .icon-list i,
.consulting-section .icon-list i {
    font-size: 20px;
    margin-right: 15px;
    width: 25px;
    color: #3db5e6;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative !important;
    top: 0 !important;
}

.recruitment-section .btn-outline-primary,
.work-permits-section .btn-outline-primary,
.reporting-section .btn-outline-primary,
.consulting-section .btn-outline-primary {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 2px;
    padding: 14px 34px;
    border-radius: 4px;
    text-transform: uppercase;
    color: #3db5e6;
    border: 1px solid #3db5e6;
    transition: none !important;
}


@media (max-width: 991.98px) {
    .modal-content-container {
        flex-direction: column;
        width: 90%;

        height: 90vh;
        overflow-y: auto;
    }

    .modal-left,
    .modal-right {
        flex: 0 0 auto;
        width: 100%;
        padding: 30px;
    }

    .modal-left h2 {
        font-size: 24px;
    }

    .slideInLeft,
    .slideInRight,
    .fadeInUp {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .recruitment-section *,
    .work-permits-section *,
    .reporting-section *,
    .consulting-section * {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}