/*
----------------------------------------------------
Dr. Varun's Smile World Header
Version: 1.0
Completed: August 2026
----------------------------------------------------
*/


.vsw-header {
    position: relative;
    width: 100%;
    background: #ffffff;
  /* border-bottom: 1px solid #eef2f7; */
  z-index: 999;
}

.vsw-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    height: 92px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.vsw-logo img {
    max-height: 58px;
    width: auto;
    display: block;
}

.vsw-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.vsw-navigation .vsw-menu {
    display: flex !important;
    align-items: center;
    gap: 36px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.vsw-actions {
    display: flex;
    align-items: center;
    gap: 0;
    margin-left: 48px;
}



.vsw-appointment {
    background: #0B5FA5;
    color: #fff;
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: 600;
    transition: background .3s ease, transform .25s ease, box-shadow .25s ease;
}

/* ========================================
   WhatsApp Book Button
======================================== */

.vsw-whatsapp-book{

    display:none;

    align-items:center;
    justify-content:center;

    gap:8px;

    background:#25D366;

    color:#ffffff;

    text-decoration:none;

    padding:12px 18px;

    border-radius:8px;

    font-size:15px;

    font-weight:600;

    transition:.3s ease;
}

.vsw-whatsapp-book:hover{

    background:#1EBE5A;

    color:#ffffff;
}

.vsw-whatsapp-book i{

    font-size:16px;
}

.vsw-appointment:hover {
    background: #084d87;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(11,95,165,.25);
}

.vsw-toggle {

    display: none;

    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    padding: 0;

    background: transparent;
    border: none;

    cursor: pointer;
}




/* ========================================
   Desktop Navigation
======================================== */

.vsw-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 42px;
}
.vsw-menu > li {

    display: flex;
    align-items: center;

    position: relative;

    list-style: none;
    padding-bottom: 0 !important;
}

.vsw-menu > li > a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #1F2937;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: .2px;
    padding: 30px 0;
    transition: color .25s ease;
}

.vsw-menu > li:hover > a {
    color: #0B5FA5;
}

/* Dropdown */

.vsw-menu .sub-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 320px;
    background: #fff;
    border-radius: 12px;
    padding: 10px 0;
    margin: 0;
    list-style: none;
    box-shadow: 0 18px 40px rgba(0,0,0,.12);

    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all .25s ease;

    z-index: 9999;
}

.vsw-menu li:hover > .sub-menu {

    display: block;

    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}

.vsw-menu .sub-menu li {
    list-style: none;
}

.vsw-menu .sub-menu a {
    display: block;
    padding: 12px 20px;
    color: #1F2937;
    text-decoration: none;
    white-space: nowrap;
}

.vsw-menu .sub-menu a:hover {
    background: #F5F9FD;
    color: #0B5FA5;
}

/* ========================================
   Responsive Header
======================================== */

/* Laptop */
@media (max-width: 1199px) {

    .vsw-container {
        padding: 0 20px;
    }

    .vsw-navigation #main-menu > .menu {
        gap: 24px;
    }

}




/* Tablet */
@media (max-width: 991px) {

    .vsw-container {
    height: 76px;
}

    .vsw-navigation {
        display: none !important;
    }

    .vsw-actions {
        display: flex;
        align-items: center;
        margin-left: auto;
        gap: 16px;
    }

  .vsw-appointment {
    display: inline-flex;
    align-items: center;
}
 .vsw-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
}
}



.vsw-menu > li:hover > a::after {
    transform: rotate(225deg) translateY(2px);
}

.vsw-menu > li > a {
    position: relative;
}


.vsw-menu > li > a::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 20px;
    width: 0;
    height: 2px;
    background: #0B5FA5;
    transition: all .3s ease;
    transform: translateX(-50%);
}


.vsw-menu > li:hover > a::before,
.vsw-menu > li.current-menu-item > a::before,
.vsw-menu > li.current_page_item > a::before {
    width: 100%;
}

