:root {
    --dark-blue: #0A2540
}

/*.container {*/
/*    max-width: 90%;*/
/*}*/

html, body {
    font-family: 'Roboto', sans-serif;
}


.main-color {
    color: var(--main-color) !important
}

.text-decoration-underline {
    text-decoration: underline !important;
}

header {
    margin-top: 15px;
}

@font-face {
    font-family: 'Rowdies';
    src: url('../fonts/Rowdies-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Rowdies';
    src: url('../fonts/Rowdies-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1200px;
    }

}

@media (max-width: 1200px) {
    .header-title {
        display: none !important;
    }
}

.title-gradient {
    font-size: 74px;
    font-weight: 500;
    width: fit-content;
    background: linear-gradient(to right, #1A6373, #f0f0f0);
    background-color: #1A6373;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

section {
    padding: 20px 0 80px 0;
}

section:last-child {
    margin-bottom: 180px;
}

.gr-space-between {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.btn-purple {
    font-size: 20px;
    background-color: #1A6373;
    color: white;
}

.btn-primary-light {
    background-color: white;
    color: #1A6373;
    border-color: #1A6373;
    font-size: 20px;
}

.btn-primary-light,
.btn-purple {
    width: 260px;
    padding: 10px 15px;
    border-radius: 25px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.badge-custom {
    background-color: #1A6373;
    border: 1px solid white;
    color: white;
    font-size: 12px;
    border-radius: 32px;
    padding: 5px 7px;
    min-width: 46px;
    height: 27px;
}

.bg-purple {
    background-color: #CEECF2;
}

.section-title-lg {
    font-size: 48px;
    font-weight: 700;
    width: 100%;
    text-align: center;
    margin: 40px 0 30px 0;
    color: #40414E;
}

.section-sub-title {
    width: 100%;
    text-align: center;
    color: var(--main-color);
    font-size: 28px;
    font-weight: 400;
    margin: 30px 0;
}

#support_service .support-card {
    padding: 30px 25px 40px 25px;
    background-color: white;
    max-width: 506px;
    height: 100%;
    text-align: center;
    margin: auto;
    border-radius: 20px;
    box-shadow: 2px 2px 32px 0 rgba(0, 0, 0, 0.1);
}

#support_service .support-card h4, #faq .faq-sub-title{
    font-size: 32px;
    font-weight: 400;
    color: var(--main-color);
    margin-bottom: 12px;
}

#support_service .support-card p {
    font-size: 22px;
    font-weight: 400;
    color: #6A6A6A;
}


.news_locations .location_title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news_locations .location_item {
    max-height: 400px;
    position: relative;
    margin-bottom: 20px;
}

.news_locations .location_item {
    text-align: center;
}

.news_locations .location_item img {
    aspect-ratio: 16 / 10;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
}

.news_locations .location_item .location_name {
    font-size: 32px;
    font-weight: 700;
    color: white;
    position: absolute;
    top: 0px;
    left: 20px;
}

.timeline-hrz-gr {
    display: flex;
    flex-direction: column;
}

.timeline-hrz-gr.right {
    text-align: right;
}

.timeline-hrz-gr .timeline-hrz-item {
    padding: 15px 0;
    padding-left: 55px;
    position: relative;
    color: black;
    font-size: 24px;
    font-weight: 500;
}

.timeline-hrz-gr.right .timeline-hrz-item {
    padding-left: 0;
    padding-right: 55px;
}

.timeline-hrz-gr .timeline-hrz-item::after {
    content: "";
    display: block;
    width: 3px;
    height: 100%;
    background-color: var(--main-color);
    position: absolute;
    left: 19px;
    top: 50%;
    transform: translateY(-50%);
}

.timeline-hrz-gr.right .timeline-hrz-item::after {
    left: unset;
    right: 18px;
}

.timeline-hrz-gr .timeline-hrz-item::before {
    content: "";
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    background: linear-gradient(180deg, #635BFF 0%, rgba(99, 91, 255, 0.14) 100%);
    background-color: white;
    z-index: 1;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.timeline-hrz-gr.right .timeline-hrz-item::before {
    left: unset;
    right: 0;
}

.timeline-hrz-gr .timeline-hrz-item:first-child:after {
    height: 50%;
    top: unset;
    bottom: 0;
    transform: unset;
}

.timeline-hrz-gr .timeline-hrz-item:last-child:after {
    height: 50%;
    top: 0;
    bottom: unset;
    transform: unset;
}

.title-rowdies {
    font-weight: 300;
    font-size: 36px;
}

.benefits-list-warp {
    max-width: 900px;
    margin: auto;
}

.benefits-check-list {
    font-size: 30px;
    font-weight: 400;
    color: black;
}

.benefits-check-list li {
    padding: 15px 0;
    padding-left: 100px;
    position: relative;
}

.benefits-check-list li::before {
    content: "";
    display: block;
    width: 40px;
    height: 40px;
    background-image: url('../img/icon-check.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(50%, -50%);
}


.btn.btn-primary {
    background-color: var(--main-color);
    font-size: 24px;
    min-width: 250px;
    border-radius: 30px;
    font-weight: 700;
}

#faq .main-img-bx {
    margin: 0 auto 5rem auto;
    max-width: 800px;
}

footer {
    background-color: #CEECF2;
    padding: 30px 0 0px 0;
}

footer .footer-nav-wrap{
    background-color: #1A6373 ;
    color: white;
}

footer .footer-contact-form {
    max-width: 600px;
    padding: 0 15px;
    margin: auto;
    color: white;
}

footer .footer-contact-form .form-title {
    font-size: 52px;
    font-weight: 700;
}

footer .footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    color: white;
}

footer .footer-nav li a {
    color: white;
    padding: 15px;
}

footer .footer-nav-wrap{
    /*max-width: 1920px;*/
    /*margin: 30px auto;*/
    /*padding: 10px 15px;*/
    /*position: relative;*/
    /*background-color: #F0F0F0;*/
    text-align: center;
    padding: 10px;
}

footer .footer-logo {
    position: absolute;
    left: 35px;
    top: 50%;
    transform: translateY(-50%);
}

footer .cpy-r-gr {
    width: 100%;
    text-align: center;
    color: #A0A0A0;
    font-size: 16px;
}
@media (min-width: 1200px) {
    .header-nav li {
        margin-right: 10px !important;
    }
    .header-logo h3 {
        font-size: 32px !important;
    }
}

@media (min-width: 992) and (max-width: 1200px) {
    footer .footer-logo {
        position: static;
        transform: unset;
        margin-bottom: 20px;
    }
}

@media (max-width: 992px) {
    .news_locations .location_item {
        max-height: fit-content;
    }
    .news_locations .location_item .location_name {
        /* left: 50%;
        transform: translateX(-50%); */
        font-size: 36px;
        width: 100%;
        text-align: center;
        left: 0;
        right: 0;
        padding: 0 15px;
    }

    .flex-order-xl > *:nth-child(3) {
        order: 4;
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    .btn {
        width: 100%;
    }
    .title-gradient {
        font-size: 40px !important;
    }
    .section-title-lg {
        font-size: 42px !important;
    }
    .section-sub-title {
        font-size: 24px !important;
    }
    .department-management {
        font-size: 22px !important;
    }
    .job-seekers {
        font-size: 24px !important;
    }
    .benefits-check-list {
        margin-left: 0px !important;
    }
    .benefits-check-list li {
        font-size: 18px !important;
        padding-left: 90px !important;
    }
    .faq-sub-title {
        font-size: 24px;
    }
    .form-title {
        font-size: 32px;
    }
    .icon-search {
        display: none !important;
    }
    .step {
        padding-bottom: 0px;
    }
    #benefits {
        padding-bottom: 0px;
    }
    .footer-1 {
        font-size: 16px !important;
    }
    .footer-2 {
        font-size: 20px!important;
    }
    .footer-3 {
        display: block !important;
        font-size: 12px !important;
    }

    .footer-4 {
        font-size: 12px !important;
    }
    .header ul {
        display: none !important;
    }
    #news {
        margin-bottom: 40px !important;
    }
}

@media (min-width: 576px) and (max-width: 720px) {
    header .header-logo{
        justify-content: center;
        margin: 10px 0;
    }
    header .header-nav {
        justify-content: space-between;
        overflow: scroll;
        scrollbar-width: none;

    }
    header .header-nav li a {
        padding: 10px 25px;
    }
}

@media (max-width: 768px) {
    .main-header {
        position: relative;
    }
    .hamburger-lines {
        display: block !important;
        width: 25px !important;
        height: 3px !important;
        background-color: #333 !important;
        margin: 5px 0 !important;
        transition: transform 0.3s ease-in-out !important;
    }
    .header-nav {
        position: absolute;
    }
    .header-nav.show.active {
        top: 24px;
        right: 12px;
        left: initial;
        background: white;
    }

    .title-rowdies, #support_service .support-card h4, #faq .faq-sub-title {
        font-size: 24px;
    }

    #support_service .support-card {
        max-width: 390px;
        padding: 30px 10px 40px;
    }
}

