/* Logo Container and Size Overrides - Add this CSS file after your main stylesheet */

/* Increase the width of the logo container div (more reasonable) */
.cs_main_header_left {
  width: 280px !important;
  min-width: 280px !important;
  flex: 0 0 280px !important;
}

/* Make the logo itself slightly larger (not too much) */
.cs_main_header_left .cs_site_branding img {
  transform: scale(0.8) !important;
  transform-origin: center !important;
}

/* Responsive container widths (smaller, more reasonable) */
@media (min-width: 1601px) {
  .cs_main_header_left {
    width: 320px !important;
    min-width: 320px !important;
    flex: 0 0 320px !important;
  }
  .cs_main_header_left .cs_site_branding img {
    transform: scale(0.5) !important;
  }
}

@media (min-width: 1200px) and (max-width: 1600px) {
  .cs_main_header_left {
    width: 300px !important;
    min-width: 300px !important;
    flex: 0 0 300px !important;
  }
  .cs_main_header_left .cs_site_branding img {
    transform: scale(0.5) !important;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .cs_main_header_left {
    width: 260px !important;
    min-width: 260px !important;
    flex: 0 0 260px !important;
  }
  .cs_main_header_left .cs_site_branding img {
    transform: scale(0.5) !important;
    /* max-height: 60px !important; */
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .cs_main_header_left {
    width: 230px !important;
    min-width: 230px !important;
    flex: 0 0 230px !important;
  }
  .cs_main_header_left .cs_site_branding img {
    transform: scale(0.5) !important;
    /* max-height: 55px !important; */
  }
}

/* For smaller screens, use natural size with height constraints instead of scaling */
@media (min-width: 576px) and (max-width: 767px) {
  .cs_main_header_left {
    width: 200px !important;
    min-width: 200px !important;
    flex: 0 0 200px !important;
  }
  .cs_main_header_left .cs_site_branding img {
    transform: none !important;
    height: 50px !important;
    width: auto !important;
    max-width: 190px !important;
    object-fit: contain !important;
  }
}

@media (max-width: 575px) {
  .cs_main_header_left {
    width: 180px !important;
    min-width: 180px !important;
    flex: 0 0 180px !important;
  }
  .cs_main_header_left .cs_site_branding img {
    transform: none !important;
    height: 45px !important;
    width: auto !important;
    max-width: 170px !important;
    object-fit: contain !important;
  }
}

@media (max-width: 480px) {
  .cs_main_header_left {
    width: 160px !important;
    min-width: 160px !important;
    flex: 0 0 160px !important;
  }
  .cs_main_header_left .cs_site_branding img {
    transform: none !important;
    height: 60px !important;
    width: auto !important;
    max-width: 150px !important;
    object-fit: contain !important;
  }
}

@media (max-width: 360px) {
  .cs_main_header_left {
    width: 140px !important;
    min-width: 140px !important;
    flex: 0 0 140px !important;
  }
  .cs_main_header_left .cs_site_branding img {
    transform: none !important;
    height: 38px !important;
    width: auto !important;
    max-width: 130px !important;
    object-fit: contain !important;
  }
}

/* Alternative approach: Use overflow hidden on container to prevent logo from breaking out */
.cs_main_header_left {
  overflow: hidden !important;
}

.cs_main_header_left .cs_site_branding {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 100% !important;
}

.cs_main_header {
  background-color: white;
}

.cs_footer_contact a {
  text-decoration: none;
}

/* Change title color to white on hover */
.cs_iconbox:hover .cs_iconbox_title {
  color: #fff;
  transition: color 0.3s ease;
}

.cs_iconbox_title {
  color: #000 !important;
}

.cs_hero.cs_style_1 {
  position: relative; /* Ensure overlay positioning works */
  z-index: 0; /* Base layer */
}

.cs_card.cs_style_3.cs_gray_bg.position-relative {
  background-color: #e6e6e8 !important;
}

.cs_footer {
  position: relative;
  background: url("assets/img/mockups/team-of-helpline-operators-with-headsets-consultin-2025-03-18-17-37-38-utc.jpg")
    no-repeat center center/cover;
  color: #fff;
}

.cs_footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(0, 34, 97);
  opacity: 0.85; /* adjust overlay strength */
  z-index: 0;
}

.cs_footer > * {
  position: relative;
  z-index: 1;
}


.dropdown-menu {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* show menu when active */
.dropdown.active .dropdown-menu {
  display: block;
}

/* Small overrides & cleanup for this page only */
    .cs_page_heading { background: linear-gradient(90deg,#0d6efd22,#6c757d11); padding: 50px 0; }
    
    .service-card { border-radius: 12px; padding: 24px; box-shadow: 0 8px 30px rgba(13,110,253,0.06); background: #fff; }
    .feature-icon { font-size: 28px; width: 64px; height:64px; display:flex; align-items:center; justify-content:center; border-radius:12px; background:#f2f6ff; }
  
    /* Responsive tweaks */
    @media (max-width: 768px) {
      .cs_main_header_right { display: none; } /* simplified mobile header - keep default nav if you have a mobile menu script */
    }

    /* Mobile Responsive Fixes - Add this to your custom.css or at the end of your main CSS file */

/* Mobile fixes for screens smaller than 768px */
@media (max-width: 767.98px) {
  
  /* Hero Section Mobile Fixes */
  .cs_page_heading {
    padding-top: 120px !important; /* Add space for fixed navbar */
    padding-bottom: 60px !important;
    min-height: auto !important;
  }
  
  .cs_page_heading .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .cs_page_title {
    font-size: 1.8rem !important;
    line-height: 1.3 !important;
    margin-bottom: 20px !important;
  }
  
  .cs_page_heading .lead {
    font-size: 1rem !important;
    line-height: 1.4 !important;
    margin-bottom: 25px !important;
  }
  
  /* Hero CTA Button Fixes */
  .hero-cta {
    margin-top: 20px !important;
    margin-bottom: 30px !important;
  }
  
  .hero-cta .cs_btn {
    padding: 12px 20px !important;
    font-size: 0.9rem !important;
    width: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  /* Ensure proper spacing after hero */
  .cs_height_60 {
    height: 40px !important;
  }
  
  /* Main Content Mobile Adjustments */
  .container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  
  /* Service Cards Mobile */
  .service-card {
    padding: 15px !important;
    margin-bottom: 15px !important;
    background: #f8f9fa;
    border-radius: 8px;
   
  }
  
  .service-card i {
    font-size: 1.2rem !important;
   
    min-width: 30px !important;
  }
  
  .service-card h5 {
    font-size: 1.1rem !important;
    margin-bottom: 8px !important;
  }
  
  .service-card p {
    font-size: 0.9rem !important;
    margin-bottom: 0 !important;
  }
  
  /* How It Works Section Mobile */
  #how .col-md-4 {
    margin-bottom: 25px !important;
  }
  
  #how i {
    
    margin-bottom: 10px !important;
  }
  
  #how h6 {
    font-size: 1rem !important;
    font-weight: 600 !important;
  }
  
  /* Pricing Cards Mobile */
  
  

  
  /* Sidebar Mobile Adjustments */
  aside {
    margin-top: 40px !important;
  }
  
  .sticky-top {
    position: relative !important;
    top: auto !important;
  }
  
  .contact-cta {
    
    padding: 25px !important;
    border-radius: 8px !important;
    text-align: center !important;
  }
  
  .contact-cta h4 {
   
    margin-bottom: 10px !important;
  }
  
  .contact-cta p {
 
    margin-bottom: 20px !important;
  }
  
  /* Quick Contact Card */
  .service-card h6 {
    color: #333 !important;
 
    padding-bottom: 8px !important;
    margin-bottom: 15px !important;
  }
  
  /* Typography Mobile Adjustments */
  h2 {
    font-size: 1.6rem !important;
    margin-bottom: 20px !important;
  }
  
  h3 {
    font-size: 1.4rem !important;
    margin-bottom: 20px !important;
  }
  
  /* Button Improvements */
  .cs_btn {
    border-radius: 25px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
  }
  
  .cs_btn:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2) !important;
  }
  
  /* Ensure no horizontal scroll */
  body {
    overflow-x: hidden !important;
  }
  
  /* Fix any potential navbar overlap */
  .cs_sticky_header {
    z-index: 1030 !important;
  }
}

/* Extra small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  
  .cs_page_title {
    font-size: 1.5rem !important;
  }
  
  .cs_page_heading {
    padding-top: 100px !important;
    padding-bottom: 40px !important;
  }
  
  .hero-cta .cs_btn {
    font-size: 0.85rem !important;
    padding: 10px 16px !important;
  }
  
  .service-card {
    padding: 12px !important;
  }
  
  .pricing-card {
    padding: 15px !important;
  }
  
  .contact-cta {
    padding: 20px !important;
  }
  
  .cs_page_heading .container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Landscape phone orientation */
@media (max-width: 767.98px) and (orientation: landscape) {
  .cs_page_heading {
    padding-top: 80px !important;
    padding-bottom: 30px !important;
  }
  
  .cs_page_title {
    font-size: 1.6rem !important;
  }
}