body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background: var(--bg);
  color: #333;
}
.button-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-top: 25px;
}

/* Common Button Style */
.btn-custom-download,
.btn-custom-apply {
  font-size: 16px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  width: fit-content;
}

/* Download Button */
.btn-custom-download {
  background-color: #f4f4f4;
  color: #1C068C;
  border: 2px solid #1C068C;
}

.btn-custom-download:hover {
  background-color: #1C068C;
  color: #fff;
}

/* Apply Button */
.btn-custom-apply {
  background-color: #D18219;
  color: #fff;
  border: none;
  cursor: pointer;
}

.btn-custom-apply:hover {
  background-color: #b26b15;
}
.title-text {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 700;
  color: #1C068C;
  text-align: center;
  margin-bottom: 20px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.title-text strong {
  color: #D18219;
  font-weight: 800;
}

/* Force "Innovations" to new line on small screens */
.break-word {
  display: inline;
}

@media (max-width: 480px) {
  .break-word {
    display: block;  /* forces line break */
  }
}
.intro-text {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  line-height: 1.6;
  color: #333;
  max-width: 700px;
  margin: 0 auto 30px;
  padding: 0 15px;
  text-align: center;
  letter-spacing: 0.02em;
}

/* Optional: Slightly reduce padding and margin on very small screens */
@media (max-width: 400px) {
  .intro-text {
    padding: 0 10px;
    margin-bottom: 20px;
  }
}
/* countdown */
.deadline-countdown {
  margin-top: 15px;
  font-size: 1rem;
  font-weight: 600;
  color: #7ca115; /* Accent color */
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  user-select: none;
}
.service-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: space-between;
  width: 100%;
  max-width: 260px;
  aspect-ratio: 1 / 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  margin: 0 auto;
  cursor: default;
}

.service-card h5 {
  color: #1C068C;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.service-card p {
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
  flex-grow: 1;
}

.service-card:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-5px);
}

/* Mobile adjustments */
@media (max-width: 480px) {
  .service-card {
    max-width: 100%;
    aspect-ratio: auto;
    min-height: 260px;
  }
}

/* footer */
.custom-footer {
  background-color: #1C068C; /* Primary color */
  color: #ffffff;
  font-size: 14px;
  line-height: 1.7;
}

.custom-footer .footer-heading {
  font-weight: bold;
  margin-bottom: 15px;
  color: #fff;
  text-transform: uppercase;
}

.custom-footer .footer-list {
  list-style: none;
  padding-left: 0;
}

.custom-footer .footer-list li {
  margin-bottom: 8px;
}

.custom-footer .footer-list a {
  color: #D18219;
  text-decoration: none;
  transition: color 0.3s;
}

.custom-footer .footer-list a:hover {
  color: #fff;
  text-decoration: underline;
}

.custom-footer i {
  margin-right: 8px;
  color: #D18219;
}

@media (max-width: 767px) {
  .custom-footer {
    text-align: center;
  }
  .custom-footer .footer-heading {
    margin-top: 20px;
  }
}

/* Modal overlay */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: flex-start; /* Align to top */
  padding: 0 15px; /* Removed top padding */
  overflow-y: auto; /* Allow scrolling */
  box-sizing: border-box;
}

/* Modal box */
.modal-content {
  background-color: #fff;
  border-radius: 10px;
  padding: 30px;
  width: 100%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
  margin-top: 0; /* Ensure it starts from the top */
}

/* Close button */
.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  font-weight: bold;
  color: #000;
  cursor: pointer;
}

/* Form title */
.modal-content h3 {
  font-size: 1.5rem;
  margin-bottom: 25px;
  font-weight: 600;
}

/* Form groups */
.form-group {
  margin-bottom: 18px;
}

/* Icon positioning */
.with-icon {
  position: relative;
}

.with-icon i {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  color: #999;
}

.with-icon input,
.with-icon select,
.with-icon textarea {
  padding-left: 40px;
}

.file-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-browse {
  background-color: #1C068C; /* Blue */
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 5px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color 0.3s ease;
}

.btn-browse:hover {
  background-color: #1C068C; /* Slightly darker blue on hover */
  color: #fff; /* Ensure text remains white */
}

.btn-browse:focus,
.btn-browse:active {
  background-color: #1C068C !important; /* Stay blue on click/focus */
  outline: none;
  box-shadow: none;
}

.file-group input[type="file"] {
  display: none; /* Hide the default file input */
}
.file-display {
  flex: 1;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}


/* Checkbox and Captcha spacing */
.form-group label,
.form-group input[type="checkbox"] {
  vertical-align: middle;
}

/* Modal buttons */
.modal-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.submit-btn,
.cancel-btn {
  padding: 8px 20px;
  border: none;
  font-weight: 500;
  border-radius: 5px;
  cursor: pointer;
}

.submit-btn {
  background-color: #3e00b8;
  color: white;
}

.cancel-btn {
  background-color: #ccc;
  color: #000;
}

/* Responsive improvements */
@media (max-width: 576px) {
  .modal-content {
    padding: 20px;
  }

  .file-group {
    flex-direction: column;
    align-items: stretch;
  }

  .file-display {
    width: 100%;
  }
}


/* Toast Notification */
.toast {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.4);
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  z-index: 3000;
}

.toast.show {
  display: flex;
}

.toast-box {
  background: var(--white);
  padding: 24px;
  border-radius: 10px;
  max-width: 300px;
  width: 90%;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.toast-box h3 {
  margin-top: 0;
  color: var(--primary);
  font-size: 1.4rem;
}

.toast-box p {
  margin: 12px 0 20px;
  font-size: 1rem;
  color: #333;
}

.toast-box button {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1rem;
}

.toast-box button:hover {
  background: #150466;
}

/* Responsive tweaks */
@media (max-width: 479px) {
  .page-title-container {
    font-size: 1.3rem;
  }
}

/* SweetAlert2 Custom Styles */
  .swal2-container {
    z-index: 99999 !important; /* Override Bootstrap/modal z-index */
  }

  .small-swal {
  width: 300px !important;
  font-size: 14px;
  padding: 10px;
}

.custom-ok-button {
  background-color: #1C068C !important;
  color: white !important;
  border: none !important;
  padding: 8px 20px !important;
  font-weight: bold;
  border-radius: 4px !important;
}

/* proggressive bar */
  .swal-button-custom {
    background-color: #1C068C !important;
    color: white !important;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
  }


  .file-display.is-invalid {
  border-color: #dc3545 !important;
  box-shadow: 0 0 5px rgba(220, 53, 69, 0.5);
}