@media (max-width: 576px) {
    .header-logo img {
        display: none !important;
    }
}

@media (min-width: 414px) and (max-width: 576px) {
    .gr-space-between {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    #benefits .benefits-check-list li:before {
        width: 30px;
        height: 30px;
        background-size: contain;
    }
    #benefits .benefits-check-list li {
        padding-left: 40px;
        font-size: 24px;
    }

    footer .footer-nav {
        display: flex;
        flex-direction: column;
    }

    footer .footer-nav li a {
        padding: 20px 0;
    }
    .header .header-nav {
        display: flex !important;
    }

}

@media (max-width: 768px) {
    .btn {
        width: 100%;
    }
    .title-gradient {
        font-size: 40px !important;
    }
    .section-title-lg {
        font-size: 32px !important;
    }
    .section-sub-title {
        font-size: 24px !important;
    }
    .department-management {
        font-size: 22px !important;
    }
    .job-seekers {
        font-size: 24px !important;
    }
    .benefits-check-list {
        margin-left: 0px !important;
    }
    .benefits-check-list li {
        font-size: 18px !important;
        padding-left: 90px !important;
    }
    .faq-sub-title {
        font-size: 24px;
    }
    .form-title {
        font-size: 32px;
    }
    .icon-search {
        display: none !important;
    }
    .step {
        padding-bottom: 0px;
    }
    #benefits {
        padding-bottom: 0px;
    }
    .footer-1 {
        font-size: 16px !important;
    }
    .footer-2 {
        font-size: 20px!important;
    }
    .footer-3 {
        display: block !important;
        font-size: 12px !important;
    }

    .footer-4 {
        font-size: 12px !important;
    }

    .hamburger-lines {
        display: block !important;
        width: 25px !important;
        height: 3px !important;
        background-color: #333 !important;
        margin: 5px 0 !important;
        transition: transform 0.3s ease-in-out !important;
    }
    .header ul {
        display: none !important;
    }
    .line {
        height: 75% !important;
        top: 45% !important;
    }
    .header-logo h3 {
        font-size: 24px !important;
    }
}
@media (min-width: 320px) and (max-width: 414px) {
    .line {
        height: 75% !important;
        top: 45% !important;
    }
    .header-logo h3 {
        font-size: 20px !important;
    }
}

