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

html, body {
  width: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: #ffffff;
  color: #000;
  overflow-x: hidden;
  padding-top: 80px; /* Offsets top nav */
}

/* Fixed Top Navigation Bar */
.Top-Nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: #ffffff;
  border-bottom: 1px solid #eaeeef;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  z-index: 1000;
  display: flex;
  align-items: center;
}

/* Inner Layout Alignment */
.nav-container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Brand Link / Main Header */
.Top-Nav .nav-brand {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
  letter-spacing: -0.01em;
  padding: 8px 12px;
  border-radius: 6px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.Top-Nav .nav-brand:hover {
  color: #2563eb;
  background-color: #f8fafc;
}

/* Navigation Links */
.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #2563eb;
  background-color: #f1f5f9;
}

/* Contact Page Layout */
.contact-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  color: #2c3e50;
}

.contact-header {
  text-align: center;
  margin-bottom: 40px;
}

.contact-header h1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 10px 0;
}

.contact-header p {
  font-size: 1.05rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Agent Contact Cards Container */
.agent-cards-container {
  display: flex;
  gap: 30px;
  justify-content: center;
}

/* Individual Agent Card */
.agent-contact-card {
  flex: 1;
  max-width: 440px;
  background-color: #ffffff;
  border-radius: 12px;
  padding: 32px;
  border: 1px solid #eaeeef;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-header {
  border-bottom: 2px solid #f0f4f8;
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.card-header h2 {
  margin: 0 0 4px 0;
  font-size: 1.6rem;
  color: #0f172a;
}

.card-header .role {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #2563eb;
}

.card-header .branch {
  font-size: 0.85rem;
  color: #64748b;
}

.card-details {
  margin-bottom: 28px;
}

.card-details p {
  margin: 8px 0;
  font-size: 0.95rem;
  color: #334155;
}

.card-details a {
  color: #2563eb;
  text-decoration: none;
}

.card-details a:hover {
  text-decoration: underline;
}

/* Primary Email Action Button */
.email-btn {
  display: block;
  width: 100%;
  padding: 14px 0;
  background-color: #2563eb;
  color: #ffffff;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.2s ease, transform 0.1s ease;
  box-sizing: border-box;
}

.email-btn:hover {
  background-color: #1d4ed8;
}

.email-btn:active {
  transform: scale(0.99);
}

/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
  .agent-cards-container {
    flex-direction: column;
    align-items: center;
  }

  .agent-contact-card {
    width: 100%;
    max-width: 100%;
  }
}