 :root {
            --nav-bg: rgba(208, 222, 255, 0.8);
            --link-color: #333333;
            --hover-color: #007bff; 
        }

        /* 1. Glass Effect on Scroll */
        .navbar { 
            background-color: transparent; 
            transition: all 0.4s ease; 
            border-bottom: 1px solid transparent;
        }

        .navbar.scrolled {
            background-color: var(--nav-bg) !important;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            box-shadow: 0 4px 20px rgba(0,0,0,0.1);
            border-bottom: 1px solid rgba(255, 255, 255, 0.3);
        }



        /* 2. Persistent Hover Color */
        .nav-item:hover > .nav-link,
        .nav-link:hover,
        .dropdown-item:hover {
            color: var(--hover-color) !important;
        }

        .nav-link { 
            color: var(--link-color) !important; 
            font-weight: 600;
            display: flex;
            align-items: center;
            justify-content: space-between;
            transition: 0.3s;
        }

        /* 3. Dropdown Logic & Arrow Fix */
        .dropdown-toggle::after { display: none !important; }
        
        .fa-chevron-down {
            font-size: 11px;
            margin-left: 8px;
            transition: transform 0.3s;
        }

        @media (min-width: 992px) {
            .dropdown:hover > .dropdown-menu { 
                display: block; 
                margin-top: 0; 
                border-top: 3px solid var(--hover-color); 
            }
            .dropdown:hover .fa-chevron-down { transform: rotate(180deg); }
            /* Desktop Centering */
            .navbar-nav { margin: 0 auto; }
        }

        /* 4. MOBILE SUB-MENU UPDATE (ONLY THIS SECTION CHANGED) */
    /* 4. Creative Mobile Sub-Menu Update */
@media (max-width: 991px) {
    .offcanvas { width: 80% !important; max-width: 320px; }
    .offcanvas-body { padding: 0 !important; } /* Full-width container */
    
    .nav-link {
        padding: 15px 20px !important;
        border-bottom: 1px solid #eee;
        background-color: #fff;
    }

    /* Sub-menu container */
    .dropdown-menu {
        width: 100% !important;
        border: none !important;
        border-radius: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        background-color: #f9f9f9 !important; /* Slightly darker than main bg */
        border-top: 1px solid #ddd; /* Clear top separation */
    }

    /* Creative sub-menu items */
    .dropdown-item {
        padding: 14px 30px !important; /* Extra padding for "creative" feel */
        border-bottom: 1px solid #eee; /* Bottom border for every item */
        font-size: 14px;
        font-weight: 500;
        color: #666 !important;
        transition: all 0.3s ease;
        position: relative;
    }

    /* Creative Hover: Left accent border + background change */
    .dropdown-item:hover, 
    .dropdown-item:active {
        background-color: #f1f7ff !important; /* Soft blue tint */
        color: var(--hover-color) !important;
        padding-left: 35px !important; /* Slight "push" effect */
        border-left: 4px solid var(--hover-color); /* Visual accent */
    }

    /* Remove border from last item for a cleaner look */
    .dropdown-item:last-child {
        border-bottom: 1px solid #ddd; /* Bottom border for the whole group */
    }

    /* Ensure arrow is on the far right */
    .nav-link i { order: 2; }
}

        /* UI Helpers */
        .mobile-cta-group { display: flex; gap: 8px; order: 2; margin-left: auto; margin-right: 15px; }
        .navbar-toggler { order: 3; border: none; }

        


        .canada-section {
  background: #fff;
  padding: 80px 0;
  overflow: hidden; /* IMPORTANT */
}

/* Image wrapper */
.canada-image-wrap {
  position: relative;
}

/* Image itself */
.canada-img {

}



/* Mobile fix – image comes back inside */
@media (min-width: 1380px) {
  .canada-image-wrap {
    margin-top: 40px;
  }

  .canada-img {
   width: 138%;
  max-width: none;
  height: auto;
  display: block;
  /* margin-left: -10%; */
  }
}


/* 
.navbar {
  position: sticky;
  top: 0;
  z-index: 1030;
}


.navbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: -1;
}
.navbar.scrolled::before {
  background: rgba(255, 255, 255, 0.85);
}
 */
 @media  (max-width:991px) {
    .navbar{
          overflow: clip;
    }
    .topde.btn-quote, .topde.phone-btn{
        padding: 0px !important;
        width: 60px;
        height: 60px;
        display: flex;
        justify-content: center;
    }
 }
  @media  (max-width:400px) {
    .navbar{
          overflow: clip;
    }
    .topde.btn-quote, .topde.phone-btn{
        padding: 0px !important;
        width: 40px;
        height: 40px;
        display: flex;
        justify-content: center;
    }
 }
/* 5. Nested Dropdown Support */
/* Common styles for nested dropdowns */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -1px;
  display: none; /* Hidden by default */
}

/* Show nested menu on hover for desktop */
@media (min-width: 992px) {
  .dropdown-submenu:hover > .dropdown-menu {
    display: block;
  }
  /* Add arrow to indicate submenu */
  .dropdown-submenu > .dropdown-item:after {
    content: "\f054"; /* FontAwesome right arrow */
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    position: absolute;
    right: 15px;
    font-size: 10px;
    top: 50%;
    transform: translateY(-50%);
  }
}

/* Mobile adjustments for nested menus */
@media (max-width: 991px) {
  .dropdown-submenu .dropdown-menu {
    position: static;
    margin-left: 20px; /* Indent */
    width: auto !important;
    display: none; /* Hidden by default, toggled via JS */
    border-left: 2px solid var(--hover-color);
    background-color: transparent !important;
    box-shadow: none !important;
    padding-left: 10px !important;
  }
  
  .dropdown-submenu.show-submenu > .dropdown-menu {
    display: block !important;
  }

  .dropdown-submenu .dropdown-menu .dropdown-item {
    background-color: transparent !important;
    padding: 10px 15px !important;
    border-bottom: 1px solid #f0f0f0;
  }

  /* Add arrow to indicate submenu on mobile and handle rotation */
  .dropdown-submenu  .dropdown-item {
    position: relative;
    padding-right: 40px !important;
  }
  
  .dropdown-submenu > .dropdown-item::after {
    content: "\f078"; /* fa-chevron-down */
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    position: absolute;
    right: 20px;
    font-size: 12px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
  }

  .dropdown-submenu.show-submenu > .dropdown-item::after {
    transform: translateY(-50%) rotate(180deg);
  }
}



/* Shared Styles for Links & Items */
.mega-menu-left a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    border-radius: 4px;
    transition: all 0.2s;
    position: relative;
    cursor: pointer;
}

.mega-menu-left a::after {
    content: '\f061';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.2s ease-in-out;
    color: #007bff;
}

.mega-menu-left a:hover, .mega-menu-left a.active { 
    color: #007bff; 
    background-color: #f0f7ff;
    font-weight: 600;
}

.mega-menu-left a:hover::after, .mega-menu-left a.active::after {
    opacity: 1;
    transform: translateX(0);
}

.mega-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none !important;
    color: #444 !important;
    transition: background 0.2s;
    position: relative;
}

.mega-menu-item:hover { 
    background: #f5f8ff; 
    color: #007bff !important; 
}