/* FOOTER - Desktop Only */
.main-footer {
  display: block;
  background: #ffffff;
  padding: 15px 20px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  border-top: 1px solid #e0e0e0;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
}

/* Add padding to body to account for fixed footer - Desktop only */
@media (min-width: 769px) {
  body {
    padding-bottom: 70px;
  }
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.footer-links a {
  color: #0066cc;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #0052a3;
  text-decoration: underline;
}

.footer-copyright {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #666;
  font-size: 0.9rem;
}

/* Contact Modal */
.contact-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10006;
  justify-content: center;
  align-items: center;
}

.contact-modal-overlay.active {
  display: flex;
}

.contact-modal-box {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  position: relative;
}

.contact-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #ffffff;
  border: 2px solid #0066cc;
  font-size: 20px;
  color: #0066cc;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  line-height: 1;
  font-weight: bold;
}

.contact-modal-close:hover {
  background: #0066cc;
  color: #ffffff;
}

.contact-modal-title {
  margin: 0 0 20px 0;
  color: #333;
  font-size: 1.5rem;
  font-weight: 700;
  padding-right: 40px;
}

.contact-form-group {
  margin-bottom: 20px;
  width: 100%;
  box-sizing: border-box;
}

.contact-form-group label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 500;
  font-size: 0.95rem;
  width: 100%;
}

.contact-form-group input,
.contact-form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 1rem;
  font-family: 'Segoe UI', Arial, sans-serif;
  box-sizing: border-box;
  transition: border-color 0.2s;
  display: block;
}

.contact-form-group input:focus,
.contact-form-group textarea:focus {
  outline: none;
  border-color: #0066cc;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.contact-form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form-submit {
  width: 100%;
  padding: 12px 24px;
  background: #0066cc;
  color: #ffffff;
  border: 2px solid #0066cc;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.contact-form-submit:hover {
  background: #0052a3;
  border-color: #0052a3;
}

.contact-form-submit:disabled {
  background: #ccc;
  border-color: #ccc;
  cursor: not-allowed;
}

.contact-form-status {
  margin-top: 15px;
  padding: 10px;
  border-radius: 6px;
  text-align: center;
  font-size: 0.9rem;
  display: none;
}

.contact-form-status.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  display: block;
}

.contact-form-status.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  display: block;
}

/* Hide footer on mobile */
@media (max-width: 768px) {
  .main-footer {
    display: none !important;
  }
  body {
    padding-bottom: 0 !important;
  }
}
