/* .app-wrapper-container {
    margin-left: auto;
    margin-right: auto;
}
@media only screen and (min-width: 1921px) {
    .app-wrapper-container {
        max-width: 1920px;
    }
} */

.app-wrapper-container {
    margin-left: auto;
    margin-right: auto;
}

@media only screen and (min-width: 1201px) {
    .app-wrapper-container {
        max-width: 1200px;
    }
}

@media only screen and (max-width: 1599.9px){
    .all-avatars .contact-avatar{
        margin-left: -38px;
    }
}

@media only screen and (max-width: 1399.9px){
    .advance-recording-card-banner{
        min-height: 218px;
    }
}

@media only screen and (max-width: 1366px) {
    .workfrater-header-after-login .header-inner .header-center ul {
        gap: 0 10px;
    }

    .workfrater-header-after-login .header-inner .header-center ul li a {
        font-size: 14px;
    }

    .services-boxes-container .single-service-box .service-icon {
        height: 60px;
    }
    .services-boxes-container .single-service-box {
        width: 170px;
        height: 170px;
    }

    .icons-boxes-container .single-icon-box .icon {
        height: 60px;
    }
    .icons-boxes-container .single-icon-box {
        width: 170px;
        height: 170px;
    }

    /* header after login */
    /* header after login end */
}

@media only screen and (max-width: 1199.9px) {

    .row-with-left-sidebar .left-col,
    .row-with-left-sidebar .right-col,
    .row-with-left-sidebar .center-col {
        height: calc(100vh - 72px);
    }

    .row-with-left-sidebar .center-col {
        padding: 24px;
    }

    .profile-banner .cover-img-box {
        height: 250px;
    }
    .commnader-grid .inner1,
    .commnader-grid .inner3 {
        width: 270px;
    }
    .construction-section .logo-box{
        width: 200px;
        height: 200px;
    }
}

@media only screen and (max-width: 991.9px) {
    body{
        padding-bottom: 100px;
    }
    .workfrater-header-after-login .header-inner .header-left,
    .workfrater-header-after-login .header-inner .header-right {
        width: fit-content !important;
    }

    .workfrater-header-after-login .header-inner .header-center {
        width: 0 !important;
    }

    .workfrater-header-after-login .header-inner .header-center nav {
        position: fixed;
        bottom: 16px;
        left: 50%;
        background: #fff;
        width: 360px;
        padding: 8px;
        transform: translateX(-50%);
        z-index: 1;
        border-radius: 8px;
        box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.3);
    }

    .workfrater-header-after-login .header-inner .header-center nav ul li {
        flex: 1;
    }
    .workfrater-header-after-login .header-inner .header-center nav ul li a{
        color: var(--primary) !important;
    }
    /* header after login */
    .workfrater-header-after-login.workfrater-header-after-login .header-inner .header-center nav ul {
        gap: 16px 8px;
    }

    .workfrater-header-after-login.workfrater-header-after-login .header-inner ul li a {
        font-size: 9px !important;
        padding: 4px;
        border: 1px solid #dee2e6;
        color: var(--primary);
        display: block;
        border-radius: 4px;
    }
    ul.header-list-after-login li a img{
        filter: invert(0);
    }
    .workfrater-header-after-login .header-inner ul li a .nav-icon{
        width: 22px;
        height: 22px;
    }

    /* header after login end */

    .row-with-left-sidebar .left-col,
    .row-with-left-sidebar .right-col {
        display: none;
    }
    .row-with-left-sidebar .center-col {
        max-width: 767px;
        width: 100%;
        margin: 0 auto;
    }
    .sidebar-profile-info-slide {
        display: block;
    }
    .home-hero-section-title {
        max-width: 100%;
    }
    .alternative-rows-container .single-row .content-box {
        padding: 24px 16px;
    }
    .commnader-grid .inner1,
    .commnader-grid .inner2,
    .commnader-grid .inner3 {
        width: 100%;
    }
    .profile-banner .profile-banner-content .content-header,
    .profile-banner .profile-banner-content .content-footer {
        padding: 0;
    }
    .profile-banner .profile-banner-content .content-footer .wf-nav-tabs{
        justify-content: center;
    }
    .profile-banner .profile-banner-content .content-header .inner1,
    .profile-banner .profile-banner-content .content-header .inner2 {
        width: 100%;
    }
    .profile-banner .profile-banner-content .content-header .inner1 {
        border-bottom: 0;
    }
    .profile-banner .profile-banner-content .content-header .inner2{
        justify-content: center;
        margin-top: 16px;
    }
    .profile-banner .profile-banner-content .content-header .profile-img-and-info-box .user-name-box {
        width: 100%;
        flex: unset;
        text-align: center;
    }
    .profile-banner .profile-banner-content .content-header .profile-img-and-info-box {
        justify-content: center;
    }
    .banner-section .banner-img{
        max-width: 100%;
    }

    
    .find-person-main-row .find-person-sidebar,
    .find-person-main-row .find-person-main-content{
        max-width: 100%;
        width: 100%;
    }
    .find-person-main-row .find-person-sidebar{
        padding-bottom: 12px;
    }
    .find-person-main-row .find-person-main-content{
        padding-top: 12px;
    }
}

