/* ========================================
   Premium Header Styles - Enhanced Version
   ======================================== */

/* Top Info Bar */
.cs_top_bar {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 25%, #22c55e 75%, #16a34a 100%);
  color: #ffffff;
  padding: 10px 0;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cs_top_bar_content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.cs_top_bar_left,
.cs_top_bar_right {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

.cs_top_info_item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
}

.cs_top_info_item i {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.cs_top_info_item a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.cs_top_info_item a:hover {
  color: #ffffff;
}

.cs_top_text span {
  font-size: 12px;
  font-weight: 500;
}

.cs_social_links {
  display: flex;
  gap: 12px;
  align-items: center;
}

.cs_social_links a {
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
  font-size: 12px;
  backdrop-filter: blur(10px);
}

.cs_social_links a:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Main Header */
.cs_site_header.cs_premium_header {
  background: #ffffff !important;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 999;
}

.cs_main_header_in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

/* Logo Section with Tagline */
.cs_main_header_left {
  flex: 0 0 auto;
}

.cs_site_branding {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.cs_site_branding img {
  width: 60px;
  max-height: 55px;
  transition: transform 0.3s ease;
}

.cs_site_branding:hover img {
  transform: scale(1.05);
}

.cs_logo_text {
  font-size: 22px;
  color: #0f172a;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-family: 'Jost', sans-serif;
  transition: color 0.3s ease;
}

.cs_site_branding:hover .cs_logo_text {
  color: #22c55e;
}

.cs_logo_tagline {
  font-size: 11px;
  color: #6c757d;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-left: 2px solid #132573;
  padding-left: 12px;
  line-height: 1.4;
}


/* Header Contact Info (Desktop) */
.cs_header_contact_info {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0 15px;
  border-right: 1px solid #e5e5e5;
}

.cs_header_contact_item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cs_header_contact_item i {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #1e40af 0%, #22c55e 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 14px;
}

.cs_contact_details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cs_contact_label {
  font-size: 11px;
  color: #6c757d;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.cs_contact_value {
  font-size: 14px;
  color: #132573;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.cs_contact_value:hover {
  color: #22c55e;
}

/* Premium Button */
.cs_premium_btn {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%) !important;
  padding: 14px 28px !important;
  box-shadow: 0 4px 15px rgba(30, 60, 114, 0.3);
  transition: all 0.3s ease;
}

.cs_premium_btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 60, 114, 0.4);
}

/* Premium Search Button */
.cs_premium_search {
  background: #f8f9fa;
  border: 1px solid #e5e5e5;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.cs_premium_search:hover {
  background: linear-gradient(135deg, #1e40af 0%, #22c55e 100%);
  border-color: transparent;
}

.cs_premium_search:hover svg path {
  stroke: #ffffff;
}

/* Sticky Header Enhancement */
.cs_sticky_header.cs_active {
  background: #ffffff !important;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12) !important;
}

.cs_sticky_header.cs_active .cs_top_bar {
  display: none;
}

/* ========================================
   Mega Menu Styles
   ======================================== */
.cs_mega_menu {
  position: relative;
}

.cs_mega_menu::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 15px;
  background: transparent;
  z-index: 999;
}

.cs_mega_menu:hover::after {
  background: transparent;
}


.cs_mega_menu_content {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 30px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease, margin-top 0.2s ease;
  margin-top: 10px;
  z-index: 1000;
  min-width: 850px;
  border-top: 3px solid #1e40af;
  pointer-events: none;
  display: none;
}

.cs_mega_menu:hover .cs_mega_menu_content {
  opacity: 1;
  visibility: visible;
  margin-top: 15px;
  pointer-events: auto;
  display: block;
}

.cs_mega_menu_inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.cs_mega_menu_column {
  padding: 0;
}

.cs_mega_menu_title {
  font-size: 15px;
  font-weight: 700;
  color: #132573;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 8px;
}


