body {
  background-color: #f6f8fa;
  color: #1B1E23;
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: 'Inter', sans-serif;
}

/* Headings */
h2 {
  color: #0D1B2A;
  font-weight: 700;
  font-size: 2.25rem;
  margin-bottom: 36px;
  border-bottom: 4px solid #fa923f;
  padding-bottom: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-block;
}

.message {
  margin: 24px 0;
  max-width: 350px;
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  color: #155724;
  background-color: #d4edda;
  border: 2px solid #c3e6cb;
  box-sizing: border-box;
  text-align: center;
}

.subtitle {
  color: #334e68;
  font-size: 1.08rem;
  margin-bottom: 38px;
  margin-top: -18px;
}

/* Form row: use grid for better control */
.form-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: center;
  gap: 0;
  margin-bottom: 28px;
}

.form-row label {
  text-align: right;
  font-weight: 600;
  color: #243B53;
  font-size: 1.1rem;
  padding-right: 8px;

}

.form-row input,
.form-row select,
.form-row textarea {
  font-size: 1rem;
  padding: 12px 16px;
  border: 2.5px solid #ccd5db;
  border-radius: 12px;
  background: #f3faff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  font-family: inherit;
  color: #2a3a4a;
  width: 100%;
  box-sizing: border-box;
  min-height: 40px;
  resize: vertical;
}

.form-row textarea {
  align-self: start;
}

/* Or target the full row if you want both label and textarea top-aligned */
.form-row.message-row {
  align-items: start;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: #fa923f;
  box-shadow: 0 0 8px #fcca70;
  outline: none;
}

.form-row #sub-button {
  background-color: #154A91;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 15px 50px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(33,150,243,0.26);
  transition: background-position 0.3s ease, box-shadow 0.3s ease;
  background-size: 200% 100%;
  background-position: left center;
  max-width: 20%;
}

#sub-button:hover,
#sub-button:focus,
.form-row #sub-button:hover,
.form-row #sub-button:focus {
   background-color: #fbaf42;
  color: #154A91;
  box-shadow: 0 7px 20px rgba(251, 175, 66, 0.7);
  outline: none;
}

/* Responsive structure */
@media (max-width: 800px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .form-row label {
    text-align: left;
    white-space: normal;
  }

  #sub-button,
  .form-row #sub-button {
    width: 100%;
    padding: 15px 0;
  }

}



.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info ul li {
  margin-bottom: 16px;
  font-weight: 600;
  font-size: 1.1rem;
}

.contact-info ul li a {
  color: #1976d2;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info ul li a:hover {
  color: #fd7e14;
}



/* nav-bar */
.hori-selector{
  background-color: #f6f8fa;
}

.hori-selector .right,
.hori-selector .left{
  background-color: #f6f8fa;
}

#navbarSupportedContent>ul>li.active>a{
  color:black;
}

/* For tablets */
@media (max-width: 900px) {
  .contact-info {
    margin-left: auto;
    margin-right: auto;
    max-width: 90%;
    padding: 18px 18px;
  }
  .contact-info ul li {
    font-size: 1rem;
  }
}

/* For phones and small screens */
@media (max-width: 600px) {
  .contact-info {
    max-width: 100%;
    padding: 12px 8px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
  }
  .contact-info ul li {
    font-size: 0.98rem;
    margin-bottom: 13px;
  }
}


/* NAVBAR responsiveness */
@media (max-width: 768px) {
  .hori-selector {
    width: 100%;
  }
  #navbarSupportedContent > ul > li > a {
    font-size: 1em;
  padding-bottom: 10px;
  margin-top: -3px;
  }
}