header .header-nav li a {
    text-decoration: none;
    width: 100%;
    padding: 0 5px;
}
nav {
    background-color: #1A6373; /* Màu nền tương tự ảnh #1A6373 */
    padding: 10px;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

li {
    margin-right: 20px;
}

a {
    color: #1A6373;

}


.login-form-header {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 32px;
    line-height: 54px;
    color: #1A6373;
}

header ul li a {
    color: #1A6373 !important;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 30px;
    width: 116px; /* Đảm bảo kích thước cố định */
    height: 43px; /* Đảm bảo kích thước cố định */
    border: 1px solid transparent; /* Đặt border ban đầu là transparent */
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, border-color 0.3s; /* Thêm transition cho border-color */
}

header .main-header ul li a:hover {
    color: white !important;
    background-color: #1A6373;
    border-color: #1A6373;
}

.system-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 28px;
    color: #1A6373;
    transform: translateY(3px);
}

.btn-purple {
    font-size: 20px;
    background-color: #1A6373;
    color: white;
    white-space: normal;
    word-wrap: break-word;
    height: auto;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.content-class {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 32px;
}
.btn:hover {
    color: #fff !important;
    background-color:  #1A6373 !important;
}
.custom-button {
    max-height: 60px;
    gap: 16px;
    padding: 12px;
    min-width: 270px !important;
    border-radius: 32px !important;
    color: white !important;
    background-color: #1A6373 !important;
}

ul.timeline-hrz-gr li {
    margin-left: 0;
    padding-left: 0;
}
ul.timeline-hrz-gr {
    display: flex;
    justify-content: flex-start;
}
.timeline {
    position: relative;
    font-size: 24px;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}

/*.timeline-item::before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 15px; !* Độ dày của đường nối *!*/
/*    width: 2px;*/
/*    height: 100%;*/
/*    background-color: #ccc;*/
/*    z-index: 0;*/
/*}*/

.circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(to bottom, #1A6373, #f0f0f0);
    margin-right: 15px;
    z-index: 1;
    flex-shrink: 0;
}

.content {
    flex-grow: 1;
}

.content p,
.content a,
.content span {
    margin: 0;
    line-height: 1.5;
}

/* Đảm bảo chữ có thể co giãn */
.content p {
    font-size: 24px;
    /*font-weight: 700;*/
}

.content span {
    font-size: 24px;
    font-weight: 700;
    color: #666;
}

/*.timeline-item:last-child::before {*/
/*    height: 50%;*/
/*    display: block;*/
/*}*/
.department-management {
    color: #1A6373;
    font-size: 32px;
}
.footer-1 {
    font-size: 20px; color: white
}
.footer-2 {
    font-size: 28px; color: white
}
.footer-3 a {
    font-size: 16px; color: white; gap: 16px
}
/*.hamburger-btn {*/
/*    background: none;*/
/*    border: none;*/
/*    cursor: pointer;*/
/*    display: none; !* Hide on larger screens *!*/
/*}*/
.line {
     position: absolute;
     left: 20px;
     top: 50%;
     width: 3px;
     height: 80%;
     background-color: #1A6373;
     transform: translateX(-50%) translateY(-50%);
 }

.step {
    padding-bottom: 0px;
}
#benefits {
    padding-bottom: 0px;
}
#news {
    padding-bottom: 0px;
}
/*hamburger*/

.hamburger-menu {
    display: none;
    background: none;
    width: 60px;
    height: 60px;
    border: none;
}
@media (max-width: 768px) {
    .main-header .header-nav {
        display: flex;
        display: none;
    }

    .hamburger-menu {
        display: block;
        border-radius: 8px;
    }

}

.header-nav.show {
    display: block;
    position: fixed;
    left: 55%;
    top: 8%;
    border-radius: 8px;
    border: #1A6373 solid 1px;
}
.header-nav.show li {
    margin-right: 0px !important;
    min-width: 200px;
}
.header {
    transition: top 0.3s ease-in-out;
}

#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #1A6373;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

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

.main-menu .header-nav a{
    font-size: 14px;
}
