body {
  margin:0;
  font-family:'Open Sans',sans-serif;
  background:#fff;
  color:#333;
}

/* Header Styling */
header {
  background:#3D3B8E;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:1rem 2rem;
}

header img {
  max-height:64px;      /* desktop size */
  height:auto;
  vertical-align:middle;
  margin-right:1rem;    /* add spacing from menu */
  transition:max-height 0.3s ease;
}

/* Responsive logo scaling */
@media (max-width:992px){
  header img{max-height:50px;}
}
@media (max-width:600px){
  header img{max-height:40px;}
}

/* Navigation links */
nav a {
  color:#fff;
  text-decoration:none;
  margin-left:1.5rem;
  font-weight:bold;
}

/* Remaining sections unchanged... */

nav a {color:#fff;text-decoration:none;margin-left:1.5rem;font-weight:bold;}
.hero {text-align:center;padding:6rem 2rem;background:linear-gradient(135deg,#3D3B8E,#0096FF);color:white;}
.hero h1 {font-family:'Montserrat',sans-serif;font-size:2.5rem;}
.hero p {font-size:1.2rem;margin:1rem auto 2rem;max-width:700px;}
.btn {background:#C8E01E;color:#000;text-decoration:none;padding:.75rem 1.5rem;border-radius:.5rem;font-weight:bold;}
.features {padding:4rem 2rem;text-align:center;background:#f9f9f9;}
.features h2 {font-family:'Montserrat',sans-serif;color:#3D3B8E;}
.feature-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:2rem;margin-top:2rem;}
.feature {background:white;padding:1.5rem;border-radius:.5rem;box-shadow:0 2px 6px rgba(0,0,0,0.1);}
.about,/* --- Contact Form Layout Refinement --- */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.contact-form label {
  font-weight: 600;
  color: #3D3B8E;
  margin-bottom: 0.3rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-family: 'Open Sans', sans-serif;
  resize: vertical;
}

.contact-form textarea {
  min-height: 120px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #0096FF;
  box-shadow: 0 0 3px rgba(0,150,255,0.3);
}

.contact-form .btn {
  align-self: center;
  background-color: #C8E01E;
  color: #000;
  border: none;
  padding: 0.9rem 2rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: bold;
}

.contact-form .btn:hover {
  background-color: #a9c91c;
}

footer {background:#3D3B8E;color:white;text-align:center;padding:1rem;font-size:.9rem;}
/* --- Agile LIMS Logo Styling --- */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
}

header img {
  max-height: 64px;     /* increase to 64px for visibility */
  height: auto;
  vertical-align: middle;
  transition: max-height 0.3s ease;
}

/* Medium screens (tablets) */
@media (max-width: 992px) {
  header img {
    max-height: 50px;
  }
}

/* Small screens (phones) */
@media (max-width: 600px) {
  header img {
    max-height: 40px;
  }
}
/* Force the new logo size to apply */
header img {
  max-height: 64px !important;
  height: auto !important;
}
/* ===== Contact Section Refinement ===== */
.contact {
  background:#f9f9f9;
  padding:4rem 2rem;
  text-align:center;
}

.contact-container {
  max-width:650px;
  margin:0 auto;
}

.contact h2 {
  color:#3D3B8E;
  font-family:'Montserrat',sans-serif;
  margin-bottom:1rem;
}

.contact p {
  color:#333;
  margin-bottom:1.5rem;
}

.contact-form {
  display:flex;
  flex-direction:column;
  gap:1rem;
  text-align:left;
}

.contact-form label {
  color:#3D3B8E;
  font-weight:600;
}

.contact-form input,
.contact-form textarea {
  width:100%;
  padding:0.75rem;
  border:1px solid #ccc;
  border-radius:0.5rem;
  font-size:1rem;
  font-family:'Open Sans',sans-serif;
  resize:vertical;
}

.contact-form button {
  align-self:center;
  background:#C8E01E;
  color:#000;
  border:none;
  padding:0.9rem 2rem;
  border-radius:0.5rem;
  cursor:pointer;
  font-weight:bold;
  transition:background 0.3s;
}

.contact-form button:hover {
  background:#a9c91c;
}

.form-status {
  color:green;
  margin-top:1rem;
  display:none;
}

.footnote {
  margin-top:2rem;
  font-size:0.9rem;
  color:#555;
}
