.glass_nav {
    background: rgba(255,255,255,0.85);
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0,0,0,0.04);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Navbar Logo */
.navbar_logo_img {
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    object-fit: contain;
}

.nav_link {
    display: flex;
    align-items: center;
    gap: 0.5vw;
    color: var(--primary-color);
    transition: background 0.2s, color 0.2s, transform 0.2s;
    position: relative;
    text-decoration: none;
}

.nav_link i {
    transition: color 0.2s;
}

.nav_link:hover, .nav_link.active {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px) scale(1.05);
}

.nav_link:hover i, .nav_link.active i {
    color: var(--secondary_color);
}

/* Mobile Menu Styles */
.mobile_menu_fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--primary_color);
    z-index: 99;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.5s ease;
}

.mobile_menu_fullscreen.active {
    transform: translateX(0);
}
.copyright {
    border-top: 2px solid white;
    height: 7vh;
}

.mobile_link {
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.mobile_link:hover {
    opacity: 1;
    transform: translateX(10px);
}

.menu_toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2.5vh;
    cursor: pointer;
    z-index: 100;
}

.menu_toggle i {
    transition: all 0.3s ease;
}

.menu_toggle.active i {
    transform: rotate(90deg);
}

.hero_content{
   position: absolute;
   z-index: 1; 
}

.license_number_holder{
    position: absolute;
    z-index: 5;
    opacity: 80%;
    pointer-events: none;
}

.license_number{
    height: 7vh;
    padding: 0vh 2vw;
}

.hero_holder{
    position: absolute;
    z-index: 10;
    opacity: 95%;   
    pointer-events: none;
}
.hero_box{
    padding: 10vh 5vw;
    max-width: 35vw;
    margin-top: 10vh;
    pointer-events: all;
}
.button_holder{
    gap: 0.5vh;
}

/* hero navbar line */
.line{
    width: 0.5%;
}

/* title holder line*/
.title_line{
    width: 10%;
    height: 0.5vh;
    background-color: var(--secondary_color);
}

.news_table {
    border-radius: 0.5vw;
}

.news_row {
    text-decoration: none;
    border-bottom: 0.1vw solid rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.news_row:last-child {
    border-bottom: none;
}

.hover_bg {
    position: relative;
    overflow: hidden;
}

.hover_bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    opacity: 0.05;
    transition: all 0.3s ease;
}

.hover_bg:hover::before {
    left: 0;
}

.news_card {
    text-decoration: none;
    transition: all 0.3s ease;
    border: 0.1vw solid rgba(0,0,0,0.1);
}

.news_card:hover {
    transform: translateY(-0.5vh);
    box-shadow: 0 1vh 2vh rgba(0,0,0,0.1);
}


/* Services Section Styles */
.service_card {
    border-radius: 0.5vw;
    overflow: hidden;
    cursor: pointer;
}

.service_image {
    transform: scale(1);
    transition: transform 0.5s ease;
}

.service_content {
    position: absolute;
    z-index: 20;
}

.service_icon {
    opacity: 0;
    transform: translateY(20px);
    margin-bottom: 1vh;
}

.service_text {
    transform: translateY(0);
}

.service_link {
    text-decoration: none;
}

/* jobs */
.jobs_holder{
    height: 80%;
}

/* job_cards */
.job_image{
    position: absolute;
    z-index: 2;
}
.job_card_content{
    position: absolute;
    z-index: 20;
    padding: 2vh 1.5vw;
}