.cs_mega_menu_column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  opacity: 1 !important;
  visibility: visible !important;
  position: static !important;
  width: auto !important;
  box-shadow: none !important;
  background-color: transparent !important;
  display: block !important;
}

.cs_mega_menu_column ul li {
  margin-bottom: 8px;
}

.cs_mega_menu_column ul li a {
  color: #495057;
  text-decoration: none;
  font-size: 14px;
  padding: 8px 12px;
  display: block;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.cs_mega_menu_column ul li a:hover {
  background: #f8f9fa;
  color: #132573;
  padding-left: 16px;
}

.cs_mega_menu_column ul li:last-child a {
  color: #22c55e;
  font-weight: 700;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e9ecef;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cs_mega_menu_column ul li:last-child a:hover {
  background: linear-gradient(135deg, #1e40af 0%, #22c55e 100%);
  color: #ffffff;
  padding-left: 12px;
}

/* Featured Product in Mega Menu */
.cs_mega_menu_featured {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 10px;
  padding: 20px;
}

.cs_featured_product {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  text-align: center;
}

.cs_featured_product img {
  width: 100%;
  max-width: 150px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cs_featured_content h5 {
  font-size: 16px;
  font-weight: 700;
  color: #132573;
  margin: 0 0 5px 0;
}

.cs_featured_content p {
  font-size: 13px;
  color: #6c757d;
  margin: 0 0 8px 0;
}

.cs_featured_category {
  font-size: 11px;
  color: #22c55e;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 10px 0;
}

.cs_featured_link {
  color: #132573;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.cs_featured_link:hover {
  color: #22c55e;
  gap: 8px;
}

/* ========================================
   Desktop Styles - Min Width 992px
   ======================================== */
@media (min-width: 992px) {
  .cs_site_header .cs_main_header .container {
    max-width: 1320px;
  }
  
  .cs_site_header .cs_main_header_in {
    display: grid !important;
    grid-template-columns: auto 1fr auto !important;
    align-items: center !important;
    padding: 18px 0 !important;
    height: auto !important;
    gap: 40px;
  }
  
  .cs_site_header .cs_main_header_left {
    justify-self: start !important;
    display: flex !important;
    align-items: center !important;
  }
  
  .cs_site_branding {
    display: flex !important;
    align-items: center !important;
  }
  
  .cs_site_branding img {
    max-height: 55px !important;
  }
  
  .cs_site_header .cs_main_header_center {
    justify-self: center !important;
    display: flex !important;
    position: relative !important;
    align-items: center !important;
    height: auto !important;
    width: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
    transform: translateX(0) !important;
  }
  
  .cs_site_header .cs_main_header_right {
    justify-self: end !important;
    display: flex !important;
    gap: 18px !important;
    align-items: center !important;
  }
  
  /* Hide mobile elements */
  .cs_mobile_menu_close,
  .cs_flyout_logo,
  .cs_mobile_search,
  .cs_mobile_cta,
  .cs_mobile_menu_overlay,
  .cs_mobile_menu_toggle {
    display: none !important;
  }
  
  .cs_site_header .cs_desktop_cta,
  .cs_site_header .cs_desktop_search,
  .cs_site_header .cs_desktop_only {
    display: inline-flex !important;
  }
  
  .cs_site_header .cs_main_header_center .cs_nav {
    display: block !important;
    position: relative !important;
    width: 100% !important;
  }
  
  .cs_site_header .cs_main_header_center .cs_nav_list {
    display: flex !important;
    flex-direction: row !important;
    gap: 35px !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }
  
  .cs_site_header .cs_main_header_center .cs_nav_list > li {
    display: inline-block !important;
    width: auto !important;
    border: none !important;
    position: relative !important;
  }
  
  .cs_site_header .cs_main_header_center .cs_nav_list > li > a {
    display: inline-block !important;
    padding: 10px 0 !important;
    color: #132573 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    transition: all 0.3s ease !important;
  position: relative;
}

  /* Active page highlight */
  .cs_site_header .cs_nav_list > li.active > a,
  .cs_site_header .cs_nav_list > li > a:hover {
    color: #22c55e !important;
  }
  
  /* Underline effect */
  /* .cs_nav_list > li > a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #1e40af 0%, #22c55e 100%);
    transition: width 0.3s ease;
  } */

  /* .cs_nav_list > li > a:hover::before,
  .cs_nav_list > li.active > a::before {
    width: 100%;
  } */
  
  /* Desktop Button */
  .cs_desktop_cta {
    padding: 12px 28px !important;
    white-space: nowrap !important;
  }
}

/* Mega Menu Indicator - Remove default arrows */
@media (min-width: 992px) {
  .cs_site_header .cs_nav_list > li.menu-item-has-children > a::after,
  .cs_site_header .cs_nav_list > li.cs_mega_menu > a::after {
    content: none !important;
  }
  
  /* Custom modern indicator */
  .cs_site_header .cs_nav_list > li.cs_mega_menu > a {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
  }
  
  .cs_site_header .cs_nav_list > li.cs_mega_menu > a i {
    font-size: 14px;
    color: #22c55e;
    transition: all 0.3s ease;
  }
  
  .cs_site_header .cs_nav_list > li.cs_mega_menu > a:hover i {
    color: #1e40af;
    transform: scale(1.1);
  }
  
  /* .cs_site_header .cs_nav_list > li.cs_mega_menu > a::before {
    content: '';
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #22c55e;
    transition: all 0.3s ease;
    opacity: 0.7;
  }
  
  .cs_site_header .cs_nav_list > li.cs_mega_menu > a:hover::before {
    transform: translateY(-50%) rotate(180deg);
    opacity: 1;
    border-top-color: #1e40af;
  } */
}

/* Right Section */
.cs_main_header_right {
  flex: 0 0 auto;
  display: flex;
  gap: 15px;
  align-items: center;
}

.cs_search_toggle_btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #132573 !important;
  padding: 8px;
  transition: all 0.3s ease;
  border-radius: 50%;
}

.cs_site_header .cs_search_toggle_btn,
.cs_site_header .cs_search_toggle_btn svg {
  color: #132573 !important;
}

.cs_search_toggle_btn:hover {
  background: #f8f9fa;
  color: #0e1d5c;
}

/* Premium Hamburger */
.cs_premium_hamburger {
  display: none;
  background: linear-gradient(135deg, #1e40af 0%, #22c55e 100%);
  border: none;
  cursor: pointer;
  padding: 12px;
  flex-direction: column;
  gap: 5px;
  z-index: 1000;
  position: relative;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(30, 60, 114, 0.2);
}

.cs_premium_hamburger span {
  width: 24px;
  height: 2px;
  background: #ffffff;
  border-radius: 3px;
  transition: all 0.3s ease;
  display: block;
}

.cs_premium_hamburger:hover {
  box-shadow: 0 4px 15px rgba(30, 60, 114, 0.3);
}

.cs_premium_hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.cs_premium_hamburger.active span:nth-child(2) {
  opacity: 0;
}

.cs_premium_hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Styles */
@media (max-width: 991px) {
  /* Hide top bar on mobile */
  .cs_top_bar {
    display: none;
  }
  
  /* Hide desktop contact info */
  .cs_header_contact_info {
    display: none !important;
  }
  
  /* Hide logo tagline on mobile */
  .cs_logo_tagline {
    display: none;
  }
  
  .cs_main_header_in {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 15px 20px !important;
    height: 70px;
  }
  
  .cs_main_header_left {
    flex: 1 1 auto;
    order: 1;
  }
  
  .cs_main_header_right {
    display: flex !important;
    flex: 0 0 auto;
    order: 2;
    gap: 0 !important;
  }
  
  .cs_desktop_cta,
  .cs_desktop_search,
  .cs_desktop_only {
    display: none !important;
  }
  
  .cs_premium_hamburger {
    display: flex !important;
  }
  
  /* Flyout menu - Updated for new mobile menu structure */
  .cs_main_header_center {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    width: 320px !important;
    max-width: 85% !important;
    height: 100vh !important;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 25%, #1e293b 75%, #0f172a 100%) !important;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3) !important;
    z-index: 10001 !important;
    overflow-y: auto !important;
    transform: translateX(100%) !important;
    transition: transform 0.3s ease !important;
    padding: 0 !important;
    will-change: transform;
  }
  
  .cs_main_header_center.cs_active {
    transform: translateX(0) !important;
  }
  
  /* Legacy support for old .active class */
  .cs_main_header_center.active {
    transform: translateX(0) !important;
  }
  
  .cs_flyout_logo {
    display: block !important;
    padding: 25px 25px 20px 25px;
    text-align: center;
    background: linear-gradient(135deg, #1e40af 0%, #22c55e 100%);
    border-bottom: 3px solid rgba(255, 255, 255, 0.1);
  }
  
  .cs_flyout_logo img {
    max-height: 50px;
    filter: brightness(0) invert(1);
  }
  
  .cs_mobile_search {
    display: block !important;
    padding: 20px 25px;
    background: #f8f9fa;
    border-bottom: 1px solid #e5e5e5;
  }
  
  .cs_mobile_search_input {
    width: 100%;
    padding: 14px 50px 14px 18px;
    border: 2px solid #d0d0d0;
    border-radius: 50px;
    font-size: 14px;
    background: #ffffff;
  }
  
  .cs_mobile_search_input:focus {
    border-color: #132573;
    box-shadow: 0 2px 8px rgba(19, 37, 115, 0.1);
  }
  
  .cs_mobile_search_btn {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #1e40af 0%, #22c55e 100%);
    color: #ffffff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
  }
  
  .cs_mobile_menu_close {
    position: absolute;
    top: 30px;
    right: 25px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    font-size: 24px;
    color: #ffffff;
    cursor: pointer;
    padding: 8px 12px;
    line-height: 1;
    z-index: 10002;
    border-radius: 6px;
    backdrop-filter: blur(10px);
  }
  
  .cs_mobile_menu_close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
  }
  
  .cs_main_header_center .cs_nav_list {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 15px 0 !important;
  }
  
  .cs_nav_list > li {
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
  }
  
  .cs_nav_list > li > a {
    padding: 16px 25px !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #132573 !important;
  }
  
  .cs_nav_list > li > a i {
    margin-right: 10px;
    font-size: 16px;
    color: #22c55e;
  }
  
  .cs_nav_list > li > a:hover {
    background: #f8f9fa;
    padding-left: 30px !important;
  }
  
  /* Mobile mega menu becomes accordion */
  .cs_mega_menu_content {
    position: static !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: #f8f9fa !important;
    border-radius: 0 !important;
    display: none;
    min-width: auto !important;
    border: none !important;
  }
  
  .cs_mega_menu.mobile-dropdown-open .cs_mega_menu_content {
    display: block !important;
  }
  
  .cs_mega_menu_inner {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    padding: 10px 0;
  }
  
  .cs_mega_menu_column {
    padding: 10px 25px;
  }
  
  .cs_mega_menu_title {
    font-size: 13px;
    margin-bottom: 10px;
    padding-bottom: 8px;
  }
  
  .cs_mega_menu_column ul li a {
    padding: 10px 15px;
    font-size: 13px;
  }
  
  .cs_mega_menu_featured {
    background: #ffffff;
    padding: 15px;
    margin: 10px 25px;
    border-radius: 8px;
  }
  
  .cs_featured_product {
    flex-direction: row;
    gap: 12px;
    text-align: left;
  }
  
  .cs_featured_product img {
    max-width: 80px;
  }
  
  .cs_featured_content {
    flex: 1;
  }
  
  .menu-item-has-children > a::after,
  .cs_mega_menu > a::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 14px;
    transition: transform 0.3s ease;
    color: #132573 !important;
  }
  
  .menu-item-has-children.mobile-dropdown-open > a::after,
  .cs_mega_menu.mobile-dropdown-open > a::after {
    transform: rotate(180deg);
  }
  
  .cs_mobile_cta {
    display: block !important;
    padding: 25px 25px 30px 25px;
    margin-top: 15px;
    /* border-top: 2px solid #e5e5e5; */
  }
  
  .cs_mobile_cta .cs_btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 16px 20px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%) !important;
    box-shadow: 0 4px 12px rgba(30, 60, 114, 0.3);
    display: flex !important;
  }
  
  .cs_mobile_menu_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
  }
  
  .cs_mobile_menu_overlay.active {
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 768px) {
  .cs_site_branding img {
    max-height: 48px;
  }
  
  .cs_logo_text {
    font-size: 16px;
    letter-spacing: 1px;
  }
  
  .cs_main_header_in {
    padding: 14px 18px !important;
    height: 68px;
  }
  
  .cs_premium_hamburger {
    padding: 10px !important;
  }
  
  .cs_premium_hamburger span {
    width: 22px;
  }
  
  .cs_main_header_center {
    width: 300px !important;
  }
  
  /* Hide top bar items on small mobile */
  .cs_top_bar_left .cs_top_info_item:last-child,
  .cs_top_text {
    display: none;
  }
}

@media (max-width: 576px) {
  .cs_site_branding img {
    max-height: 42px;
  }
  
  .cs_logo_text {
    font-size: 14px;
    letter-spacing: 0.8px;
  }
  
  .cs_main_header_in {
    padding: 12px 16px !important;
    height: 64px;
  }
  
  .cs_premium_hamburger {
    padding: 9px !important;
  }
  
  .cs_premium_hamburger span {
    width: 20px;
  }
  
  .cs_main_header_center {
    width: 280px !important;
    max-width: 88% !important;
  }
  
  .cs_top_bar {
    font-size: 11px;
    padding: 8px 0;
  }
  
  .cs_top_info_item {
    gap: 6px;
  }
  
  .cs_social_links {
    gap: 8px;
  }
  
  .cs_social_links a {
    width: 24px;
    height: 24px;
    font-size: 11px;
  }
}

/* Scroll Progress Indicator */
.cs_scroll_progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #1e40af 0%, #22c55e 50%, #1e40af 100%);
  z-index: 10000;
  transition: width 0.1s ease;
}

