.container-header .navbar-brand a {
    color: #fff;
    text-decoration: none;
}

/* Contact Page */
/* Widen sidebar-right and balance main content on desktop */
@media (min-width: 992px) {
  /* Static Layout (Cassiopeia Default) */
  body.has-sidebar-right:not(.has-sidebar-left) .site-grid {
    grid-template-columns: 
      [full-start] minmax(0, 1fr) 
      [main-start] repeat(3, minmax(0, 1fr)) minmax(0, 350px) 
      [main-end] minmax(0, 1fr) 
      [full-end];
  }

  /* Fluid Layout (if enabled in Template Styles) */
  body.wrapper-fluid.has-sidebar-right:not(.has-sidebar-left) .site-grid {
    grid-template-columns: 
      [full-start] minmax(0, 1fr) 
      [main-start] repeat(3, minmax(0, 23%)) minmax(0, 31%) 
      [main-end] minmax(0, 1fr) 
      [full-end];
  }
}

/* 1. Scale down the main title ("AMRA Technologies") */
.com-contact h1,
.com-contact .page-header h1 {
    font-size: 1.6rem !important; /* Default is ~2.5rem */
    font-weight: 700;
    margin-bottom: 0.25rem;
}

/* 2. Scale down the section headers ("Contact" and "Contact Form") */
.com-contact h2,
.com-contact h3,
.com-contact legend {
    font-size: 1.2rem !important; /* Clean, compact section headers */
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.4rem;
}

/* 3. Scale down the "Send an Email" subtitle */
.com-contact .com-contact__form h3,
.com-contact .com-contact__form legend {
    font-size: 1.05rem !important;
    color: #495057;
}

/* Hide the redundant "Contact" text right below AMRA Technologies */
.com-contact__container > h2
{
   display: none !important;
}

/* Optional: Hide "Send an Email" legend */
.com-contact__form legend {
    display: none !important;
}
