.site-header {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    transition: all 0.3s ease;
}

.site-header.sticky {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    gap: 24px;
    position: relative;
    z-index: 10000;
}

/* COLUMN 1*/
.logo-col {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.logo-col a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.logo-col img {
    height: 70px;
    width: auto;
    display: block;
}

/* COLUMN 2*/
.nav-col {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-menu {
    display: flex;
    list-style: none;
    gap: 28px;
    margin: 0;
    padding: 0;
}

.main-menu > li {
    position: relative;
}

.main-menu > li > a {
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    color: #1a1f2e;
    padding: 8px 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
    letter-spacing: -0.2px;
}

.site-header:not(.sticky) .main-menu > li > a {
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.site-header:not(.sticky) .main-menu > li > a i {
    color: rgba(255, 255, 255, 0.8);
}

.site-header:not(.sticky) .main-menu > li > a:hover {
    color: #00aeef;
}

/* Logo brightness adjustment for transparent header 
.site-header:not(.sticky) .logo-col img {
    filter: brightness(0) invert(1);
}*/

.site-header:not(.sticky) .consult-btn {
    background-color: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.site-header:not(.sticky) .consult-btn:hover {
    background-color: #00aeef !important;
    border-color: #00aeef;
}

.site-header:not(.sticky) .menu-btn {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
}

.site-header:not(.sticky) .menu-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Scrolled state */
.site-header.sticky .main-menu > li > a {
    color: #1a1f2e;
    text-shadow: none;
}

.site-header.sticky .main-menu > li > a i {
    color: #5b6e8c;
}

.site-header.sticky .logo-col img {
    filter: none;
}

.site-header.sticky .consult-btn {
    background-color: #00aeef !important;
    border: none;
}

.site-header.sticky .menu-btn {
    color: #1f2a3e;
    background: transparent;
}

.site-header.sticky .menu-btn:hover {
    background-color: #f0f2f5;
}


.main-menu > li > a:hover {
    color: #0066cc;
}

.main-menu > li > a i {
    font-size: 0.75rem;
    color: #5b6e8c;
    transition: transform 0.2s;
}

.main-menu > li:hover > a i {
    transform: rotate(180deg);
}

/* MEGA MENU STYLES */
.has-mega {
    position: static;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 991%;
    max-width: 960%;
    background: #ffffff;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.12);
    border-top: 1px solid #eef2f6;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    z-index: 10001;
    pointer-events: none;
}

.has-mega:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mega-menu-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 48px 32px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.mega-column {
    min-width: 0;
}

.mega-column-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 700;
    color: #6b7a8a;
    text-decoration: none;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.mega-column-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #00aeef;
}

.mega-item {
    display: flex;
    gap: 14px;
    margin-bottom: 24px;
    text-decoration: none;
    transition: transform 0.2s ease;
    cursor: pointer;
}

.mega-item:hover {
    transform: translateX(5px);
}

.mega-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #f4f7fc;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00aeef;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

.mega-item:hover .mega-icon {
    background: #00A79D;
    color: #ffffff;
}

.mega-content {
    flex: 1;
    margin-top: 2px;
}

.mega-content h5 {
    font-size: 15px;
    font-weight: 600;
    color: #1f2a3e;
    margin-bottom: 6px;
    transition: color 0.2s ease;
}

.mega-item:hover .mega-content h5 {
    color: #0066cc;
}

.mega-content p {
    font-size: 13px;
    color: #5b6e8c;
    line-height: 1.4;
    margin: 0;
}

/* COLUMN 3: ACTIONS */
.action-col {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}

.consult-btn {
    background-color: #00aeef !important;
    color: white;
    padding: 10px 24px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s;
    letter-spacing: -0.2px;
    white-space: nowrap;
    border: none;
}

.consult-btn:hover {
    background-color: #0052a3;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.menu-btn {
    background: transparent;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: #1f2a3e;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background 0.2s;
}

.menu-btn:hover {
    background-color: #f0f2f5;
}

/* OFFCANVAS MENU - FIXED POSITIONING */
.offcanvas {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 420px;
    height: 100%;
    background-color: #ffffff;
    z-index: 20000;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
    transition: right 0.35s ease-in-out;
}

.offcanvas.open {
    right: 0;
}

.offcanvas-inner {
    padding: 32px 28px 40px;
    position: relative;
    height: 100vh;
    background-color: white;
}

.close-offcanvas {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: #6c7a8e;
    transition: color 0.2s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-offcanvas:hover {
    color: #000;
    background: #f0f2f5;
}

.off-logo {
    height: 100px;
    margin-bottom: 28px;
}

.off-desc {
    font-size: 0.95rem;
    color: #2c3e4e;
    line-height: 1.5;
    margin-bottom: 28px;
    padding-right: 8px;
}

.off-contact {
    background-color: #00a79db5;
    padding: 18px 16px 30px 16px;
    border-radius: 18px;
    margin-bottom: 28px;
}

.off-contact p {
    font-size: 17px;
    margin-bottom: 8px;
    color: #ffffff;
}

.off-contact p:last-child {
    margin-bottom: 0;
}

.off-social {
    display: flex;
    gap: 20px;
}

.off-social a {
    background: #edf2f7;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #1e2f3f;
    font-size: 1.2rem;
    transition: all 0.2s;
    text-decoration: none;
}

.off-social a:hover {
    background: #0066cc;
    color: white;
    transform: translateY(-2px);
}

/* OVERLAY */
.offcanvas-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 15000;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
}

.offcanvas-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* HEADER RESPONSIVE */
@media (max-width: 1200px) {
    .header-container {
        padding: 0 24px;
    }
    .logo-col img {
        height: 55px;
    }
    .mega-menu-container {
        padding: 40px 24px;
        gap: 32px;
    }
}

@media (max-width: 1024px) {
    .nav-col {
        display: none;
    }
    .header-container {
        height: 70px;
        justify-content: space-between;
    }
    .action-col {
        gap: 12px;
    }
    .consult-btn {
        padding: 8px 20px;
        font-size: 0.8rem;
    }
    .menu-btn {
        width: 42px;
        height: 42px;
    }
    .site-header:not(.sticky) .menu-btn {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.15);
    }
}

@media (max-width: 768px) {
    .header-container {
        height: 65px;
        padding: 0 16px;
    }
    .logo-col img {
        height: 40px;
    }
    .consult-btn {
        display: none;
    }
    .menu-btn {
        width: 38px;
        height: 38px;
        font-size: 1.4rem;
    }
    .offcanvas {
        max-width: 85%;
    }
    .offcanvas-inner {
        padding: 24px 20px;
    }
    .off-logo {
        height: 60px;
    }
}

@media (max-width: 480px) {
    .header-container {
        height: 60px;
        padding: 0 12px;
    }
    .logo-col img {
        height: 32px;
    }
    .menu-btn {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }
    .offcanvas {
        max-width: 100%;
        width: 100%;
    }
    .offcanvas-inner {
        padding: 20px 16px;
    }
    .off-logo {
        height: 50px;
    }
    .off-desc {
        font-size: 0.85rem;
    }
    .off-contact p {
        font-size: 14px;
    }
    .off-social a {
        width: 34px;
        height: 34px;
        font-size: 1rem;
    }
}

/* Offcanvas Navigation Links - Mobile/Tablet Only */
.off-nav-links {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.off-nav-links > li {
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 12px;
}

.off-nav-links > li > a {
    font-size: 18px;
    font-weight: 500;
    color: #1e293b;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

.off-nav-links > li > a:hover {
    color: #00aeef;
}

/* Submenu in Offcanvas */
.off-nav-links .has-submenu {
    position: relative;
}

.submenu-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: 500;
    color: #1e293b;
    text-decoration: none;
}

.submenu-toggle i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.submenu-toggle.active i {
    transform: rotate(180deg);
}

.off-submenu {
    list-style: none;
    padding: 12px 0 0 20px;
    margin: 12px 0 0 0;
    display: none;
}

.off-submenu.active {
    display: block;
}

.off-submenu li {
    margin-bottom: 12px;
}

.off-submenu li a {
    font-size: 15px;
    color: #5b6e8c;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

.off-submenu li a:hover {
    color: #00aeef;
    padding-left: 5px;
}

.mt-4 {
    margin-top: 20px;
}

/* Hide offcanvas navigation on desktop (1024px and above) */
@media (min-width: 1025px) {
    .mobile-only-nav {
        display: none !important;
    }
}

/* Show offcanvas navigation only on mobile/tablet */
@media (max-width: 1024px) {
    .mobile-only-nav {
        display: block;
    }
}