/* inputs */
.form_input{
    border: none;
    outline: 0.5vw solid var(--primary-color);
    padding: 1.5vh 1.5vw;
    font-size: 1vw;
}
.stats_cards {
    min-width: 220px;
}
.stat_card {
    min-height: 90px;
    align-items: center;
}
.feature_item {
    background: #f5f8ff;
    border-radius: 0.5vw;
    padding: 1vw 1.5vw;
    margin-bottom: 1vw;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    align-items: center;
}
.circle_orange{
    padding: 1.5vw 2vw;
}
/* about_us_page */
.about_us_image_hero{
    position: absolute;
    z-index: 1;
}
.about_hero_content{
    position: absolute;
    z-index: 66;
}
.about_service_card{
    grid-template-columns: 1fr 2.5fr;
    padding: 3.5vh 2vw;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
.circle{
    border-radius: 50%;
}
.circle_orange h2{
    font-size: 2.5vw;
}

.service_card_content {
    padding: 2vh 2vw;
}

.service_page_card {
    transition: transform 0.3s ease;
}

.service_page_card:hover {
    transform: translateY(-10px);
}

.stat_card {
    transition: transform 0.3s ease;
}

.stat_card:hover {
    transform: scale(1.05);
}

/* contact page specific styles */
.contact_info_card {
    text-align: center;
    transition: transform 0.3s ease;
}

.contact_info_card:hover {
    transform: translateY(-10px);
}

.contact_icon {
    display: inline-flex;
    margin: 0 auto;
}

.contact_icon i {
    font-size: 1.5vw;
}

/* footer */
.footer_link h4 {
    transition: all 0.3s ease;
}
.footer {
    background: var(--primary_color);
}

.footer_link:hover h4 {
    color: var(--secondary_color);
    transform: translateX(10px);
}

.footer_icon {
    transition: transform 0.3s ease;
}

.footer_icon:hover {
    transform: scale(1.2);
}

/* login page */
.login_bg_pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(45deg, var(--primary-color) 25%, transparent 25%),
                      linear-gradient(-45deg, var(--primary-color) 25%, transparent 25%),
                      linear-gradient(45deg, transparent 75%, var(--primary-color) 75%),
                      linear-gradient(-45deg, transparent 75%, var(--primary-color) 75%);
    background-size: 20px 20px;
    opacity: 0.05;
    z-index: 1;
}

.login_container {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    z-index: 2;
}

.login_image_side {
    background: linear-gradient(135deg, var(--primary-color), var(--blue));
}

.admin_icon {
    color: var(--primary-color);
    margin-bottom: 1vh;
}

.password_input_group {
    display: flex;
    align-items: center;
}

.toggle_password {
    position: absolute;
    right: 1vw;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--light);
    cursor: pointer;
    transition: color 0.3s ease;
}

.toggle_password:hover {
    color: var(--primary-color);
}

.hover_scale {
    transition: transform 0.3s ease;
}

.hover_scale:hover {
    transform: scale(1.02);
}


/* Admin Layout Styles */
.admin_sidebar {
    position: fixed;
    top: 0;
    left: 0;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
    z-index: 100;
}

.sidebar_link {
    text-decoration: none;
    color: var(--light);
    transition: all 0.3s ease;
}

.sidebar_link:hover, .sidebar_link.active {
    background: var(--primary-color);
    color: white;
}

.sidebar_link i {
    font-size: 1.5vw;
}

.admin_content {
    overflow-y: auto;
    padding-bottom: 5vh;
}

.admin_profile_pic {
    width: 2.5vw;
    height: 2.5vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dashboard */
.stat_card {
    transition: transform 0.3s ease;
    box-shadow: 0 0.5vh 2vh rgba(0,0,0,0.05);
}

.stat_bubble {
    width: 3.5vw;
    height: 3.5vw;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action_card {
    text-decoration: none;
    transition: transform 0.3s ease;
}

.action_icon {
    width: 3vw;
    height: 3vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action_icon i {
    font-size: 1.5vw;
}
.mobile_menu{
    display: none;
}
.menu_extended{
    background: none;
}
.admin_main_container {
    position: relative;
    min-height: 100vh;
}
.admin_main {
    margin-left: 20%; /* Same as sidebar width */
    overflow-y: auto;
}
.admin_action_button{
    width: 50% !Important;
    justify-self: self-end;
}

/* news show page */
.news_show_page {
    overflow-x: hidden;
}

.news_hero {
    position: relative;
}

.hero_overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}
.overlay {
    z-index: 2 !important;
    opacity: 0.8;
}
.featured_title .title_line, .contact .title_line {
    width: 60% !important;
}
.max_w800 {
    max-width: 80vw;
    margin: 0 auto;
}

.max_w1200 {
    max-width: 90vw;
    margin: 0 auto;
}

.formatted_content {
    line-height: 1.8;
    color: var(--primary-color);
}

.formatted_content p {
    margin-bottom: 2vh;
}

.related_card {
    text-decoration: none;
    transition: all 0.3s ease;
    border: 0.1vw solid rgba(0,0,0,0.1);
}

.related_card:hover {
    transform: translateY(-1vh);
    box-shadow: 0 1vw 2vw rgba(0,0,0,0.1);
}

/* Navbar Sticky Styles */
.navbar_sticky {
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    position: fixed;
}

.navbar_sticky.visible {
    transform: translateY(0);
}

body:not(.is_home) .navbar_sticky {
    transform: translateY(0);
}

/* Admin Mobile Menu Styles */
.admin_body .mobile_menu_fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--primary_color);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.admin_body .mobile_menu_fullscreen.active {
    transform: translateX(0);
}

.admin_body .menu_toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1000;
}

