﻿body.no-scroll {
    overflow: hidden; /* Prevent scrolling but keep scrollbar visible */
    height: 100vh;
}

html {
    overflow-y: scroll; /* Always show scrollbar */
}



.header_contant {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 20px;
    background-color: var(--basic_color);
    width: 100%;
    height: 64px;
}

.hamburger {
    position: relative;
    width: 25px;
    height: 2px;
    background-color: var(--black-color);
    transition: background-color 0.3s;
    cursor: pointer;
    z-index: 1000;
}

    .hamburger::before,
    .hamburger::after {
        content: "";
        position: absolute;
        width: 25px;
        height: 2px;
        background-color: var(--black-color);
        transition: transform 0.3s, top 0.3s;
    }

    .hamburger::before {
        top: -8px;
    }

    .hamburger::after {
        top: 8px;
    }

    .hamburger.active {
        background-color: transparent;
    }

        .hamburger.active::before {
            transform: rotate(45deg);
            top: 0;
        }

        .hamburger.active::after {
            transform: rotate(-45deg);
            top: 0;
        }

.contact_btn {
    display: none;
}

.navbar {
    display: none;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 998;
}

    .menu-overlay.active {
        display: block;
    }

.menu-box {
    position: absolute;
    top: 60px;
    right: 5px;
    width: 0;
    height: 0;
    overflow: hidden;
    background-color: var(--basic_color);
    transition: width 0.5s ease, height 0.5s ease;
    z-index: 999;
}

    .menu-box.active {
        width: 350px;
        height: 360px;
        border-radius: 8px;
        padding: 20px;
    }

.profile_detail {
    display: flex;
    width: 212px;
    height: 54px;
    justify-content: space-between;
    margin-left: 18px;
}

.user_info {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    width: 137px;
    height: 54px;
}

    .user_info p:nth-child(1) {
        font-weight: 500;
        letter-spacing: 0.3400000035762787px;
        text-align: left;
        font-size: 0.875rem;
        height: 16px;
    }

    .user_info p:nth-child(2) {
        font-size: 0.6875rem;
        font-weight: 500;
        letter-spacing: 0.3400000035762787px;
        text-align: left;
        height: 16px;
    }

    .user_info p:nth-child(3) {
        font-size: 0.5625rem;
        font-weight: 500;
        letter-spacing: 0.3400000035762787px;
        text-align: left;
        height: 16px;
        color: #013c78;
    }

    .user_info p {
        margin-bottom: 5px;
    }

.nav-links {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    list-style: none;
    margin-left: 20px;
    margin-top: 30px;
    width: 138px;
    height: 146px;
}

.hr {
    margin-top: 30px;
    padding: 0 8px;
    color: #777777;
}

.logout {
    margin-top: 20px;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 28.9px;
    letter-spacing: 0.3400000035762787px;
    color: #013c78;
    margin-left: 20px;
}

.logout_ham a {
    text-decoration: none;
}

.nav-links a {
    color: var(--btn-bgcolor);
    text-decoration: none;
    font-size: 0.875rem;
}

.nav-content {
    display: none;
}

.screen {
    display: none;
}

@media (min-width: 576px) {
    .logo img {
        margin-left: 20px;
    }
}