/* ========================================
   Desktop vs Mobile Navigation Control
   ======================================== */

/* Desktop Navigation - Show on desktop, hide on mobile */
.cs_desktop_only {
  display: block;
}

@media (max-width: 991px) {
  .cs_desktop_only {
    display: none !important;
  }
}

/* Mobile Menu Content - Hidden by default, show only when mobile menu is active */
.cs_mobile_menu_content {
  display: none;
  padding: 60px 20px 20px 20px;
  height: 100%;
  overflow-y: auto;
  position: relative;
  z-index: 1;
}

.cs_main_header_center.cs_active .cs_mobile_menu_content {
  display: block;
}

/* Mobile Menu Close Button */
.cs_mobile_menu_close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10002;
  transition: all 0.3s ease;
}

.cs_mobile_menu_close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

/* Mobile Menu Overlay */
.cs_mobile_menu_overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cs_mobile_menu_overlay.cs_active {
  opacity: 1;
  visibility: visible;
}

body.cs_mobile_menu_open {
  overflow: hidden;
}

/* Desktop - Hide mobile elements */
@media (min-width: 992px) {
  .cs_mobile_menu_close {
    display: none;
  }
}

/* ========================================
   New Mobile Menu Styles - Clean & Modern
   ======================================== */

/* Mobile Menu Header */
.cs_mobile_menu_header {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}

