/* Global styles for PoliSync */
:root {
  --primary-color: #0f4c81;
  --text-color: #1f2937;
  --background-color: #ffffff;
  --border-color: #e5e7eb;
  --text-muted: #6b7280;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--background-color);
}

main {
  min-height: calc(100vh - 140px);
}

/* Focus styles for accessibility */
*:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

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

/* Footer styles */
footer {
  text-align: center;
  padding: 2rem;
  background: #f9fafb;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-links {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  width: 100%;
}

.footer-links a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.social-media-links {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  width: 100%;
}

.social-media-links a {
  color: var(--text-color);
  text-decoration: none;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.social-media-links a:hover {
  color: var(--primary-color);
  background: #f3f4f6;
}

.social-media-links i {
  font-size: 24px;
  vertical-align: middle;
}

/* Utility classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Button utilities */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background: #0d3f6b;
  border-color: #0d3f6b;
  transform: translateY(-1px);
}

.btn-secondary {
  background: white;
  color: var(--text-color);
  border-color: #d1d5db;
}

.btn-secondary:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  footer {
    padding: 1.5rem 1rem;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .social-media-links {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    text-align: center;
  }
}

/* Hero section critical styles */
.hero {
  background: linear-gradient(to bottom, #f9fafb, #ffffff);
  padding: 7rem 0 6rem;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-text {
  font-size: 1.5rem;
  max-width: 800px;
  margin: 0 auto 2.5rem;
  color: #4b5563;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .hero {
    padding: 4rem 0 3rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-text {
    font-size: 1.25rem;
  }
}