@media (min-width: 992px) {
    .header_contant {
        padding-bottom: 0px;
        width: 892px;
        height: 58px;
        margin: 0px;
        padding: 0px;
    }

    .logo img {
        margin-left: 0px;
        gap: 0px;
        opacity: 0px;
    }

    .hamburger {
        display: none;
    }

    header {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100px;
    }

    .dropdown-container {
        position: relative;
    }

    .dropdown-content-box {
        display: none;
        position: absolute;
        background-color: #f9f9f9;
        box-shadow: 0px 8px 16px var(--black-color);
        top: 60px;
        right: 0;
        z-index: 1;
    }

    .dropdown_parent {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 360px;
    }

    .profile_main {
        width: 294px;
    }

        .profile_main aside {
            height: 107px;
            margin: 0;
        }

    .logout_link {
        padding-top: 30px;
    }

    .profile_main aside:nth-child(1) {
        display: flex;
        align-items: center;
    }

    .profile_main a {
        text-decoration: none;
        color: #013C78;
    }

    .profile_detail div:nth-child(2) {
        height: 54px;
        width: 137px;
    }

    .profile_main p {
        font-weight: 500;
        line-height: 28.9px;
        letter-spacing: 0.3400000035762787px;
        height: 16px;
    }

        .profile_main p:nth-child(1) {
            font-size: 14px;
        }

        .profile_main p:nth-child(2) {
            font-size: 11px;
        }

    .profile_main a p:nth-child(1) {
        font-size: 9px;
    }

    .dropdown-toggle img {
        cursor: pointer;
    }

    .dropdown-toggle {
        margin-left: 20px;
        margin-top: 15px;
        width: 17.81px;
        height: 10px;
    }

    .dropdown-box {
        display: none;
        position: absolute;
        top: 30px;
        width: 200px;
        height: 200px;
        background-color: #444;
        color: var(--basic_color);
        border-radius: 8px;
        padding: 20px;
    }

    .menu-items {
        list-style: none;
    }

    .nav-item:hover {
        color: var(--caveat-color);
    }

    .menu-items li {
        margin: 10px 0;
        font-size: 1.125rem;
        cursor: pointer;
    }

    .contact_btn {
        display: flex;
    }

    .header_contant button {
        width: 125px;
        height: 44px;
        padding: 10px 20px 10px 20px;
        background-color: var(--btn-bgcolor);
        color: var(--basic_color);
        gap: 0px;
        font-size: 0.9375rem;
        font-weight: 600;
        line-height: 24px;
        text-align: center;
        margin-right: 10px;
        border: 1px solid var(--btn-bgcolor);
    }

    .header_contant_img {
        margin-left: 15px;
        margin-top: 4px;
        width: 40px;
        height: 40px;
        gap: 0px;
        opacity: 0px;
    }

    .navbar {
        display: flex;
        gap: 20px;
        width: 893px;
        color: var(--btn-bgcolor);
        font-size: 0.875rem;
        font-weight: 400;
        line-height: 28.9px;
        letter-spacing: 0.3400000035762787px;
        text-align: right;
    }

    .nav-item {
        position: relative;
        cursor: pointer;
        margin-right: 20px;
    }

    .dropdown {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--basic_color);
        border: 1px solid #ddd;
        border-radius: 4px;
        box-shadow: 0 4px 8px var(--black-color);
        min-width: 150px;
    }

        .dropdown a {
            display: block;
            padding: 8px 12px;
            color: #333;
            text-decoration: none;
        }

            .dropdown a:hover {
                background-color: #f0f0f0;
            }

    .nav-item.active .dropdown {
        display: block;
    }

    .screen {
        display: none;
        position: fixed;
        top: 100px;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.8);
        z-index: 999;
        transition: opacity 0.3s ease;
    }

    .nav-content {
        position: absolute;
        top: 100px;
        left: 0;
        width: 100%;
        height: 866px;
        background-color: #003366;
        color: white;
        display: none;
        z-index: 1100;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    .service_navbar {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: start;
        height: 866px;
        width: 992px;
    }

        .service_navbar h1 {
            width: 825px;
            margin-bottom: 50px;
            margin-top: 40px;
        }

        .service_navbar button {
            width: 237px;
            height: 57px;
            top: 1055px;
            left: 100px;
            padding: 12px 37px 15px 36px;
            gap: 0px;
            font-size: 0.875rem;
            font-weight: 700;
            line-height: 24.52px;
            letter-spacing: 2.25px;
            text-align: center;
            color: var(--basic_color);
            background-color: var(--caveat-color);
            border: none;
            margin-top: 40px;
            margin-left: -590px;
        }

    .nav-content-wrapper-services {
        width: 825px;
        height: 590px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

        .nav-content-wrapper-services h3 {
            font-size: 1.5625rem;
            font-weight: 400;
            line-height: 28.9px;
            letter-spacing: 0.3400000035762787px;
        }

        .nav-content-wrapper-services p {
            font-size: 15px;
            font-weight: 400;
            line-height: 28.9px;
            letter-spacing: 0.3400000035762787px;
        }

    .partition {
        display: flex;
        width: 825px;
        justify-content: space-between;
    }

    .service-item-web {
        width: 230px;
        height: 232px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .service-item-ecom {
        height: 252px;
        width: 233px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .service-item-IT {
        height: 284px;
        width: 230px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

        .service-item-IT p {
            height: 203px;
        }

    .service-item-custom {
        width: 227px;
        height: 256px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .service-item:hover {
        transform: translateY(-5px);
        background-color: #f2f2f2;
    }

    .screen.active {
        display: block;
        opacity: 1;
    }

    .nav-content.active {
        display: block;
        animation: slideDown 0.5s ease forwards;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .nav-content-wrapper-company {
        height: 640px;
        width: 854px;
    }

    .company-navbar h1 {
        margin-bottom: 30px;
        font-size: 2rem;
        font-weight: 700;
        line-height: 28.9px;
        letter-spacing: 0.3400000035762787px;
    }

    .aboutus-career {
        display: flex;
        height: 350px;
    }

    .service-item-aboutus {
        height: 330px;
        width: 298px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .nav-content-wrapper-company h2 {
        font-size: 1.5625rem;
        font-weight: 400;
        line-height: 28.9px;
        letter-spacing: 0.3400000035762787px;
    }

    .nav-content-wrapper-company p {
        font-size: 0.9375rem;
        font-weight: 400;
        line-height: 28.9px;
        letter-spacing: 0.3400000035762787px;
    }

    .service-item-career {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        margin-left: 250px;
        height: 236px;
        width: 173px;
    }

    .service-item-contact {
        height: 259px;
        width: 353px;
    }

        .service-item-contact li {
            font-size: 0.75rem;
            list-style-type: none;
            line-height: 28.9px;
        }

        .service-item-contact ul li {
            font-size: 0.9375rem;
        }

        .service-item-contact ul span {
            font-size: 0.75rem;
        }

    .social_logo-navbar img:hover {
        cursor: pointer;
        scale: 1.1;
    }

    .company-navbar button {
        margin-top: 10px;
        width: 237px;
        height: 57px;
        top: 1055px;
        left: 100px;
        padding: 12px 37px 15px 36px;
        gap: 0px;
        font-size: 0.875rem;
        font-weight: 700;
        line-height: 24.52px;
        letter-spacing: 2.25px;
        text-align: center;
        color: var(--basic_color);
        background-color: var(--caveat-color);
        border: none;
    }
}

@media (min-width: 1200px) {
    header {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .header_contant {
        padding-bottom: 0px;
        width: 1100px;
        margin: 0px;
        padding: 0px;
    }

    #img-576 {
        display: none;
    }

    #img-992 {
        display: block;
    }

    .logo {
        margin-left: 40px;
    }

    .contact_btn button {
        width: 125px;
        height: 44px;
        gap: 0px;
        line-height: 24px;
        text-align: left;
        margin-right: 10px;
    }

    .navbar {
        display: flex;
        gap: 20px;
        width: 1100px;
        color: var(--btn-bgcolor);
        font-size: 0.875rem;
        font-weight: 400;
        padding-left: 12px;
    }

    .nav-item {
        margin-right: 20px;
        margin-left: 30px;
    }

    .dropdown a:hover {
        background-color: var(--basic_color);
    }

    .nav-item.active .dropdown {
        display: block;
    }

    .service_navbar {
        height: 537px;
        width: 1200px;
        justify-content: center;
    }

    .nav-content {
        height: 537px;
    }

        .nav-content h1 {
            width: 1050px;
            margin-bottom: 60px;
        }

    .nav-content-wrapper-services {
        flex-direction: row;
        height: 284px;
        width: 1050px;
    }

    .service-item-web {
        width: 240px;
    }

        .service-item-web P {
            width: 240px;
            height: 145px;
            margin-bottom: 6px;
        }

    .service-item-IT {
        width: 238px;
    }

        .service-item-IT p {
            width: 238px;
            height: 203px;
            margin-bottom: 5px;
        }

    .service-item-ecom {
        width: 238px;
    }

        .service-item-ecom p {
            height: 174px;
            width: 238px;
        }

    .service-item-custom {
        width: 237px;
    }

        .service-item-custom p {
            height: 174px;
            width: 237px;
            margin-bottom: 10px;
        }

    .partition {
        width: 770px;
    }

    .service_navbar button {
        margin-top: 20px;
        margin-left: -820px;
    }

    .nav-content-wrapper-company {
        margin-top: 40px;
        display: flex;
        justify-content: space-between;
        height: 330px;
        width: 1026px;
    }

    .company-navbar h1 {
        margin-top: 66px;
        margin-bottom: 0;
    }

    .aboutus-career {
        width: 680px;
        height: 310px;
    }

    .service-item-aboutus {
        width: 397px;
        height: 280px;
    }

    .service-item-career {
        margin-left: 20px;
        width: 235px;
        height: 190px;
    }

    .company-navbar {
        height: 537px;
        width: 1049px;
    }

        .company-navbar button {
            margin-top: 0px;
            margin-bottom: 20px;
        }

    .service-item-contact {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 305px;
        width: 354px;
        margin: 0px;
        padding: 0px;
    }

        .service-item-contact ul {
            margin-top: 0px;
        }

        .service-item-contact div {
            margin-bottom: 1px;
        }

    .social_logo-navbar {
        margin-top: 0px;
    }
}

@media (min-width: 2000px) {
    header {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .header_contant {
        padding-bottom: 0px;
        width: 1900px;
        height: 70px;
        margin: 0px;
        padding: 0px;
    }

    .logo {
        margin-left: 30px;
    }

    .contact_btn {
        display: flex;
        margin-left: 10px;
    }

        .contact_btn button {
            width: 180px;
            height: 56px;
            padding: 10px 25px 10px 25px;
            gap: 0px;
            font-size: 1rem;
            line-height: 24px;
            text-align: center;
        }

    .header_contant_img {
        width: 50px;
        height: 50px;
        gap: 0px;
        opacity: 0px;
    }

    .navbar {
        display: flex;
        gap: 20px;
        padding-left: 2px;
        width: 1900px;
    }

    .dropdown a:hover {
        background-color: var(--basic_color);
    }

    .nav-item.active .dropdown {
        display: block;
    }

    .nav-content {
        height: 707px;
    }

    .service_navbar {
        width: 1390px;
        height: 100%;
    }

        .service_navbar h1 {
            width: 1390px;
            font-size: 2.5rem;
        }

    .nav-content-wrapper-services {
        width: 1390px;
        height: 395px;
    }

        .nav-content-wrapper-services h3 {
            font-size: 2rem;
        }

    .partition {
        width: 1040px;
    }

    .service-item-web {
        justify-content: space-evenly;
        width: 260px;
        height: 284px;
    }

        .service-item-web p {
            width: 256.61px;
            height: 170px;
            font-size: 1.375rem;
            margin-bottom: 0;
        }

    .service-item-IT {
        justify-content: space-evenly;
        width: 262px;
        height: 369px;
    }

        .service-item-IT p {
            font-size: 1.375rem;
            width: 260px;
            height: 260px;
            margin-bottom: 0;
        }

    .service-item-ecom {
        justify-content: space-evenly;
        width: 285px;
        height: 395px;
    }

        .service-item-ecom p {
            font-size: 1.375rem;
            height: 280px;
            width: 278px;
        }

    .service-item-custom {
        justify-content: space-evenly;
        width: 283px;
        height: 347px;
    }

        .service-item-custom p {
            font-size: 1.375rem;
            height: 240px;
            width: 283px;
            margin-bottom: 0;
        }

    .service_navbar button {
        margin-left: -1160px;
        height: 57px;
    }

    .nav-content-wrapper-company {
        width: 1391px;
        height: 430px;
    }

        .nav-content-wrapper-company h2 {
            font-size: 2rem;
        }

        .nav-content-wrapper-company p {
            font-size: 1.375rem;
        }

    .company-navbar {
        width: 1391px;
        height: 707px;
    }

        .company-navbar h1 {
            font-size: 2.5rem;
        }

    .aboutus-career {
        width: 920px;
        justify-content: space-between;
    }

    .service-item-aboutus {
        width: 397px;
        height: 370px;
    }

    .service-item-career {
        width: 397px;
        height: 166px;
    }

    .service-item-contact {
        height: 318px;
        width: 397px;
    }

        .service-item-contact ul li {
            font-size: 1.375rem;
        }

        .service-item-contact li span {
            font-size: 1rem;
        }

        .service-item-contact div {
            margin-bottom: 3px;
        }

    .company-navbar h1 {
        margin-top: 90px;
        margin-bottom: 50px;
    }

    .company-navbar button {
        margin-left: 0px;
        font-size: 1rem;
        margin-top: 10px;
    }
}