@media only screen and (max-width: 767.5px) {
    .wf-btn {
        min-width: 100px;
    }
    .single-post .commnet-writing-area .inner2 {
        width: 100px;
    }
    .single-post .commnet-writing-area .inner1 {
        width: calc(100% - 100px);
    }
    .lcd-screen video {
        position: absolute;
        top: 7px;
        right: 7px;
        left: 7px;
        width: calc(100% - 12px);
    }
    .post-creater-block .user-img-box,
    .profile-avatar-box .img-box {
        width: 50px;
        height: 50px;
    }
    .post-creater-block .editor-box{
        width: 100%;
    }
    .profile-avatar-box .user-info-box {
        width: calc(100% - 50px);
    }
    .wf-card1 .wf-card1-header .header-left .img-box img,
    .wf-card1 .wf-card1-header .header-right .img-box img {
        width: 50px;
        height: 50px;
    }
    .wf-card1 .wf-card1-header .header-left .img-box {
        width: 50px;
    }
    .wf-card1 .wf-card1-header .header-left .content-box {
        width: calc(100% - 66px);
    }
    .wf-card1 {
        padding: 24px 16px;
    }
    .alternative-rows-container .single-row,
    .alternative-rows-container .single-row:nth-child(even) {
        flex-direction: column-reverse;
    }
    .profile-banner .cover-img-box {
        height: 200px;
    }
    .profile-banner .profile-banner-content .content-footer .wf-nav-tabs .nav-link{
        font-size: 12px;    
        font-weight: normal;
        padding: 4px 8px;
    }
    .who-are-we-section video{
        border-radius: 0;
    }
    .banner-section h1.stylish-heading:before{
        left: 50%;
        transform: translateX(-50%);
    }
    .filter-card{
        min-height: 200px;
    }
    .virtual-classroom-banner-content-box{
        background-color: rgba(255, 255, 255, 0.9);
    }
    .advance-recording-card-banner{
        min-height: auto;
    }
}

@media only screen and (max-width: 576px) {
    .form-box {
        padding: 32px 24px !important;
    }
    .post-creater-block .editor-box .editor-box-action-col {
        text-align: center;
    }
    .post-creater-block .editor-box .editor-box-action-col label {
        width: 100%;
    }
    .construction-section{
        background-repeat: no-repeat;
        background-position: bottom center;
        background-size: 100% auto;
    }
    .construction-section > .container{
        padding-top: 100px !important;
    }
    .construction-section > .container h2{
        font-size: 46px;
    }
    .explore-assessment-btn{
        width: 100%;
    }
}

