/* Reset and base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f9fafb; /* from first stylesheet */
  color: #333;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  color: #007BFF;
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover, a:focus {
  color: #0056b3;
  text-decoration: underline;
  outline: none;
}

/* Container */
.contact-container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem; /* from second stylesheet */
}

/* Main container */
main.contact-container {
  flex-grow: 1;
  padding: 2rem 0;
  background: #fff;
  box-shadow: 0 0 8px rgba(0,0,0,0.05);
  border-radius: 6px;
  margin-bottom: 2rem;
  text-align: center;
}

/* Contact Section */
.contact h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #1e3a8a;
}

ul.contact-links,
.social-icons {
  list-style: none;
  padding: 0;
  margin: 1.5rem auto;
  max-width: 400px;
}

ul.contact-links li,
.social-icons li {
  margin: 1rem 0;
}

ul.contact-links li a {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: #1e3a8a;
  color: white;
  font-weight: 600;
  border-radius: 6px;
  box-shadow: 0 3px 8px rgba(30, 58, 138, 0.3);
  transition: background-color 0.3s ease, transform 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

ul.contact-links li a:hover {
  background-color: #163070;
  transform: scale(1.05);
}

.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0 auto;
}

.social-icons li {
  display: flex;
  justify-content: center;
  align-items: center;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1e3a8a;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.social-icons a:hover {
  background: #2563eb;
  transform: scale(1.1);
}

.social-icons a img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}
