/* Additional CSS for ensuring cross-platform compatibility */

/* Reset for consistent rendering across browsers */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Ensure images are responsive and don't overflow containers */
img {
  max-width: 100%;
  height: auto;
}

/* Improve mobile responsiveness */
@media (max-width: 768px) {
  .container {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .nav-menu {
    flex-direction: column;
  }
  
  .footer-content {
    flex-direction: column;
  }
  
  .footer-links {
    flex-direction: column;
  }
  
  .case-study-filters {
    flex-wrap: wrap;
  }
  
  .filter-btn {
    margin-bottom: 10px;
  }
  
  .case-studies {
    grid-template-columns: 1fr;
  }
  
  .competencies-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }
}

/* Ensure form elements are consistent across platforms */
input, 
select, 
textarea, 
button {
  font-family: inherit;
  font-size: inherit;
}

/* Ensure proper display on Hostinger and Netlify */
.hostinger-compatibility {
  /* Specific fixes for Hostinger if needed */
}

.netlify-compatibility {
  /* Specific fixes for Netlify if needed */
}

/* Ensure proper display of language selector across platforms */
.language-selector select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 8px center;
  padding-right: 30px;
}

/* Ensure proper display of cookie consent across platforms */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}

/* Ensure proper display of case studies filtering across platforms */
.case-studies {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

/* Ensure proper display of testimonials across platforms */
.testimonial-slider {
  position: relative;
  overflow: hidden;
}

/* Ensure proper display of hero section across platforms */
.hero {
  background-position: center;
  background-size: cover;
}

/* Ensure proper display of advanced capabilities section across platforms */
.advanced-capabilities {
  background-position: center;
  background-size: cover;
}

/* Ensure proper display of CTA section across platforms */
.cta {
  background-position: center;
  background-size: cover;
}