@media only screen and (max-width: 480px) {
    .lcd-screen video {
        position: absolute;
        top: 5px;
        right: 5px;
        left: 5px;
        width: calc(100% - 10px);
    }
    .initial-screen {
        background-position: left center;
    }
    .single-post .post-image-box > div {
        height: 130px;
    }
    .row-with-left-sidebar .center-col {
        padding: 24px 16px;
    }
    .services-boxes-container .single-service-box {
        width: 150px;
        height: auto;
    }
    .icons-boxes-container .single-icon-box {
        width: 150px;
        height: auto;
    }
    .wf-logo-slider .logo-box {
        padding: 16px 32px 0;
    }

    .user-profile-dropdown-btn .dropdown-menu {
        position: fixed !important;
        inset: 0 0 0 0 !important;
        transform: unset !important;
        width: auto !important;
    }
}

@media only screen and (max-width: 420px) {
    .workfrater-header-after-login .header-inner .header-center nav {
        width: calc(100% - 20px);
    }
    .sidebar-profile-info-slide {
        width: calc(100% - 16px);
    }
}

/* ============================================
   COMPREHENSIVE HEADER RESPONSIVE STYLES
   ============================================ */

/* Large Tablets and Small Desktops (1200px - 1400px) */
@media only screen and (max-width: 1400px) and (min-width: 1200px) {
    #workfrater-header .header-inner .header-left {
        width: 220px !important;
    }
    
    #workfrater-header .header-inner .header-center {
        width: calc(100% - 500px);
    }
    
    #workfrater-header .header-inner .header-right {
        width: 280px;
    }
    
    .workfrater-header-after-login .header-left .form-control {
        width: 100px !important;
        font-size: 13px;
    }
}

/* Tablets (992px - 1199px) */
@media only screen and (max-width: 1199.9px) and (min-width: 992px) {
    #workfrater-header .header-inner {
        padding: 12px 0;
    }
    
    #workfrater-header .navbar-brand img {
        width: 55px !important;
    }
    
    #workfrater-header .header-inner .header-left {
        width: 200px !important;
    }
    
    #workfrater-header .header-inner .header-right {
        width: 200px !important;
    }
    
    .workfrater-header-after-login .header-left .form-control {
        width: 90px !important;
        font-size: 12px;
        padding-right: 18px !important;
    }
    
    .workfrater-header-after-login .header-right .text-white {
        font-size: 13px;
    }
    
    .workfrater-header-after-login .header-right .dropdown-toggle img {
        width: 45px !important;
        height: 45px !important;
    }
}

/* Small Tablets and Large Phones (768px - 991px) */
@media only screen and (max-width: 991.9px) and (min-width: 768px) {
    #workfrater-header .header-inner {
        padding: 10px 0;
    }
    
    #workfrater-header .navbar-brand img {
        width: 50px !important;
    }
    
    #workfrater-header .header-inner .header-left {
        width: auto !important;
        gap: 12px;
    }
    
    #workfrater-header .header-inner .header-right {
        width: auto !important;
    }
    
    .workfrater-header-after-login .header-left .form-control {
        width: 80px !important;
        font-size: 11px;
        padding-right: 16px !important;
    }
    
    .workfrater-header-after-login .header-right .text-white {
        display: none !important;
    }
    
    .workfrater-header-after-login .header-right .dropdown-toggle img {
        width: 40px !important;
        height: 40px !important;
    }
    
    .workfrater-header-after-login .header-inner .header-center nav {
        width: 90%;
        max-width: 500px;
    }
    
    .workfrater-header-after-login .header-inner .header-center nav ul li a {
        font-size: 10px !important;
    }
    
    .workfrater-header-after-login .header-inner ul li a .nav-icon {
        width: 20px;
        height: 20px;
    }
}