.cs_mobile_logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cs_mobile_logo a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #ffffff;
}

.cs_mobile_logo img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 8px;
}

.cs_mobile_logo_text {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1px;
}

/* Mobile Navigation */
.cs_mobile_nav {
  margin-bottom: 30px;
}

.cs_mobile_nav_list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cs_mobile_nav_item {
  margin-bottom: 8px;
}

.cs_mobile_nav_link {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 16px 20px;
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.cs_mobile_nav_link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.1) 0%, rgba(34, 197, 94, 0.1) 100%);
  transition: left 0.3s ease;
  z-index: -1;
}

.cs_mobile_nav_link:hover::before {
  left: 0;
}

.cs_mobile_nav_link:hover {
  color: #ffffff;
  transform: translateX(5px);
}

.cs_mobile_nav_link i {
  font-size: 18px;
  width: 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  flex-shrink: 0;
}

.cs_mobile_nav_link:hover i {
  color: #ffffff;
}

/* Mobile Dropdown */
.cs_mobile_dropdown_toggle {
  justify-content: space-between;
}

.cs_mobile_dropdown_toggle span {
  flex: 1;
}

.cs_dropdown_arrow {
  font-size: 14px;
  transition: transform 0.3s ease;
  color: rgba(255, 255, 255, 0.6);
}

