/* Reset & base */
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f0f4f8;
  color: #1a1a1a;
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: #004080;
  text-decoration: underline;
}
/* Header */
header {
  position: sticky;
  top: 0;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 2rem;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  flex-wrap: wrap;
}
.logo {
  color: #004080;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  display: flex;
  align-items: center;
  min-width: 0;
}
.logo img {
  height: 60px;
  max-width: 100%;
  vertical-align: middle;
  margin-right: 12px;
  width: auto;
}
nav {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}
nav a {
  color: #004080;
  font-weight: 600;
  padding: 0.3rem 0.5rem;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  font-size: 1rem;
}
nav a:hover,
nav a.active {
  background-color: #f0f4f8;
  color: #003366;
  text-decoration: none;
}
@media (max-width: 900px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 1rem;
  }
  nav {
    margin-top: 0.5rem;
  }
  .logo img {
    height: 48px;
  }
}
@media (max-width: 600px) {
  .logo img {
    height: 36px;
  }
  nav {
    gap: 0.7rem;
  }
}
@media (max-width: 400px) {
  .logo {
    font-size: 1rem;
  }
  .logo img {
    height: 28px;
    margin-right: 6px;
  }
  nav a {
    font-size: 0.9rem;
  }
}
/* Main container */
.container {
  max-width: 600px;
  margin: 3rem auto 6rem;
  padding: 0 1.25rem;
  padding-bottom: 1rem; /* add or reduce to 1rem */
}
/* Heading */
h1 {
  color: #004080;
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 700;
}
/* Contact form */
form {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 64, 128, 0.1);
}
label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333;
}
input,
textarea {
  width: 100%;
  padding: 0.6rem 0.8rem;
  margin-bottom: 1.3rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  resize: vertical;
  font-family: inherit;
}
input:focus,
textarea:focus {
  border-color: #004080;
  outline: none;
  box-shadow: 0 0 6px rgba(0, 64, 128, 0.3);
}
/* Stylish Send Message Button */
.send-btn {
  background: #004080;
  color: #fff;
  font-weight: 700;
  padding: 0.9rem 2.5rem;
  border: none;
  border-radius: 50px 10px 50px 10px;
  font-size: 1.15rem;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  box-shadow: 0 4px 16px rgba(0, 64, 128, 0.18);
  margin-top: 0.5rem;
  outline: none;
  position: relative;
  overflow: hidden;
}
.send-btn::after {
  content: "➤";
  margin-left: 12px;
  font-size: 1.2em;
  vertical-align: middle;
  transition: margin-left 0.2s;
}
.send-btn:hover,
.send-btn:focus {
  background: #0073e6;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 24px rgba(0, 64, 128, 0.25);
}
.send-btn:hover::after,
.send-btn:focus::after {
  margin-left: 20px;
}
/* Contact info */
.contact-info {
  margin-top: 2rem;
  font-size: 1rem;
  color: #555;
  text-align: center;
}
.contact-flex {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  align-items: stretch;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.contact-form, .contact-info {
  flex: 1 1 340px;
  min-width: 320px;
  max-width: 480px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(30, 41, 59, 0.08);
  padding: 2.2rem 2rem 2rem 2rem;
  margin-bottom: 0;
  transition: box-shadow 0.3s, transform 0.3s;
}

@media (max-width: 900px) {
  .contact-flex {
    flex-direction: column;
    gap: 1.5rem;
    align-items: stretch;
  }
  .contact-form, .contact-info {
    max-width: 100%;
    min-width: 0;
    margin: 0 auto;
  }
}
/* Footer */
footer {
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: 0.9rem;
  color: #777;
  background-color: #f0f4f8;
  border-top: 1px solid #ddd;
}
