body {
  font-family: "Montserrat", "san-serif";
  background-image: turl("assets/bg.jpg");
  background-position: top;
}

h2 {
  font-weight: 600;
}

h2:hover {
  color: orange;
}

input {
  font-weight: 400;
}

label {
  font-weight: 500;
}

.btn-submit {
  font-weight: 500;
  background-color: orange;
  color: white;
  box-shadow: none !important;
}

.form-control {
  border: 0px 0px 2px 0px !important;
}

.btn:hover {
  color: white;
  background-color: darkorange;
}

.form-control:focus {
  box-shadow: none !important;
  border-color: orange;
}

.form-select:focus {
  box-shadow: none !important;
  border-color: orange;
}

.card {
  width: 500px;

  position: relative;
  margin: 90px auto 0 auto; /* Reduce this value as needed, e.g. 30px or 40px */
  padding: 30px;
  border-color: orange;
}

.error-message {
  color: #dc3545;
  font-size: 0.875em;
  margin-top: 0.25rem;
}

label:radio {
  font-size: small;
}

.btn-outline-warning {
  color: grey;
  border-color: grey;
  font-size: 0.7rem;
  padding: 0.4rem 0.2rem;
}

.btn-outline-warning:hover,
.btn-check:checked + .btn-outline-warning {
  background-color: orange;
  border-color: orange;
  color: white;
  font-weight: 600;
  box-shadow: none !important;
}

.account-options .row {
  margin-left: -4px;
  margin-right: -4px;
}

.account-options .col-4 {
  padding-left: 4px;
  padding-right: 4px;
}

.loader-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.loader {
  border: 5px solid #f3f3f3;
  border-radius: 50%;
  border-top: 5px solid orange;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

.response-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.success-icon {
  color: #28a745;
}

.error-icon {
  color: #dc3545;
}

.response-message {
  text-align: center;
  margin: 10px 0;
}

.try-again-btn {
  display: none;
  padding: 8px 16px;
  background-color: orange;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  margin-top: 10px;
}

.custom-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  z-index: 1000;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-title {
  font-weight: 600;
  color: #333;
  font-size: 1.1rem;
}

.main-site-btn {
  background-color: orange;
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}

.main-site-btn:hover {
  background-color: darkorange;
  color: white;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@media screen and (max-width: 600px) {
  .nav-title {
    font-size: 0.9rem;
  }

  .main-site-btn {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
  .custom-modal-content {
    width: 98vw;
    min-width: 0;
  }
  .custom-modal iframe {
    height: 70vh;
  }
  .card {
    width: 330px;
    padding: 15px;
    margin-top: 160px;}

   .more-links .btn {
    width: 100px;      
    font-size: 0.65rem; 
    padding: 0.4rem 0.2rem;
  }
}

.more-links {
  margin-bottom: 24px;
  display: flex;
  justify-content: center; /* Center the buttons horizontally */
  gap: 16px; /* Add space between buttons */
}
.fas {
  margin-right: 5px;

}
.more-links .btn {
  width: 140px; /* Set your desired button width */
  max-width: 100%; /* Ensure responsiveness */
  text-align: center; /* Center text inside button */
  justify-content: center; /* Center icon and text if using flex */
  font-size: 0.8rem;
  display: flex; /* Ensure icon and text are centered */
  align-items: center;
}

/* Remove floating button and popup menu styles */
.floating-button,
.fan-menu,
.menu-overlay {
  display: none !important;
}

/* Modal styles for embedded forms */
.custom-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.45);
  justify-content: center;
  align-items: center;
}
.custom-modal.active {
  display: flex;
}
.custom-modal-content {
  background: #fff;
  border-radius: 12px;
  max-width: 95vw;
  width: 500px;
  padding: 0;
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}
.custom-modal-close {
  position: absolute;
  top: 8px;
  right: 16px;
  font-size: 2rem;
  color: #888;
  cursor: pointer;
  z-index: 10;
}
.custom-modal-close:hover {
  color: #222;
}
.custom-modal iframe {
  border: none;
  width: 100%;
  height: 600px;
  display: block;
}