/* Mobile */
@media (max-width: 767px) {

    .vsw-container {

        height: 72px;
        padding: 0 12px;
    }

   
   .vsw-logo{

    flex: 1;
    min-width: 0;
}
   
   
.vsw-logo img{

    width: 160px;
    max-width: 100%;
    height: auto;

    display: block;
}



    .vsw-actions {

    display: flex;
    align-items: center;

    gap: 4px;

    margin-left: auto;

    flex-shrink: 1;
}

 .vsw-appointment {

    display: none !important;
}

.vsw-whatsapp-book {

    display: inline-flex !important;

    align-items: center;
    justify-content: center;

    gap: 6px;

    padding: 8px 6px;

    font-size: 12px;
    font-weight: 600;

    white-space: nowrap;

    border-radius: 6px;
}

    .vsw-toggle {

    display: flex;

    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    flex-shrink: 0;
}

}



/* ========================================
   Mobile Drawer
======================================== */

.vsw-mobile-overlay {

    position: fixed;
    inset: 0;

    background: rgba(0,0,0,.45);

    opacity: 0;
    visibility: hidden;

    transition: opacity .3s ease, visibility .3s ease;

    z-index: 9998;
}

.vsw-mobile-overlay.active {

    opacity: 1;
    visibility: visible;
}

.vsw-mobile-drawer {

    position: fixed;

    top: 0;
    right: -360px;

    width: 360px;
    max-width: 100%;
    height: 100vh;

    background: #ffffff;

    box-shadow: -10px 0 35px rgba(0,0,0,.15);

    padding: 30px;

    overflow-y: auto;

    transition: right .3s ease;

    z-index: 9999;
}

.vsw-mobile-drawer.active {

    right: 0;
}

.vsw-close {

    background: none;
    border: none;

    font-size: 34px;
    line-height: 1;

    cursor: pointer;

    margin-bottom: 30px;

    color: #1F2937;
}

.vsw-mobile-menu {

    list-style: none;

    margin: 0;
    padding: 0;
}

.vsw-mobile-menu li {

    list-style: none;
    margin: 0;
    padding: 0;
}

.vsw-mobile-menu li a {

    display: block;

    padding: 16px 0;

    text-decoration: none;

    color: #1F2937;

    font-size: 17px;
    font-weight: 500;

    border-bottom: 1px solid #eef2f7;

    transition: color .25s ease;
}

.vsw-mobile-menu li a:hover {

    color: #0B5FA5;
}

.vsw-mobile-menu .sub-menu {

    display: none;

    list-style: none;

    margin: 0;
    padding: 0 0 0 18px;
}

.vsw-mobile-menu .menu-item-has-children.open > .sub-menu {

    display: block;
}

.vsw-mobile-appointment {

    display: block;

    margin-top: 28px;

    text-align: center;

    background: #0B5FA5;

    color: #ffffff;

    text-decoration: none;

    padding: 14px 20px;

    border-radius: 8px;

    font-weight: 600;
}

/* ========================================
   Mobile Submenu Toggle
======================================== */

.vsw-mobile-menu .menu-item-has-children > a {

    position: relative;

    padding-right: 42px;
}




.vsw-toggle svg{

    display:block;

    width:28px;
    height:28px;
}

/* ========================================
   Mobile Submenu Button
======================================== */

.vsw-mobile-menu .menu-item-has-children{

    position: relative;
}

.vsw-submenu-toggle{

    position: absolute;

    top: 10px;
    right: 0;

    width: 34px;
    height: 34px;

    border: none;
    background: transparent;

    cursor: pointer;

    color: #0B5FA5;

    font-size: 24px;
    font-weight: 300;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: transform .25s ease;
}

.vsw-mobile-menu .menu-item-has-children.open .vsw-submenu-toggle{

    transform: rotate(45deg);
}

.vsw-mobile-menu .menu-item-has-children > a{

    padding-right: 48px;
}

@media (max-width: 767px) {

    #toTop {
        transform: translate(8px, -8px);
    }

}