
:where([class^="ri-"])::before {
  content: "\f3c2";
}

body {
  font-family: "Montserrat", sans-serif;
  scroll-behavior: smooth;
}

.hero-section {
  background-image: linear-gradient(
    to right,
    rgba(0, 59, 115, 0.9),
    rgba(0, 59, 115, 0.7) 40%,
    rgba(0, 59, 115, 0.1) 70%,
    rgba(0, 0, 0, 0)
  );
  position: relative;
}

.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  object-fit: cover;
  object-position: center;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 59, 115, 0.1);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 59, 115, 0.1);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.benefit-item {
  opacity: 1;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.benefit-item.show {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

input:not([type="checkbox"]):not([type="radio"]),
textarea {
  border: 1px solid #e2e8f0;
  outline: none;
  transition: border 0.3s ease;
}

input:not([type="checkbox"]):not([type="radio"]):focus,
textarea:focus {
  border-color: #003b73;
}

.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-group label {
  position: absolute;
  top: 0.75rem;
  left: 1rem;
  transition: all 0.3s ease;
  pointer-events: none;
  color: #64748b;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -0.5rem;
  left: 0.75rem;
  font-size: 0.75rem;
  background-color: white;
  padding: 0 0.25rem;
  color: #003b73;
}

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background-color: #003b73;
  z-index: 1000;
  width: 0%;
  transition: width 0.1s ease;
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #003b73;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.custom-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #003b73;
  border-radius: 4px;
  outline: none;
  cursor: pointer;
  position: relative;
}

.custom-checkbox:checked {
  background-color: #003b73;
}

.custom-checkbox:checked::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 6px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

body {
  font-family: "Poppins", sans-serif;
}

.custom-input {
  background-color: white;
  border: 1px solid #e2e8f0; /* Ensure border is always visible */
  border-radius: 8px;
  padding: 0.75rem 1rem;
  width: 100%;
  outline: none;
  transition: border-color 0.2s ease;
}

.custom-input:focus {
  border-color: #1b4965;
  box-shadow: 0 0 0 3px rgba(27, 73, 101, 0.1);
}

.custom-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%231B4965'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.testimonial-card {
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: scale(1.03);
}

.custom-checkbox {
  position: relative;
  padding-left: 35px;
  cursor: pointer;
  user-select: none;
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 22px;
  width: 22px;
  background-color: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 4px;
}

.custom-checkbox:hover input ~ .checkmark {
  border-color: #1b4965;
}

.custom-checkbox input:checked ~ .checkmark {
  background-color: #1b4965;
  border-color: #1b4965;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.custom-checkbox input:checked ~ .checkmark:after {
  display: block;
}

.custom-checkbox .checkmark:after {
  left: 7px;
  top: 3px;
  width: 6px;
  height: 11px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
