/* Base layout */
html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

main {
  flex: 1;
}

/* Focus states for accessibility */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* Footer */
footer {
  width: 100%;
  padding: 12px 0;
  font-size: 0.9rem;
  color: #6c757d;
  background-color: #f8f9fa;
  text-align: center;
}

/* Social icons */
.social-icons {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.social-icon {
  width: 32px;
  height: 32px;
  margin: 0 6px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-icon:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

@media (max-width: 576px) {
  .social-icon {
    width: 24px;
    height: 24px;
  }
  footer {
    padding-bottom: 20px;
  }
}

/* Division blocks */
.division {
  background-color: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  padding: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.division:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Color-coded headers per division */
.division-it h3, .division-it h4 {
  color: #007bff; /* Blue for IT */
}

.division-fabrication h3, .division-fabrication h4 {
  color: #6c757d; /* Grey for Fabrication */
}

.division-office h3, .division-office h4 {
  color: #28a745; /* Green for Office Equipment */
}

.division-supply h3, .division-supply h4 {
  color: #fd7e14; /* Orange for Supply & Delivery */
}

.division ul li {
  margin-bottom: 6px;
}

/* Contact form styling */
.contact-form {
  background-color: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  padding: 20px;
  margin-top: 20px;
}

.contact-form .form-label {
  font-weight: 600;
}

.contact-form button {
  background-color: #007bff;
  border: none;
}

.contact-form button:hover {
  background-color: #0056b3;
}
