/* Alliance Chargeback Custom Overrides */

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* ============================================
   FIX 1: About Section - prevent image overlap
   ============================================ */
.about_section_three .about_img {
  position: relative;
  overflow: visible;
}

.about_section_three .about_img .about_img2 {
  position: relative !important;
  right: auto !important;
  bottom: auto !important;
  margin-top: 20px;
  max-width: 70%;
  z-index: 2;
}

.about_section_three .about_content_three .about_area_content {
  position: relative;
  z-index: 3;
}

.about_section_three .about_content_three .about_listitem {
  padding-left: 0 !important;
}

/* ============================================
   FIX 2: Partner/Client Logos - consistent sizing
   ============================================ */
.client_list ul li img {
  max-height: 45px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.client_list ul li img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ============================================
   FIX 3: Steps/How It Works - fix Step display
   ============================================ */
.pricing_plan_content.popular_plan {
  position: relative;
  overflow: hidden;
}

.pricing_plan_content.popular_plan .popular_plan_bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.pricing_plan_content.popular_plan .popular_plan_bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pricing_plan_content.popular_plan .pricing_icon,
.pricing_plan_content.popular_plan .pricing_price,
.pricing_plan_content.popular_plan .pricing_text {
  position: relative;
  z-index: 2;
}

/* ============================================
   FIX 4: Map/Contact Section - fix layout shift
   ============================================ */
.map_area_section {
  position: relative;
  overflow: visible;
}

.map_area_section #google-map {
  min-height: 350px;
}

.contact_address_info {
  position: relative !important;
  bottom: auto !important;
  right: auto !important;
  max-width: 100% !important;
  width: 100% !important;
  padding: 50px 30px !important;
  background: #fff;
}

.contact_address_info .contact_info_content {
  width: auto !important;
}

.contact_address_info .contact_details {
  max-width: 100% !important;
  line-height: 2.2;
}

/* ============================================
   FIX 5: Footer - Remove map pin background
   ============================================ */
.footer_section_3,
.footer_section_4 {
  background-image: none !important;
  background-color: #fff !important;
}

.footer_section_3 .background_overlay,
.footer_section_4 .background_overlay {
  background-color: transparent !important;
}

/* Footer text colors for white background */
.footer_section_3 .widget_title {
  color: #222 !important;
}

.footer_section_3 .widget_footer_text,
.footer_section_3 .practice_list li,
.footer_section_3 .practice_list li a {
  color: #555 !important;
}

.footer_section_3 .practice_list li:hover,
.footer_section_3 .practice_list li:hover a {
  color: #c8a157 !important;
}

.footer_section_3 .latest-blog-widget .blog-text h4,
.footer_section_3 .latest-blog-widget .blog-text h4 a {
  color: #333 !important;
}

.footer_section_3 .latest-blog-widget .blog-text .blog-meta,
.footer_section_3 .latest-blog-widget .blog-text .blog-meta i {
  color: #c8a157 !important;
}

/* Footer border separator */
.footer_section_3 {
  border-top: 1px solid #eee;
  padding-top: 60px;
}

/* Copyright bar */
.footer_copyright.copyright_3 {
  background-color: #1a1a2e !important;
  border-top: none;
}

.footer_copyright.copyright_3 .copyright_text,
.footer_copyright.copyright_3 .copyright_text a {
  color: #aaa;
}

.footer_copyright.copyright_3 .footer_logo a {
  color: #c8a157 !important;
}

.footer_copyright.copyright_3 .footer_social ul li a {
  color: #aaa;
}

.footer_copyright.copyright_3 .footer_social ul li a:hover {
  color: #c8a157;
}

/* ============================================
   FIX 6: Navbar - logo, phone number & flag icons
   ============================================ */
.header_style_theree .site_logo {
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.header_style_theree .site_logo a {
  display: flex;
  align-items: center;
  line-height: normal;
}

.header_style_theree .site_logo img {
  height: 24px !important;
  width: auto !important;
  max-width: 100%;
}

.header_style_theree .call_to_quote .call_number {
  font-size: 16px !important;
  letter-spacing: 0;
}

.header_style_theree .call_to_quote span {
  font-size: 11px !important;
}

.lang-flag {
  width: 20px;
  height: 14px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
  border-radius: 2px;
}

.main_navigation ul li .lang-flag {
  width: 20px;
  height: 14px;
  vertical-align: middle;
  margin-right: 4px;
}

/* ============================================
   Responsive Fixes
   ============================================ */
@media (max-width: 991px) {
  .about_section_three .about_img2 {
    position: relative;
    bottom: auto;
    right: auto;
    max-width: 60%;
    margin-top: 15px;
  }

  .contact_address_info {
    position: relative !important;
    width: 100% !important;
  }
}

@media (max-width: 767px) {
  .container {
    max-width: 100%;
    overflow-x: hidden;
  }

  .slider_section,
  .slider_priview,
  .slider_contect_box,
  .slider_priview_img,
  .water_print,
  .net_shape {
    max-width: 100vw;
    overflow: hidden;
  }

  .water_print {
    font-size: 60px !important;
    opacity: 0.03;
  }

  .slider_priview_img img {
    max-width: 100%;
    height: auto;
  }

  .call_action_list ul {
    flex-wrap: wrap;
  }

  .call_action_list ul li {
    width: 50%;
    min-width: auto;
  }

  .contact_address_info {
    position: relative !important;
    width: 100% !important;
  }

  .contact_address_info .row {
    margin: 0;
  }

  .video_img_area {
    overflow: hidden;
  }

  .about_progress {
    position: relative !important;
    float: none !important;
  }

  .skill_left_img {
    display: none;
  }

  .shape_pattern_3 {
    display: none;
  }

  .testimonial_side_img {
    display: none;
  }

  .slider_side_btn {
    display: none;
  }

  .line_animation {
    display: none;
  }

  .breadcrumb_watermark {
    font-size: 40px !important;
  }

  .faq_topic ul {
    flex-wrap: wrap;
  }

  .faq_topic ul li {
    width: 33.33%;
  }

  .news_feed_section .row {
    flex-direction: column;
  }

  .estimate_form .row {
    flex-direction: column;
  }

  .pricing_plan .row {
    flex-direction: column;
  }

  .footer_copyright_content .row {
    text-align: center;
  }

  .copyright_text {
    text-align: center !important;
  }

  .footer_social {
    text-align: center;
    margin-bottom: 10px;
  }

  .client_list ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .client_list ul li {
    width: 33%;
    margin-bottom: 10px;
  }

  .sidebar_widget {
    margin-top: 30px;
  }

  .about_section_three .about_img2 {
    display: none;
  }
}

@media (max-width: 480px) {
  .call_action_list ul li {
    width: 100%;
  }

  .faq_topic ul li {
    width: 50%;
  }

  .client_list ul li {
    width: 50%;
  }
}