.admin_body .mobile_link {
    text-decoration: none;
    padding: 1vh 2vw;
    width: 100%;
    text-align: center;
    opacity: 0.8;
    transition: all 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
}

.admin_body .mobile_link:hover,
.admin_body .mobile_link.active {
    opacity: 1;
    transform: translateX(10px);
}
@media (max-width: 999px){
    .hero_content {
        display: flex !important;
    }
    .right_hero {
        display: none !important;
    }
    .license_number{
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .hero_holder{
        align-items: flex-end !important;
    }
    .hero_box{
        max-width: 100%;
        width: 100%;
        padding: 5vh 10vw !important;
    }
    .hero_box .button_holder {
        margin-top: 2vh;
    }
    .navbar_sticky{
        height: 10vh;
        transform: translateY(0%);
        position: fixed;
    }
    .news_images {
        flex-direction: column;
    }
    .nav_link {
        display: none;
    }
    .who_are_we_image {
        height: 35vh !important;
        object-fit: cover !important;
    }
    .who_are_we {
        gap: 2vw !important;
    }
    .license_number_holder {
        margin-top: 2.5vh;
    }
    .news_content>div {
        flex-direction: column-reverse;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 1vh;
    }
    .news_content {
        gap: 2vh;
    }
    .news_hero {
        height: 70vh;
    }
    .menu_toggle {
        display: block;
    }
    .job_two_holder:first-of-type{
        display: none;
    }
    .job_card {
        height: 25vh !important;
    }
    .featured_jobs , .why_choose_us, .contact, .about_us_hero{
        height: fit-content !important;
    }

    .stats>div , .two_stats>div{
        height: 20vh !important;
    }
    .two_stats {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .contact_title>.button_holder, .featured_title>.button_holder {
        width: 35% !important;
    }
    .form_input {
        font-size: 2.5vw;
    }
    .contact_holder>iframe {
        height: 30vh !important;
    }
    .middle_footer , .right_footer{
        display: grid;
        grid-template-columns: repeat(2, 2fr);
    }
    .footer {
        gap: 5vh;
    }
    .menu_extended{
        display: block;
    }

    /* about page tablet*/
    .circle {
        width: 20vw;
        height: 20vw;
    }   
    .circle_orange h2 {
        font-size: 5vw;
    }

     .contact_icon i {
        font-size: 3.5vw;
    }
    .contact_info_card {
        padding: 4vh 3vw !important;
    }
    .login_image_side {
        display: none;
    }
    .mobile_menu{
        display: flex;
    }
    .admin_sidebar{
        display: none !important;
    }
    .admin_main{
        padding-top: 2vh !important;
    }
    .stats_holder_dashboard{
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .admin_main {
        margin-left: 0%; 
    }
    .admin_title {
        grid-template-columns: 2fr 1.3fr !important;
    }
    .admin_action_button{
        width: 100% !important;
    }
    #adminNavbar {
        display: flex !important;
        position: sticky !Important;
        background-color: var(--primary_color);
        z-index: 2000;
        height: 12vh;
    }
    .menu_toggle{
        display: flex !important;
    }
}   

@media (max-width: 699px) {
    .about_section {
        gap: 4vw;
    }   
    .form_input {
        font-size: 3.5vw;
    }
    .job_card_content {
        padding: 2vh 5vw;
    }
    .about_service_card {
        height: 15vh !important;
    }
    .contact_icon i {
        font-size: 5vw;
    }
    .stats_holder_dashboard{
        gap: 5vw;
    }
    .stat_card i {
        display: none;
    }
}   