/* Mobile Devices (576px - 767px) */
@media only screen and (max-width: 767.9px) and (min-width: 576px) {
    #workfrater-header {
        padding: 0;
    }
    
    #workfrater-header .header-inner {
        padding: 10px 0;
    }
    
    #workfrater-header .container,
    #workfrater-header .container-fluid {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    #workfrater-header .navbar-brand img {
        width: 50px !important;
    }
    
    #workfrater-header .header-inner .header-left {
        width: auto !important;
        gap: 10px;
    }
    
    #workfrater-header .header-inner .header-right {
        width: auto !important;
    }
    
    .workfrater-header-after-login .header-left .form-control {
        width: 70px !important;
        font-size: 10px;
        padding-right: 14px !important;
    }
    
    .workfrater-header-after-login .header-right .text-white {
        display: none !important;
    }
    
    .workfrater-header-after-login .header-right .dropdown-toggle img {
        width: 38px !important;
        height: 38px !important;
    }
    
    .workfrater-header-after-login .header-inner .header-center nav {
        width: calc(100% - 32px);
        max-width: 100%;
        bottom: 12px;
        padding: 6px;
    }
    
    .workfrater-header-after-login .header-inner .header-center nav ul {
        gap: 8px 4px;
    }
    
    .workfrater-header-after-login .header-inner ul li a {
        font-size: 8px !important;
        padding: 3px;
    }
    
    .workfrater-header-after-login .header-inner ul li a .nav-icon {
        width: 18px;
        height: 18px;
    }
    
    /* Header before login - mobile menu */
    .workfrater-header-before-login .header-inner .header-center nav {
        width: 300px;
    }
    
    .workfrater-header-before-login .hamburger {
        width: 30px;
        height: 24px;
    }
}

/* Small Mobile Devices (480px - 575px) */
@media only screen and (max-width: 575.9px) and (min-width: 480px) {
    #workfrater-header .header-inner {
        padding: 8px 0;
    }
    
    #workfrater-header .container,
    #workfrater-header .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    #workfrater-header .navbar-brand img {
        width: 45px !important;
    }
    
    .workfrater-header-after-login .header-left .form-control {
        width: 60px !important;
        font-size: 9px;
        padding-right: 12px !important;
    }
    
    .workfrater-header-after-login .header-right .dropdown-toggle img {
        width: 35px !important;
        height: 35px !important;
    }
    
    .workfrater-header-after-login .header-inner .header-center nav {
        width: calc(100% - 24px);
        bottom: 10px;
        padding: 5px;
    }
    
    .workfrater-header-after-login .header-inner .header-center nav ul {
        gap: 6px 3px;
    }
    
    .workfrater-header-after-login .header-inner ul li a {
        font-size: 7px !important;
        padding: 2px;
    }
    
    .workfrater-header-after-login .header-inner ul li a .nav-icon {
        width: 16px;
        height: 16px;
    }
    
    .workfrater-header-before-login .header-inner .header-center nav {
        width: 280px;
    }
    
    .workfrater-header-before-login .hamburger {
        width: 28px;
        height: 22px;
    }
    
    .user-profile-dropdown-btn .dropdown-menu {
        width: calc(100vw - 20px) !important;
        max-width: 280px !important;
        margin: 10px auto !important;
    }
}

