.hidden {
  display: none;
}
.center {
  margin: auto;
  text-align: center;
}

.header {
  text-align: center;
  padding: 32px;
  margin-top: 2rem;
}


footer {
  padding: 10px 20px;
  font-family: 'Helvetica Neue', sans-serif;
  color: #333;
  max-width: 1200px;
  margin: 40px auto 0 auto;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  gap: 20px;
}

.footer section,
.footer .email-contact {
  flex: 1 1 1;
  min-width: 200px;
}

.company-name {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.social-icons {
  display: flex;
  gap: 15px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-icons li a {
  display: inline-block;
  width: 40px;
  height: 40px;
}

.social-icon {
  width: 100%;
  height: 100%;
}

.email-contact {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-icon i {
  font-size: 1.5rem;
  color: #c837ab;
}

.contact-details h2 {
  font-size: 1rem;
  margin: 0;
}

.contact-info {
  display: block;
  font-size: 0.9rem;
  color: #333;
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 0.85rem;
  color: #353434;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .email-contact {
    flex-direction: column;
    align-items: center;
  }

  .contact-icon i {
    margin-bottom: 5px;
  }

  .social-icons {
    justify-content: center;
  }
}

/* // -------- End of the Footer Stylings -------- // */

.contact-form {
  margin-top: 9rem;
}
.contact-form-area {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  border-radius: 8px;
}

.contact-form-area h2,
.contact-form-area p {
  text-align: center;
  margin-bottom: 20px;
}

.form-box {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.form-group {
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
}

.form-group input,
.form-group textarea {
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-top: 6px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #0077cc;
  outline: none;
}

textarea.lg-text {
  min-height: 120px;
  resize: vertical;
}


.alert-success,
.alert-error {
  max-width: 800px;
  margin: 20px auto;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: bold;
  text-align: center;
}

.alert-success {
  background-color: #e6f7e6;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

.alert-error {
  background-color: #ffe6e6;
  color: #c62828;
  border: 1px solid #f5c6cb;
}

/* Breadcrumbs */
.breadcrumb-nav {
  padding: 10px 20px;
}

.breadcrumbs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 14px;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
}

.breadcrumbs a {
  color: #0077cc;
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

/* Contact box */
.contact-box {
  margin-top: 60px;
  text-align: center;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.contact-icon i {
  font-size: 32px;
  color: #0077cc;
}

.contact-title {
  font-size: 20px;
  margin-bottom: 6px;
}

.contact-info {
  font-size: 16px;
  color: #333;
  text-decoration: none;
}

.contact-info:hover {
  text-decoration: underline;
}

/* Responsive layout */
@media (min-width: 600px) {
  .form-group {
    flex: 1 1 48%;
  }

  .form-group textarea {
    flex: 1 1 100%;
  }

  .form-group:last-child {
    flex: 1 1 100%;
    text-align: center;
  }
}
/* Group container for name fields */
.name-row {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* On medium screens and up, place fields side by side */
@media (min-width: 600px) {
  .name-row {
    flex-direction: row;
  }

  .name-row .form-group {
    flex: 1;
  }
}

/* Submit button */
.btn-wrapper {
  margin: auto;
  text-align: center;
  margin-top: 2rem;
}
.submitButton {
    background-color: #0077cc;
    color:  #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-block;
    margin: 20px auto 0;
}

.submitButton:hover {
    background-color: #04426d;
}

.form-group {
    text-align: center; /* Center the button */
}
/* Hidden spam field */
.fax {
  display: none;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .responsive-cell-block {
    flex: 1 1 100%;
  }
}

.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loader-content {
  text-align: center;
  color: #fff;
  font-family: sans-serif;
}

.loader-spinner {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  margin: 0 auto 1rem;
  animation: spin 0.8s linear infinite;
}

.loader-text {
  font-size: 1.4rem;
  font-weight: 600;
  color: #ffffff; /* bright white */
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); /* subtle shadow for contrast */
  margin-top: 0.5rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.error-message {
  color: #c62828;
  font-size: 0.9rem;
  font-weight: bold;
  font-style: italic;
  margin-top: 4px;
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.category-card a {
    display: block;
    padding: 15px 25px;
    background-color: #f5f5f5;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    color: #333;
    transition: background-color 0.3s ease;
}

.category-card a:hover {
    background-color: #ddd;
}
.filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: center;
    margin: 30px auto;
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    max-width: 900px;
}
.filter-form label {
    font-weight: bold;
    margin-right: 8px;
    color: #333;
}

.filter-form select,
.filter-form input[type="text"] {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    min-width: 180px;
    background-color: #fff;
    transition: border-color 0.3s ease;
}

.filter-form select:focus,
.filter-form input[type="text"]:focus {
    border-color: #666;
    outline: none;
}
.filter-form button[type="submit"] {
    padding: 10px 20px;
    background-color: #0077cc;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.filter-form button[type="submit"]:hover {
    background-color: #04426d;
}
/* Container and layout */
.form-box {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: #fefefe;
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.08);
  font-family: "Segoe UI", sans-serif;
}

/* Section title */
.center {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #333;
}

/* Responsive grid */
.responsive-container-block {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.responsive-cell-block {
  flex: 1 1 45%;
  min-width: 250px;
}

/* Labels and inputs */
.input-title {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #222;
}

.input,
.textinput {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  transition: border-color 0.3s ease;
}
.textinput {
  min-height: 120px;
  resize: vertical;
}
.input:focus,
.textinput:focus {
  border-color: #0077cc;
  outline: none;
}

/* Error messages */
.err-msg {
  color: #d9534f;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

/* Checkbox */
input[type="checkbox"] {
  margin-right: 0.5rem;
}

/* Submit button */
.btn-wrapper {
  text-align: center;
  margin-top: 2rem;
}

.submit-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #0f4c81;
  color: white;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
.submit-btn:hover {
  background-color: #093b66;
}

/* Hidden spam field */
.fax {
  display: none;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .responsive-cell-block {
    flex: 1 1 100%;
  }
}

.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loader-content {
  text-align: center;
  color: #fff;
  font-family: sans-serif;
}

.loader-spinner {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  margin: 0 auto 1rem;
  animation: spin 0.8s linear infinite;
}

.loader-text {
  font-size: 1.4rem;
  font-weight: 600;
  color: #ffffff; /* bright white */
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); /* subtle shadow for contrast */
  margin-top: 0.5rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}


.form-title {
    display: flex;
    justify-content: center;
    font-size: 1.5rem; /* optional: adjust size */
    font-weight: bold; /* optional: emphasize */
    margin: .5rem auto 2rem auto;
}
.full-width {
    width: 100%;
}
.textinput {
    width: 100%;
    min-height: 120px;
    padding: 0.75rem;
    font-size: 1rem;
    box-sizing: border-box;
}
.thank-you-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  padding: 2rem;
  background-color: #f9f9f9;
}

.thank-you-card {
  background-color: white;
  padding: 2.5rem 3rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 500px;
  width: 100%;
}

.thank-you-card h1 {
  font-size: 2rem;
  color: #0f4c81;
  margin-bottom: 1rem;
}

.thank-you-card p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #333;
}

.btn-home {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #0f4c81;
  color: white;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-home:hover {
  background-color: #093b66;
}