:root {
  --navy: #002856;
  --navy-dark: #071e35;
  --ink: #0b1220;

  --amber: #a7641a;
  --amber-light: #c2731e;

  --surface: #ffffff;
  --surface-muted: #f2f4f7;
}

.bg-navy {
  background-color: var(--navy);
}

.bg-amber {
  background-color: var(--amber);
}

.text-navy {
  color: var(--navy);
}

.text-amber {
  color: var(--amber);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    "effra",
    system-ui,
    -apple-system,
    "Segoe UI",
    Arial,
    sans-serif;
  color: var(--navy);
  background: var(--surface);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.section {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 100px 35px;
}
.section-slim {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 50px 35px;
}

.container {
  max-width: 1440px;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 768px) {
  .container {
    padding-left: 90px;
    padding-right: 90px;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition:
    opacity 0.15s ease,
    transform 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--amber);
  color: var(--surface);
  font-weight: 700;
}

.btn-primary:hover {
  background: var(--amber-light);
}

.btn-outline {
  color: #ffffffeb;
  border: 1px solid var(--amber);
  backdrop-filter: blur(2px);
}

.btn-outline:hover {
  background: var(--amber-light);
  border-color: var(--amber);
  color: #ffffff;
}

.tab-divider::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 50%;
  width: 1px;
  background: rgba(0, 0, 0, 0.12);
}
[x-cloak] {
  display: none !important;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: #e6d8c6;
  cursor: pointer;
}

.dot.active {
  background: #b06a1b;
}

.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.section-title-light {
  color: white;
  font-weight: 600;
  line-height: 120%;
  letter-spacing: 0.5px;
  font-size: 50px;
  opacity: 0.96;
}

.section-title-dark {
  color: var(--navy);
  font-weight: 600;
  line-height: 120%;
  letter-spacing: 0.5px;
  font-size: 50px;
}
.paragraph-dark {
  color: black;
  font-size: 18px;
  font-weight: 400;
  line-height: 170%;
  opacity: 0.75;
}
.paragraph-light {
  color: white;
  font-size: 18px;
  font-weight: 300;
  line-height: 28px;
  opacity: 0.75;
}

#service-tabs [data-rail]::-webkit-scrollbar {
  display: none;
}

#service-tabs [data-rail] {
  cursor: grab;
}

#service-tabs [data-rail].cursor-grabbing {
  cursor: grabbing;
}

#service-tabs img {
  user-select: none;
  -webkit-user-drag: none;
}

@media (max-width: 1024px) {
  .section-title-dark,
  .section-title-light,
  .paragraph-dark,
  .paragraph-light {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .section-title-dark,
  .section-title-light {
    font-size: 36px;
  }
  .paragraph-dark,
  .paragraph-light {
    font-size: 16px;
  }
}

/* forms  */

.form-field {
  margin-bottom: 0.8rem;
}

.form-label {
  display: block;
  margin-bottom: 0.125rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy);
}

.form-hint {
  font-weight: 400;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  border: 1px solid #00285672;
  border-radius: 0.0625rem;
  padding: 0.625rem 0.625rem;
  font-size: 0.875rem;
  color: #1f2937;
  transition: all 0.2s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #9ca3af;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 40, 86, 0.15);
}

.form-textarea {
  resize: none;
}

.form-select-wrapper {
  position: relative;
}

.form-select {
  appearance: none;
  padding-right: 2.5rem;
}

.form-select-icon {
  pointer-events: none;
  position: absolute;
  inset: 0 0 0 auto;
  right: 0.75rem;
  display: flex;
  align-items: center;
  color: #9ca3af;
}

.form-file::file-selector-button {
  margin-right: 1rem;
  padding: 0.125rem 0.9rem;
  border-radius: 2px;
  border: 1px solid #9a9a9a;
  background: #eeeeee;
  font-size: 1rem;
  font-weight: 400;
  color: black;
  cursor: pointer !important;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.form-file::file-selector-button:hover {
  background: #d1d5db;
  border-color: #94a3b8;
}

.form-footer {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-footer {
    flex-direction: row;
    align-items: center;
  }
}

.form-captcha {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #4b5563;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  padding: 0.625rem 1rem;
  cursor: pointer;
  user-select: none;
}

.form-submit {
  width: 100%;
}

@media (min-width: 640px) {
  .form-submit {
    width: auto;
    flex: 1;
  }
}

.is-invalid {
  border-color: rgba(185, 28, 28, 0.6) !important;
}