/* Extra Small Mobile Devices (below 480px) */
@media only screen and (max-width: 479.9px) {
    #workfrater-header .header-inner {
        padding: 8px 0;
    }
    
    #workfrater-header .container,
    #workfrater-header .container-fluid {
        padding-left: 8px;
        padding-right: 8px;
    }
    
    #workfrater-header .navbar-brand {
        max-width: 100px;
    }
    
    #workfrater-header .navbar-brand img {
        width: 40px !important;
    }
    
    .workfrater-header-after-login .header-left {
        gap: 8px;
    }
    
    .workfrater-header-after-login .header-left .form-control {
        width: 50px !important;
        font-size: 8px;
        padding-right: 10px !important;
        background-size: 12px auto;
        background-position: 100% 12px;
    }
    
    .workfrater-header-after-login .header-right .dropdown-toggle img {
        width: 32px !important;
        height: 32px !important;
    }
    
    .workfrater-header-after-login .header-inner .header-center nav {
        width: calc(100% - 16px);
        bottom: 8px;
        padding: 4px;
        border-radius: 6px;
    }
    
    .workfrater-header-after-login .header-inner .header-center nav ul {
        gap: 4px 2px;
    }
    
    .workfrater-header-after-login .header-inner ul li a {
        font-size: 6px !important;
        padding: 2px;
        border-radius: 3px;
    }
    
    .workfrater-header-after-login .header-inner ul li a .nav-icon {
        width: 14px;
        height: 14px;
    }
    
    /* Header before login */
    .workfrater-header-before-login .header-inner .header-center nav {
        width: 100%;
        padding: 12px 16px;
    }
    
    .workfrater-header-before-login .header-inner .header-center nav ul {
        gap: 6px 0;
    }
    
    .workfrater-header-before-login .hamburger {
        width: 26px;
        height: 20px;
    }
    
    .workfrater-header-before-login .hamburger .line {
        height: 2px;
    }
    
    .workfrater-header-before-login .header-sidebar-btns {
        flex-direction: column;
        gap: 8px;
    }
    
    .workfrater-header-before-login .header-sidebar-btns .wf-btn {
        width: 100%;
    }
    
    /* Profile dropdown */
    .user-profile-dropdown-btn .dropdown-menu {
        width: calc(100vw - 16px) !important;
        max-width: 260px !important;
        margin: 8px auto !important;
        padding: 12px !important;
    }
    
    .profile-avatar-box {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-avatar-box .img-box {
        margin: 0 auto 8px;
    }
    
    .profile-dropdown-menu .profile-dropdown-item {
        padding: 8px 0;
        font-size: 13px;
    }
}

/* Very Small Devices (below 360px) */
@media only screen and (max-width: 359.9px) {
    #workfrater-header .navbar-brand img {
        width: 35px !important;
    }
    
    .workfrater-header-after-login .header-left .form-control {
        width: 45px !important;
        font-size: 7px;
    }
    
    .workfrater-header-after-login .header-right .dropdown-toggle img {
        width: 30px !important;
        height: 30px !important;
    }
    
    .workfrater-header-after-login .header-inner .header-center nav {
        width: calc(100% - 12px);
        bottom: 6px;
        padding: 3px;
    }
    
    .workfrater-header-after-login .header-inner ul li a {
        font-size: 5px !important;
        padding: 1px;
    }
    
    .workfrater-header-after-login .header-inner ul li a .nav-icon {
        width: 12px;
        height: 12px;
    }
}

/* Landscape Orientation for Mobile */
@media only screen and (max-width: 991.9px) and (orientation: landscape) {
    .workfrater-header-after-login .header-inner .header-center nav {
        bottom: 8px;
        padding: 4px;
    }
    
    .workfrater-header-after-login .header-inner ul li a {
        font-size: 7px !important;
    }
    
    .workfrater-header-after-login .header-inner ul li a .nav-icon {
        width: 16px;
        height: 16px;
    }
}

/* Hamburger Menu Animation */
.hamburger {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    transition: all 0.3s ease;
}

