/* Content Fixes and Improvements */

/* Fix common content issues */
.content-fixes {
  /* Typography improvements */
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
}

/* Fix inconsistent spacing */
.inner-section {
  margin-bottom: 40px;
}

.inner-section:last-child {
  margin-bottom: 0;
}

/* Improve readability */
.inner-section p {
  margin-bottom: 20px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
}

/* Fix heading hierarchy */
.inner-section h2 {
  color: var(--primary-blue);
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 24px;
  margin-top: 40px;
}

.inner-section h3 {
  color: var(--primary-blue);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  margin-top: 32px;
}

.inner-section h4 {
  color: var(--primary-blue);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  margin-top: 24px;
}

/* Fix list styling */
.inner-section ul, .inner-section ol {
  margin: 20px 0;
  padding-left: 24px;
}

.inner-section li {
  margin-bottom: 8px;
  color: var(--text-secondary);
}

/* Fix image styling */
.inner-section img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
}

/* Fix link styling */
.inner-section a {
  color: var(--primary-orange);
  text-decoration: none;
  font-weight: 500;
}

.inner-section a:hover {
  color: var(--primary-blue);
  text-decoration: underline;
}

/* Fix button consistency */
.consultation-btn, .btns1 a, .button.big {
  background: var(--primary-orange);
  color: white;
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.consultation-btn:hover, .btns1 a:hover, .button.big:hover {
  background: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Fix form styling */
iframe {
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Fix contact information styling */
.call_us, .follow_us {
  background: white;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 24px;
}

.call_us h3, .follow_us h3 {
  color: var(--primary-blue);
  margin-bottom: 16px;
}

.call_us p {
  font-size: 16px;
  margin-bottom: 8px;
}

/* Fix social icons */
.social-icon a {
  display: inline-block;
  margin-right: 12px;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-icon .fa-facebook {
  background: #1877f2;
  color: white;
}

.social-icon .fa-twitter {
  background: #1da1f2;
  color: white;
}

.social-icon .fa-linkedin {
  background: #0077b5;
  color: white;
}

.social-icon a:hover {
  transform: scale(1.1);
}

/* Fix service grid on AWS and other service pages */
.col-md-4 {
  margin-bottom: 32px;
}

.col-md-4 h4 {
  color: var(--primary-blue);
  font-size: 20px;
  font-weight: 600;
  margin: 16px 0;
  text-align: center;
}

.col-md-4 p {
  text-align: left;
  line-height: 1.6;
  color: var(--text-secondary);
}

.col-md-4 img {
  display: block;
  margin: 0 auto 16px auto;
  max-width: 80px;
  height: auto;
}

/* Fix banner styling issues */
#banner1, .page-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
  color: white;
  text-align: center;
  padding: 120px 0 80px 0;
  margin-top: 0;
}

#banner1 h2, .page-banner h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  margin-bottom: 16px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Fix content width and centering */
.containers, .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Fix responsive issues */
@media (max-width: 768px) {
  .inner-section h2 {
    font-size: 28px;
  }
  
  .inner-section h3 {
    font-size: 22px;
  }
  
  .inner-section h4 {
    font-size: 18px;
  }
  
  .col-md-4 {
    margin-bottom: 24px;
  }
  
  .consultation-btn, .btns1 a, .button.big {
    padding: 12px 24px;
    font-size: 14px;
  }
}

/* Fix accessibility issues */
img[alt=""] {
  alt: "Decorative image";
}

/* Ensure proper focus states */
a:focus, button:focus {
  outline: 2px solid var(--primary-orange);
  outline-offset: 2px;
}

/* Fix text contrast issues */
.text-light {
  color: #666666;
}

.text-dark {
  color: #333333;
}

/* Fix spacing issues */
br + br {
  display: none;
}

/* Remove excessive line breaks */
p + br + br + p {
  margin-top: 0;
}

/* Fix empty div issues */
div:empty {
  display: none;
}