.cs_mobile_dropdown.active .cs_dropdown_arrow {
  transform: rotate(180deg);
}

.cs_mobile_dropdown_menu {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  margin-top: 8px;
  position: relative;
  z-index: 1;
}

.cs_mobile_dropdown.active .cs_mobile_dropdown_menu {
  max-height: 500px;
}

.cs_mobile_dropdown_menu li {
  margin: 0;
}

.cs_mobile_dropdown_menu a {
  display: block;
  padding: 12px 20px 12px 55px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
    font-size: 14px;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.cs_mobile_dropdown_menu a:hover {
  color: #ffffff;
  background: rgba(30, 64, 175, 0.1);
  border-left-color: #1e40af;
  padding-left: 60px;
}

.cs_mobile_submenu_title {
  padding: 12px 20px 8px 55px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(34, 197, 94, 0.9);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 10px;
}

.cs_mobile_submenu_title:first-child {
  margin-top: 0;
}

.cs_view_all {
  font-weight: 600;
  color: #22c55e !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 8px;
}

.cs_view_all:hover {
  color: #16a34a !important;
  background: rgba(34, 197, 94, 0.1) !important;
  border-left-color: #22c55e !important;
}

/* Mobile Contact Info */
.cs_mobile_contact_info {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}

.cs_mobile_contact_item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.cs_mobile_contact_item:hover {
  color: #ffffff;
  background: rgba(30, 64, 175, 0.1);
  border-radius: 8px;
}

.cs_mobile_contact_item i {
  font-size: 16px;
  width: 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

.cs_mobile_contact_item a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
}

.cs_mobile_contact_item:hover a {
  color: #ffffff;
}

/* Mobile CTA Button */
.cs_mobile_cta {
  padding: 0 20px 20px;
}

.cs_mobile_cta_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(135deg, #1e40af 0%, #22c55e 100%);
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.cs_mobile_cta_btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30, 64, 175, 0.4);
  color: #ffffff;
}

.cs_mobile_cta_btn i {
  font-size: 18px;
}

/* Mobile Menu Responsive Adjustments */
@media (max-width: 576px) {
  .cs_mobile_logo_text {
    font-size: 16px;
  }
  
  .cs_mobile_logo img {
    width: 45px;
    height: 45px;
  }
  
  .cs_mobile_nav_link {
    padding: 14px 16px;
    font-size: 15px;
  }
  
  .cs_mobile_dropdown_menu a {
    padding: 10px 16px 10px 50px;
  }
  
  .cs_mobile_submenu_title {
    padding: 10px 16px 6px 50px;
  }
  
  .cs_mobile_contact_item {
    padding: 10px 16px;
  }
  
  .cs_mobile_cta {
    padding: 0 16px 16px;
  }
  
  .cs_mobile_cta_btn {
    padding: 14px 20px;
    font-size: 15px;
  }
}

/* Additional Header Responsive Styles */
@media (max-width: 1199px) {
  .cs_site_header.cs_style_1 .cs_main_header_right {
    padding: 0 !important;
  }
}