.hamburger .line {
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active .line1 {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active .line2 {
    opacity: 0;
}

.hamburger.active .line3 {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Right Vertical Navbar (Mobile) */
.right-vertical-navbar {
    display: none;
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    width: calc(100% - 32px);
    max-width: 360px;
}

.right-vertical-navbar.show {
    display: block;
}

.right-vertical-navbar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.right-vertical-navbar ul li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    color: var(--primary);
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.right-vertical-navbar ul li a:hover {
    background-color: #f0f0f0;
}

@media only screen and (max-width: 767.9px) {
    .right-vertical-navbar {
        width: calc(100% - 24px);
        max-width: 100%;
        bottom: 70px;
    }
}

/* Search Form Responsive */
@media only screen and (max-width: 991.9px) {
    .workfrater-header-after-login .header-left .search-form {
        position: relative;
    }
    
    .workfrater-header-after-login .header-left .form-control:focus {
        width: 120px !important;
    }
}

@media only screen and (max-width: 767.9px) {
    .workfrater-header-after-login .header-left .form-control:focus {
        width: 100px !important;
    }
}

@media only screen and (max-width: 479.9px) {
    .workfrater-header-after-login .header-left .form-control:focus {
        width: 80px !important;
    }
}

/* Language Switcher Responsive */
@media only screen and (max-width: 767.9px) {
    #workfrater-header .header-right ul .btn img,
    #workfrater-header .header-center .btn img {
        width: 18px !important;
        height: 14px !important;
    }
}

@media only screen and (max-width: 479.9px) {
    #workfrater-header .header-right ul .btn img,
    #workfrater-header .header-center .btn img {
        width: 16px !important;
        height: 12px !important;
    }
}

/* Mobile Menu Overlay and Body Lock */
@media only screen and (max-width: 1199.9px) {
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
    
    /* Overlay for mobile menu */
    .workfrater-header-before-login .header-inner .header-center nav::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    header.menu-btn-clicked .workfrater-header-before-login .header-inner .header-center nav::before {
        opacity: 1;
    }
    
    /* Close menu on overlay click */
    .workfrater-header-before-login .header-inner .header-center nav::after {
        content: '';
        position: fixed;
        top: 0;
        left: 350px;
        right: 0;
        bottom: 0;
        z-index: -2;
        cursor: pointer;
    }
    
    header.menu-btn-clicked .workfrater-header-before-login .header-inner .header-center nav::after {
        display: block;
    }
}

@media only screen and (max-width: 420px) {
    .workfrater-header-before-login .header-inner .header-center nav::after {
        left: 0;
    }
}

/* Smooth transitions for mobile menu */
@media only screen and (max-width: 1199.9px) {
    .workfrater-header-before-login .header-inner .header-center nav {
        transition: transform 0.3s ease-in-out;
    }
    
    .workfrater-header-before-login .header-inner .header-center nav ul {
        transition: opacity 0.3s ease-in-out;
    }
}

/* Ensure hamburger is visible and properly sized on all devices */
@media only screen and (max-width: 991.9px) {
    .hamburger {
        z-index: 1001;
    }
    
    .workfrater-header-after-login .hamburger,
    .workfrater-header-before-login .hamburger {
        display: flex !important;
    }
}

/* Fix for search form on very small screens */
@media only screen and (max-width: 479.9px) {
    .workfrater-header-after-login .header-left .search-form {
        min-width: 50px;
    }
    
    .workfrater-header-after-login .header-left .form-control {
        min-width: 50px;
    }
}

/* Profile dropdown responsive improvements */
@media only screen and (max-width: 767.9px) {
    .user-profile-dropdown-btn .dropdown-menu {
        max-height: calc(100vh - 100px);
        overflow-y: auto;
    }
    
    .profile-dropdown-menu {
        max-height: calc(100vh - 250px);
        overflow-y: auto;
    }
}

/* Ensure header stays on top */
#workfrater-header {
    position: sticky;
    top: 0;
    z-index: 999;
}

/* Fix for container padding on mobile */
@media only screen and (max-width: 767.9px) {
    #workfrater-header .container,
    #workfrater-header .container-fluid {
        max-width: 100%;
    }
}

/* Improve touch targets for mobile */
@media only screen and (max-width: 767.9px) {
    .workfrater-header-after-login .header-inner ul li a,
    .workfrater-header-before-login .header-inner ul li a {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hamburger {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}