/**
 * Modern CSS Enhancements for Quality Assay Cupels
 * Preserves the exact classic aesthetic while ensuring mobile responsiveness,
 * clean typography, and polished UI interactions.
 */

/* Header Top Bar Link Styling */
.mu-header-top-left a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

.mu-header-top-left a:hover {
  color: #f39c12;
}

.mu-top-email, .mu-top-phone {
  display: inline-block;
  vertical-align: middle;
}

/* Brand Logo Mobile Optimization */
.navbar-brand img {
  max-height: 52px;
  width: auto;
  display: block;
}

/* Feature List Clean Typography (Replaces inline style overrides) */
.qac-content-list {
  list-style: none;
  padding: 0;
  margin: 15px 0 30px;
}

.qac-content-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  text-align: justify;
}

.qac-content-list li::before {
  content: "\f00c";
  font-family: "FontAwesome";
  position: absolute;
  left: 0;
  top: 2px;
  color: #007bff;
  font-size: 14px;
}

.qac-content-list li a {
  color: #444;
  cursor: default;
}

/* Modernized Section Headings */
.section-heading h2 {
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

/* Responsive Table Wrapper */
.table-responsive-card {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 20px 0 30px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.table-responsive-card table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
}

/* Image Polish */
.qac-responsive-img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

/* Contact and Inquiry Form Polish */
.contactform .form-control,
.contactform input[type="text"],
.contactform input[type="email"],
.contactform textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.contactform input[type="text"]:focus,
.contactform input[type="email"]:focus,
.contactform textarea:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
}

.contactform .mu-post-btn {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 10px 24px;
  font-weight: 600;
  font-size: 15px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
}

.contactform .mu-post-btn:hover {
  background-color: #0056b3;
}

.contactform .mu-post-btn:active {
  transform: scale(0.98);
}

/* Form Alert Notifications */
.form-alert {
  padding: 12px 16px;
  border-radius: 4px;
  margin-bottom: 20px;
  font-size: 14px;
}

.form-alert-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-alert-danger {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}
